This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
On 07/20/2010 01:45 PM, Bernd Schmidt wrote: > It's still producing different code for -g vs. no-debug on powerpc. It > turns out that we only store a limited amount of uses for a reg, and > somehow the powerpc compiler produces a huge amount of debug_insns, > which fill the buffer and prevent us from doing the optimization on real > insns. > > Not sure yet how to fix it, probably by not tracking DEBUG_INSNs at all > and letting them get out of date. Here's a fix, which I've committed. Bootstrapped and regression tested on i686-linux, and also verified that I can no longer reproduce output differences with a powerpc cross compiler. It even tries to fix up the debug insns in the range of insns we're changing so that should be OK too. Bernd
Attachment:
more-debug-insns.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |