[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 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 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 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 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 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/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/118095] nonstring attribute cannot be applied to array of char arrays

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

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120074 --- Comment #2 from Andrew Pinski --- Created attachment 61278 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61278&action=edit gimple testcase Compile with -O1 -fgimple. The reason for the special flags before is because _5 = _4 & 3;

[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 pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120074 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[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 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 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 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 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 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 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 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 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] 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 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/55212] [SH] Switch to LRA

2025-05-02 Thread pietro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 pietro changed: What|Removed |Added CC||pietro at gcc dot gnu.org --- Comment #446 from

[Bug c++/120075] -Wuninitialized warning with internal "SR" variable name, compiling hb-subset-plan-layout.cc

2025-05-02 Thread ats-gccbugs at offog dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120075 --- Comment #1 from Adam Sampson --- Created attachment 61277 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61277&action=edit Non-minimised example

[Bug c++/120075] New: -Wuninitialized warning with internal "SR" variable name, compiling hb-subset-plan-layout.cc

2025-05-02 Thread ats-gccbugs at offog dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120075 Bug ID: 120075 Summary: -Wuninitialized warning with internal "SR" variable name, compiling hb-subset-plan-layout.cc Product: gcc Version: 15.1.0 Status: UNCONFIRMED

[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 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 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 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 middle-end/120072] New attribute alloc_variant_zeroed which can be used for alloc+memset->calloc optimization

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120072 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2025-05-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120072 --- Comment #1 from Sam James --- I was sure we had another request for this.

[Bug middle-end/120072] New: 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 Bug ID: 120072 Summary: New attribute alloc_variant_zeroed which can be used for alloc+memset->calloc optimization Product: gcc Version: 16.0 Status: UNCONFIRMED

[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 #5 from Jan Hubicka --- > > I think I copied the wrong URLS :). > > > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=589.507.0 > https://lnt.opensuse.org/db_default/v4/SPEC/graph?plot.0=583.507.0 It would be nice to bis

[Bug middle-end/120071] Add builtin to get the current PC/instruction counter

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120071 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/120071] New: Add builtin to get the current PC/instruction counter

2025-05-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120071 Bug ID: 120071 Summary: Add builtin to get the current PC/instruction counter Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[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 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 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 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 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 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 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 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 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 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 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 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/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 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 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 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 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 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 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 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 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). > >

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 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 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

[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 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 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |bootstrap --- Comment #1 from Andrew Pi

[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 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 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 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 target/120067] New: RISC-V: x264 sub4x4_dct high icount

2025-05-02 Thread parras at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120067 Bug ID: 120067 Summary: RISC-V: x264 sub4x4_dct high icount Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[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 --- Comment #3 from Jakub Jelinek --- gcc 14 and earlier uses 32-bit location_t while 15+ 64-bit location_t, so guess that makes significant difference here, one needs far fewer lines (or columns/ranges etc.) to reach the limit.

[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 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 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

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 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

[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 Ever confirmed|0 |1 CC|

[Bug fortran/119948] Source allocation of pure function result rejected

2025-05-02 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 --- Comment #18 from kargls at comcast dot net --- On 5/2/25 01:06, pault at gcc dot gnu.org wrote: > I got to thinking for once. I think that your change to primary.cc has cast > the > net a bit too wide and risks turning other kinds of interf

[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

[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 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 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 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/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 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[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 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 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 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 c++/115207] [constexpr] constexpr assignment rejected as non const on self-assignment test

2025-05-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115207 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2d7a0d38e2f8e281ab2269cfe6c048410fa3c886 commit r16-357-g2d7a0d38e2f8e281ab2269cfe6c048410fa3c886 Author: Jason Merrill Date: Fri

[Bug target/120050] [15/16 Regression] ICE bootstrapping on mips64el with --with-arch=gs464 --with-build-config=bootstrap-O3 --enable-checking=yes,extra

2025-05-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120050 Xi Ruoyao changed: What|Removed |Added Keywords|needs-bisection |needs-reduction See Also|

[Bug libstdc++/120056] Circular constraint satisfaction error with non-trivial container iterators to callables taking std::expected parameters

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

[Bug other/120064] New: doc: -f[no-]ext-dce not documented

2025-05-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120064 Bug ID: 120064 Summary: doc: -f[no-]ext-dce not documented Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: trivial Priority: P3 Component: other

[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 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 other/120063] SARIF output: fatal errors should have their "level" set to "error"

2025-05-02 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120063 --- Comment #1 from ensadc at mailnesia dot com --- AFAIK this can be fixed by adding `case DK_FATAL` to `maybe_get_sarif_level` in `diagnostic-format-sarif.cc`. diff --git a/gcc/diagnostic-format-sarif.cc b/gcc/diagnostic-format-sarif.cc index

  1   2   >