[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9e242f8a2d5987ddaa74696e5ad809303ddc8dd0 commit r12-8975-g9e242f8a2d5987ddaa74696e5ad809303ddc8dd0 Author: Richard Biener Date: Mon Nov 21 07:56:06 2022 +0100 tree-optimization/107766 - ICE with recent -ffp-contract=off fix The following uses *node to check for FP types rather than the child nodes which could be constant leafs and thus without a vector type. PR tree-optimization/107766 * tree-vect-slp-patterns.cc (complex_mul_pattern::matches): Use *node to check for FP vector types. * g++.dg/vect/pr107766.cc: New testcase. (cherry picked from commit 1a06ae6f2f4f292fd05a900bcf433cb4282da1e3)
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 Richard Biener changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #6 from Richard Biener --- *** Bug 107776 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #5 from Richard Biener --- Fixed.
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:1a06ae6f2f4f292fd05a900bcf433cb4282da1e3 commit r13-4226-g1a06ae6f2f4f292fd05a900bcf433cb4282da1e3 Author: Richard Biener Date: Mon Nov 21 07:56:06 2022 +0100 tree-optimization/107766 - ICE with recent -ffp-contract=off fix The following uses *node to check for FP types rather than the child nodes which could be constant leafs and thus without a vector type. PR tree-optimization/107766 * tree-vect-slp-patterns.cc (complex_mul_pattern::matches): Use *node to check for FP vector types. * g++.dg/vect/pr107766.cc: New testcase.
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 --- Comment #3 from Sergei Trofimovich --- Posting example from PR107789 here in unlikely case it's a slightly different problem: $ cat a.c.c long ga, gb, gc, gd; unsigned long ge, gf; int gh; int bug(void) { gf = gb ? ga : 0; gf -= gh * ge; gc += gd * ge; if (gf) gc += gf; return 0; } Crashes as: $ gcc -std=c99 -O2 -c a.c.c -o a.o -O2 during GIMPLE pass: slp a.c.c: In function 'bug': a.c.c:4:5: internal compiler error: Segmentation fault 4 | int bug(void) { | ^~~ 0x1ae8c54 diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, __va_list_tag (*) [1], diagnostic_t) ???:0 0x1ae98a6 internal_error(char const*, ...) ???:0 0xcb2b3f crash_signal(int) ???:0 0xf194b7 complex_mul_pattern::matches(...
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comment #2 from Sergei Trofimovich --- *** Bug 107789 has been marked as a duplicate of this bug. ***
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #1 from Richard Biener --- Testing a patch.
[Bug tree-optimization/107766] [13 Regression] ICE Segmentation fault since r13-4137-gc5df8392c5848c04
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107766 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-11-20 Status|UNCONFIRMED |NEW Known to fail||13.0 Target Milestone|--- |13.0 Ever confirmed|0 |1