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

[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 #6 from Uroš Bizjak --- (In reply to Rainer Orth from comment #4) > (In reply to Uroš Bizjak from comment #3) > > (In reply to Uroš Bizjak from comment #2) > > > > > Please detect support during configure time and create an operand

[Bug c++/99018] Comparing address of array element not considered a constant expression in certain contexts

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

[Bug other/120063] New: 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 Bug ID: 120063 Summary: SARIF output: fatal errors should have their "level" set to "error" Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[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

[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 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 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 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 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 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 c/120057] [15/16 regression] 'constexpr' integer initializer is not an integer constant expression

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120057 Richard Biener 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 rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120059 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c/120060] New: [16 Regression] bash-5.2 ICE

2025-05-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
-bootstrap --disable-lto --disable-libsanitizer --enable-languages=c CFLAGS='-O1 -g0' CXXFLAGS='-O1 -g0' LDFLAGS='-O1 -g0' Thread model: posix Supported LTO compression algorithms: zlib gcc version 16.0.0 20250502 (experimental) (GCC)

[Bug target/120054] [16 regression] RISC-V: gcc.target/riscv/predef-19.c failing since r16-299-ga992164c289

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120054 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0 Target|

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

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120055 Richard Biener changed: What|Removed |Added Priority|P3 |P1

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

2025-05-02 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119948 --- Comment #17 from Paul Thomas --- Comment on attachment 61202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61202 fix the issues Hi Steve, I got to thinking for once. I think that your change to primary.cc has cast the net a bit too

[Bug middle-end/120052] [13/14/15/16 Regression] VLA with OpenMP vs -fsanitize=undefined

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120052 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c/120060] [16 Regression] bash-5.2 ICE

2025-05-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120060 Sergei Trofimovich changed: What|Removed |Added CC||fweimer at redhat dot com --- Comm

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

2025-05-02 Thread mcccs at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120035 --- Comment #3 from mcccs at gmx dot com --- I compared the outputs of passes. The divergence starts with cddce3. The unsigned version has this added line: > cannot prove finiteness of loop 2

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

2025-05-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120019 --- Comment #4 from Rainer Orth --- (In reply to Uroš Bizjak from comment #3) > (In reply to Uroš Bizjak from comment #2) > > > Please detect support during configure time and create an operand modifier > > that will output "gs " or "fs " for n

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

2025-05-02 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120019 --- Comment #5 from Rainer Orth --- Created attachment 61270 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61270&action=edit Proposed patch

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

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061 Bug ID: 120061 Summary: [14 Regression] libqt6webengine fails static_assert (__LINE__ == 470, ...) Product: gcc Version: 14.3.1 Status: UNCONFIRMED Severity: n

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

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120061 Richard Biener changed: What|Removed |Added Version|14.3.1 |14.2.1 Keywords|

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2025-05-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 --- Comment #18 from Richard Biener --- This might have caused PR120061, a new "wrong line number" issue.

[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 CC||slyfox at gcc dot gnu.org --- Comment

[Bug c/120060] [16 Regression] bash-5.2 ICE

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

[Bug c++/120062] New: ICE in perform_implicit_conversion_flags when using std::apply with forwarding lambda and function passed to itself

2025-05-02 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120062 Bug ID: 120062 Summary: ICE in perform_implicit_conversion_flags when using std::apply with forwarding lambda and function passed to itself Product: gcc Version:

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

<    1   2