[Bug c/119066] New: Warn when address of local variable is passed to on_exit

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119066 Bug ID: 119066 Summary: Warn when address of local variable is passed to on_exit Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug libstdc++/118160] Dangling reference in std::ranges::is_permutation may cause a crash

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118160 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4 --- Comment #5 from Jonathan Wak

[Bug middle-end/115871] [14/15 Regression] ICE with declare simd since r14-5057

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 --- Comment #4 from Jakub Jelinek --- According to the ABI, the _ZGVeM32v_foo clone should have __attribute__((omp declare simd (simdlen(32) inbranch))) vector(8) double[4] foo.simdclone.3 (vector(8) double simd.75, vector(8) double simd.76, vec

[Bug c++/114913] "verify_gimple failed" due to addition of two constexpr strings

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114913 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Marek Polacek changed: What|Removed |Added CC||jorg.brown at gmail dot com --- Comment

[Bug c++/118986] [15 Regression] internal compiler error: in replace_decl, at cp/constexpr.cc

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118986 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110822] ICE on constexpr initialized with non-constant expression also accepts-invalid

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:96572464234a88949ebfc07207ae2ae04c63e53b commit r15-7762-g96572464234a88949ebfc07207ae2ae04c63e53b Author: Marek Polacek Date: Tu

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>>

2025-02-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3 --- Comment #10 from Patrick Palka

[Bug c++/119063] New: [C++26] P2841R7 - Concept and variable-template template-parameters

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119063 Bug ID: 119063 Summary: [C++26] P2841R7 - Concept and variable-template template-parameters Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug lto/119067] New: 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-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Bug ID: 119067 Summary: 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)

[Bug libstdc++/118158] std::filesystem::equivalent unsupported on socket files

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118158 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a66d9754b8779446214853c86af41d74577da14a commit r14-11353-ga66d9754b8779446214853c86af41d74577da14a Author: Jonathan Wak

[Bug lto/119067] 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-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 --- Comment #1 from Sam James --- ``` $ g++ -c -fstack-protector-strong -fstrict-flex-arrays=1 -fno-rtti -pthread -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -pipe -fPIC -O2 -ggdb3

[Bug libstdc++/118160] Dangling reference in std::ranges::is_permutation may cause a crash

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118160 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f83bc0edb51e3e70e9cb5786f99f299ad2baa283 commit r14-11359-gf83bc0edb51e3e70e9cb5786f99f299ad2baa283 Author: Giuseppe D'A

[Bug libstdc++/117921] containers do not use ADL swap for Compare, Pred or Hash types

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

[Bug libstdc++/100249] missing forwarding std::__invoke result in ranges::is_permutation and ranges::clamp

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100249 --- Comment #18 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f83bc0edb51e3e70e9cb5786f99f299ad2baa283 commit r14-11359-gf83bc0edb51e3e70e9cb5786f99f299ad2baa283 Author: Giuseppe D'

[Bug c++/119059] [C++26] P3074R7 - Trivial unions

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119059 Marek Polacek changed: What|Removed |Added Last reconfirmed||2025-02-28 Ever confirmed|0

[Bug c++/117787] [C++26] P3247R2 - Deprecating the notion of trivial types

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

[Bug c++/119061] [C++26] P2900R14 - Contracts

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

[Bug c++/119064] [C++26] P2786R13 - Trivial Relocatability

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119064 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug c++/119062] [C++26] P3475R2 - Defang and deprecate memory_order::consume

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119062 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug lto/119067] 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-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Sam James changed: What|Removed |Added Attachment #60611|0 |1 is obsolete|

[Bug c++/119060] [C++26] P1494R5 - Partial program correctness

2025-02-28 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119060 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever co

[Bug lto/119067] 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-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Sam James changed: What|Removed |Added Attachment #60612|0 |1 is obsolete|

[Bug other/119052] [15 regression] Uninitialized memory use in selftest::check_line

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119052 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Last

[Bug c/119068] New: Should -Wwrite-strings be renamed to -fwrite-strings?

2025-02-28 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119068 Bug ID: 119068 Summary: Should -Wwrite-strings be renamed to -fwrite-strings? Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c/17654] Pointless warning on incompatible pointer types

2025-02-28 Thread alx at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17654 Alejandro Colomar changed: What|Removed |Added CC||alx at kernel dot org --- Comment #1

[Bug fortran/118747] [15 Regression]: seg fault on accessing an elemental procedure dummy argument's deferred-length component

2025-02-28 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118747 Andre Vehreschild changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #5 from Andre V

[Bug rtl-optimization/117712] [15 regression] ICE when building x265: internal compiler error: in expand_fix, at optabs.cc:5936 since r15-2890

2025-02-28 Thread konstantinos.eleftheriou at vrull dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117712 --- Comment #17 from Konstantinos Eleftheriou --- I've started bootstrapping and testing this on arm32 when it was posted, but ran into some unrelated bootstrapping issues. The whole testing cycle is quite slow because I'm using a QEMU environme

[Bug c++/119038] Internal compiler error calling method with explicit this parameter from generic lambda with implicitly captured this

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119038 --- Comment #4 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1a150f1f688486b12cd975bdc4cd1bd52a7e0110 commit r15-7759-g1a150f1f688486b12cd975bdc4cd1bd52a7e0110 Author: Patrick Palka Date: F

[Bug c++/119038] Internal compiler error calling method with explicit this parameter from generic lambda with implicitly captured this

2025-02-28 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119038 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.3 --- Comment #5 from Patrick Palka

[Bug middle-end/115871] [14/15 Regression] ICE with declare simd since r14-5057

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 Jakub Jelinek changed: What|Removed |Added CC||avieira at gcc dot gnu.org Pr

[Bug driver/69761] collect2 cannot find ld when built with in-tree binutils on Cygwin

2025-02-28 Thread ljrittle at acm dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69761 Loren Rittle changed: What|Removed |Added CC||ljrittle at acm dot org --- Comment #1 fr

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

2025-02-28 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118318 Martin Jambor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c/119066] Warn when address of local variable is passed to on_exit

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119066 --- Comment #1 from Andrew Pinski --- I was going to mention at_exit but that does not have a data arguments. But __cxa_atexit does (and __aeabi_atexit too). Warning about those might be just as useful.

[Bug c/119066] Warn when address of local variable is passed to on_exit

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119066 --- Comment #2 from Jonathan Wakely --- I don't think users should be calling __cxa_atexit themselves. But since the data argument is typically the address of a global variable with static storage duration, it would be OK to warn if it's passed

[Bug c++/118986] [15 Regression] internal compiler error: in replace_decl, at cp/constexpr.cc

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118986 --- Comment #10 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:22018a4a8caa806a8f673eb0713de16d64d25063 commit r15-7761-g22018a4a8caa806a8f673eb0713de16d64d25063 Author: Marek Polacek Date: W

[Bug middle-end/115871] [14/15 Regression] ICE with declare simd since r14-5057

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c++/106389] [12/13/14/15 Regression] IPA modref breaks Safe Bitfields in C++ since r11-3308-gd119f34c952f87

2025-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106389 Richard Biener changed: What|Removed |Added Status|NEW |SUSPENDED --- Comment #11 from Richard

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

2025-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111245 Richard Biener changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression]

[Bug c/119051] Inline Function Behavior Varies Across Optimization Levels

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119051 --- Comment #2 from Jonathan Wakely --- See https://gcc.gnu.org/gcc-5/porting_to.html#inline for more details.

[Bug target/119055] [15 Regression] 5-8% slowdown of 456.hmmer since r15-7605-gc5752c1f01316a

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119055 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #1 from Andrew Pinsk

[Bug c/37917] inline functions are lost when defining c99/gnu99 without inline optimizations

2025-02-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37917 Jonathan Wakely changed: What|Removed |Added URL||https://gcc.gnu.org/gcc-5/p

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

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111245 --- Comment #8 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e6037af6d5e5a43c437257580d75bc8b35a6dcfd commit r15-7753-ge6037af6d5e5a43c437257580d75bc8b35a6dcfd Author: Richard Biener Date:

[Bug tree-optimization/119057] New: ICE at -O{2,3} with "-fno-tree-vrp -fno-tree-forwprop" on x86_64-linux-gnu: in operator[], at vec.h:910

2025-02-28 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
trunk/configure --disable-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 20250228 (experimental) (GCC)

[Bug tree-optimization/116125] [12/13/14/15 Regression] Does not fully checking for overlapping memory regions with the vectorizer

2025-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116125 --- Comment #3 from Richard Biener --- We document class dr_with_seg_len { ... /* The minimum common alignment of DR's start address, SEG_LEN and ACCESS_SIZE. */ unsigned int align; but here we have access_size == 1 and align == 4.

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #43 from Sam James --- Thanks. Emacs and jit.exp works with that change on top.

[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-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279 Richard Biener changed: What|Removed |Added Known to work||15.0 Summary|[12/13/14/15 Re

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

2025-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87984 Richard Biener changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13/14 Regression] wrong

[Bug rtl-optimization/117712] [15 regression] ICE when building x265: internal compiler error: in expand_fix, at optabs.cc:5936 since r15-2890

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117712 --- Comment #15 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:26e4783c707a96ebb42c6ec4537578e635974573 commit r15-7752-g26e4783c707a96ebb42c6ec4537578e635974573 Author: Jakub Jelinek Date:

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #42 from Jakub Jelinek --- Fixed in my copy; s/ggc_cv/gcc_cv/ on the patch.

[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-02-28 Thread andrey.vihrov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279 --- Comment #9 from Andrey Vihrov --- Thanks!

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

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66279 --- Comment #7 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:95f5d6cc17e7d6b689674756c62b6b5e1284afd0 commit r15-7750-g95f5d6cc17e7d6b689674756c62b6b5e1284afd0 Author: Richard Biener Date:

[Bug rtl-optimization/117712] [15 regression] ICE when building x265: internal compiler error: in expand_fix, at optabs.cc:5936 since r15-2890

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117712 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/106902] [12/13/14/15 Regression] Program compiled with -O3 -mfma produces different result

2025-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #34 from Richard Biener --- I do remember patches to implement -ffp-contract=on, what's their status? Can they be linked to from this PR?

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #40 from Jakub Jelinek --- Created attachment 60610 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60610&action=edit gcc15-pr117047.patch So what about this patch? Tries to use alias attribute at least for the host==build cas

[Bug jit/117047] [15 regression] Segfault in libgccjit garbage collection when compiling GNU Emacs with Native Compilation since r15-571-g1e0ae1f52741f7

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117047 --- Comment #41 from Sam James --- (In reply to Jakub Jelinek from comment #40) ggc_cv_have_attribute_alias=no typo (vs gcc_cv_...)

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

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87984 --- Comment #45 from GCC Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:535115caaf97f5201fb528f67f15b4c52be5619d commit r15-7751-g535115caaf97f5201fb528f67f15b4c52be5619d Author: Richard Biener Date:

[Bug lto/91299] [12/13/14/15 Regression] LTO inlines a weak definition in presence of a non-weak definition from an ELF file

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

[Bug c++/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

2025-02-28 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118924 --- Comment #12 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #10) > The array assignment from the front-end is good enough for the > middle-end as far as IL type hygiene is concerned given the > element types are useless-ty

[Bug target/106902] [12/13/14/15 Regression] Program compiled with -O3 -mfma produces different result

2025-02-28 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #37 from rguenther at suse dot de --- On Fri, 28 Feb 2025, amonakov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 > > --- Comment #36 from Alexander Monakov --- > We can flip the default from =fas

[Bug target/106902] [12/13/14/15 Regression] Program compiled with -O3 -mfma produces different result

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #35 from Sam James --- (In reply to Richard Biener from comment #34) > I do remember patches to implement -ffp-contract=on, what's their status? > Can they be linked to from this PR? r14-2023-g1c1dd39625719d. AFAIK, the next step i

[Bug tree-optimization/115450] [15 Regression] cpu2017 502.gcc runtime miscompute on aarch64 with SVE since r15-1006-gd93353e6423eca

2025-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115450 --- Comment #9 from Richard Biener --- What's the status here? Is the bug fixed?

[Bug target/106902] [12/13/14/15 Regression] Program compiled with -O3 -mfma produces different result

2025-02-28 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106902 --- Comment #36 from Alexander Monakov --- We can flip the default from =fast to =on for -std=gnuXX any time we like, but it must remain at =off for =std=cXX as long as STDC FP_CONTRACT pragma is not implemented. I have not attempted any mass r

[Bug c++/119056] New: class template with non-type argument does not recognize copy/move constructor prototype when parameter is not using the template argument

2025-02-28 Thread sandberg.sven at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119056 Bug ID: 119056 Summary: class template with non-type argument does not recognize copy/move constructor prototype when parameter is not using the template argument Product:

[Bug c++/118924] [12/13/14/15 regression] Wrong code at -O2 and above leading to uninitialized accesses on aarch64-linux-gnu since r10-917-g3b47da42de621c

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

[Bug c++/119045] ICE when using _Complex accessors, in cxx_eval_store_expression, at cp/constexpr.cc:6418

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119045 --- Comment #4 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7eb8ec1856f71b039d1c2235b1c941934fa28e22 commit r15-7756-g7eb8ec1856f71b039d1c2235b1c941934fa28e22 Author: Jakub Jelinek Date: F

[Bug tree-optimization/119057] [15 regression] ICE at -O{2,3} with "-fno-tree-vrp -fno-tree-forwprop" on x86_64-linux-gnu: in operator[], at vec.h:910 since r15-1055

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

[Bug libstdc++/112490] infinite meta error in reverse_iterator::iterator>>

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112490 --- Comment #9 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4342c50ca84ae5448c0128c52120f4fe9005f203 commit r15-7757-g4342c50ca84ae5448c0128c52120f4fe9005f203 Author: Patrick Palka Date: F

[Bug libstdc++/117214] chrono format error for time point using %c: D_T_FMT cannot be directly used as chrono-specs

2025-02-28 Thread xu2k3l4 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117214 --- Comment #4 from XU Kailiang --- (In reply to Jonathan Wakely from comment #3) > Patch posted to the list (thanks!): > > https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674531.html This patch seems not well formatted. I re-sent a re-

[Bug c++/119072] GCC rejects type declaration inside a lamdba inside a decltype specifier

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

[Bug bootstrap/118802] [15 regression] Bootstrap comparison failure on libphobos/libdruntime/core/internal/gc/impl/conservative/gc.o since r15-7400-gd3ff498c478ace

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118802 Sam James changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/107878] Incomplete documentation for H8/300

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107878 --- Comment #3 from Jeffrey A. Law --- Yea, I think H8/SX support was bits from Alexandre. Feel free to add the appropriate docs. Doc fixes are always acceptable during stage4. I removed -mn a while back. If I left a -mn bit the in the docs,

[Bug middle-end/44566] configuration with multiple targets / backends is not supported.

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44566 --- Comment #12 from Jeffrey A. Law --- I think we should just close this. Realistically I don't see us ever implementing this feature.

[Bug c++/119072] New: GCC rejects type declaration inside decltype specifier

2025-02-28 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119072 Bug ID: 119072 Summary: GCC rejects type declaration inside decltype specifier Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 C

[Bug c++/119072] GCC rejects type declaration inside a lamdba inside a decltype specifier

2025-02-28 Thread tymi at tymi dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119072 --- Comment #2 from Tymi --- Ah okay. Thank you!

[Bug c++/101911] Type cannot be defined inside of the lambda in unevaluated context

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101911 Andrew Pinski changed: What|Removed |Added CC||tymi at tymi dot org --- Comment #3 fro

[Bug rtl-optimization/104387] aarch64: Redundant SXTH for “bag of bits” moves

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104387 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/95650] aarch64: Missed optimization storing addition of two shorts

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95650 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/96031] suboptimal codegen for store low 16-bits value

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96031 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/109189] Format string warnings in gcc/config/h8300/h8300.cc under MigW-W64/MSYS2

2025-02-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109189 --- Comment #3 from GCC Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:2fc17730dcef182bba3c9d4e32fc00302ef421fe commit r15-7768-g2fc17730dcef182bba3c9d4e32fc00302ef421fe Author: Jan Dubiec Date: Fri Feb 2

[Bug target/109189] Format string warnings in gcc/config/h8300/h8300.cc under MigW-W64/MSYS2

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109189 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/101955] (signed<<

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug lto/119067] [14/15 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-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119067 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code Component|

[Bug c/119071] Miscompile at -Os

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #1 from Andrew Pinski --- `-O2 -fno-thread-jumps` also produces the incorrect result.

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

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

[Bug rtl-optimization/119071] [12/13/14/15 Regression] Miscompile at -O2

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Attachment #60622|0 |1 is obsolete|

[Bug tree-optimization/106245] Failure to optimize (u8)(a << 7) >> 7 pattern to a & 1

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106245 Jeffrey A. Law changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/119058] wbN: A suffix for specifying the width of a bit-precise integer literal

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119058 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

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

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #3 from Andrew Pinski --- So the place where this match pattern happens is: _16 = a.0_1 == -2; # RANGE [irange] int [0, 1] MASK 0x1 VALUE 0x0 _17 = (intD.6) _16; # RANGE [irange] int [-1, 0] _12 = -_17; # RANGE [irange] i

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 --- Comment #4 from Andrew Pinski --- Created attachment 60621 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60621&action=edit gimple testcase This works at -O0 but fails at -O2+.

[Bug target/104853] [RISC-V] -march=rv64g not including extension Zifencei

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/103482] Unnecessary ANDI instruction is generated for MIPS target

2025-02-28 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103482 Jeffrey A. Law changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/119071] [12/13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps`

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Summary|[13/

[Bug tree-optimization/119071] [13/14/15 Regression] Miscompile at -Os or `-O2 -fno-thread-jumps` since r13-5988

2025-02-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119071 Andrew Pinski changed: What|Removed |Added Attachment #60621|0 |1 is obsolete|

[Bug tree-optimization/110182] [11 Regression] Vector(2) cast from double to float and back and subtraction seems to produce incorrect results

2025-02-28 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110182 --- Comment #9 from Sam James --- r14-2150-gfe48f2651334bc added checking for this case.

<    1   2