* combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
* gcc.dg/
20030702-1.c: New test.
From-SVN: r70779
2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
+ * combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
+
+2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
+
* combine.c (combine_simplify_rtx): Fix RTL sharing bug.
2003-08-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
abort ();
break;
+ case REG_ALWAYS_RETURN:
case REG_NORETURN:
case REG_SETJMP:
/* These notes must remain with the call. It should not be
+2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gcc.dg/20030702-1.c: New test.
+
2003-08-25 Mark Mitchell <mark@codesourcery.com>
PR c++/8795
--- /dev/null
+/* This tests whether REG_ALWAYS_RETURN notes are handled
+ correctly in combine. */
+/* { dg-do compile } */
+/* { dg-options "-O2 -fpic -fprofile-arcs" } */
+
+void test (void)
+{
+ fork ();
+}
+