[Bug c++/110848] Consider enabling -Wvla by default in non-GNU C++ modes

2023-08-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110848 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/82666] [11/12/13/14 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)

2023-08-03 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #14

[Bug modula2/110779] SysClock can not read the clock

2023-08-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110779 --- Comment #2 from Gaius Mulley --- Created attachment 55683 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55683=edit Proposed fix Here is a proposed fix together with three regression tests.

[Bug libstdc++/110854] constructor of std::counting_semaphore is not constexpr

2023-08-03 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110854 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #2 from

[Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110625 --- Comment #20 from CVS Commits --- The master branch has been updated by Hao Liu : https://gcc.gnu.org/g:4d8b5563179f3a7ca268b64f71731a4878635497 commit r14-2973-g4d8b5563179f3a7ca268b64f71731a4878635497 Author: Hao Liu Date: Fri Aug 4

[Bug libstdc++/106611] std::is_nothrow_copy_constructible returns wrong result

2023-08-03 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106611 --- Comment #9 from Jiang An --- (In reply to Nikolas Klauser from comment #8) > I agree that the wording is a bit ambiguous, but GCC should decide on one > of them instead of returning different results between the type trait > builtins and

[Bug fortran/110888] Missing optimization for trivial MATMUL cases, requires -fno-signed-zeros

2023-08-03 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110888 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org,

[Bug target/84251] [11/12/13/14 Regression] Performance regression in gcc 8/9/10/11/12 when comparing floating point numbers

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84251 --- Comment #20 from Andrew Pinski --- Hmm: we have: ``` (jump_insn 8 7 9 2 (set (pc) (if_then_else (ordered (reg:CCFP 17 flags) (const_int 0 [0])) (label_ref 12) (pc))) "/app/example.cpp":5:6 1055

[Bug target/82666] [11/12/13/14 regression]: sum += (x>128 ? x : 0) puts the cmov on the critical path (at -O2)

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82666 --- Comment #13 from Andrew Pinski --- I don't know if this could help here but combine does produce: Trying 37, 34 -> 38: 37: flags:CCGC=cmp(r82:SI,0x7f) REG_DEAD r82:SI 34: {r92:DI=r87:DI+r89:DI;clobber flags:CC;} REG_DEAD

[Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454 --- Comment #5 from Andrew Pinski --- Actually this looks almost exactly the same as PR 82339 .

[Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82454 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-10-09 00:00:00 |2023-8-3 See Also|

[Bug tree-optimization/82446] [11/12/13/14 Regression] Missed equalities in dr_group_sort_cmp

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82446 --- Comment #11 from Andrew Pinski --- Is this still true?

[Bug libstdc++/106611] std::is_nothrow_copy_constructible returns wrong result

2023-08-03 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106611 --- Comment #8 from Nikolas Klauser --- I agree that the wording is a bit ambiguous, but GCC should decide on one of them instead of returning different results between the type trait builtins and the noexcept operator.

[Bug target/110897] RISC-V: Fail to vectorize shift

2023-08-03 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110897 --- Comment #2 from JuzheZhong --- Yes, (In reply to Andrew Pinski from comment #1) > Does the riscv backend support uint32_t shifting? How about extending and > contracting to/from uint16_t to uint32_t? Yes, RISC-V port support uint32_t

[Bug target/110897] RISC-V: Fail to vectorize shift

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110897 --- Comment #1 from Andrew Pinski --- Does the riscv backend support uint32_t shifting? How about extending and contracting to/from uint16_t to uint32_t?

[Bug c/110897] New: RISC-V: Fail to vectorize shift

2023-08-03 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110897 Bug ID: 110897 Summary: RISC-V: Fail to vectorize shift Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/110894] [modules] Program terminates with signal SIGSEGV

2023-08-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110894 --- Comment #3 from Johel Ernesto Guerrero Peña --- Reduced: . If you comment out the use of `.data()` at the end of `my_string_view.hpp` it works. It originally comes from ``'s specialization of `hash`, `

[Bug other/110895] [14 regression] ICE compiling gcc.c-torture/compile/pr33133.c after r14-2925-g2bae476b511dc4

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110895 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug middle-end/110874] [14 Regression] ice with -O2 with recent gcc

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110874 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug sanitizer/81981] [8 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81981 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 81981, which changed state. Bug 81981 Summary: [8 Regression] -fsanitize=undefined makes a -Wmaybe-uninitialized warning disappear https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81981 What|Removed

[Bug tree-optimization/110896] [12/13/14 Regression] gcc.dg/ubsan/pr81981.c is xfailed

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110896 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4

[Bug tree-optimization/110896] New: [12/13/14 Regression] gcc.dg/ubsan/pr81981.c is xfailed

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110896 Bug ID: 110896 Summary: [12/13/14 Regression] gcc.dg/ubsan/pr81981.c is xfailed Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: diagnostic, xfail

[Bug other/110895] New: [14 regression] ICE compiling gcc.c-torture/compile/pr33133.c after r14-2925-g2bae476b511dc4

2023-08-03 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110895 Bug ID: 110895 Summary: [14 regression] ICE compiling gcc.c-torture/compile/pr33133.c after r14-2925-g2bae476b511dc4 Product: gcc Version: 14.0

[Bug target/80491] [11/12/13/14 Regression] Compiler regression for long-add case.

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80491 --- Comment #25 from Andrew Pinski --- Hmm, I thought Jakub's recent work on PR 79173 would have fixed this but no it didn't.

[Bug tree-optimization/79534] [11/12/13/14 Regression] tree-ifcombine aarch64 performance regression with trunk@245151

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79534 --- Comment #22 from Andrew Pinski --- For the original testcase, since GCC 13, ifcombine does not combine the ifs. I have not looked into why though.

[Bug tree-optimization/102556] equality comparison of a [static N] parameter to null not folded

2023-08-03 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102556 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #2

[Bug c/110878] -Wstringop-overflow incorrectly warns about arguments to functions with static array parameter declarations

2023-08-03 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110878 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #5

[Bug target/110892] [14 Regression] Risc-V rvv testsuite failures caused by conditional move costing

2023-08-03 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110892 Edwin Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/110892] [14 Regression] Risc-V rvv testsuite failures caused by conditional move costing

2023-08-03 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110892 --- Comment #3 from Patrick O'Neill --- These failures are fixed as of d61efa3cd3378be38738bfb5139925d1505c1325 Confirmed using rv32 newlib. https://github.com/patrick-rivos/riscv-gnu-toolchain/issues/139

[Bug middle-end/110857] aarch64-linux-gnu profiledbootstrap broken

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110857 --- Comment #3 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:93236ad9e8fa9208e754e8806dc369e1a79dbdf7 commit r14-2966-g93236ad9e8fa9208e754e8806dc369e1a79dbdf7 Author: Jan Hubicka Date: Thu

[Bug c++/110894] [modules] Program terminates with signal SIGSEGV

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110894 Andrew Pinski changed: What|Removed |Added URL|https://cpp2.godbolt.org/z/ | |7YrvenrzT

[Bug c++/110893] [modules] ICE Segmentation fault during GIMPLE pass modref

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110893 Andrew Pinski changed: What|Removed |Added URL|https://cpp2.godbolt.org/z/ | |8q9c3P6vY

[Bug c++/110894] [modules] Program terminates with signal SIGSEGV

2023-08-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110894 --- Comment #1 from Johel Ernesto Guerrero Peña --- If instead I use `std::string_view` in `-O3` (`-O0` works), it also diagnoses (): ``` In file included from /app/module.cpp:2, of module hello, imported

[Bug c++/110894] New: [modules] Program terminates with signal SIGSEGV

2023-08-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110894 Bug ID: 110894 Summary: [modules] Program terminates with signal SIGSEGV Product: gcc Version: 14.0 URL: https://cpp2.godbolt.org/z/7YrvenrzT Status: UNCONFIRMED

[Bug c++/110893] New: [modules] ICE Segmentation fault during GIMPLE pass modref

2023-08-03 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110893 Bug ID: 110893 Summary: [modules] ICE Segmentation fault during GIMPLE pass modref Product: gcc Version: 14.0 URL: https://cpp2.godbolt.org/z/8q9c3P6vY

[Bug target/107479] bpf: add __builtin_btf_type_id

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107479 --- Comment #1 from CVS Commits --- The master branch has been updated by Cupertino Miranda : https://gcc.gnu.org/g:e0a81559c198153923f0a1a3be7c25df545f3964 commit r14-2962-ge0a81559c198153923f0a1a3be7c25df545f3964 Author: Cupertino Miranda

[Bug target/107480] bpf: add __builtin_preserve_type_info

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107480 --- Comment #1 from CVS Commits --- The master branch has been updated by Cupertino Miranda : https://gcc.gnu.org/g:e0a81559c198153923f0a1a3be7c25df545f3964 commit r14-2962-ge0a81559c198153923f0a1a3be7c25df545f3964 Author: Cupertino Miranda

[Bug target/107844] error: argument is not a field access for __builtin_preserve_field_info

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107844 --- Comment #6 from CVS Commits --- The master branch has been updated by Cupertino Miranda : https://gcc.gnu.org/g:e0a81559c198153923f0a1a3be7c25df545f3964 commit r14-2962-ge0a81559c198153923f0a1a3be7c25df545f3964 Author: Cupertino Miranda

[Bug target/107481] bpf: add __builtin_preserve_enum_value

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107481 --- Comment #1 from CVS Commits --- The master branch has been updated by Cupertino Miranda : https://gcc.gnu.org/g:e0a81559c198153923f0a1a3be7c25df545f3964 commit r14-2962-ge0a81559c198153923f0a1a3be7c25df545f3964 Author: Cupertino Miranda

[Bug tree-optimization/77568] [11/12/13/14 regression] CSE/PRE/Hoisting blocks common instruction contractions

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77568 --- Comment #20 from Andrew Pinski --- (In reply to Wilco from comment #0) > void f3(char *p, int x) > { > if (x & 1) p[0] = 0; > if (x & 2) p[1] = 0; > if (x & 4) p[2] = 0; > if (x & 8) p[2] = 0; > g(0,0); > if (x & 1) p[3] = 0; >

[Bug c++/110158] Cannot use union with std::string inside in constant expression

2023-08-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110158 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug middle-end/110728] should __attribute__((cleanup())) callback get invoked for indirect edges of asm goto

2023-08-03 Thread rjmccall at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110728 --- Comment #12 from John McCall --- While it's theoretically possible to split a computed-goto edge, in practice you want to avoid doing so if you at all can, because the split-edge pattern defeats the interpreter optimization that's the

[Bug target/110892] [14 Regression] Risc-V rvv testsuite failures caused by conditional move costing

2023-08-03 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110892 --- Comment #2 from Patrick O'Neill --- Seems like a fix was pushed: https://inbox.sourceware.org/gcc-patches/89dfe3c2-ef96-3000-de87-74ff83354...@gmail.com/T/#m09608208a2dcc2bbf88a4f3419b062b4b4b349c5 We'll test it and update the issue once

[Bug target/110892] [14 Regression] Risc-V rvv testsuite failures caused by conditional move costing

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110892 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug target/110892] New: [14 Regression] Risc-V rvv testsuite failures caused by conditional move costing

2023-08-03 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110892 Bug ID: 110892 Summary: [14 Regression] Risc-V rvv testsuite failures caused by conditional move costing Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2023-08-03 Thread tomas.kalibera at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #17 from Tomas Kalibera --- (In reply to Tomas Kalibera from comment #16) > (In reply to Julian Waters from comment #15) > > It seems like the patch also doesn't fix the strftime case too, strangely > > enough. gcc with that patch

[Bug tree-optimization/110891] [14 Regression] Dead Code Elimination Regression since r14-2674-gd0de3bf9175

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

[Bug middle-end/110728] should __attribute__((cleanup())) callback get invoked for indirect edges of asm goto

2023-08-03 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110728 --- Comment #11 from Michael Matz --- (In reply to Michael Matz from comment #9) > Just for completeness: I agree with Andrew that the initial code example in > comment #0 doesn't show any problem. The edge from asmgoto to l0 doesn't > cross >

[Bug tree-optimization/110891] [14 Regression] Dead Code Elimination Regression since r14-2674-gd0de3bf9175

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110891 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target

[Bug tree-optimization/110891] New: [14 Regression] Dead Code Elimination Regression since r14-2674-gd0de3bf9175

2023-08-03 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110891 Bug ID: 110891 Summary: [14 Regression] Dead Code Elimination Regression since r14-2674-gd0de3bf9175 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug middle-end/110728] should __attribute__((cleanup())) callback get invoked for indirect edges of asm goto

2023-08-03 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110728 --- Comment #10 from Nick Desaulniers --- (In reply to Michael Matz from comment #9) > That has to do with how we need to (possibly) > split > critical edges, which changes label identity, which in turn might actually > be the thing that's

[Bug analyzer/110882] [13 Regression] ICE with -fanalyzer on zero-sized array

2023-08-03 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 David Malcolm changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #6

[Bug analyzer/108171] [13/14 Regression] ICE in binding_key::make, at analyzer/store.cc:132 since r13-4529-gdfe2ef7f2b6cac70

2023-08-03 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 David Malcolm changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug analyzer/110882] [13 Regression] ICE with -fanalyzer on zero-sized array

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:f80efa49b7a1639b0d6e9bcea8cf38850d037a02 commit r14-2957-gf80efa49b7a1639b0d6e9bcea8cf38850d037a02 Author: David Malcolm Date:

[Bug analyzer/108171] [13/14 Regression] ICE in binding_key::make, at analyzer/store.cc:132 since r13-4529-gdfe2ef7f2b6cac70

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:f80efa49b7a1639b0d6e9bcea8cf38850d037a02 commit r14-2957-gf80efa49b7a1639b0d6e9bcea8cf38850d037a02 Author: David Malcolm Date:

[Bug middle-end/110728] should __attribute__((cleanup())) callback get invoked for indirect edges of asm goto

2023-08-03 Thread matz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110728 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comment #9

[Bug analyzer/108171] [13/14 Regression] ICE in binding_key::make, at analyzer/store.cc:132 since r13-4529-gdfe2ef7f2b6cac70

2023-08-03 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108171 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #5 from David

[Bug c++/104278] ICE with class non-type template parameter with a value depdenent constexpr call

2023-08-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104278 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/102553] ICE (seg fault) in strip_array_types with NTTP and template alias

2023-08-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102553 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/103346] ICE on template specialization via alias template with a non-type parameter pack, and fold expression on lambda calls

2023-08-03 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103346 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/110882] [13 Regression] ICE with -fanalyzer on zero-sized array

2023-08-03 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 David Malcolm changed: What|Removed |Added Summary|[13/14 Regression] ICE with |[13 Regression] ICE with

[Bug analyzer/110882] [13/14 Regression] ICE with -fanalyzer on zero-sized array

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110882 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:c62f93d1e0383def445d4ef2b812468cb7cdaf05 commit r14-2955-gc62f93d1e0383def445d4ef2b812468cb7cdaf05 Author: David Malcolm Date:

[Bug tree-optimization/110838] [14 Regression] wrong code on x365-3.5, -O3, sign extraction

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110838 Richard Biener changed: What|Removed |Added Known to work||14.0 --- Comment #9 from Richard

[Bug tree-optimization/110838] [14 Regression] wrong code on x365-3.5, -O3, sign extraction

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110838 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:29370f1387274ad5a35a020db6a5d06c0324e6c1 commit r14-2952-g29370f1387274ad5a35a020db6a5d06c0324e6c1 Author: Richard Biener Date:

[Bug tree-optimization/110702] [12/13 Regression] Wrong code at -O1 on x86_64-linux-gnu (regression since GCC-12.2)

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110702 Richard Biener changed: What|Removed |Added Summary|[12/13/14 Regression] Wrong |[12/13 Regression] Wrong

[Bug tree-optimization/110702] [12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu (regression since GCC-12.2)

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110702 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:13dfb01e5c30c3bd09333ac79d6ff96a617fea67 commit r14-2951-g13dfb01e5c30c3bd09333ac79d6ff96a617fea67 Author: Richard Biener Date:

[Bug debug/110885] [10/11/12/13/14 Regression] "undefined reference" when using both "-fdebug-types-section" and "-gsplit-dwarf" and inline function as a template argument

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110885 Richard Biener changed: What|Removed |Added Keywords||wrong-debug

[Bug middle-end/110884] strncmp false positive with -Wstringop-overread on coreutils

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110884 Richard Biener changed: What|Removed |Added Blocks||97048 --- Comment #2 from Richard

[Bug libstdc++/110879] [14 Regression] Unnecessary reread from memory in a loop with std::vector

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110879 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Summary|Unnecessary

[Bug tree-optimization/110702] [12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu (regression since GCC-12.2)

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110702 --- Comment #5 from Richard Biener --- The issue for this seems to be that create_mem_ref gets type = unsigned long offset = 0 elements = { [0] = *

[Bug libstdc++/110860] std::format("{:f}",2e304) invokes undefined behaviour

2023-08-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110860 --- Comment #4 from Jonathan Wakely --- __builtin_log10 isn't generic either. I was hoping to avoid including all of here, which is why I used the built-ins.

[Bug rtl-optimization/104914] [MIPS] wrong comparison with scrabbled int value

2023-08-03 Thread syq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104914 --- Comment #16 from YunQiang Su --- (In reply to Roger Sayle from comment #15) > Is MIPS64 actually a TRULY_NOOP_TRUNCATION_TARGET? If SImode is implicitly > assumed to be (sign?) extended, then an arbitrary DImode value/register > can't be

[Bug tree-optimization/110702] [12/13/14 Regression] Wrong code at -O1 on x86_64-linux-gnu (regression since GCC-12.2)

2023-08-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110702 Richard Biener changed: What|Removed |Added Keywords|needs-bisection | Status|NEW

[Bug c++/110890] std::is_array and std::extent incorrectly choose a partial specialization when the size of an array exceeds INT32_MAX

2023-08-03 Thread y1079700998 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110890 --- Comment #3 from Kaiyuan Yang --- (In reply to Andrew Pinski from comment #2) > Dup of bug 88829. > > *** This bug has been marked as a duplicate of bug 88829 *** Ah, thanks for the quick reply! Also, my apologies for the trouble.(I only

[Bug c++/110890] std::is_array and std::extent incorrectly choose a partial specialization when the size of an array exceeds INT32_MAX

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110890 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/88829] Failure to deduce size of array of 2^31 chars

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88829 Andrew Pinski changed: What|Removed |Added CC||y1079700998 at gmail dot com ---

[Bug c++/110890] std::is_array and std::extent incorrectly choose a partial specialization when the size of an array exceeds INT32_MAX

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110890 --- Comment #1 from Andrew Pinski --- Reduced testcase: ``` #include using T1 = char[1ul + (unsigned long)INT32_MAX]; template inline constexpr bool is_array_v = false; template inline constexpr bool is_array_v<_Tp[]> = true; template

[Bug ipa/110753] [14 Regression] ICE in meet_with_1, at ipa-cp.cc:1057

2023-08-03 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110753 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org

[Bug rtl-optimization/104914] [MIPS] wrong comparison with scrabbled int value

2023-08-03 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104914 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug c++/110890] New: std::is_array and std::extent incorrectly choose a partial specialization when the size of an array exceeds INT32_MAX

2023-08-03 Thread y1079700998 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110890 Bug ID: 110890 Summary: std::is_array and std::extent incorrectly choose a partial specialization when the size of an array exceeds INT32_MAX Product: gcc

[Bug debug/110885] [10/11/12/13/14 Regression] "undefined reference" when using both "-fdebug-types-section" and "-gsplit-dwarf" and inline function as a template argument

2023-08-03 Thread linh.lrd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110885 --- Comment #3 from Ling Nguyen --- Thanks for quick responses. A further look into the issue: I believe there is bug in this piece of code:

[Bug debug/110885] [10/11/12/13/14 Regression] "undefined reference" when using both "-fdebug-types-section" and "-gsplit-dwarf" and inline function as a template argument

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

[Bug libstdc++/110862] format out of bounds read on format string "{0:{0}"

2023-08-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110862 --- Comment #3 from Jonathan Wakely --- https://gcc.gnu.org/git?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/include/std/format;h=9d5981e4882991cc2cbfb9353d399372030e8722;hb=refs/heads/master#l3535 needs to throw if begin()==end() || *begin() != '}'

[Bug debug/110885] "undefined reference" when using both "-fdebug-types-section" and "-gsplit-dwarf"

2023-08-03 Thread linh.lrd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110885 --- Comment #1 from Ling Nguyen --- Consider this program: struct X { static void foo() {} }; struct Y { template static void bar() {} }; int main() { Y::bar(); return 0; } If it's compiled using something like: gcc

[Bug web/110889] Arts

2023-08-03 Thread pipare7258 at quipas dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110889 --- Comment #1 from JD Official --- Created attachment 55681 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55681=edit https://steameastus.com/;>Steam East US

[Bug web/110889] New: Arts

2023-08-03 Thread pipare7258 at quipas dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110889 Bug ID: 110889 Summary: Arts Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at

[Bug middle-end/110874] [14 Regression] ice with -O2 with recent gcc

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110874 Andrew Pinski changed: What|Removed |Added CC||shaohua.li at inf dot ethz.ch ---

[Bug c/110887] ICE: gcc: internal compiler error: Segmentation fault signal terminated program cc1 since r14-2925-g2bae476b511

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110887 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/110888] Missing optimization for trivial MATMUL cases, requires -fno-signed-zeros

2023-08-03 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110888 --- Comment #1 from Rimvydas (RJ) --- Created attachment 55680 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55680=edit possible fix With this patch an extra register is freed and compiler produces expected code on x86_64: movsd

[Bug fortran/110888] New: Missing optimization for trivial MATMUL cases, requires -fno-signed-zeros

2023-08-03 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110888 Bug ID: 110888 Summary: Missing optimization for trivial MATMUL cases, requires -fno-signed-zeros Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug c/110887] New: ICE: gcc: internal compiler error: Segmentation fault signal terminated program cc1 since r14-2925-g2bae476b511

2023-08-03 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110887 Bug ID: 110887 Summary: ICE: gcc: internal compiler error: Segmentation fault signal terminated program cc1 since r14-2925-g2bae476b511 Product: gcc Version:

[Bug middle-end/110886] [14 Regression] ICE on linux-6.4.7: SIGSEGV on gimple_bitwise_inverted_equal_p (infinite recursion?)

2023-08-03 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110886 --- Comment #2 from Sergei Trofimovich --- Forgot the reproducer itself: // $ cat altera.c.c int altera_export_bool_array_count_i, altera_export_bool_array_count_line, r; unsigned altera_export_bool_array_count_k; void

[Bug middle-end/110874] [14 Regression] ice with -O2 with recent gcc

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110874 Andrew Pinski changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comment

[Bug middle-end/110886] [14 Regression] ICE on linux-6.4.7: SIGSEGV on gimple_bitwise_inverted_equal_p (infinite recursion?)

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110886 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/110886] New: [14 Regression] ICE on linux-6.4.7: SIGSEGV on gimple_bitwise_inverted_equal_p (infinite recursion?)

2023-08-03 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110886 Bug ID: 110886 Summary: [14 Regression] ICE on linux-6.4.7: SIGSEGV on gimple_bitwise_inverted_equal_p (infinite recursion?) Product: gcc Version: 14.0 Status:

[Bug other/110885] New: "undefined reference" when using both "-fdebug-types-section" and "-gsplit-dwarf"

2023-08-03 Thread linh.lrd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110885 Bug ID: 110885 Summary: "undefined reference" when using both "-fdebug-types-section" and "-gsplit-dwarf" Product: gcc Version: unknown Status: UNCONFIRMED

[Bug middle-end/110884] strncmp false positive with -Wstringop-overread on coreutils

2023-08-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110884 --- Comment #1 from Andrew Pinski --- You could use SSIZE_MAX here ... That is what 9223372036854775807 is in this case ...

[Bug middle-end/110884] New: strncmp false positive with -Wstringop-overread on coreutils

2023-08-03 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110884 Bug ID: 110884 Summary: strncmp false positive with -Wstringop-overread on coreutils Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/110792] [13/14 Regression] GCC 13 x86_32 miscompilation of Whirlpool hash function

2023-08-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110792 --- Comment #13 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:790c1f60a5662b16eb19eb4b81922995863c7571 commit r14-2939-g790c1f60a5662b16eb19eb4b81922995863c7571 Author: Roger Sayle Date: Thu

  1   2   >