re PR tree-optimization/46165 (ICE: verify_flow_info failed when casting-out attribut...
authorJakub Jelinek <jakub@redhat.com>
Wed, 3 Nov 2010 10:34:34 +0000 (11:34 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Nov 2010 10:34:34 +0000 (11:34 +0100)
commit87c20fe7623b31c72d31b015254fd7f7964f2ead
treeae4c8e41d3e76010b164935427be7eb77a66ab6d
parentca818bd905c80e424dbc4074bf6f25c6e5ccd897
re PR tree-optimization/46165 (ICE: verify_flow_info failed when casting-out attribute noreturn with -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce)

PR tree-optimization/46165
* tree-ssa-pre.c (eliminate): Return TODO_cleanup_cfg if changing
a normal call into noreturn call.

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

From-SVN: r166236
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46165.c [new file with mode: 0644]
gcc/tree-ssa-pre.c