From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A047D3858C2B; Sat, 31 Oct 2020 08:18:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A047D3858C2B From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/97652] New pdt14 failure after g:617695cdc2b3d950f1e4deb5ea85d5cc302943f4 Date: Sat, 31 Oct 2020 08:18:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka 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: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2020 08:18:20 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97652 --- Comment #1 from Jan Hubicka --- Actually there is another propagation happening in ipa-cp analysis: --- aa/pdt_14.f03.077i.cp 2020-10-31 09:00:52.809726530 +0100 +++ pdt_14.f03.077i.cp 2020-10-31 09:10:35.204755828 +0100 @@ -10,6 +10,8 @@ Starting walk at: push_8 (&root, &C.4104); instance pointer: &root Outer instance pointer: root offset: 0 (bits) v= tbl reference:=20 Function call may change dynamic type:push_8 (&root, &C.4103); +ipa-modref: call stmt push_8 (&root, &C.4103); +ipa-modref: call to push_8/6 does not clobber ref: root alias sets: 14->14 Determining dynamic type for call: push_8 (&root, &C.4104); Starting walk at: push_8 (&root, &C.4104); instance pointer: &C.4104 Outer instance pointer: C.4104 offset: 0 (bit= s) vtbl reference:=20 @@ -19,6 +21,10 @@ instance pointer: &root Outer instance pointer: root offset: 0 (bits) v= tbl reference:=20 Function call may change dynamic type:push_8 (&root, &C.4104); Function call may change dynamic type:push_8 (&root, &C.4103); +ipa-modref: call stmt push_8 (&root, &C.4104); +ipa-modref: call to push_8/6 does not clobber ref: root alias sets: 14->14 +ipa-modref: call stmt push_8 (&root, &C.4103); +ipa-modref: call to push_8/6 does not clobber ref: root alias sets: 14->14 Determining dynamic type for call: push_8 (&root, &C.4105); Starting walk at: push_8 (&root, &C.4105); instance pointer: &C.4105 Outer instance pointer: C.4105 offset: 0 (bit= s) vtbl reference:=20 @@ -30,6 +36,12 @@ Function call may change dynamic type:push_8 (&root, &C.4105); Function call may change dynamic type:push_8 (&root, &C.4104); Function call may change dynamic type:push_8 (&root, &C.4103); +ipa-modref: call stmt push_8 (&root, &C.4105); +ipa-modref: call to push_8/6 does not clobber ref: root alias sets: 14->14 +ipa-modref: call stmt push_8 (&root, &C.4104); +ipa-modref: call to push_8/6 does not clobber ref: root alias sets: 14->14 +ipa-modref: call stmt push_8 (&root, &C.4103); +ipa-modref: call to push_8/6 does not clobber ref: root alias sets: 14->14 Determining dynamic type for call: _3 =3D pop_8 (&root); Starting walk at: _3 =3D pop_8 (&root); instance pointer: &root Outer instance pointer: root offset: 0 (bits) v= tbl reference:=20 @@ -129,10 +141,14 @@ no arg info callsite ch2701/7 -> pop_8/5 :=20 param 0: UNKNOWN + Aggregate passed by reference: + offset: 0, type: struct pdtlink_8 *, CONST: 0B value: 0x0, mask: 0xfffffffffffffff8 VR [1, -1] callsite ch2701/7 -> push_8/6 :=20 param 0: UNKNOWN + Aggregate passed by reference: + offset: 0, type: struct pdtlink_8 *, CONST: 0B value: 0x0, mask: 0xfffffffffffffff8 VR [1, -1] param 1: CONST: &C.4105 -> 3.0e+0 @@ -140,6 +156,8 @@ Unknown VR callsite ch2701/7 -> push_8/6 :=20 param 0: UNKNOWN + Aggregate passed by reference: + offset: 0, type: struct pdtlink_8 *, CONST: 0B value: 0x0, mask: 0xfffffffffffffff8 VR [1, -1] param 1: CONST: &C.4104 -> 2.0e+0 The jump function is not used for cloning, only triggers inline, but the conclusion seems wrong. push_8 can make root non-0. Root is of type pdtli= nk_8 so perhaps Frontend produces multiple copies of these. push_8 store is: - Analyzing store: *self_34(D)=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 - Recording base_set=3D8 ref_set=3D8 parm=3D0=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 so indeed a different alias set than 14 used by ch2701=