[Bug tree-optimization/115868] New: ICE: in exact_div, at poly-int.h:2156

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115868 Bug ID: 115868 Summary: ICE: in exact_div, at poly-int.h:2156 Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug tree-optimization/115868] [14/15 Regression] ICE: in exact_div, at poly-int.h:2156

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115868 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Summary|I

[Bug target/113715] RISC-V: If the Zcmp is enabled, the a0 register operates abnormally when the program returns

2024-07-11 Thread fanghuaqi at vip dot qq.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113715 --- Comment #8 from Huaqi --- Hi Fei Gao, Could you also send patch to this branch https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/vendors/riscv/heads/gcc-14-with-riscv-opts , this patch is not yet on this branch. Thanks

[Bug tree-optimization/115868] [14/15 Regression] ICE: in exact_div, at poly-int.h:2156

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115868 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/96992] Class arrays of different ranks are rejected as storage association argument

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96992 --- Comment #4 from GCC Commits --- The master branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:e4f2f46e015acb4c1b5605116a3ff0bb8c980372 commit r15-1965-ge4f2f46e015acb4c1b5605116a3ff0bb8c980372 Author: Andre Vehreschild Da

[Bug rtl-optimization/115862] [15 Regression] RISC-V: ICE during RTL combine pass in malloc.c for zvl512b and zvl1024b

2024-07-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115862 Sam James changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/115869] New: Wrong constant evaluation with vector of struct

2024-07-11 Thread gcc at fabiangundlach dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869 Bug ID: 115869 Summary: Wrong constant evaluation with vector of struct Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/115869] Wrong constant evaluation with vector of struct

2024-07-11 Thread gcc at fabiangundlach dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869 --- Comment #1 from Fabian Gundlach --- Created attachment 58634 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58634&action=edit Compiler output

[Bug tree-optimization/115867] [14/15 Regression] ICE: tree check: expected vector_type, have integer_type in TYPE_VECTOR_SUBPARTS, at tree.h:4246

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115867 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/115870] New: Inlining of a template function leads to infinite loop

2024-07-11 Thread Manuel.Demmeler at kuka dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115870 Bug ID: 115870 Summary: Inlining of a template function leads to infinite loop Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug middle-end/115871] New: ICE with declare simd

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 Bug ID: 115871 Summary: ICE with declare simd Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assig

[Bug middle-end/115871] ICE with declare simd

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115871 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code, openmp

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #5 from Sergei Trofimovich --- (In reply to H.J. Lu from comment #3) > This may be fixed by r15-1954. Great find! That fix repairs `zlib` and `perl` for me. Here is the extracted example from zlib-1.3.1 for completeness in case it'

[Bug target/112915] [14/15 Regression] 4% exec time regression of 454.calculix on AMD Zen2

2024-07-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112915 Filip Kastl changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/113116] [14/15 Regression] ~11-17% exec time regression of 436.cactusADM on aarch64

2024-07-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113116 Filip Kastl changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2024-07-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 112915, which changed state. Bug 112915 Summary: [14/15 Regression] 4% exec time regression of 454.calculix on AMD Zen2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112915 What|Removed

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

2024-07-11 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 113116, which changed state. Bug 113116 Summary: [14/15 Regression] ~11-17% exec time regression of 436.cactusADM on aarch64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113116 What|Removed

[no subject]

2024-07-11 Thread ขวัญจิรา ศิลปการสกุล via Gcc-bugs
🙏 สวัสดีคุณลูกค้า PS ขออนุญาต นำเสนอ สินเชื่อเพื่อธุรกิจสำหรับ บริษัท หจก. โรงงานอุตสาหกรรมหรือธุรกิจขนาดย่อม ทั่วประเทศ อัตราดอกเบี้ยรายเดือน ดอกเบี้ยต่ำสุด 1% สนใจรายละเอียดเพิ่มเติมติดต่อ คุณ สรวิชญ์ 0908863804 LINE ID psmoneyloan

[Bug libstdc++/69388] Allow functexcept.cc definitions to be replaced

2024-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69388 Jonathan Wakely changed: What|Removed |Added Target Milestone|14.2|---

[Bug libstdc++/113807] [performance] bitset::set not using memset opportunity

2024-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113807 Jonathan Wakely changed: What|Removed |Added Target Milestone|14.2|---

[Bug tree-optimization/115866] missed optimization vectorizing switch statements.

2024-07-11 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 Tamar Christina changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tnfchris at gcc dot gnu.org -

[Bug c/115872] New: error: missing definition with -g & -O3

2024-07-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 Bug ID: 115872 Summary: error: missing definition with -g & -O3 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/115866] missed optimization vectorizing switch statements.

2024-07-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115866 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/115869] [13/14/15 Regression] Wrong constant evaluation with vector of struct

2024-07-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |NEW Summary|Wrong constant evalu

[Bug c++/115413] Missing optimization: devirtualize the call in "if(typeid(*a)==typeid(A)) a->f();" structure

2024-07-11 Thread user202729 at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115413 --- Comment #4 from user202729 --- I wrote a patch in https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655504.html which tries to address this issue. Any review (or other suggestions on how to better implement the underlying feature https://

[Bug tree-optimization/115869] [13/14/15 Regression] Wrong constant evaluation with vector of struct

2024-07-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869 Xi Ruoyao changed: What|Removed |Added Component|c++ |tree-optimization --- Comment #3 from Xi Ru

[Bug target/80881] Implement Windows native TLS

2024-07-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 Julian Waters changed: What|Removed |Added CC||tanksherman27 at gmail dot com --- Comme

[Bug target/80881] Implement Windows native TLS

2024-07-11 Thread tanksherman27 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 --- Comment #20 from Julian Waters --- Could the version for this be bumped to either 14 or 15 too? Thanks

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 Uroš Bizjak changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #6

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #10 from GCC Commits --- The master branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:f04f9714fca40315360af109b9e5ca2305fd75db commit r15-1968-gf04f9714fca40315360af109b9e5ca2305fd75db Author: Nathaniel Shead Date:

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|FIXED |--- Status|RE

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 --- Comment #11 from GCC Commits --- The releases/gcc-14 branch has been updated by Nathaniel Shead : https://gcc.gnu.org/g:08c2abffe0a903e8cf16b469813b7dd0fb41275a commit r14-10407-g08c2abffe0a903e8cf16b469813b7dd0fb41275a Author: Nathaniel Sh

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2024-07-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 Nathaniel Shead changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Assignee|nathan at

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

2024-07-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99241, which changed state. Bug 99241 Summary: [modules] ICE in install_entity, at cp/module.cc:7584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 What|Removed |Added

[Bug c++/99227] [meta-bug] [modules] Bugs relating to header-units of STL header files

2024-07-11 Thread nshead at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99241, which changed state. Bug 99241 Summary: [modules] ICE in install_entity, at cp/module.cc:7584 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 What|Removed |Added --

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #7 from Richard Biener --- (In reply to Uroš Bizjak from comment #6) > Please note that w/o .SAT_TRUNC the compiler is able to optimize hot loop in > compress2 to: > >[local count: 536870912]: > _18 = MIN_EXPR ; > iftmp.0_11

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #6 from Stefan Schulze Frielinghaus --- I probably missed something but shouldn't FoldBuiltinFunction emit a call to __builtin_isnormal whereas currently after gimplification we end up with: _T50 = isnormal (1.0e+0);

[Bug fortran/83209] [11/12/13/14/15 Regression] [Coarray] Failure of allocation of a coarray with a pointer component

2024-07-11 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83209 Andre Vehreschild changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |vehre at gcc dot gnu.org

[Bug middle-end/115872] [12/13/14/15 regression] ICE in fab pass (error: missing definition with -g & -O3)

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115872 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.5 Status|UNCONFIRMED

[Bug rtl-optimization/115782] [15 Regression] ICE on valid code at -O{2,3} with "-fno-guess-branch-probability -fgcse-sm -fno-expensive-optimizations -fno-gcse" on x86_64-linux-gnu: in possibly_queue_

2024-07-11 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 15.0.0 20240711 (experimental) (GCC) [551] % [551] % gcctk -O2 small.c during RTL pass: late_combine small.c: In function ‘main’: small.c:31:1: internal compiler error: in possibly_queue_changes, at rtl-ssa

[Bug tree-optimization/115869] [13/14/15 Regression] Wrong constant evaluation with vector of struct due to loop interchange

2024-07-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115869 Richard Biener changed: What|Removed |Added Summary|[13/14/15 Regression] Wrong |[13/14/15 Regression] Wrong

[Bug rtl-optimization/115782] [15 Regression] ICE on valid code at -O{2,3} with "-fno-guess-branch-probability -fgcse-sm -fno-expensive-optimizations -fno-gcse" on x86_64-linux-gnu: in possibly_queue_

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115782 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:44fc801e97a8dc626a4806ff4124439003420b20 commit r15-1972-g44fc801e97a8dc626a4806ff4124439003420b20 Author: Richard Sandiford Da

[Bug c++/107186] GCC rejects use of static constexpr member function in noexcept complete-class context

2024-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107186 --- Comment #3 from Marek Polacek --- So it follows that this doesn't work either: ``` struct A { constexpr static bool func() { return true; } constexpr static bool i = func(); }; ```

[Bug rtl-optimization/115782] [15 Regression] ICE on valid code at -O{2,3} with "-fno-guess-branch-probability -fgcse-sm -fno-expensive-optimizations -fno-gcse" on x86_64-linux-gnu: in possibly_queue_

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

[Bug other/115873] New: New test case gcc.dg/vect/slp-54.c fails

2024-07-11 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115873 Bug ID: 115873 Summary: New test case gcc.dg/vect/slp-54.c fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug c++/111890] ICE in tsubst_friend_function with friend function declared inside a concept constrainted class inside a template class

2024-07-11 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111890 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug target/110040] rs6000 port emits dead mfvsrd instruction for simple test case

2024-07-11 Thread jeevitha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110040 Jeevitha changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 Marek Polacek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 --- Comment #4 from Marek Polacek --- Previously, lower_try_finally got: try { .ASAN_MARK (UNPOISON, &C.0, 12); x = {}; x._M_len = 3; x._M_array = &C.0; } finally { .ASAN_MARK (POISON, &C.0, 12); } but now we remove

[Bug target/115611] mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115611 --- Comment #1 from GCC Commits --- The master branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:7c11fdd2cc11a7058e9643b6abf27831970ad2c9 commit r15-1973-g7c11fdd2cc11a7058e9643b6abf27831970ad2c9 Author: Andre Vieira

[Bug target/115611] mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-07-11 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115611 Richard Earnshaw changed: What|Removed |Added Target Milestone|--- |11.5

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 --- Comment #5 from Marek Polacek --- If the GIMPLE_TRY_FINALLY doesn't always have to be present, albeit empty, then I suppose the best fix would be to get rid of the empty finally block so that we don't have to check in many spots that it's no

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 --- Comment #6 from Marek Polacek --- Maybe (untested): --- a/gcc/tree-eh.cc +++ b/gcc/tree-eh.cc @@ -1703,8 +1703,8 @@ lower_try_finally (struct leh_state *state, gtry *tp) ndests += this_tf.may_return; ndests += this_tf.may_throw; - /

[Bug ipa/96265] offloading to nvptx-none from aarch64-linux-gnu (and riscv*-linux-gnu) does not work

2024-07-11 Thread j.reuter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96265 Jan André Reuter changed: What|Removed |Added CC||j.reu...@fz-juelich.de --- Comment #7

[Bug target/115874] New: sh.c appears to be missing include of stdio.h

2024-07-11 Thread joel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115874 Bug ID: 115874 Summary: sh.c appears to be missing include of stdio.h Product: gcc Version: 13.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #13 from Jonathan Wakely --- That would only be valid for std::allocator and other allocators where std::allocator_traits::destroy uses std::destroy_at. As it happens, I've just refactored std::allocator_traits today, which makes it

[Bug libstdc++/108636] [10 Regression] C++20 undefined reference to `std::filesystem::__cxx11::path::_List::type(std::filesystem::__cxx11::path::_Type)' with -fkeep-inline-functions

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108636 --- Comment #13 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:8dbc02ba43d9e89056f4ba21d664118377f7da40 commit r15-1974-g8dbc02ba43d9e89056f4ba21d664118377f7da40 Author: Jonathan Wakely Date

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-11 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #14 from Jonathan Wakely --- So something like this, and then use it in containers instead of _Alloc_traits::destroy template _GLIBCXX20_CONSTEXPR void _Destroy_static_type(_Tp* __p, _Allocator& __alloc) { #if __cp

[Bug ipa/110057] Missed devirtualization opportunities

2024-07-11 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110057 --- Comment #15 from Jason Merrill --- (In reply to Jonathan Wakely from comment #14) LGTM.

[Bug target/115874] sh.c appears to be missing include of stdio.h

2024-07-11 Thread joel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115874 Joel Sherrill changed: What|Removed |Added Host||cygwin Target|

[Bug target/80881] Implement Windows native TLS

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80881 Andrew Pinski changed: What|Removed |Added Known to fail||14.1.0, 15.0 --- Comment #21 from Andrew

[Bug c++/115870] Inlining of different template instances wrongly produces infinite loop

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115870 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/9P8bY | |3TK6

[Bug tree-optimization/115870] Inlining of different template instances wrongly produces infinite loop

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115870 --- Comment #2 from Andrew Pinski --- Loops range found for idx_20: [irange] int_type [0, 10] NONZERO 0xf and calculated range :[irange] int_type [-2147483647, 10] vs Loops range found for idx_20: [irange] int_type [0, 10] NONZERO 0xf

[Bug target/115611] mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115611 --- Comment #2 from GCC Commits --- The releases/gcc-11 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:f75f9827cce522a58ae5d0bf47e2e1ea2704150a commit r11-11570-gf75f9827cce522a58ae5d0bf47e2e1ea2704150a Author: And

[Bug tree-optimization/115870] Inlining of different template instances wrongly produces infinite loop

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115870 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug tree-optimization/115870] Inlining of different template instances wrongly produces infinite loop

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115870 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.5

[Bug libstdc++/104606] [11 Regression] comparison operator resolution with std::optional and -std=c++20

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104606 --- Comment #18 from GCC Commits --- The releases/gcc-11 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1e0d60c6b097e9b0a96f7e763a10da11c412ef2c commit r11-11571-g1e0d60c6b097e9b0a96f7e763a10da11c412ef2c Author: Jonathan Wa

[Bug target/115611] mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115611 --- Comment #3 from GCC Commits --- The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:a655c8d2098aff5235934263b065a389a9fcbbca commit r12-10612-ga655c8d2098aff5235934263b065a389a9fcbbca Author: And

[Bug target/115611] mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115611 --- Comment #4 from GCC Commits --- The releases/gcc-13 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:dd7b273f8dc03f28b0cd07c1a489d5200abaf790 commit r13-8905-gdd7b273f8dc03f28b0cd07c1a489d5200abaf790 Author: Andr

[Bug target/115611] mve: vsetq_lane for 64-bits has wrong codegen when setting lane 1

2024-07-11 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115611 --- Comment #5 from GCC Commits --- The releases/gcc-14 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:b7a16ad1df8b00e084ef6bf0c23e5f8bdc5f419b commit r14-10408-gb7a16ad1df8b00e084ef6bf0c23e5f8bdc5f419b Author: And

[Bug c/115875] New: -Oz optimization of "push IMM; pop REG" is used incorrectly for 64-bit constants with 31th bit set

2024-07-11 Thread vda.linux at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115875 Bug ID: 115875 Summary: -Oz optimization of "push IMM; pop REG" is used incorrectly for 64-bit constants with 31th bit set Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/115875] -Oz optimization of "push IMM; pop REG" is used incorrectly for 64-bit constants with 31th bit set

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

[Bug c/115876] New: runtime errors during bootstrap with -O3 -march=znver3 -fno-var-tracking-assignments

2024-07-11 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 Bug ID: 115876 Summary: runtime errors during bootstrap with -O3 -march=znver3 -fno-var-tracking-assignments Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

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

[Bug rtl-optimization/115876] ext-dce.cc has ubsan issues; shifting negative values

2024-07-11 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115876 Sam James changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug rtl-optimization/115877] New: [15 Regression] wrong code at -Os (missing zero extension)

2024-07-11 Thread zsojka at seznam dot cz via Gcc-bugs
version 15.0.0 20240711 (experimental) (GCC)

[Bug c++/115878] New: C++23: this int argument with value 0 considered as dereferencing a null pointer

2024-07-11 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115878 Bug ID: 115878 Summary: C++23: this int argument with value 0 considered as dereferencing a null pointer Product: gcc Version: 14.1.1 Status: UNCONFIRMED Sever

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115877 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0

[Bug rtl-optimization/115877] [15 Regression] wrong code at -Os (missing zero extension)

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

[Bug libstdc++/104606] [11 Regression] comparison operator resolution with std::optional and -std=c++20

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

[Bug rtl-optimization/115879] New: ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 6 with -O -fnon-call-exceptions -finstrument-functions and _BitInt()

2024-07-11 Thread zsojka at seznam dot cz via Gcc-bugs
-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-1975-20240711091856-g4e0aa05f67c-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240711 (experimental) (GCC)

[Bug regression/111709] [13/14/15 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c since r13-1268-g8c99e307b20c50

2024-07-11 Thread dilfridge at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 Andreas K. Huettel changed: What|Removed |Added CC||dilfridge at gentoo dot org --- Co

[Bug target/115880] New: [14 regression] GCC 14+ fails to parse CoreFoundation header

2024-07-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115880 Bug ID: 115880 Summary: [14 regression] GCC 14+ fails to parse CoreFoundation header Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/115865] [14/15 Regression] ICE with auto/std::initializer_list variable definition with -fsanitize=address

2024-07-11 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115865 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/115880] [14 regression] GCC 14+ fails to parse CoreFoundation header

2024-07-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115880 Eric Gallager changed: What|Removed |Added Known to work||10.4.0, 11.4.0, 12.3.0,

[Bug target/115880] [14 regression] GCC 14+ fails to parse CoreFoundation header

2024-07-11 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115880 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/115881] New: [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-11 Thread zsojka at seznam dot cz via Gcc-bugs
h-ld=/usr/bin/x86_64-pc-linux-gnu-ld --with-as=/usr/bin/x86_64-pc-linux-gnu-as --enable-libsanitizer --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r15-1975-20240711091856-g4e0aa05f67c-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 15.0.0 20240711 (experimental) (GCC)

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-11 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 Uroš Bizjak changed: What|Removed |Added Keywords|ice-checking| CC|

[Bug regression/111709] [13/14/15 Regression] Miscompilation of sysdeps/ieee754/dbl-64/s_fma.c since r13-1268-g8c99e307b20c50

2024-07-11 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111709 --- Comment #16 from John David Anglin --- Correct. I recently did a couple of updates to the test ulps and now only the fma tests fail when building glibc with PA 1.1 code. Don't know about PA 2.0. I noticed that some RISCV processors have p

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-11 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 Richard Sandiford changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org

[Bug c++/115878] C++23: this int argument with value 0 considered as dereferencing a null pointer

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

[Bug c++/115878] C++23: this int argument with value 0 considered as dereferencing a null pointer in constexpr

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115878 Andrew Pinski changed: What|Removed |Added Summary|C++23: this int argument|C++23: this int argument

[Bug target/115875] -Oz optimization of "push IMM; pop REG" is used incorrectly for 64-bit constants with 31th bit set

2024-07-11 Thread vda.linux at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115875 --- Comment #2 from Denis Vlasenko --- 0xUL works, although it uses b8 ff ff ff ff mov$0x,%eax instead of 83 c8 ffor $0x,%eax

[Bug middle-end/115882] New: Don't alwsys promote memory_order_consume to memory_order_acquire

2024-07-11 Thread uis9936 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115882 Bug ID: 115882 Summary: Don't alwsys promote memory_order_consume to memory_order_acquire Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/115883] New: [15 Regression] late-combine exposing LRA problems

2024-07-11 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115883 Bug ID: 115883 Summary: [15 Regression] late-combine exposing LRA problems Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug middle-end/115882] Don't alwsys promote memory_order_consume to memory_order_acquire

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115882 --- Comment #1 from Andrew Pinski --- http://wg21.link/P0735 http://wg21.link/P0750 http://wg21.link/P0190 http://wg21.link/P0462 There might be more.

[Bug middle-end/115882] Don't alwsys promote memory_order_consume to memory_order_acquire

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115882 --- Comment #2 from Andrew Pinski --- >before C++20 came out. I am not sure things changed for C++20 ...

[Bug middle-end/115882] Don't alwsys promote memory_order_consume to memory_order_acquire

2024-07-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115882 --- Comment #3 from Andrew Pinski --- I am not sure C23 changed the definition here either ...

  1   2   >