[Bug c/63645] Incorrect code generation

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 25 21:19:00 GMT 2014


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |trippels at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Your union simply takes more space than your GnmExprBinary struct
and you cast the later to the former.

vvv.c:36:13: runtime error: member access within address 0x0000011ec010 with
insufficient space for an object of type 'const GnmExpr' (aka 'const union
_GnmExpr')



More information about the Gcc-bugs mailing list