[Bug c++/104403] New: ICE while optimizing lambda that returns address of a static variable hidden in a switch

2022-02-05 Thread franwade33 at googlemail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: franwade33 at googlemail dot com Target Milestone: --- On gcc 12.0.1, the following gives an internal compiler error: // g++-12 -std=c++17 -O1 // g++-12

[Bug c++/90799] noexcept specification dependent on template argument throws internal compiler error when trying to deduce it from a function argument

2019-06-10 Thread franwade33 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90799 --- Comment #2 from franwade33 at googlemail dot com --- It throws a different compiler error if you give the template parameter (Move `bool is_noexcept` to the start of the template list and call `is_noexcept_function(foo)`). To my knowledge

[Bug c++/90799] New: noexcept specification dependent on template argument throws internal compiler error when trying to deduce it from a function argument

2019-06-09 Thread franwade33 at googlemail dot com
Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: franwade33 at googlemail dot com Target Milestone: --- If you have a non-type template argument