Bug 2336215 - GCC 15 mass prebuild: lirc ICE on s390x: "commandir.c:2459:1: internal compiler error: in simplify_subreg, at simplify-rtx.cc:7811"
Summary: GCC 15 mass prebuild: lirc ICE on s390x: "commandir.c:2459:1: internal compil...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: gcc-15-mass-prebuild
TreeView+ depends on / blocked
 
Reported: 2025-01-07 19:43 UTC by Dave Malcolm
Modified: 2025-01-13 12:31 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-01-13 12:31:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 118362 0 P1 NEW [15 Regression] ICE in require, at machmode.h:313 since r15-2002 2025-01-08 18:33:32 UTC

Description Dave Malcolm 2025-01-07 19:43:41 UTC
Seen on this build:
  https://copr.fedorainfracloud.org/coprs/dmalcolm/gcc-15-smoketest-3.failed/build/8476684/

using gcc-15.0.0-0.2.fc42 from this scratch build by Jakub: 
   https://koji.fedoraproject.org/koji/taskinfo?taskID=126495782

where the s390x build crashes (the other archs succeeded):

during RTL pass: combine
commandir.c: In function 'raise_event':
commandir.c:2459:1: internal compiler error: in simplify_subreg, at simplify-rtx.cc:7811
 2459 | }
      | ^
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://bugzilla.redhat.com/bugzilla> for instructions.



Reproducible: Didn't try

Comment 1 Jakub Jelinek 2025-01-08 16:35:00 UTC
Created attachment 2065153 [details]
ccPWXpC5.out

Preprocessed source.
I'll now try to reduce this and bisect.

Comment 2 Jakub Jelinek 2025-01-08 18:02:58 UTC
Started with https://gcc.gnu.org/r15-2002

Comment 3 Jakub Jelinek 2025-01-13 12:31:15 UTC
This should be fixed in gcc-15.0.0-0.4.fc42.


Note You need to log in before you can comment on or make changes to this bug.