Partial fix for PR testsuite/1456.
	* gdb.base/complex.exp: Replace reference to gcc_compiled with
	call to test_compiler_info.
+2003-11-29  Michael Chastain  <mec.gnu@mindspring.com>
+
+       Partial fix for PR testsuite/1456.
+       * gdb.base/complex.exp: Replace reference to gcc_compiled with
+       call to test_compiler_info.
+
 2003-11-29  Mark Kettenis  <kettenis@gnu.org>
 
        * gdb.asm/asm-source.exp: Initialize asm-note to "empty".  Set
 
 
 if [runto f2] then {
     get_debug_format
-    if {$gcc_compiled == 2 && [test_debug_format "DWARF 2"]} then {
+    if { [test_compiler_info gcc-2-*] && [test_debug_format "DWARF 2"] } then {
        setup_xfail "*-*-*"
     }
     gdb_test "p *y" "\\\$\[0-9\]* = \{c = 42 '\\*', f = 1 \\+ 0 \\* I\}" \