https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245
--- Comment #3 from Matthew Beliveau ---
The location for the note message is getting reset in cp/method.c
(synthesize_method), line 894, here:
if (!DECL_INHERITED_CTOR (fndecl))
DECL_SOURCE_LOCATION (fndecl)
= DECL_SOURCE_LOCATION
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245
--- Comment #2 from Marek Polacek ---
The inform call already uses DECL_SOURCE_LOCATION but that's bogus:
9288 else if (DECL_DEFAULTED_FN (old_decl))
9289 {
9290 error ("definition of explicitly-defaulted
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245
Matthew Beliveau changed:
What|Removed |Added
Status|NEW |ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|