[Bug fortran/118683] UBSAN: Invalid value for type ar_type since r15-7070-g0d1e62b83561ba

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118683 --- Comment #3 from GCC Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5d001fa122bf04cfd0611ff7723969a0421b3094 commit r15-7262-g5d001fa122bf04cfd0611ff7723969a0421b3094 Author: Harald Anlauf Date: T

[Bug c++/118187] Constraints of template template parameter not checked for non-dependent arguments despite [temp.names]/8

2025-01-28 Thread hstong at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118187 --- Comment #2 from Hubert Tong --- (In reply to Patrick Palka from comment #1) > The ttp's constraints can depend on outer template parameters, which I think > prevents us from being able to check its constraints before instantiation in > gener

[Bug target/55212] [SH] Switch to LRA

2025-01-28 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #438 from Oleg Endo --- Could be relevant https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673346.html https://gcc.gnu.org/pipermail/gcc-patches/2025-January/672694.html https://gcc.gnu.org/pipermail/gcc-patches/2025-Janua

[Bug target/118687] RISC-V extensions for inline asm code (vs. llvm)

2025-01-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118687 --- Comment #6 from Jeffrey A. Law --- I think invalid for GCC. Not sure how binutils will respond to a request to do a lot of constant synthesis. And even if binutils handles it it's probably a bad thing to do anyway -- think about the impac

[Bug target/118687] RISC-V extensions for inline asm code (vs. llvm)

2025-01-28 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118687 --- Comment #5 from Vineet Gupta --- (In reply to Andrew Pinski from comment #2) > Basically what I am saying this should be filed in gas rather than in GCC. Yeah understood but is this really the right thing to do - to re-implement all the con

[Bug tree-optimization/118688] patch splitting should happen when it is known only path is hot

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

[Bug target/118687] RISC-V extensions for inline asm code (vs. llvm)

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118687 --- Comment #4 from Andrew Pinski --- Plus this seems like just a bug in the riscv llvm backend to accept this ...

[Bug target/118687] RISC-V extensions for inline asm code (vs. llvm)

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118687 --- Comment #3 from Andrew Pinski --- Plus shouldn't this be filed over to https://github.com/riscv/riscv-isa-manual/issues for the assembler macro?

[Bug tree-optimization/118688] New: patch splitting should happen when it is known only path is hot

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118688 Bug ID: 118688 Summary: patch splitting should happen when it is known only path is hot Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimiz

[Bug target/118687] RISC-V extensions for inline asm code (vs. llvm)

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118687 --- Comment #2 from Andrew Pinski --- Basically what I am saying this should be filed in gas rather than in GCC.

[Bug target/118687] RISC-V extensions for inline asm code (vs. llvm)

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

[Bug target/118687] New: RISC-V extensions for inline asm code (vs. llvm)

2025-01-28 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118687 Bug ID: 118687 Summary: RISC-V extensions for inline asm code (vs. llvm) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #17 from Andrew Pinski --- Note many if not all modern branch predictors and figure out patterns for 256 wise. So increasing it to 1000 forces the branch predictor not to be predict which way the branch is taken.

[Bug target/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Component|tree-optimiz

[Bug target/19520] protected function pointer and copy relocation don't work right

2025-01-28 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19520 --- Comment #34 from Thiago Macieira --- H.J. fixed this a few years ago. It requires the -mno-direct-extern-access flag.

[Bug c++/118673] [14 regression] LLVM's libMLIR miscompiled since r14-1705-g2764335bd336f2

2025-01-28 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118673 Jason Merrill changed: What|Removed |Added Summary|[14/15 regression] LLVM's |[14 regression] LLVM's

[Bug c++/118285] [14 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 Jason Merrill changed: What|Removed |Added Summary|[14/15 Regression] GCC |[14 Regression] GCC rejects

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

2025-01-28 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 118285, which changed state. Bug 118285 Summary: [14 Regression] GCC rejects some constexpr std::string usages https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 What|Removed |Added --

[Bug libstdc++/103924] views::join combined with std::string cannot be used in constant expressions

2025-01-28 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103924 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 Jason Merrill changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #8

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

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

2025-01-28 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 118285, which changed state. Bug 118285 Summary: [14/15 Regression] GCC rejects some constexpr std::string usages https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 What|Removed |Added

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c3b0b98b3ba57840ab2cfbc9d44d001c1e9167bf commit r15-7260-gc3b0b98b3ba57840ab2cfbc9d44d001c1e9167bf Author: Jason Merrill Date: Tu

[Bug c++/115614] Invalid (?) template substitution on variadic constrained packs

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115614 Patrick Palka changed: What|Removed |Added Last reconfirmed||2025-01-28 Ever confirmed|0

[Bug c++/117778] [14/15 Regression] ICE maybe_add_lambda_conv_op

2025-01-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117778 --- Comment #3 from Marek Polacek --- The following should run fine but we issue an error since r12-5860-g6a071b2d40a107: commit 6a071b2d40a1078b4029c2b77ef29ffca4e7050c Author: Marek Polacek Date: Thu Nov 25 09:08:03 2021 -0500 c++: Ha

[Bug c++/118187] Constraints of template template parameter not checked for non-dependent arguments despite [temp.names]/8

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118187 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

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

2025-01-28 Thread eager at eagercon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280 --- Comment #12 from Michael Eager --- If you have a patch, please send it to gcc-patc...@gcc.gnu.org

[Bug c++/118340] fold expression is very slow to compile when used to initialize a variable

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118340 --- Comment #5 from Patrick Palka --- FWIW disabling the block containing the cp_fully_fold calls breaks g++.dg/cpp0x/warn-ovl2.C and g++.dg/warn/multiple-overflow-warn-3.C, unsurprisingly. We can't leverage the fold_cache here because cp_fold

[Bug fortran/118683] UBSAN: Invalid value for type ar_type since r15-7070-g0d1e62b83561ba

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

[Bug tree-optimization/118669] Misaligned store after vectorization without using misaligned type with SVE

2025-01-28 Thread kristerw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118669 --- Comment #11 from Krister Walfridsson --- FWIW, this also happens on RISC-V. You can observe it by compiling the following function with "-O3 -march=rv64gcv" float test (float x, float *ptr, int n) { for (int i = 0; i < n; ++i) x = __b

[Bug c/101537] -Wconversion false positive in ternary and |=

2025-01-28 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101537 Nick Desaulniers changed: What|Removed |Added CC||ndesaulniers at google dot com --- C

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #15 from Andrew Pinski --- So one thing interesting is for x86_64 GCC does not produce a conditional move.

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #14 from Andrew Pinski --- Created attachment 60312 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60312&action=edit Fix for the -O3 case This is the fix for the -O3 regression. I should note that x86_64 didn't have a regressi

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #13 from Andrew Pinski --- (In reply to Andrew Pinski from comment #12) > Created attachment 60310 [details] > Original benchmark > > Just uploading the standalone benchmark without any changes to the constant > formation. > Note Th

[Bug testsuite/116860] [15 Regression] New test case gcc.dg/tree-ssa/fold-xor-and-or.c from r15-3866-ga88d6c6d777ad7 fails

2025-01-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116860 Jeffrey A. Law changed: What|Removed |Added Assignee|konstantinos.eleftheriou@vr |law at gcc dot gnu.org

[Bug fortran/118683] UBSAN: Invalid value for type ar_type since r15-7070-g0d1e62b83561ba

2025-01-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118683 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code Last reconfirme

[Bug libgcc/118685] FreeBSD static executables segfault due to libgcc missing crtbeginT.o

2025-01-28 Thread kargls at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685 kargls at comcast dot net changed: What|Removed |Added CC||gerald at gcc dot gnu.org,

[Bug fortran/118683] UBSAN: Invalid value for type ar_type since r15-7070-g0d1e62b83561ba

2025-01-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118683 --- Comment #1 from anlauf at gcc dot gnu.org --- Created attachment 60311 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60311&action=edit Patch Confirmed. Running f951 under gdb, it appears that the fix for pr117774, which dealt with in

[Bug tree-optimization/118505] [15 regression] aarch64: 25% regression in TSVC s258 since r15-3436-gb2b20b277988ab

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118505 --- Comment #12 from Andrew Pinski --- Created attachment 60310 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60310&action=edit Original benchmark Just uploading the standalone benchmark without any changes to the constant formation. Not

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present since r15-6369-gfa99002538bc91

2025-01-28 Thread carlosgalvezp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 --- Comment #19 from Carlos Galvez --- I can confirm that recent versions of trunk fixed the problem described in this thread, thank you so much! > Sounds like another regression? I need to run more tests to confirm. It is a very huge file, it

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-01-28 Thread dieram3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #4 from Diego Ramirez --- I think the way to fix this is finding the the first pool block size `B` such as `B >= size` and `B & (alignment - 1) == 0` (or in other words `gcd(B, alignment) == alignment)`). The starting point in `pool

[Bug target/117202] RISC-V: SLP permutation for VLA vectors broken

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

[Bug target/118533] [15 regression] bfloat16_scalar_*.c failures since r15-1619-g3b9b8d6cfdf593

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

[Bug libgcc/118685] FreeBSD static executables segfault due to libgcc missing crtbeginT.o

2025-01-28 Thread dimitry at andric dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685 --- Comment #1 from Dimitry Andric --- Patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674663.html

[Bug target/117202] RISC-V: SLP permutation for VLA vectors broken

2025-01-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117202 Richard Sandiford changed: What|Removed |Added CC||juzhe.zhong at rivai dot ai,

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug target/118538] throw not caught causing an seg fault rather than a `terminate called after throwing an instance of 'int'` message

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118538 --- Comment #19 from Andrew Pinski --- I was wrong, it is only static linking where the issue I had saw was an issue.

[Bug target/118538] throw not caught causing an seg fault rather than a `terminate called after throwing an instance of 'int'` message

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118538 --- Comment #18 from Andrew Pinski --- Actually I think I know what this is. Ubuntu defaults to PIE.

[Bug c++/106880] [12/13/14/15 Regression] "error: use of deleted function" printed twice

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106880 Patrick Palka changed: What|Removed |Added Assignee|ppalka at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/117202] SLP permutation for VLA vectors broken

2025-01-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117202 --- Comment #5 from Richard Sandiford --- FWIW, gcc.target/riscv/rvv/autovec/struct/mask_struct_store_run-3.c seems to produce similar VEC_PERM_EXPRs for SVE, but it works there. The idea is that we're unpacking one vector of [16,16] chars into

[Bug target/118642] -specs=sync-none.specs doesn't work with LTO.

2025-01-28 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118642 Richard Earnshaw changed: What|Removed |Added Keywords||rejects-valid --- Comment #3 from Ri

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 --- Comment #5 from Jakub Jelinek --- The extra VAR_DECLs whose addresses are recorded in the initializers are created in #0 make_node (code=VAR_DECL) at ../../gcc/tree.cc:1244 #1 0x01609ce1 in build_decl (loc=4611686018427387913, code

[Bug target/118642] -specs=sync-none.specs doesn't work with LTO.

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118642 --- Comment #2 from GCC Commits --- The master branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:0204dcf930b5093d0811a007b7f47aa42e55e787 commit r15-7258-g0204dcf930b5093d0811a007b7f47aa42e55e787 Author: Richard Earnshaw Dat

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

2025-01-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118285 --- Comment #4 from Jakub Jelinek --- With minor tweaks to that: --- pr118285-3.C2025-01-28 16:30:15.798692471 +0100 +++ pr118285-5.C2025-01-28 16:46:09.572904490 +0100 @@ -6,21 +6,21 @@ template struct initializer } struct A

[Bug other/118675] Missing escaping of "{" and "}" within messages in SARIF output

2025-01-28 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118675 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 Richard Biener changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:54bdeca3c6214485d15454df30183a56ad3e473b commit r15-7257-g54bdeca3c6214485d15454df30183a56ad3e473b Author: Richard Biener Date:

[Bug tree-optimization/117202] SLP permutation for VLA vectors broken

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117202 --- Comment #4 from Richard Biener --- Created attachment 60309 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60309&action=edit refreshed patch I picked this from a branch where it was updated.

[Bug target/115458] [15 regression] [RISC-V] ICE in lra_split_hard_reg_for, at lra-assigns.cc:1868 unable to find a register to spill since r15-518-g99b1daae18c095

2025-01-28 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115458 Palmer Dabbelt changed: What|Removed |Added CC||palmer at gcc dot gnu.org --- Comment

[Bug c++/118285] [14/15 Regression] GCC rejects some constexpr std::string usages

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

[Bug other/118675] Missing escaping of "{" and "}" within messages in SARIF output

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118675 --- Comment #1 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:b4bd06774ced72d5f0059ec55022840ad3f37fa4 commit r15-7255-gb4bd06774ced72d5f0059ec55022840ad3f37fa4 Author: David Malcolm Date: T

[Bug tree-optimization/106570] [12/13/14/15 Regression] DCE sometimes fails with depending if statements since r12-2305-g398572c1544d8b75

2025-01-28 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106570 --- Comment #9 from Andrew Macleod --- (In reply to Andrew Macleod from comment #2) > I think this is a duplicate of PR106379 . At the VRP2 stage I see: > >[local count: 1073741824]: > if (c_6(D) == s_7(D)) > goto ; [34.00%] > els

[Bug c++/118626] C++20 std::variant causes a segmentation fault

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118626 --- Comment #9 from Patrick Palka --- A valid reduced testcase: template struct _Nth_type; template struct variant { template static constexpr long __accepted_index = 0; template using __to_type = _Nth_type<_Np>; template using __accepte

[Bug c++/118626] C++20 std::variant causes a segmentation fault

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118626 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/118396] [15 regression] -O1+ leads to reading uninitialized data when virtual destructor is present since r15-6369-gfa99002538bc91

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118396 --- Comment #18 from Patrick Palka --- (In reply to Carlos Galvez from comment #17) > (FYI I'm trying to test this but now I get out-of-memory errors when trying > to compile a single .cpp file, will test with a newer patch in case it got > fixe

[Bug target/115673] [15 regression] gcc.target/i386/force-indirect-call-2.c test failure since r15-1619-g3b9b8d6cfdf593

2025-01-28 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673 --- Comment #14 from Vladimir Makarov --- (In reply to Richard Biener from comment #12) > Re-confirmed. > > +FAIL: gcc.target/i386/force-indirect-call-2.c scan-assembler-times > (?:call|jmp)[ \\t]+\\*% 3 > +FAIL: gcc.target/i386/pr91384.c scan-

[Bug target/117270] [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:98b2009b8768f8790dff9edbe00742bcdf2b7482 commit r15-7254-g98b2009b8768f8790dff9edbe00742bcdf2b7482 Author: Richard Sandiford Da

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2025-01-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 117270, which changed state. Bug 117270 Summary: [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 What|Removed |Adde

[Bug c++/117855] [14/15 Regression] ICE with deduction guides, default template arguments and inherited deduction guides

2025-01-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117855 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/117855] [14/15 Regression] ICE with deduction guides, default template arguments and inherited deduction guides

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117855 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:c061ad5a36ba0c07d3d9d82a85aebb887def759d commit r14-11256-gc061ad5a36ba0c07d3d9d82a85aebb887def759d Author: Patrick Palka

[Bug target/117270] [15 Regression] 9% exec time slowdown of 538.imagick_r on aarch64

2025-01-28 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117270 Richard Sandiford changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/114277] [12/13/14/15 Regression] Missed optimization: x*(x||b) => x

2025-01-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114277 --- Comment #10 from Jeffrey A. Law --- So on the RISC-V specific side of this we will need a bit of work and all things that would help address some of the weaknesses in utilization of the zicond extension. First, for the comparison in the con

[Bug c++/117855] [14/15 Regression] ICE with deduction guides, default template arguments and inherited deduction guides

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117855 --- Comment #9 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:ea578dd251eaf6304b0c95acc107f9a4d63bee8f commit r15-7253-gea578dd251eaf6304b0c95acc107f9a4d63bee8f Author: Patrick Palka Date: T

[Bug tree-optimization/91198] GCC not generating AVX-512 compress/expand instructions

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91198 --- Comment #7 from Richard Biener --- The first issue to address is t.c:4:20: note: Analyze phi: j_26 = PHI t.c:4:20: missed: reduction used in loop. t.c:4:20: missed: Unknown def-use cycle pattern. and then t.c:4:20: note: mark rele

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-28 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 --- Comment #14 from Iain Buclaw --- The compiler itself doesn't depend on the phobos standard library part of libphobos, only druntime. User applications would use Phobos however.

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

2025-01-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629 --- Comment #7 from Jakub Jelinek --- For template struct S { char s[N]; }; const char *z; auto foo() -> S { z = __func__; return {}; } int bar() { return sizeof (foo ()); } both gcc and clang warn about it, but I think it shouldn't war

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/112859] [12/13/14 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-2097-g9f34b780b0461e

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112859 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3ccbc8c9d182c380e396631b2b5a683de4fddba9 commit r15-7252-g3ccbc8c9d182c380e396631b2b5a683de4fddba9 Author: Richard Biener Date:

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

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

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 --- Comment #3 from Richard Biener --- (In reply to Andreas Schwab from comment #1) > Does that also happen if you remove the undefined behaviour? The code generation still happens when I make it conditionally executed. It's the "easiest" case

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

2025-01-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug sarif-replay/118686] Poor error message for ill-formed UTF-8 sequence

2025-01-28 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118686 --- Comment #1 from David Malcolm --- Of course, we shouldn't be generating malformed data, but that can be a separate bug.

[Bug sarif-replay/118686] New: Poor error message for ill-formed UTF-8 sequence

2025-01-28 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118686 Bug ID: 118686 Summary: Poor error message for ill-formed UTF-8 sequence Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug middle-end/118684] wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 --- Comment #1 from Andreas Schwab --- Does that also happen if you remove the undefined behaviour?

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

2025-01-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118629 --- Comment #5 from Jakub Jelinek --- Of course, __PRETTY_FUNCTION__ isn't in the standard, so we can do whatever we want, but __func__ is said to be implicitly defined in function parameter scope, so at least __func__ in the late return type sh

[Bug libgcc/118685] New: FreeBSD static executables segfault due to libgcc missing crtbeginT.o

2025-01-28 Thread dimitry at andric dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118685 Bug ID: 118685 Summary: FreeBSD static executables segfault due to libgcc missing crtbeginT.o Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/117424] [12/13/14 regression] Miscompile with different optimization flags since r12-4871-g502ffb1f389011

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117424 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[12/13/14/15 r

[Bug middle-end/118684] New: wrong alignment for stack temporary created during RTL expansion

2025-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118684 Bug ID: 118684 Summary: wrong alignment for stack temporary created during RTL expansion Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/118663] [15 Regression] ICE: in rs6000_emit_move, at config/rs6000/rs6000.cc:11091 during libgcc build - caused by r15-7008-g9f009e8865cda0

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118663 --- Comment #13 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:01339d29b7663d85eea6145eac2b1ad1da428c11 commit r15-7250-g01339d29b7663d85eea6145eac2b1ad1da428c11 Author: Vladimir N. Makarov

[Bug target/118125] [15 Regression] 7-16% slowdown of 510.parest_r on x86-64(-v3) since r15-6110-g92e0e0f8177530

2025-01-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118125 --- Comment #7 from Martin Jambor --- (In reply to Martin Jambor from comment #4) > [...] Unfortunately when I > then looked at SLP vectorization when all IPA-VR propagations were > allowed again, this particular case was not there (but there we

[Bug c++/118629] [14/15 Regression] ice in cp_parser_expression_statement with __FUNCTION__ inside decltype for the trailing return type of a lambda

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

[Bug tree-optimization/117424] [12/13/14/15 regression] Miscompile with different optimization flags since r12-4871-g502ffb1f389011

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117424 --- Comment #13 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f1e776ce58ae4a6ae67886adb4ae806598e2c7ef commit r15-7249-gf1e776ce58ae4a6ae67886adb4ae806598e2c7ef Author: Richard Biener Date:

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-28 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 --- Comment #13 from Brecht Sanders --- I understand that would give me a gdc with runtime and no libphobos. What is needed to make that usable as a compiler? Do I need to build libphobos spearately or from a different source?

[Bug tree-optimization/108367] [12/13/14/15 Regression] ICE: verify_ssa failed (error: definition in block 4 does not dominate use in block 3) since r12-5138-ge82c382971664d6f

2025-01-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108367 --- Comment #7 from Sam James --- (In reply to Andrew Pinski from comment #6) > I can't reproduce this starting in GCC 14.1.0. From the looks of it, it was > a patch to loop ch which "fixes" the ICE but that would mean this has gone > latent; ju

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #3 from Andrew Pinski --- synchronized_pool_resource::do_allocate has the similar code but with a lock for the pool case.

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

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

[Bug libstdc++/118681] [C++17] unsynchronized_pool_resource may fail to respect alignment

2025-01-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118681 --- Comment #1 from Andrew Pinski --- Created attachment 60307 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60307&action=edit testcase from godbolt Next time attach the testcase instead of just linking godbolt.

[Bug d/118495] Unable to build gdc (D compiler) for MinGW-w64

2025-01-28 Thread ibuclaw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495 --- Comment #12 from Iain Buclaw --- (In reply to Brecht Sanders from comment #11) > Apparently MinGW-w64 dosn't like extern char** environ; > > To avoid this issue for now I commented out the following in > gcc/cp/module.cc: > extern char **

[Bug target/110901] -march does not override -mcpu in calls to assembler

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110901 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:57a9595f05efe2839a39e711c6cf3ce21ca1ff33 commit r13-9352-g57a9595f05efe2839a39e711c6cf3ce21ca1ff33 Author: Tamar Christi

[Bug target/113257] -march=native or -mcpu=native are ineffective, but -march=native -mcpu=native works on arm64 M2 Ultra

2025-01-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113257 --- Comment #13 from GCC Commits --- The releases/gcc-13 branch has been updated by Tamar Christina : https://gcc.gnu.org/g:eb45b829bb3fb658aa34a340264dee9755d34e69 commit r13-9351-geb45b829bb3fb658aa34a340264dee9755d34e69 Author: Tamar Christ

  1   2   >