This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68948] G++ voluntarily removes a function call with terrible side effects
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Dec 2015 02:57:10 +0000
- Subject: [Bug c++/68948] G++ voluntarily removes a function call with terrible side effects
- Auto-submitted: auto-generated
- References: <bug-68948-4 at http dot gcc dot gnu dot org/bugzilla/>
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.