diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-27 11:04:16 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-27 11:04:16 +0000 |
commit | 50f9371e4024bd79fa05e517dbffc27b9e78bccc (patch) | |
tree | ba75a22c11ee8ec8565979f197bbccd16dce63b5 /symlink-tree | |
parent | 295327abc85c433f5efd2b4b1c6d4407d0810c4e (diff) | |
download | gcc-50f9371e4024bd79fa05e517dbffc27b9e78bccc.tar.gz |
PR middle-end/64067
* expr.c (expand_expr_addr_expr_1) <case COMPOUND_LITERAL_EXPR>:
Handle it by returning address of COMPOUND_LITERAL_EXPR_DECL
not only if modifier is EXPAND_INITIALIZER, but whenever
COMPOUND_LITERAL_EXPR_DECL is non-NULL and TREE_STATIC.
* gcc.c-torture/compile/pr64067.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'symlink-tree')
0 files changed, 0 insertions, 0 deletions