[Bug c++/27384] [4.0/4.1/4.2 regression] ICE with invalid array size
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu May 11 15:17:00 GMT 2006
------- Comment #6 from reichelt at gcc dot gnu dot org 2006-05-11 15:17 -------
Subject: Bug 27384
Author: reichelt
Date: Thu May 11 15:16:49 2006
New Revision: 113703
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113703
Log:
PR middle-end/27384
* fold-const.c (size_binop): Move sanity check for arguments to
the beginning of the function.
* g++.dg/other/fold1.C: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/other/fold1.C
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/fold-const.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27384
More information about the Gcc-bugs
mailing list