https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472
--- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org ---
(Please set the version field to make it clear you're not reporting bugs
against GCC 4.4 or something ancient and unmaintained)
This is very likely to be the same issue as PR 61471
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472
--- Comment #2 from Filip Roséen filip.roseen at gmail dot com ---
Sorry Jonathan, I completely forgot, I'll add the version to this (and those
other newly posted bug reports where it is missing).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472
Jonathan Wakely redi at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472
--- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org ---
As with PR 61471 we diagnose this if the template is instantiated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61472
--- Comment #5 from Jonathan Wakely redi at gcc dot gnu.org ---
I messed up my test for this too - we only diagnose it if you try to use the
default argument, so it seems to be ignored on the redeclaration.