2008-01-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
* gcc.target/spu/tag_manager.c : Include stdlib.h.
* gcc.target/spu/Wmain.c: Fix the line numbers for the
warning on the function main.
From-SVN: r131248
+2008-01-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ * gcc.target/spu/tag_manager.c : Include stdlib.h.
+ * gcc.target/spu/Wmain.c: Fix the line numbers for the
+ warning on the function main.
+
2008-01-01 Jakub Jelinek <jakub@redhat.com>
* gcc.target/i386/i386.exp (check_effective_target_sse5): Use __v8hi
2008-01-01 Jakub Jelinek <jakub@redhat.com>
* gcc.target/i386/i386.exp (check_effective_target_sse5): Use __v8hi
/* { dg-do compile } */
/* { dg-options "-Wmain -mstdmain" } */
/* { dg-do compile } */
/* { dg-options "-Wmain -mstdmain" } */
-int main (void *wrong)
-{ /* { dg-warning "first argument of 'main' should be 'int'" "" } */
- /* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 5 } */
+int main (void *wrong)/* { dg-warning "first argument of 'main' should be 'int'" "" } */
+{
+ /* { dg-warning "'main' takes only zero or two arguments" "" { target *-*-* } 4 } */
/* { dg-do run } */
#include <spu_mfcio.h>
/* { dg-do run } */
#include <spu_mfcio.h>
/* This test directly accesses the internal table used
by the MFC tag manager. */
/* This test directly accesses the internal table used
by the MFC tag manager. */