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]

Regressions from "[rfc] -gdwarf-3 and DW_OP_call_frame_cfa"


> Date: Tue, 09 Jun 2009 00:06:20 -0700
> From: Richard Henderson <rth@redhat.com>

> There is one quirk.  Previously we'd accept options like -gdwarf-23
> and take that to mean dwarf2 debugging, verbosity level 3.  Now
> you *must* write this as -gdwarf-2 -g3.  Which, frankly, is what I
> thought we had to do beforehand and was surprised at the error
> message I got while testing the handling of -gdwarf-4.
> 
> Comments?

The testsuite bogusly produces e.g. -gdwarf-21 and -gdwarf-23
making this patch cause numerous (as in 83) regressions.
Obviously now made a bug, but I'm not sure of the intent of that
part of the proc gcc-dg-debug-runtest (the 'foreach level {1 ""
3} {' loop); it looks as if it really was intended to produce
those options.  Maybe it's even used in real code?  Mark is
fingered by svn blame but it appears he just consolidated this
code.

brgds, H-P


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