From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CFA113858CD1; Thu, 4 Jan 2024 16:08:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFA113858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1704384489; bh=D+3yy0biXFo/2bjNKyXtFNymb2bG2qTQ29Zum/Mikgo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=g6zJ3UiFnWRI2Lh5RN5pn3cxYFgUlcV1xh2s1S1XD2MzbTskBfBdLiugZS5LWEhBw t2CxEA3wPQAwnw+DauGbfqBBdnP/IX3cnnPTj/fp8Mcb75TBMGOThbGFcrn3k2Tb08 P8Cm2JHOKHE2mC750Oa41JNGFb4yd8QWSva06fro= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/113226] [14 Regression] testsuite/std/ranges/iota/max_size_type.cc fails for cris-elf after r14-6888-ga138b99646a555 Date: Thu, 04 Jan 2024 16:08:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka 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: cc 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=3D113226 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka --- Huh, how bizarre. > i =3D=3D 1, j =3D=3D -100, i*j =3D=3D 4294967196, max_type(i) =3D=3D 1, m= ax_type(i)*j =3D=3D -100 Here i and j are just ordinary 'long long', so I don't get why i*j is 4294967196 instead of -100?=