Re: C++ PATCH for debug/65821, source location and default arguments

2018-04-10 Thread Jason Merrill
On Tue, Apr 10, 2018 at 10:21 AM, Jason Merrill wrote: > 65821 complains that in this testcase, setting a breakpoint on main() > ends up stopping at the line with the default argument of foo(). I > think I agree that the confusion from this debugging experience > outweighs the usefulness of being

C++ PATCH for debug/65821, source location and default arguments

2018-04-10 Thread Jason Merrill
65821 complains that in this testcase, setting a breakpoint on main() ends up stopping at the line with the default argument of foo(). I think I agree that the confusion from this debugging experience outweighs the usefulness of being able to step through evaluation of a default argument, so this