From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BF71A3858402; Thu, 27 Jul 2023 01:17:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BF71A3858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690420626; bh=LwbVT59S/bH9BmIZ0744Nwri3e3NUkXKgt1d5L+X34U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JpeSfrI9MubjS0tyqZjO91ESHYI6o3HTe6YnXIXN03lQFM0X0jHOEtXMV+WmOpMuU fKLVb5KqLwOjCLNDHK5iGn5hEIwSeRNlLIW3v1i9tDtoKYTU7XC723rt+xgYz1eTUM sZ7Vw2N/Tp9tb1FW9q6GAXHAFi4W0lcvkf8WhBls= From: "xry111 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' Date: Thu, 27 Jul 2023 01:17:05 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 11.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xry111 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D110818 Xi Ruoyao changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #5 from Xi Ruoyao --- (In reply to CTC from comment #2) > (In reply to Andrew Pinski from comment #1) > > The reduced testcase is undefined code .... > > Though the original is most likely well defined valid code. >=20 > I tried to add "-fsanitize=3Dundefined" to make reduced testcase well def= ined. > But the original testcase with "-fsanitize=3Dundefined" can work successf= ully > without run-time errors. But this is really obvious that the reduced testcase is undefined. Use your brain before pasting an output of automatic tools into a bug repor= t.=