[Bug target/118384] unexpected call to __muldi3 generated for riscv target

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

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #3 from Andrew Pinski --- (In reply to Huaqi from comment #1) > This issue also present in arm-eabi-gcc toolchain 14.x, but not present in > 13.x. > > compiler option chosen is -Os -mcpu=cortex-m0 > > chose m0 due it don't have a m

[Bug target/118362] [15 Regression] ICE in require, at machmode.h:313 since r15-2002

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118362 --- Comment #6 from Jakub Jelinek --- You can always grep E_V[0-9]*[A-Z]*mode, insn-modes.h in the builddir, those are all the vector modes actually used. Or grep MODE_VECTOR insn-modes.cc

[Bug c++/118385] A temporary expression bound to a reference member in a mem-initializer is ill-formed

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118385 --- Comment #1 from Andrew Pinski --- GCC 4.7 started to warn about this: : In constructor 'A::A()': :2:13: warning: a temporary bound to 'A::v' only persists until the constructor exits [-Wextra]

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 --- Comment #4 from Huaqi --- Thanks Andrew, it is clear to me now. Do you know how it can be avoided? Since I may want to implement my own `__muldi3` function instead of generating a libcall.

[Bug c++/49974] missing -Wreturn-local-addr for indirectly returning reference to local/temporary

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 --- Comment #21 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #2) > Maybe related, but not the same. PR986 involves creating a temporary and > binding the reference to it, that should be easier to warn about. Here's a > simil

[Bug target/118384] unexpected call to __muldi3 generated for riscv target

2025-01-09 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118384 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org --- Comment #5 fro

[Bug c++/63181] GCC should warn about "obvious" bugs in binding a reference to temporary

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63181 --- Comment #6 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #5) > (In reply to Eric Gallager from comment #4) > > This one should be moved to its own separate option per bug 7651 > > Indeed it should, and if we add -Wdangling

[Bug c++/63181] GCC should warn about "obvious" bugs in binding a reference to temporary

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63181 Andrew Pinski changed: What|Removed |Added CC||raf2 at msux dot cjb.net --- Comment #7

[Bug c++/63181] GCC should warn about "obvious" bugs in binding a reference to temporary

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63181 Andrew Pinski changed: What|Removed |Added CC||dkruger at stevens dot edu --- Comment #

[Bug c++/31856] Undetected error using references to parameters

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31856 --- Comment #6 from Andrew Pinski --- Actually a dup of bug 63181. *** This bug has been marked as a duplicate of bug 63181 ***

[Bug c++/31788] no warnings for passing temps by reference into obviously longer lifetime pointer

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31788 --- Comment #2 from Andrew Pinski --- Actually a dup of bug 63181. *** This bug has been marked as a duplicate of bug 63181 ***

[Bug c++/29593] Missing warning.

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

[Bug c++/118385] A temporary expression bound to a reference member in a mem-initializer is ill-formed

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118385 Andrew Pinski changed: What|Removed |Added Blocks||94404 Alias|

[Bug c++/94404] [meta-bug] C++ core issues

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 118385, which changed state. Bug 118385 Summary: A temporary expression bound to a reference member in a mem-initializer is ill-formed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118385 What|Removed

[Bug c++/118385] A temporary expression bound to a reference member in a mem-initializer is ill-formed

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

[Bug c++/94904] [DR 1696] Temporary lifetime and non-static data member initializers

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94904 Andrew Pinski changed: What|Removed |Added Alias||cwg1696 Blocks|

[Bug c++/94904] [DR 1696] Temporary lifetime and non-static data member initializers

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94904 Andrew Pinski changed: What|Removed |Added CC||rush102333 at gmail dot com --- Comment

[Bug c++/986] g++ misses warning for reference on temporary that invokes undefined behaviour

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=986 --- Comment #34 from Andrew Pinski --- Note C++ DR 1696 changed the code in comment #0 to be invalid; that is filed as PR 94904.

[Bug rtl-optimization/118266] [15 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.cc:2591 by r15-5863-g5ab3f091b3eb42

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118266 --- Comment #20 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:14879ba89a4f9d2263472dca1423b584c1236586 commit r15-6728-g14879ba89a4f9d2263472dca1423b584c1236586 Author: H.J. Lu Date: Wed Jan 8 20

[Bug target/115777] [12/13/14/15 regression] Severe performance regression on insertion sort at -O2 or above

2025-01-09 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115777 --- Comment #10 from Hongtao Liu --- > That's probably the conservative answer for BB vectorization, for loop vect > we know all those uses will be also in vector code. For BB vectorization > there is currently no easly reliable check to ensur

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

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

[Bug c++/117792] [12/13/14/15 Regression] ICE in tsubst_template_args with function template-id and local static arg

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117792 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4dbfc2ff0a84edf6addeaa425272a5beacbbc7db commit r14-11175-g4dbfc2ff0a84edf6addeaa425272a5beacbbc7db Author: Patrick Palka

[Bug c++/117925] [14/15 Regression] ice unexpected expression '(FnPtr)(fnPtr)' of kind cast_expr

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117925 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:70cea067dd2b101edc6b3710678529eb8ba2eec2 commit r14-11177-g70cea067dd2b101edc6b3710678529eb8ba2eec2 Author: Patrick Palka

[Bug c++/118060] [13/14/15 Regression] ICE (internal compiler error) on requires clause

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118060 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f73ecaf1957d35a9990735ebe228c8dd6188 commit r14-11178-gf73ecaf1957d35a9990735ebe228c8dd6188 Author: Patrick Palka

[Bug c++/85944] Address of temporary at global scope not considered constexpr

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 --- Comment #15 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 commit r14-11182-g845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 Author: Jonathan Wak

[Bug libstdc++/109976] error: is not a constant expression in std::equal() with _GLIBCXX_DEBUG

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109976 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 commit r14-11182-g845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 Author: Jonathan Wak

[Bug c++/106212] Code becomes non-constexpr with _GLIBCXX_DEBUG

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106212 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1e696cac2baa35f011f85878e76039fc3945d241 commit r14-11181-g1e696cac2baa35f011f85878e76039fc3945d241 Author: Jonathan Wak

[Bug c++/117925] [14/15 Regression] ice unexpected expression '(FnPtr)(fnPtr)' of kind cast_expr

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117925 --- Comment #6 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:aa1e19d821a39d973c4c8c0e8d1d19811d2fa433 commit r14-11176-gaa1e19d821a39d973c4c8c0e8d1d19811d2fa433 Author: Patrick Palka

[Bug libstdc++/112349] ranges::min/max make unnecessary copies

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112349 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f236c897af48c3ae52095a894d57e66065b8ad87 commit r14-11174-gf236c897af48c3ae52095a894d57e66065b8ad87 Author: Patrick Palka

[Bug libstdc++/112641] : `drop_view::begin const` has O(n) complexity

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112641 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9d650c29562bbb18c1ea5d0064e07f48c177912b commit r14-11172-g9d650c29562bbb18c1ea5d0064e07f48c177912b Author: Patrick Palka

[Bug libstdc++/118035] [12/13/14/15 Regression] deque bug when inserting an empty iterator interval

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118035 --- Comment #7 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:67c457de5a3f74151fc2d0085387127bf9e4e3c5 commit r14-11179-g67c457de5a3f74151fc2d0085387127bf9e4e3c5 Author: Jonathan Wak

[Bug c++/117966] [12/13/14/15 regression] constexpr std::span construction fails to compile with D_GLIBCXX_DEBUG

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117966 --- Comment #12 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:83fa0822aeec8af2162825976209efb90ca40c87 commit r14-11180-g83fa0822aeec8af2162825976209efb90ca40c87 Author: Jonathan Wa

[Bug c++/106212] Code becomes non-constexpr with _GLIBCXX_DEBUG

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106212 --- Comment #10 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 commit r14-11182-g845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 Author: Jonathan Wa

[Bug libstdc++/117962] Debug Mode containers with stateful allocators don't work in constexpr

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117962 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3590d9f68207861b8973f2812adf02fdba0840ba commit r14-11183-g3590d9f68207861b8973f2812adf02fdba0840ba Author: Jonathan Wak

[Bug libstdc++/89624] HLE acquire/release bits in std::memory_order don't work with -fshort-enums or -fstrict-enums

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89624 --- Comment #8 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:72fe42c9a095ef9b4125bd65999cd1012dfb73b7 commit r14-11190-g72fe42c9a095ef9b4125bd65999cd1012dfb73b7 Author: Jonathan Wake

[Bug libstdc++/108236] std::exclusive_scan with execution policy does not work in-place

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108236 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f0eb0ba218968715506c435ca4ff71043e86617c commit r14-11184-gf0eb0ba218968715506c435ca4ff71043e86617c Author: Jonathan Wa

[Bug libstdc++/109517] Failure to compile constexpr std::copy with -D_GLIBCXX_DEBUG

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109517 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 commit r14-11182-g845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 Author: Jonathan Wak

[Bug c++/117966] [12/13/14/15 regression] constexpr std::span construction fails to compile with D_GLIBCXX_DEBUG

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117966 --- Comment #13 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 commit r14-11182-g845a0b71c82ad8f1d9967a6f15d10ef402f7f2e5 Author: Jonathan Wa

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

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

[Bug tree-optimization/118194] [12/13/14/15 regression] spurious warning with -Wmaybe-uninitialized with mlock since r11-959-gb825a22890740f

2025-01-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118194 Xi Ruoyao changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug tree-optimization/118344] [15 regression] Crash at -O3 in ifcombine

2025-01-09 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118344 Alexandre Oliva changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

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

2025-01-09 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118206 Alexandre Oliva changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/106883] SLSR may generate signed wrap

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

[Bug tree-optimization/118353] Implement greedy algorithm for switch jump table cluster finding

2025-01-09 Thread mark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118353 --- Comment #5 from Mark Wielaard --- One difference might be how many cores are used for the builds. The more cores how more sensitive they are for parallelism bottlenecks. And riscv (was) kind of special in that there were just a handful of f

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

2025-01-09 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #435 from Oleg Endo --- (In reply to John Paul Adrian Glaubitz from comment #434) > Any suggestion on how to proceed here? Oleg, do you maybe want to rebase > your tree against master? I can re-run all tests and verify whether the > p

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

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

[Bug c++/118392] New: "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-01-09 Thread connor24nolan at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 Bug ID: 118392 Summary: "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 --- Comment #1 from Andrew Pinski --- There is auto_diagnostic_group but it looks like it is not working. if (hidden_p) { auto_diagnostic_group d; pedwarn (DECL_SOURCE_LOCATION (decl), 0, "

[Bug c++/118392] "-w" fails to fully inhibit "'void a::b()' has not been declared within a" warning

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118392 --- Comment #2 from Andrew Pinski --- Created attachment 60087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60087&action=edit testcase Next time please attach or paste inline the testcase. Note attaching has a way to paste into a field

[Bug tree-optimization/117997] [15 regression] libgo regressions on aarch64 after g:4d2b9202fe94c54e63fb07d48293a78da3d82532

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

[Bug target/118017] [15 Regression] ICE: maximum number of generated reload insns per insn achieved (90) with -Og -frounding-math -mno-80387 -mno-mmx since r15-1619-g3b9b8d6cfdf593

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118017 --- Comment #9 from GCC Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:fab96de044f1f023f52d43af866205d17d8895fb commit r15-6751-gfab96de044f1f023f52d43af866205d17d8895fb Author: Vladimir N. Makarov

[Bug target/118363] [15 regression] RISC-V: excess errors in c-c++-common/gomp/dispatch-11.c with zvls > 128b

2025-01-09 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118363 Edwin Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-09 Thread iii at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 --- Comment #12 from Ilya Leoshkevich --- Sorry, I didn't manage to catch you on IRC today, so continuing here. Is this conflict considered an issue that will be eventually resolved, or is it to stay? I wonder how to proceed; I guess on a shar

[Bug bootstrap/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-09 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #13 f

[Bug target/118362] [15 Regression] ICE in require, at machmode.h:313 since r15-2002

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118362 --- Comment #8 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8e4120500e0cfc71956dc6569fe4ff00d2c20949 commit r15-6748-g8e4120500e0cfc71956dc6569fe4ff00d2c20949 Author: Jakub Jelinek Date: T

[Bug c/118375] Fixits for feature test macros (FTMs)

2025-01-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118375 --- Comment #3 from Sam James --- Ugh, sorry, pasted wrong thing. It should of course be: ``` a.c: In function ‘main’: a.c:5:15: error: ‘program_invocation_name’ undeclared (first use in this function) 5 | char* x = program_invocation_

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

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 --- Comment #12 from Andrew Pinski --- I am trying to figure out if we should reject the STP or allow it. The reason why it fails in ldp_fusion1 (which is before RA) is because of this: ``` // Punt on accesses relative to eliminable regs

[Bug tree-optimization/117997] [15 regression] libgo regressions on aarch64 after g:4d2b9202fe94c54e63fb07d48293a78da3d82532

2025-01-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117997 --- Comment #4 from Sam James --- (In reply to David Malcolm from comment #3) Does it pass with -fno-optimize-crc?

[Bug libstdc++/117962] Debug Mode containers with stateful allocators don't work in constexpr

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

[Bug libstdc++/118035] [12/13 Regression] deque bug when inserting an empty iterator interval

2025-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118035 Jonathan Wakely changed: What|Removed |Added Summary|[12/13/14/15 Regression]|[12/13 Regression]

[Bug c/117866] [15 regression] Confusing 'expected ... but argument is of type ...' (same type repeated) w/ C23

2025-01-09 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117866 --- Comment #8 from Sam James --- Thank you!

[Bug c++/118391] New: ICE: in add_extra_args, at cp/pt.cc:13737

2025-01-09 Thread eczbek.void at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118391 Bug ID: 118391 Summary: ICE: in add_extra_args, at cp/pt.cc:13737 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/118188] aarch64: worse code with -mtune=grace (vs -mtune=generic) in TSVC s4115

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118188 --- Comment #4 from GCC Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:08b6e875c6b1b52c6e98f4a2e37124bf8c6a6ccb commit r15-6752-g08b6e875c6b1b52c6e98f4a2e37124bf8c6a6ccb Author: Tamar Christina Date:

[Bug tree-optimization/116773] [meta-bug] TSVC missed optimizations

2025-01-09 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116773 Bug 116773 depends on bug 118188, which changed state. Bug 118188 Summary: aarch64: worse code with -mtune=grace (vs -mtune=generic) in TSVC s4115 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118188 What|Removed

[Bug target/118188] aarch64: worse code with -mtune=grace (vs -mtune=generic) in TSVC s4115

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

[Bug c++/118391] ICE: in add_extra_args, at cp/pt.cc:13737

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

[Bug c++/118391] ICE: in add_extra_args, at cp/pt.cc:13737

2025-01-09 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118391 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

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

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118320 --- Comment #11 from Andrew Pinski --- case Action::CHANGE: { set_pair_pat (change); change->new_uses = merge_access_arrays (attempt, input

[Bug c/117866] [15 regression] Confusing 'expected ... but argument is of type ...' (same type repeated) w/ C23

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117866 --- Comment #7 from GCC Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:21571cdd8355f2162910d40f2f7d2dd4046f commit r15-6747-g21571cdd8355f2162910d40f2f7d2dd4046f Author: Martin Uecker Date: M

[Bug bootstrap/118369] Multilib bootstrap on Debian 12 fails due to missing asm/errno.h

2025-01-09 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118369 --- Comment #9 from Matthias Klose --- let's take that on irc, maybe quicker. I've never used the approach to get the build deps from the gcc-12 package, maybe try apt source gcc-12 cd gcc-12-12* apt buil-dep . or just apt build-dep

[Bug tree-optimization/118186] [15 regression] FAIL: gcc.dg/field-merge-16.c scan-tree-dump-times ifcombine "optimizing" 6

2025-01-09 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118186 --- Comment #2 from Alexandre Oliva --- I've just confirmed that that's the fix indeed.

[Bug c++/117825] [12/13/14/15 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117825 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:da82bf0a5fe31319735af1b67218578440ed8333 commit r14-11157-gda82bf0a5fe31319735af1b67218578440ed8333 Author: Jakub Jelinek

[Bug target/117642] [12/13/14 Regression] __sync_lock_release() on 128bit integer does not behave according to documentation

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117642 --- Comment #11 from Jakub Jelinek --- Docs fixed for 14.3 as well.

[Bug middle-end/117847] wrong code with __builtin_stdc_rotate_left() on _BitInt of multiple of 64's (limb size) at -O0

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117847 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |15.0 Resolution|---

[Bug c++/116108] [12/13 Regression] GCC crashes on incorrect code with -std=c++20 since r10-4719

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116108 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] GCC |[12/13 Regression] GCC

[Bug libstdc++/118093] std::future::wait_until futex call returns EINVAL for negative timeout smaller than 1s

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118093 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a7c5c4931f50b9898409d0101fad47abc9a223c3 commit r14-11160-ga7c5c4931f50b9898409d0101fad47abc9a223c3 Author: Jonathan Wak

[Bug middle-end/117458] ICE: in gen_lowpart_general, at rtlhooks.cc:63 when reinterpreting _Complex float as _BitInt(33)

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

[Bug rtl-optimization/117095] [13/14 Regression] Wrong code since r13-5103-g7c9f20fcfdc2d8

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117095 --- Comment #9 from GCC Commits --- The releases/gcc-14 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fbbc1a4ac5c7e55de1edc52cfe267b95f9621e21 commit r14-11154-gfbbc1a4ac5c7e55de1edc52cfe267b95f9621e21 Author: Jakub Jelinek

[Bug c/117802] ICE: SIGSEGV in fold_convert_loc (fold-const.cc:2626) with __builtin_iseqsig() on _BitInt()

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117802 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.3 Resolution|---

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

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 117614, which changed state. Bug 117614 Summary: [14 Regression] Cannot change active member of anonymous union in constant expression since r14-4771-g1d260ab0e39ea6 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117614

[Bug c++/117317] [12/13 Regression] ICE on call to virtual constexpr function via comparison operator in CRTP with multiple inheritance with template since r12-4202-g09d886e671f223

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117317 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] ICE |[12/13 Regression] ICE on

[Bug ada/18765] illegal program not detected, "/=" when "=" is ambiguous

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18765 --- Comment #7 from GCC Commits --- The master branch has been updated by Marc Poulhi?s : https://gcc.gnu.org/g:3b694271bec01ed971147a0f4cb68d8c9a7d0915 commit r15-6731-g3b694271bec01ed971147a0f4cb68d8c9a7d0915 Author: Eric Botcazou Date: Su

[Bug libstdc++/118093] std::future::wait_until futex call returns EINVAL for negative timeout smaller than 1s

2025-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118093 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |13.4

[Bug c++/117825] [12/13 Regression] ICE on template with -Wformat-security (error reporting routines re-entered.)

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

[Bug middle-end/117459] ICE: in lower_stmt, at gimple-lower-bitint.cc:5714 with __builtin_assoc_barrier() on _BitInt(255)

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117459 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |14.3

[Bug c/117745] [12/13 Regression] GCC hangs with invalid code with sizeof

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117745 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] GCC |[12/13 Regression] GCC

[Bug middle-end/102674] internal compiler error: on fpclassify(_Decimal32)

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102674 --- Comment #6 from Jakub Jelinek --- Fixed for 14.3 as well.

[Bug rtl-optimization/117095] [13 Regression] Wrong code since r13-5103-g7c9f20fcfdc2d8

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117095 Jakub Jelinek changed: What|Removed |Added Summary|[13/14 Regression] Wrong|[13 Regression] Wrong code

[Bug rtl-optimization/113994] [13 Regression] Probable C++ code generation bug with -O2 on s390x platform

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 Jakub Jelinek changed: What|Removed |Added Summary|[13/14 Regression] Probable |[13 Regression] Probable

[Bug c/117641] ICE: SIGSEGV in contains_struct_check (tree.h:3788) with __sync_fetch_and_add() on _BitInt(128) on i686

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

[Bug tree-optimization/117439] [12/13 Regression] ICE in encode_tree_to_bitpos

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117439 Jakub Jelinek changed: What|Removed |Added Summary|[12/13/14 Regression] ICE |[12/13 Regression] ICE in

[Bug target/118342] `a == 0 ? 32 : __builtin_ctz(a)` for Intel and AMD cores could be implemented even without BMI1

2025-01-09 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118342 --- Comment #7 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #6) > Yes, so we can use it for a == 0 ? prec : __builtin_ctzll (a); but not say > (with small middle-end enhancements) for a == 0 ? -1 : __builtin_ctzll (a); > because

[Bug middle-end/43374] ICE with __builtin_isinf() and _Decimal argument

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43374 --- Comment #14 from Jakub Jelinek --- Fixed for 14.3 as well.

[Bug rtl-optimization/116799] [14 Regression] Miscompiled code (vim testsuite fails) on s390x at -O2 since r14-2675-gef28aadad6e

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

[Bug c++/117614] [14 Regression] Cannot change active member of anonymous union in constant expression since r14-4771-g1d260ab0e39ea6

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

[Bug libgomp/117851] all amdgcn offload tests fail with a host compiler configured with --enable-default-pie (or compiled/linked with PIE)

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117851 --- Comment #9 from Jakub Jelinek --- Fixed for 14.3 as well.

[Bug middle-end/118024] ICE when building openssh-9.9_p1 with -fstrub=all (internal compiler error: tree check: expected tree_list, have identifier_node in matching_alloc_calls_p, at gimple-ssa-warn-a

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118024 --- Comment #8 from Jakub Jelinek --- Fixed for 14.3 as well.

[Bug target/65181] Support for alloca in nvptx

2025-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:3861d362ec7e3c50742fc43833fe9d8674f4070e commit r15-6733-g3861d362ec7e3c50742fc43833fe9d8674f4070e Author: Thomas Schwinge Date:

[Bug sanitizer/117960] [13 Regression] "Note that the only target -fsanitize=hwaddress is currently supported on is AArch64." is not true

2025-01-09 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117960 Jakub Jelinek changed: What|Removed |Added Summary|[13/14 Regression] "Note|[13 Regression] "Note that

  1   2   3   >