Commit 6b7d5ac9 by Andrew Pinski Committed by Andrew Pinski

tag_manager.c: Include stdlib.h.

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
parent fac9044d
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 } */
}
......@@ -18,6 +18,7 @@
/* { dg-do run } */
#include <spu_mfcio.h>
#include <stdlib.h>
/* This test directly accesses the internal table used
by the MFC tag manager. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment