[Bug ipa/63838] [4.8/4.9/5 Regression] ipa-pure-const miscomputes can_throw

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 12 23:19:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63838

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Nov 12 23:18:47 2014
New Revision: 217450

URL: https://gcc.gnu.org/viewcvs?rev=217450&root=gcc&view=rev
Log:
    PR ipa/63838
    * ipa-pure-const.c (propagate_nothrow): Walk w->indirect_calls
    chain instead of node->indirect_calls.

    * g++.dg/ipa/pr63838.C: New test.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/g++.dg/ipa/pr63838.C
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/ipa-pure-const.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list