[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #13 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1e6f1659bd7337e91a88086f8092ada01e80ac94 commit r14-2182-g1e6f1659bd7337e91a88086f8092ada01e80ac94 Author: Richard Biener Date:

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #12 from David Binderman --- Here is a test case which seems to demonstrate the problem: $ /home/dcb38/gcc/results/bin/gcc -c -w -O1 -march=znver1 bug935.c during GIMPLE pass: fre bug935.c: In function ‘func_63’: bug935.c:5:6:

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #11 from Richard Biener --- (In reply to Andrew Pinski from comment #4) > Yes it is that pattern, specifically : > /* Try to fold (type) X op CST -> (type) (X op ((type-x) CST)) >when profitable. >For bitwise binary

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #10 from Andrew Pinski --- I audited match.pd and only one other sticks out but I can't get get it to happen. The other one should have happened with: ``` typedef int v4si __attribute__ ((vector_size (4*sizeof(int; typedef short

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 seurer at gcc dot gnu.org changed: What|Removed |Added CC||seurer at gcc dot gnu.org

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #8 from Andrew Pinski --- (In reply to David Binderman from comment #7) > I get something similar with -O1 -march=znver1. > > The problem seems to have started in the last couple of days: Yes it is exactly the same issue. Also it

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com ---

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #6 from Andrew Pinski --- *** Bug 110465 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #5 from Andrew Pinski --- Here is a better testcase which fails even at -O1 and does not depend on the vectorizer: ``` typedef int v4si __attribute__ ((vector_size (4*sizeof(int; typedef short v4hi __attribute__ ((vector_size

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #2 from Sam James --- Created attachment 55417 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55417=edit reduced.ii

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug tree-optimization/110461] [14 regression] ICE when building openh264 with new vector_type checking

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110461 --- Comment #1 from Andrew Pinski --- I think it is: /* Try to fold (type) X op CST -> (type) (X op ((type-x) CST))