aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorMartin Jambor <mjambor@suse.cz>2019-03-07 17:03:34 +0100
committerMartin Jambor <jamborm@gcc.gnu.org>2019-03-07 17:03:34 +0100
commit1738b52201b1ce28c9f869646f5412b8937ccfe6 (patch)
treecdb71e52faf06fd59ef5c90c4cebf832ea238b09 /gcc/gimplify.c
parent606711a1671cc63713b893c4557df967a5a6ac20 (diff)
downloadgcc-1738b52201b1ce28c9f869646f5412b8937ccfe6.zip
gcc-1738b52201b1ce28c9f869646f5412b8937ccfe6.tar.gz
gcc-1738b52201b1ce28c9f869646f5412b8937ccfe6.tar.bz2
Relax cgraph_node::clone_of_p to also look through former clones
2019-03-07 Martin Jambor <mjambor@suse.cz> PR ipa/88235 * cgraph.h (cgraph_node): New inline method former_thunk_p. * cgraph.c (cgraph_node::dump): Dump a note if node is a former thunk. (clone_of_p): Treat expanded thunks like thunks, be optimistic if they have multiple callees. At the end check if declarations match as opposed to cgraph_nodes. testsuite/ * g++.dg/ipa/pr88235.C: New test. From-SVN: r269462
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions