[RFA/testsuite] Test printing complex numbers in C

Fernando Nasser fnasser@redhat.com
Wed Dec 4 15:23:00 GMT 2002


Daniel Jacobowitz wrote:
> (...) I suppose I could add a check for the major version of
> GCC in get_compiler_info (?) and condition on that.
> 

I wonder if we wouldn't do something with regards to compiler (GCC) versions as 
well.  We seem to have several failures depending on the compiler version (as 
Michael pointed in an unrelated thread, the number of failures depends on the 
compiler version used, in addition to the debug format).

Although in many cases we can add a pattern looking for the wrong output, 
conditioning on the version would be more reliable (so we don't XFAIL for other 
versions and correctly flag a regression).

What do you think Michael?

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9



More information about the Gdb-patches mailing list