Commit 2ba17291 by Janis Johnson Committed by Janis Johnson

pr11832.c: XFAIL for mips and powerpc-linux, then ignore ICE message to avoid a second failure.

	* gcc.c-torture/compile/pr11832.c: XFAIL for mips and powerpc-linux,
	then ignore ICE message to avoid a second failure.
	* gcc.c-torture/compile/pr33009.c: Ditto.
	* lib/gcc-dg.exp: Explain in comment how to XFAIL an ICE.

From-SVN: r135238
parent ef0a7607
2008-05-12 Janis Johnson <janis187@us.ibm.com>
* gcc.c-torture/compile/pr11832.c: XFAIL for mips and powerpc-linux,
then ignore ICE message to avoid a second failure.
* gcc.c-torture/compile/pr33009.c: Ditto.
* lib/gcc-dg.exp: Explain in comment how to XFAIL an ICE.
2008-05-12 Andy Hutchinson <hutchinsonandy@aim.com>
* gcc.dg/pr34457-1.c: Skip for target without trampolines.
/* { dg-do compile } */
/* Currently ICEs for MIPS; see PR33642. */
/* { dg-skip-if "PR33642" { mips*-*-* } { "*" } { "" } } */
/* Currently ICEs for MIPS and PowerPC; see PR33642. */
/* { dg-xfail-if "PR33642" { mips*-*-* powerpc*-*-linux* } { "*" } { "" } } */
/* { dg-prune-output ".*internal compiler error.*" }
/* { dg-options "-frtl-abstract-sequences" } */
int a, b, e;
......
/* { dg-do compile } */
/* Currently ICEs for MIPS; see PR33642. */
/* { dg-skip-if "PR33642" { mips*-*-* } { "*" } { "" } } */
/* Currently ICEs for MIPS and PowerPC; see PR33642. */
/* { dg-xfail-if "PR33642" { mips*-*-* powerpc*-*-linux* } { "*" } { "" } } */
/* { dg-prune-output ".*internal compiler error.*" }
/* { dg-options "-frtl-abstract-sequences" } */
char *progName;
......
......@@ -140,8 +140,9 @@ proc gcc-dg-test-1 { target_compile prog do_what extra_tool_flags } {
set comp_output [$target_compile "$prog" "$output_file" "$compile_type" $options]
# Look for an internal compiler error, which sometimes masks the fact
# that we didn't get an expected error message. An ICE always fails,
# there's no way to XFAIL it.
# that we didn't get an expected error message. XFAIL an ICE via
# dg-xfail-if and use { dg-prune-output ".*internal compiler error.*" }
# to avoid a second failure for excess errors.
if [string match "*internal compiler error*" $comp_output] {
upvar 2 name name
fail "$name (internal compiler error)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment