OSDN Git Service

2012-06-28 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2012 11:52:49 +0000 (11:52 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2012 11:52:49 +0000 (11:52 +0000)
commit9184bcae75f69ce9eb976bc5e028dc1d08d880f9
treea418287553fdeb0344b3f722fb2b109aaed39b71
parentdb6c28b33b873c8c925e08fe3ee1db01e09eebf2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189047 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr53790.c [new file with mode: 0644]