This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix gcc/testsuite/gcc/pr34982.c
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 31 Jan 2008 00:23:13 +0100
- Subject: Fix gcc/testsuite/gcc/pr34982.c
Hi,
I forgot to add return 0 to the testcase that makes it to fail on
probably every other target than where I tested.
Fixed as obvious.
Index: gcc.c-torture/execute/pr34982.c
===================================================================
*** gcc.c-torture/execute/pr34982.c (revision 131968)
--- gcc.c-torture/execute/pr34982.c (working copy)
*************** static void something();
*** 5,10 ****
--- 5,11 ----
int main()
{
something(-1);
+ return 0;
}
static void something(int i)
Index: ChangeLog
===================================================================
*** ChangeLog (revision 131968)
--- ChangeLog (working copy)
***************
*** 1,3 ****
--- 1,7 ----
+ 2008-01-30 Jan Hubicka <jh@suse.cz>
+
+ * gcc.c-torture/execute/pr34982.c: Add forgotten return 0.
+
2008-01-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* g++.dg/other/first-global.C: Add -fpie for all pic targets.
***************
*** 6,12 ****
2008-01-30 Jan Hubicka <jh@suse.cz>
PR target/34982
! * gcc.c-torture/execute/pr34982.c: New testcase
2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com>
--- 10,16 ----
2008-01-30 Jan Hubicka <jh@suse.cz>
PR target/34982
! * gcc.c-torture/execute/pr34982.c: New testcase.
2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com>