This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, testsuite, stdint] Patch for gcc.dg/torture/pr44806.c


On 09/02/2010 09:37 AM, Steve Ellcey wrote:
> On Thu, 2010-09-02 at 09:29 -0700, Andrew Pinski wrote:
>> Shouldn't target stdint_types be true now for all targets? Sinc
> 
> I think stdint.h should exist for all targets now but I am not sure if
> the types like uint32_t will always exist.  The failure I am getting
> is because uint32_t is not defined.
> 
> It looks like (at least on IA64 HP-UX) uint32_t is only defined if I
> specify -std=c99.

The test case would not be hurt by either adding -std=c99 to dg-options,
or switching the types to "unsigned" and "unsigned long long".

I'm fine with either of those changes.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]