public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/106027] New: ICE: 'verify_gimple' failed (error: mismatching comparison operand types)
Date: Sun, 19 Jun 2022 05:22:40 +0000	[thread overview]
Message-ID: <bug-106027-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 106027
           Summary: ICE: 'verify_gimple' failed (error: mismatching
                    comparison operand types)
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

gcc 13.0.0 20220612 snapshot (g:add1adaa17a294ea25918ffb4fdd40f115362632) ICEs
when compiling the following testcase w/ -O1:

int
foo (unsigned int x, int y)
{
  return x <= (((y != y) < 0) ? y < 1 : 0);
}

% gcc-13.0.0 -O1 -c lxx02x06.c
lxx02x06.c: In function 'foo':
lxx02x06.c:2:1: error: mismatching comparison operand types
    2 | foo (unsigned int x, int y)
      | ^~~
unsigned int
int
_1 = x <= 0;
lxx02x06.c:2:1: internal compiler error: 'verify_gimple' failed
0xf2b0cd verify_gimple_in_seq(gimple*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220612/work/gcc-13-20220612/gcc/tree-cfg.cc:5217
0xc0fb85 gimplify_body(tree_node*, bool)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220612/work/gcc-13-20220612/gcc/gimplify.cc:16543
0xc0fd4c gimplify_function_tree(tree_node*)
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220612/work/gcc-13-20220612/gcc/gimplify.cc:16614
0xa26c47 cgraph_node::analyze()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220612/work/gcc-13-20220612/gcc/cgraphunit.cc:676
0xa297a7 analyze_functions
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220612/work/gcc-13-20220612/gcc/cgraphunit.cc:1241
0xa2a44d symbol_table::finalize_compilation_unit()
       
/var/tmp/portage/sys-devel/gcc-13.0.0_p20220612/work/gcc-13-20220612/gcc/cgraphunit.cc:2501

             reply	other threads:[~2022-06-19  5:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-19  5:22 asolokha at gmx dot com [this message]
2022-06-20  8:15 ` [Bug tree-optimization/106027] [11/12/13 Regression] ICE: 'verify_gimple' failed (error: mismatching comparison operand types) since r11-2450-g10231958fcfb13bc marxin at gcc dot gnu.org
2022-06-20 11:27 ` rguenth at gcc dot gnu.org
2022-06-20 11:40 ` rguenth at gcc dot gnu.org
2022-06-20 13:02 ` cvs-commit at gcc dot gnu.org
2022-06-20 13:02 ` [Bug middle-end/106027] [11/12 " rguenth at gcc dot gnu.org
2022-07-19 11:38 ` cvs-commit at gcc dot gnu.org
2022-10-11 13:04 ` [Bug middle-end/106027] [11 " cvs-commit at gcc dot gnu.org
2022-10-11 13:05 ` 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-106027-4@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).