https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115782
Bug ID: 115782
Summary: ICE on valid code at -O{2,3} with
"-fno-guess-branch-probability -fgcse-sm
-fno-expensive-optimizations -fno-gcse" on
x86_64-linux-gnu: in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115701
Bug ID: 115701
Summary: wrong code at -O1 and above with "-fipa-pta" on
x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115671
Bug ID: 115671
Summary: wrong code at -O1 with "-fgcse -fno-inline
-fschedule-insns" on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661
--- Comment #1 from Zhendong Su ---
The following might be the same or related although it needs several flags to
trigger.
Compiler Explorer: https://godbolt.org/z/Y9414PbTh
[567] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115661
Bug ID: 115661
Summary: wrong code at -O{2,3} on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115579
--- Comment #3 from Zhendong Su ---
Perhaps the same or a related issue. It reproduces for -O{s,2,3}.
Compiler Explorer: https://godbolt.org/z/x779P9b5a
[570] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115578
--- Comment #2 from Zhendong Su ---
Sorry for this; not sure what happened
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115579
Bug ID: 115579
Summary: wrong code at -Os with "-fno-tree-sra" on
x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115578
Bug ID: 115578
Summary: wrong code at -Os with " on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115568
Bug ID: 115568
Summary: wrong code at -O2 with "-fno-tree-sink -fno-tree-ter
-fschedule-insns" on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115521
--- Comment #4 from Zhendong Su ---
(In reply to Andrew Pinski from comment #3)
> Dup then.
>
> *** This bug has been marked as a duplicate of bug 114942 ***
Similar, but perhaps not a dup as PR114942 doesn't reproduce on the trunk
anymore.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115521
Bug ID: 115521
Summary: ICE at -O1 with "-fno-tree-ccp
-fno-tree-dominator-opts" on x86_64-linux-gnu: in
extract_constrain_insn, at recog.cc:2713
Product: gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115494
Bug ID: 115494
Summary: wrong code at -O{2,3} with "-fno-ssa-phiopt" on
x86_64-linux-gnu (the generated code hangs)
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115467
Bug ID: 115467
Summary: wrong code at -O1 with "-fno-tree-fre" on
x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115388
Bug ID: 115388
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115347
Bug ID: 115347
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115236
Bug ID: 115236
Summary: wrong code at -O1 and above with -fno-tree-fre on
x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115226
Bug ID: 115226
Summary: ICE on valid code at -O3 on x86_64-linux-gnu:
verify_ssa failed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115197
Bug ID: 115197
Summary: ICE on valid code at -O{1,2} with
"-fno-tree-scev-cprop -ftree-pre
-ftree-loop-distribute-patterns" on x86_64-linux-gnu:
Segmentation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115152
Bug ID: 115152
Summary: wrong code at -O3 with "-fno-tree-fre
-fno-tree-dominator-opts -fno-tree-loop-im" on
x86_64-linux-gnu
Product: gcc
Version: unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115149
Bug ID: 115149
Summary: ICE on valid code at -O3 with "-fno-inline
-fno-tree-vrp -fno-ipa-sra -fno-tree-dce -fno-tree-ch"
on x86_64-linux-gnu: verify_ssa failed
Product:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115092
Bug ID: 115092
Summary: wrong code at -O1 with "-fgcse -ftree-pre
-fno-tree-dominator-opts -fno-tree-fre
-fno-guess-branch-probability" on x86_64-linux-gnu
Product: gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114998
Bug ID: 114998
Summary: ICE on valid code at -O3 with "-fno-inline
-fno-tree-dce -fno-ipa-cp" on x86_64-linux-gnu:
Segmentation fault
Product: gcc
Version:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114948
Bug ID: 114948
Summary: ICE on valid code at -O3 with "-fno-tree-ccp
-fno-tree-ch" on x86_64-linux-gnu: in
check_loop_closed_ssa_def, at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114942
Bug ID: 114942
Summary: ICE on valid code at -O1 with "-fno-tree-sra
-fno-guess-branch-probability": in
extract_constrain_insn, at recog.cc:2713
Product: gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114902
Bug ID: 114902
Summary: wrong code at -O3 with "-fno-tree-vrp
-fno-expensive-optimizations -fno-tree-dominator-opts"
on x86_64-linux-gnu
Product: gcc
Version:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114864
Bug ID: 114864
Summary: wrong code at -O1 with "-fno-tree-dce -fno-tree-fre"
on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114832
Bug ID: 114832
Summary: ICE at -O{2,3} with "-fno-tree-loop-if-convert
-fno-tree-loop-distribute-patterns -ftree-vectorize"
on x86_64-linux-gnu: in verify_dominators, at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114828
Bug ID: 114828
Summary: ICE on valid code at -O1 with "-ftree-pre
-fselective-scheduling -fsel-sched-pipelining
-fschedule-insns" on x86_64-linux-gnu: Segmentation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114796
Bug ID: 114796
Summary: wrong code at -O2 with "-fno-tree-fre -fno-inline
-fselective-scheduling2" on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114793
--- Comment #1 from Zhendong Su ---
The following reproducer is different, but perhaps is the same or related.
Compiler Explorer: https://godbolt.org/z/411rzMP1n
[588] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114793
Bug ID: 114793
Summary: wrong code at -O1 with "-fschedule-insns2
-fselective-scheduling2" on x86_64-linux-gnu (the
generated code hangs)
Product: gcc
Version:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114792
Bug ID: 114792
Summary: ICE on valid code at -O1 with "-fno-tree-ccp
-fno-tree-copy-prop" on x86_64-linux-gnu: in
get_loop_body, at cfgloop.cc:903
Product: gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114788
Bug ID: 114788
Summary: ICE on valid code at -O{2,3} on x86_64-linux-gnu
(during RTL pass: sched2): in move_exprs_to_boundary,
at sel-sched.cc:5236
Product: gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114787
Bug ID: 114787
Summary: wrong code at -O1 on x86_64-linux-gnu (the generated
code hangs)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114624
Bug ID: 114624
Summary: ICE on valid code at -O3 on x86_64-linux-gnu:
Segmentation fault
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114552
Bug ID: 114552
Summary: wrong code at -O1 and above on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114551
Bug ID: 114551
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114074
Bug ID: 114074
Summary: wrong code at -O1 and above on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113895
--- Comment #8 from Zhendong Su ---
Another likely related one (though ICE during a different pass and at a
different location):
[519] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113895
Zhendong Su changed:
What|Removed |Added
CC||zhendong.su at inf dot ethz.ch
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113707
--- Comment #2 from Zhendong Su ---
Another related test for -O3 (only):
[555] % gcctk -O3 small.c
during GIMPLE pass: cunroll
small.c: In function ‘main’:
small.c:14:5: internal compiler error: Segmentation fault
14 | int main() {
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113707
Bug ID: 113707
Summary: ICE on valid code at -O1 on x86_64-linux-gnu:
Segmentation fault
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112859
--- Comment #2 from Zhendong Su ---
> Thanks for these testcases btw.
Happy to be of help, Richard.
And thanks to you folks for the incredible work and dedication!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112859
Bug ID: 112859
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112827
--- Comment #2 from Zhendong Su ---
Another test that reproduces at -O1 and above.
[520] % gcctk -O3 small.c
during GIMPLE pass: sccp
small.c: In function ‘main’:
small.c:4:5: internal compiler error: Segmentation fault
4 | int main() {
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112827
Bug ID: 112827
Summary: ICE on valid code at -O1 on x86_64-linux-gnu:
Segmentation fault
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112636
Bug ID: 112636
Summary: ICE on valid code at -O1 (but not at -O{0,s,2,3}) with
"-ftree-vectorize": in adjust_loop_info_after_peeling,
at tree-ssa-loop-ivcanon.cc:1069
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112616
Bug ID: 112616
Summary: wrong code at -O{s,2,3} on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112585
Bug ID: 112585
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112581
Bug ID: 112581
Summary: wrong code at -O2 and -O3 on x86_64-linux-gnu
(generated code hangs)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112333
Bug ID: 112333
Summary: ICE on valid code at -O2 and -O3: Segmentation fault
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111043
--- Comment #9 from Zhendong Su ---
Another at -O2 and -O3:
[545] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
COLLECT_LTO_WRAPPER=/local/suz-local/software/local/gcc-trunk/libexec/gcc/x86_64-pc-linux-gnu/14.0.0/lto-wrapper
Target:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303
--- Comment #5 from Zhendong Su ---
(In reply to Sam James from comment #3)
> (In reply to Zhendong Su from comment #0)
> > This appears to be a recent regression.
> >
>
> Out of interest, when you say this, do you have a rough range in mind?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303
--- Comment #1 from Zhendong Su ---
Also see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111328
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112303
Bug ID: 112303
Summary: ICE on valid code at -O3 on x86_64-linux-gnu:
verify_flow_info failed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112282
Bug ID: 112282
Summary: wrong code (generated code hangs) at -O3 on
x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112281
Bug ID: 112281
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112113
Bug ID: 112113
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111916
Bug ID: 111916
Summary: wrong code at -O1 and above on x86_64-linux-gnu (the
generated code hangs)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111838
Bug ID: 111838
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111823
Bug ID: 111823
Summary: ICE on valid code at -O1 and above on
x86_64-linux-gnu: in verify_sra_access_forest, at
tree-sra.cc:2414
Product: gcc
Version: unknown
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111727
--- Comment #2 from Zhendong Su ---
Another similar/related test:
[553] % gcctk -O2 small.c; ./a.out
[554] %
[554] % gcctk -O3 small.c
[555] % ./a.out
Aborted
[556] % cat small.c
int a, b;
int main() {
for (; a < 4; a += 2)
if (a > 2)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111792
Bug ID: 111792
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111727
Bug ID: 111727
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111652
Bug ID: 111652
Summary: wrong code at -O3 on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482
Zhendong Su changed:
What|Removed |Added
CC||zhendong.su at inf dot ethz.ch
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111355
--- Comment #2 from Zhendong Su ---
It seems that the fix for PR 111303 did not fix this ICE.
[511] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111442
Bug ID: 111442
Summary: ICE on valid code at -O{s,2,3}: Segmentation fault
signal terminated program cc1
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111387
Bug ID: 111387
Summary: ICE on valid code at -O2 and -O3: verify_ssa failed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111355
Bug ID: 111355
Summary: ICE on valid code at -O1 and above: in lower_bound, at
value-range.h:1078
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111043
Zhendong Su changed:
What|Removed |Added
CC||zhendong.su at inf dot ethz.ch
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110971
Bug ID: 110971
Summary: ICE on valid code at -O3 on x86_64-linux-gnu: in
operator/, at sreal.cc:261
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110940
Bug ID: 110940
Summary: ICE at -O3 on x86_64-linux-gnu: in apply_scale, at
profile-count.h:1180
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110924
Bug ID: 110924
Summary: ICE on valid code at -O{s,2,3} on x86_64-linux-gnu:
verify_ssa failed
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110769
Zhendong Su changed:
What|Removed |Added
CC||zhendong.su at inf dot ethz.ch
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110766
Bug ID: 110766
Summary: ICE on valid code at -O3 on x86_64-linux-gnu: in
gimple_phi_arg_def_from_edge, at gimple.h:4699
Product: gcc
Version: unknown
Status:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666
--- Comment #5 from Zhendong Su ---
A couple of very likely related tests (especially #2 and #3):
*** (1) wrong code at -O2, -O3, and -Os
[539] % gcctk -O1 small.c; ./a.out
[540] % gcctk -O2 small.c
[541] % timeout -s 9 5 ./a.out
Killed
[542]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110671
Bug ID: 110671
Summary: ICE on valid code at -O2 and -O3 on x86_64-linux-gnu:
in gimple_phi_arg_def_from_edge, at gimple.h:4699
Product: gcc
Version: unknown
Status:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110666
Bug ID: 110666
Summary: wrong code at -O1 and above on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110600
Bug ID: 110600
Summary: ICE on valid code at -O1 and above on
x86_64-linux-gnu: Segmentation fault
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110599
Bug ID: 110599
Summary: wrong code at -Os and above with "-fno-tree-forwprop
-fno-tree-fre" on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228
--- Comment #30 from Zhendong Su ---
(In reply to Richard Biener from comment #29)
> I can't reproduce the original failure on trunk or with GCC 13.1, but the
> testcase from comment#16 is now fixed. I also cannot reproduce the testcase
> from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228
--- Comment #21 from Zhendong Su ---
Another very likely related reproducer.
[628] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110509
Bug ID: 110509
Summary: wrong code at -O3 on x86_64-linux-gnu
(nondeterministic hang)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110391
--- Comment #4 from Zhendong Su ---
Another likely related reproducer that affects 9.* and later.
Compiler Explorer: https://godbolt.org/z/8vTd7rx6d
[641] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110252
--- Comment #10 from Zhendong Su ---
Another very likely related test.
Compiler Explorer: https://godbolt.org/z/1n5nsefWx
[557] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110391
--- Comment #3 from Zhendong Su ---
Another related reproducer.
Compiler Explorer: https://godbolt.org/z/E8GPcfPY5
[543] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110418
Bug ID: 110418
Summary: ICE on valid code at -O2 and -O3 with
-fselective-scheduling2: Segmentation fault
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110391
--- Comment #2 from Zhendong Su ---
A likely related reproducer that affects 10.* and later.
Compiler Explorer: https://godbolt.org/z/KP6PnTKPj
[579] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110390
--- Comment #1 from Zhendong Su ---
Another reproducer with fewer flags (and affects 12.* and later).
Compiler Explorer: https://godbolt.org/z/fYqEz9EWx
[603] % gcctk -v
Using built-in specs.
COLLECT_GCC=gcctk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110393
Bug ID: 110393
Summary: ICE at -O3 with "-fselective-scheduling2 -fPIC": in
move_op_ascend, at sel-sched.cc:6150
Product: gcc
Version: unknown
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110392
Bug ID: 110392
Summary: ICE at -O3 with "-w -O3 -Wall -fno-tree-vrp
-fno-tree-dominator-opts -fno-tree-copy-prop
-fno-tree-fre -fno-tree-ccp -fno-tree-forwprop": in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110317
--- Comment #1 from Zhendong Su ---
Here is another related reproducer that only needs -fselective-scheduling2.
It affects 13.* and later.
Compiler Explorer: https://godbolt.org/z/zY7vMh9rj
[593] % gcctk -v
Using built-in specs.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110391
Zhendong Su changed:
What|Removed |Added
Summary|wrong code at -O2 and -O3 |wrong code at -O2 and -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110391
Bug ID: 110391
Summary: wrong code at -O2 and -O3 with "on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110388
Zhendong Su changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110390
Bug ID: 110390
Summary: ICE on valid code on x86_64-linux-gnu with
sel-scheduling: in
av_set_could_be_blocked_by_bookkeeping_p, at
sel-sched.cc:3609
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110389
Bug ID: 110389
Summary: wrong code at -Os and -O2 with "-fno-tree-ch
-fno-expensive-optimizations -fno-ivopts
-fno-tree-loop-ivcanon" on x86_64-linux-gnu
Product: gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110388
Bug ID: 110388
Summary: wrong code with on x86_64-linux-gnu
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component:
1 - 100 of 320 matches
Mail list logo