* lib/old-dejagnu.exp: Check for both "Internal compiler error"
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jul 2000 18:04:46 +0000 (18:04 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jul 2000 18:04:46 +0000 (18:04 +0000)
and "Internal error".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35147 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/lib/old-dejagnu.exp

index b093b20..64ec6ae 100644 (file)
@@ -1,5 +1,8 @@
 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
 
+       * 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.
index bfa29b0..3fd1292 100644 (file)
@@ -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 "*-*-*"
        }