[Bug c/37529] [4.4 regression] ICE with invalid goto

2008-09-16 Thread jakub at gcc dot gnu dot org


--- Comment #2 from jakub at gcc dot gnu dot org  2008-09-16 22:09 ---
Subject: Bug 37529

Author: jakub
Date: Tue Sep 16 22:08:01 2008
New Revision: 140402

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=140402
Log:
PR c/37529
* gimplify.c (gimplify_expr) case GOTO_EXPR: If gimplification of
GOTO_DESTINATION failed, don't create GIMPLE_GOTO.

* gcc.dg/pr37529.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/pr37529.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug c/37529] [4.4 regression] ICE with invalid goto

2008-09-16 Thread jakub at gcc dot gnu dot org


--- Comment #3 from jakub at gcc dot gnu dot org  2008-09-16 22:10 ---
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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