This is the mail archive of the gdb-patches@sourceware.org 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: [patch] Fix for failing gdb.base/mips_pro.exp under gcc-4.3.1


(sorry about the delay - it looks like everyone was very very busy
this summer)

> I could not find *why* optimization is necessary for that test case,
> so don't know if disabling inlining is the correct fix :(

Like Michael said, we have to assume the obvious, which is that they
wanted to test unwinding of optimized code.

> 2008-02-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
> 	*gdb.base/mips_pro.exp: compile with gcc -fno-inline,
> 	lest gcc-4.3.1 optimizes the whole thing away.

With that in mind, your patch makes sense. We want optimized code, but
not that much optimization :).

-- 
Joel


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