[Bug c++/66150] [C++11] cv-qualifiers on function types are not ignored.

2015-05-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66150

--- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org ---
But the static_assert passes, doesn't that mean the cv-qualifier is ignored?


[Bug c++/66150] [C++11] cv-qualifiers on function types are not ignored.

2015-05-15 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66150

Harald van Dijk harald at gigawatt dot nl changed:

   What|Removed |Added

 CC||harald at gigawatt dot nl

--- Comment #3 from Harald van Dijk harald at gigawatt dot nl ---
The static_assert fails with clang though. Perhaps you tested both GCC and
clang, and ended up reporting it on the wrong bug tracker?


[Bug c++/66150] [C++11] cv-qualifiers on function types are not ignored.

2015-05-15 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66150

Daniel Krügler daniel.kruegler at googlemail dot com changed:

   What|Removed |Added

 CC||daniel.kruegler@googlemail.
   ||com

--- Comment #2 from Daniel Krügler daniel.kruegler at googlemail dot com ---
I tested various versions of gcc and couldn't find one where the test failed,
so I cannot find evidence for the assertion expressed by the submitter.

[Bug c++/66150] [C++11] cv-qualifiers on function types are not ignored.

2015-05-15 Thread eric at efcs dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66150

Eric Fiselier eric at efcs dot ca changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Eric Fiselier eric at efcs dot ca ---
Woops... Everybody is right. GCC correctly handled this code. I'm not sure how
I came to think this was failing.

Sorry.