From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C7E343853560; Fri, 14 Oct 2022 10:03:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7E343853560 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665741796; bh=9kGbcW+SQa0TVcoiGU9FtsZSf6VZuyb34p9q+yXRY64=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nrX7h3aUfh9Tf1AGaFbsFSxTpEFKq+j9c59hOKaRuLexcqBR06HMtLIUR0gvpVXtl ywnf/rq+DqonBKa7d8hMHZX4EVtTEujB+Ji+xo6XN9DCV1P6ibdL69SwDgK+4Vp698 s3fDDGod3Z4stFrFm7Mj0buJ3uSdsCCxzU9dke+k= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107257] Wrong code at -O2 on x86_64-linux-gnu Date: Fri, 14 Oct 2022 10:03:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: WAITING 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_status 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=3D107257 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING --- Comment #2 from Martin Li=C5=A1ka --- ... > static signed char n(); > s() { n(); } This seems fishy as you are calling 'n' w/o an argument. > signed char n(u) { > for (; u <=3D 2; u++) { ...=