[Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r12-5014-g6b8b959675a3e14c

2021-11-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 --- Comment #6 from Zhendong Su --- (In reply to Martin Liška from comment #5) > Simplified test-case: Oh, great; thanks, Martin!

[Bug tree-optimization/103231] [12 Regression] ICE (nondeterministic) on valid code at -O1 on x86_64-linux-gnu: Segmentation fault since r12-5014-g6b8b959675a3e14c

2021-11-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103231 --- Comment #9 from Zhendong Su --- A very simple repro (with ulimit -s 32): [530] % compile.sh small.c *** Compiling with: gcctk -O1 small.c gcctk: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full

[Bug tree-optimization/103464] New: ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault

2021-11-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 Bug ID: 103464 Summary: ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault Product: gcc Version: unknown Status:

[Bug tree-optimization/103464] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault

2021-11-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #1 from Zhendong Su --- Backtrace: #0 irange::irange (nranges=255, base=0x7ff7edd0, this=0x7ff7edc0) at ../../gcc-trunk/gcc/value-range.h:400 #1 int_range<255u>::int_range (this=0x7ff7edc0) at

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2021-11-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #6 from Zhendong Su --- (In reply to Martin Liška from comment #2) > Started with r12-5522-g661c02e54ea72fb5, note that ulimit -s 600 works fine > and I'm not fully convinced such a small stack limit should be an issue? > >

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2021-11-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #9 from Zhendong Su --- Created attachment 51893 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51893=edit partially reduced test

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2021-11-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #12 from Zhendong Su --- (In reply to Richard Biener from comment #11) > (In reply to Zhendong Su from comment #9) > > Created attachment 51893 [details] > > partially reduced test > > What's your default (unreduced) ulimit -s?

[Bug tree-optimization/103464] [12 Regression] ICE on valid code at -O1 (with -ftree-vrp and ulimit -s 512) on x86_64-linux-gnu: Segmentation fault since r12-5522-g661c02e54ea72fb5

2021-11-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103464 --- Comment #10 from Zhendong Su --- > Can you please attach the original test-case? Added. This was a partially reduced test; the original was: 15041 70889 783444 t.c

[Bug tree-optimization/103417] New: wrong code at -O1 and above on x86_64-linux-gnu

2021-11-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103417 Bug ID: 103417 Summary: wrong code at -O1 and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/103440] New: wrong code at -Os and above on x86_64-linux-gnu

2021-11-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103440 Bug ID: 103440 Summary: wrong code at -Os and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/103314] ICE on valid code at -O1 and above on x86_64-linux-gnu: Segmentation fault

2021-11-18 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103314 --- Comment #1 from Zhendong Su --- BT below: #0 0x011ee287 in wi::fits_to_tree_p > > > (x=..., type=0x765f15e8) at ../../gcc-trunk/gcc/tree.h:6263 #1 0x011ddf6f in force_fit_type (type=type@entry=0x765f15e8,

[Bug c/103314] New: ICE on valid code at -O1 and above on x86_64-linux-gnu: Segmentation fault

2021-11-18 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103314 Bug ID: 103314 Summary: ICE on valid code at -O1 and above on x86_64-linux-gnu: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug tree-optimization/102902] [12 Regression] -O3 produces code that uses an uninitialized variable but originally was not used by r12-3876

2021-11-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102902 --- Comment #6 from Zhendong Su --- Hi Richard, I just noticed that this issue was mis-categorized as a duplicate of 102920, which was filed later. It's not very important, but it would probably be nice to correctly label the issues in the bug

[Bug tree-optimization/103376] [12 Regression] wrong code at -Os and above on x86_64-linux-gnu since r12-5453-ga944b5dec3adb28e

2021-11-23 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103376 --- Comment #7 from Zhendong Su --- A couple of additional tests for the same issue: (1) at -Os and above [622] % gcctk -O1 small.c; ./a.out [623] % gcctk -Os small.c; ./a.out Aborted [624] % cat small.c long a = 2653121401; unsigned char b;

[Bug tree-optimization/103188] New: ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault

2021-11-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103188 Bug ID: 103188 Summary: ICE on valid code at -O2 and -O3 on x86_64-linux-gnu: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug tree-optimization/103006] New: wrong code at -O2 (only) on x86_64-linux-gnu

2021-10-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103006 Bug ID: 103006 Summary: wrong code at -O2 (only) on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/102902] New: wrong code at -O3 on x86_64-linux-gnu (generated code hangs)

2021-10-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102902 Bug ID: 102902 Summary: wrong code at -O3 on x86_64-linux-gnu (generated code hangs) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103152] New: wrong code at -O1 on x86_64-linux-gnu

2021-11-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103152 Bug ID: 103152 Summary: wrong code at -O1 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/103079] New: wrong code at -Os and -O2 on x86_64-linux-gnu (the generated code hangs)

2021-11-04 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103079 Bug ID: 103079 Summary: wrong code at -Os and -O2 on x86_64-linux-gnu (the generated code hangs) Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug ipa/103486] New: ICE on valid code at -Os and above on x86_64-linux-gnu: Segmentation fault

2021-11-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103486 Bug ID: 103486 Summary: ICE on valid code at -Os and above on x86_64-linux-gnu: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug ipa/103513] [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above since r12-5531-g1b0acc4b800b589a

2021-12-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/103300] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-4526-gd8edfadfc7a9795b

2021-12-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103300 --- Comment #6 from Zhendong Su --- Another test likely for the same issue: [652] % gcctk -O3 small.c; ./a.out Aborted [653] % gcctk -O2 -floop-unroll-and-jam small.c; ./a.out Aborted [654] % cat small.c int printf(const char *, ...); int

[Bug tree-optimization/102131] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-3136

2021-12-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102131 --- Comment #9 from Zhendong Su --- Perhaps the following is due to the same root cause? [558] % gcctk -O0 small.c; ./a.out [559] % gcctk -O1 small.c; ./a.out Aborted [560] % cat small.c int a; int main() { unsigned b = 0; for (a = 2; a <

[Bug tree-optimization/104543] wrong code at -O3 on x86_64-linux-gnu

2022-02-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104543 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/s1WW4snzM

[Bug tree-optimization/104543] New: wrong code at -O3 on x86_64-linux-gnu

2022-02-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104543 Bug ID: 104543 Summary: wrong code at -O3 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/104521] wrong code at -O2 and -O3 on x86_64-linux-gnu

2022-02-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104521 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/Y37Wo9e8c

[Bug tree-optimization/104519] New: wrong code at -Os on x86_64-linux-gnu

2022-02-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104519 Bug ID: 104519 Summary: wrong code at -Os on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/104519] wrong code at -Os on x86_64-linux-gnu

2022-02-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104519 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/s7Eco5EGb

[Bug tree-optimization/104521] New: wrong code at -O2 and -O3 on x86_64-linux-gnu

2022-02-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104521 Bug ID: 104521 Summary: wrong code at -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/104813] ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963

2022-03-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104813 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/6cfcq4Wed

[Bug ipa/104813] New: ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963

2022-03-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104813 Bug ID: 104813 Summary: ICE on valid code at -O3 on x86_64-linux-gnu: in adjust_references_in_caller, at ipa-cp.cc:4963 Product: gcc Version: unknown Status:

[Bug tree-optimization/104700] New: ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2795

2022-02-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 Bug ID: 104700 Summary: ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2795

[Bug tree-optimization/104700] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2795

2022-02-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/PKfrMK489

[Bug tree-optimization/104700] [12 Regression] ICE on valid code at -O2 and -O3 with -fno-tree-ccp -fno-tree-dce -fno-tree-vrp on x86_64-linux-gnu: in find_or_generate_expression, at tree-ssa-pre.cc:2

2022-02-26 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104700 --- Comment #3 from Zhendong Su --- Another test without using "-fno-tree-ccp -fno-tree-dce -fno-tree-vrp": [700] % gcctk -v Using built-in specs. COLLECT_GCC=gcctk

[Bug tree-optimization/104279] ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 --- Comment #1 from Zhendong Su --- >From Compiler Explorer: https://godbolt.org/z/465M9Kvx1

[Bug tree-optimization/104280] wrong code at -O1 and above

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 --- Comment #1 from Zhendong Su --- It might be related to PR 104279. Compiler Explorer: https://godbolt.org/z/szrGT9E7T

[Bug tree-optimization/104280] New: wrong code at -O1 and above

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104280 Bug ID: 104280 Summary: wrong code at -O1 and above Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/104281] New: wrong code at -O3

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104281 Bug ID: 104281 Summary: wrong code at -O3 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/104279] New: ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104279 Bug ID: 104279 Summary: ICE on valid code at -O1 and above on x86_64-linux-gnu: verify_gimple failed Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/104281] wrong code at -O3

2022-01-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104281 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/ovnrnEGj6

[Bug tree-optimization/111043] [14 regression] ICE in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1068

2023-09-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111043 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/111442] New: ICE on valid code at -O{s,2,3}: Segmentation fault signal terminated program cc1

2023-09-17 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug tree-optimization/111387] New: ICE on valid code at -O2 and -O3: verify_ssa failed

2023-09-12 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug tree-optimization/111355] New: ICE on valid code at -O1 and above: in lower_bound, at value-range.h:1078

2023-09-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111838] New: wrong code at -O3 on x86_64-linux-gnu

2023-10-16 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111823] New: ICE on valid code at -O1 and above on x86_64-linux-gnu: in verify_sra_access_forest, at tree-sra.cc:2414

2023-10-15 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug tree-optimization/112113] New: wrong code at -O3 on x86_64-linux-gnu

2023-10-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111043] [14 regression] ICE in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1068

2023-11-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/112333] New: ICE on valid code at -O2 and -O3: Segmentation fault

2023-11-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug tree-optimization/112282] New: wrong code (generated code hangs) at -O3 on x86_64-linux-gnu

2023-10-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug tree-optimization/112281] New: wrong code at -O3 on x86_64-linux-gnu

2023-10-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/112303] New: ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/112303] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed

2023-10-30 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug tree-optimization/112303] [14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_flow_info failed since r14-3459-g0c78240fd7d519

2023-10-31 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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?

[Bug tree-optimization/111652] New: wrong code at -O3 on x86_64-linux-gnu

2023-10-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111355] [14 Regression] ICE on valid code at -O1 and above: in lower_bound, at value-range.h:1078

2023-09-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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

[Bug c++/111482] [14 Regression] ice in lower_bound with -O3

2023-09-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111482 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/111727] New: wrong code at -O3 on x86_64-linux-gnu

2023-10-08 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111916] New: wrong code at -O1 and above on x86_64-linux-gnu (the generated code hangs)

2023-10-21 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111792] New: wrong code at -O3 on x86_64-linux-gnu

2023-10-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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:

[Bug tree-optimization/111727] [14 Regression] wrong code at -O3 on x86_64-linux-gnu

2023-10-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
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)

[Bug tree-optimization/105337] New: wrong code at -Os and above on x86_64-linux-gnu

2022-04-21 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105337 Bug ID: 105337 Summary: wrong code at -Os and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/105337] wrong code at -Os and above on x86_64-linux-gnu

2022-04-21 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105337 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/1bds4P7c7

[Bug tree-optimization/105665] wrong code at -Os and above on x86_64-linux-gnu

2022-05-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105665 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/jsT5Evv54

[Bug tree-optimization/105665] New: wrong code at -Os and above on x86_64-linux-gnu

2022-05-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105665 Bug ID: 105665 Summary: wrong code at -Os and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106198] [13 Regression] 25_algorithms/find_end/constrained.cc ICEs in check_loop_closed_ssa_def

2022-07-05 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106198 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/106171] wrong code at -O1 and above on x86_64-linux-gnu

2022-07-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106171 Zhendong Su changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/106171] New: wrong code at -O1 and above on x86_64-linux-gnu

2022-07-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106171 Bug ID: 106171 Summary: wrong code at -O1 and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106171] wrong code at -O1 and above on x86_64-linux-gnu

2022-07-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106171 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/eEhKn8x9T

[Bug tree-optimization/106171] wrong code at -O1 and above on x86_64-linux-gnu

2022-07-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106171 --- Comment #7 from Zhendong Su --- (In reply to Jakub Jelinek from comment #5) > And -O1 -Wall warns: > pr106171.c: In function ‘c’: > pr106171.c:10:15: warning: ‘e[0]’ is used uninitialized [-Wuninitialized] >10 | return e[0]; >

[Bug tree-optimization/106171] wrong code at -O1 and above on x86_64-linux-gnu

2022-07-03 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106171 --- Comment #3 from Zhendong Su --- Yes, you're right, Jakub. Then, it's a false negative for the sanitizers.

[Bug tree-optimization/106194] New: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717

2022-07-04 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106194 Bug ID: 106194 Summary: ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 Product: gcc Version: unknown

[Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717

2022-07-04 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106194 --- Comment #2 from Zhendong Su --- (In reply to Andrew Pinski from comment #1) > Most likely a dup of bug 106182. Yes, it should be. Sorry for the dup (the dup checker didn't show PR106182).

[Bug tree-optimization/106194] [13 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717

2022-07-04 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106194 Zhendong Su changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug tree-optimization/106182] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:717 since r13-1450-gd2a898666609452e

2022-07-04 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106182 Zhendong Su changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/106114] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-06-29 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106114 --- Comment #6 from Zhendong Su --- Two additional recent miscompiles that are likedly related: (1) [638] % gcctk -O0 small.c; ./a.out [639] % gcctk -O1 small.c [640] % ./a.out Aborted [641] % cat small.c int a, b; int main() { int c = 0,

[Bug tree-optimization/106114] New: wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-06-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106114 Bug ID: 106114 Summary: wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106112] New: wrong code at -Os and above on x86_64-linux-gnu

2022-06-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106112 Bug ID: 106112 Summary: wrong code at -Os and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106112] wrong code at -Os and above on x86_64-linux-gnu

2022-06-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106112 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/v6qY9d6q6

[Bug tree-optimization/106115] wrong code at -O2 and -O3 on x86_64-linux-gnu

2022-06-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106115 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/Pa3xqsE3E

[Bug tree-optimization/106115] New: wrong code at -O2 and -O3 on x86_64-linux-gnu

2022-06-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106115 Bug ID: 106115 Summary: wrong code at -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106114] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-06-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106114 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/T38WEd376

[Bug tree-optimization/106073] New: wrong code at -O3 on x86_64-linux-gnu

2022-06-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 Bug ID: 106073 Summary: wrong code at -O3 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/106073] wrong code at -O3 on x86_64-linux-gnu

2022-06-24 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106073 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/o3jq85vYK

[Bug tree-optimization/106032] New: wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 Bug ID: 106032 Summary: wrong code at -Os and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106032] wrong code at -Os and above on x86_64-linux-gnu

2022-06-19 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106032 --- Comment #1 from Zhendong Su --- Compiler Explorer: https://godbolt.org/z/PnTzaKsf4

[Bug target/106278] New: ICE on valid code at -Os and above on x86_64-linux-gnu: in ix86_output_ssemov, at config/i386/i386.cc:5555

2022-07-13 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106278 Bug ID: 106278 Summary: ICE on valid code at -Os and above on x86_64-linux-gnu: in ix86_output_ssemov, at config/i386/i386.cc: Product: gcc Version: unknown

[Bug ipa/106305] New: ICE on valid code at -O1 with -funreachable-traps: verify_cgraph_node failed

2022-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106305 Bug ID: 106305 Summary: ICE on valid code at -O1 with -funreachable-traps: verify_cgraph_node failed Product: gcc Version: unknown Status: UNCONFIRMED

[Bug rtl-optimization/106303] New: ICE on valid code at -O3 with -fno-inline-small-functions on x86_64-linux-gnu: in extract_insn, at recog.cc:2791

2022-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106303 Bug ID: 106303 Summary: ICE on valid code at -O3 with -fno-inline-small-functions on x86_64-linux-gnu: in extract_insn, at recog.cc:2791 Product: gcc Version:

[Bug c/106306] New: ICE on valid code at -O1 with -funreachable-traps -floop-unroll-and-jam --param unroll-jam-min-percent=0: in execute_todo, at passes.cc:2140

2022-07-14 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106306 Bug ID: 106306 Summary: ICE on valid code at -O1 with -funreachable-traps -floop-unroll-and-jam --param unroll-jam-min-percent=0: in execute_todo, at

[Bug target/106303] [13 Regression] ICE on valid code at -O3 with -fno-inline-small-functions on x86_64-linux-gnu: in extract_insn, at recog.cc:2791 since r13-1607-gc3ed9e0d6e96d869

2022-07-17 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106303 --- Comment #4 from Zhendong Su --- Here is another repro that ICEs at -O2 (without -fno-inline-small-functions). [570] % gcctk -v Using built-in specs. COLLECT_GCC=gcctk

[Bug tree-optimization/106414] New: wrong code at -O1 and above on x86_64-linux-gnu

2022-07-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106414 Bug ID: 106414 Summary: wrong code at -O1 and above on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/106414] [13 Regression] wrong code at -O1 and above on x86_64-linux-gnu by r13-1779

2022-07-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106414 --- Comment #2 from Zhendong Su --- A couple of related tests that fail at -O0: [587] % gcctk -O0 small.c [588] % ./a.out Aborted [589] % cat small.c int a, b, c, d; unsigned e; int main() { c = e = -((a && 1) ^ ~(b || 0)); if (e < -1)

[Bug tree-optimization/107109] New: ICE on valid code at -O1 on x86_64-linux-gnu: in type, at value-range.h:621

2022-10-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107109 Bug ID: 107109 Summary: ICE on valid code at -O1 on x86_64-linux-gnu: in type, at value-range.h:621 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug tree-optimization/107172] New: wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu

2022-10-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 Bug ID: 107172 Summary: wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/107229] New: ICE at -O1 and -Os with "-ftree-vectorize": verify_gimple failed

2022-10-12 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107229 Bug ID: 107229 Summary: ICE at -O1 and -Os with "-ftree-vectorize": verify_gimple failed Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107194] New: wrong code at -O1 on x86_64-linux-gnu

2022-10-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107194 Bug ID: 107194 Summary: wrong code at -O1 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/107195] New: wrong code with "-O1 -fno-tree-ccp" on x86_64-linux-gnu

2022-10-09 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107195 Bug ID: 107195 Summary: wrong code with "-O1 -fno-tree-ccp" on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug debug/107110] New: failure (length) with -fcompare-debug at -O1 and above

2022-10-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107110 Bug ID: 107110 Summary: failure (length) with -fcompare-debug at -O1 and above Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/107109] ICE on valid code at -O1 on x86_64-linux-gnu: in type, at value-range.h:621

2022-10-02 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107109 --- Comment #1 from Zhendong Su --- Another test that only reproduces at -O2 and -O3. [508] % gcctk -v Using built-in specs. COLLECT_GCC=gcctk

<    1   2   3   4   >