From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1FE663877034; Tue, 7 Apr 2020 22:33:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1FE663877034 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586298807; bh=I/jB2Law++qiwbQcnsblCAOZGLL4Gb2yVmScjHU7xbs=; h=From:To:Subject:Date:From; b=ub1JfaxVfIxP8f1pMQrRsBT0h+lCLY+SBIK15OOKVWvsrtQ3t+K477sj9jBlwYs6f Lrb6E8bOCMenSazk9CCoozNQTWEcRWrxluieyDhHpGU+DrzoeQsyZ0uoHNy8XXR34d xF8bftuAPiTeer4BS046BzWrzX8RU6SK9XiZvL+0= From: "jsm28 at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/94526] New: [10 Regression] cselib ICE building glibc sigpause for m68k and microblaze Date: Tue, 07 Apr 2020 22:33:26 +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: 10.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 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: Tue, 07 Apr 2020 22:33:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94526 Bug ID: 94526 Summary: [10 Regression] cselib ICE building glibc sigpause for m68k and microblaze Product: gcc Version: 10.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: jakub at gcc dot gnu.org Target Milestone: --- Target: m68k-*-* microblaze*-*-* Created attachment 48235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D48235&action=3Dedit preprocessed source The following ICE appears building glibc for m68k-linux-gnu, introduced by commit 8662d0593438ecd498ab7591ad0d2810886eb6da ("cselib: Fix endless cselib loop on (plus:P (reg) (const_int 0))"). This also appears for microblaze, though I haven't bisected there to confirm the same commit introduces it. Preprocessed source attached. Compile with -g -O2. during RTL pass: vartrack ../sysdeps/posix/sigpause.c: In function '__default_sigpause': ../sysdeps/posix/sigpause.c:57:1: internal compiler error: in new_elt_loc_l= ist, at cselib.c:300 0x7cfe6b new_elt_loc_list /scratch/jmyers/glibc/many10/src/gcc/gcc/cselib.c:298 0x7d2c54 cselib_lookup_1 /scratch/jmyers/glibc/many10/src/gcc/gcc/cselib.c:2301 0x7d2c54 cselib_lookup(rtx_def*, machine_mode, int, machine_mode) /scratch/jmyers/glibc/many10/src/gcc/gcc/cselib.c:2330 0xfaa4b8 use_type /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:5517 0xfab397 add_uses /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:5678 0xfab397 add_uses_1 /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:5832 0xfa8abc add_with_sets /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:6589 0x7d5c6f cselib_record_sets /scratch/jmyers/glibc/many10/src/gcc/gcc/cselib.c:2835 0x7d71ca cselib_process_insn(rtx_insn*) /scratch/jmyers/glibc/many10/src/gcc/gcc/cselib.c:2997 0xfb097d vt_initialize /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:10228 0xfbdc57 variable_tracking_main_1 /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:10457 0xfbdc57 variable_tracking_main() /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:10510 0xfbdc57 execute /scratch/jmyers/glibc/many10/src/gcc/gcc/var-tracking.c:10547 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=