[Bug c++/105881] GCC release mode can crash Torque3D

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

[Bug c++/105882] New: A possible constexpr bug

2022-06-08 Thread zhonghao at pku dot org.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105882 Bug ID: 105882 Summary: A possible constexpr bug Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug c++/105882] A possible constexpr bug

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

[Bug c++/88174] Make __real__ += __val usable in constexpr context.

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88174 Andrew Pinski changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment #

[Bug sanitizer/105870] Asan cannot work correctly for RISC-V GCC

2022-06-08 Thread cooper.joshua at linux dot alibaba.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105870 --- Comment #6 from JUN SHA --- (In reply to Andreas Schwab from comment #4) > The situation hasn't changed in the last 7 months. Do you know which patch caused this failure 7 months ago?

[Bug tree-optimization/105883] New: Memcmp folded only when size is a power of two

2022-06-08 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105883 Bug ID: 105883 Summary: Memcmp folded only when size is a power of two Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #5 from Jonathan Wakely --- (In reply to cqwrteur from comment #4) > btw since the function is inline linkaged, the entire program would only > contain one copy of __my_glibcxx_constexpr_assert. For example for > std::span::operator[

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-08 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #6 from cqwrteur --- (In reply to Jonathan Wakely from comment #5) > (In reply to cqwrteur from comment #4) > > btw since the function is inline linkaged, the entire program would only > > contain one copy of __my_glibcxx_constexpr_a

[Bug c++/105884] New: A possible optimization bug when uint64_t is used with -O2/-O3.

2022-06-08 Thread zhonghao at pku dot org.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105884 Bug ID: 105884 Summary: A possible optimization bug when uint64_t is used with -O2/-O3. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #7 from Jonathan Wakely --- Right, but that function doesn't even exist today, so there's nothing to merge today. This change adds new symbols (one for every assertion in the library) which must be assembled and then merged by the li

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-08 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #8 from cqwrteur --- (In reply to Jonathan Wakely from comment #7) > Right, but that function doesn't even exist today, so there's nothing to > merge today. This change adds new symbols (one for every assertion in the > library) whic

[Bug c++/105884] A possible optimization bug when uint64_t is used with -O2/-O3.

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105884 --- Comment #1 from Andrew Pinski --- I am 99% sure this is an aliasing issue with the code. Try -fno-strict-aliasing.

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-08 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #9 from cqwrteur --- if I use std::span, the compiler would have to emit assertions in every function I use them, while the 2nd case would only do that once for the operation [] case for example. It reduces the code size of the funct

[Bug libstdc++/105810] __glibcxx_assert can be improved greatly.

2022-06-08 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105810 --- Comment #10 from cqwrteur --- (In reply to Jonathan Wakely from comment #7) > Right, but that function doesn't even exist today, so there's nothing to > merge today. This change adds new symbols (one for every assertion in the > library) whi

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #7 from Jonathan Wakely --- (In reply to Chris Johns from comment #6) > It would have to be last or close to it and I have no idea how that could be > done without additional attributes that are not standard. That's fine, the C++ ru

[Bug ada/105872] GNAT Bug Box compiling gcc/ada/spark_xrefs.adb

2022-06-08 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105872 Mikael Pettersson changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Com

[Bug ada/105872] GNAT Bug Box compiling gcc/ada/spark_xrefs.adb

2022-06-08 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105872 --- Comment #3 from Mikael Pettersson --- Also see PR105874.

[Bug target/105873] [amdgcn][OpenMP] task reductions fail with "team master not responding; slave thread aborting"

2022-06-08 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105873 --- Comment #4 from Andrew Stubbs --- I think unused threads should be given a no-op function to run, not a null pointer. The GCN implementation cannot tell the difference between a null pointer and an unset pointer (which is what happens when t

[Bug ada/105872] GNAT Bug Box compiling gcc/ada/spark_xrefs.adb

2022-06-08 Thread matthias291999 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105872 --- Comment #4 from Matthias Zimmerman --- git bisect blames ed6fd2aed58f2cca99f15331bf68999c0e6df370 for this bug...

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #8 from Jonathan Wakely --- As Andrew says, the problem here is that __cxa_get_globals is being used after the global has been destroyed. Nothing done to the _M_init member in the destructor can be changed to fix that, accessing an o

[Bug middle-end/105874] [13 Regression] Incorrect codegen and ICE since g:ed6fd2aed58f2cca99f15331bf68999c0e6df370

2022-06-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874 --- Comment #3 from Tamar Christina --- (In reply to Roger Sayle from comment #1) > Hi Tamar. > I'm truly sorry for the inconvenience. Can you try reducing again now that > the load_register_parameters issue with the "small const structs as > i

[Bug c++/105884] A possible optimization bug when uint64_t is used with -O2/-O3.

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105884 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRME

[Bug c++/105884] A possible optimization bug when uint64_t is used with -O2/-O3.

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105884 --- Comment #3 from Jonathan Wakely --- I commented upstream: https://github.com/bol-van/zapret/commit/9402cd2cf0a16352a3401f7bce1a894bf131138b#r75598628

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #9 from Jonathan Wakely --- Created attachment 53103 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53103&action=edit Fix lifetime bugs for non-TLS eh_globals Does this work?

[Bug c++/105885] New: [Regression]: Spurious warning: "the address of [...] will never be NULL [-Waddress]" with const char* template argument

2022-06-08 Thread info--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105885 Bug ID: 105885 Summary: [Regression]: Spurious warning: "the address of [...] will never be NULL [-Waddress]" with const char* template argument Product: gcc Ver

[Bug c/105886] New: GCC optimizes structs with FP registers but ignores alignment in this case

2022-06-08 Thread keven.kloeckner at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105886 Bug ID: 105886 Summary: GCC optimizes structs with FP registers but ignores alignment in this case Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: n

[Bug target/105773] [Aarch64] Failure to optimize and+cmp to tst

2022-06-08 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105773 Richard Earnshaw changed: What|Removed |Added Last reconfirmed||2022-06-08 Status|UNCONF

[Bug target/105773] [Aarch64] Failure to optimize and+cmp to tst

2022-06-08 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105773 Richard Earnshaw changed: What|Removed |Added Priority|P3 |P4 Severity|normal

[Bug middle-end/105874] [13 Regression] Incorrect codegen and ICE since g:ed6fd2aed58f2cca99f15331bf68999c0e6df370

2022-06-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #4 from Roger Sayle

[Bug target/105782] [sparc64] Emission of questionable movxtod/movdtox with -mvis3

2022-06-08 Thread koachan+gccbugs at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105782 --- Comment #4 from Koakuma --- (In reply to Eric Botcazou from comment #3) > I guess that, under high register pressure, the register allocator rather > uses floating-point registers than spllling values on the stack. I suppose so? However, I

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-06-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #12 from qinzhao at gcc dot gnu.org --- In the current tree-object-size.cc, "addr_object_size", it's clearly state the following: 607 /* For &X->fld, compute object size only if fld isn't the last 608

[Bug analyzer/105887] New: RFE: clang analyzer warnings that GCC's -fanalyzer could implement

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887 Bug ID: 105887 Summary: RFE: clang analyzer warnings that GCC's -fanalyzer could implement Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: meta-bug

[Bug analyzer/105888] New: RFE: -fanalyzer should complain when an on-stack address escapes/outlives the function

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105888 Bug ID: 105888 Summary: RFE: -fanalyzer should complain when an on-stack address escapes/outlives the function Product: gcc Version: 12.0 Status: UNCONFIRMED S

[Bug analyzer/105889] New: RFE: -fanalyzer should complain about uses of inherently unsafe functions

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105889 Bug ID: 105889 Summary: RFE: -fanalyzer should complain about uses of inherently unsafe functions Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug analyzer/105890] New: RFE: -fanalyzer should complain about mkstemp with not enough "X"s in format string

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105890 Bug ID: 105890 Summary: RFE: -fanalyzer should complain about mkstemp with not enough "X"s in format string Product: gcc Version: 12.0 Status: UNCONFIRMED Seve

[Bug analyzer/105891] New: RFE: -fanalyzer could complain about pointer arithmetic on non-arrays

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105891 Bug ID: 105891 Summary: RFE: -fanalyzer could complain about pointer arithmetic on non-arrays Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/105892] New: RFE: -fanalyzer could complain about pointer subtraction of pointers to different memory chunks

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105892 Bug ID: 105892 Summary: RFE: -fanalyzer could complain about pointer subtraction of pointers to different memory chunks Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug analyzer/105893] New: RFE: -fanalyzer could check putenv calls

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105893 Bug ID: 105893 Summary: RFE: -fanalyzer could check putenv calls Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyze

[Bug analyzer/105894] New: RFE: -fanalyzer could complain about misuse of functions that return pointers to a static buffer

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105894 Bug ID: 105894 Summary: RFE: -fanalyzer could complain about misuse of functions that return pointers to a static buffer Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug analyzer/105895] New: RFE: -fanalyzer could check constraints on calls to C standard library

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105895 Bug ID: 105895 Summary: RFE: -fanalyzer could check constraints on calls to C standard library Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/105896] New: RFE: -fanalyzer could complain about improper uses of "chroot"

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105896 Bug ID: 105896 Summary: RFE: -fanalyzer could complain about improper uses of "chroot" Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/105897] New: RFE: -fanalyzer could complain about misuses of pthread API

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105897 Bug ID: 105897 Summary: RFE: -fanalyzer could complain about misuses of pthread API Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug analyzer/105898] New: RFE: -fanalyzer should complain about overlapping args to memcpy and mempcpy

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105898 Bug ID: 105898 Summary: RFE: -fanalyzer should complain about overlapping args to memcpy and mempcpy Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: n

[Bug analyzer/105899] New: RFE: -fanalyzer could complain about misuses of standard C string APIs

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105899 Bug ID: 105899 Summary: RFE: -fanalyzer could complain about misuses of standard C string APIs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/105900] New: RFE: -fanalyzer could check malloc sizes when casting the result to a pointer

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 Bug ID: 105900 Summary: RFE: -fanalyzer could check malloc sizes when casting the result to a pointer Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug analyzer/99669] RFE: detect division by zero in analyzer

2022-06-08 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99669 David Malcolm changed: What|Removed |Added Blocks||105887 --- Comment #2 from David Malcolm

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-06-08 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #13 from Kees Cook --- Maybe the enum needs to also be expanded so that [0] can be distinguished from []?

[Bug c++/88174] Make __real__ += __val usable in constexpr context.

2022-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88174 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/105874] [13 Regression] Incorrect codegen and ICE since g:ed6fd2aed58f2cca99f15331bf68999c0e6df370

2022-06-08 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874 --- Comment #5 from Tamar Christina --- Ah, great, Thanks Roger! I did end up reducing it to: template class b { public: int c[a]; int operator[](long d) const { return c[d]; } }; class board { bool is_eye(int, int); static const b<2>

[Bug target/105879] DI mode constants are incorrectly loaded into registers on big-endian xtensa

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105879 --- Comment #1 from CVS Commits --- The master branch has been updated by Max Filippov : https://gcc.gnu.org/g:e94c6dbfb57a862dd8a8685eabc4886ad1aaea25 commit r13-1015-ge94c6dbfb57a862dd8a8685eabc4886ad1aaea25 Author: Max Filippov Date: Tue

[Bug libstdc++/105681] [12 Regression] libstdc++-v3 fails to build on msp430

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105681 --- Comment #14 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ca1ab44ad8a61e2b916cf4173fe452b78ed6 commit r12-8464-gca1ab44ad8a61e2b916cf4173fe452b78ed6 Author: Jonathan Wak

[Bug libstdc++/105671] [11/12 Regression] Unexplained "undefined reference" error

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d47c4f0f1da0aa84097878b82e100d08deb6d950 commit r12-8465-gd47c4f0f1da0aa84097878b82e100d08deb6d950 Author: Jonathan Wake

[Bug sanitizer/105817] outline kernel-address sanitizer doesn't save caller-saved registers properly on AArch64

2022-06-08 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105817 --- Comment #1 from Richard Earnshaw --- The GCC manual says register int *p1 asm ("r0") = …; register int *p2 asm ("r1") = …; register int *result asm ("r0"); asm ("sysint" : "=r" (result) : "0" (p1), "r" (p2)); Warning: In the above example,

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-06-08 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #14 from qinzhao at gcc dot gnu.org --- (In reply to Kees Cook from comment #13) > Maybe the enum needs to also be expanded so that [0] can be distinguished > from []? I believe that the IR for real flexible array [] is different fro

[Bug libstdc++/105681] [12 Regression] libstdc++-v3 fails to build on msp430

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105681 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/105671] [11 Regression] Unexplained "undefined reference" error

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105671 Jonathan Wakely changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression] Unexplained

[Bug target/105879] DI mode constants are incorrectly loaded into registers on big-endian xtensa

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105879 --- Comment #2 from CVS Commits --- The releases/gcc-12 branch has been updated by Max Filippov : https://gcc.gnu.org/g:777a80af43eebb7506937cf04b54f17c4fce2b8e commit r12-8466-g777a80af43eebb7506937cf04b54f17c4fce2b8e Author: Max Filippov Da

[Bug target/105879] DI mode constants are incorrectly loaded into registers on big-endian xtensa

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105879 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Max Filippov : https://gcc.gnu.org/g:ee9cd6d6e504cb67b27b1a5e39f965bafd62653b commit r11-10054-gee9cd6d6e504cb67b27b1a5e39f965bafd62653b Author: Max Filippov D

[Bug target/105879] DI mode constants are incorrectly loaded into registers on big-endian xtensa

2022-06-08 Thread jcmvbkbc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105879 jcmvbkbc at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolutio

[Bug analyzer/105890] RFE: -fanalyzer should complain about mkstemp with not enough "X"s in format string

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105890 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org Last rec

[Bug analyzer/105889] RFE: -fanalyzer should complain about uses of inherently unsafe functions

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

[Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement

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

[Bug analyzer/105895] RFE: -fanalyzer could check constraints on calls to C standard library

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105895 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/78155] missing warning on invalid usage of functions/macros from (isalpha et al.)

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78155 --- Comment #8 from Eric Gallager --- (In reply to Martin Sebor from comment #4) > I don't really see what existing warning this might fall under, except > perhaps -Wchar-subscripts because isalpha and friend use the argument as an > index into a

[Bug analyzer/105889] RFE: -fanalyzer should complain about uses of inherently unsafe functions

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105889 --- Comment #2 from Eric Gallager --- Alternate idea: have fixincludes modify headers that still declare gets() and mktemp() to annotate them with __attribute__((error)) or __attribute__((warning)), if they don't already have at least one of the

[Bug analyzer/105898] RFE: -fanalyzer should complain about overlapping args to memcpy and mempcpy

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

[Bug ada/105872] GNAT Bug Box compiling gcc/ada/spark_xrefs.adb

2022-06-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105872 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/105874] [13 Regression] Incorrect codegen and ICE since g:ed6fd2aed58f2cca99f15331bf68999c0e6df370

2022-06-08 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874 Eric Botcazou changed: What|Removed |Added CC||matthias291999 at gmail dot com --- Com

[Bug middle-end/105874] [13 Regression] Incorrect codegen and ICE since g:ed6fd2aed58f2cca99f15331bf68999c0e6df370

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105874 --- Comment #7 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:b6e1373bd34aebbb512a03ea9a4e3c7acd955382 commit r13-1016-gb6e1373bd34aebbb512a03ea9a4e3c7acd955382 Author: Roger Sayle Date: Wed J

[Bug c++/96442] [10/11/12/13 Regression] ICE in tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have record_type in int_fits_type_p, at tree.c:8954

2022-06-08 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96442 Roger Sayle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/105761] [11/12/13 Regression] ICE on hidden friend definition defined in base type since r11-388-gc4bff4c230c8d341

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105761 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7d87790a871482e9c5142a8e885b4a5f76d197c8 commit r13-1017-g7d87790a871482e9c5142a8e885b4a5f76d197c8 Author: Jason Merrill Date: M

[Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105852 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7d87790a871482e9c5142a8e885b4a5f76d197c8 commit r13-1017-g7d87790a871482e9c5142a8e885b4a5f76d197c8 Author: Jason Merrill Date: M

[Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105852 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c commit r13-1018-ge8ed26c2ac38ab1f6ed5a627d9089a9243e06a0c Author: Jason Merrill Date: T

[Bug c++/105901] New: [C++20] Code generation bug. Well-formed Program segfaults.

2022-06-08 Thread benni at stuerz dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105901 Bug ID: 105901 Summary: [C++20] Code generation bug. Well-formed Program segfaults. Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105901] [C++20] Code generation bug. Well-formed Program segfaults.

2022-06-08 Thread benni at stuerz dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105901 --- Comment #1 from Benjamin Stürz --- Created attachment 53106 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53106&action=edit The preprocessed file (too large to be plain, sorry).

[Bug middle-end/105902] New: Documentation for the RTL front-end was never added

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105902 Bug ID: 105902 Summary: Documentation for the RTL front-end was never added Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: documentation Severity: normal

[Bug c++/105901] [C++20] Code generation bug. Well-formed Program segfaults.

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105901 --- Comment #2 from Andrew Pinski --- my bet it is going into an infinite recusion.

[Bug c++/105901] [C++20] Code generation bug. Well-formed Program segfaults.

2022-06-08 Thread benni at stuerz dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105901 --- Comment #3 from Benjamin Stürz --- Created attachment 53107 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53107&action=edit Backtrace Yes seems like it.

[Bug c++/105901] [C++20] Code generation bug. Well-formed Program segfaults.

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105901 --- Comment #4 from Jonathan Wakely --- And my bet is it's due to using braced-init instead of parentheses.

[Bug c++/105761] [11/12/13 Regression] ICE on hidden friend definition defined in base type since r11-388-gc4bff4c230c8d341

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105761 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e057d454db4dcf48c22f75e57599f797d8e55baf commit r12-8467-ge057d454db4dcf48c22f75e57599f797d8e55baf Author: Jason Merrill

[Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105852 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e057d454db4dcf48c22f75e57599f797d8e55baf commit r12-8467-ge057d454db4dcf48c22f75e57599f797d8e55baf Author: Jason Merrill

[Bug c++/105852] [11/12/13 Regression] ice in instantiate_decl

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105852 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3e39a0a4b71dce674ee30fe71590b0152663b6d8 commit r11-10055-g3e39a0a4b71dce674ee30fe71590b0152663b6d8 Author: Jason Merrill

[Bug c++/105761] [11/12/13 Regression] ICE on hidden friend definition defined in base type since r11-388-gc4bff4c230c8d341

2022-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105761 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:3e39a0a4b71dce674ee30fe71590b0152663b6d8 commit r11-10055-g3e39a0a4b71dce674ee30fe71590b0152663b6d8 Author: Jason Merrill

[Bug c++/105901] [C++20] Code generation bug. Well-formed Program segfaults.

2022-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105901 --- Comment #5 from Jonathan Wakely --- i.e. another dup of Bug 85577

[Bug c++/105901] [C++20] Code generation bug. Well-formed Program segfaults.

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

[Bug c++/85577] list-initialization chooses initializer-list constructor

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85577 Andrew Pinski changed: What|Removed |Added CC||benni at stuerz dot xyz --- Comment #10

[Bug c++/84920] Better handling of unmatched/ambiguous calls

2022-06-08 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84920 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org --- Comment #8 f

[Bug c++/105885] [12/13 Regression] the address of 'template argument' will never be NULL warning

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105885 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Summary|[Regression]: Spur

[Bug target/105886] -mstrict-align is ignorning unalign in some cases

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105886 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Last reconfirmed|

[Bug target/105886] -mstrict-align is ignorning unalign in some cases

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105886 Andrew Pinski changed: What|Removed |Added Depends on||103100 --- Comment #2 from Andrew Pinsk

[Bug c++/105903] New: Missed optimization for __synth3way

2022-06-08 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105903 Bug ID: 105903 Summary: Missed optimization for __synth3way Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/105903] Missed optimization for __synth3way

2022-06-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105903 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Status|UN

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread chrisj at rtems dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #10 from Chris Johns --- (In reply to Jonathan Wakely from comment #9) > Created attachment 53103 [details] > Fix lifetime bugs for non-TLS eh_globals > > Does this work? That is a great way to solve this problem given the limitati

[Bug ipa/100034] missed optimization for dead code elimination at -O3 (vs. -O1, -Os, -O2)

2022-06-08 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100034 --- Comment #2 from luoxhu at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) > Looks related to PR1 - we do an IPA SRA clone but fail to inline it and > thus we end up with > > void d.isra () > { > int D.1980; > int g.2