From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DC11638618CC; Fri, 5 Mar 2021 21:44:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DC11638618CC From: "sinan.lin at aalto dot fi" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/99314] [Patch] [RISC-V] g++.dg/opt/memcpy1.C Date: Fri, 05 Mar 2021 21:44:55 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sinan.lin at aalto dot fi X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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 resolution 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, 05 Mar 2021 21:44:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99314 Sinan Lin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #5 from Sinan Lin --- (In reply to Kito Cheng from comment #4) > I can reproduce that on Ubuntu 20.04 + gcc 9.3, it turns out the length is > out of range with `signed HOST_WIDE_INT`, but after few more investigate = the > upper function is feed `unsigned HOST_WIDE_INT` > (emit_block_move_via_pattern), and I guess here is some code gen change f= or > alloca, so it will ICE on Ubuntu 20.04 + gcc 9.3, but not ICE on Ubuntu > 18.04 + gcc 7.5. >=20 > Thanks Sinan, I've write second version of the patch, it's kind of very > different than your patch, but I think you deserved that credit, so I'll > list you as first author for that patch :) Hi Kito, I really appreciate your help with this problem. Have a great weekend!=