Re: PR/51291: fix -fgnu-tm ICEs on fortran

2011-12-09 Thread Richard Henderson
On 12/09/2011 01:44 PM, Aldy Hernandez wrote: > PR/51291 > * tree.c (build_common_builtin_nodes): Do not use TM_PURE > attribute unless language has support for TM. > * config/i386/i386.c (ix86_init_tm_builtins): Exit gracefully in > the absence of TM builtins. Ok.

PR/51291: fix -fgnu-tm ICEs on fortran

2011-12-09 Thread Aldy Hernandez
Compiling any fortran program with -fgnu-tm currently ICEs because the TM builtins are defined in gtm-builtins.def which are not included (via builtins.def) in the Fotran front-end. Presently, there are no TM extensions for the Fortran language, but it shouldn't ICE. We could error out early