Re: [rfa/testsuite] gdb.base/selftest.exp: work with optimization

David Carlton
2002-12-11T22:27:28Z

On Wed, 11 Dec 2002 16:15:52 -0600, Michael Elizabeth Chastain <mec@shout.net> said:
> David Carlton writes:

> + # "current_directory initialization" possibilities happen to
> + # me with GCC 3.1 on i686-pc-linux-gnu when I compile with
> + # optimization.

> That is twice today you said "gcc 3.1" -- is that a think for gcc 3.2.1,
> or are you really testing with gcc 3.1?

I really am testing with GCC 3.1 most of the time: on my work machine,
that's what's installed in /usr/local/bin (though other GCC's are
installed elsewhere, and they sometimes get used).

Obviously it's not the most important version of GCC to test with, but
I haven't yet run into a compelling reason to upgrade to a more recent
version; and it probably doesn't hurt to have somebody testing GDB
with compilers other than 2.95-variants and 3.2.1. (Though your test
matrix now handles that issue quite nicely.) In the comment quoted
above, I have no reason to believe that the problem is specific to
3.1, but it seemed like a situation where it was worthwhile mentioning
the compiler that I happened to be using.

David Carlton
carlton@math.stanford.edu