https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100556

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |11.2.0
          Component|middle-end                  |c
           Keywords|error-recovery              |

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note it also ICEs with -fgnu-tm.
With the C++ front-end we get an error message with:
int f(void);
int f2() { return __transaction_atomic(f() == 0); }

--- CUT ---
<source>:2:41: error: unsafe function call 'int f()' within atomic transaction
    2 | int f2() { return __transaction_atomic(f() == 0); }
      |                                        ~^~

Reply via email to