public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/113438] ICE (segfault) in dwarf2out_decl with -g -std=c23 on c23-tag-composite-2.c
Date: Wed, 31 Jan 2024 19:56:14 +0000	[thread overview]
Message-ID: <bug-113438-4-wvyVAnxCIQ@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-113438-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Uecker <uecker@gcc.gnu.org>:

https://gcc.gnu.org/g:f6ba433d3c30c20fadd393eed31617a4da81789c

commit r14-8666-gf6ba433d3c30c20fadd393eed31617a4da81789c
Author: Martin Uecker <uecker@tugraz.at>
Date:   Tue Jan 23 13:33:34 2024 +0100

    Fix ICE with -g and -std=c23 when forming composite types [PR113438]

    Set TYPE_STUB_DECL to an artificial decl when creating a new structure
    as a composite type.

            PR c/113438

    gcc/c/
            * c-typeck.cc (composite_type_internal): Set TYPE_STUB_DECL.

    gcc/testsuite/
            * gcc.dg/pr113438.c: New test.

  parent reply	other threads:[~2024-01-31 19:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 11:03 [Bug c/113438] New: " acoplan at gcc dot gnu.org
2024-01-17 11:15 ` [Bug c/113438] " acoplan at gcc dot gnu.org
2024-01-17 13:33 ` rguenth at gcc dot gnu.org
2024-01-20 15:26 ` uecker at gcc dot gnu.org
2024-01-23 13:58 ` uecker at gcc dot gnu.org
2024-01-28  9:06 ` muecker at gwdg dot de
2024-01-31 19:56 ` cvs-commit at gcc dot gnu.org [this message]
2024-01-31 20:33 ` uecker at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-113438-4-wvyVAnxCIQ@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).