[Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 28 21:29:00 GMT 2005
------- Additional Comments From joseph at codesourcery dot com 2005-09-28 21:29 -------
Subject: Re: gcc.dg/20050922-1.c relies in stdint.h
On Wed, 28 Sep 2005, pinskia at gcc dot gnu dot org wrote:
> I could swore there were other testcases which included stdint.h but there is not.
> Anyways, your definition of int32_t is wrong for some targets.
It's not meant to be correct everywhere, simply to be more widely
functional than the present testcase. You could of course check
__INT_MAX__, __LONG_MAX__, __SHRT_MAX and __SCHAR_MAX__ and conditionally
run a trivial program if none of those is correct - what you can't do is
mark the test UNSUPPORTED based on preprocessor conditionals if a 32-bit
type is unavailable.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107
More information about the Gcc-bugs
mailing list