From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5770A3857351; Thu, 29 Sep 2022 17:37:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5770A3857351 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664473071; bh=IzAg6CLJk0EO7ttuoCEJ0dem24EQE0gnaGxrS4H7PIU=; h=From:To:Subject:Date:From; b=j5rv4rYampgP6qWIFR4hDBccEd5NryirnkOr/icII8LrmxRXfaCxLhCvYQokEZKwr /4DWYW8A+dIkfxtcoHiVuSXmiClK7qiVnX6e8maicJJ8Y8H3TVbXyHRmoImIcRoc31 YKw8tVjhG4O5FEnBj7lIWGp7JxGlXjj2CXFsygNo= From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107088] New: [13 Regression] cselib ICE building __trunctfxf2 on ia64 Date: Thu, 29 Sep 2022 17:37:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget attachments.created Message-ID: 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=3D107088 Bug ID: 107088 Summary: [13 Regression] cselib ICE building __trunctfxf2 on ia64 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org CC: stefansf at linux dot ibm.com Target Milestone: --- Target: ia64-*-* Created attachment 53641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53641&action=3Dedit preprocessed source commit d0b00b63a39108311f2e6f9cbe9072579f57df7c, "cselib: Keep track of fur= ther subvalue relations", introduced an ICE building libgcc for ia64-linux-gnu. Compile with attached testcase with -O2. /scratch/jmyers/glibc/many13/src/gcc/libgcc/soft-fp/trunctfxf2.c: In functi= on '__trunctfxf2': /scratch/jmyers/glibc/many13/src/gcc/libgcc/soft-fp/trunctfxf2.c:52:1: inte= rnal compiler error: in require, at machmode.h:297 52 | } | ^ 0x876576 opt_mode::require() const /scratch/jmyers/glibc/many13/src/gcc/gcc/machmode.h:297 0x876576 void mode_iterator::get_known_wider(scalar_int_mo= de*) /scratch/jmyers/glibc/many13/src/gcc/gcc/machmode.h:1124 0x876576 new_cselib_val /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:1579 0x873e4e cselib_lookup_1 /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:2315 0x873e4e cselib_lookup(rtx_def*, machine_mode, int, machine_mode) /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:2431 0x876aff cselib_hash_rtx /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:1308 0x876e69 cselib_hash_rtx /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:1505 0x873c5f cselib_lookup_1 /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:2375 0x873c5f cselib_lookup(rtx_def*, machine_mode, int, machine_mode) /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:2431 0x877a6a cselib_record_sets /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:2932 0x87867d cselib_process_insn(rtx_insn*) /scratch/jmyers/glibc/many13/src/gcc/gcc/cselib.cc:3159 0x1661d1c dse_step1 /scratch/jmyers/glibc/many13/src/gcc/gcc/dse.cc:2771 0x1661d1c rest_of_handle_dse /scratch/jmyers/glibc/many13/src/gcc/gcc/dse.cc:3687 0x1661d1c execute /scratch/jmyers/glibc/many13/src/gcc/gcc/dse.cc:3803 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions.=