* cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
the dead call anyway.
* g++.dg/torture/pr55789.C: New testcase.
From-SVN: r195750
+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
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
--- /dev/null
+/* { 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;
+}
+