The testcase gcc.dg/20050922-1.c relies on the header stdint.h, which is not
provided by GCC.  This causes it to fail on systems such as
hppa2.0w-hp-hpux11.11 which have inttypes.h but not stdint.h.

The simplest fix would be to define uint32_t locally in the testcase, along the
lines of

#if __INT_MAX__ == 2147483647
typedef unsigned int uint32_t;
#else
typedef unsigned long uint32_t;
#endif

(not tested).

-- 
           Summary: gcc.dg/20050922-1.c relies in stdint.h
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24107

Reply via email to