* lib/old-dejagnu.exp: Check for both "Internal compiler error"
and "Internal error".
From-SVN: r35147
2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
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.
* gcc.dg/cpp/20000625-2.c, gcc.dg/cpp/macsyntx.c: Update error
regexps.
* gcc.dg/cpp/paste6.c: New test.
# Delete things like "ld.so: warning" messages.
set comp_output [prune_warnings $comp_output]
# 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 "*-*-*"
}
if $expect_crash then {
setup_xfail "*-*-*"
}