]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/53790 (ICE on dereferencing a extern union in asm statement)
authorRichard Guenther <rguenther@suse.de>
Thu, 28 Jun 2012 12:01:16 +0000 (12:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 28 Jun 2012 12:01:16 +0000 (12:01 +0000)
commitb18d5688abd2966d169a3c2fa0606a6f90783d3a
tree70349d21d3dc33d1c2b1ea8152a6a0f78a5b24dd
parent83fd03b2a03b1b88c53d0acb71014108fe80805d
re PR middle-end/53790 (ICE on dereferencing a extern union in asm statement)

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.

From-SVN: r189048
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr53790.c [new file with mode: 0644]