This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56961] stack overflow in gimplifier with volatile field
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 05 Jun 2014 12:29:10 +0000
- Subject: [Bug c++/56961] stack overflow in gimplifier with volatile field
- Auto-submitted: auto-generated
- References: <bug-56961-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56961
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
The C++ gimplify langhook gimplifies the gimplifier generated
vol.1 = b.fields
as
vol.1, b.fields;
so it isn't a manifestation of the issue but a fallout of the attempt to
fix it in the C++ gimplifier... it drops the assignment but leaves the
load from the volatile in place (as side-effect to be preserved?). But
then we gimplify that again ... producing vol.2 = b.fields ... and on we go.