[Bug libstdc++/116140] [15 Regression] 5-35% slowdown of 483.xalancbmk and 523.xalancbmk_r since r15-2356-ge69456ff9a54ba

2025-01-13 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116140 Feng Xue changed: What|Removed |Added CC||fxue at os dot amperecomputing.com --- Comm

[Bug tree-optimization/118217] New: Dot-product for square on difference of two small type integers

2024-12-27 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118217 Bug ID: 118217 Summary: Dot-product for square on difference of two small type integers Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/118215] New: Miss runtime alias check for vectorization

2024-12-27 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118215 Bug ID: 118215 Summary: Miss runtime alias check for vectorization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug tree-optimization/118213] New: IVOPT causes superfluous IVs

2024-12-26 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118213 Bug ID: 118213 Summary: IVOPT causes superfluous IVs Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizatio

[Bug tree-optimization/118028] New: A better vectorized reduction across multi-level loop-nest

2024-12-13 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118028 Bug ID: 118028 Summary: A better vectorized reduction across multi-level loop-nest Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117738] New: Failure to recognize dot-product pattern in inner loop

2024-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117738 Bug ID: 117738 Summary: Failure to recognize dot-product pattern in inner loop Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 C

[Bug tree-optimization/117607] New: unnecessary scev optimization for popcnt

2024-11-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117607 Bug ID: 117607 Summary: unnecessary scev optimization for popcnt Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug tree-optimization/117282] Miss optimization to eliminate strlen computation

2024-10-24 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117282 --- Comment #3 from Feng Xue --- (In reply to Andrew Pinski from comment #2) > >could we introduce a new option like -mcmodel-dyn{=tiny/small/large} as a > >supplement to -mcmode > > This would cause too many confusion really. especially depen

[Bug tree-optimization/117282] New: Miss optimization to eliminate strlen computation

2024-10-24 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117282 Bug ID: 117282 Summary: Miss optimization to eliminate strlen computation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/116855] [14/15 Regression] Unsafe early-break vectorization

2024-10-06 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116855 --- Comment #5 from Feng Xue --- (In reply to Tamar Christina from comment #4) > (In reply to Richard Biener from comment #3) > > I would suggest to add a STMT_VINFO_ENSURE_NOTRAP or so and delay actual > > verification to vectorizable_load when

[Bug tree-optimization/116855] New: Unsafe early-break vectorization

2024-09-26 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116855 Bug ID: 116855 Summary: Unsafe early-break vectorization Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimiz

[Bug target/116825] New: aarch64: unnecessary vector perm combination

2024-09-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116825 Bug ID: 116825 Summary: aarch64: unnecessary vector perm combination Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/116684] [vectorization][x86-64] dot_16x1x16_uint8_int8_int32 could be better optimized

2024-09-13 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116684 --- Comment #4 from Feng Xue --- (In reply to Richard Biener from comment #3) > Since the reduction opportunity is in the unrolled scalar inner loop we'd > have > to know how DOT_PROD combines lanes which we do not specify but instead > expect t

[Bug tree-optimization/115060] [15 Regression] Probable an issue around usage of vect_look_through_possible_promotion in tree-vect-patterns.cc

2024-08-05 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115060 Feng Xue changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/115228] Suspicious code in tree-vect-data-refs.cc

2024-08-05 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115228 Feng Xue changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/115707] [15 regression] FAIL in gcc.target/aarch64/sve/sad_1.c since r15-863-ga3aeff4ce95b

2024-06-29 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115707 --- Comment #2 from Feng Xue --- (In reply to Andrew Pinski from comment #1) > Confirmed. This is known to be another new bug, and has been recorded in PR115060.

[Bug tree-optimization/114814] Reduction sum of comparison should be better

2024-06-20 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114814 --- Comment #3 from Feng Xue --- The pattern to match the code belongs to a generic dot-product category, we could consider mapping it to native dot-product instruction with a constant "1" operand. moviv29.16b, 0x1 .L4: ldr

[Bug tree-optimization/115060] Probable an issue around usage of vect_look_through_possible_promotion in tree-vect-patterns.cc

2024-06-01 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115060 --- Comment #3 from Feng Xue --- Linaro reported a regression: https://linaro.atlassian.net/browse/GNU-1226 Actually, this is not, but exposes a new bug in vect_look_through_possible_promotion. The function fails to figure out root definition i

[Bug tree-optimization/115228] New: Suspicious code in tree-vect-data-refs.cc

2024-05-25 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115228 Bug ID: 115228 Summary: Suspicious code in tree-vect-data-refs.cc Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug tree-optimization/115060] New: Probable an issue around usage of vect_look_through_possible_promotion in tree-vect-patterns.cc

2024-05-12 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115060 Bug ID: 115060 Summary: Probable an issue around usage of vect_look_through_possible_promotion in tree-vect-patterns.cc Product: gcc Version: 15.0 St

[Bug tree-optimization/114769] [14 Regression] Suspicious code in vect_recog_sad_pattern() since r14-1832

2024-04-19 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114769 --- Comment #3 from Feng Xue --- When half_type is null, and call chain would be: vect_supportable_direct_optab_p (vinfo, sum_type, SAD_EXPR, NULL, ...) -> get_vectype_for_scalar_type (vinfo, NULL) -> get_related_vectype_for_scalar_type

[Bug tree-optimization/114769] New: Suspicious code in vect_recog_sad_pattern()

2024-04-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114769 Bug ID: 114769 Summary: Suspicious code in vect_recog_sad_pattern() Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug tree-optimization/114440] New: Fail to recognize a chain of lane-reduced operations for loop reduction vect

2024-03-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114440 Bug ID: 114440 Summary: Fail to recognize a chain of lane-reduced operations for loop reduction vect Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2024-01-30 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 Feng Xue changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/113326] Optimize vector shift with constant delta on shifting-count operand

2024-01-11 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113326 --- Comment #7 from Feng Xue --- (In reply to Richard Biener from comment #6) > (In reply to Andrew Pinski from comment #5) > > One more thing: > > ``` > > vect_shift_0 = vect_value >> { 0, 1, 2, 3 }; > > vect_shift_1 = vect_value >> { 4, 5, 6

[Bug target/113326] Optimize vector shift with constant delta on shifting-count operand

2024-01-10 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113326 --- Comment #3 from Feng Xue --- (In reply to Andrew Pinski from comment #1) > Note on aarch64 with SVE, you should be able to generate those constants > without a load, using the index instruction. Ok. Thanks for the note. This still requires

[Bug tree-optimization/113326] New: Optimize vector shift with constant delta on shifting-count operand

2024-01-10 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113326 Bug ID: 113326 Summary: Optimize vector shift with constant delta on shifting-count operand Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/113104] Suboptimal loop-based slp node splicing across iterations

2024-01-09 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113104 Feng Xue changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2023-12-29 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 --- Comment #8 from Feng Xue --- https://gcc.gnu.org/pipermail/gcc-patches/2023-December/641547.html

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2023-12-26 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 --- Comment #7 from Feng Xue --- > The issue here is that because the "outer" pattern consumes > patt_64 = (int) patt_63 it should have adjusted _2 = (int) _1 > stmt-to-vectorize > as being the outer pattern root stmt for all this logic to work

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2023-12-21 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 --- Comment #6 from Feng Xue --- (In reply to Richard Sandiford from comment #5) > > The issue here is that because the "outer" pattern consumes > > patt_64 = (int) patt_63 it should have adjusted _2 = (int) _1 > > stmt-to-vectorize > > as bein

[Bug tree-optimization/113104] Suboptimal loop-based slp node splicing across iterations

2023-12-21 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113104 --- Comment #2 from Feng Xue --- (In reply to Richard Biener from comment #1) > See my proposal on the mailing list to lift the restriction of sticking to a > single vector size, I think this is another example showing this. If you > use BB lev

[Bug tree-optimization/113104] New: Suboptimal loop-based slp node splicing across iterations

2023-12-21 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113104 Bug ID: 113104 Summary: Suboptimal loop-based slp node splicing across iterations Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2023-12-20 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 --- Comment #3 from Feng Xue --- The function vect_bb_vectorization_profitable_p resorts to a recursive way to identify scalar use, for this case, setting STMT_VINFO_LIVE_P or not would not change scalar cost computation.

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2023-12-20 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 --- Comment #2 from Feng Xue --- (In reply to Richard Biener from comment #1) > It's the logic > > FOR_EACH_VEC_ELT (SLP_TREE_SCALAR_STMTS (node), i, stmt_info) > { > if (svisited.contains (stmt_info)) > continue; > st

[Bug tree-optimization/113091] New: Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2023-12-20 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 Bug ID: 113091 Summary: Over-estimate SLP vector-to-scalar cost for non-live pattern statement Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-08-02 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 Feng Xue changed: What|Removed |Added CC||fxue at os dot amperecomputing.com --- Comm

[Bug tree-optimization/109427] New: Wrong param description in param.opt

2023-04-05 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109427 Bug ID: 109427 Summary: Wrong param description in param.opt Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug ipa/108445] Address expression on global variable is not normalized

2023-01-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 --- Comment #1 from Feng Xue --- Created attachment 54297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54297&action=edit testcase

[Bug ipa/108445] New: Address expression on global variable is not normalized

2023-01-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108445 Bug ID: 108445 Summary: Address expression on global variable is not normalized Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #8 from Feng Xue --- (In reply to Andrew Pinski from comment #7) > (In reply to Feng Xue from comment #6) > > (In reply to Andrew Pinski from comment #2) > > > https://en.cppreference.com/w/c/program/setjmp > > > > I think that most

[Bug rtl-optimization/108117] Wrong instruction scheduling on value coming from abnormal SSA

2022-12-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 --- Comment #6 from Feng Xue --- (In reply to Andrew Pinski from comment #2) > https://en.cppreference.com/w/c/program/setjmp I think that most programmers are not aware of this, neither I for sure. Usage of volatile here is not that intuitive

[Bug rtl-optimization/108117] New: Wrong instruction scheduling on value coming from abnormal SSA

2022-12-14 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108117 Bug ID: 108117 Summary: Wrong instruction scheduling on value coming from abnormal SSA Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107828] tree-inlining would generate SSA with incorrect def stmt

2022-12-13 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107828 Feng Xue changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug lto/107829] New: Trivial compile time tracking code

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107829 Bug ID: 107829 Summary: Trivial compile time tracking code Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug tree-optimization/107828] New: tree-inlining would generate SSA with incorrect def stmt

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107828 Bug ID: 107828 Summary: tree-inlining would generate SSA with incorrect def stmt Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal P

[Bug tree-optimization/107818] New: Overflow of linemap breaks its chronological order

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107818 Bug ID: 107818 Summary: Overflow of linemap breaks its chronological order Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug ipa/107670] New: Suspicious redundant code in ipa-cp

2022-11-13 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107670 Bug ID: 107670 Summary: Suspicious redundant code in ipa-cp Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug tree-optimization/107066] Field initialized before ctor is mis-optimized away by DSE

2022-09-28 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107066 --- Comment #3 from Feng Xue --- Got it. Thanks for that.

[Bug tree-optimization/107066] New: Field initialized before ctor is mis-optimized away by DSE

2022-09-28 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107066 Bug ID: 107066 Summary: Field initialized before ctor is mis-optimized away by DSE Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug ipa/102513] [10/11/12 Regression] Many false positive warnings with recursive function

2022-02-14 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102513 --- Comment #10 from Feng Xue --- (In reply to Martin Jambor from comment #8) > I am about to thest the following patch. In longer-run, it would be better > to never generate lattice values outside of the value_range but there is an > ordering

[Bug ipa/104377] Unreachable code in create_specialized_node of ipa-prop.c?

2022-02-14 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104377 --- Comment #4 from Feng Xue --- (In reply to Martin Jambor from comment #2) > (In reply to Feng Xue from comment #1) > > > > OK. I does missed something. Here we could not hold assumption that > > ipcp_decision_stage() only sees raw cgraph nod

[Bug tree-optimization/102513] [10/11/12 Regression] Many false positive warnings with recursive function

2022-02-05 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102513 Feng Xue changed: What|Removed |Added CC||fxue at os dot amperecomputing.com --- Comm

[Bug ipa/104377] Unreachable code in create_specialized_node of ipa-prop.c?

2022-02-04 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104377 --- Comment #1 from Feng Xue --- (In reply to Feng Xue from comment #0) > For function create_specialized_node(), the "node" to operated on seems > always to be an original cgraph node, never a clone node. From call graph > related to the functi

[Bug ipa/104377] New: Unreachable code in create_specialized_node of ipa-prop.c?

2022-02-03 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104377 Bug ID: 104377 Summary: Unreachable code in create_specialized_node of ipa-prop.c? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/103786] New: Suspicious code in verify_type

2021-12-21 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103786 Bug ID: 103786 Summary: Suspicious code in verify_type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizat

[Bug tree-optimization/100802] VRP fails to fold comparison using known value orders

2021-11-15 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100802 Feng Xue changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Feng Xue --- V

[Bug bootstrap/102681] [12 Regression] AArch64 bootstrap failure

2021-10-14 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102681 --- Comment #4 from Feng Xue --- (In reply to Martin Sebor from comment #3) > Simply initializing the variable as in the patch below avoids the warning. > The control flow in the code is sufficiently opaque to make it worthwhile > from a readab

[Bug tree-optimization/102681] New: AArch64 bootstrap failure

2021-10-10 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102681 Bug ID: 102681 Summary: AArch64 bootstrap failure Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/102451] Suspicious null-pointer dereference in delete_dead_or_redundant_call

2021-09-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102451 Feng Xue changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/102400] Field might miss initialization in vn_reference_insert_pieces()

2021-09-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400 Feng Xue changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/102451] Suspicious null-pointer dereference in delete_dead_or_redundant_call

2021-09-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102451 --- Comment #2 from Feng Xue --- (In reply to Richard Biener from comment #1) > Confirmed. Mind fixing it by recording the basic-block index before > removing/replacing? OK.

[Bug tree-optimization/102451] New: Suspicious null-pointer dereference in delete_dead_or_redundant_call

2021-09-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102451 Bug ID: 102451 Summary: Suspicious null-pointer dereference in delete_dead_or_redundant_call Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/102400] New: Field might miss initialization in vn_reference_insert_pieces()

2021-09-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102400 Bug ID: 102400 Summary: Field might miss initialization in vn_reference_insert_pieces() Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/102214] New: ICE when compiling local class with -fno-weak

2021-09-06 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102214 Bug ID: 102214 Summary: ICE when compiling local class with -fno-weak Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/101502] Inconsistent behavior in maybe_record_node()

2021-07-23 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101502 --- Comment #2 from Feng Xue --- (In reply to Martin Liška from comment #1) > @Honza: Can you please take a look? > @Feng: Do you have a test-case for it, please? No. I just got this from code logic, but not 100% sure.

[Bug ipa/101502] New: Inconsistent behavior in maybe_record_node()

2021-07-18 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101502 Bug ID: 101502 Summary: Inconsistent behavior in maybe_record_node() Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/100802] New: VRP fails to fold comparison with known value orders

2021-05-27 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100802 Bug ID: 100802 Summary: VRP fails to fold comparison with known value orders Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c++/100580] New: ICE with -fdump-passes

2021-05-12 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100580 Bug ID: 100580 Summary: ICE with -fdump-passes Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug tree-optimization/100222] New: Redundant mark_irreducible_loops () in predicate.c

2021-04-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100222 Bug ID: 100222 Summary: Redundant mark_irreducible_loops () in predicate.c Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug ipa/99951] Dead return value after modify_call() is not released

2021-04-07 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99951 --- Comment #2 from Feng Xue --- Can we report error in verify_ssa() when a non-default SSA's defining statement has NULL bb, which is always a case that the statement is removed somewhere?

[Bug ipa/99951] New: Dead return value after modify_call() is not released

2021-04-07 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99951 Bug ID: 99951 Summary: Dead return value after modify_call() is not released Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug ipa/98815] Redundant free_dominance_info in cgraph_node::analyze()

2021-01-25 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98815 --- Comment #2 from Feng Xue --- If we step into free_dominance_info(dir), it is a wrapper of free_dominance_info (cfun, dir), which means it assumes a non-NULL "cfun". Additionally, please go through calling stack of free_dominance_info(): f

[Bug tree-optimization/98815] New: Redundant free_dominance_info in cgraph_node::analyze()

2021-01-25 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98815 Bug ID: 98815 Summary: Redundant free_dominance_info in cgraph_node::analyze() Product: gcc Version: tree-ssa Status: UNCONFIRMED Severity: normal Pri

[Bug rtl-optimization/98782] IRA artificially creating spills due to BB frequencies

2021-01-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 Feng Xue changed: What|Removed |Added CC||fxue at os dot amperecomputing.com --- Comme