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/27489] [4.1/4.2 regression] ICE on broken switch condition



------- Comment #11 from pinskia at gcc dot gnu dot org  2006-08-15 01:43 -------
Subject: Bug 27489

Author: pinskia
Date: Tue Aug 15 01:43:28 2006
New Revision: 116148

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116148
Log:
2006-07-14  Andrew Pinski  <pinksia@physics.uc.edu>

        PR c/27490
        PR c/27489
        * c-typeck.c (build_compound_expr): If the second expression
        is an error mark, then just return an error mark instead of
        creating a COMPOUND_EXPR.
2006-08-14  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/27490
        * gcc.dg/sizeof-2.c: New testcase.

        PR c/27489
        * gcc.dg/switch-A.c: New testcase.



Added:
    trunk/gcc/testsuite/gcc.dg/sizeof-2.c
    trunk/gcc/testsuite/gcc.dg/switch-A.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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