public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
@ 2004-11-07  5:35 hp at gcc dot gnu dot org
  2004-11-07  6:50 ` [Bug target/18345] " hp at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-07  5:35 UTC (permalink / raw)
  To: gcc-bugs

With LAST_UPDATED: "Sat Nov  6 19:25:03 GMT 2004" I get:
FAIL: gcc.dg/intmax_t-1.c (test for excess errors)

With the message in the .log being:
/gcc/testsuite/gcc.dg/intmax_t-1.c:7:22: error: inttypes.h: No such file or
directory
(further errors withheld)

inttypes.h isn't a standard header, neither is it provided by GCC.
The test is wrong and should only be compiled on systems known to
have inttypes.h.  (According to notes in PR 448 at least Solaris and
glibc.)

The test has never worked on this target.

-- 
           Summary: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-
                    1.c
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mmix-knuth-mmixware


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
@ 2004-11-07  6:50 ` hp at gcc dot gnu dot org
  2004-11-07 11:04 ` joseph at codesourcery dot com
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-07  6:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
  2004-11-07  6:50 ` [Bug target/18345] " hp at gcc dot gnu dot org
@ 2004-11-07 11:04 ` joseph at codesourcery dot com
  2004-11-09  9:49 ` hp at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: joseph at codesourcery dot com @ 2004-11-07 11:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joseph at codesourcery dot com  2004-11-07 11:04 -------
Subject: Re:  New: mmix-knuth-mmixware testsuite failure:
 gcc.dg/intmax_t-1.c

On Sun, 7 Nov 2004, hp at gcc dot gnu dot org wrote:

> inttypes.h isn't a standard header, neither is it provided by GCC.
> The test is wrong and should only be compiled on systems known to
> have inttypes.h.  (According to notes in PR 448 at least Solaris and
> glibc.)

That would rather defeat the point of ensuring that GCC's definition of 
intmax_t agrees with the target's when a target which didn't previously 
have one acquires one.  The use of inttypes.h, a header only required of 
hosted but not freestanding implementations, is deliberate because of 
pre-C99 systems that have <inttypes.h> but not <stdint.h>.

wchar_t-1.c and wint_t-1.c used to be xfailed on systems lacking 
<wchar.h>, something similar could be used on systems lacking inttypes.h 
so when they gain the header the compilation XPASSes but the test for 
excess errors still fails if the type is incorrect.



-- 


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
  2004-11-07  6:50 ` [Bug target/18345] " hp at gcc dot gnu dot org
  2004-11-07 11:04 ` joseph at codesourcery dot com
@ 2004-11-09  9:49 ` hp at gcc dot gnu dot org
  2004-11-09  9:58 ` hp at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-09  9:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-09 09:48 -------
Confirmed, separate system than original report, with "Tue Nov  9 00:36:20 UTC
2004" (no .log reconfirmation)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2004-11-09 09:48:38
               date|                            |


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-09  9:49 ` hp at gcc dot gnu dot org
@ 2004-11-09  9:58 ` hp at gcc dot gnu dot org
  2004-11-09 10:08 ` hp at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-09  9:58 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-11-09 09:48:38         |2004-11-09 09:54:01
               date|                            |


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-09  9:58 ` hp at gcc dot gnu dot org
@ 2004-11-09 10:08 ` hp at gcc dot gnu dot org
  2004-11-11 15:30 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-09 10:08 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|2004-11-09 09:54:01         |2004-11-09 10:00:34
               date|                            |


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-09 10:08 ` hp at gcc dot gnu dot org
@ 2004-11-11 15:30 ` pinskia at gcc dot gnu dot org
  2004-11-28 22:39 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-11 15:30 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |---


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-11-11 15:30 ` pinskia at gcc dot gnu dot org
@ 2004-11-28 22:39 ` cvs-commit at gcc dot gnu dot org
  2004-11-28 22:43 ` hp at gcc dot gnu dot org
  2004-12-01  0:41 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-28 22:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-28 22:39 -------
Subject: Bug 18345

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	hp@gcc.gnu.org	2004-11-28 22:39:05

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg: intmax_t-1.c 

Log message:
	PR target/18345
	* gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4667&r2=1.4668
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/intmax_t-1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3



-- 


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-11-28 22:39 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-28 22:43 ` hp at gcc dot gnu dot org
  2004-12-01  0:41 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-28 22:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-28 22:43 -------
Look for "Committed, gcc.dg/intmax_t-1.c: Add mmix-*-* to dg-error. PR
target/18345." at <URL:http://gcc.gnu.org/ml/gcc-patches/2004-11/>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug target/18345] mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c
  2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-11-28 22:43 ` hp at gcc dot gnu dot org
@ 2004-12-01  0:41 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01  0:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-12-01  0:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-07  5:35 [Bug target/18345] New: mmix-knuth-mmixware testsuite failure: gcc.dg/intmax_t-1.c hp at gcc dot gnu dot org
2004-11-07  6:50 ` [Bug target/18345] " hp at gcc dot gnu dot org
2004-11-07 11:04 ` joseph at codesourcery dot com
2004-11-09  9:49 ` hp at gcc dot gnu dot org
2004-11-09  9:58 ` hp at gcc dot gnu dot org
2004-11-09 10:08 ` hp at gcc dot gnu dot org
2004-11-11 15:30 ` pinskia at gcc dot gnu dot org
2004-11-28 22:39 ` cvs-commit at gcc dot gnu dot org
2004-11-28 22:43 ` hp at gcc dot gnu dot org
2004-12-01  0:41 ` pinskia at gcc dot gnu dot org

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).