[Bug rtl-optimization/101169] [10 regression] test case gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r10-9880

2023-10-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101169 --- Comment #6 from Kewen Lin --- PR111850 reminded me this bug, the sub-optimal issue described in #comment 4 has been fixed on latest trunk, I think it's r14-4664-g04c9cf5c786b94.

[Bug testsuite/111850] [14 regression] gcc.target/powerpc/fold-vec-extract-char.p7.c fails after r14-4664-g04c9cf5c786b94

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111850 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #3

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #6 from Kewen Lin --- Created attachment 55919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55919=edit tested patch

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Kewen Lin changed: What|Removed |Added Keywords||wrong-code CC|

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Kewen Lin changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #13

[Bug middle-end/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-09-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
-code |testsuite-fail Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||linkw at gcc dot gnu.org Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
, ||linkw at gcc dot gnu.org, ||segher at gcc dot gnu.org Last reconfirmed||2023-09-26 Status|UNCONFIRMED |NEW Ever confirmed|0 |1

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #8 from Kewen Lin --- (In reply to Richard Biener from comment #7) > I suppose it works with -fno-tree-vectorize ontop of the flags? Appending -fno-tree-vectorize at the end of the given flags in #c1 (-mstrict-align version), it

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-09-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #10 from Kewen Lin --- Thanks for both of your comments! (In reply to Peter Bergner from comment #8) > Mike will know better than I, but I like the idea of the patch! Looking forward to Mike's reply. :) (In reply to Segher

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-09-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 --- Comment #13 from Kewen Lin --- (In reply to Michael Meissner from comment #12) > Basically I did not consider the case. IIRC, you only need the stack > protect DI mode case if the stack is large enough (more than 32K). I don't > think

[Bug target/108396] [12/13 Regression] PPCLE: vec_vsubcuq missing since r12-5752-gd08236359eb229

2023-10-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108396 --- Comment #10 from Kewen Lin --- (In reply to Carl Love from comment #9) > I made a copy of rs6000-overload.def and then with a series of emacs macros > converted the list of builtins to a script to grep for the builtins in the > test

[Bug testsuite/111427] [14 regression] gfortran.dg/vect/pr60510.f fails after r14-3999-g3c834d85f2ec42

2023-10-11 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111427 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111784] [14 Regression] aarch64: ldp_stp_{15, 16, 17, 18}.c test failures since r14-4579

2023-10-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
: |ldp_stp_{15,16,17,18}.c |ldp_stp_{15,16,17,18}.c |test failures |test failures since ||r14-4579 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0

[Bug target/111828] rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111828 Kewen Lin changed: What|Removed |Added Priority|P3 |P4 --- Comment #8 from Kewen Lin --- (In

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #21 from Kewen Lin --- For optimized IR: a$raw$3_220 = D.39813.rawD.30221[3]; vect_a_raw_4_70.539_1584 = MEM [(short intD.20 *) + 8B]; _1640 = a$raw$0_221 & 255; _1649 = a$raw$1_74 & 255; _1658 = a$raw$2_264 & 255; _52

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #24 from Kewen Lin --- (In reply to Richard Biener from comment #22) > I see the mems properly get their base adjusted: > > (insn 384 383 0 (set (mem/c:V2DI (plus:DI (reg/f:DI 112 virtual-stack-vars) > (const_int 16

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #26 from Kewen Lin --- (In reply to Richard Biener from comment #25) > (In reply to Kewen Lin from comment #24) > > (In reply to Richard Biener from comment #22) > > > I see the mems properly get their base adjusted: > > > > > >

[Bug target/111784] [14 Regression] aarch64: ldp_stp_{15, 16, 17, 18}.c test failures since r14-4579

2023-10-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111784 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111367] Error: operand out of range (0x1391c is not between 0xffffffffffff8000 and 0x7fff)

2023-10-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111367 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111366] error: inlining failed in call to 'always_inline' 'hwy::PreventElision(int&)void': target specific option mismatch

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/111380] Inconsistent behaviors between non-LTO and LTO

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111380 Kewen Lin changed: What|Removed |Added Keywords||wrong-code Status|ASSIGNED

[Bug target/111828] New: rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
: enhancement Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org CC: jan.wassenberg at gmail dot com, john_platts at hotmail dot com, linkw at gcc dot gnu.org, malat

[Bug target/111522] Different code path for static initialization with flto

2023-10-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111522 Kewen Lin changed: What|Removed |Added Resolution|--- |INVALID CC|

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #20 from Kewen Lin --- (In reply to Richard Biener from comment #19) > So maybe it's the same issue as PR90348 (you can verify the RTL expansion > dump on whether the two involved decls are coalesced and see whether that's > valid).

[Bug target/111591] ppc64be: miscompilation with -mstrict-align / -O3

2023-10-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111591 --- Comment #31 from Kewen Lin --- Thanks for the explanation from both of you! (In reply to Richard Biener from comment #30) > Created attachment 56175 [details] > prototype patch I confirmed that this fix can make test case (#c9 + #c10) and

[Bug target/111828] rs6000: Parse inline asm string to figure out it requires HTM feature or not.

2023-10-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111828 --- Comment #9 from Kewen Lin --- Peter had a check on gnu assembler (Thanks!) and found that even with -mpower10 specified it's still able to assemble HTM insns, so it means that for some callee with power8 attributed has HTM inline asm, it

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-08-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #13 from Kewen Lin --- (In reply to Richard Biener from comment #12) > I think a "too broad" dependence isn't bad. The cris specific solution also > looks manageable, though I wonder what's special about x-protos.h, knowing > very

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #14 from Kewen Lin --- (In reply to Kewen Lin from comment #13) > (In reply to Richard Biener from comment #12) > > I think a "too broad" dependence isn't bad. The cris specific solution also > > looks manageable, though I wonder

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org --- Comment #2 from Kewen Lin --- Thanks for reporting, I think the culprit is r14-3093 instead of r14-3092? I think the other build/gen*.cc building don't have this issue, since none of them includes recog.h themselves

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 --- Comment #10 from Kewen Lin --- (In reply to Hans-Peter Nilsson from comment #7) > Exactly; I'm happy that we seem to be on the same page here. > > I'm testing a patch for CRIS (making the hook function just a wrapper, > reverting the

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others

2023-08-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug bootstrap/111021] [14 Regression] Serial build broken for CRIS, ARM, and others since r14-3092

2023-08-18 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111021 Kewen Lin changed: What|Removed |Added Summary|[14 Regression] Serial |[14 Regression] Serial

[Bug target/105334] [12 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads)

2022-04-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105334 --- Comment #5 from Kewen Lin --- Oops, sorry that I just verified the original case in PR103623 previously, missed to find it doesn't have pack bif. Maybe we could add one test case to cover both unpack and pack ICEs, such as: $cat

[Bug target/105325] power10: Error: operand out of range

2022-04-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 --- Comment #10 from Kewen Lin --- (In reply to Jakub Jelinek from comment #9) > where it no longer satisfies the predicate but does satisfy the constraint. > It is unclear if there is any matching constraint for ds_form_mem_operand, > maybe

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/105325] power10: Error: operand out of range

2022-04-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #5

[Bug testsuite/105267] [12 regression] gcc.target/powerpc/pr56605.c fails after r12-8128-g6b7cc7294770ec

2022-04-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105267 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2

[Bug testsuite/105267] [12 regression] gcc.target/powerpc/pr56605.c fails after r12-8128-g6b7cc7294770ec

2022-04-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105267 --- Comment #1 from Kewen Lin --- *** Bug 105313 has been marked as a duplicate of this bug. ***

[Bug testsuite/105313] [12 regression] gcc.target/powerpc/pr56605.c fails after r12-8128-g6b7cc7294770ec

2022-04-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105313 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/101714] [POWER] vec_min / vec_max handles NaN incorrectly when evaluated at compile time

2022-04-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
||2022-04-07 Ever confirmed|0 |1 CC||bergner at gcc dot gnu.org, ||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- On current trunk (GCC12), this issue

[Bug target/105271] [12 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn)

2022-04-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105271 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/105620] [13 regression] g++.dg/tsan/pr88018.C fails after r13-456-geccbd7fcee5bbf

2022-05-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
, ||linkw at gcc dot gnu.org --- Comment #2 from Kewen Lin --- > Would it be correct to move this test from g++.dg/tsan to g++.target/powerpc > ? (Or, do I need to move pr69667.C back to its original location? Or, do I > need to update the path within pr88018

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 Kewen Lin changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #7 from Kewen Lin --- I wonder if it's fine to move init_function_start downward after execute_all_ipa_transforms call? the testing is ongoing. --- a/gcc/cgraphunit.cc +++ b/gcc/cgraphunit.cc @@ -1817,7 +1817,6 @@

[Bug debug/105586] [11/12/13 Regression] -fcompare-debug failure (length) with -O2 -fno-if-conversion -mtune=power4 -fno-guess-branch-probability

2022-05-15 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105586 Kewen Lin changed: What|Removed |Added CC||jskumari at gcc dot gnu.org,

[Bug target/105648] .cfi_startproc in wrong position when -fpatchable-function-entry= is enabled on ppc64le

2022-05-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105648 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2

[Bug debug/105627] -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu

2022-05-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |linkw at gcc dot gnu.org --- Comment #2 from Kewen Lin --- Thanks for reporting and triaging. Although loops in function rs6000_analyze_swaps only handles NONDEBUG_INSN_P insns, when doing unionfind_union it's still possible to union with debug insn, as some def reg

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #8 from Kewen Lin --- (In reply to Kewen Lin from comment #7) > I wonder if it's fine to move init_function_start downward after > execute_all_ipa_transforms call? the testing is ongoing. This proposed patch was bootstrapped and

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-06-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #11 from Kewen Lin --- (In reply to Kewen Lin from comment #9) > inline_call will force reload global optimization. > > /* Reload global optimization flags. */ > if (reload_optimization_node && DECL_STRUCT_FUNCTION (to->decl)

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-06-01 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #12 from Kewen Lin --- Created attachment 53068 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53068=edit tested patch Once the optimization node of the caller has changed, we need to rebuild the target node in the context of

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #9 from Kewen Lin --- inline_call will force reload global optimization. /* Reload global optimization flags. */ if (reload_optimization_node && DECL_STRUCT_FUNCTION (to->decl) == cfun) set_cfun (cfun, true); It looks

[Bug testsuite/105706] [13 regression] gcc.target/powerpc/pr78604.c fails after r13-707-g68e0063397ba82

2022-05-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105706 Kewen Lin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org

[Bug debug/105627] -fcompare-debug failure at -Og for powerpc64le-unknown-linux-gnu

2022-05-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105627 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug testsuite/105706] [13 regression] gcc.target/powerpc/pr78604.c fails after r13-707-g68e0063397ba82

2022-05-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105706 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/104482] ICE: Segmentation fault (in rs6000_builtin_type_compatible), or ICE: tree check: expected class 'type', have 'reference' (attr_addr_expr) in cp_type_quals, at cp/typeck.cc:10955

2022-05-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104482 Kewen Lin changed: What|Removed |Added URL|https://gcc.gnu.org/piperma |https://gcc.gnu.org/piperma

[Bug rtl-optimization/105459] [12/13 Regression] ICE: Segmentation fault (in record_operand_costs) since r12-3721-g63c6446f77b9001d

2022-05-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105459 --- Comment #10 from Kewen Lin --- (In reply to Kewen Lin from comment #8) > (In reply to Kewen Lin from comment #7) > > I wonder if it's fine to move init_function_start downward after > > execute_all_ipa_transforms call? the testing is

[Bug testsuite/105706] [13 regression] gcc.target/powerpc/pr78604.c fails after r13-707-g68e0063397ba82

2022-05-23 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105706 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org Last

[Bug rtl-optimization/105744] [11/12/13 Regression] wrong code with -fexpensive-optimizations -flive-range-shrinkage on powerpc64le-unknown-linux-gnu

2022-05-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105744 Kewen Lin changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug rtl-optimization/105744] [11/12/13 Regression] wrong code with -fexpensive-optimizations -flive-range-shrinkage on powerpc64le-unknown-linux-gnu

2022-05-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
||linkw at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2022-05-27 --- Comment #1 from Kewen Lin --- Can be reproduced without cross build compiler.

[Bug rtl-optimization/105744] [11/12/13 Regression] wrong code with -fexpensive-optimizations -flive-range-shrinkage on powerpc64le-unknown-linux-gnu

2022-05-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105744 --- Comment #2 from Kewen Lin --- This exposes one bug in glibc strncpy power9 implementation In https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=sysdeps/powerpc/powerpc64/le/power9/strncpy.S lbz r0,0(r4) stb

[Bug rtl-optimization/105744] [11/12/13 Regression] wrong code with -fexpensive-optimizations -flive-range-shrinkage on powerpc64le-unknown-linux-gnu

2022-05-27 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105744 Kewen Lin changed: What|Removed |Added CC||tuliom at ascii dot art.br --- Comment #3

[Bug target/103515] Unexpected OPTION_MASK_SAVE_TOC_INDIRECT of rs6000_isa_flag

2022-05-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103515 --- Comment #6 from Kewen Lin --- (In reply to Peter Bergner from comment #5) > (In reply to CVS Commits from comment #4) > > The master branch has been updated by Kewen Lin : > > Kewen, can we mark this as FIXED? Sorry, no. The issue isn't

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-06-28 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug target/106091] [11/12/13 Regression] during RTL pass: swaps ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 69 with -fnon-call-exceptions

2022-07-06 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106091 --- Comment #3 from Kewen Lin --- Created attachment 53268 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53268=edit tested patch

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-22 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 Kewen Lin changed: What|Removed |Added Attachment #53126|0 |1 is obsolete|

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-16 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #6 from Kewen Lin --- (In reply to Kewen Lin from comment #4) > (In reply to Richard Biener from comment #2) > > (In reply to Kewen Lin from comment #1) > > > Created attachment 53126 [details] > > > move_applying > > > > LGTM

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #8 from Kewen Lin --- (In reply to Kewen Lin from comment #6) > (In reply to Kewen Lin from comment #4) > > (In reply to Richard Biener from comment #2) > > > (In reply to Kewen Lin from comment #1) > > > > Created attachment 53126

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-14 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #4 from Kewen Lin --- (In reply to Richard Biener from comment #2) > (In reply to Kewen Lin from comment #1) > > Created attachment 53126 [details] > > move_applying > > LGTM (maybe the suggested unroll factor should be only

[Bug target/103320] 12 Regression] Spec 2017 benchmark roms_r fails on PowerPC for -Ofast

2022-06-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103320 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #2

[Bug target/105818] ICE: 'global_options' are modified in local context

2022-06-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED CC||linkw at gcc dot gnu.org Target|powerpc-e300c3-linux-gnu|powerpc*-linux-gnu

[Bug target/105818] ICE: 'global_options' are modified in local context

2022-06-09 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105818 --- Comment #3 from Kewen Lin --- The different flag bit is OPTION_MASK_SAVE_TOC_INDIRECT. if ((rs6000_isa_flags_explicit & OPTION_MASK_SAVE_TOC_INDIRECT) == 0 && flag_shrink_wrap_separate && optimize_function_for_speed_p (cfun))

[Bug tree-optimization/105940] New: suggested_unroll_factor applying place looks wrong

2022-06-12 Thread linkw at gcc dot gnu.org via Gcc-bugs
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- I tried to evaluate if we can get some performance gains by setting suggested_unroll_factor on Power, but met one ICE coming from the line

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2022-06-13 Assignee|unassigned at gcc dot gnu.org |linkw at gcc dot gnu.org CC||rguenth at gcc dot gnu.org, ||rsandifo at gcc

[Bug tree-optimization/105940] suggested_unroll_factor applying place looks wrong

2022-06-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105940 --- Comment #1 from Kewen Lin --- Created attachment 53126 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53126=edit move_applying

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106345 --- Comment #2 from Kewen Lin --- Two more failures related to required tuning setting: PASS->FAIL: gcc.target/powerpc/compress-float-ppc.c scan-assembler lfs PASS->FAIL: gcc.target/powerpc/compress-float-ppc-pic.c scan-assembler lfs

[Bug tree-optimization/106365] Miss to handle ifn .LEN_STORE in FRE

2022-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 --- Comment #6 from Kewen Lin --- (In reply to Richard Biener from comment #5) > I will try to add handling for .MASK_STORE, hopefully that will be good > enough to massage the code for .LEN_STORE (which IIRC is "easier" since it's > a

[Bug tree-optimization/106365] Miss to handle ifn .LEN_STORE in FRE

2022-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug tree-optimization/106365] Miss to handle ifn .LEN_STORE in FRE

2022-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 --- Comment #3 from Kewen Lin --- (In reply to Richard Biener from comment #2) > What's the semantic of .LEN_STORE? I can't find documentation for this :/ > There's docs for the len_store optab but how 'mask' and 'bias' relate to its >

[Bug tree-optimization/106365] New: Miss to handle ifn .LEN_STORE in FRE

2022-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org Target Milestone: --- In regression testing for the patch to add unroll factor suggestion to vectorizer for port rs6000, one failure got exposed on Power10 (with partial vector in length

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-07-19 Thread linkw at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |linkw at gcc dot gnu.org Ever confirmed|0 |1 CC||linkw at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Kewen Lin --- Thanks for reporting

[Bug rtl-optimization/106419] ICE in lra_assign, at lra-assigns.cc:1649

2022-07-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
|1 Status|UNCONFIRMED |WAITING CC||linkw at gcc dot gnu.org --- Comment #1 from Kewen Lin --- I wasn't able to reproduce this with cross build compiler w/i either latest trunk or the mentioned snapshot. I

[Bug rtl-optimization/106419] ICE in lra_assign, at lra-assigns.cc:1649

2022-07-24 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106419 --- Comment #3 from Kewen Lin --- (In reply to Arseny Solokha from comment #2) > I don't set --enable-default-pie anymore when configuring gcc, so here's the > difference. Therefore, it stops ICEing if I add -fPIE or -fPIC when > compiling the

[Bug rtl-optimization/106419] ICE in lra_assign, at lra-assigns.cc:1649

2022-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106419 Kewen Lin changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from Kewen Lin ---

[Bug rtl-optimization/106419] ICE in lra_assign, at lra-assigns.cc:1649

2022-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106419 Kewen Lin changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug target/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-25 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #5

[Bug testsuite/106345] Some ppc64le tests fail with -mcpu=power9 -mtune=power9

2022-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106345 Kewen Lin changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #4

[Bug testsuite/105427] [12/13 regression] gcc.target/powerpc/pr92398.p9-.c fails after r12-8265-gad56a60f58c1ed

2022-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
|--- |DUPLICATE CC||linkw at gcc dot gnu.org --- Comment #4 from Kewen Lin --- See comment 1 of PR106345, it's due to incorrect effective target checking. *** This bug has been marked as a duplicate of bug 106345 ***

[Bug testsuite/106396] [13 regression] gcc.dg/pr23911.c fails after r13-1762-gf9d4c3b45c5ed5

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106396 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org

[Bug middle-end/106010] Miss vectorization for complex type copy.

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106010 Kewen Lin changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment #8

[Bug rtl-optimization/106419] ICE in lra_assign, at lra-assigns.cc:1649

2022-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106419 --- Comment #9 from Kewen Lin --- (In reply to Segher Boessenkool from comment #8) > So for which pseudo and which hard register did this ICE, and what did the > code look like at that point? The culprit pseudo is r133, the values of those

[Bug tree-optimization/106365] Miss to handle ifn .LEN_STORE in FRE

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 --- Comment #10 from Kewen Lin --- (In reply to Richard Biener from comment #7) > Created attachment 53323 [details] > prototype > > I'm testing this - for .LEN_STORE you mainly have to compute pd.rhs_off, > pd.offset, pd.size and do a single

[Bug tree-optimization/106365] Miss to handle ifn .LEN_STORE in FRE

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 --- Comment #12 from Kewen Lin --- (In reply to Richard Biener from comment #9) > Created attachment 53328 [details] > patch > Thanks! Sorry that I didn't see this attachment when posting the above comment. > + MEM [(int *) + 16B] = { 4,

[Bug tree-optimization/106378] New: Miss to handle ifn .LEN_STORE in DSE

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: linkw at gcc dot gnu.org CC: rguenth at gcc dot gnu.org, rsandifo at gcc dot gnu.org, segher at gcc dot gnu.org Depends on: 106365

[Bug tree-optimization/106365] Miss to handle ifn .LEN_STORE in FRE

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106365 --- Comment #14 from Kewen Lin --- > I think that DSE doesn't handle the store IFNs yet - maybe adding handling > to initialize_ao_ref_for_dse would be enough - but I think it cannot yet > handle a "conservative" start (for .MASK_STORES), but

[Bug tree-optimization/106378] Miss to handle ifn .LEN_STORE in DSE

2022-07-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106378 --- Comment #2 from Kewen Lin --- (In reply to Richard Biener from comment #1) > Created attachment 53330 [details] > patch > > I am testing this on x86_64-linux. I confirmed this attachment can make two case above to get expected optimized

[Bug target/104482] ICE: Segmentation fault (in rs6000_builtin_type_compatible), or ICE: tree check: expected class 'type', have 'reference' (attr_addr_expr) in cp_type_quals, at cp/typeck.cc:10955

2022-04-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104482 Kewen Lin changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug testsuite/105266] new test case gcc.dg/pr105250.c fails with excess errors in r12-8134-g4e892de6774f86

2022-04-13 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105266 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comment #1

<    1   2   3   4   5   6   7   8   9   10   >