diff options
author | Marek Polacek <polacek@redhat.com> | 2018-01-29 20:54:12 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2018-01-29 20:54:12 +0000 |
commit | b07c365100c92687361aa062ecf89c49650b8930 (patch) | |
tree | df91c991284a3ede8cc05d8cee9c0ec35c95ac76 /gcc/tree-ssa-loop-ivcanon.c | |
parent | 7d07a93a52153e7ccda52ce86847d2e365dc9f83 (diff) | |
download | gcc-b07c365100c92687361aa062ecf89c49650b8930.zip gcc-b07c365100c92687361aa062ecf89c49650b8930.tar.gz gcc-b07c365100c92687361aa062ecf89c49650b8930.tar.bz2 |
re PR c++/83996 (ICE with zero-sized array)
PR c++/83996
* constexpr.c (cxx_fold_indirect_ref): Compute ((foo *)&fooarray)[1]
=> fooarray[1] in offset_int.
* g++.dg/ext/pr83996.C: New test.
From-SVN: r257160
Diffstat (limited to 'gcc/tree-ssa-loop-ivcanon.c')
0 files changed, 0 insertions, 0 deletions