[Bug debug/28834] [4.0/4.1/4.2/4.3 Regression] -g crashes sometimes when using may_alias and structs (ICE in splice_child_die)
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Nov 19 22:35:00 GMT 2007
------- Comment #31 from jason at gcc dot gnu dot org 2007-11-19 22:34 -------
The crash is fixed by ignoring the attribute on the typedef. If you want to
apply may_alias to a struct type, you need to specify it in the type
definition, either as
struct __attribute ((may_alias)) name { ... };
or
struct name { ... } __attribute ((may_alias));
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28834
More information about the Gcc-bugs
mailing list