From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C08B83858C50; Sat, 11 Feb 2023 06:27:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C08B83858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676096874; bh=nxm5ERjvGBCRi/lIVMEcEKMIosSpcfQrIkHf/O0Ogl8=; h=From:To:Subject:Date:From; b=RysZv7lrgp/DH11baBg7Dpl4w5N5o+zd8E5eZSCWvLJB0cO5GGHYa92koYP1YbIJK /FwN5RWsPs7OPi6r9QCk5pDa2Oa6QyHpHZ9b6XMOg/FzwlWgO2Sa/92mY+nNI5UU1o VsZ5MrC7Dr9Z3C398fkKzAtBtOFaqx8PVOwMYjag= From: "hewillk at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/108760] New: ranges::iota is not included in Date: Sat, 11 Feb 2023 06:27:54 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hewillk at gmail 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_status bug_severity priority component assigned_to reporter target_milestone 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=3D108760 Bug ID: 108760 Summary: ranges::iota is not included in Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: hewillk at gmail dot com Target Milestone: --- It seems wrong that libstdc++ needs to include for ranges::iota. #include int main() { int x[] =3D {0, 0, 0, 0, 0}; std::ranges::iota(x, 0); } https://godbolt.org/z/33EPeqd1b=