combine.c (distribute_notes): Handle REG_ALWAYS_RETURN.
* combine.c (distribute_notes): Handle REG_ALWAYS_RETURN. * gcc.dg/20030702-1.c: New test. From-SVN: r70779
This commit is contained in:
parent
c62793785d
commit
b01e3e3802
@ -1,3 +1,7 @@
|
|||||||
|
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>
|
2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* combine.c (combine_simplify_rtx): Fix RTL sharing bug.
|
* combine.c (combine_simplify_rtx): Fix RTL sharing bug.
|
||||||
|
@ -12498,6 +12498,7 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2)
|
|||||||
abort ();
|
abort ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case REG_ALWAYS_RETURN:
|
||||||
case REG_NORETURN:
|
case REG_NORETURN:
|
||||||
case REG_SETJMP:
|
case REG_SETJMP:
|
||||||
/* These notes must remain with the call. It should not be
|
/* These notes must remain with the call. It should not be
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2003-08-25 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* gcc.dg/20030702-1.c: New test.
|
||||||
|
|
||||||
2003-08-25 Mark Mitchell <mark@codesourcery.com>
|
2003-08-25 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
PR c++/8795
|
PR c++/8795
|
||||||
|
10
gcc/testsuite/gcc.dg/20030702-1.c
Normal file
10
gcc/testsuite/gcc.dg/20030702-1.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
/* 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 ();
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user