Commit aca2b8da by Paul Brook Committed by Paul Brook

re PR testsuite/24107 (gcc.dg/20050922-1.c relies in stdint.h)

2005-10-24  Paul Brook  <paul@codesourcery.com>

	PR 24107
	* gcc.dg/20050922-1.c: Provide definition of uint32_t without using
	stdint.h.

From-SVN: r105847
parent 4c93c95a
2005-10-24 Paul Brook <paul@codesourcery.com>
PR 24107
* gcc.dg/20050922-1.c: Provide definition of uint32_t without using
stdint.h.
2005-10-23 Jerry DeLisle <jvdelisle@verizon.net> 2005-10-23 Jerry DeLisle <jvdelisle@verizon.net>
PR libgfortran/24489 PR libgfortran/24489
...@@ -3,11 +3,16 @@ ...@@ -3,11 +3,16 @@
/* { dg-do run } */ /* { dg-do run } */
/* { dg-options "-O1 -std=c99" } */ /* { dg-options "-O1 -std=c99" } */
/* { dg-skip-if "" { *-*-solaris2.5.1 *-*-solaris2.[5-9] } "*" "" } */
#include <stdint.h> #include <stdlib.h>
extern void abort (void); #if __INT_MAX__ == 2147483647
typedef unsigned int uint32_t;
#elif __LONG_MAX__ == 2147483647
typedef unsigned long uint32_t;
#else
#error unable to find 32-bit integer type
#endif
uint32_t uint32_t
f (uint32_t *S, int j) f (uint32_t *S, int j)
......
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