re PR tree-optimization/46233 (ICE: verify_flow_info failed: control flow in the...
authorJakub Jelinek <jakub@redhat.com>
Thu, 4 Nov 2010 18:45:06 +0000 (19:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 4 Nov 2010 18:45:06 +0000 (19:45 +0100)
commit269c80f2a6b982cdc8364e1d2885c7ce5e8d6b9a
treed2183e6d142b29a9760fe0f93bd5895f51227ab1
parent86710a8bf2b766e47127566f9e5839997f8ea531
re PR tree-optimization/46233 (ICE: verify_flow_info failed: control flow in the middle of basic block 3 with -foptimize-sibling-calls)

PR tree-optimization/46233
* ipa-pure-const.c (local_pure_const): Do noreturn discovery
after calling analyze_function, not before.

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

From-SVN: r166324
gcc/ChangeLog
gcc/ipa-pure-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr46233.c [new file with mode: 0644]