https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65634
--- Comment #2 from Andrew Sutton <andrew.n.sutton at gmail dot com> --- Confirmed and fixed 221854, but I'd like a maintainer to look at the attached patch. The bug was caused by asking for TYPE_NOTHROW_P on the function return type instead of the function type. Strangely, this is only affecting this one test case and none of the other noexcept tests.