From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9BEB33858C62; Thu, 30 Nov 2023 23:33:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BEB33858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701387204; bh=syHnvDcZ23gT//FQkKz+tL8SwAOt0g4Y/nP+jPHwu+o=; h=From:To:Subject:Date:From; b=sEYQWwxoyEwcWgoFgpBFlqJDcPeIylnGtB5ciFc/7ZHeGquxxx0Z/sYgYqE8xKV2X RHgCjgIq/CsDaje0AJFEObfjMBHPadhUszYKzYGrdLu4wk68oYyD4DS3UBJamhzJKo ypnN92lgH2mBNwGL+5IBxz3fomMlilY7cVrCzgyg= From: "bill.trost at harmonicinc dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/112796] New: header implicitly includes Date: Thu, 30 Nov 2023 23:33:24 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bill.trost at harmonicinc dot com 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: bug_id short_desc product version bug_file_loc bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget attachments.created Message-ID: 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=3D112796 Bug ID: 112796 Summary: header implicitly includes Product: gcc Version: 12.2.0 URL: https://godbolt.org/z/Pra17xczj Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: bill.trost at harmonicinc dot com Target Milestone: --- Target: x86-64 Created attachment 56739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D56739&action=3Dedit Sample code that incorrectly compiles. The attached code should not compile (and does not compile if you don't inc= lude ). It should have to #include .=