[Bug libstdc++/104928] std::counting_semaphore on Linux can sleep forever

2023-12-09 Thread nate at thatsmathematics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104928 --- Comment #2 from Nate Eldredge --- This bug is still present. Tested and reproduced with g++ 13.1.0 (Ubuntu package), and by inspection of the source code, it's still in the trunk as well. Encountered on StackOverflow:

[Bug target/112936] LoongArch: Wrong instruction costs

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112936 --- Comment #2 from Xi Ruoyao --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2023-December/640012.html

[Bug target/112936] LoongArch: Wrong instruction costs

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112936 Xi Ruoyao changed: What|Removed |Added Keywords||patch URL|

[Bug target/111867] aarch64: Wrong code for bf16 literal load when the arch support +fp16

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111867 --- Comment #8 from Andrew Pinski --- Created attachment 56842 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56842=edit Patch which I will be submitting soon

[Bug middle-end/111876] bf16 complex mul/div does not work when the target has +fp16 support or when -fexcess-precision=16 is supplied

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111876 Andrew Pinski changed: What|Removed |Added Component|target |middle-end Keywords|

[Bug libstdc++/112942] swap(variant&, variant&) is incorrectly marked as deleted

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112942 --- Comment #4 from Andrew Pinski --- (In reply to Artem Koton from comment #3) > (In reply to Andrew Pinski from comment #1) > > https://wg21.cmeerw.net/lwg/issue2749 > > Could you elaborate? I understand that this issue discusses the

[Bug libstdc++/112942] swap(variant&, variant&) is incorrectly marked as deleted

2023-12-09 Thread kotonartem at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112942 --- Comment #3 from Artem Koton --- (In reply to Andrew Pinski from comment #1) > https://wg21.cmeerw.net/lwg/issue2749 Could you elaborate? I understand that this issue discusses the constraints in question but a failure to meet them should

[Bug libstdc++/112942] swap(variant&, variant&) is incorrectly marked as deleted

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112942 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/pipermail/libstdc++/2016-November/045176.html

[Bug libstdc++/112942] swap(variant&, variant&) is incorrectly marked as deleted

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112942 --- Comment #1 from Andrew Pinski --- https://wg21.cmeerw.net/lwg/issue2749

[Bug libstdc++/112942] New: swap(variant&, variant&) is incorrectly marked as deleted

2023-12-09 Thread kotonartem at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112942 Bug ID: 112942 Summary: swap(variant&, variant&) is incorrectly marked as deleted Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/111867] aarch64: Wrong code for bf16 literal load when the arch support +fp16

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111867 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail

[Bug tree-optimization/112941] during GIMPLE pass: bitintlower ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2126 (gimple-lower-bitint.cc:2134) at -O with _BitInt()

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112941 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/112940] ICE: verify_ssa failed: definition in block 4 does not dominate use in block 8 at -O with _BitInt()

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112940 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 --- Comment #11 from Eric Botcazou --- > It says those upper bits are well-defined, i.e. whatever MD pattern is used > for it eventually will emit machine code that has the exact same result for > those upper bits. No, that's not true, the set

[Bug libstdc++/109162] C++23 improvements to std::format

2023-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162 Bug 109162 depends on bug 111826, which changed state. Bug 111826 Summary: __cpp_lib_format should be 202110, not 202106 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111826 What|Removed |Added

[Bug libstdc++/111826] __cpp_lib_format should be 202110, not 202106

2023-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111826 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/111826] __cpp_lib_format should be 202110, not 202106

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111826 --- Comment #2 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9f5011f9e6e347e0b91f47a118a0ce58a2c2d99a commit r13-8140-g9f5011f9e6e347e0b91f47a118a0ce58a2c2d99a Author: Jonathan

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #19 from Andrew Pinski --- This patch gets us back to using `&-` rather than shifts/adds for x86_64: ``` diff --git a/gcc/expr.cc b/gcc/expr.cc index 6da51f2aca2..4686cacd22f 100644 --- a/gcc/expr.cc +++ b/gcc/expr.cc @@ -10209,8

[Bug tree-optimization/112887] during GIMPLE pass: phiopt ICE: Floating point exception (SIGFPE) at tree-ssa-phiopt.c:2224 with --param=l1-cache-line-size=0x20000000

2023-12-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112887 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/112887] during GIMPLE pass: phiopt ICE: Floating point exception (SIGFPE) at tree-ssa-phiopt.c:2224 with --param=l1-cache-line-size=0x20000000

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112887 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c250ff90989a71dff11e9256e99d2fa965ab1295 commit r14-6360-gc250ff90989a71dff11e9256e99d2fa965ab1295 Author: Jakub Jelinek Date:

[Bug middle-end/112877] TARGET_PROMOTE_PROTOTYPES is not honored consistently, should maybe not apply to builtins

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112877 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/112938] ice with -fstrub=internal

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

[Bug tree-optimization/112939] [14 Regression] ICE: verify_ssa failed with -O -ftrivial-auto-var-init=zero

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112939 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Target Milestone|---

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-09 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 --- Comment #10 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #6) > I must say I have no idea what WORD_REGISTER_OPERATION says about the upper > bits of a paradoxical SUBREG if it is a MEM and load_extend_op (inner_mode)

[Bug libstdc++/112876] ranges:to: c.end() is unnecessarily assigned by the return value of c.emplace()

2023-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |14.0

[Bug libstdc++/112876] ranges:to: c.end() is unnecessarily assigned by the return value of c.emplace()

2023-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug testsuite/112786] [14 Regression] gcc.dg/tree-ssa/scev-3.c scev-4.c and scev-5.c XPASSing on most ilp32 targets

2023-12-09 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112786 Hans-Peter Nilsson changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/96831] gcc.dg/tree-ssa/scev-[345].c FAIL on i?86 and arm

2023-12-09 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96831 Bug 96831 depends on bug 112786, which changed state. Bug 112786 Summary: [14 Regression] gcc.dg/tree-ssa/scev-3.c scev-4.c and scev-5.c XPASSing on most ilp32 targets https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112786 What

[Bug target/112919] LoongArch: Alignments in tune parameters are not precise and they regress performance

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112919 --- Comment #2 from Xi Ruoyao --- On LA464: 13095 with GCC 13.2.0 The best I've got is: 12639 with GCC 14.0.0 + -falign-loops=8 -falign-labels=4 -falign-jumps=4 -falign-functions=16 and I cannot really explain why this is the best. With

[Bug target/112930] gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be

2023-12-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112930 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2023-12-09

[Bug target/112931] gcc.target/aarch64/sme2/acle-asm/write_za16_vg1x2.c ICEs on aarch64_be

2023-12-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112931 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug target/112933] gcc.target/aarch64/sme2/acle-asm/read_za16_vg1x2.c fails on aarch64_be

2023-12-09 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112933 Richard Sandiford changed: What|Removed |Added Last reconfirmed||2023-12-09

[Bug tree-optimization/112827] [14 Regression] ICE on valid code at -O1 on x86_64-linux-gnu: Segmentation fault

2023-12-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112827 Jakub Jelinek changed: What|Removed |Added CC||csfore at posteo dot net --- Comment

[Bug tree-optimization/112924] [14 regression] ICE when building util-linux (error: gimple_bb (stmt) is set to a wrong basic block)

2023-12-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112924 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/112924] [14 regression] ICE when building util-linux (error: gimple_bb (stmt) is set to a wrong basic block)

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112924 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:af8bbd631f5425e9be084dfd1f2b9487a31a350e commit r14-6359-gaf8bbd631f5425e9be084dfd1f2b9487a31a350e Author: Jakub Jelinek Date:

[Bug tree-optimization/112941] New: during GIMPLE pass: bitintlower ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2126 (gimple-lower-bitint.cc:2134) at -O with _BitInt()

2023-12-09 Thread zsojka at seznam dot cz via Gcc-bugs
rap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231209 (experimental) (GCC)

[Bug tree-optimization/112924] [14 regression] ICE when building util-linux (error: gimple_bb (stmt) is set to a wrong basic block)

2023-12-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112924 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/112940] New: ICE: verify_ssa failed: definition in block 4 does not dominate use in block 8 at -O with _BitInt()

2023-12-09 Thread zsojka at seznam dot cz via Gcc-bugs
4-6356-20231209102837-g36be2a0e91c-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231209 (experimental) (GCC)

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #10 from JuzheZhong --- OK. It seems it is VSETVL BUG. I will have look at it.

[Bug libstdc++/111826] __cpp_lib_format should be 202110, not 202106

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111826 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cdf45e00a936a76a785c592c9730f24ef1ac25cd commit r14-6358-gcdf45e00a936a76a785c592c9730f24ef1ac25cd Author: Jonathan Wakely

[Bug libstdc++/112876] ranges:to: c.end() is unnecessarily assigned by the return value of c.emplace()

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112876 --- Comment #5 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a314edee2490259d7f7caec8eef77846bcdb608b commit r14-6357-ga314edee2490259d7f7caec8eef77846bcdb608b Author: Jonathan Wakely

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #9 from Robin Dapp --- In the good version the length is 32 here because directly before the vsetvl we have: li a4,32 That seems to get lost somehow.

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-09 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #8 from JuzheZhong --- Li Pan will investigate it. He will note me if there is a bug in vsetvl pass.

[Bug libstdc++/98723] On Windows with CP936 encoding, regex compiles very slow.

2023-12-09 Thread luca.bacci at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98723 Luca Bacci changed: What|Removed |Added CC||luca.bacci at outlook dot com --- Comment

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #7 from Robin Dapp --- Here 0x105c6 vse8.v v8,(a5) is where we overwrite m. The vl is 128 but the preceding vsetvl gets a4 = 46912504507016 as AVL which seems already borken.

[Bug target/112929] [14] RISC-V vector: Variable clobbered at runtime

2023-12-09 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112929 --- Comment #6 from Robin Dapp --- This seems to be gone when simple vsetvl (instead of lazy) is used or with -fno-schedule-insns which might indicate a vsetvl pass problem. We might have a few more of those. Maybe it would make sense to run

[Bug libgomp/112264] Occasionally (but very rare): 'FAIL: libgomp.fortran/target-nowait-array-section.f90 -O execution test'

2023-12-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112264 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/110987] Segmentation fault after finalization of a temporary variable

2023-12-09 Thread chilikin.k at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110987 --- Comment #3 from Kirill Chilikin --- The derived type T3 has zero components but not zero length as it extends T1; the test does not crash after the following changes: diff --git a/gcc/fortran/trans.cc b/gcc/fortran/trans.cc index

[Bug tree-optimization/112939] New: ICE: verify_ssa failed with -O -ftrivial-auto-var-init=zero

2023-12-09 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112939 Bug ID: 112939 Summary: ICE: verify_ssa failed with -O -ftrivial-auto-var-init=zero Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/112938] ice with -fstrub=internal

2023-12-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112938 David Binderman changed: What|Removed |Added CC||aoliva at gcc dot gnu.org ---

[Bug c++/112938] New: ice with -fstrub=internal

2023-12-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112938 Bug ID: 112938 Summary: ice with -fstrub=internal Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/112937] New: [14 Regression] GCN: FAILs due to unconditional 'f->use_flat_addressing = true;'

2023-12-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112937 Bug ID: 112937 Summary: [14 Regression] GCN: FAILs due to unconditional 'f->use_flat_addressing = true;' Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 --- Comment #9 from Eric Botcazou --- > Which means punt on this optimization for WORD_REGISTER_OPERATIONS if the > outer mode is word_mode, except when sub is a MEM and load_extend_op > (inner_mode) == ZERO_EXTEND? Yes, this sounds like a

[Bug middle-end/109267] generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2023-12-09 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug driver/93019] memory leak in gcc -O2 reported by Valgrind

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93019 --- Comment #7 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:36be2a0e91c76da4afcd5ddc37e03f5800396387 commit r14-6356-g36be2a0e91c76da4afcd5ddc37e03f5800396387 Author: Jakub Jelinek Date:

[Bug middle-end/111126] Not always using czero.eqz

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26 Xi Ruoyao changed: What|Removed |Added Target|riscv* (with zicond)|riscv* (with zicond), |

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

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

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #16 from Xi Ruoyao --- BTW is it possible to get the value range info of (x) and combine (and y, (neg x)) back to maskeqz in LoongArch backend? It will further improve the performance. Or maybe expr.cc should invoke a target hook

[Bug target/112936] LoongArch: Wrong instruction costs

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112936 Xi Ruoyao changed: What|Removed |Added Last reconfirmed||2023-12-09 Status|UNCONFIRMED

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #15 from Andrew Pinski --- I see what is happening and kinda of see why it is not there ...

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #14 from Xi Ruoyao --- LoongArch cost model issue is now PR112936.

[Bug target/112936] New: LoongArch: Wrong instruction costs

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112936 Bug ID: 112936 Summary: LoongArch: Wrong instruction costs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 --- Comment #8 from Jakub Jelinek --- (In reply to Eric Botcazou from comment #7) > > I must say I have no idea what WORD_REGISTER_OPERATION says about the upper > > bits of a paradoxical SUBREG if it is a MEM and load_extend_op (inner_mode) >

[Bug middle-end/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 Andrew Pinski changed: What|Removed |Added Target||loongarch64-*-*

[Bug tree-optimization/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 Xi Ruoyao changed: What|Removed |Added Component|target |tree-optimization

[Bug target/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #11 from Xi Ruoyao --- > and tree_nonzero_bits fails to _21 is either 0 or 1, for some reason. ^ report

[Bug target/112935] [14 Regression] Performance regression in Coremarks crcu8 function

2023-12-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112935 --- Comment #10 from Xi Ruoyao --- For the original test case we get: x16_27 = _26 & 1; data_28 = data_15 >> 1; _29 = crc_18 >> 1; _21 = (short unsigned int) x16_27; _13 = _21 * 40961; and tree_nonzero_bits fails to _21 is either 0

[Bug rtl-optimization/112758] [13/14 Regression] Inconsistent Bitwise AND Operation Result between int and long long int

2023-12-09 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112758 --- Comment #7 from Eric Botcazou --- > I must say I have no idea what WORD_REGISTER_OPERATION says about the upper > bits of a paradoxical SUBREG if it is a MEM and load_extend_op (inner_mode) > is ZERO_EXTEND (zeros then? Yes. > Then this

[Bug target/112932] [14] RISC-V rv64gcv_zvl256b vector: Incorrect behavior with nested loop array writing

2023-12-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112932 --- Comment #1 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:9363d91956931bb28735bed97035b9ec965c850f commit r14-6354-g9363d91956931bb28735bed97035b9ec965c850f Author: Juzhe-Zhong Date: Sat Dec 9

[Bug libstdc++/112934] excessive code for std::map::erase(key)

2023-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112934 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED