Cygwin "test for excess errors" gcc testsuite failures

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Tue Apr 3 20:56:00 GMT 2001


Several gcc.dg testsuite failures on cygwin are due to compiler warnings.
For example:

	FAIL: gcc.dg/20000807-1.c (test for excess errors)
	Excess errors:
	cc1.exe: warning: -fpic ignored for target (all code is position
independent)

This affects tests
*	FAIL: gcc.dg/20000807-1.c (test for excess errors)
*	FAIL: gcc.dg/20000904-1.c (test for excess errors)
*	FAIL: gcc.dg/20001009-1.c (test for excess errors)
*	FAIL: gcc.dg/990213-2.c (test for excess errors)
*	FAIL: gcc.dg/990214-1.c (test for excess errors)

This can be fixed by a patch to ${prefix}/share/dejagnu/target.exp 
See http://mail.gnu.org/pipermail/dejagnu/2001-April/000003.html

It could also be fixed by modifying these test cases to avoid -fPIC of -fpic
on cygwin.




More information about the Gcc-bugs mailing list