diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-12-06 14:00:09 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-12-06 14:00:09 +0000 |
commit | 9116d529f6d79990fc5b7315f9f905f9d2ec6fb7 (patch) | |
tree | 0eb762891764cfb8cb423cefc2632ddc553ab720 /gcc/gcc.c | |
parent | c0328823536bcf18bcff02f3f6bf503da93a5dfb (diff) | |
download | gcc-9116d529f6d79990fc5b7315f9f905f9d2ec6fb7.zip gcc-9116d529f6d79990fc5b7315f9f905f9d2ec6fb7.tar.gz gcc-9116d529f6d79990fc5b7315f9f905f9d2ec6fb7.tar.bz2 |
re PR c++/25263 (ICE on invalid array bound: int x[1/0];)
PR c++/25263
* decl.c (compute_array_index_type): Check that itype is an
INTEGER_CST node before testing/clearing TREE_OVERFLOW.
* g++.dg/other/array2.C: New test case.
From-SVN: r108119
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions