Commit 39f9719e by Jan Hubicka Committed by Jan Hubicka

PR tree-optimization/r55789

	* cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
	the dead call anyway.

	* g++.dg/torture/pr55789.C: New testcase.

From-SVN: r195750
parent 956d3b33
2013-02-05 Jan Hubicka <jh@suse.cz>
PR tree-optimization/r55789
* cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
the dead call anyway.
2013-02-05 Eric Botcazou <ebotcazou@adacore.com>
PR sanitizer/55374
......
......@@ -570,7 +570,10 @@ cgraph_remove_node_and_inline_clones (struct cgraph_node *node, struct cgraph_no
bool found = false;
if (node == forbidden_node)
return true;
{
cgraph_remove_edge (node->callers);
return true;
}
for (e = node->callees; e; e = next)
{
next = e->next_callee;
......
2013-02-05 Jan Hubicka <jh@suse.cz>
PR tree-optimization/r55789
* g++.dg/torture/pr55789.C: New testcase.
2013-02-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/56167
......
/* { dg-do compile } */
/* { dg-options "-fno-guess-branch-probability -fno-tree-forwprop --param max-early-inliner-iterations=10 --param=early-inlining-insns=176" } */
template < typename T > struct intrusive_ptr
{
~intrusive_ptr ()
{
delete px;
}
T *px;
};
struct section_info
{
intrusive_ptr < section_info > parent;
};
struct file_info
{
intrusive_ptr < file_info > parent;
intrusive_ptr < section_info > switched_section;
};
void
start_file (void)
{
intrusive_ptr < file_info > parent;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment