From 983318fc16ce126f3668c41fa84ddf099c0acf35 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 20 Jul 2000 18:04:46 +0000 Subject: [PATCH] old-dejagnu.exp: Check for both "Internal compiler error" and "Internal error". * lib/old-dejagnu.exp: Check for both "Internal compiler error" and "Internal error". From-SVN: r35147 --- gcc/testsuite/ChangeLog | 3 +++ gcc/testsuite/lib/old-dejagnu.exp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b093b20114b0..64ec6ae7ea56 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2000-07-20 Zack Weinberg + * lib/old-dejagnu.exp: Check for both "Internal compiler error" + and "Internal error". + * gcc.dg/cpp/20000625-2.c, gcc.dg/cpp/macsyntx.c: Update error regexps. * gcc.dg/cpp/paste6.c: New test. diff --git a/gcc/testsuite/lib/old-dejagnu.exp b/gcc/testsuite/lib/old-dejagnu.exp index bfa29b0643c7..3fd129259383 100644 --- a/gcc/testsuite/lib/old-dejagnu.exp +++ b/gcc/testsuite/lib/old-dejagnu.exp @@ -425,7 +425,7 @@ proc old-dejagnu { compiler prog name cflagsx default_cflags libs } { # Delete things like "ld.so: warning" messages. set comp_output [prune_warnings $comp_output] - if [string match "*Internal compiler error*" $comp_output] then { + if [regexp "Internal (compiler )?error" $comp_output] then { if $expect_crash then { setup_xfail "*-*-*" }