http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51291
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org, | |burnus at gcc dot gnu.org Component|fortran |middle-end Target Milestone|--- |4.7.0 --- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-24 09:52:37 UTC --- The crash happens at config/i386/i386.c's ix86_init_tm_builtins: decl = builtin_decl_explicit (BUILT_IN_TM_LOAD_1); attrs_load = DECL_ATTRIBUTES (decl); The problem is that builtin_decl_explicit returns NULL - or in other words: builtin_info.decl[(size_t) BUILT_IN_TM_LOAD_1] is NULL. The problem is that gtm-builtins.def is included in builtins.def which is included in c-common.c. However, builtins.def is not included in fortran/*. Ideas?