From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B6AA73858D39; Wed, 28 Dec 2022 17:25:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6AA73858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1672248333; bh=AieKMgS45jpXydlAVj+EzREcrnWHBzetPCULpgmnwds=; h=From:To:Subject:Date:In-Reply-To:References:From; b=clX/Wjc1pjKSkasAGaMAXZnI3LVp2By8ITKkIMnec5rsUiGm+WybGNI+0eMXM2G2+ N3MJnJvqj5+1aFES6N7ovKfOlpzoANEDu+5ouj9KY1iQ3d2+hGPdOUwmI9gJfbFroY NjRSxNge71TyQA3GScWwtppqi5i8XwffKG+/nVCg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/108244] [13 Regression] Cannot preprocess standard header with -E -fdirectives-only Date: Wed, 28 Dec 2022 17:25:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_known_to_fail keywords short_desc cf_known_to_work Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108244 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |13.0 Keywords| |ice-on-valid-code Summary|[12/13 Regression] Cannot |[13 Regression] Cannot |preprocess standard |preprocess standard | header with -E | header with -E |-fdirectives-only |-fdirectives-only Known to work| |12.2.0 --- Comment #2 from Andrew Pinski --- In file included from /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/bits/stl_pair.= h:60, from /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/bits/stl_algob= ase.h:64, from /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/algorithm:60, from :2: /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/type_traits:29= 48:25: error: missing binary operator before token "(" 2948 | bool _Nothrow =3D noexcept(_S_conv<_Tp>(_S_get())), | ^ /opt/compiler-explorer/gcc-trunk-20221228/include/c++/13.0.0/type_traits:30= 33:27: internal compiler error: unspellable token PRAGMA_EOL 3033 | ~__nonesuch() =3D delete; | ^ 0xd431ba c_cpp_diagnostic(cpp_reader*, cpp_diagnostic_level, cpp_warning_reason, rich_location*, char const*, __va_list_tag (*) [1]) ???:0 0x238e7ba cpp_error(cpp_reader*, cpp_diagnostic_level, char const*, ...) ???:0 0x2399043 cpp_spell_token(cpp_reader*, cpp_token const*, unsigned char*, bo= ol) ???:0 0x2399e40 cpp_token_as_text(cpp_reader*, cpp_token const*) ???:0 0x239333f _cpp_parse_expr=