Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-79501

gcc: ICE in expand_debug_locations, at cfgexpand.c:5410

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-8.10.z
    • rhel-8.6.0, rhel-8.8.0, rhel-8.10.z
    • gcc
    • None
    • gcc-8.5.0-24.el8_10
    • No
    • Moderate
    • 1
    • rhel-pt-gcc
    • ssg_platform_tools
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT GCC 2025 S03
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      Compiling stress-vecwide.i with -O1 -g results in an ICE:

      during RTL pass: expand
      stress-vecwide.c: In function 'stress_vecwide_256.avx.30':
      stress-vecwide.c:127:185: internal compiler error: in expand_debug_locations, at cfgexpand.c:5410
       STRESS_VECWIDE(stress_vecwide_256, stress_vint8w256_t) 

      This causes the stress-ng package to fail to build on RHEL 8.10.

      Seen with gcc-8.5.0-18.3.el8_8.x86_64, gcc-8.5.0-23.el8_10.x86_64, gcc-8.5.0-10.el8.x86_64. Last successful build in Brew was with gcc-8.5.0-17.el8.x86_64, so I'm not sure if  this is a regression.

        1. stress-vecwide.i
          1.94 MB
          Florian Weimer

              mpolacek@redhat.com Marek Polacek
              fweimer@redhat.com Florian Weimer
              Marek Polacek Marek Polacek
              Vaclav Kadlcik Vaclav Kadlcik
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: