[Bug c/53153] [4.8 Regression] ice in tree_low_cst, at tree.c:6569

2012-04-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53153

Steven Bosscher steven at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|steven at gcc dot gnu.org   |
 AssignedTo|unassigned at gcc dot   |steven at gcc dot gnu.org
   |gnu.org |


[Bug c/53153] [4.8 Regression] ice in tree_low_cst, at tree.c:6569

2012-04-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53153

--- Comment #3 from Steven Bosscher steven at gcc dot gnu.org 2012-04-30 
17:11:15 UTC ---
This is the early forwprop eliminating the promotion cast from char to int. I
don't think this is a valid transformation.


[Bug c/53153] [4.8 Regression] ice in tree_low_cst, at tree.c:6569

2012-04-30 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53153

--- Comment #4 from Steven Bosscher steven at gcc dot gnu.org 2012-04-30 
21:43:33 UTC ---
Created attachment 27272
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27272
Eliminate unreachable case labels

This is basically what the code in stmt.c used to do, and the new code in
gimplify.c also does: GIMPLE passes that change the type of the index
expression must also update the case label vector.


[Bug c/53153] [4.8 Regression] ice in tree_low_cst, at tree.c:6569

2012-04-28 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53153

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-04-28
   Target Milestone|--- |4.8.0
Summary|ice in tree_low_cst, at |[4.8 Regression] ice in
   |tree.c:6569 |tree_low_cst, at
   ||tree.c:6569
 Ever Confirmed|0   |1
  Alias||steven

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2012-04-28 15:13:23 
UTC ---
It is caused by revision 186579:

http://gcc.gnu.org/ml/gcc-cvs/2012-04/msg00530.html