Bug in ARM compiler
Rod Stewart
stewart@dystopia.lab43.org
Wed Jul 11 10:06:00 GMT 2001
On Wed, 11 Jul 2001, Jörg Schön wrote:
> I have discovered the following problem with the gcc compiler for the ARM
> architecture:
>
> $ arm-linux-gcc -v
>
> Reading specs from /usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.2/specs
> gcc version 2.95.2 19991024 (release)
>
> $ arm-linux-gcc -O2 -funroll-loops -c buggy.c
Using a native compiler for ARM GNU/Linux I can build your code with both:
[stewart@stewart-nw15 stewart]$ gcc -v
Reading specs from /usr/lib/gcc-lib/armv4l-unknown-linux-gnu/2.95.2/specs
gcc version 2.95.2 20000516 (release) [Rebel.com]
[@phobos gcc]# ./xgcc -v
Using builtin specs.
Configured with: /home/build-rpm/BUILD/gcc/configure --with-cpu=strongarm
--enable-languages=c,c++,objc,f77 --prefix=/usr/local --enable-shared
--enable-threads --without-cvs armv4l-unknown-linux-gnu
Thread model: posix
gcc version 3.0.1 20010710 (prerelease)
The 2.95.2 compiler has a few patches most of which should be in the 2.95
CVS branch.
-Rms
More information about the Gcc-bugs
mailing list