------- Comment #2 from reichelt at gcc dot gnu dot org 2006-03-26 11:15 ------- > It is not at all clear why you're trying to use libmudflap > with gfortran. Have you read the gcc.info of -fmudflap?
I know that you cannot use -fmudflap with gfortran. But that's not the point. If I specify an invalid option the frontend should produce a nice error instead of a bogus warning and an ICE. (Maybe ice-on-invalid-code is a better description than ice-on-valid-code, although the code might be valid, it's the the command line option that isn't.) For gfortran -c -finvalid-option file.f90 I get f951: error: unrecognized command line option "-finvalid-option" which is OK. But for gfortran -c -fmudflap file.f90 I get f951: warning: command line option "-fno-builtin" is valid for C/C++/ObjC/ObjC++ but not for Fortran bug.f90:0: internal compiler error: mudflap: this language is not supported Please submit a full bug report, [etc.] which is not OK. An ICE indicates a bug in the compiler per definition. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26784