* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131248
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
/* { 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>
+#include <stdlib.h>
/* This test directly accesses the internal table used
by the MFC tag manager. */