[Bug c/27489] [4.1 regression] ICE on broken switch condition

2006-10-04 Thread pinskia at gcc dot gnu dot org


--- Comment #14 from pinskia at gcc dot gnu dot org  2006-10-05 03:43 
---
Subject: Bug 27489

Author: pinskia
Date: Thu Oct  5 03:43:36 2006
New Revision: 117448

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=117448
Log:
2006-10-04  Andrew Pinski  [EMAIL PROTECTED]

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  [EMAIL PROTECTED]

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=27489



[Bug c/27489] [4.1 regression] ICE on broken switch condition

2006-10-04 Thread pinskia at gcc dot gnu dot org


--- Comment #15 from pinskia at gcc dot gnu dot org  2006-10-05 03:45 
---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug c/27489] [4.1 regression] ICE on broken switch condition

2006-08-16 Thread reichelt at gcc dot gnu dot org


--- Comment #13 from reichelt at gcc dot gnu dot org  2006-08-16 20:50 
---
Subject: Bug 27489

Author: reichelt
Date: Wed Aug 16 20:50:18 2006
New Revision: 116188

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116188
Log:
PR c/27489
* c-typeck.c (c_start_case): Handle invalid orig_type correctly.
Clean up.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c


-- 


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



[Bug c/27489] [4.1 regression] ICE on broken switch condition

2006-08-14 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2006-08-15 01:44 
---
Fixed at least on the mainline.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.1/4.2 regression] ICE on |[4.1 regression] ICE on
   |broken switch condition |broken switch condition


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