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/101636] New: [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr') Date: Tue, 27 Jul 2021 09:15:20 +0000 [thread overview] Message-ID: <bug-101636-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 Bug ID: 101636 Summary: [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr') Product: gcc Version: 12.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: --- Target: x86_64-pc-linux-gnu gcc-12.0.0-alpha20210725 snapshot (g:b454c40956947938c9e274d75cef8a43171f3efa) ICEs when compiling the following testcase, reduced from gcc/testsuite/gcc.dg/vect/slp-cond-5.c, w/ -mavx512f -O1 -ftree-vectorize: inline int foo (int y, int a) { return (y && a) ? a : 0; } void bar (int *__restrict a, int *__restrict d, int *__restrict e, int i) { while (i < 1) { e[8] = e[7] = e[6] = e[5] = e[4] = e[3] = e[2] = e[1] = e[0] = foo (d[8], a[8]); e[9] = foo (d[9], a[9]); e[10] = foo (d[0], a[0]); e[11] = foo (d[1], a[1]); e[12] = foo (d[12], a[12]); e[13] = foo (d[13], a[13]); e[14] = foo (d[4], a[4]); e[15] = foo (d[15], a[15]); a += 16; e += 1; i += 1; } } % x86_64-pc-linux-gnu-gcc-12.0.0 -mavx512f -O1 -ftree-vectorize -c uo7arifc.c uo7arifc.c: In function 'bar': uo7arifc.c:8:1: error: conversion of register to a different size in 'view_convert_expr' 8 | bar (int *__restrict a, int *__restrict d, int *__restrict e, int i) | ^~~ VIEW_CONVERT_EXPR<vector(16) <signed-boolean:1>>(vect_patt_173.38_215); _151 = VIEW_CONVERT_EXPR<vector(16) <signed-boolean:1>>(vect_patt_173.38_215); during GIMPLE pass: slp uo7arifc.c:8:1: internal compiler error: verify_gimple failed 0xe8a12a verify_gimple_in_cfg(function*, bool) /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210725/work/gcc-12-20210725/gcc/tree-cfg.c:5536 0xd5934f execute_function_todo /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210725/work/gcc-12-20210725/gcc/passes.c:2042 0xd59d5b execute_todo /var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210725/work/gcc-12-20210725/gcc/passes.c:2096
next reply other threads:[~2021-07-27 9:15 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-27 9:15 asolokha at gmx dot com [this message] 2021-07-27 11:30 ` [Bug tree-optimization/101636] " rguenth at gcc dot gnu.org 2021-07-28 7:07 ` rguenth at gcc dot gnu.org 2021-08-03 12:42 ` marxin at gcc dot gnu.org 2021-08-03 13:06 ` rguenther at suse dot de 2021-08-03 13:47 ` marxin at gcc dot gnu.org 2021-08-06 9:58 ` rguenth at gcc dot gnu.org 2021-11-08 11:27 ` rguenth at gcc dot gnu.org 2021-11-08 11:43 ` marxin at gcc dot gnu.org 2021-11-08 11:44 ` marxin at gcc dot gnu.org 2021-11-08 12:56 ` rguenther at suse dot de 2021-11-08 15:33 ` marxin at gcc dot gnu.org 2021-11-08 15:33 ` marxin at gcc dot gnu.org 2021-11-09 7:24 ` rguenther at suse dot de 2022-02-22 14:52 ` rguenth at gcc dot gnu.org 2022-02-23 9:21 ` rguenth at gcc dot gnu.org 2022-02-23 11:14 ` cvs-commit at gcc dot gnu.org 2022-02-23 11:15 ` [Bug tree-optimization/101636] [11 " rguenth at gcc dot gnu.org 2022-03-07 11:34 ` rguenth at gcc dot gnu.org 2022-03-23 14:08 ` cvs-commit at gcc dot gnu.org 2022-03-23 14:08 ` 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-101636-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: linkBe 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).