[Bug target/121096] [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=... -mstringop-strategy=vector_loop

2025-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121096 Richard Biener changed: What|Removed |Added Target Milestone|--- |16.0 Keywords|

[Bug debug/121093] Missed location of inlined function

2025-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121093 --- Comment #1 from Richard Biener --- we don't elide inlined_function_outer_scope_p IIRC, so not sure why this would happen? But the flow of conditions is a bit odd: /* When not generating debug info we can eliminate info on unused v

[Bug c++/121089] [13/14/15/16 Regression] internal compiler error: Segmentation fault splay_tree_foreach with enum class and invalid underlying type

2025-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121089 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/113264] ICE with attribute copy and attribute no_sanitize_address on the original decl

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113264 Andrew Pinski changed: What|Removed |Added CC||jiangchangwu at smail dot nju.edu.

[Bug sanitizer/121079] ICE on x86_64-linux-gnu: tree check: expected tree that contains 'common' structure, have 'integer_cst' in copy_list, at tree.cc:1508

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

[Bug target/121096] [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=k8 -mvpclmulqdq -mstringop-strategy=vector_loop

2025-07-15 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121096 --- Comment #1 from Zdenek Sojka --- Created attachment 61879 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61879&action=edit testcase with less compiler flags $ x86_64-pc-linux-gnu-gcc -Os -mstringop-strategy=unrolled_loop -mtune=btver2

[Bug ipa/121107] [13/14/15/16 Regression] ICE at O2 (target_clone vs indirect inlining): in try_make_edge_direct_simple_call, at ipa-prop.cc:4052

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121107 Andrew Pinski changed: What|Removed |Added Known to fail||12.1.0 Last reconfirmed|

[Bug middle-end/121106] [14/15/16 Regression] ICE at O2: in expand_fn_using_insn, at internal-fn.cc:268

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121106 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug target/121108] New: [16 Regression] ICE: in setmem_epilogue_gen_val, at config/i386/i386-expand.cc:8438 with -mstringop-strategy=rep_4byte

2025-07-15 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121108 Bug ID: 121108 Summary: [16 Regression] ICE: in setmem_epilogue_gen_val, at config/i386/i386-expand.cc:8438 with -mstringop-strategy=rep_4byte Product: gcc Versi

[Bug c/121107] New: ICE at O2: in try_make_edge_direct_simple_call, at ipa-prop.cc:4052

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121107 Bug ID: 121107 Summary: ICE at O2: in try_make_edge_direct_simple_call, at ipa-prop.cc:4052 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/121106] New: ICE at O2: in expand_fn_using_insn, at internal-fn.cc:268

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121106 Bug ID: 121106 Summary: ICE at O2: in expand_fn_using_insn, at internal-fn.cc:268 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal P

[Bug testsuite/121078] [16 regression] gcc.dg/aru-2.c etc. FAIL

2025-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121078 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING

[Bug testsuite/121078] [16 regression] gcc.dg/aru-2.c etc. FAIL

2025-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121078 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/121104] ICE at O2: verify_gimple_in_cfg(function*, bool, bool)

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121104 Andrew Pinski changed: What|Removed |Added Target||x86_64 Ever confirmed|0

[Bug target/121105] New: `svfloat32x4_t{}` does not zero the registers

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121105 Bug ID: 121105 Summary: `svfloat32x4_t{}` does not zero the registers Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Prio

[Bug c/121104] New: ICE at O2: verify_gimple_in_cfg(function*, bool, bool)

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121104 Bug ID: 121104 Summary: ICE at O2: verify_gimple_in_cfg(function*, bool, bool) Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug tree-optimization/121103] [15/16 Regression] ICE at O2: in single_succ_edge, at basic-block.h:332

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121103 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org S

[Bug c/121103] New: ICE at O2: in single_succ_edge, at basic-block.h:332

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121103 Bug ID: 121103 Summary: ICE at O2: in single_succ_edge, at basic-block.h:332 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c/120898] ICE at -O2 calling function with old-style definition taking a VLA parameter

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120898 Andrew Pinski changed: What|Removed |Added CC||bic60176 at gmail dot com --- Comment #

[Bug c/121102] ICE at O2: in make_ssa_name_fn, at tree-ssanames.cc:355

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121102 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c/121102] New: ICE at O2: in make_ssa_name_fn, at tree-ssanames.cc:355

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121102 Bug ID: 121102 Summary: ICE at O2: in make_ssa_name_fn, at tree-ssanames.cc:355 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c/121101] __builtin_assoc_barrier vs function types

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121101 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-07-16 Component|tree-opti

[Bug c/121101] New: ICE at O2: in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1113

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121101 Bug ID: 121101 Summary: ICE at O2: in copy_reference_ops_from_ref, at tree-ssa-sccvn.cc:1113 Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal

[Bug c/121100] New: ICE: Segmentation fault at contains_struct_check

2025-07-15 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121100 Bug ID: 121100 Summary: ICE: Segmentation fault at contains_struct_check Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug fortran/121060] ICE when argument is associate name created from type-bound operator result

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121060 --- Comment #4 from GCC Commits --- The master branch has been updated by Paul Thomas : https://gcc.gnu.org/g:82e912344d28cf1a69e5f8e047203ea7eb625302 commit r16-2282-g82e912344d28cf1a69e5f8e047203ea7eb625302 Author: Paul Thomas Date: Wed J

[Bug target/121099] GCC doesn't optimize `_mm_set_ps()` very well

2025-07-15 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121099 --- Comment #1 from LIU Hao --- Given `y` in XMM0 and `x` in XMM1, `_mm_set_ps(x, x, y, y)` is clearly just `vshufps xmm2, xmm0, xmm1, 0` no matter what.

[Bug c/121081] [16 Regression] ICE on x86_64-linux-gnu: in composite_type, at c/c-typeck.cc:1011 with visibility attribute on atomic

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

[Bug target/121099] GCC doesn't optimize `_mm_set_ps()` very well

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

[Bug target/121099] New: GCC doesn't optimize `_mm_set_ps()` very well

2025-07-15 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121099 Bug ID: 121099 Summary: GCC doesn't optimize `_mm_set_ps()` very well Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/93738] [13/14/15/16 regression] test case gcc.target/powerpc/20050603-3.c fails

2025-07-15 Thread kishan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93738 Kishan Parmar changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #11 from Kishan Par

[Bug c/82134] warn_unused_result triggers on empty structs even when they are used

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82134 --- Comment #8 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:32ff6f4728e4021ff33fb1da6eb3bafe3ea5a15e commit r16-2280-g32ff6f4728e4021ff33fb1da6eb3bafe3ea5a15e Author: Jeremy Rifkin Date: Tue

[Bug c++/121089] [13/14/15/16 Regression] internal compiler error: Segmentation fault splay_tree_foreach with enum class and invalid underlying type

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

[Bug c++/121089] [13/14/15/16 Regression] internal compiler error: Segmentation fault splay_tree_foreach with enum and invalid underlying type

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121089 Andrew Pinski changed: What|Removed |Added Known to fail||13.1.0 Known to work|

[Bug c++/121089] internal compiler error: Segmentation fault splay_tree_foreach since 13.1

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121089 Andrew Pinski changed: What|Removed |Added Keywords||error-recovery --- Comment #1 from Andr

[Bug middle-end/120378] Support narrowing clip idiom

2025-07-15 Thread ewlu at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120378 --- Comment #7 from Edwin Lu --- Progress update: After discussing with Vineet and Robin, the optab for generating vnclipu does exist through IFN_SAT_TRUNC, which can be seen in a couple of the saturating arithmetic testcases Pan has been workin

[Bug modula2/120389] Assigning a CHAR to an INTEGER crashes the compiler

2025-07-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/121086] anonymous static virtual bitfield causes ICE while printing out diagnostic

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121086 --- Comment #2 from Andrew Pinski --- So I think it is trying to print out the field name but since this is an anonymous bitfield, it is crashing.

[Bug c++/121086] anonymous static virtual bitfield causes ICE while printing out diagnostic

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121086 Andrew Pinski changed: What|Removed |Added Known to fail||3.4.6 Last reconfirmed|

[Bug c++/121083] [13/14/15/16 Regression] internal compiler error: in process_init_constructor_record, at cp/typeck2.cc:1796 with -std=c++20

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121083 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Ever confirmed|0

[Bug c++/121083] internal compiler error: in process_init_constructor_record, at cp/typeck2.cc:1796 in 15.1 and trunk

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121083 --- Comment #1 from Andrew Pinski --- Reduced: ``` struct Xint { int x; }; auto x = new Xint[3]({[0]=20}); ```

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 Jonathan Wakely changed: What|Removed |Added Keywords||patch --- Comment #6 from Jonathan Wa

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 --- Comment #5 from Jonathan Wakely --- Sure, we could do, but I'm not convinced it's a real issue, only a hypothetical one. Your config seems self-inflicted, due to an incomplete emulation of GCC 10 (which did define __cpp_fold_expressions).

[Bug sarif-replay/120792] sarif-replay's sarif output doesn't faithfully round-trip all the data

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120792 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:2a521eee58da7c0d0f2262181b804aa148e60aaf commit r16-2274-g2a521eee58da7c0d0f2262181b804aa148e60aaf Author: David Malcolm Date: T

[Bug target/121095] [15/16 Regression] Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 Andrew Pinski changed: What|Removed |Added Severity|enhancement |normal Summary|Possibly unne

[Bug rtl-optimization/121098] target macro HARDREG_PRE_REGNOS is NOT documented

2025-07-15 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121098 Eric Botcazou changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-07-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 --- Comment #4 from Arthur O'Dwyer --- (In reply to Jonathan Wakely from comment #3) > (In reply to Arthur O'Dwyer from comment #1) > > Er, PC-Lint 2.0 with a config file that *we* made > > Don't do that then? or change your config file to fix

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 --- Comment #3 from Jonathan Wakely --- (In reply to Arthur O'Dwyer from comment #1) > Er, PC-Lint 2.0 with a config file that *we* made to roughly emulate GCC 10, > apparently. I can't blame PC-Lint itself for the weird setting of these > macro

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

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

[Bug target/121095] Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-15 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 --- Comment #2 from lucier at math dot purdue.edu --- My take, without having any serious knowledge of what's going on, is: If a C function doesn't involve (set, read, manipulate, ...) FP8 values or the fpmr register in any way, then this PRE pa

[Bug target/120986] ICE when expanding svdot_lane_fpm intrinsic with compile time know FPMR

2025-07-15 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120986 --- Comment #9 from Alex Coplan --- I'm now going to be away until Mon 4th August, so won't be able to post the re-spun patches until then (although they are ready to go and have passed testing).

[Bug rtl-optimization/121098] New: target macro HARDREG_PRE_REGNOS is NOT documented

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121098 Bug ID: 121098 Summary: target macro HARDREG_PRE_REGNOS is NOT documented Product: gcc Version: 16.0 Status: UNCONFIRMED Keywords: documentation, internal-improvement Se

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-07-15 Thread nikolasklauser at berlin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 --- Comment #7 from Nikolas Klauser --- The patch fixes the non-reduced reproducer as well. Thanks!

[Bug c/44677] Warn for variables incremented but not used (+=, ++)

2025-07-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 --- Comment #30 from Jakub Jelinek --- (In reply to Vincent Lefèvre from comment #28) > It seems that to get -Wunused-but-set-parameter=3 implicitly, one needs > -Wextra (contrary to -Wunused-but-set-variable=3). So the condition > > -Wunused

[Bug libstdc++/121097] hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-07-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 --- Comment #1 from Arthur O'Dwyer --- Er, PC-Lint 2.0 with a config file that *we* made to roughly emulate GCC 10, apparently. I can't blame PC-Lint itself for the weird setting of these macros. :)

[Bug libstdc++/121097] New: hypot uses __promoted_t even when __cpp_fold_expressions is not defined

2025-07-15 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121097 Bug ID: 121097 Summary: hypot uses __promoted_t even when __cpp_fold_expressions is not defined Product: gcc Version: unknown Status: UNCONFIRMED Severity: nor

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 Andrew Pinski changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comment

[Bug tree-optimization/119921] ICE building SVE ACLE in varasm with switch

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

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 --- Comment #5 from Andrew Pinski --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-July/689666.html

[Bug libstdc++/119962] : __maybe_present_t misses initialization

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119962 --- Comment #5 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0828600f586e75a2056a4fc7eb0a340c363d6c66 commit r16-2271-g0828600f586e75a2056a4fc7eb0a340c363d6c66 Author: Patrick Palka Date: T

[Bug c/44677] Warn for variables incremented but not used (+=, ++)

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44677 --- Comment #29 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:35b19980046fc57d9d6851b8f4349bd22de3fa03 commit r16-2270-g35b19980046fc57d9d6851b8f4349bd22de3fa03 Author: Jason Merrill Date: Mo

[Bug modula2/120389] Assigning a CHAR to an INTEGER crashes the compiler

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120389 --- Comment #8 from GCC Commits --- The releases/gcc-15 branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:7dcb64479e0cc590641a505b8fe1fd542f22a38f commit r15-9980-g7dcb64479e0cc590641a505b8fe1fd542f22a38f Author: Gaius Mulley Da

[Bug c++/89025] Wrong point of declaration for enumeration names

2025-07-15 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89025 TC changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX

2025-07-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409 Jonathan Wakely changed: What|Removed |Added Target|*-*aix* *-*-mingw* |*-*aix* Summary|std::chron

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 --- Comment #4 from Andrew Pinski --- Simplified testcase: ``` #include "arm_sve.h" svbool_t e(int mode) { svbool_t pg; switch (mode) { case 0: pg = svptrue_pat_b16(SV_VL6); break; case 1:

[Bug c++/121094] ICE on `co_await (obj->*func)(args...)`

2025-07-15 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121094 --- Comment #2 from Dmitry Prokoptsev --- I don't think so -- this does repro on the current master, which has the fix for bug 120273 (https://gcc.gnu.org/cgit/gcc/commit/?id=3b95be7bd1882add4b1e22f6b70bc130cd465eca).

[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2025-07-15 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 Bug 117836 depends on bug 119862, which changed state. Bug 119862 Summary: [16 Regression] gcc.dg/pr119160.c FAILs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119862 What|Removed |Added ---

[Bug target/118945] RISC-V: VSETL pass: Don't promote Vectors ops from Tail agnostic to Tail Undisturbed

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118945 Jeffrey A. Law changed: What|Removed |Added Assignee|vineetg at gcc dot gnu.org |law at gcc dot gnu.org --- Comm

[Bug testsuite/119862] [16 Regression] gcc.dg/pr119160.c FAILs

2025-07-15 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119862 ptomsich at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2025-07-15 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 Bug 117836 depends on bug 119884, which changed state. Bug 119884 Summary: [16 Regression] ICE: in emit_move_insn, at expr.cc:4636 with -O2 -fno-dse -favoid-store-forwarding since r16-15 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119884

[Bug rtl-optimization/119884] [16 Regression] ICE: in emit_move_insn, at expr.cc:4636 with -O2 -fno-dse -favoid-store-forwarding since r16-15

2025-07-15 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119884 ptomsich at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|A

[Bug rtl-optimization/119901] wrong code with -O -favoid-store-forwarding -mprefer-vector-width=none -mavx2

2025-07-15 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119901 ptomsich at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|N

[Bug target/120553] Improve code to select between -1 and various values

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120553 Jeffrey A. Law changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |law at gcc dot gnu.org --- Comm

[Bug rtl-optimization/117836] [meta-bug] favoid-store-forwarding issues

2025-07-15 Thread ptomsich at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117836 Bug 117836 depends on bug 119901, which changed state. Bug 119901 Summary: wrong code with -O -favoid-store-forwarding -mprefer-vector-width=none -mavx2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119901 What|Removed

[Bug target/120404] RISC-V: inline asm FRM write over-written by FRM save/restore machinery

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120404 Jeffrey A. Law changed: What|Removed |Added Assignee|vineetg at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/121094] ICE on `co_await (obj->*func)(args...)`

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

[Bug target/120479] missed opportunity to generate czero.nez

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120479 --- Comment #5 from Jeffrey A. Law --- Deferring indefinitely as I don't see a way to generate a czero right now due to the multiple use issues.

[Bug target/120603] Improve addition/subtraction on RISC-V for out of range constants

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120603 Jeffrey A. Law changed: What|Removed |Added CC||smunnangi1 at ventanamicro dot com --

[Bug target/120811] RISC-V: missed load offset

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120811 Jeffrey A. Law changed: What|Removed |Added CC||smunnangi1 at ventanamicro dot com --

[Bug target/121095] Possibly unnecessary PRE pass on aarch64 for fpmr

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

[Bug rtl-optimization/121095] Possibly unnecessary PRE pass on aarch64 for fpmr

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

[Bug target/121019] Explore removal of DI patterns for rv32

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121019 --- Comment #1 from Jeffrey A. Law --- Per call today, deferring this idefinitely. If someone wants to pick it up, then by all means, please do. It's just not that high a priority.

[Bug target/121096] New: [16 Regression] ICE: in store_by_pieces, at expr.cc:1847 with -Os -mtune=k8 -mvpclmulqdq -mstringop-strategy=vector_loop

2025-07-15 Thread zsojka at seznam dot cz via Gcc-bugs
rap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 16.0.0 20250715 (experimental) (GCC)

[Bug fortran/104428] [13/14/15/16 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648 since r12-4409-g724ee5a0093da443

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104428 --- Comment #8 from GCC Commits --- The releases/gcc-15 branch has been updated by Kwok Yeung : https://gcc.gnu.org/g:c9965c37cd153b7764f147a77489db9827071ad0 commit r15-9979-gc9965c37cd153b7764f147a77489db9827071ad0 Author: Kwok Cheung Yeung

[Bug rtl-optimization/121095] New: Possibly unnecessary PRE pass on aarch64 for fpmr

2025-07-15 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095 Bug ID: 121095 Summary: Possibly unnecessary PRE pass on aarch64 for fpmr Product: gcc Version: 15.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/121094] New: ICE on `co_await (obj->*func)(args...)`

2025-07-15 Thread dprokoptsev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121094 Bug ID: 121094 Summary: ICE on `co_await (obj->*func)(args...)` Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/108409] std::chrono::current_zone() doesn't work on AIX or Windows

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108409 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e28494e08092c4096a015563c0ba0494ce1edf81 commit r16-2267-ge28494e08092c4096a015563c0ba0494ce1edf81 Author: Björn Schäpers Date:

[Bug bootstrap/121038] autoprofiledbootstrap is broken in few ways

2025-07-15 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121038 --- Comment #3 from Andi Kleen --- Better use set -e instead of explicit exit checks. Yes it's dumb design in the tool, it could just stream the data. In fact if it did that we could use the perf pipe mode to not even create a temporary file.

[Bug c++/120577] [14/15/16 Regression] Another crash with [[no_unique_address]] and constexpr functions

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120577 --- Comment #6 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f23b5df56e237df9f66b615ca4babc564d5f75de commit r16-2265-gf23b5df56e237df9f66b615ca4babc564d5f75de Author: Jason Merrill Date: Sa

[Bug c++/117784] [C++26] P2686R4 - constexpr structured bindings and references to constexpr variables

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117784 --- Comment #4 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:9956dc37cb3d71c1fc7a89b45cc291645c11817b commit r16-2264-g9956dc37cb3d71c1fc7a89b45cc291645c11817b Author: Jason Merrill Date: Tu

[Bug bootstrap/121038] autoprofiledbootstrap is broken in few ways

2025-07-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121038 --- Comment #2 from Jan Hubicka --- I experimented with smaller sampling period and indeed create_gcov then runs out of memory. On my setup create_gcov was simply segfaulting and produced just partial profile. Since Makefile does not fail on cr

[Bug c++/63164] unnecessary calls to __dynamic_cast

2025-07-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 --- Comment #20 from Jakub Jelinek --- (In reply to Thomas de Bock from comment #18) > (In reply to Jason Merrill from comment #17) > > As I commented at > > > > https://inbox.sourceware.org/gcc-patches/75ff8af8-af03-42fa-b68b- > > e6c16a34c...@

[Bug c++/63164] unnecessary calls to __dynamic_cast

2025-07-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 --- Comment #19 from Jakub Jelinek --- (In reply to Jason Merrill from comment #17) > As I commented at > > https://inbox.sourceware.org/gcc-patches/75ff8af8-af03-42fa-b68b- > e6c16a34c...@redhat.com/ > > we could optimize the dynamic_cast to t

[Bug debug/121093] New: Missed location of inlined function

2025-07-15 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121093 Bug ID: 121093 Summary: Missed location of inlined function Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug

[Bug c++/63164] unnecessary calls to __dynamic_cast

2025-07-15 Thread tdebock at DRWUK dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 --- Comment #18 from Thomas de Bock --- (In reply to Jason Merrill from comment #17) > As I commented at > > https://inbox.sourceware.org/gcc-patches/75ff8af8-af03-42fa-b68b- > e6c16a34c...@redhat.com/ > > we could optimize the dynamic_cast to

[Bug c++/63164] unnecessary calls to __dynamic_cast

2025-07-15 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 --- Comment #17 from Jason Merrill --- As I commented at https://inbox.sourceware.org/gcc-patches/75ff8af8-af03-42fa-b68b-e6c16a34c...@redhat.com/ we could optimize the dynamic_cast to type_info::operator== instead of vtable comparison.

[Bug c++/63164] unnecessary calls to __dynamic_cast

2025-07-15 Thread tdebock at DRWUK dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 --- Comment #16 from Thomas de Bock --- (In reply to Jakub Jelinek from comment #15) > Sure, but that is the only way how to make the optimization reliable. > If the a local type (i.e. mangled for RTTI with * character at the start), > it can jus

[Bug fortran/104428] [13/14/15/16 Regression] ICE in gfc_trans_omp_declare_variant, at fortran/trans-openmp.cc:7648 since r12-4409-g724ee5a0093da443

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104428 --- Comment #7 from GCC Commits --- The master branch has been updated by Kwok Yeung : https://gcc.gnu.org/g:a05c4f4ee48f76e518dbd2a96e5083f4df833df7 commit r16-2263-ga05c4f4ee48f76e518dbd2a96e5083f4df833df7 Author: Kwok Cheung Yeung Date:

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 Andrew Pinski changed: What|Removed |Added Known to fail||10.1.0, 10.5.0, 16.0 --- Comment #3 fro

[Bug tree-optimization/121091] ICE in tree_to_uhwi, at tree.cc:6660 with SVE switch choosing predicate values

2025-07-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091 --- Comment #2 from Andrew Pinski --- # pg_3 = PHI So not a POLY_INT_CST but rather a VECTOR_CST that does not have a constant size.

[Bug rtl-optimization/120660] [16 Regression] wrong code with -O -favoid-store-forwarding

2025-07-15 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120660 --- Comment #1 from Zdenek Sojka --- The difference between OK and BAD is: $ diff -u OK.S BAD.S --- OK.S2025-07-15 16:39:49.437945918 +0200 +++ BAD.S 2025-07-15 16:39:53.377945956 +0200 @@ -14,7 +14,7 @@ @ GNU C23 (GCC) version 1

  1   2   >