[Bug libstdc++/120068] New: The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread guido2022 at trentalancia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 Bug ID: 120068 Summary: The new contrib/relpath.sh script should be made executable otherwise the build fails Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |bootstrap --- Comment #1 from Andrew Pi

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-02 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 Joseph S. Myers changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment

[Bug c/117023] [C2y] Implement N3322, Allow zero length operations on null pointers

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117023 --- Comment #11 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1e27e9a3184c948b499a21ff20181611514ed720 commit r16-363-g1e27e9a3184c948b499a21ff20181611514ed720 Author: Jakub Jelinek Date: F

[Bug target/118100] [14/15/16 Regression] Segment Fault by rvv intrinsic compilation at `-O2` and `-O3`.

2025-05-02 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118100 --- Comment #2 from mcccs at gmx dot com --- I meant spike --isa=rv64gcv_zvfh pk a.out

[Bug cobol/119632] section segments (cobol85) not implemented, "ignored" -> raising compile error

2025-05-02 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119632 --- Comment #5 from Simon Sobisch --- @Bob, what do you think of committing that patch as it waits on one of the COBOL maintainers (and later or work on supporting that - at least as "ignored")?

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > it is executable in git: > [apinski@xeond2 gcc]$ ls -latr contrib/relpath.sh > -rwxr-xr-x. 1 apinski apinski 1487 Apr 16 14:32 contrib/relpath.sh https://gcc.gn

[Bug target/120067] RISC-V: x264 sub4x4_dct high icount

2025-05-02 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120067 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-02 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #4 from Jerry DeLisle --- Vincent was able to reduce this further. Two files, gtk_sup.f90 and test.f90. $ cat gtk_sup.f90 module gtk_sup use, intrinsic :: iso_c_binding end module gtk_sup $ cat test.f90 program tests_gtk_sup

Re: [Bug target/120067] New: RISC-V: x264 sub4x4_dct high icount

2025-05-02 Thread Robin Dapp via Gcc-bugs
This is reduced from 525.x264_r's 4th hottest block: https://godbolt.org/z/KdWv1er6f AArch64 assembly is clean and efficient (35 insns) while RISC-V's is long and messy (114 insns). The most obvious issue is that it keeps spilling and reloading the same data from the stack. Also I do not underst

[Bug target/120067] RISC-V: x264 sub4x4_dct high icount

2025-05-02 Thread rdapp.gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120067 --- Comment #2 from rdapp.gcc at gmail dot com --- > This is reduced from 525.x264_r's 4th hottest block: > https://godbolt.org/z/KdWv1er6f > > AArch64 assembly is clean and efficient (35 insns) while RISC-V's is long and > messy (114 insns). > >

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread guido2022 at trentalancia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 guido2022 at trentalancia dot com changed: What|Removed |Added Status|WAITING |RESOLVED Res

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread guido2022 at trentalancia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 --- Comment #6 from guido2022 at trentalancia dot com --- The issue is only triggered by using the differential patch and not the tarball or git.

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 --- Comment #4 from Andrew Pinski --- Also can you provide what target are you building for and on? The exact configure command line? Did you extract the tar ball not with GNU tar (which is required)?

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug bootstrap/120068] The new contrib/relpath.sh script should be made executable otherwise the build fails

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120068 --- Comment #7 from Andrew Pinski --- (In reply to guido2022 from comment #6) > The issue is only triggered by using the differential patch and not the > tarball or git. Right, the diff is only there for folks to look at and not really use. the

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to Jerry DeLisle from comment #4) > $ gfc -c test.f90 > f951: internal compiler error: gfc_typename(): Undefined type > 0x694bce diagnostic_report_diagnostic(diagnostic_context*, diagn

[Bug ada/119698] gen_il-main: raised PROGRAM_ERROR : finalize/adjust raised exception

2025-05-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119698 John David Anglin changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/120065] [14/15/16 Regression] profile info corrupted by dom2

2025-05-02 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120065 --- Comment #3 from Jan Hubicka --- while (n > 0 && a) ; This is an odd loop which loops iterates 0 times or infinitely many times. We do not pattern match that at profile-estimate time (since such code is kind of useless) and we guess i

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

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

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 --- Comment #7 from GCC Commits --- The releases/gcc-15 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:14c2a12748eea0eef714a125cb1a6c834fd60560 commit r15-9615-g14c2a12748eea0eef714a125cb1a6c834fd60560 Author: Jakub Jelinek

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:e81f2f4855876c5d85ab9870c5a150ee1a59ee73 commit r16-364-ge81f2f4855876c5d85ab9870c5a150ee1a59ee73 Author: Jakub Jelinek Date: Fr

[Bug target/120069] New: Yes another imagick -march=native -flto -Ofast + PGO regression between g:1c0cbc1b300e08df5ebfce00a7195890d78f2064 and g:55b01e17c793688a2878fa43a76df1266153b438

2025-05-02 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 Bug ID: 120069 Summary: Yes another imagick -march=native -flto -Ofast + PGO regression between g:1c0cbc1b300e08df5ebfce00a7195890d78f2064 and g:55b01e17c793688a28

[Bug target/120019] [16 regression] PR 111657 change broke Solaris/x86 bootstrap

2025-05-02 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120019 --- Comment #7 from Uroš Bizjak --- Comment on attachment 61270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61270 Proposed patch ># HG changeset patch ># Parent 45d1a47b563d28797adaefc1f063c6e3d2541ec3 >i386: Fix rep movs[qldb] handli

[Bug c++/107744] Error in constant evaluation of dynamic_cast

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107744 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org St

[Bug c++/85944] Address of temporary at global scope not considered constexpr

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 --- Comment #19 from Jason Merrill --- *** Bug 107744 has been marked as a duplicate of this bug. ***

[Bug c++/85944] Address of temporary at global scope not considered constexpr

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 --- Comment #18 from Jason Merrill --- *** Bug 99018 has been marked as a duplicate of this bug. ***

[Bug c++/55004] [meta-bug] constexpr issues

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 107744, which changed state. Bug 107744 Summary: Error in constant evaluation of dynamic_cast https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107744 What|Removed |Added

[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2025-05-02 Thread mitza at ociweb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 --- Comment #19 from Adam Mitz --- Bison users may insert arbitrary code (like a #pragma) in the input file which is copied to the output. As an example, this is used to silence GCC's warning here https://github.com/DOCGroup/ACE_TAO/blob/e3b027b

[Bug preprocessor/120061] [14 Regression] libqt6webengine fails static_assert (__LINE__ == 470, ...)

2025-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/120065] New: [14/15/16 Regression] profile info corrupted by dom2

2025-05-02 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120065 Bug ID: 120065 Summary: [14/15/16 Regression] profile info corrupted by dom2 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/119929] [16 Regression] build fails on mips64el-linux-gnu (and other mips targets) since r16-51-g727a43e0a66052

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

[Bug c/120066] New: FAIL: gcc.c-torture/compile/pr51694.c -O0 (internal compiler error: Segmentation fault)

2025-05-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120066 Bug ID: 120066 Summary: FAIL: gcc.c-torture/compile/pr51694.c -O0 (internal compiler error: Segmentation fault) Product: gcc Version: 16.0 Status: UNCONFIRMED

[Bug c/120055] [16 Regression] ice in convert_arguments with recent compiler

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 Andrew Pinski changed: What|Removed |Added CC||danglin at gcc dot gnu.org --- Comment

[Bug c/120066] FAIL: gcc.c-torture/compile/pr51694.c -O0 (internal compiler error: Segmentation fault)

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120066 --- Comment #2 from Andrew Pinski --- Fixed this morning.

[Bug c/120066] FAIL: gcc.c-torture/compile/pr51694.c -O0 (internal compiler error: Segmentation fault)

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

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 --- Comment #3 from Jakub Jelinek --- Started with r15-4377-gf9bac238840155e1539aa68daf1507ea63c9ed80 (where it started to ICE after error) and since r15-5481-g5afc98fec97d84baa0c580809fb3e220444fa20d the ICE is gone.

[Bug c++/85944] Address of temporary at global scope not considered constexpr

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/115207] [constexpr] constexpr assignment rejected as non const on self-assignment test

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115207 Jason Merrill changed: What|Removed |Added Last reconfirmed||2025-05-02 CC|

[Bug c++/55004] [meta-bug] constexpr issues

2025-05-02 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 115207, which changed state. Bug 115207 Summary: [constexpr] constexpr assignment rejected as non const on self-assignment test https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115207 What|Removed

[Bug target/119900] [16 regression] imagick slowdown with -Ofast -march=native -fprofile-use since r16-39-gf6859fb621179e (interaction of rpad and late-combine)

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119900 --- Comment #5 from GCC Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:c85148d036d17295bb2560e10020c924c83a5d13 commit r16-358-gc85148d036d17295bb2560e10020c924c83a5d13 Author: Jan Hubicka Date: Fri Ma

[Bug ipa/120048] [14/15/16 Regression] ICE on valid code at -O{s,2} with "-fno-tree-vrp -fno-tree-fre" on x86_64-linux-gnu: in type, at value-range.h:982

2025-05-02 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120048 --- Comment #8 from Andrew Macleod --- IKt seems the root problem is that the ipa_vr class doesn't support UNDEFINED ranges, and in this case it has a range but when the bitmask is explicitly applied, we recognize that the range is actualyl UNDE

[Bug rtl-optimization/120064] [15/16 Regression] -f[no-]ext-dce not documented

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120064 Andrew Pinski changed: What|Removed |Added Summary|doc: -f[no-]ext-dce not |[15/16 Regression] |d

Re: [Ada] incorrectly specified array of record aggregates in protected object causes bug box in GNAT 12.2.0

2025-05-02 Thread Eric Botcazou
> Sorry again if I included the wrong information, or formatted the email > wrong or anything like that. It's my first time using a gnu mailing list. Instructions are at: https://gcc.gnu.org/bugs/, see "Where to post it". -- Eric Botcazou

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 --- Comment #23 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4704b94fc76b51e79e6fcf63344f70da4d89d75c commit r16-361-g4704b94fc76b51e79e6fcf63344f70da4d89d75c Author: Jakub Jelinek Date: F

[Bug cobol/119364] building a cobol cross compiler on i686-linux-gnu targeting x86_64-linux-gnu fails

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364 --- Comment #24 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c77d04506e6abdc45969d0ff146204be7485244a commit r16-362-gc77d04506e6abdc45969d0ff146204be7485244a Author: Jakub Jelinek Date: F

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #10 from Andrew Pinski --- (In reply to Pengfei Li from comment #9) > Thanks Andrew for the quick fix. I've bootstrapped and regression tested the > fix on x86_64 and AArch64. > > Apologies for introducing the issue (I'm new to GCC)

[Bug ipa/120048] [14/15/16 Regression] ICE on valid code at -O{s,2} with "-fno-tree-vrp -fno-tree-fre" on x86_64-linux-gnu: in type, at value-range.h:982

2025-05-02 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120048 --- Comment #9 from Andrew Macleod --- Created attachment 61274 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61274&action=edit potential patch (In reply to Andrew Macleod from comment #8) > > Another option is to add a type to UNDEFIN

[Bug tree-optimization/120069] [16 Regression] Yes another imagick -march=native -flto -Ofast + PGO regression between g:1c0cbc1b300e08df5ebfce00a7195890d78f2064 and g:55b01e17c793688a2878fa43a76df126

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > It also happens on aarch64: > PGO+LTO: > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=792.507.0 > PGO: > https://lnt.opensuse.org/db_default/v4/SPEC/

[Bug tree-optimization/120069] [16 Regression] Yes another imagick -march=native -flto -Ofast + PGO regression between g:1c0cbc1b300e08df5ebfce00a7195890d78f2064 and g:55b01e17c793688a2878fa43a76df126

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 Andrew Pinski changed: What|Removed |Added Component|target |tree-optimization Summary|Ye

[Bug target/110273] [12/13/14/15/16 Regression] i686-w64-mingw32 with -mavx512f generates AVX instructions without stack alignment

2025-05-02 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 Zeb Figura changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-02 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 kargls at comcast dot net changed: What|Removed |Added CC||kargls at comcast dot net --

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-02 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #7 from Jerry DeLisle --- That is exactly the patch I was testing Steve.

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-05-02 Thread zfigura at codeweavers dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #43 from Zeb Figura --- Right, sorry, I should clarify—I can see what the *actual* effect of -mstackrealign / __force_align_arg_pointer__ is. I'm confused at what its *intended* effect is. "Align to 16 bytes, but only if we need 16-b

[Bug target/110273] [12/13/14/15/16 Regression] i686-w64-mingw32 with -mavx512f generates AVX instructions without stack alignment

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273 Sam James changed: What|Removed |Added Known to work||16.0 Target Milestone|12.5

[Bug c++/117827] [12 regression] Incorrect destructor calls after array-new-expression since r12-6328-gbeaee0a871b648

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117827 --- Comment #12 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c6efdffa7d5c68a14aa5de3a426a44ee05aaa1b9 commit r16-343-gc6efdffa7d5c68a14aa5de3a426a44ee05aaa1b9 Author: Jakub Jelinek Date: F

[Bug c/120055] [16 Regression] ice in convert_arguments with recent compiler

2025-05-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 Florian Weimer changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/119950] __builtin_constant_p warning with -Wdeprecated-non-prototype inconsistent

2025-05-02 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119950 Bug 119950 depends on bug 120055, which changed state. Bug 120055 Summary: [16 Regression] ice in convert_arguments with recent compiler https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 What|Removed |Added

[Bug tree-optimization/120035] Loops are not optimized when "unsigned i" is used

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120035 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org --- Comment

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #27 from GCC Commits --- The master branch has been updated by Filip Kastl : https://gcc.gnu.org/g:c14560907a9586ad405f26ab937881eb08f39497 commit r16-348-gc14560907a9586ad405f26ab937881eb08f39497 Author: Filip Kastl Date: Thu M

[Bug middle-end/117091] switch clustering takes extensive time with large switches even at -O0

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117091 --- Comment #26 from GCC Commits --- The master branch has been updated by Filip Kastl : https://gcc.gnu.org/g:5274db0c9b8c0e2d2879b237eb2ab576543b6c37 commit r16-346-g5274db0c9b8c0e2d2879b237eb2ab576543b6c37 Author: Filip Kastl Date: Thu M

[Bug ipa/120048] [14/15/16 Regression] ICE on valid code at -O{s,2} with "-fno-tree-vrp -fno-tree-fre" on x86_64-linux-gnu: in type, at value-range.h:982

2025-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120048 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-02 Thread Pengfei.Li2 at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #9 from Pengfei Li --- Thanks Andrew for the quick fix. I've bootstrapped and regression tested the fix on x86_64 and AArch64. Apologies for introducing the issue (I'm new to GCC), and really appreciate Andrew's help.

[Bug c/120055] [16 Regression] ice in convert_arguments with recent compiler

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Florian Weimer : https://gcc.gnu.org/g:02fa088f5b61fb5ddfff9e2dc0c0404450e7c6a4 commit r16-345-g02fa088f5b61fb5ddfff9e2dc0c0404450e7c6a4 Author: Florian Weimer Date: F

[Bug c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/120012] [12/13/14/15/16 Regression] P1008R1 causes tail padding reuse in C++20 mode

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120012 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:e6e3b0772ed40cc65a544bbe744ece62d8b9713e commit r16-355-ge6e3b0772ed40cc65a544bbe744ece62d8b9713e Author: Jason Merrill Date: Wed

[Bug c++/60336] empty struct value is passed differently in C and C++

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336 --- Comment #55 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:4af5de21363cfdd2be227c05dfdee7e053337f6a commit r16-354-g4af5de21363cfdd2be227c05dfdee7e053337f6a Author: Jason Merrill Date: Thu

[Bug tree-optimization/120069] [16 Regression] Yes another imagick -march=native -flto -Ofast + PGO regression between g:1c0cbc1b300e08df5ebfce00a7195890d78f2064 and g:55b01e17c793688a2878fa43a76df126

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 --- Comment #4 from Andrew Pinski --- (In reply to Jan Hubicka from comment #3) > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 > > > > --- Comment #2 from Andrew Pinski --- > > (In reply to Andrew Pinski from comment #1) > > > It also

[Bug c++/21113] Jumps into VLA or VM scope not rejected for C++

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21113 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug c/120078] [12/13/14/15/16 Regression] -Wjump-misses-init should be enabled by -Wc++-compat

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120078 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.5 Summary|-Wjump-misses-i

[Bug middle-end/120078] [12/13/14/15/16 Regression] -Wjump-misses-init should be enabled by -Wc++-compat

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120078 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #3 from Andrew P

[Bug preprocessor/120079] New: RFE: -Wp,-dM equivalent for assertions

2025-05-02 Thread hpa at zytor dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120079 Bug ID: 120079 Summary: RFE: -Wp,-dM equivalent for assertions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: prepro

[Bug preprocessor/120079] RFE: -Wp,-dM equivalent for assertions

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

[Bug middle-end/120072] New attribute alloc_variant_zeroed which can be used for alloc+memset->calloc optimization

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120072 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug target/120073] New: __arm_sc_* functions are not included

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120073 Bug ID: 120073 Summary: __arm_sc_* functions are not included Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: aarch64-sme Severity: normal Priority: P

[Bug target/120073] __arm_sc_* functions are not included

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120073 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/120074] New: ICE on valid code at -O1 with "-fno-tree-copy-prop -fno-tree-forwprop -fno-tree-ccp" on x86_64-linux-gnu: in decompose, at wide-int.h:1049

2025-05-02 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
ion 16.0.0 20250502 (experimental) (GCC) [639] % [639] % gcctk -O1 small.c; ./a.out 0 [640] % gcctk -O1 -fno-tree-copy-prop -fno-tree-forwprop -fno-tree-ccp small.c during GIMPLE pass: ifcombine small.c: In function ‘main’: small.c:5:5: internal compiler error: in decompose, at wide-int.h:1049 5

[Bug c++/120076] New: statement expression allows bypassing own initializer

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120076 Bug ID: 120076 Summary: statement expression allows bypassing own initializer Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: accepts-invalid, stmt-expr Severit

[Bug target/120077] New: Switch lm32 to LRA

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120077 Bug ID: 120077 Summary: Switch lm32 to LRA Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal Priority: P3

[Bug target/120077] Switch lm32 to LRA

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120077 Sam James changed: What|Removed |Added CC||lekernel at gcc dot gnu.org --- Comment #1

[Bug target/120077] Switch lm32 to LRA

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120077 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

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

[Bug rtl-optimization/120059] [16 regression] ICE when building mesa in vartrack since r16-286

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 --- Comment #12 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:dba5d112691a3e10b722468d94fffeda0fdbb818 commit r16-365-gdba5d112691a3e10b722468d94fffeda0fdbb818 Author: Andrew Pinski Date: Fr

[Bug tree-optimization/120069] [16 Regression] Yes another imagick -march=native -flto -Ofast + PGO regression between g:1c0cbc1b300e08df5ebfce00a7195890d78f2064 and g:55b01e17c793688a2878fa43a76df126

2025-05-02 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 --- Comment #3 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120069 > > --- Comment #2 from Andrew Pinski --- > (In reply to Andrew Pinski from comment #1) > > It also happens on aarch64: > > PGO+LTO: > > https://lnt.open

[Bug tree-optimization/120074] [15/16 regression] ICE on valid code at -O1 with "-fno-tree-copy-prop -fno-tree-forwprop -fno-tree-ccp" on x86_64-linux-gnu: in decompose, at wide-int.h:1049

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120074 Sam James changed: What|Removed |Added Summary|ICE on valid code at -O1|[15/16 regression] ICE on

[Bug debug/120051] [15/16 regression] codeview ICE/segfault starting with 15.1.0

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Sam James changed: What|Removed |Added Summary|codeview ICE/segfault |[15/16 regression] codeview

[Bug rtl-optimization/120064] [15/16 Regression] -f[no-]ext-dce not documented

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120064 Sam James changed: What|Removed |Added Target Milestone|--- |15.2

[Bug fortran/120049] ICE when using IS_C_ASSOCIATED ()

2025-05-02 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120049 --- Comment #8 from kargls at comcast dot net --- (In reply to Jerry DeLisle from comment #7) > That is exactly the patch I was testing Steve. I assume that you've found that you'll need to deal with both c_ptr_1 and c_ptr_2. With the short-cir

[Bug target/120070] [15/16 regression] m68k-linux-gnu-gcc -Os ICE segfault compiling xfs_trans_ail.c

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120070 Sam James changed: What|Removed |Added Summary|m68k-linux-gnu-gcc -Os ICE |[15/16 regression] |segfa

[Bug target/120070] [15/16 regression] m68k-linux-gnu-gcc -Os ICE segfault compiling xfs_trans_ail.c

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120070 Sam James changed: What|Removed |Added Last reconfirmed||2025-05-03 Ever confirmed|0

[Bug c/87038] diagnostics: Have -Wjump-misses-init be enabled by -Wall or -Wextra

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87038 --- Comment #25 from Andrew Pinski --- Note clang just added -Wjump-bypasses-init which does the exactly same as GCC's -Wjump-misses-init (https://github.com/llvm/llvm-project/pull/138009)

[Bug c/120078] New: -Wjump-misses-init should be enabled by -Wc++-compat

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120078 Bug ID: 120078 Summary: -Wjump-misses-init should be enabled by -Wc++-compat Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c/120078] -Wjump-misses-init should be enabled by -Wc++-compat

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120078 --- Comment #1 from Andrew Pinski --- Actually wait it is enabled: ``` Wjump-misses-init C ObjC Var(warn_jump_misses_init) Warning LangEnabledby(C ObjC,Wc++-compat) Warn when a jump misses a variable initialization. ``` But I don't get a warni

[Bug target/111107] i686-w64-mingw32 does not realign stack when __attribute__((aligned)) or __attribute__((vector_size)) are used

2025-05-02 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=07 --- Comment #44 from Eric Botcazou --- > Right, sorry, I should clarify—I can see what the *actual* effect of > -mstackrealign / __force_align_arg_pointer__ is. I'm confused at what its > *intended* effect is. "Align to 16 bytes, but only if we

[Bug target/120070] New: m68k-linux-gnu-gcc -Os ICE segfault compiling xfs_trans_ail.c

2025-05-02 Thread ats-gccbugs at offog dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120070 Bug ID: 120070 Summary: m68k-linux-gnu-gcc -Os ICE segfault compiling xfs_trans_ail.c Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug ada/119698] gen_il-main: raised PROGRAM_ERROR : finalize/adjust raised exception

2025-05-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119698 --- Comment #16 from John David Anglin --- More errors: RUN c85006e ,.,. C85006E ACATS 2.6 31-02-25 19:41:02 C85006E CHECK THAT A COMPONENT OR SLICE OF A VARIABLE CREATED BY AN ALLOCATOR CAN BE RENAMED AND HAS THE CORRECT

[Bug debug/120051] codeview ICE/segfault starting with 15.1.0

2025-05-02 Thread bc-info at styx dot cabel.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120051 Iouri Kharon changed: What|Removed |Added CC||bc-info at styx dot cabel.net --- Commen

[Bug target/118100] [14/15/16 Regression] Segment Fault by rvv intrinsic compilation at `-O2` and `-O3`.

2025-05-02 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118100 mcccs at gmx dot com changed: What|Removed |Added CC||mcccs at gmx dot com --- Comment

[Bug target/119966] [16 regression] pru: Invalid register in RTL expression starting with r16-160-ge6f89d78c1a752

2025-05-02 Thread dimitar at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119966 --- Comment #7 from Dimitar Dimitrov --- Thank you Andrew and Richard for the detailed analysis. I tried the following change. It gave a few ICE regressions for x86_64, which I have not yet investigated. The patch fixed most but not all ICE re

[Bug tree-optimization/120065] [14/15/16 Regression] profile info corrupted by dom2

2025-05-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120065 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

  1   2   >