This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite] Test printing complex numbers in C


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]