------- Comment #9 from dominiq at lps dot ens dot fr 2009-04-10 22:41 ------- > Dominique, any improvements here with -fwhole-file?
AFAICT the answer is no: the invalid code in comment #0 is not rejected (see comment #6 for the kind of expected diagnostic). I think this PR should be closed as invalid and a new one open against -fwhole-file with the keyword accept-invalid. BTW the "ice-on-invalid-code" does not seem correct: the "seg fault" (or "bus error") occurs at run time depending on the flags (and the revision). Note also that the result is mostly 'T' when the compiled code is executed (instead if 'F' when the comments for 'module' are removed) . -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36553