OSDN Git Service

2008-09-09 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2008 11:26:45 +0000 (11:26 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Sep 2008 11:26:45 +0000 (11:26 +0000)
commit90cf240db95ab4cd3764e7701a7fe79657a3c4dc
tree343871c9be1bd0b54caffbbb5f379ca0a5dc8833
parent30099c0c3b0dd7c5395eb2946e75a16f900f297a
2008-09-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/37354
PR middle-end/30165
* gimplify.c (gimplify_conversion): Change conversions of
non-register type to VIEW_CONVERT_EXPRs.
(gimplify_addr_expr): If we need to make the operand
addressable make sure to use a properly initialized
temporary for that so it gets a valid gimple store.

* g++.dg/torture/pr37354.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140145 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr37354.C [new file with mode: 0644]