public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/102760] ICE: in decompose, at wide-int.h:984
Date: Fri, 15 Oct 2021 03:12:21 +0000	[thread overview]
Message-ID: <bug-102760-4-lxZyDXW1jr@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102760-4@http.gcc.gnu.org/bugzilla/>

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Keywords|                            |ice-checking
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2021-10-15
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There is a types which are not the same issue.

(gdb) p debug_tree(*expr_p)
 <init_expr 0x7ffff737de88
    type <integer_type 0x7ffff725f5e8 int public SI
        size <integer_cst 0x7ffff7244f78 constant 32>
        unit-size <integer_cst 0x7ffff7244f90 constant 4>
        align:32 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff725f5e8 precision:32 min <integer_cst 0x7ffff7244f30 -2147483648> max
<integer_cst 0x7ffff7244f48 2147483647>
        pointer_to_this <pointer_type 0x7ffff7267a80>>
    side-effects
    arg:0 <ssa_name 0x7ffff724fe10 type <integer_type 0x7ffff725f5e8 int>

        def_stmt _2 = _1 & -128;
        version:2>
    arg:1 <bit_and_expr 0x7ffff737de60 type <integer_type 0x7ffff725f5e8 int>

        arg:0 <ssa_name 0x7ffff724fdc8 type <integer_type 0x7ffff725f3f0 char>

            def_stmt _1 = *type;
            version:1>
        arg:1 <integer_cst 0x7ffff7263420 constant -128>>
    t.c:3:18 start: t.c:3:18 finish: t.c:3:31>

This shows up in GCC 11 (with checking enabled).

  reply	other threads:[~2021-10-15  3:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-15  2:50 [Bug c/102760] New: " cnsun at uwaterloo dot ca
2021-10-15  3:12 ` pinskia at gcc dot gnu.org [this message]
2021-10-15  8:26 ` [Bug c/102760] " marxin at gcc dot gnu.org
2021-10-15  8:46 ` glisse at gcc dot gnu.org
2021-10-15 21:21 ` pinskia at gcc dot gnu.org
2022-10-20 15:41 ` pinskia at gcc dot gnu.org
2023-01-25 18:21 ` dcb314 at hotmail dot com
2023-01-25 18:23 ` pinskia at gcc dot gnu.org
2023-01-25 18:29 ` dcb314 at hotmail dot com
2024-03-08  4:00 ` pinskia 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-102760-4-lxZyDXW1jr@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).