[Bug tree-optimization/110705] New: ICE at -O2 and above: in gimplify_modify_expr, at gimplify.cc:6255 (on GCC-12.x)

2023-07-17 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110705 Bug ID: 110705 Summary: ICE at -O2 and above: in gimplify_modify_expr, at gimplify.cc:6255 (on GCC-12.x) Product: gcc Version: 12.3.0 Status: UNCONFIRMED

[Bug tree-optimization/110129] Possible wrong-code on -O2 and above (affecting versions from GCC-10.1 onward)

2023-06-05 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110129 --- Comment #2 from Haoxin Tu --- (In reply to Andrew Pinski from comment #1) Oops, my bad. Thank you for pointing this out. I didn't notice the front-end is C++ in GodBolt. I have another similar case, can you take a look, please? ```

[Bug tree-optimization/110129] New: Possible wrong-code on -O2 and above (affecting versions from GCC-10.1 onward)

2023-06-05 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110129 Bug ID: 110129 Summary: Possible wrong-code on -O2 and above (affecting versions from GCC-10.1 onward) Product: gcc Version: 14.0 Status: UNCONFIRMED

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

2021-11-30 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103513 Bug ID: 103513 Summary: [12 Regression] ICE in evaluate_conditions_for_known_args, at ipa-fnsummary.c:516 with -O2 and above Product: gcc Version: 12.0

[Bug tree-optimization/103237] New: wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu

2021-11-14 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103237 Bug ID: 103237 Summary: wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug tree-optimization/103222] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2021-11-13 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103222 --- Comment #6 from Haoxin Tu --- (In reply to Aldy Hernandez from comment #5) > fixed Thank you for the quick fixing!

[Bug tree-optimization/103222] New: [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2021-11-13 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103222 Bug ID: 103222 Summary: [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug tree-optimization/103219] New: [12 Regression] ICE Segmentation fault at -O3 (during GIMPLE pass: unrolljam)

2021-11-12 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103219 Bug ID: 103219 Summary: [12 Regression] ICE Segmentation fault at -O3 (during GIMPLE pass: unrolljam) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

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

2021-11-12 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103209 Bug ID: 103209 Summary: [12 Regression] wrong code at -O1 on x86_64-linux-gnu Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug tree-optimization/103204] New: [11/12 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above)

2021-11-11 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103204 Bug ID: 103204 Summary: [11/12 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above) Product: gcc Version: 12.0 Status:

[Bug tree-optimization/102561] [12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (on -O2 and above)

2021-10-01 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102561 --- Comment #1 from Haoxin Tu --- Similar case: #include int a; void b(int c) { uint16_t d; uint16_t *e; int16_t f; int64_t g; if ((g || (d = 0)) == c << (0 <= (*e ^= c))) *e - f && (a = d); } Error: during GIMPLE pass:

[Bug tree-optimization/102561] New: [12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (on -O2 and above)

2021-10-01 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102561 Bug ID: 102561 Summary: [12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (on -O2 and above) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c/102356] New: compile-time explosion at -O3

2021-09-15 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102356 Bug ID: 102356 Summary: compile-time explosion at -O3 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3

[Bug target/102057] New: ICE at -O2 in extract_constrain_insn, at recog.c:2670

2021-08-25 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102057 Bug ID: 102057 Summary: ICE at -O2 in extract_constrain_insn, at recog.c:2670 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity:

[Bug middle-end/99694] [9 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-08-04 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 --- Comment #17 from Haoxin Tu --- Thank you all for the detailed clarification! I have got the answer now. Let's try together to make compilers a better place:)

[Bug middle-end/99694] [9 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-08-04 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 --- Comment #13 from Haoxin Tu --- (In reply to Martin Liška from comment #12) Ok, got you. Thanks for your speedy reply~

[Bug middle-end/99694] [9 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-08-04 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 --- Comment #11 from Haoxin Tu --- Hi all. I hope you all are doing well. I am sorry to bother you again. May I ask a quick question about how do you treat the bug-revealing test case which may include the valid syntax but contain the UB?

[Bug target/100626] [11/12 Regression] ICE Segmentation fault (during RTL pass: split1) since r11-165-geb72dc663e9070b2

2021-05-17 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100626 --- Comment #4 from Haoxin Tu --- I found that it also crashes (under -O1 and -Os) on today's trunk version of GCC. $cat small.c #include int a; void b() { int c; uint64_t *d = uint8_t *e; if (a) *d &= *e; if (*d) for (;;)

[Bug target/100626] ICE Segmentation fault (during RTL pass: split1)

2021-05-16 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100626 --- Comment #1 from Haoxin Tu --- Another test case that crashes on all -O1 to -Os. $cat small.c #include int uc_4, i_5, us_7; void fn1() { int li_18; int64_t *ptr_43 = _18; for (; us_7;) { fn2(); *ptr_43 ^= uc_4; } i_5 =

[Bug tree-optimization/100626] New: ICE Segmentation fault (during RTL pass: split1)

2021-05-16 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100626 Bug ID: 100626 Summary: ICE Segmentation fault (during RTL pass: split1) Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/100578] New: [12 Regression] ICE Segmentation fault during GIMPLE pass: fre (under -g -O2/O3/Os)

2021-05-12 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100578 Bug ID: 100578 Summary: [12 Regression] ICE Segmentation fault during GIMPLE pass: fre (under -g -O2/O3/Os) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/100512] [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os)

2021-05-10 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100512 --- Comment #1 from Haoxin Tu --- (In reply to Haoxin Tu from comment #0) > $gcc -w -O2 Sorry, it's an incomplete command here. It should be "gcc -w -O2 small.c".

[Bug tree-optimization/100512] New: [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os)

2021-05-10 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100512 Bug ID: 100512 Summary: [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os) Product: gcc Version:

[Bug tree-optimization/100349] New: [11/12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (under -O2 to -Os)

2021-04-30 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100349 Bug ID: 100349 Summary: [11/12 Regression] ICE Segmentation fault during GIMPLE pass: evrp (under -O2 to -Os) Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/99947] [11 Regression] ICE Segmentation fault "during GIMPLE pass: vect" since r11-4714-g092cdbd919849759

2021-04-07 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99947 --- Comment #7 from Haoxin Tu --- Thank you all for your quick response and fixing! Cheers, Haoxin

[Bug tree-optimization/99947] New: [11 Regression] ICE Segmentation fault "during GIMPLE pass: vect"

2021-04-06 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99947 Bug ID: 99947 Summary: [11 Regression] ICE Segmentation fault "during GIMPLE pass: vect" Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug c/99880] New: ICE in maybe_set_vectorized_backedge_value, at tree-vect-loop.c:9161

2021-04-01 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99880 Bug ID: 99880 Summary: ICE in maybe_set_vectorized_backedge_value, at tree-vect-loop.c:9161 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/99694] [9 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-27 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 --- Comment #7 from Haoxin Tu --- (In reply to Martin Liška from comment #1) > Confirmed, started with r9-7156-g33579b59aaf02eb7. Hi Martin. I am sorry to bother you, and I just have a question about how to find a bad commit quickly in GCC. As

[Bug c/99694] New: gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os

2021-03-21 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 Bug ID: 99694 Summary: gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/97969] [9/10/11 Regression][ARM/Thumb] Certain combo of codegen options leads to compilation infinite loop with growing memory use

2020-12-07 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969 --- Comment #12 from Haoxin Tu --- (In reply to Paul Sokolovsky from comment #11) Awesome! I got your main idea here. Thank you very much, Paul! Best, Haoxin

[Bug target/97969] [9/10/11 Regression][ARM/Thumb] Certain combo of codegen options leads to compilation infinite loop with growing memory use

2020-12-07 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969 --- Comment #9 from Haoxin Tu --- (In reply to ktkachov from comment #8) > When I had to do it in the past I've used the 'ulimit' command in linux. > That allows you to kill a process if it exceeds a time limit (ulimit -t) or > a memory limit

[Bug target/97969] [9/10/11 Regression][ARM/Thumb] Certain combo of codegen options leads to compilation infinite loop with growing memory use

2020-12-05 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969 Haoxin Tu changed: What|Removed |Added CC||haoxintu at gmail dot com --- Comment #7

[Bug tree-optimization/98074] New: [9/10 Regression] C Wrong code at O2~Os

2020-11-30 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98074 Bug ID: 98074 Summary: [9/10 Regression] C Wrong code at O2~Os Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/98051] ICE in logical_combine, at gimple-range-gori.cc:754 in O2-Os

2020-11-29 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98051 --- Comment #3 from Haoxin Tu --- (In reply to H.J. Lu from comment #2) > Please try the current master branch. Ok, I can't reproduce it in the current trunk, either. Will check more next time before I submit a report. BTW, could you please

[Bug c/98051] ICE in logical_combine, at gimple-range-gori.cc:754 in O2-Os

2020-11-29 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98051 --- Comment #1 from Haoxin Tu --- *** Bug 98050 has been marked as a duplicate of this bug. ***

[Bug c/98050] in logical_combine, at gimple-range-gori.cc:754

2020-11-29 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98050 Haoxin Tu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug c/98051] New: ICE in logical_combine, at gimple-range-gori.cc:754 in O2-Os

2020-11-29 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98051 Bug ID: 98051 Summary: ICE in logical_combine, at gimple-range-gori.cc:754 in O2-Os Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c/98050] New: in logical_combine, at gimple-range-gori.cc:754

2020-11-29 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98050 Bug ID: 98050 Summary: in logical_combine, at gimple-range-gori.cc:754 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c