[Bug c++/109367] bogus -Wunused-function warning with decltype of a lambda as an argument

2024-09-05 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug c++/109367] bogus -Wunused-function warning with decltype of a lambda as an argument

2024-04-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/109367] bogus -Wunused-function warning with decltype of a lambda as an argument

2023-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 --- Comment #3 from Andrew Pinski --- Actually I think the bug is: using T = decltype ([]{}); is broken with GCC. There are multiple testcases dealing with that even.

[Bug c++/109367] bogus -Wunused-function warning

2023-03-31 Thread f.heckenbach--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 --- Comment #2 from Frank Heckenbach --- My full testcase consists of many includes files, libraries etc. The type declarations (corresponding to the first two lines of the stripped-down example) are in a header to be called from other translat

[Bug c++/109367] bogus -Wunused-function warning

2023-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109367 --- Comment #1 from Andrew Pinski --- Please file a different bug with your full testcase as I think decltype of a lamba is a type which has local linkage but I could be wrong.