This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/27490] [4.1 regression] ICE on broken sizeof expression
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Oct 2006 03:43:50 -0000
- Subject: [Bug c/27490] [4.1 regression] ICE on broken sizeof expression
- References: <bug-27490-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2006-10-05 03:43 -------
Subject: Bug 27490
Author: pinskia
Date: Thu Oct 5 03:43:36 2006
New Revision: 117448
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117448
Log:
2006-10-04 Andrew Pinski <pinskia@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-10-04 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:
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/sizeof-2.c
- copied unchanged from r116148, trunk/gcc/testsuite/gcc.dg/sizeof-2.c
branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/switch-A.c
- copied unchanged from r116148, trunk/gcc/testsuite/gcc.dg/switch-A.c
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/c-typeck.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27490