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 middle-end/105604] [10/11/12 Regression] ICE: in tree_to_shwi with vla in struct and sprintf
Date: Thu, 02 Jun 2022 09:39:55 +0000	[thread overview]
Message-ID: <bug-105604-4-Vc8yoP2Zgk@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105604-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:

https://gcc.gnu.org/g:740771a620f661800b99dfc039b8896e2ddb9265

commit r12-8450-g740771a620f661800b99dfc039b8896e2ddb9265
Author: Martin Sebor <msebor@redhat.com>
Date:   Tue May 24 16:01:12 2022 -0600

    PR middle-end/105604 - ICE: in tree_to_shwi with vla in struct and sprintf

    gcc/ChangeLog:

            PR middle-end/105604
            * gimple-ssa-sprintf.cc (set_aggregate_size_and_offset): Add
comments.
            (get_origin_and_offset_r): Remove null handling.  Handle variable
array
            sizes.
            (get_origin_and_offset): Handle null argument here.  Simplify.
            (alias_offset): Update comment.
            * pointer-query.cc (field_at_offset): Update comment.  Handle
members
            of variable-length types.

    gcc/testsuite/ChangeLog:

            PR middle-end/105604
            * gcc.dg/Wrestrict-24.c: New test.
            * gcc.dg/Wrestrict-25.c: New test.
            * gcc.dg/Wrestrict-26.c: New test.

    Co-authored-by: Richard Biener <rguenther@suse.de>
    (cherry picked from commit 10d1986aee47c592f903527bb68546efc557735d)

  parent reply	other threads:[~2022-06-02  9:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 20:20 [Bug middle-end/105604] New: [10/11/12 Regression] ICE: in tree_to_shwi, at tree.cc:6369 slyfox at gcc dot gnu.org
2022-05-14 20:26 ` [Bug middle-end/105604] [10/11/12 Regression] ICE: in tree_to_shwi with vla in struct and sprintf pinskia at gcc dot gnu.org
2022-05-16  7:09 ` [Bug middle-end/105604] [10/11/12/13 " marxin at gcc dot gnu.org
2022-05-16  7:56 ` rguenth at gcc dot gnu.org
2022-05-24 22:20 ` cvs-commit at gcc dot gnu.org
2022-05-24 22:22 ` [Bug middle-end/105604] [10/11/12 " msebor at gcc dot gnu.org
2022-06-02  9:39 ` cvs-commit at gcc dot gnu.org [this message]
2022-06-15  8:02 ` [Bug middle-end/105604] [10/11 " rguenth at gcc dot gnu.org
2022-06-28 10:49 ` jakub at gcc dot gnu.org
2022-07-19 11:39 ` rguenth at gcc dot gnu.org
2023-07-07 10:43 ` [Bug middle-end/105604] [11 " rguenth 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-105604-4-Vc8yoP2Zgk@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).