https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
Patrick Palka changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #12
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
Patrick Palka changed:
What|Removed |Added
Target Milestone|--- |12.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #10 from CVS Commits ---
The master branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:7c99923f8c544ec07109e8333acb2c2388c38a1b
commit r12-4051-g7c99923f8c544ec07109e8333acb2c2388c38a1b
Author: qingzhe huang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #9 from qingzhe huang ---
OK, Thank you very much!
From: redi at gcc dot gnu.org
Sent: August 23, 2021 9:37 AM
To: nickhuan...@hotmail.com
Subject: [Bug c++/101783] unnecessary error when top
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #8 from Jonathan Wakely ---
No, I cannot approve compiler patches.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #7 from qingzhe huang ---
Jonathan,
Is it possible for you to review and commit my patch?
(https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577040.html).
Thank you!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #6 from Jonathan Wakely ---
Please send patches to the mailing list for review, they are likely to get
ignored or forgotten in bugzilla.
https://gcc.gnu.org/contribute.html#patches
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
nick huang changed:
What|Removed |Added
CC||nickhuang99 at hotmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #4 from Jonathan Wakely ---
(In reply to nick huang from comment #0)
> The signature of *f* would drop unnecessary const anyway as top-level
> cv qualifier according to spec. So, there is no need to generate error.
>
> 2. clang give
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #3 from Jonathan Wakely ---
GCC 4.4 and earlier didn't accept it with the typename there:
101783.C:8: error: using 'typename' outside of template
101783.C:8: error: 'const' qualifiers cannot be applied to 'B&'
The typename started
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
Jonathan Wakely changed:
What|Removed |Added
Keywords|diagnostic |
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783
--- Comment #1 from nick huang ---
The following snippet of code and error gives more clear the issue.
Considering:
template struct A{
typedef T& Type;
};
template
void f(const typename A::Type){}
struct B{};
template <>
void f(const ty
12 matches
Mail list logo