public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/95231] New: [11 Regression] error: the first argument of a ‘vec_cond_expr’ must be of a boolean vector type of the since r11-451-gfe168751c5c1c517
Date: Wed, 20 May 2020 08:33:03 +0000	[thread overview]
Message-ID: <bug-95231-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 95231
           Summary: [11 Regression] error: the first argument of a
                    ‘vec_cond_expr’ must be of a boolean vector type of
                    the since r11-451-gfe168751c5c1c517
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: rguenth at gcc dot gnu.org
  Target Milestone: ---

I see the following ICE:

$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C
-O3 -fnon-call-exceptions
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C: In
function ‘int main()’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: unsupported operation or type for vector comparison returning a boolean
   36 | }
      | ^
vector(4) float
vector(4) float
_25 = _13 > _23;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: the first argument of a ‘vec_cond_expr’ must be of a boolean vector type
of the same number of elements as the result
vector(4) int
bool
_24 = VEC_COND_EXPR <_25, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: unsupported operation or type for vector comparison returning a boolean
vector(4) float
vector(4) float
_29 = _26 > _27;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: the first argument of a ‘vec_cond_expr’ must be of a boolean vector type
of the same number of elements as the result
vector(4) int
bool
_28 = VEC_COND_EXPR <_29, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: unsupported operation or type for vector comparison returning a boolean
vector(4) float
vector(4) float
_33 = _30 > _31;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: the first argument of a ‘vec_cond_expr’ must be of a boolean vector type
of the same number of elements as the result
vector(4) int
bool
_32 = VEC_COND_EXPR <_33, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: unsupported operation or type for vector comparison returning a boolean
vector(4) float
vector(4) float
_37 = _34 > _35;
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
error: the first argument of a ‘vec_cond_expr’ must be of a boolean vector type
of the same number of elements as the result
vector(4) int
bool
_36 = VEC_COND_EXPR <_37, { -1, -1, -1, -1 }, { 0, 0, 0, 0 }>;
during GIMPLE pass: einline
/home/marxin/Programming/gcc/gcc/testsuite/g++.dg/other/vector-compare.C:36:1:
internal compiler error: verify_gimple failed
0x10f8d61 verify_gimple_in_cfg(function*, bool)
        /home/marxin/Programming/gcc/gcc/tree-cfg.c:5461
0xfd4e7f execute_function_todo
        /home/marxin/Programming/gcc/gcc/passes.c:1985
0xfd5c2e execute_todo
        /home/marxin/Programming/gcc/gcc/passes.c:2039
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

             reply	other threads:[~2020-05-20  8:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20  8:33 marxin at gcc dot gnu.org [this message]
2020-05-20  8:33 ` [Bug tree-optimization/95231] " marxin at gcc dot gnu.org
2020-05-20  8:53 ` rguenth at gcc dot gnu.org
2020-05-20 11:28 ` cvs-commit at gcc dot gnu.org
2020-05-20 11:28 ` 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-95231-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).