OSDN Git Service

2008-10-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Oct 2008 15:09:26 +0000 (15:09 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Oct 2008 15:09:26 +0000 (15:09 +0000)
commit2df2af5a7b827bf51a646fe9c0850f4ef3225338
tree5709e23633156cfbfd48cd9e84bb7e3c0bebcc72
parent09c1e135de53e8374a9926ec9357698473cd9127
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140814 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr37285.c [new file with mode: 0644]
gcc/tree-vrp.c