[Bug middle-end/53790] [4.6/4.7/4.8 Regression] ICE on dereferencing a extern union in asm statement
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 28 12:02:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53790
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-28 12:01:22 UTC ---
Author: rguenth
Date: Thu Jun 28 12:01:16 2012
New Revision: 189048
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189048
Log:
2012-06-28 Richard Guenther <rguenther@suse.de>
PR middle-end/53790
* expr.c (expand_expr_real_1): Verify if the type is complete
before inspecting its size.
* gcc.dg/torture/pr53790.c: New testcase.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/torture/pr53790.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/expr.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-28 12:01:38 UTC ---
Fixed.
More information about the Gcc-bugs
mailing list