[Bug c++/92974] diagnostic missing source information
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 19 22:29:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92974
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org
--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
And that's because build_min_non_dep doesn't set any location:
6923 expr = build_conditional_expr (loc, ifexp, op1, op2, complain);
6924 if (processing_template_decl && expr != error_mark_node)
6925 {
6926 tree min = build_min_non_dep (COND_EXPR, expr,
6927 orig_ifexp, orig_op1, orig_op2);
More information about the Gcc-bugs
mailing list