This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[tree-ssa] Minor testsuite change


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;
    }



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]