public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/24107] New: gcc.dg/20050922-1.c relies in stdint.h
@ 2005-09-28 18:52 jsm28 at gcc dot gnu dot org
  2005-09-28 19:13 ` [Bug testsuite/24107] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-09-28 18:52 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-01-14 17:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24107-230@http.gcc.gnu.org/bugzilla/>
2005-10-16 19:01 ` [Bug testsuite/24107] gcc.dg/20050922-1.c relies in stdint.h jsm28 at gcc dot gnu dot org
2005-10-24  2:51 ` pinskia at gcc dot gnu dot org
2005-10-24 12:55 ` cvs-commit at gcc dot gnu dot org
2005-10-24 13:02 ` pbrook at gcc dot gnu dot org
2005-10-24 13:51 ` pinskia at gcc dot gnu dot org
2006-08-15 18:43 ` pinskia at gcc dot gnu dot org
2007-01-09 23:59 ` danglin at gcc dot gnu dot org
2007-01-14 17:25 ` danglin at gcc dot gnu dot org
2005-09-28 18:52 [Bug testsuite/24107] New: " jsm28 at gcc dot gnu dot org
2005-09-28 19:13 ` [Bug testsuite/24107] " pinskia at gcc dot gnu dot org
2005-09-28 21:23 ` pinskia at gcc dot gnu dot org
2005-09-28 21:29 ` joseph at codesourcery dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).