[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

2024-11-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111008 Andrew Pinski changed: What|Removed |Added CC||elliot.haisley at gmail dot com --- Com

[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

2023-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111008 --- Comment #6 from Andrew Pinski --- Here is another valid C++20 which is also causing issues, this time with `>>` rather than `>`: ``` typedef int b; templatestruct F1{}; templatestruct F2{}; F10)}> a; constexpr int t = 3; F2>0}>{}> a0; ```

[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

2023-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111008 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

2023-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111008 --- Comment #4 from Andrew Pinski --- Here is a C++11 testcase that also fails in a similar way: ``` typedef int b; templatestruct F1{}; F10)}> a; F10}> a0; ```

[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

2023-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111008 --- Comment #3 from Andrew Pinski --- A related non-lambda testcase: ``` struct b{int a;}; templatestruct F1{}; F10)}> a; F10}> a0; ```

[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

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

[Bug c++/111008] '>' in a lambda as a template argument causes a syntax error

2023-08-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111008 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid --- Comment #1 from Andre