This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/27384] [4.0/4.1/4.2 regression] ICE with invalid array size



------- Comment #4 from reichelt at gcc dot gnu dot org  2006-05-11 15:08 -------
Subject: Bug 27384

Author: reichelt
Date: Thu May 11 15:07:45 2006
New Revision: 113701

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113701
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:
    trunk/gcc/testsuite/g++.dg/other/fold1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27384


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]