re PR c/79731 (ICE: verify_gimple failed)
authorRichard Biener <rguenther@suse.de>
Tue, 28 Feb 2017 15:31:30 +0000 (15:31 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Feb 2017 15:31:30 +0000 (15:31 +0000)
commit587240d2494dae65fd67d5bd642a6123ecc89738
treefb6b142c18c450fd08dd5ca487b0e78cf0a099e9
parent324ff1a07f9ddde87f91acfa7b16a3c24ba6895c
re PR c/79731 (ICE: verify_gimple failed)

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

PR middle-end/79731
* fold-const.c (decode_field_reference): Reject out-of-bound
accesses.

* c-c++-common/torture/pr79731.c: New testcase.

From-SVN: r245779
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/torture/pr79731.c [new file with mode: 0644]