[Bug driver/114447] -fstack-protector-explicit ignored

2024-03-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114447 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/57176] copy elision with function arguments passed by value

2024-03-25 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57176 Marc Glisse changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/58055] [meta-bug] RVO / NRVO improvements

2024-03-25 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58055 Bug 58055 depends on bug 57176, which changed state. Bug 57176 Summary: copy elision with function arguments passed by value https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57176 What|Removed |Added

[Bug target/111231] [12/13/14 regression] armhf: Miscompilation with -O2/-fno-exceptions level (-fno-tree-vectorize is working)

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231 Richard Biener changed: What|Removed |Added Priority|P1 |P2

[Bug middle-end/111151] [12/13/14 Regression] Wrong code at -O0 on x86_64-pc-linux-gnu

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51 Richard Biener changed: What|Removed |Added Priority|P1 |P2

[Bug c++/59926] Remove temporary move constructor before move assignment

2024-03-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59926 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/57176] copy elision with function arguments passed by value

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

[Bug ada/114398] [13/14 regression] Storage_Error with 'Access of primitive function returning limited type

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114398 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.3 Priority|P3

[Bug tree-optimization/114465] "x % const1 % const2" should be optimized if const1 % const2 == 0

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114465 Xi Ruoyao changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug target/110027] [11/12/13/14 regression] Misaligned vector store on detect_stack_use_after_return

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5 Priority|P3

[Bug tree-optimization/114465] New: "x % const1 % const2" should be optimized if const1 % const2 == 0

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114465 Bug ID: 114465 Summary: "x % const1 % const2" should be optimized if const1 % const2 == 0 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/114464] [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 --- Comment #2 from Sam James --- Ah, yes, sorry. Reducing too.

[Bug tree-optimization/114464] [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code,

[Bug libstdc++/114316] assert failure with _GLIBCXX_DEBUG and empty range of singular iterators passed to std:: algorithm

2024-03-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114316 Jonathan Wakely changed: What|Removed |Added Target Milestone|14.0|13.3

[Bug middle-end/114464] New: [14 regression] ICE when building tdscpp-20240212

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114464 Bug ID: 114464 Summary: [14 regression] ICE when building tdscpp-20240212 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/114441] Relocation issues when compiling with -O1,-O2,and -Os

2024-03-25 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114441 --- Comment #5 from Yang Wang --- (In reply to Xi Ruoyao from comment #4) > (In reply to Yang Wang from comment #3) > > (In reply to Andrew Pinski from comment #1) > > > This is not a GCC bug, > > > > > > You need to use -mcmodel=large if you

[Bug ada/114424] gnat: Ada.Calendar.Clock crashes on 32bit architectures with 64bit time_t

2024-03-25 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114424 --- Comment #9 from Matthias Klose --- not sure if that's the right forum here, however: - in both Debian and Ubuntu, we're currently doing the time_t 64bit transition, for gnat that is moving from packages built with gnat-12 (32bit

[Bug c++/114462] [C++26] P2809R3 - Trivial infinite loops are not undefined behavior

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462 --- Comment #3 from Jakub Jelinek --- And another case to watch for is: void qux () { while (const bool b = bar ()) ; }

[Bug c++/114462] [C++26] P2809R3 - Trivial infinite loops are not undefined behavior

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug c++/114462] [C++26] P2809R3 - Trivial infinite loops are not undefined behavior

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462 --- Comment #1 from Richard Biener --- Apart from marking via -ffinite-loops GCC considers loops without an exit as not required to make "forward progress". That's more than just a constant controlling expression but should allow optimizing

[Bug go/114463] New: go.test/test/fixedbugs/issue4458.go FAILs

2024-03-25 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114463 Bug ID: 114463 Summary: go.test/test/fixedbugs/issue4458.go FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go

[Bug c++/114462] New: [C++26] P2809R3 - Trivial infinite loops are not undefined behavior

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114462 Bug ID: 114462 Summary: [C++26] P2809R3 - Trivial infinite loops are not undefined behavior Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/114461] New: [C++26] P3034R1 - Disallow module declarations to be macros

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114461 Bug ID: 114461 Summary: [C++26] P3034R1 - Disallow module declarations to be macros Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/114460] New: [C++26] P3106R1 - Clarifying rules for brace elision in aggregate initialization

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114460 Bug ID: 114460 Summary: [C++26] P3106R1 - Clarifying rules for brace elision in aggregate initialization Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/114459] New: [C++26] P2893R3 - Variadic friends

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114459 Bug ID: 114459 Summary: [C++26] P2893R3 - Variadic friends Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/114458] New: [C++26] P2573R2 - = delete("reason");

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114458 Bug ID: 114458 Summary: [C++26] P2573R2 - = delete("reason"); Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/114457] New: [C++26] P2795R5 - Erroneous behavior for uninitialized reads

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114457 Bug ID: 114457 Summary: [C++26] P2795R5 - Erroneous behavior for uninitialized reads Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/114456] New: [C++26] P0609R3 - Attributes for structured bindings

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114456 Bug ID: 114456 Summary: [C++26] P0609R3 - Attributes for structured bindings Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/114455] New: [C++26] P2748R5 - Disallow binding a returned reference to a temporary

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114455 Bug ID: 114455 Summary: [C++26] P2748R5 - Disallow binding a returned reference to a temporary Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug go/114454] New: go.test/test/fixedbugs/issue27836.go FAILs with LANG=C

2024-03-25 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114454 Bug ID: 114454 Summary: go.test/test/fixedbugs/issue27836.go FAILs with LANG=C Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-25 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Stefan Schulze Frielinghaus changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |stefansf at gcc

[Bug middle-end/111151] [12/13/14 Regression] Wrong code at -O0 on x86_64-pc-linux-gnu

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51 --- Comment #14 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #12) > The following testcase at least reproduces the unsigned multiplication > issue, but doesn't reproduce the signed multiplication nor division by -1. > int >

[Bug c++/93595] [c++20] function call, substitution failure of template parameter with a lambda default in template context

2024-03-25 Thread andrea.agostini.sax at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93595 Andrea Agostini changed: What|Removed |Added CC||andrea.agostini.sax at gmail dot c

[Bug go/114453] New: 32-bit go.test/test/fixedbugs/issue16016.go FAILs

2024-03-25 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114453 Bug ID: 114453 Summary: 32-bit go.test/test/fixedbugs/issue16016.go FAILs Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/114452] Functions invoked through compile-time table of function pointers not inlined

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114452 --- Comment #3 from Xi Ruoyao --- (In reply to Paweł Bylica from comment #2) > I don't think this is related to lambdas. The following is also not > optimized: > > > using F = int (*)(int) noexcept; > > inline int impl(int x) noexcept {

[Bug rtl-optimization/114452] Functions invoked through compile-time table of function pointers not inlined

2024-03-25 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114452 --- Comment #2 from Paweł Bylica --- I don't think this is related to lambdas. The following is also not optimized: using F = int (*)(int) noexcept; inline int impl(int x) noexcept { return x; } void test(int z[2]) noexcept { static

[Bug ipa/111573] lambda functions often not inlined and optimized out

2024-03-25 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111573 Xi Ruoyao changed: What|Removed |Added CC||chfast at gmail dot com --- Comment #3

[Bug rtl-optimization/114452] Functions invoked through compile-time table of function pointers not inlined

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

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #29 from Uroš Bizjak --- Do we also need to adjust TSAN? There is a bugreport that KCSAN does work correctly with the named address spaces.(In reply to Jakub Jelinek from comment #28) > Created attachment 57807 [details] >

[Bug rtl-optimization/114452] New: Functions invoked through compile-time table of function pointers not inlined

2024-03-25 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114452 Bug ID: 114452 Summary: Functions invoked through compile-time table of function pointers not inlined Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/77776] C++17 std::hypot implementation is poor

2024-03-25 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #24 from Matthias Kretz (Vir) --- (In reply to g.peterhoff from comment #23) > * How do you create the benchmarks? https://github.com/mattkretz/simd-benchmarks Look at hypot3.cpp :)

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #28 from Jakub Jelinek --- Created attachment 57807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57807=edit gcc14-pr111736-tsan.patch Untested patch for tsan.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #27 from Jakub Jelinek --- I think it should. E.g. for int __seg_fs a; void foo (int __seg_fs *p) { a = *p; } the instrumentation is _5 = __builtin_return_address (0); __builtin___tsan_func_entry (_5);

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #14 from Sam James --- Hi Stefan, you should be able to change your email on bugzilla to @gcc.gnu.org and gain permissions.

[Bug middle-end/114449] bswap64 not optimized

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114449 --- Comment #5 from Richard Biener --- Note we do unroll the loop with -O3 but only late after which we do not re-do bswap recognition (which happens before loop optimization). At -O2 we don't unroll because that increases code-size too much.

[Bug sanitizer/111736] Address sanitizer is not compatible with named address spaces

2024-03-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111736 --- Comment #26 from Uroš Bizjak --- Do we also need to adjust TSAN? There is a bugreport that KCSAN does work correctly with the named address spaces.

[Bug driver/114447] -fstack-protector-explicit ignored

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114447 Richard Biener changed: What|Removed |Added CC||doko at gcc dot gnu.org

[Bug tree-optimization/114440] Fail to recognize a chain of lane-reduced operations for loop reduction vect

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114440 Richard Biener changed: What|Removed |Added Blocks||53947 Last reconfirmed|

[Bug target/114416] calling convention incompatibility with vendor compiler for V9

2024-03-25 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114416 --- Comment #5 from Eric Botcazou --- Created attachment 57806 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57806=edit Tentative fix

[Bug tree-optimization/114435] PCOM messes up vectorization some times

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114435 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Last

[Bug middle-end/111151] [12/13/14 Regression] Wrong code at -O0 on x86_64-pc-linux-gnu

2024-03-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51 --- Comment #13 from Richard Biener --- (In reply to Jakub Jelinek from comment #11) > Perhaps > --- fold-const.cc.jj8 2024-03-11 22:37:29.0 +0100 > +++ fold-const.cc 2024-03-22 19:31:44.189686120 +0100 > @@ -7104,6 +7104,27 @@

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-25 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #13 from Stefan Schulze Frielinghaus --- I will take it and I've already prepared a patch. Currently, I'm still testing the patch. I hope I get enough compute resources in order to make it into GCC 14. Anyhow, you can assign the

<    1   2