I get:
test.c: In function 'main':
test.c:4:5: internal compiler error: in immed_double_const, at emit-rtl.c:550
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
However, if I comment out vst2q_f32 (r, d);, the problem goes away. Also by not using -g or -O1.
I have some additional info related to this bug:
If I compile the following:
#include "arm_neon.h"
#include "stdlib.h"
int main ()
{
float r [] = {0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f};
float32x4x2_t d;
d = vld2q_f32 (r);
vst2q_f32 (r, d);
return 0;
}
using: arm-linux- androideabi- gcc test.c -mfloat-abi=softfp -mfpu=neon -g -O1
I get: gcc.gnu. org/bugs. html> for instructions.
test.c: In function 'main':
test.c:4:5: internal compiler error: in immed_double_const, at emit-rtl.c:550
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://
However, if I comment out vst2q_f32 (r, d);, the problem goes away. Also by not using -g or -O1.
$ arm-linux- androideabi- gcc -v GCC=arm- linux-androidea bi-gcc LTO_WRAPPER= /Users/ havard. graff/Code/ android- ndk-r7/ toolchains/ arm-linux- androideabi- 4.6.2/prebuilt/ darwin- x86/libexec/ gcc/arm- linux-androidea bi/4.6. 2/lto-wrapper androideabi havard. graff/Code/ selfbuilt_ android_ toolchain/ build/. ./gcc/gcc- 4.6.2/configure --prefix= /Users/ havard. graff/Code/ android- ndk-r7/ toolchains/ arm-linux- androideabi- 4.6.2/prebuilt/ darwin- x86 --target= arm-linux- androideabi --host= i686-apple- darwin --build= i686-apple- darwin --with-gnu-as --with-gnu-ld --enable- languages= c,c++,objc --with- gmp=/tmp/ ndk-havard. graff/build/ toolchain/ temp-install --with- mpfr=/tmp/ ndk-havard. graff/build/ toolchain/ temp-install --with- mpc=/tmp/ ndk-havard. graff/build/ toolchain/ temp-install --disable-libssp --enable-threads --disable-nls --disable- libmudflap --disable-libgomp --disable- sjlj-exceptions --disable-shared --disable-tls --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable- target- optspace --disable- hosted- libstdcxx --enable- cxx-flags= '-fexceptions -frtti' --enable- initfini- array --disable-nls --prefix= /Users/ havard. graff/Code/ android- ndk-r7/ toolchains/ arm-linux- androideabi- 4.6.2/prebuilt/ darwin- x86 --with- sysroot= /Users/ havard. graff/Code/ android- ndk-r7/ toolchains/ arm-linux- androideabi- 4.6.2/prebuilt/ darwin- x86/sysroot --with- binutils- version= 2.22.51 --with- mpfr-version= 2.4.1 --with- gmp-version= 4.2.4 --with- gcc-version= 4.6.2 --with- gdb-version= 6.6 --with-arch=armv5te --program- transform- name='s, ^,arm-linux- androideabi- ,'
Using built-in specs.
COLLECT_
COLLECT_
Target: arm-linux-
Configured with: /Users/
Thread model: posix
gcc version 4.6.2 (GCC)