This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tree-ssa] Minor testsuite change
- From: law at redhat dot com
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 16 Apr 2003 09:36:54 -0600
- Subject: [tree-ssa] Minor testsuite change
- Reply-to: law at redhat dot com
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;
}