From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3449C3858C53; Mon, 19 Sep 2022 05:46:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3449C3858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1663566367; bh=DBx6GRxb4s9OL/B7qQsbJlqHGxKLRABUbRV47eJkZMI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=WjikZgBIjuLdbpSP0VlgHDEcx262ls19TXCE44mZYHTEAZQSRvb9iIcRLr/aPdfsT pZJggyJ6S2yrpxtAoGoa0iSKyW4csQmbR3d/1F8AAMdhyZl/5P+wrrsiF1A6xrxi9+ ACkA9Qlu6N4LAMY6EhgDl2XV+ieI7hQCQABQekuA= From: "jskumari at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/100799] Stackoverflow in optimized code on PPC Date: Mon, 19 Sep 2022 05:46:04 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jskumari at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jskumari at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D100799 --- Comment #15 from Surya Kumari Jangala --- (In reply to Segher Boessenkool from comment #14) > What is the exact command line (and relevant configuration!) required to > reproduce this? The reduced testcase is: SUBROUTINE DGEBAL( JOB, N, ARRAY, LDA, ILO, IHI, SCALE, INFO ) CHARACTER JOB DOUBLE PRECISION ARRAY( LDA, * ), SCALE( * ) LOGICAL NOCONV 140 CONTINUE DO 200 I =3D K, L C =3D DNRM2( L-K+1, ARRAY( K, I ), 1 ) R =3D DNRM2( L-K+1, ARRAY( I, K ), LDA ) ICA =3D IDAMAX( L, ARRAY( 1, I ), 1 ) CA =3D ABS( ARRAY( ICA, I ) ) IF( C.EQ.ZERO .OR. R.EQ.ZERO ) $ GO TO 200 IF( G.LT.R .OR. MAX( R, RA ).GE.SFMAX2 .OR. $ MIN( F, C, G, CA ).LE.SFMIN2 )GO TO 190 F =3D F / SCLFAC G =3D G / SCLFAC 190 CONTINUE CALL DSCAL( N-K+1, G, ARRAY( I, K ), LDA ) 200 CONTINUE IF( NOCONV ) $ GO TO 140 END The options to use to reproduce: -mcpu=3Dpower8 -O2 -fPIC=