[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #16 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:484c41c747d95f9cee15a33b75b32ae2e7eb45f3 commit r13-6827-g484c41c747d95f9cee15a33b75b32ae2e7eb45f3 Author: Jakub Jelinek Date:

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added Attachment #54718|0 |1 is obsolete|

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #14 from Jakub Jelinek --- So, e.g. in the gcc.target/i386/sse4_1-pr88547-1.c testcase, we have before veclower21: v2di f13 (v2di x, v2di y) { vector(2) _1; v2di _4; [local count: 1073741824]: _1 = x_2(D) <= y_3(D); _4

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #13 from Jakub Jelinek --- Unfortunately the patch breaks quite a lot of tests on x86_64: +FAIL: c-c++-common/goacc/firstprivate-mappings-1.c (internal compiler error: in gimple_expand_vec_cond_expr, at gimple-isel.cc:249) +FAIL:

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #12 from Richard Biener --- (In reply to Jakub Jelinek from comment #11) > Created attachment 54718 [details] > gcc13-pr109176.patch > > Full untested patch. LGTM

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #11 from Jakub Jelinek --- Created attachment 54718 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54718=edit gcc13-pr109176.patch Full untested patch.

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #10 from ktkachov at gcc dot gnu.org --- For the testcase, having it in gcc.target/aarch64/sve as /* { dg-options "-O2" } */ #include svbool_t foo (svint8_t a, svint8_t b, svbool_t c) { svbool_t d = svcmplt_s8 (svptrue_pat_b8

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #9 from Jakub Jelinek --- Oh, and one more thing, why the second hunk isn't inside of the if (assign && ) body, but after it? If we haven't updated code, then it will never succeed with code = SSA_NAME unless the first hunk already

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #8 from Jakub Jelinek --- (In reply to Richard Biener from comment #7) > --- a/gcc/tree-vect-generic.cc > +++ b/gcc/tree-vect-generic.cc > @@ -1040,6 +1040,10 @@ expand_vector_condition (gimple_stmt_iterator *gsi, > bitmap

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #7 from Richard Biener --- (In reply to Jakub Jelinek from comment #5) > Before veclower2 we had/have > _7 = ba_5(D) < a_6(D); > _8 = svnand_b_z (_7, _7, _7); > _9 = VEC_COND_EXPR <_7, _8, _7>; > where _7/_8/_9 are all

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #6 from Jakub Jelinek --- Reduced testcase: #pragma GCC aarch64 "arm_sve.h" svbool_t foo (svint8_t a, svint8_t b, svbool_t c) { svbool_t d = svcmplt_s8 (svptrue_pat_b8 (SV_ALL), a, b); return svsel_b (d, c, d); }

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org ---

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #3 from ktkachov at gcc dot gnu.org --- Created attachment 54708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54708=edit Reduced testcase Reduced testcase ICEs at -O2

[Bug tree-optimization/109176] [13 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-03-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Keywords|