https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
--- Comment #10 from Ivan Sorokin ---
One more case (from 108676):
template
struct X
{};
template
X f();
template
X g();
int main()
{
g();
}
Here 'X' is printed in the error message instead of 'X'.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
Ivan Sorokin changed:
What|Removed |Added
CC||vanyacpp at gmail dot com
--- Comment #9
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
--- Comment #8 from Jonathan Wakely ---
Here's another case, using the code from PR 106281:
template
class C
{
public:
C() = default;
template
C(AA, BB)
{ }
C(C&&) = default;
private:
struct __secret_tag { };
template
C
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
--- Comment #7 from Jonathan Wakely ---
To reproduce the std::tuple error above, use this code at r12-2379
#include
std::tuple t;
auto a = std::get<1>(t);
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
--- Comment #6 from CVS Commits ---
The master branch has been updated by Jonathan Wakely :
https://gcc.gnu.org/g:3dbc7b809a62167b36f217ab5f43207be19e5908
commit r12-2379-g3dbc7b809a62167b36f217ab5f43207be19e5908
Author: Jonathan Wakely
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
Jonathan Wakely changed:
What|Removed |Added
Last reconfirmed|2017-08-21 00:00:00 |2021-7-16
--- Comment #5 from Jonathan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
Eric Gallager changed:
What|Removed |Added
CC||dmalcolm at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
Eric Gallager changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
--- Comment #2 from Jonathan Wakely ---
Yes maybe a dup of PR99 but it looks like all the examples in that bug involve
an overload and using the parameter names from the wrong overload. Here it uses
the parameter from a function that never partic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66968
Manuel López-Ibáñez changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
--- Commen
10 matches
Mail list logo