re PR middle-end/79756 (ICE in execute_todo, at passes.c:2011)
authorRichard Biener <rguenther@suse.de>
Thu, 2 Mar 2017 11:44:16 +0000 (11:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 2 Mar 2017 11:44:16 +0000 (11:44 +0000)
commiteb0e7c34d71173a90a2c48f2acbf4c7995240fa0
treeb5328d635e63e28906c5c4f102e13226903f31fe
parent653a4b32fe72e33bfd4cdd4c25493049524a3805
re PR middle-end/79756 (ICE in execute_todo, at passes.c:2011)

2017-03-02  Richard Biener  <rguenther@suse.de>

PR c/79756
* c-common.c (c_common_mark_addressable_vec): Look through
C_MAYBE_CONST_EXPR.

* gcc.dg/vector-1.c: New testcase.

From-SVN: r245838
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vector-1.c [new file with mode: 0644]