[Bug driver/118803] cannot pass parameter `--save-temps` to `collect2`

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118803 --- Comment #4 from Andrew Pinski --- (In reply to Lorinczy Zsigmond from comment #3) > > On elf targets including Linux, collect2 does not produce any `*cdtor.c` > > files. Instead there is an elf section which gets used. > > Well `strace(1)`

[Bug fortran/24878] subroutine getting called illegally as a function

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24878 Thomas Koenig changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/118791] declare variant messes up template instantiation with rvalue arguments

2025-02-09 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 --- Comment #3 from sandra at gcc dot gnu.org --- Curiously, on the OG14 development branch the rvalue calls work but the lvalue ones are broken instead: $ install/bin/x86_64-none-linux-gnu-g++ -fopenmp -S quux.C quux.C: In instantiation of 'vo

[Bug c++/118791] declare variant messes up template instantiation with rvalue arguments

2025-02-09 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118791 --- Comment #4 from sandra at gcc dot gnu.org --- Ooops, I meant "specific to OG14 branch" in my last comment.

[Bug middle-end/117263] [12/13/14/15 Regression] genautomata.cc does not compile with -DNDEBUG due to unused but set variable

2025-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117263 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:b81bb3ed216213fdaba82addae9fc34619ad6ec7 commit r15-7450-gb81bb3ed216213fdaba82addae9fc34619ad6ec7 Author: Dario Gjorgjevski Date: Su

[Bug target/115123] [15 Regression] RISCV vector scan-assembler failures

2025-02-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115123 --- Comment #2 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:22e30d60b971eed9a4754ea920d05b1b7e89090a commit r15-7451-g22e30d60b971eed9a4754ea920d05b1b7e89090a Author: Jeff Law Date: Sun Feb 9 0

[Bug tree-optimization/114622] [12/13/14/15 regression] memcmp -Wstringop-overread false positive with -O0

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114622 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/114385] [12/13/14/15 regression] -Wrestrict false positive creating std::string from iterators

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114385 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug middle-end/100733] [12/13/14/15 Regression] -fcompare-debug failure for pr85213.c at -O1 -fdisable-tree-phiopt2

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100733 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/99302] untranslated diagnostic from gfc_compare_interfaces

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99302 --- Comment #3 from Thomas Koenig --- (In reply to Roland Illig from comment #2) > Maybe you can ask Martin Sebor for details regarding the diagnostics. > > There are several other code smells in that area, such as: "Code smells" is not a prob

[Bug preprocessor/118168] -Wmisleading-indentation causes 10x+ overhead or higher (visible on mypy-1.13.0)

2025-02-09 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118168 --- Comment #20 from David Malcolm --- Thanks!

[Bug c++/118809] New: Excessive memory usage with global std::vector> in C++20 mode

2025-02-09 Thread daklishch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809 Bug ID: 118809 Summary: Excessive memory usage with global std::vector> in C++20 mode Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/117263] [12/13/14 Regression] genautomata.cc does not compile with -DNDEBUG due to unused but set variable

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117263 Jeffrey A. Law changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

[Bug target/115123] [15 Regression] RISCV vector scan-assembler failures

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115123 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/118805] [15 Regression] wrong code at -O1 with "-fno-tree-ccp -fno-tree-copy-prop -fno-tree-forwprop -fno-tree-fre" on x86_64-linux-gnu since r15-6173

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118805 Sam James changed: What|Removed |Added Summary|[15 Regression] wrong code |[15 Regression] wrong code

[Bug c++/118574] [15 regression] Crashes with coroutines in KDE Plasma

2025-02-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118574 --- Comment #8 from Jakub Jelinek --- In the rhbz bug Alessandro Astone came up with: #include #include #include #include #include #include using namespace std::chrono_literals; struct TimerAwaiter { std::chrono::milliseconds duratio

[Bug c++/118574] [15 regression] Crashes with coroutines in KDE Plasma

2025-02-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118574 --- Comment #9 from Sam James --- (In reply to Jakub Jelinek from comment #7) > Can you bisect to one TU using -f{,no-}range-for-ext-temps? I started last night, but the crashers are plugins which makes it a nuisance. I'll work more on it if th

[Bug driver/118810] New: collect2 should delay creating of temp .cdtor.c/.cdtor.o files until needed

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118810 Bug ID: 118810 Summary: collect2 should delay creating of temp .cdtor.c/.cdtor.o files until needed Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: co

[Bug c++/118809] Excessive memory usage with global std::vector> in C++20 mode

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118809 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog --- Comment #1 from An

[Bug rtl-optimization/118598] [12/13/14/15 Regression] Shrink-wrapping multiple conditions

2025-02-09 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118598 --- Comment #2 from Jeffrey A. Law --- It looks like it shrink-wraps to me. The frame setup happens after the a == 42 early exit. Where you expecting something else?

[Bug rtl-optimization/118598] [12/13/14/15 Regression] Shrink-wrapping multiple conditions

2025-02-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118598 --- Comment #3 from Andrew Pinski --- (In reply to Jeffrey A. Law from comment #2) > It looks like it shrink-wraps to me. The frame setup happens after the a == > 42 early exit. Where you expecting something else? There should be a shrink wra

[Bug fortran/102390] IMPLICIT SAVE not properly implemented

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102390 Thomas Koenig changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug fortran/55207] [F08] Variables declared in the main program should implicitly get the SAVE attribute

2025-02-09 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55207 Thomas Koenig changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --- Comment #2

[Bug fortran/56423] F08/0071: Shall reject invalid Vector subscript target with Pointer assignment

2025-02-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56423 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #3) > > $ cat z2.f90 > > program p > >integer, target :: x(3) = [7, 8, 9] > >type t > > integer, pointer :: a(:) > >end type > >type(t)

<    1   2