This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Nov 2004 15:13:21 -0000
- Subject: [Bug target/18702] mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/isysroot-1.c
- References: <20041128144906.18702.hp@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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