[Bug c++/68948] G++ voluntarily removes a function call with terrible side effects
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 17 02:57:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |c++
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
<<cleanup_point __asm__ __volatile__("Here"::)>>;
<<< Unknown tree: expr_stmt
<<< error >>> >>>;
<<cleanup_point __asm__ __volatile__("Here"::)>>;
That is interesting. The front-end did not issue an error but still produced
an error node tree.
This still happens on the trunk. Let me try to reduce it.
More information about the Gcc-bugs
mailing list