A big chunk of inline i386 ASM from the ffmpeg project causes the compiler to crash. The same code compiles fine with gcc-3.4, 3.3, 2.95
The command line is: /usr/lib/gcc-snapshot/bin/gcc -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -g -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o libpostproc/postprocess.o libpostproc/postprocess.c -v -save-temps The compiler output messages are: In file included from libpostproc/postprocess.c:655: libpostproc/postprocess_template.c: In function 'postProcess_MMX2': libpostproc/postprocess_template.c:3511: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness libpostproc/postprocess_template.c:3657: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness libpostproc/postprocess_template.c:3758: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness libpostproc/postprocess_template.c:3782: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness libpostproc/postprocess_template.c:3349: internal compiler error: in var_ann, at tree-flow-inline.h:34 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. make[2]: *** [libpostproc/postprocess.o] Error 1 make[2]: Leaving directory `/home/guillaume/main/libavcodec' make[1]: *** [libavcodec/libavcodec.a] Erreur 2 make[1]: Leaving directory `/home/guillaume/main' make: *** [build-stamp] Erreur 2 -- Summary: compiler internal error: in var_ann, at tree-flow- inline.h:34 Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: poirierg at gmail dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: ../src/configure -v --enable- languages=c,c++,java,objc,ada --pre GCC host triplet: GNU/Linux Debian SID i386, gcc 4.0.0 20050110 (experimental) GCC target triplet: i386, athlon-xp http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19472