[Bug c++/110167] excessive compile time when optimizing std::to_array

2023-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110167 --- Comment #2 from Jonathan Wakely --- The "obvious" alternative impl using a lambda expression is even slower: template struct array { int data[N]; }; template struct seq { }; #ifndef USE_LAMBDA template array to_array_impl(int

[Bug tree-optimization/110165] [13/14 Regression] wrong code with signed 1 bit integers sometimes since r13-4459-g6508d5e5a1a8

2023-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110165 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/110167] excessive compile time when optimizing std::to_array

2023-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110167 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug analyzer/109439] RFE: Spurious -Wanalyzer-use-of-uninitialized-value tagging along -Wanalyzer-out-of-bounds

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109439 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Benjamin Priour : https://gcc.gnu.org/g:9589a46ddadc8b93c224c3f84fa94746c04596bf commit r14-1632-g9589a46ddadc8b93c224c3f84fa94746c04596bf Author: Benjamin Priour Date:

[Bug analyzer/109437] -Wanalyzer-out-of-bounds is emitted at most once per frame.

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109437 --- Comment #3 from CVS Commits --- The trunk branch has been updated by Benjamin Priour : https://gcc.gnu.org/g:9589a46ddadc8b93c224c3f84fa94746c04596bf commit r14-1632-g9589a46ddadc8b93c224c3f84fa94746c04596bf Author: Benjamin Priour Date:

[Bug demangler/110147] UBSAN error in rust-demangle.c: NULL pointer passed to memcpy

2023-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110147 --- Comment #2 from Jonathan Wakely --- --- a/libiberty/rust-demangle.c +++ b/libiberty/rust-demangle.c @@ -1569,8 +1569,11 @@ str_buf_append (struct str_buf *buf, const char *data, size_t len) if (buf->errored) return; - memcpy

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-08 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 --- Comment #18 from anlauf at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #17) > The new testcase seems to fail on big-endian hosts. I've analyzed this on > 11 branch: > [...] > So, presumably we need in addition to the > &&

[Bug libstdc++/110138] Extra constructor called when using basic_string::operator+

2023-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110138 --- Comment #6 from Jonathan Wakely --- What matters is the "value" of the allocator, not how many times it gets copied.

[Bug libstdc++/110138] Extra constructor called when using basic_string::operator+

2023-06-08 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110138 --- Comment #5 from Jonathan Wakely --- Just use a stateful allocator and check that the correct state is propagated. See testsuite/21_strings/basic_string/allocator/char/operator_plus.cc which does exactly that.

[Bug libstdc++/110138] Extra constructor called when using basic_string::operator+

2023-06-08 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110138 Hongyu Wang changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/110152] [14 Regression] ICE on 3dnow-1.c since r14-1166

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

[Bug target/109939] Invalid return type for __builtin_arm_ssat: Unsigned instead of signed

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109939 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:a620451032abb28343c31438a4e779ea5d2e1bbf commit r12-9683-ga620451032abb28343c31438a4e779ea5d2e1bbf Author: Kyrylo

[Bug fortran/96024] [10/11/12/13 Regression] ICE in mio_name_expr_t, at fortran/module.c:2159

2023-06-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96024 Jakub Jelinek changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/109939] Invalid return type for __builtin_arm_ssat: Unsigned instead of signed

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109939 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Kyrylo Tkachov : https://gcc.gnu.org/g:8f170995aac3fd568652eb208eca62e3937d0cf1 commit r13-7428-g8f170995aac3fd568652eb208eca62e3937d0cf1 Author: Kyrylo

[Bug target/110152] [14 Regression] ICE on 3dnow-1.c since r14-1166

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110152 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2b2bf793d3fb8980cb2b83e9e2a8c236ad2434f5 commit r14-1630-g2b2bf793d3fb8980cb2b83e9e2a8c236ad2434f5 Author: Jakub Jelinek Date:

[Bug c/110168] New: Security issue on FORTIFY_SOURCE for strcpy function (tested on i386/32 bits)

2023-06-08 Thread moncho.mendez at uvigo dot gal via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110168 Bug ID: 110168 Summary: Security issue on FORTIFY_SOURCE for strcpy function (tested on i386/32 bits) Product: gcc Version: 10.2.1 Status: UNCONFIRMED

[Bug fortran/107821] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3723

2023-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107821 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 107821, which changed state. Bug 107821 Summary: ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3723 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107821 What|Removed

[Bug fortran/109451] ICE in gfc_conv_expr_descriptor with ASSOCIATE and substrings

2023-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109451 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 109451, which changed state. Bug 109451 Summary: ICE in gfc_conv_expr_descriptor with ASSOCIATE and substrings https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109451 What|Removed |Added

[Bug fortran/99350] [10/11/12/13/14 Regression] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1869

2023-06-08 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99350 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/109451] ICE in gfc_conv_expr_descriptor with ASSOCIATE and substrings

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109451 --- Comment #3 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:d08f2e4f74583e27002368989bba197f8eb7f6d2 commit r14-1629-gd08f2e4f74583e27002368989bba197f8eb7f6d2 Author: Paul Thomas Date: Thu

[Bug fortran/107821] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.cc:3723

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107821 --- Comment #2 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:d08f2e4f74583e27002368989bba197f8eb7f6d2 commit r14-1629-gd08f2e4f74583e27002368989bba197f8eb7f6d2 Author: Paul Thomas Date: Thu

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 --- Comment #4 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:d08f2e4f74583e27002368989bba197f8eb7f6d2 commit r14-1629-gd08f2e4f74583e27002368989bba197f8eb7f6d2 Author: Paul Thomas Date: Thu

[Bug fortran/99350] [10/11/12/13/14 Regression] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1869

2023-06-08 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99350 --- Comment #6 from CVS Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:d08f2e4f74583e27002368989bba197f8eb7f6d2 commit r14-1629-gd08f2e4f74583e27002368989bba197f8eb7f6d2 Author: Paul Thomas Date: Thu

<    1   2