From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 186B33858010; Thu, 30 Jun 2022 19:52:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 186B33858010 From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/106126] [12 Regression] tree check fail in useless_type_conversion_p, at gimple-expr.cc:87 since r13-1184-g57424087e82db140 Date: Thu, 30 Jun 2022 19:52:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created 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: Thu, 30 Jun 2022 19:52:12 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106126 David Binderman changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #15 from David Binderman --- Created attachment 53230 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53230&action=3Dedit gzipped C++ source code Please find attached an additional C++ test case. -O3 required this time: $ /home/dcb/gcc/results/bin/g++ -c -O3 q1.ii during GIMPLE pass: iftoswitch ../src/common/uri.cpp: In member function =E2=80=98const char* wxURI::ParseUserInfo(const char*)=E2=80=99: ../src/common/uri.cpp:1086:1: internal compiler error: Segmentation fault 0x10ba099 crash_signal(int) ../../trunk.git/gcc/toplev.cc:322 0x134244a gimple_nop_p(gimple const*) ../../trunk.git/gcc/gimple.h:6747 0x134244a verify_use(basic_block_def*, basic_block_def*, ssa_use_operand_t*, gimple*, bool, bitmap_head*) ../../trunk.git/gcc/tree-ssa.cc:880=