[Bug c++/88245] Wrong location for "explicitly defaulted here"

2023-04-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/88245] Wrong location for "explicitly defaulted here"

2019-06-17 Thread mbelivea at gcc dot gnu.org
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

[Bug c++/88245] Wrong location for "explicitly defaulted here"

2019-06-11 Thread mpolacek at gcc dot gnu.org
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

[Bug c++/88245] Wrong location for "explicitly defaulted here"

2019-06-11 Thread mbelivea at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245 Matthew Beliveau changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/88245] Wrong location for "explicitly defaulted here"

2019-06-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88245 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|