[Bug c++/66028] false positive, unused loop variable

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66028 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug tree-optimization/114615] New: spurious warning on mingw-w64: 'memcpy' reading 4 or more bytes from a region of size 2 with std::wstring{L""} and -flto -O1 [Wstringop-overread]

2024-04-05 Thread bugzilla.gcc.simon at arlott dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114615 Bug ID: 114615 Summary: spurious warning on mingw-w64: 'memcpy' reading 4 or more bytes from a region of size 2 with std::wstring{L""} and -flto -O1 [Wstringop-overread] Pr

[Bug target/114615] spurious warning on mingw-w64: 'memcpy' reading 4 or more bytes from a region of size 2 with std::wstring{L""} and -flto -O1 [Wstringop-overread]

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114615 Andrew Pinski changed: What|Removed |Added Target||x86_64-w64-mingw32 Component|t

[Bug c++/98543] fails to diagnose unnecessary functions

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98543 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-01-07 00:00:00 |2024-4-5 --- Comment #2 from Andrew Pins

[Bug c++/67928] Ambiguous call not diagnosed

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67928 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug c++/44520] improve diagnostic for ambiguous base class lookup

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44520 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Summary|improve d

[Bug c++/99281] internal compiler error: in assign_temp, at function.c:984

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99281 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/114616] New: RFE: show type and possible ranges of size in -Wanalyzer-tainted-size and -Wanalyzer-tainted-allocation-size

2024-04-05 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114616 Bug ID: 114616 Summary: RFE: show type and possible ranges of size in -Wanalyzer-tainted-size and -Wanalyzer-tainted-allocation-size Product: gcc Version: 14.0

[Bug c++/56908] Spurious warning when XOR-ing uint8_t values

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56908 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/90085] c++17 template argument deduction results in missed optimization

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90085 Andrew Pinski changed: What|Removed |Added Known to work||13.1.0 Known to fail|

[Bug c++/72481] Compile error for varadic template

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72481 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug rtl-optimization/113951] regression redundant load (-fschedule-insns)

2024-04-05 Thread absoler at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113951 --- Comment #2 from absoler at smail dot nju.edu.cn --- after sched1 modified the code, ce3 introduced this extra load. un-sched1 code would not be pessimised by ce3

[Bug c++/85612] ADL lookup with parameter pack and defaulted argument not considered ambiguous

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85612 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.2 Status|UNCONFIRMED

[Bug c++/91798] Compiler rejects code due to template specialization of auto parameter value.

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91798 --- Comment #4 from Andrew Pinski --- Actually maybe GCC is correct here. Remove the variadic template: ``` //Get type parameter at given index. template struct param { static_assert(i > 0, "Index into parameter pack cannot be negative!");

[Bug c++/91798] Compiler rejects code due to template specialization of auto parameter value.

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91798 Andrew Pinski changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #5 from Andrew Pin

[Bug c++/91798] Compiler rejects code due to template specialization of auto parameter value.

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91798 Andrew Pinski changed: What|Removed |Added Depends on||60679 --- Comment #6 from Andrew Pinski

[Bug modula2/114617] New: gm2 is unable to resolve const expression using relative operators ICE

2024-04-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 Bug ID: 114617 Summary: gm2 is unable to resolve const expression using relative operators ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114617] gm2 is unable to resolve const expression using relative operators ICE

2024-04-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-04-06 Ever confirmed|0

[Bug modula2/114617] gm2 is unable to resolve const expression using relative operators ICE

2024-04-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 --- Comment #2 from Gaius Mulley --- Created attachment 57891 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57891&action=edit Proposed fix Here is a proposed fix which stores the result of the relop as a constant. The fix requires M2Quad

[Bug fortran/114618] New: Format produces incorrect output when contains 1x, ok when uses " "

2024-04-05 Thread urbanjost at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114618 Bug ID: 114618 Summary: Format produces incorrect output when contains 1x, ok when uses " " Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/51757] friend defined inside class and declared inside main linker error

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Resolution|---

[Bug c++/65608] [meta-bug] friend issues

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65608 Bug 65608 depends on bug 51757, which changed state. Bug 51757 Summary: friend defined inside class and declared inside main linker error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757 What|Removed |Added -

[Bug c++/62192] Segmentation fault when linking with Qt libraries

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

[Bug c++/78160] explicit template instantation with hidden symbols fails

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78160 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Keywords|

[Bug c++/87090] Constexpr variables in functions are not optimized correctly

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87090 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Sev

[Bug target/100641] Link error when using extern thread_local variables on AIX

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100641 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/93146] C++ TLS init function not generated on AIX

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93146 Andrew Pinski changed: What|Removed |Added CC||miladfarca at gmail dot com --- Comment

[Bug target/93146] C++ TLS init function not generated on AIX

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93146 --- Comment #5 from Andrew Pinski --- *** Bug 109091 has been marked as a duplicate of this bug. ***

[Bug target/109091] AIX: thread_local is not being internally linked

2024-04-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109091 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug lto/114574] [14 regression] ICE when building curl with LTO (fld_incomplete_type_of, at ipa-free-lang-data.cc:257) since r14-9763

2024-04-05 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114574 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org Priorit

<    1   2