* [Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
@ 2024-06-16 2:29 ` sjames at gcc dot gnu.org
2024-06-16 2:29 ` sjames at gcc dot gnu.org
` (17 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 2:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
==3050649== Invalid read of size 8
==3050649== at 0x192EB36: vect_schedule_slp_node(vec_info*, _slp_tree*,
_slp_instance*) [clone .part.0] (tree-vect-slp.cc:9279)
==3050649== by 0x1948643: vect_schedule_slp_node (tree-vect-slp.cc:9248)
==3050649== by 0x1948643: vect_schedule_scc(vec_info*, _slp_tree*,
_slp_instance*, hash_map<_slp_tree*, slp_scc_info,
simple_hashmap_traits<default_hash_traits<_slp_tree*>, slp_scc_in
fo> >&, int&, vec<_slp_tree*, va_heap, vl_ptr>&) (tree-vect-slp.cc:9682)
==3050649== by 0x19486A8: vect_schedule_scc(vec_info*, _slp_tree*,
_slp_instance*, hash_map<_slp_tree*, slp_scc_info,
simple_hashmap_traits<default_hash_traits<_slp_tree*>, slp_scc_in
fo> >&, int&, vec<_slp_tree*, va_heap, vl_ptr>&) (tree-vect-slp.cc:9663)
==3050649== by 0x1948E7A: vect_schedule_slp(vec_info*, vec<_slp_instance*,
va_heap, vl_ptr> const&) (tree-vect-slp.cc:9827)
==3050649== by 0x194BCC9: vect_slp_region(vec<basic_block_def*, va_heap,
vl_ptr>, vec<data_reference*, va_heap, vl_ptr>, vec<int, va_heap, vl_ptr>*,
unsigned int, loop*) (tree-vect-sl
p.cc:7948)
==3050649== by 0x194D54A: vect_slp_bbs(vec<basic_block_def*, va_heap,
vl_ptr> const&, loop*) (tree-vect-slp.cc:8048)
==3050649== by 0x194DBEA: vect_slp_function(function*)
(tree-vect-slp.cc:8170)
==3050649== by 0x1959B75: (anonymous
namespace)::pass_slp_vectorize::execute(function*) (tree-vectorizer.cc:1533)
==3050649== by 0x1405CC2: execute_one_pass(opt_pass*) (passes.cc:2647)
==3050649== by 0x1406B39: execute_pass_list_1 (passes.cc:2756)
==3050649== by 0x1406B39: execute_pass_list_1(opt_pass*) (passes.cc:2757)
==3050649== by 0x1406EF6: execute_pass_list_1 (passes.cc:2757)
==3050649== by 0x1406EF6: execute_pass_list(function*, opt_pass*)
(passes.cc:2767)
==3050649== by 0xF02976: cgraph_node::expand() (cgraphunit.cc:1845)
==3050649== Address 0x20 is not stack'd, malloc'd or (recently) free'd
==3050649==
during GIMPLE pass: slp
/var/tmp/portage/media-libs/flac-1.4.3/work/flac-1.4.3/src/libFLAC/fixed_intrin_avx2.c:
In function 'FLAC__fixed_compute_best_predictor_wide_intrin_avx2':
/var/tmp/portage/media-libs/flac-1.4.3/work/flac-1.4.3/src/libFLAC/fixed_intrin_avx2.c:57:10:
internal compiler error: Segmentation fault
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
2024-06-16 2:29 ` [Bug tree-optimization/115508] " sjames at gcc dot gnu.org
@ 2024-06-16 2:29 ` sjames at gcc dot gnu.org
2024-06-16 2:37 ` sjames at gcc dot gnu.org
` (16 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 2:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
I'm reducing.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
2024-06-16 2:29 ` [Bug tree-optimization/115508] " sjames at gcc dot gnu.org
2024-06-16 2:29 ` sjames at gcc dot gnu.org
@ 2024-06-16 2:37 ` sjames at gcc dot gnu.org
2024-06-16 2:58 ` sjames at gcc dot gnu.org
` (15 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 2:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
> I can't reproduce it with -march=znver2, just -march=znver1. Not compared
> the diff yet.
-march=znver2 -mprefer-vector-width=128 fails too
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (2 preceding siblings ...)
2024-06-16 2:37 ` sjames at gcc dot gnu.org
@ 2024-06-16 2:58 ` sjames at gcc dot gnu.org
2024-06-16 3:02 ` [Bug tree-optimization/115508] [14/15 regression] " pinskia at gcc dot gnu.org
` (14 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 2:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 58440
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58440&action=edit
reduced.i
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (3 preceding siblings ...)
2024-06-16 2:58 ` sjames at gcc dot gnu.org
@ 2024-06-16 3:02 ` pinskia at gcc dot gnu.org
2024-06-16 3:02 ` sjames at gcc dot gnu.org
` (13 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-16 3:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
Target Milestone|--- |14.2
Keywords| |ice-on-valid-code
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (4 preceding siblings ...)
2024-06-16 3:02 ` [Bug tree-optimization/115508] [14/15 regression] " pinskia at gcc dot gnu.org
@ 2024-06-16 3:02 ` sjames at gcc dot gnu.org
2024-06-16 3:10 ` sjames at gcc dot gnu.org
` (12 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 3:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #5 from Sam James <sjames at gcc dot gnu.org> ---
On trunk with reduced.i, I get:
```
==3698089== Invalid read of size 8
==3698089== at 0x2430014: UnknownInlinedFun (tree-vect-slp.cc:9672)
==3698089== by 0x2430014: vect_schedule_slp_node(vec_info*, _slp_tree*,
_slp_instance*) (tree-vect-slp.cc:9514)
==3698089== by 0x242F05C: vect_schedule_scc(vec_info*, _slp_tree*,
_slp_instance*, hash_map<_slp_tree*, slp_scc_info,
simple_hashmap_traits<default_hash_traits<_slp_tree*>, slp_scc_in
fo> >&, int&, vec<_slp_tree*, va_heap, vl_ptr>&) (tree-vect-slp.cc:9965)
==3698089== by 0x242EFAC: vect_schedule_scc(vec_info*, _slp_tree*,
_slp_instance*, hash_map<_slp_tree*, slp_scc_info,
simple_hashmap_traits<default_hash_traits<_slp_tree*>, slp_scc_in
fo> >&, int&, vec<_slp_tree*, va_heap, vl_ptr>&) (tree-vect-slp.cc:9946)
==3698089== by 0x2139092: vect_schedule_slp(vec_info*, vec<_slp_instance*,
va_heap, vl_ptr> const&) (tree-vect-slp.cc:10110)
==3698089== by 0x1F013DB: vect_slp_region(vec<basic_block_def*, va_heap,
vl_ptr>, vec<data_reference*, va_heap, vl_ptr>, vec<int, va_heap, vl_ptr>*,
unsigned int, loop*) (tree-vect-sl
p.cc:8222)
==3698089== by 0x1EFD5B3: vect_slp_bbs(vec<basic_block_def*, va_heap,
vl_ptr> const&, loop*) [clone .lto_priv.0] (tree-vect-slp.cc:8322)
==3698089== by 0x1EFD2DA: vect_slp_function(function*)
(tree-vect-slp.cc:8444)
==3698089== by 0x1EFCC6C: (anonymous
namespace)::pass_slp_vectorize::execute(function*) [clone .lto_priv.0]
(tree-vectorizer.cc:1534)
==3698089== by 0x1B69A70: execute_one_pass(opt_pass*) (passes.cc:2647)
==3698089== by 0x1C2C09B: execute_pass_list_1(opt_pass*) (passes.cc:2756)
==3698089== by 0x1C2C0B8: execute_pass_list_1(opt_pass*) (passes.cc:2757)
==3698089== by 0x1C2C0B8: execute_pass_list_1(opt_pass*) (passes.cc:2757)
==3698089== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==3698089==
during GIMPLE pass: slp
a.i: In function
‘FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2’:
a.i:5:6: internal compiler error: Segmentation fault
5 | void FLAC__fixed_compute_best_predictor_limit_residual_intrin_avx2(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x12a1362 crash_signal
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/toplev.cc:319
0x2430014 vect_schedule_slp_node
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9672
0x2430014 vect_schedule_slp_node
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9514
0x242f05c vect_schedule_scc
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9965
0x242efac vect_schedule_scc
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:9946
0x2139092 vect_schedule_slp(vec_info*, vec<_slp_instance*, va_heap, vl_ptr>
const&)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:10110
0x1f013db vect_slp_region
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:8222
0x1efd5b3 vect_slp_bbs
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:8322
0x1efd2da vect_slp_function(function*)
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vect-slp.cc:8444
0x1efcc6c execute
/usr/src/debug/sys-devel/gcc-15.0.9999/gcc-15.0.9999/gcc/tree-vectorizer.cc:1534
```
I think pinskia will be able to simplify my reduced version more..
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (5 preceding siblings ...)
2024-06-16 3:02 ` sjames at gcc dot gnu.org
@ 2024-06-16 3:10 ` sjames at gcc dot gnu.org
2024-06-16 3:13 ` pinskia at gcc dot gnu.org
` (11 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 3:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #6 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 58441
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58441&action=edit
reduced_more.i
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (6 preceding siblings ...)
2024-06-16 3:10 ` sjames at gcc dot gnu.org
@ 2024-06-16 3:13 ` pinskia at gcc dot gnu.org
2024-06-16 3:19 ` pinskia at gcc dot gnu.org
` (10 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-16 3:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Last reconfirmed| |2024-06-16
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (7 preceding siblings ...)
2024-06-16 3:13 ` pinskia at gcc dot gnu.org
@ 2024-06-16 3:19 ` pinskia at gcc dot gnu.org
2024-06-16 3:22 ` pinskia at gcc dot gnu.org
` (9 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-16 3:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 58442
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58442&action=edit
Semi-cleaned up testcase with some extra hooks
So note if you change any of the `#if 0` to `#if 1` or `#if 1` to `#if 0` the
crash in SLP no longer happens.
Note also with the last one change, the only difference deals with the PERM
that is being selected in SLP:
Due to the order of `BIT_FIELD_REF <vec_var.1_14, 64, 64>;` vs `BIT_FIELD_REF
<vec_var.1_14, 64, 0>;`. somehow.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (8 preceding siblings ...)
2024-06-16 3:19 ` pinskia at gcc dot gnu.org
@ 2024-06-16 3:22 ` pinskia at gcc dot gnu.org
2024-06-16 3:26 ` pinskia at gcc dot gnu.org
` (8 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-16 3:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
_19 = BIT_FIELD_REF <vec_var.1_14, 64, 0>;
_12 = BIT_FIELD_REF <vec_var.1_14, 64, 64>;
_15 = _12 | _19;
vs
_13 = BIT_FIELD_REF <vec_var.1_12, 64, 0>;
_14 = BIT_FIELD_REF <vec_var.1_12, 64, 64>;
_15 = _13 | _14;
So basically it is just by accident the order happens that way which is why the
reducing it further removing the stuff afterwards does not make any difference
...
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (9 preceding siblings ...)
2024-06-16 3:22 ` pinskia at gcc dot gnu.org
@ 2024-06-16 3:26 ` pinskia at gcc dot gnu.org
2024-06-16 3:28 ` pinskia at gcc dot gnu.org
` (7 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-16 3:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58442|0 |1
is obsolete| |
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 58443
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58443&action=edit
A little more reduced
Slightly more reduced. Still trying to figure out the SLP thing here.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (10 preceding siblings ...)
2024-06-16 3:26 ` pinskia at gcc dot gnu.org
@ 2024-06-16 3:28 ` pinskia at gcc dot gnu.org
2024-06-16 9:32 ` [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421 sjames at gcc dot gnu.org
` (6 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-06-16 3:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58443|0 |1
is obsolete| |
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 58444
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58444&action=edit
Fails now without -m32
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (11 preceding siblings ...)
2024-06-16 3:28 ` pinskia at gcc dot gnu.org
@ 2024-06-16 9:32 ` sjames at gcc dot gnu.org
2024-06-17 5:57 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: sjames at gcc dot gnu.org @ 2024-06-16 9:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |liuhongt at gcc dot gnu.org
Summary|[14/15 regression] ICE when |[14/15 regression] ICE when
|building flac with -O2 |building flac with -O2
|-march=znver1 |-march=znver1 since
| |r14-5603-g2b59e2b4dff421
--- Comment #12 from Sam James <sjames at gcc dot gnu.org> ---
It bisects to r14-5603-g2b59e2b4dff421 but someone more knowledgable than me
will have to say whether there's a deeper issue (e.g. missing validation or
whatever) in SLP.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (12 preceding siblings ...)
2024-06-16 9:32 ` [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421 sjames at gcc dot gnu.org
@ 2024-06-17 5:57 ` rguenth at gcc dot gnu.org
2024-06-17 12:40 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-17 5:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|unknown |14.1.1
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #13 from Richard Biener <rguenth at gcc dot gnu.org> ---
I will have a look.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14/15 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (13 preceding siblings ...)
2024-06-17 5:57 ` rguenth at gcc dot gnu.org
@ 2024-06-17 12:40 ` cvs-commit at gcc dot gnu.org
2024-06-17 13:15 ` [Bug tree-optimization/115508] [14 " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-17 12:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:65e72b95c63a5501cf1482f3814ae8c8e672bf06
commit r15-1375-g65e72b95c63a5501cf1482f3814ae8c8e672bf06
Author: Richard Biener <rguenther@suse.de>
Date: Mon Jun 17 14:36:56 2024 +0200
tree-optimization/115508 - fix ICE with SLP scheduling and extern vector
When there's a permute after an extern vector we can run into a case
that didn't consider the scheduled node being a permute which lacks
a representative.
PR tree-optimization/115508
* tree-vect-slp.cc (vect_schedule_slp_node): Guard check on
representative.
* gcc.target/i386/pr115508.c: New testcase.
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (14 preceding siblings ...)
2024-06-17 12:40 ` cvs-commit at gcc dot gnu.org
@ 2024-06-17 13:15 ` rguenth at gcc dot gnu.org
2024-06-21 9:42 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-17 13:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[14/15 regression] ICE when |[14 regression] ICE when
|building flac with -O2 |building flac with -O2
|-march=znver1 since |-march=znver1 since
|r14-5603-g2b59e2b4dff421 |r14-5603-g2b59e2b4dff421
Known to work| |15.0
Priority|P3 |P2
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (15 preceding siblings ...)
2024-06-17 13:15 ` [Bug tree-optimization/115508] [14 " rguenth at gcc dot gnu.org
@ 2024-06-21 9:42 ` rguenth at gcc dot gnu.org
2024-06-21 12:16 ` cvs-commit at gcc dot gnu.org
2024-06-21 12:17 ` rguenth at gcc dot gnu.org
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-21 9:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Also depends on r15-772-g31e9bae0ea5e54
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (16 preceding siblings ...)
2024-06-21 9:42 ` rguenth at gcc dot gnu.org
@ 2024-06-21 12:16 ` cvs-commit at gcc dot gnu.org
2024-06-21 12:17 ` rguenth at gcc dot gnu.org
18 siblings, 0 replies; 20+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-06-21 12:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Richard Biener
<rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:65e25860f49ee7a2cfd4872db06d94ed7675e12e
commit r14-10334-g65e25860f49ee7a2cfd4872db06d94ed7675e12e
Author: Richard Biener <rguenther@suse.de>
Date: Mon Jun 17 14:36:56 2024 +0200
tree-optimization/115508 - fix ICE with SLP scheduling and extern vector
When there's a permute after an extern vector we can run into a case
that didn't consider the scheduled node being a permute which lacks
a representative.
PR tree-optimization/115508
* tree-vect-slp.cc (vect_schedule_slp_node): Guard check on
representative.
* gcc.target/i386/pr115508.c: New testcase.
(cherry picked from commit 65e72b95c63a5501cf1482f3814ae8c8e672bf06)
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Bug tree-optimization/115508] [14 regression] ICE when building flac with -O2 -march=znver1 since r14-5603-g2b59e2b4dff421
2024-06-16 2:28 [Bug tree-optimization/115508] New: ICE when building flac with -O2 -march=znver1 sjames at gcc dot gnu.org
` (17 preceding siblings ...)
2024-06-21 12:16 ` cvs-commit at gcc dot gnu.org
@ 2024-06-21 12:17 ` rguenth at gcc dot gnu.org
18 siblings, 0 replies; 20+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-06-21 12:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115508
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Known to fail| |14.1.0
--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 20+ messages in thread