public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/103038] ICE in set_mem_attributes_minus_bitpos, at emit-rtl.c:2092 since r12-4829-g429e3b7d8bf6609d
Date: Tue, 02 Nov 2021 08:52:37 +0000	[thread overview]
Message-ID: <bug-103038-4-aySnpO2uqY@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-103038-4@http.gcc.gnu.org/bugzilla/>

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot gnu.org
   Target Milestone|12.0                        |---
             Status|NEW                         |ASSIGNED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
#3  0x000000000140112e in expand_DEFERRED_INIT (stmt=0x7ffff65728e8)
    at /home/rguenther/src/gcc3/gcc/internal-fn.c:3101
3101          expand_assignment (lhs, init, false);
(gdb) p lhs
$3 = <view_convert_expr 0x7ffff66a49a0>
(gdb) p debug_generic_expr ($3)
VIEW_CONVERT_EXPR<unsigned long>(PtrMem_1)
(gdb) p debug_tree ($3)
 <view_convert_expr 0x7ffff66a49a0
    type <integer_type 0x7ffff656b1f8 public unsigned DI
        size <integer_cst 0x7ffff6543f30 constant 64>
        unit-size <integer_cst 0x7ffff6543f48 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff656b1f8 precision:64 min <integer_cst 0x7ffff6565360 0> max <integer_cst
0x7ffff65446a0 18446744073709551615>>

    arg:0 <ssa_name 0x7ffff654ee58
        type <offset_type 0x7ffff66acc78 type <integer_type 0x7ffff65635e8 int>
            sizes-gimplified DI size <integer_cst 0x7ffff6543f30 64> unit-size
<integer_cst 0x7ffff6543f48 8>
            align:64 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7ffff66acc78 basetype <record_type 0x7ffff66acb28 S>>
        var <var_decl 0x7ffff7ff5cf0 PtrMem>
        def_stmt PtrMem_1 = .DEFERRED_INIT (8, 1, 0);
        version:1>>

and we ended up putting the LHS to the stack.  We have to avoid using
a V_C_E on a SSA name on the LHS.

  parent reply	other threads:[~2021-11-02  8:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02  7:58 [Bug tree-optimization/103038] New: " marxin at gcc dot gnu.org
2021-11-02  7:58 ` [Bug tree-optimization/103038] " marxin at gcc dot gnu.org
2021-11-02  8:51 ` pinskia at gcc dot gnu.org
2021-11-02  8:52 ` rguenth at gcc dot gnu.org [this message]
2021-11-02  8:53 ` rguenth at gcc dot gnu.org
2021-11-02 13:17 ` rguenth at gcc dot gnu.org
2021-11-02 13:17 ` cvs-commit at gcc dot gnu.org
2021-11-02 15:52 ` qinzhao 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-103038-4-aySnpO2uqY@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).