[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX512 when building ncnn? (Error: unsupported instruction `vblendps')

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #10 from Andrew Pinski --

[Bug target/112434] unexpected error when compiling for riscv64: invalid 'asm': invalid use of '%c'

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112434 --- Comment #2 from Andrew Pinski --- Oh wait is documented as a "generic" one.

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX when building ncnn (Error: unsupported instruction `vblendps') since r14-96-gc2dac2e5fbbcdd

2023-11-07 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 Sam James changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug c++/112436] New: SFINAE-unfriendly error on throwing pointer to incomplete type

2023-11-07 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112436 Bug ID: 112436 Summary: SFINAE-unfriendly error on throwing pointer to incomplete type Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112437] New: ICE with throw inside concept sometimes and -std=c++20

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112437 Bug ID: 112437 Summary: ICE with throw inside concept sometimes and -std=c++20 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: norma

[Bug c++/112436] SFINAE-unfriendly error on throwing pointer to incomplete type

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112436 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/112437] ICE with throw inside concept sometimes and -std=c++20

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112437 --- Comment #1 from Andrew Pinski --- Maybe related to: https://gcc.gnu.org/legacy-ml/gcc-patches/2018-09/msg00226.html

[Bug c++/112437] ICE with throw inside concept sometimes and -std=c++20

2023-11-07 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112437 --- Comment #2 from Andrew Pinski --- The backtrace: ``` t55.cc:4:37: internal compiler error: Segmentation fault 4 | concept Throwable = requires(T x) { throw x; }; | ^~~ 0x133b01f crash_signal

[Bug target/111907] ICE: in curr_insn_transform, at lra-constraints.cc:4294 unable to generate reloads for: {*andnottf3} with -mavx512f -mno-evex512

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111907 --- Comment #7 from CVS Commits --- The master branch has been updated by Haochen Jiang : https://gcc.gnu.org/g:078087d1605060da4f993af83b1bfa351b278d38 commit r14-5238-g078087d1605060da4f993af83b1bfa351b278d38 Author: Haochen Jiang Date: M

[Bug target/111907] ICE: in curr_insn_transform, at lra-constraints.cc:4294 unable to generate reloads for: {*andnottf3} with -mavx512f -mno-evex512

2023-11-07 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111907 --- Comment #8 from Haochen Jiang --- Should be fixed on trunk now.

[Bug target/112435] [14 regression] GCC generates assembly which gas rejects with AVX when building ncnn (Error: unsupported instruction `vblendps') since r14-96-gc2dac2e5fbbcdd

2023-11-07 Thread haochen.jiang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112435 --- Comment #12 from Haochen Jiang --- Seems like we should prevent the optimization in that commit to register x/ymm16+.

[Bug target/112092] RISC-V: Suboptimal RVV code produced for vsetvl-11.c and vsetvlmax-8.c

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112092 --- Comment #11 from CVS Commits --- The trunk branch has been updated by Lehua Ding : https://gcc.gnu.org/g:f9148120048f4508156acfcd19a334f4dcbb96f0 commit r14-5239-gf9148120048f4508156acfcd19a334f4dcbb96f0 Author: Juzhe-Zhong Date: Wed No

[Bug target/112092] RISC-V: Suboptimal RVV code produced for vsetvl-11.c and vsetvlmax-8.c

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112092 --- Comment #12 from JuzheZhong --- It should be fixed on the trunk. Plz verify it and close the issue. Thanks.

[Bug c/112438] New: RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 Bug ID: 112438 Summary: RISC-V: Failed to AVL propagation through induction variable Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #1 fro

[Bug middle-end/112359] [14 Regression] ICE: in expand_fn_using_insn, at internal-fn.cc:215 with -O -ftree-loop-if-convert -mavx512fp16

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112359 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #2 from Kito Cheng --- oh, but the root cause might be little bit deeper, not just the problem of propagation or not propagation the AVL.

[Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with LTO on internal compiler error: in expand_insn, at optabs.cc:8305

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/112361] [14 Regression] avx512f-reduce-op-1.c miscompiled since r14-5076

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112361 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug middle-end/112406] [14 Regression] Several SPECCPU 2017 benchmarks fail with LTO on internal compiler error: in expand_insn, at optabs.cc:8305

2023-11-07 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112406 Tamar Christina changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c/112432] Internal-fn: The [i|l|ll]rint family don't support FLOATN

2023-11-07 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112432 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #3 from JuzheZhong --- You mean current codegen is bug ? No, I don't think there is a bug in current codegen. It's induction variable. ble a0,zero,.L5 ... vsetvli a3,zero,e32,m1,ta,ma ...

[Bug c/112432] Internal-fn: The [i|l|ll]rint family don't support FLOATN

2023-11-07 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112432 --- Comment #2 from Li Pan --- (In reply to Richard Biener from comment #1) > Is there a corresponding C API? We don't have "generic" versions in > builtins.def either (with _VAR). > > That said, what's the testcase here? I found some FLOATN

[Bug testsuite/112340] [14 regression] assembler instruction counts off for gcc.target/powerpc/pr106550_1.c

2023-11-07 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112340 Jiu Fu Guo changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #4 from JuzheZhong --- Oh. I see what you mean. I think it may not be the valid optimization. Since the following codes: .L3: vsetvli a5,a0,e32,m1,ta,ma sllia4,a5,2 vle32.v v1,0(a1) sub a0,a

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #5 from Kito Cheng --- Assume: VLEN = 128 and n = 5, *in is {0, 0, 0, 0, 0} so VLMAX = 4 for e32m1 It can be run with vl = 4 for first iteration, and vl = 1 vl for second iteration But it could be something like that: vl = 3 for f

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #6 from Kito Cheng --- The key is the splat of VLMAX instruction need move into loop body, but AVL propagation should still able to do: ``` foo(int, int*, int*): ble a0,zero,.L5 csrra5,vlenb srlia

[Bug target/112438] RISC-V: Failed to AVL propagation through induction variable

2023-11-07 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112438 --- Comment #7 from JuzheZhong --- (In reply to Kito Cheng from comment #6) > The key is the splat of VLMAX instruction need move into loop body, but AVL > propagation should still able to do: > > ``` > foo(int, int*, int*): > ble a

[Bug target/112394] ICE: in extract_constrain_insn, at recog.cc:2705 insn does not satisfy its constraints: {*vec_extractv2di_1} with -O -mavx512vbmi2 -mapxf -mno-sse4.2

2023-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112394 --- Comment #1 from CVS Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:ca281a7b97163273de9d73da556fb3f6dcc3b61b commit r14-5242-gca281a7b97163273de9d73da556fb3f6dcc3b61b Author: Hongyu Wang Date: Tue N

[Bug target/112394] ICE: in extract_constrain_insn, at recog.cc:2705 insn does not satisfy its constraints: {*vec_extractv2di_1} with -O -mavx512vbmi2 -mapxf -mno-sse4.2

2023-11-07 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112394 --- Comment #2 from Hongyu Wang --- Should be fixed.

<    1   2