[Bug middle-end/37285] [4.4 Regression] ICE while building binutils on ppc

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 1 15:12:00 GMT 2008



------- Comment #7 from rguenth at gcc dot gnu dot org  2008-10-01 15:11 -------
Subject: Bug 37285

Author: rguenth
Date: Wed Oct  1 15:09:26 2008
New Revision: 140814

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140814
Log:
2008-10-01  Richard Guenther  <rguenther@suse.de>

        PR middle-end/37285
        * tree-vrp.c (execute_vrp): If we optimized away the default
        case make sure to promote the label that got in place of it
        to a default case label.

        * gcc.c-torture/compile/pr37285.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr37285.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vrp.c


-- 


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



More information about the Gcc-bugs mailing list