Patch installed for PR7227 gcc.dg/uninit-C.c

John David Anglin dave@hiauly1.hia.nrc.ca
Thu Apr 17 16:41:00 GMT 2003


>  > I had the impression that the test was checking a problem specific
>  > to TImode, so I wasn't sure it was reasonable to reduce the mode
>  > size that was used.  There is a test for the number of bits in a
>  > long long in c99-intconst-1.c that might be useful.
> 
> I don't remember if smaller modes triggered the bug.  (Falling back to
> a smaller mode couldn't hurt though.)  What I was suggesting was to
> ifdef out the entire test if __LONG_LONG_MAX__ was less than a certain
> size.  But it seems that __LONG_LONG_MAX__ isn't exactly on point.  If
> we need to check for a 128-bit mode, testing long long won't work on
> most systems either since that type is usually 64-bits, even on
> systems that support a TI mode, right?

It would take some research to determine why TI mode works on
hppa64-hp-hpux11.11 and not on hppa2.0w-hp-hpux11.11.  Long longs
are 64 bits on both, although in the former case instructions
exist for direct manipulation of DImode integers.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Gcc-patches mailing list