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]

[committed] Fix mudflap testcase


Hello,

several new mudflap tests failed due to a missing return statement
in the main routine.  Fixed by the below patch.

Tested on s390-ibm-linux and s390x-ibm-linux, committed as obvious.

Bye,
Ulrich


ChangeLog:

	* testsuite/libmudflap.c/externs-1.c (main): Add return statement.

Index: libmudflap/testsuite/libmudflap.c/externs-1.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/testsuite/libmudflap.c/externs-1.c,v
retrieving revision 1.1
diff -c -p -r1.1 externs-1.c
*** libmudflap/testsuite/libmudflap.c/externs-1.c	14 Jun 2005 19:12:24 -0000	1.1
--- libmudflap/testsuite/libmudflap.c/externs-1.c	19 Jun 2005 15:42:44 -0000
*************** main (void)
*** 11,14 ****
--- 11,16 ----
        printf ("%s\n", pd->name);
        pd++;
      }
+ 
+   return 0;
  }
-- 
  Dr. Ulrich Weigand
  Linux on zSeries Development
  Ulrich.Weigand@de.ibm.com


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