Bug 19257 - mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/subframework1.c
Summary: mmix-knuth-mmixware testsuite failure: gcc.dg/cpp/subframework1.c
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: preprocessor (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Geoff Keating
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 17:29 UTC by Hans-Peter Nilsson
Modified: 2005-01-07 14:12 UTC (History)
3 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: mmix-knuth-mmixware
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-01-04 17:31:33


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Peter Nilsson 2005-01-04 17:30:00 UTC
With LAST_UPDATED: "Tue Jan  4 08:43:26 UTC 2005" I get:
FAIL: gcc.dg/cpp/subframework1.c (test for excess errors)

With the message in the .log being (copy-pasted):
Executing on host: /home/hp/combined/mmixware-sim/gcc/xgcc
-B/home/hp/combined/mmixware-sim/gcc/ /home/hp/combined/combined/gcc/t\
estsuite/gcc.dg/cpp/subframework1.c  
-F/home/hp/combined/combined/gcc/testsuite/gcc.dg/cpp/frame -E  -isystem
/home/hp/combined/\
mmixware-sim/mmix-knuth-mmixware/./newlib/targ-include -isystem
/home/hp/combined/combined/newlib/libc/include  -o subframework1.\
i    (timeout = 300)
/home/hp/combined/combined/gcc/testsuite/gcc.dg/cpp/subframework1.c:12:33:
error: one/one-includeSubs.h: No such file or director\
y^M
/home/hp/combined/combined/gcc/testsuite/gcc.dg/cpp/subframework1.c:14:2: error:
#error C.h not included^M
compiler exited with status 1

This is a new test, so authors are CC:ed.
The test seems likely to fail for (at least) other newlib-cross-targets as well.
Comment 1 Andrew Pinski 2005-01-04 17:31:33 UTC
Confirmed, this should run only on *-*-darwin*
Comment 2 Geoff Keating 2005-01-04 19:31:33 UTC
Doh!  Fixing.
Comment 3 GCC Commits 2005-01-04 19:39:15 UTC
Subject: Bug 19257

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	geoffk@gcc.gnu.org	2005-01-04 19:39:10

Modified files:
	gcc/testsuite  : ChangeLog 
	gcc/testsuite/gcc.dg/cpp: subframework1.c 

Log message:
	PR 19257
	* gcc.dg/cpp/subframework1.c: Run only on Darwin.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4846&r2=1.4847
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/subframework1.c.diff?cvsroot=gcc&r1=1.2&r2=1.3

Comment 4 Geoff Keating 2005-01-04 19:39:53 UTC
Should be fixed now.