https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
--- Comment #2 from Jason Liam <jlame646 at gmail dot com> --- Here is another reduced demo: https://godbolt.org/z/hGhfrKrad ``` #include <iostream> int main() { bool b = true; std::cout << std::is_same<decltype(!(!b)), bool>::value << "\n"; auto bb = (!(!b)); std::cout << std::is_same<decltype(bb), bool>::value << "\n"; } ```