https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821

--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 10 17:19:09 2018
New Revision: 259291

URL: https://gcc.gnu.org/viewcvs?rev=259291&root=gcc&view=rev
Log:
        PR debug/65821 - wrong location for main().

        * call.c (clear_location_r, convert_default_arg): Revert.
        * tree.c (break_out_target_exprs): Add clear_location parm.
        (struct bot_data): New.
        (bot_manip): Clear location if requested.
        * init.c (get_nsdmi): Pass clear_location.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/init.c
    trunk/gcc/cp/tree.c

Reply via email to