From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 618403951829; Fri, 18 Sep 2020 22:19:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 618403951829 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600467593; bh=LHC5ytyIo/T0pNcN3Lr8pnnhadINQ5B3l3epZOJsZQE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ARfev5X06BAjkDdRJQyUF/Nu5SV4tQIEjtr1amt/Rrxdgc0k/bEAYThMVSX36cwCw cUupkxR+/YKlcUbULkBxULZbNPg09+KlpH/TqkJ/13e91FTmelNhojneP0PFv0BN4v 6tyKy7UpbKQ2GqY56te+sQ5BytHZaLmgMWOPc9/g= From: "jvdelisle at charter dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/97063] [ MATMUL intrinsic] The value of result is wrong when vector (step size is negative) * matrix Date: Fri, 18 Sep 2020 22:19:53 +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: 10.1.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jvdelisle at charter dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 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 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: Fri, 18 Sep 2020 22:19:53 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97063 Jerry DeLisle changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jvdelisle at charter dot n= et --- Comment #3 from Jerry DeLisle --- (In reply to anlauf from comment #2) > Interestingly, the bug "disappears" if frontend optimization is enabled > (-ffrontend-optimize), thus at all optimizations that enable it. It could be we need to fix in the runtime library. I have not looked to clo= sely yet but it would be best I think if the front-end did the necessary transforming. The code is probably there already to do it.=