http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59821

--- Comment #5 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #3)
> I think gimplify_arg clobbering a valid EXPR_LOCATION is wrong; both cases
> should give the location of the default argument definition.
> 
> Aldy, what was the rationale for that change (r140917)?

Unfortunately this was by design to make multi-line non-trivial arguments play
nice with the debugger.  Perhaps it's time to revisit the ``is_stmt'' DWARF
flag for this?

More details here:

http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00191.html

Reply via email to