[Bug c/14470] x86 optimizer error (?)

lvoge at cs dot vu dot nl gcc-bugzilla@gcc.gnu.org
Sun Mar 7 23:19:00 GMT 2004


------- Additional Comments From lvoge at cs dot vu dot nl  2004-03-07 23:19 -------
(In reply to comment #5)
> Maybe this is because Debian defaults to 486 or something?

I tried -mcpu=i686 -march=i686, gives the same assembly code.

another strange thing, by the way, is if I don't specify an -O level, but do
specify all individual optimizations the manpage lists as -O consisting of, it
works.

> Can you please post output of gcc -v -c file.c?

$ gcc -v -c fout.c
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.3 (Debian 20040306)
 /usr/lib/gcc-lib/i486-linux/3.3.3/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=3
-D__GNUC_PATCHLEVEL__=3 fout.c -quiet -dumpbase fout.c -auxbase fout -version -o
/tmp/ccA8GeAm.s
GNU C version 3.3.3 (Debian 20040306) (i486-linux)
        compiled by GNU C version 3.3.3 (Debian 20040306).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129440
ignoring nonexistent directory "/usr/i486-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i486-linux/3.3.3/include
 /usr/include
End of search list.
 as -V -Qy -o fout.o /tmp/ccA8GeAm.s
GNU assembler version 2.14.90.0.7 (i386-linux) using BFD version 2.14.90.0.7
20031029 Debian GNU/Linux




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14470



More information about the Gcc-bugs mailing list