https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107953

Ethan Hancock <ethanhancock at me dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ethanhancock at me dot com

--- Comment #5 from Ethan Hancock <ethanhancock at me dot com> ---
template<auto F>
struct Foo {};

Foo<[](){ return 1 >= 0; }> foo1{};

Foo<[](){ return (1 > 0); }> foo2{};

Foo<[](){ return 1 > 0; }> foo3{};


I ran afoul of this bug, and found this issue.
Can confirm that this bug is still present in GCC 15.1.0.
GCC accepts foo1 and foo2, but rejects foo3.

Clang does accept all 3.

Reply via email to