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]

Re: mostly fix 14329, except for c++



On Jan 28, 2005, at 4:30 PM, Geoffrey Keating wrote:


Richard Henderson <rth@redhat.com> writes:

The DECL_DEBUG_EXPR/DECL_DEBUG_EXPR_IS_FROM is enough to generate
both proper warnings and proper debug info from the SRA optimized
code.  Not that this actually does generate proper debug info,
but in principal the information is now present.

For some reason, the "obvious" changes to the C++ front end pretty
printer (in attachment 2 below) do not work.  Zillions of testsuite
failures due to crashes in this code.  I'll let a C++ person fix it.

Tested on alphaev67-linux.

Is there any way to do this that doesn't involve adding a field to tree_decl and so slowing the compiler down? Every field is worth about 0.5%, I think.

We had just removed two pointers from tree_decl so really there will be no
slow down from that point.


-- Pinski


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