https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471
Paolo Carlini changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471
--- Comment #5 from Jonathan Wakely ---
*** Bug 61472 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471
--- Comment #4 from Jonathan Wakely ---
Fixed in GCC 5.1.0:
d.cc:2:31: error: redeclaration of ‘template void f(int)’ may not have
default arguments [-fpermissive]
template void f(int=3); // ill-formed
^
If we
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471
--- Comment #1 from Filip Roséen filip.roseen at gmail dot com ---
Created attachment 32922
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=32922action=edit
testcase-real.cpp
The previously attached `testcase.cpp` contains a code snippet for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61471
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=61471
--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org ---
Oops, I messed up my test - we don't diagnose this even at instantiation