http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51687
Bug #: 51687 Summary: gcc is killed when compiling med-3.0.4 Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: thie...@freebsd.org Created attachment 26189 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26189 Preprocessed file of med-3.0.4/src/ci/MEDmeshGridStructRd.c When compiling the latest version of MED (3.0.4), a tool of Code_Aster ( http://www.code-aster.org/V2/spip.php?article275 ), it fails: /bin/sh ../../libtool --tag=CC --mode=compile gcc47 -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DH5_USE_16_API -I/usr/local/include -save-temps -O2 -pipe -march=pentiumpro -Wl,-rpath=/usr/local/lib/gcc47 -fno-strict-aliasing -MT MEDmeshGridStructRd.lo -MD -MP -MF .deps/MEDmeshGridStructRd.Tpo -c -o MEDmeshGridStructRd.lo MEDmeshGridStructRd.c libtool: compile: gcc47 -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -DH5_USE_16_API -I/usr/local/include -save-temps -O2 -pipe -march=pentiumpro -Wl,-rpath=/usr/local/lib/gcc47 -fno-strict-aliasing -MT MEDmeshGridStructRd.lo -MD -MP -MF .deps/MEDmeshGridStructRd.Tpo -c MEDmeshGridStructRd.c -fPIC -DPIC -o .libs/MEDmeshGridStructRd.o gcc47: warning: -pipe ignored because -save-temps specified Killed gmake[2]: *** [MEDmeshGridStructRd.lo] Erreur 1 gmake[2] : on quitte le répertoire « /usr/ports/french/med/work/med-3.0.4/src/ci » gmake[1]: *** [all-recursive] Erreur 1 Tested with: gcc47 (FreeBSD Ports Collection) 4.7.0 20111210 (experimental) but the same error occurs with previous version gcc 4.6 and gcc 4.4. Attached is the pre-processed file MEDmeshGridStructRd.i.