re PR target/70633 (ICE on valid code at -Os (in 32-bit mode) on x86_64-linux-gnu...
authorJakub Jelinek <jakub@redhat.com>
Wed, 13 Apr 2016 12:27:52 +0000 (14:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 13 Apr 2016 12:27:52 +0000 (14:27 +0200)
commit37947cd0bdd365cc6d8223d9f81fbfbd3942e50b
tree3436f49c14aeb3280e83d1e20dbf698fcf66e1e5
parent3d3f9e7e6980d6d226b3a11e7ff0256158116b04
re PR target/70633 (ICE on valid code at -Os (in 32-bit mode) on x86_64-linux-gnu: output_operand: invalid expression as operand)

PR middle-end/70633
* gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if
gimplification turns some element into non-constant.

* gcc.c-torture/compile/pr70633.c: New test.

From-SVN: r234934
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr70633.c [new file with mode: 0644]