[Bug tree-optimization/33113] Failing to represent the stride (with array) of a dataref when it is not a constant

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33113 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-07 Ever confirmed|0

[Bug target/44958] Poor register choice on x86

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44958 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Last reconfirmed|

[Bug target/56338] register spill caused by loading constant

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56338 --- Comment #3 from Andrew Pinski --- This one is interesting because the versions which rbp and rbx are saved vs not happens a few times.

[Bug ipa/67024] IPA SRA removes sibling-call opportunities

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

[Bug tree-optimization/118317] New: `len - (len != 0) + 1` should optimize to `len == 0 ? 1 : len`

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118317 Bug ID: 118317 Summary: `len - (len != 0) + 1` should optimize to `len == 0 ? 1 : len` Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimiza

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 --- Comment #4 from Andrew Pinski --- Oh this is just a special case of PR 98304 really.

[Bug tree-optimization/118317] `len - (len != 0) + 1` should optimize to `len == 0 ? 1 : len`

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118317 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org La

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Interesting clang is able to optimize the above but not the loop. clang produces: ``` unsigned bar1(char* buf, unsigned len) { unsigned t = len - (len != 0)

[Bug gcov-profile/118318] New: ICE when building firefox-134.0 with PGO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
isable-vtable-verify --disable-libvtv --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-O3 bootstrap-lto' Thread model: posix Supported LTO compres

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2025-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 --- Comment #10 from Jakub Jelinek --- And for the comparison against constant(s), there is a question whether those don't need to be adjusted (or punted if they have bits that can't be ever set). I mean say that (something >> 4) != someconst an

[Bug c++/118192] ICE: in build_data_member_initialization, at cp/constexpr.cc:453

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118192 --- Comment #6 from Marek Polacek --- Started with r0-113757-g238e471cadfb1c: commit 238e471cadfb1c2995e6bc4c995328eacc39d0da Author: Ville Voutilainen AuthorDate: Mon Dec 5 17:49:25 2011 +0200 Commit: Jason Merrill CommitDate: Mon De

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-06 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #6 from Joseph S. Myers --- Are you *actually using the code built by recent GCC versions on Microblaze hardware running the Linux kernel* (as opposed to simply building software for lots of different targets that GCC claims to suppo

[Bug c++/118193] [12/13/14/15 regression] [C++17+] ICE: in verify_ctor_sanity, at cp/constexpr.cc:5362

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118193 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org K

[Bug c++/118315] New: fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread ladislav.dobrovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Bug ID: 118315 Summary: fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works Product: gcc Version: 14.2.0 Status: UNCONFIRMED Sever

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/103524] [meta-bug] modules issue

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 118315, which changed state. Bug 118315 Summary: fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 What|Removed

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread ladislav.dobrovsky at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 --- Comment #2 from Ladislav Dobrovský --- Created attachment 60054 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60054&action=edit gcc 14 -freport-bug file

[Bug ipa/118303] Various behaviours exposed by the testsuite result dependent on TARGET_CALLEE_COPIES

2025-01-06 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118303 --- Comment #6 from Hans-Peter Nilsson --- BTW, why component ipa? Before I change it back to middle-end, I'd like to know a reason for that. IIUC, it's most likely similar (not *inter*- but) *intra*-procedure bugs not handling a certain type

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 --- Comment #3 from Andrew Pinski --- // fmt.cc:90:8: internal compiler error: in core_vals, at cp/module.cc:6334 //90 | export module fmt;

[Bug c++/108080] ICE: in core_vals, at cp/module.cc:6262 with -fmodule-header

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Andrew Pinski changed: What|Removed |Added CC||ladislav.dobrovsky at gmail dot co

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118315 --- Comment #5 from Andrew Pinski --- # 301 "../include/fmt/base.h" #pragma GCC push_options # 303 "../include/fmt/base.h" #pragma GCC optimize("Og") # 303 "../include/fmt/base.h"

[Bug c++/118315] fmt library export module for -g, -Og or -O0 crashes compiler; -O1 and -O2 works

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

[Bug fortran/103391] [12/13/14/15 Regression] ICE: gimplification failed since r7-4021-g574284e9c49687d8

2025-01-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103391 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org --

[Bug analyzer/118300] [12/13/14/15 Regression] False malloc leak warning from static analyzer with -fsanitize=address,undefined

2025-01-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118300 --- Comment #3 from David Malcolm --- FWIW it seems to be just "-fsanitize=undefined" that's needed, not "address": https://gcc.godbolt.org/z/bbcoa4oWK Adding -fdump-ipa-analyzer=stderr shows: V

[Bug d/118314] [15 regression] libphobos.phobos/std/bitmanip.d FAILs

2025-01-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118314 Iain Buclaw changed: What|Removed |Added CC||ibuclaw at gcc dot gnu.org --- Comment #1

[Bug c++/118169] [15 regression] ICE error: non-trivial conversion in ‘integer_cst’ with std::variant and -O1 since r15-6369-gfa99002538bc91

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118169 --- Comment #20 from Marek Polacek --- Looks like this fixes it: --- a/gcc/cp/typeck2.cc +++ b/gcc/cp/typeck2.cc @@ -757,7 +757,7 @@ split_nonconstant_init (tree dest, tree init) init = NULL_TREE; for (tree f : flags) - add_stmt (

[Bug ipa/118318] ICE when building firefox-134.0 with PGO and LTO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #3 from Sam James --- Created attachment 60056 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60056&action=edit tx.i

[Bug ipa/118318] ICE when building firefox-134.0 with PGO and LTO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #4 from Sam James --- Created attachment 60057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60057&action=edit tx.gcda $ gcc -std=gnu99 -O1 -o tx.o -c -fprofile-use -fprofile-correction -Wno-coverage-mismatch tx.i -O1 /var/tm

[Bug ipa/118318] ICE when building firefox-134.0 with PGO and LTO

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 --- Comment #5 from Sam James --- Without -fprofile-correction, I get: ``` /var/tmp/portage/www-client/firefox-134.0/work/firefox-134.0/media/ffvpx/libavutil/tx.c:939:1: error: corrupted profile info: profile data is not flow-consistent 939 |

[Bug fortran/108434] [12/13/14/15 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2025-01-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 --- Comment #13 from Paul Thomas --- Created attachment 60052 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60052&action=edit Fix for this PR Hi Harald, This version gets rid of the invalid reads. Originally it lost extra memory: defini

[Bug ada/117956] assertion failure on 'Old in post-condition with -gnat2022

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117956 --- Comment #5 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:6be06ae88b8be8543094d712f24c52a4d2d73220 commit r15-6586-g6be06ae88b8be8543094d712f24c52a4d2d73220 Author: Eric Botcazou Date: W

[Bug libstdc++/118293] Inserting at front of an empty deque shouldn't need to allocate

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118293 --- Comment #2 from Jonathan Wakely --- It's possible that reusing the "trailing" capacity when pushing at the front of an empty deque will break some invariant which other members rely on (e.g we assume that popping the last element from a dequ

[Bug libstdc++/118293] Inserting at front of an empty deque shouldn't need to allocate

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118293 --- Comment #1 from Jonathan Wakely --- Similarly: using V = std::deque>; V v; printf("Default-constructed capacity: %zu\n", capacity_of_v()); v.assign(capacity_of_v(), 1); printf("Capacity after assign: %zu\n", capacity_of_

[Bug tree-optimization/116166] [13 Regression] risc-v (last) insn-emit-nn.c build takes hours

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 Mark Wielaard changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/111600] [14/15 Regression] RISC-V bootstrap time regression

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111600 Bug 111600 depends on bug 116166, which changed state. Bug 116166 Summary: [13 Regression] risc-v (last) insn-emit-nn.c build takes hours https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116166 What|Removed |Added

[Bug c++/118240] ICE Segmentation fault with default non-type template parameter(on PR103943)

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118240 --- Comment #2 from Marek Polacek --- Seems that the ICE started with r11-2748-gb871301f09be70: commit b871301f09be7061904dc87880919d30e6afef8f Author: Jason Merrill Date: Fri Aug 14 18:01:27 2020 -0400 c++: Rewrite members for all dedu

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #34 from Mark Wielaard --- After r15-6598-g668cad04b16fc044142474232ac072fcc5f94433 ("tree-switch-conversion: don't apply switch size limit on jump tables") the build speeds up considerably: https://builder.sourceware.org/buildbot/#/

[Bug c++/118296] ICE with invalid deduction of template arguments for operator[] with constexpr

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118296 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/118180] internal compiler error: tree check: expected tree_vec, have identifier_node in tsubst_decl, at cp/pt.cc:15617

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118180 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/118226] packed index out of range error message could be improved

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118226 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug c++/118192] ICE: in build_data_member_initialization, at cp/constexpr.cc:453

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118192 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/118032] [15 regression] Bootstrap slowdown for risc-v

2025-01-06 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118032 --- Comment #35 from Mark Wielaard --- Shall we close this bug or keep it open for implementing greedy switch clustering for jump tables as suggested in comment #29 ?

[Bug fortran/108434] [12/13/14/15 Regression] ICE in class_allocatable, at fortran/expr.cc:5000

2025-01-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108434 --- Comment #14 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #13) > BTW The attached patch regression tests OK :-) Simple and effective. Nice! Regarding the treatment of the error message: do we need to help the tra

[Bug fortran/115788] [F2018] Implement OUT_OF_RANGE

2025-01-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115788 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 --- Comment #6 from Sam James --- (In reply to Gaius Mulley from comment #2) > Created attachment 59912 [details] > Proposed fix > > Many thanks for the bug report. > > Here is a proposed patch, (although I've not built it with --Wtype-mismatc

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 Gaius Mulley changed: What|Removed |Added Attachment #59912|0 |1 is obsolete|

[Bug tree-optimization/118316] New: Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 Bug ID: 118316 Summary: Missed optimization: while (len > 1) len -= 2; Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-06 Status|UNCONFIRM

[Bug tree-optimization/118316] Missed optimization: while (len > 1) len -= 2;

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118316 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > It comes down to optimizing: > ``` > unsigned f(unsigned len) > { > if (len > 1) > len &= 1; > return len; > } > ``` Interesting clang is able to optimi

[Bug libstdc++/118244] Errors building libstdc++-v3 for MinGW-w64

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118244 --- Comment #9 from Jonathan Wakely --- Libstdc++ does this for mingw-w64: // Make sure that POSIX printf/scanf functions are activated. As // libstdc++ depends on POSIX-definitions of those functions, we define // it unconditionally. #undef _

[Bug ada/118247] [15 Regression] gnatbind fails to relink for the install target

2025-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118247 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/117790] [14/15 regression] Early break vectorization corrupts profile info

2025-01-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117790 Alex Coplan changed: What|Removed |Added Keywords||patch URL|

[Bug target/118280] [14/15 Regression] __atomic_test_and_set in Microblaze are broken (exposed by r14-4286)

2025-01-06 Thread thomas.petazzoni--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #7 from Thomas Petazzoni --- (In reply to Joseph S. Myers from comment #6) > Are you *actually using the code built by recent GCC versions on Microblaze > hardware running the Linux kernel* (as opposed to simply building software > f

[Bug analyzer/118300] [12/13/14/15 Regression] False malloc leak warning from static analyzer with -fsanitize=address,undefined

2025-01-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118300 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug ipa/118318] ICE when building firefox-134.0 with PGO

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking --- Comment #2 from Andrew

[Bug ipa/118318] ICE when building firefox-134.0 with PGO

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, lto Compone

[Bug fortran/109066] Segfault when using defined assignment

2025-01-06 Thread mkrupcale at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109066 Matthew Krupcale changed: What|Removed |Added CC||mkrupcale at gmail dot com --- Comme

[Bug ipa/118303] Various behaviours exposed by the testsuite result dependent on TARGET_CALLEE_COPIES

2025-01-06 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118303 --- Comment #7 from Hans-Peter Nilsson --- (In reply to Hans-Peter Nilsson from comment #6) > BTW, why component ipa? Takling to myself again: the two linked PR:s have component ipa. That may be correct for those PR:s, but rather than designati

[Bug ipa/98000] [12/13/14/15 Regression] ICE verify_cgraph_node failed since r10-7306-g72b3bc895f023bf4

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000 --- Comment #13 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:e53277d849a13a8a36f488f6725700311c74080e commit r15-6613-ge53277d849a13a8a36f488f6725700311c74080e Author: Sam James Date: Fri Jan 3

[Bug ipa/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 --- Comment #12 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:f9ff478446a2cac8f73c906fb3dbeade5aa46909 commit r15-6612-gf9ff478446a2cac8f73c906fb3dbeade5aa46909 Author: Sam James Date: Fri Jan

[Bug ipa/98000] [12/13/14/15 Regression] ICE verify_cgraph_node failed since r10-7306-g72b3bc895f023bf4

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/117546] [14 regression] Different (and incorrect) behavior when compiling C code with -O2

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117546 Sam James changed: What|Removed |Added Keywords|needs-testcase | Status|ASSIGNED

[Bug go/118286] go crypto/tls test fails because of expired certificate? (TestVerifyConnection, bad certificate)

2025-01-06 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118286 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug go/118286] go crypto/tls test fails because of expired certificate? (TestVerifyConnection, bad certificate)

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118286 --- Comment #1 from GCC Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:ed1493e12ed75e837e9b9aa794ed24daf397df7c commit r15-6604-ged1493e12ed75e837e9b9aa794ed24daf397df7c Author: Ian Lance Taylor Dat

[Bug c++/118240] ICE Segmentation fault with default non-type template parameter(on PR103943)

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118240 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #16 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:7a7903dec533e02c58e634b6ddd680f36c4cd933 commit r15-6608-g7a7903dec533e02c58e634b6ddd680f36c4cd933 Author: Stefan Sc

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #15 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:f0b8256224ec082ecffddcb5624a4b5032c09113 commit r15-6607-gf0b8256224ec082ecffddcb5624a4b5032c09113 Author: Vitaly Bu

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #13 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:0bb38b2786a097f97664afbcf6577b77dd305d44 commit r15-6605-g0bb38b2786a097f97664afbcf6577b77dd305d44 Author: Stefan Sc

[Bug sanitizer/117725] [15 Regression] s390 -m31 bootstrap failure in interception.h since r15-5164-gfa321004f3f628

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117725 --- Comment #14 from GCC Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:1bd03564f29dc31e67e67efd93137d50fa7bb8a4 commit r15-6606-g1bd03564f29dc31e67e67efd93137d50fa7bb8a4 Author: Stefan Sc

[Bug target/110812] Missing TARGET_OPTION_SAVE/RESTORE on riscv

2025-01-06 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 --- Comment #3 from Andreas Schwab --- This also breaks openblas.

[Bug c++/118304] [15 regression] ICE on invalid constructor with an asterisk since r15-3721-ga2746e4347076e

2025-01-06 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118304 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/118276] memset 88 uses rep stosq while 80 uses SSE

2025-01-06 Thread benfrantzdale at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118276 --- Comment #12 from Ben FrantzDale --- Thanks for clarifying. To be 100% clear, you are saying that with no c'tor, or `= default;`, `S{}` will zero just the non-padding bytes, but adding `S() noexcept {}` drops that requirement? Yes, the middl

[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006 --- Comment #5 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:1b1a33f76879dae3e6c2c1e8fb3656b0adb52ad5 commit r15-6610-g1b1a33f76879dae3e6c2c1e8fb3656b0adb52ad5 Author: Alexandre Oliva Date:

[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)

2025-01-06 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/118006] ICE when building rr-5.8.0 with -fstrub=all (RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN, at rtl.h:1499)

2025-01-06 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118006 Sam James changed: What|Removed |Added Target Milestone|--- |15.0

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

2025-01-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/118319] New: ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression

2025-01-06 Thread wangbopku15 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118319 Bug ID: 118319 Summary: ICE Segmentation fault in friend declaration with default argument assigned to an empty lambda expression Product: gcc Version: 15.0

[Bug tree-optimization/66288] parallelized loop vectorized with runtime alias check even though it is known the two arrays will never alias

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66288 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-07 Severity|minor

[Bug tree-optimization/65511] transform_to_exit_first_loop looses edge probabilities

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

[Bug ipa/60674] missed devirtualization in function called by destructor (g++.dg/ipa/devirt-23.C)

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60674 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/66248] subreg truncation not hoisted from loop

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66248 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Target|arm, mips, sparc

[Bug target/65214] [SH] Optimize sign/zero extensions across basic blocks

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

[Bug target/118320] New: [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc

2025-01-06 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 Bug ID: 118320 Summary: [aarch64] internal compiler error: Segmentation fault in aarch64-ldp-fusion.cc Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug middle-end/65374] [SH] Tail call optimization not done for libcalls

2025-01-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65374 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug ipa/118303] Various behaviours exposed by the testsuite result dependent on TARGET_CALLEE_COPIES

2025-01-06 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118303 --- Comment #5 from Hans-Peter Nilsson --- I should mention those that are regressions, i.e. that I know have ever passed on master at one time or another (regardless of whether that timeframe or whether the cause for the regression is *adding*

[Bug fortran/105152] [10/11/12/13/14 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647 since r9-5372-gbbf18dc5d248a79a

2025-01-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105152 --- Comment #8 from Paul Thomas --- Well, "a few weeks" turned into rather longer than that. Apologies. Now fixed on 13-branch. This also fixes pr104130 by the way. Thanks Paul

[Bug fortran/104130] [12/13 Regression] ICE in gfc_add_class_array_ref, at fortran/class.c:274 since r12-4467-g64f9623765da3306

2025-01-06 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104130 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #9 f

[Bug tree-optimization/118206] [15 regression] libdeflate miscompiled by ifcombine since r15-6360-g6d5df5133c5dd8

2025-01-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 --- Comment #8 from Jakub Jelinek --- It is in fold_truth_andor_for_ifcombine. I'll note that the first_bit/end_bit determination code seems to ignore the [lr]r_and_mask. We have 16-bit access with lr_and_mask 15, and 8-bit access with rr_and_m

[Bug d/118309] d: Forward referenced enums missing type names in debug info

2025-01-06 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118309 --- Comment #1 from Iain Buclaw --- It looks like the cause is early debug hooks being called before types are complete. My sense is that almost all calls to rest_of_{type,decl}_compilation during the codegen pass in the D frontend are too earl

[Bug gcov-profile/96092] Should --coverage respect -ffile-prefix-map?

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96092 --- Comment #10 from GCC Commits --- The master branch has been updated by Fangrui Song : https://gcc.gnu.org/g:fa778ba7d04497bdf32751488c8efd82db3b5e65 commit r15-6602-gfa778ba7d04497bdf32751488c8efd82db3b5e65 Author: Fangrui Song Date: Tue

[Bug ada/117569] predicate involving array indexing rejected in generic package

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117569 --- Comment #2 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:0d736433f9261fb9705f860a2e41cc407ecd972c commit r15-6594-g0d736433f9261fb9705f860a2e41cc407ecd972c Author: Eric Botcazou Date: T

[Bug target/96342] [SVE] Add support for "omp declare simd"

2025-01-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96342 --- Comment #20 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:830bead4859cd00da87e1304ba249cf0d3eb5a5a commit r15-6597-g830bead4859cd00da87e1304ba249cf0d3eb5a5a Author: Tamar Christina Date:

[Bug c++/118306] Accepts invalid ctor with * in front

2025-01-06 Thread simartin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118306 Simon Martin changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |simartin at gcc dot gnu.org

[Bug target/118272] [15 Regression] ICE when expanding a constructor of > 2 VLA vectors

2025-01-06 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118272 Tamar Christina changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/102749] ambigous call on different std::variant types with iterators

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102749 --- Comment #3 from Jonathan Wakely --- >From the error message, I think the code looks like this: #include #include using T = unsigned; using Vec = std::vector; struct Cont { void insert(std::variant&&, int) { } void insert(std::varian

[Bug libstdc++/118260] Automatically add some 'skip's from gdb helper code

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118260 --- Comment #2 from Jonathan Wakely --- I would like it if the libstdc++ code could use an attribute to opt-in to the -ffold-simple-inlines logic used for std::move etc. As noted in PR 96780, at some point I tried using __attribute__((artificia

[Bug ada/117569] predicate involving array indexing rejected in generic package

2025-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117569 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ada/117956] assertion failure on 'Old in post-condition with -gnat2022

2025-01-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117956 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/118293] Inserting at front of an empty deque shouldn't need to allocate

2025-01-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118293 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

  1   2   >