2008-09-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2008 18:48:27 +0000 (18:48 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Sep 2008 18:48:27 +0000 (18:48 +0000)
commite03a95e7b0ff2e2787621b52301fe1bfe493a41f
treef12ed025cfd8c06144adcdfe53b80184b92b779d
parent1a1a827af5bd68fe66dfb0c7395e7f9feed273bd
2008-09-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/37293
        * cgraphunit.c (update_call_expr): Remove eh regions from statements
        which become non throw.
        (cgraph_function_versioning): Also clear DECL_WEAK.  Call
        update_call_expr after updating the flags on the decl.

2008-09-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR middle-end/37293
        * g++.dg/torture/ipa-cp-1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139946 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/ipa-cp-1.C [new file with mode: 0644]