public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
@ 2004-11-28 14:49 hp at gcc dot gnu dot org
  2004-11-28 15:07 ` [Bug target/18702] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-28 14:49 UTC (permalink / raw)
  To: gcc-bugs

With LAST_UPDATED: "Sun Nov 28 13:19:06 UTC 2004" I get:
FAIL: gcc.dg/cpp/isysroot-1.c (test for excess errors)

With the message in the .log being:
/gcc/testsuite/gcc.dg/cpp/isysroot-1.c:8: error: 'foo' undeclared (first use in
this function)
/gcc/testsuite/gcc.dg/cpp/isysroot-1.c:8: error: (Each undeclared identifier is
reported only once
/gcc/testsuite/gcc.dg/cpp/isysroot-1.c:8: error: for each function it appears
in.)

This test has never succeeded, and is likely at fault.
This is a newlib target and dejagnu-1.4.4.

-- 
           Summary: mmix-knuth-mmixware testsuite failure:
                    gcc.dg/cpp/isysroot-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=18702


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

* [Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
  2004-11-28 14:49 [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c hp at gcc dot gnu dot org
@ 2004-11-28 15:07 ` pinskia at gcc dot gnu dot org
  2004-11-28 15:13 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-28 15:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-28 15:07 -------
Hmm, the test is correct.

-- 


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


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

* [Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
  2004-11-28 14:49 [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c hp at gcc dot gnu dot org
  2004-11-28 15:07 ` [Bug target/18702] " pinskia at gcc dot gnu dot org
@ 2004-11-28 15:13 ` ebotcazou at gcc dot gnu dot org
  2004-11-28 15:32 ` hp at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-28 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-28 15:13 -------
> Hmm, the test is correct.

Here's what I get on Solaris:

gax% gcc/xgcc -Bgcc -S -isysroot /home/eric/cvs/gcc/gcc/testsuite/gcc.dg/cpp
isysroot-1.c
In file included from gcc/include/iso/stdio_iso.h:44,
                 from gcc/include/stdio.h:36,
                 from isysroot-1.c:4:
gcc/include/sys/feature_tests.h:24:26: error: sys/isa_defs.h: No such file or
directory
In file included from gcc/include/stdio.h:36,
                 from isysroot-1.c:4:
gcc/include/iso/stdio_iso.h:45:25: error: sys/va_list.h: No such file or directory
gcc/include/iso/stdio_iso.h:47:24: error: stdio_impl.h: No such file or directory
In file included from gcc/include/stdio.h:36,
                 from isysroot-1.c:4:
gcc/include/iso/stdio_iso.h:195: error: parse error before '__va_list'
gcc/include/iso/stdio_iso.h:196: error: parse error before '__va_list'
gcc/include/iso/stdio_iso.h:197: error: parse error before '__va_list'
isysroot-1.c: In function 'main':
isysroot-1.c:8: error: 'foo' undeclared (first use in this function)
isysroot-1.c:8: error: (Each undeclared identifier is reported only once
isysroot-1.c:8: error: for each function it appears in.)

Note that stdio.h is fixincluded on that platform.


-- 


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


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

* [Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
  2004-11-28 14:49 [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c hp at gcc dot gnu dot org
  2004-11-28 15:07 ` [Bug target/18702] " pinskia at gcc dot gnu dot org
  2004-11-28 15:13 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-28 15:32 ` hp at gcc dot gnu dot org
  2004-11-30 19:38 ` cvs-commit at gcc dot gnu dot org
  2004-11-30 19:40 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-11-28 15:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hp at gcc dot gnu dot org  2004-11-28 15:32 -------
So, the fault of the test seems *at least* that the test should not assume that
no other options are present that cause a stdio.h to be included from elsewhere
than the installed location, which is the case for targets with fixincluded
stdio.h and targets with unified-tree builds (mostly newlib targets).

-- 


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


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

* [Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
  2004-11-28 14:49 [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c hp at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-11-28 15:32 ` hp at gcc dot gnu dot org
@ 2004-11-30 19:38 ` cvs-commit at gcc dot gnu dot org
  2004-11-30 19:40 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-30 19:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-30 19:38 -------
Subject: Bug 18702

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	dpatel@gcc.gnu.org	2004-11-30 19:38:16

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

Log message:
	PR 18702
	* gcc.dg/cpp/isysroot-1.c: Make this test darwin specific.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4691&r2=1.4692
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/isysroot-1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3



-- 


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


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

* [Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
  2004-11-28 14:49 [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c hp at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-11-30 19:38 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-30 19:40 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 19:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-30 19:40 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

end of thread, other threads:[~2004-11-30 19:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-28 14:49 [Bug target/18702] New: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c hp at gcc dot gnu dot org
2004-11-28 15:07 ` [Bug target/18702] " pinskia at gcc dot gnu dot org
2004-11-28 15:13 ` ebotcazou at gcc dot gnu dot org
2004-11-28 15:32 ` hp at gcc dot gnu dot org
2004-11-30 19:38 ` cvs-commit at gcc dot gnu dot org
2004-11-30 19:40 ` 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).