[Bug c++/59821] __builtin_LINE and __builtin_FILE for new'd objects is wrong
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 16 18:02:00 GMT 2014
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
More information about the Gcc-bugs
mailing list