[tree-ssa] Minor testsuite change
law@redhat.com
law@redhat.com
Wed Apr 16 15:38:00 GMT 2003
This change was recommend by Kaveh (IIRC) a while back.
* gcc.c-torture/execute/20030120-3.c: Updates suggested by Kaveh.
Index: gcc.c-torture/execute/20030120-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/Attic/20030120-3.c,v
retrieving revision 1.1.2.1
diff -c -3 -p -r1.1.2.1 20030120-3.c
*** gcc.c-torture/execute/20030120-3.c 12 Feb 2003 20:02:44 -0000 1.1.2.1
--- gcc.c-torture/execute/20030120-3.c 16 Apr 2003 15:36:34 -0000
***************
*** 1,8 ****
main()
{
__label__ l;
! void*x()
{
goto l;
}
--- 1,12 ----
+ /* This test verifies that we mark "l" as a potential target for a
+ nonlocal goto. Failure to do so resulted in "l" being removed
+ on the tree-ssa branch, leading to a compilation failure. */
+
main()
{
__label__ l;
! void x()
{
goto l;
}
More information about the Gcc-patches
mailing list