[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 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 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 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 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 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 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 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 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 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 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] [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] 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 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 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/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] 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/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 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 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/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/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/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 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/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 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 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 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 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 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 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 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 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 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 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/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/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 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 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 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 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 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 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 target/121076] New: PPCLE: Inefficient implementation of __builtin_bswap16

2025-07-15 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121076 Bug ID: 121076 Summary: PPCLE: Inefficient implementation of __builtin_bswap16 Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

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

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121083 Bug ID: 121083 Summary: internal compiler error: in process_init_constructor_record, at cp/typeck2.cc:1796 in 15.1 and trunk Product: gcc Version: 16.0

[Bug gcov-profile/121084] New: [GCOV] Loops containing goto cause incorrect coverage statistics.

2025-07-15 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121084 Bug ID: 121084 Summary: [GCOV] Loops containing goto cause incorrect coverage statistics. Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c++/121085] New: internal compiler error: Segmentation fault since 12.1

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mario.rodriguezb1 at um dot es Target Milestone: --- ICE in: Program: ``` #include int main() { std::reference_wrapper e{}; } ``` Stack dump ``` /opt/compiler-explorer/gcc-trunk-20250715/include/c++/16.0.0

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #24 from H.J. Lu --- (In reply to Filip Kastl from comment #23) > testcase.c > enum { ST, SB, ET, EB, WT, WB } > LBM_initializeGrid() { > double *grid; > grid[ST] = grid[SB] = grid[ET] = grid[EB] = > grid[WT] = gr

[Bug gcov-profile/121082] New: [GCOV] Anonymous structure initialization combined with return statement leads to incorrect coverage count

2025-07-15 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121082 Bug ID: 121082 Summary: [GCOV] Anonymous structure initialization combined with return statement leads to incorrect coverage count Product: gcc Version: 16.0

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-15 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #23 from Filip Kastl --- testcase.c enum { ST, SB, ET, EB, WT, WB } LBM_initializeGrid() { double *grid; grid[ST] = grid[SB] = grid[ET] = grid[EB] = grid[WT] = grid[WB] = 1.0 / 36.0; } Compile with -Ofa

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-07-15 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 --- Comment #20 from Jan Hubicka --- > We were also looking at the profile count issues with CSE/ICF like > optimisations. > https://lists.llvm.org/pipermail/llvm-dev/2020-November/146694.html looks like > the way to go. CSE should be safe if d

[Bug debug/121045] [16 Regression] FAIL: g++.dg/torture/pr58552.C caused by r16-2197-g385d9937f0e23c

2025-07-15 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121045 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #2 from

[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 #7 from Alex Coplan --- (In reply to Spencer Abson from comment #6) > > The insn is recognised if +fp8dot4 is added, so I suspect the gating of > > this insn is also wrong in the backend. > > Yeah, I suspect the issue is that: > >

[Bug libstdc++/96710] __int128 vs

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96710 --- Comment #8 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:57b9afc9dad76f529969c548214b65dfe43652a7 commit r16-2253-g57b9afc9dad76f529969c548214b65dfe43652a7 Author: Jonathan Wakely Date:

[Bug libstdc++/121024] ranges::destroy and ranges::destroy_n do not end lifetime of trivial types

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121024 --- Comment #1 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a63b663c7bf77e38d90cebe993a3de8a548f8d66 commit r16-2256-ga63b663c7bf77e38d90cebe993a3de8a548f8d66 Author: Jonathan Wakely Date:

[Bug c++/102284] Can access object outside of its lifetime during constant evaluation

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102284 --- Comment #11 from GCC Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a63b663c7bf77e38d90cebe993a3de8a548f8d66 commit r16-2256-ga63b663c7bf77e38d90cebe993a3de8a548f8d66 Author: Jonathan Wakely Date

[Bug target/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-15 Thread pheeck at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #25 from Filip Kastl --- (In reply to H.J. Lu from comment #24) > Why is it bad for znver2? Oh, I thought we are trying to figure that out. Spilling because of register pressure, as richi suggested in comment 3, is the best guess w

[Bug middle-end/120614] 525.x264_r is ~30% slower with AutoFDO

2025-07-15 Thread kugan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120614 --- Comment #19 from kugan at gcc dot gnu.org --- I did the spec2017 runs few days ago and the .gcov files looks OK. I can see them with dump_gcov. I am seeing hot/cold blocks switched in __material_mod_MOD_mat_updatee/13 of fotonik3d_r (see the

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

2025-07-15 Thread jiangchangwu at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121081 Bug ID: 121081 Summary: ICE on x86_64-linux-gnu: in composite_type, at c/c-typeck.cc:1011 with visibility attribute on atomic Product: gcc Version: 16.0 Status: UNCONFIR

[Bug fortran/120637] Memory leak in finalization gfortran 9.5-16.0

2025-07-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120637 --- Comment #10 from GCC Commits --- The releases/gcc-15 branch has been updated by Andre Vehreschild : https://gcc.gnu.org/g:1cb95b3006dd615a03d3e4bade5605532c4ab65e commit r15-9978-g1cb95b3006dd615a03d3e4bade5605532c4ab65e Author: Andre Vehr

[Bug c++/121086] New: Raw Segmentation fault with virtual static unsigned since version 3.4.6

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121086 Bug ID: 121086 Summary: Raw Segmentation fault with virtual static unsigned since version 3.4.6 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: normal

[Bug c++/121087] New: internal compiler error: Segmentation fault initialize_vtbl_ptrs since 14.1

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121087 Bug ID: 121087 Summary: internal compiler error: Segmentation fault initialize_vtbl_ptrs since 14.1 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: no

[Bug fortran/120637] Memory leak in finalization gfortran 9.5-16.0

2025-07-15 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120637 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug target/121073] [16 Regression] RISC-V: ICE during RTL pass: avlprop insn does not satisfy its constraints

2025-07-15 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121073 --- Comment #2 from Robin Dapp --- Yes, the issue is that Wdm was a memory constraint before, giving reload more freedom. In the case here we have a real mask operand that only the strided alternatives support. Need to think of another solutio

[Bug c++/121088] New: internal compiler error: Segmentation fault finish_static_data_member_decl since 12.1

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121088 Bug ID: 121088 Summary: internal compiler error: Segmentation fault finish_static_data_member_decl since 12.1 Product: gcc Version: 16.0 Status: UNCONFIRMED Se

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

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121089 Bug ID: 121089 Summary: internal compiler error: Segmentation fault splay_tree_foreach since 13.1 Product: gcc Version: 16.0 Status: UNCONFIRMED Severity: norm

[Bug c++/121090] New: internal compiler error: error reporting routines re-entered. diagnostic_context::finish() in 15.1 and trunk only

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121090 Bug ID: 121090 Summary: internal compiler error: error reporting routines re-entered. diagnostic_context::finish() in 15.1 and trunk only Product: gcc Version: 1

[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 #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 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 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 target/121073] [16 Regression] RISC-V: ICE during RTL pass: avlprop insn does not satisfy its constraints

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

[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 Alex Coplan changed: What|Removed |Added Keywords||patch --- Comment #8 from Alex Coplan --

[Bug c++/88982] ICE in tsubst_pack_expansion, at cp/pt.c:12221

2025-07-15 Thread mario.rodriguezb1 at um dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88982 --- Comment #6 from MARIO RODRIGUEZ BEJAR --- Shall i open a separate bug?

[Bug target/121075] [16 Regression] RISC-V: ICE during GIMPLE pass: vect segmentation fault with -flto

2025-07-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121075 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[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 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 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 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 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++/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 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++/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/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 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 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 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] 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 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 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 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 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 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/120941] [16 Regression] 24-40% slowdown of 519.lbm_r on Zen2 and 470.lbm on Zen5 since r16-1644-gaba3b9d3a48a07

2025-07-15 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 --- Comment #26 from rguenther at suse dot de --- On Tue, 15 Jul 2025, pheeck at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120941 > > --- Comment #25 from Filip Kastl --- > (In reply to H.J. Lu from comment #24) >

[Bug target/120920] RISC-V: Possible optimization of bswap when zbb is enabled

2025-07-15 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120920 --- Comment #2 from Jeffrey A. Law --- Dusan posted a patch here, but I'm not convinced it's correct. Also note the patch failed its own test: https://patchwork.sourceware.org/project/gcc/patch/pr3pr08mb5738ed049e790435a3b5a8aebe...@pr3pr08mb5

[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 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 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 #27 from Jakub Jelinek --- Nothing changed in what options imply -Wunused-but-set-variable or -Wunused-but-set-parameter, just that those 2 options now mean the =3 level and users can explicitly use say -Wunused-but-set-variable=1 etc

  1   2   >