[Bug middle-end/119576] Please remove -Warray-bounds from -Wall

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119576 --- Comment #11 from Richard Biener --- There might be an argument that we should provide a way to disable all "late" (during/after optimization) diagnostics. There are often instances of the same -Wxyz that are emitted from both frontends and

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #15 from chenglulu --- (In reply to Xi Ruoyao from comment #14) > (In reply to chenglulu from comment #13) > > There is a problem now. When gcc supports both _Float128 and Q suffixes, the > > libquadmath library will be automatically

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #17 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #16) /* snip */ > diff --git a/libgfortran/acinclude.m4 b/libgfortran/acinclude.m4 > index a73207e5465..8913dacb2b1 100644 > --- a/libgfortran/acinclude.m4 > +++ b/libgfort

[Bug middle-end/119577] RISC-V: Redundant vector IV roundtrip.

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119577 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-04-02 Status|UNCONFIR

[Bug tree-optimization/98845] [12/13/14 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 2 and 23 which are marked as MUST COALESCE.) since r6-528-g465770e43996a132

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98845 --- Comment #18 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9d516fb8ea547fa7b0ddea1f56cdb44a48f93663 commit r14-11504-g9d516fb8ea547fa7b0ddea1f56cdb44a48f93663 Author: Richard Biene

[Bug c++/79786] [12/13/14 Regression] ICE tree check: expected class 'type', have 'declaration' (var_decl) in iamcu_alignment, at config/i386/i386.c:30263

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79786 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:931277d91f29eab79e2d4008f0f69c809df95bcb commit r14-11501-g931277d91f29eab79e2d4008f0f69c809df95bcb Author: Richard Biene

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #16 from Xi Ruoyao --- (In reply to chenglulu from comment #15) > (In reply to Xi Ruoyao from comment #14) > > (In reply to chenglulu from comment #13) > > > There is a problem now. When gcc supports both _Float128 and Q suffixes, >

[Bug middle-end/87984] [12/13/14 Regression] wrong code for local reg var input to asm inside a loop

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87984 --- Comment #47 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:3b84ac64816557e6c953984f096e0995f946e063 commit r14-11502-g3b84ac64816557e6c953984f096e0995f946e063 Author: Richard Biene

[Bug c++/119574] [14/15 regression] ICE on lambda in default template argument

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119574 Richard Biener changed: What|Removed |Added Known to fail||14.2.1 --- Comment #6 from Richard Bie

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #19 from Xi Ruoyao --- (In reply to Jakub Jelinek from comment #18) > _Float128 is definitely not for backward compatibility Sorry, I mean __float128. The problem here is we added __float128 as an alias of _Float128 for compatibili

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #20 from chenglulu --- (In reply to Xi Ruoyao from comment #19) > (In reply to Jakub Jelinek from comment #18) > > _Float128 is definitely not for backward compatibility > > Sorry, I mean __float128. > > The problem here is we adde

[Bug c/101478] [12/13/14 Regression] ICE with statement expression and offsetof like expression since r10-7127-gcb99630f254aae

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101478 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:a57c877f8899ac9171eaeafa7641ac79cce96f89 commit r14-11505-ga57c877f8899ac9171eaeafa7641ac79cce96f89 Author: Richard Biene

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #21 from chenglulu --- (In reply to Jakub Jelinek from comment #18) > _Float128 is definitely not for backward compatibility, it is a standard C23 > type and in C++ used for the standard std::float128_t type. > I think aarch64 doesn'

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #22 from Jakub Jelinek --- I think for libgfortran the cleanest would be in the configure check whether long double is IEEE quad and if so, have libgfor_cv_have_float128 no. That can be e.g. #if __LDBL_MANT_DIG__ == __FLT128_MANT_DIG

[Bug target/119556] gcc.target/arm/short-vfp-1.c fails

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119556 --- Comment #1 from GCC Commits --- The trunk branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:df225ae29a147ae40bb44ba14ee979b67fd19c8e commit r15-9144-gdf225ae29a147ae40bb44ba14ee979b67fd19c8e Author: Christophe Lyon Date:

[Bug target/119556] gcc.target/arm/short-vfp-1.c fails

2025-04-02 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119556 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/110854] constructor of std::counting_semaphore is not constexpr

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110854 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

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

[Bug c/101440] Documentation bug for __attribute__ ((access))

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

[Bug target/119539] [15 Regression] FAIL: gcc.target/i386/apx-nf.c scan-assembler-times {nf} rol 4

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119539 --- Comment #4 from GCC Commits --- The master branch has been updated by Hongyu Wang : https://gcc.gnu.org/g:2488843477b3dcfeef76f8512ff6d9e8f3b58dca commit r15-9166-g2488843477b3dcfeef76f8512ff6d9e8f3b58dca Author: Hongyu Wang Date: Mon M

[Bug c/101440] Documentation bug for __attribute__ ((access))

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101440 --- Comment #1 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:4590a31f81ae18e0d887c1a56f510d22754f31ed commit r15-9165-g4590a31f81ae18e0d887c1a56f510d22754f31ed Author: Sandra Loosemore Dat

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 --- Comment #3 from Andrew Pinski --- (In reply to Nathaniel Shead from comment #2) > Maybe worth noting that the C++ frontend already uses an 'iloc_sentinel' > RAII type for this (defined in cp/cp-tree.h), maybe it would be worth moving > somew

[Bug ipa/119599] [15 Regression] ICE: in single_succ_edge, at basic-block.h:332 with __noreturn__ function that returns since r15-5336

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119599 --- Comment #8 from Andrew Pinski --- Note this does not ICE at -O1 is because of PR 82158 which changes return (inside the noreturn function) into __builtin_unreachable when optimizing.

[Bug tree-optimization/119605] New: change the code fixup_cfg for __builtin_unreachable to be a verifier

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119605 Bug ID: 119605 Summary: change the code fixup_cfg for __builtin_unreachable to be a verifier Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-

[Bug target/119539] [15 Regression] FAIL: gcc.target/i386/apx-nf.c scan-assembler-times {nf} rol 4

2025-04-02 Thread hongyuw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119539 Hongyu Wang changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/61727] #pragma simd is undocumented

2025-04-02 Thread sandra at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61727 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug tree-optimization/119586] [15 Regression] wrong code at -O2 with "-ftree-loop-vectorize -fno-inline" on x86_64-linux-gnu since r15-8047

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119586 --- Comment #5 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:574c59cfe6e29c9e5758988b75c2e7ab6edc37da commit r15-9149-g574c59cfe6e29c9e5758988b75c2e7ab6edc37da Author: Richard Biener Date:

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 --- Comment #5 from Siddhesh Poyarekar --- Appeared since r15-3078-g6ea25c041964bf which was also backported to the gcc14 branch.

[Bug c++/119591] New: Concept constraint expression normalization uses too much memory

2025-04-02 Thread marco.rubini08 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119591 Bug ID: 119591 Summary: Concept constraint expression normalization uses too much memory Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/119586] [15 Regression] wrong code at -O2 with "-ftree-loop-vectorize -fno-inline" on x86_64-linux-gnu since r15-8047

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119586 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/107087] [12 Regression] bits/stl_algobase.h:431: warning: 'void* __builtin_memcpy(void*, const void*, unsigned int)' reading between 8 and 2147483644 bytes from a region of siz

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107087 --- Comment #21 from Jonathan Wakely --- (In reply to Ted Lyngmo from comment #20) > I noticed something very similar that started with 12.4 and that is still > there. I think it's a duplicate this ticket so I'll post here for you to > decide.

[Bug tree-optimization/119351] [15 Regression] Wrong code in GROMACS for AArch64 generic SVE VLS target

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119351 --- Comment #12 from Jakub Jelinek --- Sorry, I was looking for r15-something string and missed g: prefixed hash.

[Bug middle-end/119482] slow compilation on ladybird interpreter

2025-04-02 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119482 Andi Kleen changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment

[Bug c++/119387] [14/15 Regression] Regression in performance by a factor of 6 when building with debugging symbols since r14-5979

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

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590 --- Comment #2 from Andrew Pinski --- For c++ alignof should be used. But for c _Alignof needs to be used.

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

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

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 --- Comment #6 from Jakub Jelinek --- Note, generally -fomit-frame-pointer doesn't guarantee that the frame pointer is omitted: "Omit the frame pointer in functions that don't need one." Functions using VLAs/alloca or requiring dynamic stack rea

[Bug middle-end/108016] RISC-V:Bad codegen in scalar code comparing to LLVM

2025-04-02 Thread alexey.merzlyakov at samsung dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108016 --- Comment #7 from Alexey Merzlyakov --- > For DSE to kick in, I'm pretty sure we'd need to eliminate the memory load > first. Eliminating the memory load will likely be nontrivial. For this, I think we could start from loads that was partiall

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

2025-04-02 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590 Francois-Xavier Coudert changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/119096] [14 regression] Loop with conditional, cast and reduction vectorized incorrectly with AVX-512

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119096 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/119590] macOS 15.4 SDK is not GCC compatible

2025-04-02 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119590 --- Comment #4 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #3) > So something fixincludes should fix? looks like another case where having a single FE for c-family makes it easy to mistakenly accept C in C++ and vice versa At

[Bug tree-optimization/119594] New: wrong code at -Os with "-fno-dce -fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu

2025-04-02 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
sable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.1 20250402 (experimental) (GCC) [509] % [509] % gc

[Bug tree-optimization/119592] [12/13/14/15 Regression] false positive array bounds warning with set>

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

[Bug cobol/119595] Port libgcobol to 32-bit architectures

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119595 --- Comment #2 from Jakub Jelinek --- Created attachment 60964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60964&action=edit gcc15-pr119595.patch Here is my WIP, with emulation classes. libgcobol still builds for 64-bit x86_64 and make

[Bug tree-optimization/119594] [15 regression] wrong code at -Os with "-fno-dce -fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu

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

[Bug c++/66279] [12/13/14 Regression] Input/output asm operand is not loaded inside a constructor with a virtual base class since r0-116348-g660584689a4397

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:12b536c17d28500fa9ad32563ae6088726162051 commit r14-11500-g12b536c17d28500fa9ad32563ae6088726162051 Author: Richard Biene

[Bug cobol/119595] New: Port libgcobol to 32-bit architectures

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119595 Bug ID: 119595 Summary: Port libgcobol to 32-bit architectures Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug rtl-optimization/119594] [15 regression] wrong code at -Os with "-fno-dce -fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119594 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Status|UNCO

[Bug rtl-optimization/119594] [15 regression] wrong code at -Os with "-fno-dce -fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119594 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > The difference with/without -fno-dce is: > mov edi, 4294967295 > > > vs: > xor edi, edi 4294967295 is the correct value.

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #1 from Andrew Pinski --- This is 100% a tuning issue. The generic tuning is tuned for a generic target. You could use -mtune= to get a better tuning for the processor you using.

[Bug libstdc++/116212] [13 regression] -Walloc-size-larger-than warning when building 20_util/specialized_algorithms/uninitialized_move/constrained.cc with -O3

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116212 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/117849] constraint variable in requires expression rejected, but P2280R4 made it valid

2025-04-02 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117849 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug libstdc++/117983] [12 Regression] -Wstringop-overflow false positive for __builtin_memmove from vector::insert

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117983 --- Comment #10 from Jonathan Wakely --- fixed for 13.4 and 14.3 so far.

[Bug libstdc++/110498] [12/13 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110498 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a5f7850221f935b97980e2a52b1aaeb944d7d1cf commit r13-9488-ga5f7850221f935b97980e2a52b1aaeb944d7d1cf Author: Jonathan Wak

[Bug libstdc++/117983] [12/13 Regression] -Wstringop-overflow false positive for __builtin_memmove from vector::insert

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117983 --- Comment #9 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8f633fe7c7d03ed6c0ce029a831037a6274a0882 commit r13-9486-g8f633fe7c7d03ed6c0ce029a831037a6274a0882 Author: Jonathan Wake

[Bug libstdc++/114758] [13 Regression] The layout of a std::vector reports a warning

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:d1929ba18c1e4f0fa4212ec2181f8345896bb7e8 commit r13-9487-gd1929ba18c1e4f0fa4212ec2181f8345896bb7e8 Author: Jonathan Wak

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

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

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 114758, which changed state. Bug 114758 Summary: [13 Regression] The layout of a std::vector reports a warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114758 What|Removed |Added --

[Bug libstdc++/110498] [12 Regression] Spurious warnings stringop-overflow and array-bounds copying data as bytes into vector::reserve

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110498 --- Comment #11 from Jonathan Wakely --- Fixed for 13.4 and 14.3 as well

[Bug libstdc++/119593] Format width is not correctly handled for unicode characters

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

[Bug libstdc++/116212] [13 regression] -Walloc-size-larger-than warning when building 20_util/specialized_algorithms/uninitialized_move/constrained.cc with -O3

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116212 --- Comment #8 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:30a0a942007ac01601c6493b558b747d6a5b6371 commit r13-9485-g30a0a942007ac01601c6493b558b747d6a5b6371 Author: Jonathan Wake

[Bug rtl-optimization/119594] [15 regression] wrong code at -Os with "-fno-dce -fno-tree-dce -fno-tree-dse" on x86_64-linux-gnu

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119594 --- Comment #3 from Andrew Pinski --- RTL fwprop1 is removing: (insn 7 2 8 2 (set (reg/v:DI 101 [ gD.2871 ]) (const_int -1 [0x])) "/app/example.cpp":9:10 95 {*movdi_internal} (expr_list:REG_UNUSED (reg/v:DI 101 [ gD.

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-02 Thread mjguzik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #4 from Mateusz Guzik --- Sorry guys, I must have pressed something by accident and the bug submitted before I typed it out. Anyhow the crux is: (In reply to Andrew Pinski from comment #1) > This is 100% a tuning issue. The generic

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-02 Thread mjguzik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #3 from Mateusz Guzik --- Normally inlined memset and memcpy ops use SIMD. However, kernel are built for with -mno-sse for performance reasons. For buffers up to 40 bytes gcc emits regular stores, which is fine. For sizes above tha

[Bug c/119582] ICE in gimplify_expr, at gimplify.cc:18708 with -fsanitize=pointer-subtract

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119582 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:29bc904cb827615ed9f36bc3742ccc4ac77515ec commit r15-9153-g29bc904cb827615ed9f36bc3742ccc4ac77515ec Author: Jakub Jelinek Date: W

[Bug target/119596] x86: too eager use of rep movsq/rep stosq for inlined ops

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119596 --- Comment #5 from Andrew Pinski --- >Benching based on the Linux kernel and the Sapphire Rapids CPU: With -mtune=sapphirerapids , GCC produces: ``` _Z4zeroP3foo: .LFB0: .cfi_startproc mov QWORD PTR [rdi], 0 mov

[Bug target/119597] New: SEGV on Cobol "hello world" on Power

2025-04-02 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119597 Bug ID: 119597 Summary: SEGV on Cobol "hello world" on Power Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/119597] SEGV on Cobol "hello world" on Power

2025-04-02 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119597 Peter Bergner changed: What|Removed |Added Status|UNCONFIRMED |NEW Target|

[Bug fortran/119540] [15 Regression] FAIL: gfortran.dg/reduce_1.f90 -O0 execution test

2025-04-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119540 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > (In reply to anlauf from comment #3) > > I might be missing to set some elem_len or span or ... > > Testcase: The apparent string length issue with -fcheck

[Bug ipa/119604] New: expand_call_inline could use an RAII for input_location

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 Bug ID: 119604 Summary: expand_call_inline could use an RAII for input_location Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement

[Bug ipa/119599] [15 Regression] ICE: in single_succ_edge, at basic-block.h:332 with __noreturn__ function that returns since r15-5336

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119599 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Actually you are right inliner should be fixed. Let me try to do that > instead. ``` diff --git a/gcc/tree-inline.cc b/gcc/tree-inline.cc index 05843b8ccf0..da40

[Bug tree-optimization/119605] change the code fixup_cfg for __builtin_unreachable to be a verifier

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

[Bug c++/60972] Mixing #pragma pack and __attribute__((packed)) leads to spurious warnings.

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

[Bug ipa/119599] [15 Regression] ICE: in single_succ_edge, at basic-block.h:332 with __noreturn__ function that returns since r15-5336

2025-04-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119599 --- Comment #6 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #5) > Empty block with no successors is how we represent __builtin_unreachable in > RTL, in GIMPLE there should be __builtin_unreachable call. We should just > make s

[Bug tree-optimization/117892] [15 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu: in single_succ_edge, at basic-block.h:332 since r15-5336-gcee7d080d5c2a5

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

[Bug tree-optimization/119491] missed tail call due to exceptions which is empty

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119491 Jakub Jelinek changed: What|Removed |Added Attachment #60952|0 |1 is obsolete|

[Bug ipa/119376] [15 Regression] musttail does not get dropped after inlining?

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119376 Bug 119376 depends on bug 119491, which changed state. Bug 119491 Summary: missed tail call due to exceptions which is empty https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119491 What|Removed |Added -

[Bug demangler/96345] __cxa demangle fails to demangle a very long string

2025-04-02 Thread djh458 at stern dot nyu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96345 Derek Huang changed: What|Removed |Added CC||djh458 at stern dot nyu.edu --- Comment #7

[Bug ipa/119604] expand_call_inline could use an RAII for input_location

2025-04-02 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119604 Nathaniel Shead changed: What|Removed |Added CC||nshead at gcc dot gnu.org --- Comment

[Bug cobol/119242] cobol Front end requires __int128

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119242 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1bfc026035e6bade36538077dc1dd4f9baff0bf2 commit r15-9172-g1bfc026035e6bade36538077dc1dd4f9baff0bf2 Author: Jakub Jelinek Date: T

[Bug tree-optimization/119586] [15 Regression] wrong code at -O2 with "-ftree-loop-vectorize -fno-inline" on x86_64-linux-gnu since r15-8047

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119586 --- Comment #3 from Richard Biener --- More to the point testcase: void __attribute__((noipa)) foo (long *) {} void __attribute__((noipa)) d() { long e[6][8][5]; for (int b = 0; b < 6; b++) for (int c = 0; c < 8; c++) { e[

[Bug tree-optimization/119589] Alignment analysis for VMAT_STRIDED_SLP is wrong

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119589 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/119583] -fomit-frame-pointer does not work as expected for -mavx

2025-04-02 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119583 --- Comment #3 from Siddhesh Poyarekar --- I'm not so sure, the stack is correctly aligned here, just that it happens a little too late and results in holding on to the frame pointer.

[Bug ipa/111245] [12/13/14 Regression] miscompilation: missing assignment when exception thrown since r12-5244-g64f3e71c302b4a13e61656ee509e7050b9bce978

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111245 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d9faa7c2eb47c7fabf9dafce6d569f52d49c7030 commit r14-11514-gd9faa7c2eb47c7fabf9dafce6d569f52d49c7030 Author: Richard Bien

[Bug lto/119067] [14 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 --- Comment #14 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:85ed633f26c725bbe5c3a3c6fceada637bf33f7c commit r14-11517-g85ed633f26c725bbe5c3a3c6fceada637bf33f7c Author: Richard Bien

[Bug tree-optimization/119145] [13/14 Regression] vectorizer does partial BB vectorization during loop vect resulting in broken loop.

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119145 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Richard Biener : https://gcc.gnu.org/g:534a7895e969793285c77a42aca62d426cd56c1e commit r14-11520-g534a7895e969793285c77a42aca62d426cd56c1e Author: Richard Biene

[Bug lto/119067] [14 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262)

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Richard Biener changed: What|Removed |Added Known to fail||14.2.0 Known to work|

[Bug lto/45375] [meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 Bug 45375 depends on bug 119067, which changed state. Bug 119067 Summary: [14 Regression] ICE when building firefox-135.0.1 with LTO (tree check: expected none of vector_type, have vector_type in odr_types_equivalent_p, at ipa-devirt.cc:1262) ht

[Bug middle-end/105424] Bogus -Wstringop-overread with non-overread condition

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105424 Jonathan Wakely changed: What|Removed |Added Attachment #52901|0 |1 is obsolete|

[Bug libgomp/119588] Possible improvement in locking strategies for libgomp

2025-04-02 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119588 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug target/119308] Cobol ICE on "hello world" on POWER in rs6000_output_function_epilogue

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

[Bug tree-optimization/114945] [14 regression] Sporadic std::vector::resize() -Wstringop-overflow or -Warray-bounds warning with gcc 14

2025-04-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114945 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6b11aed73f6601de32082a4519022d4de1ce8a8f commit r14-11507-g6b11aed73f6601de32082a4519022d4de1ce8a8f Author: Jonathan Wak

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 114945, which changed state. Bug 114945 Summary: [14 regression] Sporadic std::vector::resize() -Wstringop-overflow or -Warray-bounds warning with gcc 14 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114945 Wha

[Bug target/119408] LoongArch: Q Suffix for __float128 Literals Not Supported

2025-04-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119408 --- Comment #18 from Jakub Jelinek --- _Float128 is definitely not for backward compatibility, it is a standard C23 type and in C++ used for the standard std::float128_t type. I think aarch64 doesn't build libquadmath either, but maybe it only s

[Bug tree-optimization/114945] [14 regression] Sporadic std::vector::resize() -Wstringop-overflow or -Warray-bounds warning with gcc 14

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114945 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 114945, which changed state. Bug 114945 Summary: [14 regression] Sporadic std::vector::resize() -Wstringop-overflow or -Warray-bounds warning with gcc 14 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114945 Wha

[Bug cobol/119217] cobol: build broken on non-linux by unguarded use of Linux-specific facilities.

2025-04-02 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119217 --- Comment #10 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #5 from Rainer Orth --- Given the recent flurry of activity to make the COBOL frontend (and libgcobol) more portable, I've given a Solaris/amd64 build another try. Some

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 116841, which changed state. Bug 116841 Summary: [14 Regression] spurious -Warray-bounds=1 warning when resizing + memcpy-ing into vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116841 What|Removed

[Bug c++/116841] [14 Regression] spurious -Warray-bounds=1 warning when resizing + memcpy-ing into vector

2025-04-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116841 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/119586] New: wrong code at -O2 with "-ftree-loop-vectorize -fno-inline" on x86_64-linux-gnu

2025-04-02 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
sable-bootstrap --enable-checking=yes --prefix=/local/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.1 20250402 (experimental) (GCC) [511] % [511] % gc

  1   2   3   >