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.
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