https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116726

            Bug ID: 116726
           Summary: compiler segfault when using certain struct
                    redefinitions
           Product: gcc
           Version: 14.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: himehaieto at gmail dot com
  Target Milestone: ---

Created attachment 59116
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59116&action=edit
preprocessed reproducer code

I am seeing an ICE segfault with certain uses of C23 struct redefinitions.  See
the attached for reproducer code and below for additional information.

`uname -a`:
Linux votocon 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
GNU/Linux

`lsb_release -a`:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 5 (daedalus)
Release:        5
Codename:       daedalus

gcc configure options:
../../configure --prefix=/opt/gcc/14.2.0 --enable-lto

compiler command/options:
gcc --std=c23 list_test.c

Reply via email to