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

--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:538a0d0f29b12cff05681b6de2e0a3d7b33f3ef0

commit r13-6643-g538a0d0f29b12cff05681b6de2e0a3d7b33f3ef0
Author: Jason Merrill <ja...@redhat.com>
Date:   Mon Mar 13 14:06:11 2023 -0400

    c++: handle _FloatNN redeclaration like bool [PR107128]

    It's been inconvenient to compile testcases preprocessed with GCC 12 or
    earlier because they break on

      typedef __float128 _Float128;

    We already had code for handling this with bool and wchar_t, it just needs
    to be extended to _FloatNN as well.

            PR c++/107128

    gcc/cp/ChangeLog:

            * parser.cc (cp_parser_set_decl_spec_type): Use
            redefined_builtin_type for extended_float_type_p.

    gcc/testsuite/ChangeLog:

            * g++.dg/warn/pragma-system_header6.h: New test.
            * g++.dg/warn/pragma-system_header6.C: New test.

Reply via email to