[Bug c/122042] wrong code at -Ofast only with attribute `cold` assigned

2025-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122042 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Richard

[Bug bootstrap/121623] [15/16 regression] [ia64] bootstrap comparison failure (differently ordered st8s in MMI for gcc/trans-mem.o), stage 2 -> 3

2025-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121623 --- Comment #25 from Richard Biener --- (In reply to Frank Scheiner from comment #24) > @Richard: > Thought I put you in CC. Do you maybe have an idea what in > 44e065a52fa6069d6c8cacebc8f876840d278dd0 creates this issue for ia64? The rev. was

[Bug tree-optimization/122040] -fisolate-erroneous-paths-dereference turns division by zero into a trap but the behavior is undocumented

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

[Bug tree-optimization/122039] [13/14/15/16 Regression] fab could in theory go into an infinite loop and is not as effective any more

2025-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122039 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.5

[Bug tree-optimization/122034] __builtin_stack_save/__builtin_stack_restore pair (on the gimple level) is not removed if there is no alloca inbetween

2025-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122034 --- Comment #3 from Richard Biener --- (In reply to Andrew Pinski from comment #2) > I was thinking about doing this in DCE rather than a secondary pass. Though > I have to figure out the best way to mark __builtin_stack_save is alive when > an

[Bug tree-optimization/122023] [16 regression] ice in vect_build_slp_tree_2

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122023 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/122024] [16 Regression] wrong sign extension on aarch64 and armv7 with -O2 -fwrapv

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

[Bug other/122027] Building the latest libmpc with gcc

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122027 Richard Biener changed: What|Removed |Added Keywords||build --- Comment #1 from Richard Bien

[Bug tree-optimization/122028] vect: Known vs variable stride

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122028 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-09-22 Ever confirmed|0

[Bug tree-optimization/121830] [16 regression] ice in vect_build_slp_tree_2, again ?

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121830 --- Comment #11 from Richard Biener --- (In reply to Sam James from comment #10) > Please file it separately. PR122023

[Bug tree-optimization/122023] [16 regression] ice in vect_build_slp_tree_2

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122023 --- Comment #1 from Richard Biener --- t.c:6:10: note: Analyze phi: gvar2_lsm.10_12 = PHI <_4(7), gvar2_lsm.10_14(3)> t.c:6:10: note: reduction path: _4 gvar2_lsm.10_12 t.c:6:10: note: reduction: detected reduction t.c:6:10: note: Detect

[Bug middle-end/122026] SIGSEGV -Ofast only with attribute `noipa` and `cold` assigned

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122026 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, wrong-code Last rec

[Bug tree-optimization/122023] [16 regression] ice in vect_build_slp_tree_2

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122023 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/122023] New: [16 regression] ice in vect_build_slp_tree_2

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- unsigned int gvar1; int gvar2; void f () { unsigned int temp1; while (gvar1--) { temp1 = gvar2; gvar2 >>= 1; gvar2 &=

[Bug tree-optimization/122021] [16 regression] libvpx miscompiled with -m32 since r16-3890

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122021 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/122016] [15/16 Regression] ICE: SSA corruption (Unable to coalesce ssa_names 4 and 18 which are marked as MUST COALESCE)

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Priority|P3 |P2 --- Comment #6 from Richard Biener --- I'll have a look.

[Bug tree-optimization/122012] [15/16 regression] Internal compiler error in check_for_plus_in_loops on aarch64 with -O1+ since r15-4414

2025-09-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122012 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/121999] [16 Regression] 453.povray build ICEs since r16-3945-gc30f58c3f7ec25

2025-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121999 --- Comment #5 from Richard Biener --- Also reproduces w/o -flto. I do have .gcda and .ii files but there's virtual function calls in the code making it difficult to do a GIMPLE testcase (OBJ_TYPE_REF isn't implemented there). The IL differenc

[Bug tree-optimization/121999] [16 Regression] 453.povray build ICEs since r16-3945-gc30f58c3f7ec25

2025-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121999 --- Comment #4 from Richard Biener --- (In reply to Filip Kastl from comment #3) > Created attachment 62419 [details] > spec config file to reproduce the ICE with > > Yeah, I meant a full FDO run. -fprofile-generate and -fprofile use. Sorry >

[Bug tree-optimization/121999] [16 Regression] 453.povray build ICEs since r16-3945-gc30f58c3f7ec25

2025-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121999 --- Comment #2 from Richard Biener --- I can't reproduce. Does that require actual FDO aka a -fprofile-generate run? Seems I cannot get spec to do that, I have the STAGE1/STAGE2 vars set and I see feedback=1 in the log but it still doesn't do i

[Bug tree-optimization/121999] [16 Regression] 453.povray build ICEs since r16-3945-gc30f58c3f7ec25

2025-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||2025-09-19 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener --- Meh.

[Bug target/122000] [13/14/15/16 Regression] __sync_add_and_fetch(long long) on armv7a ignores the lower 32 bits

2025-09-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122000 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.5

[Bug tree-optimization/121997] simplify_count_zeroes requires the use of ARRAY_REF

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

[Bug rtl-optimization/121996] Missed optimization for vectorized stores in stack initialization & global writes

2025-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121996 Richard Biener changed: What|Removed |Added Component|middle-end |rtl-optimization --- Comment #2 from R

[Bug target/121991] [16 Regression] 15% slowdown of 436.cactusADM and 7% slowdown of 410.bwaves on Aarch64

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

[Bug c++/121981] [13/14/15/16 Regression] internal compiler error: in hash, at cp/constraint.cc:1999

2025-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121981 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/121989] [14/15/16 Regression] arm: Unrecognizable insn ICE with __fp16 loop at -O3

2025-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121989 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.4

[Bug tree-optimization/87615] Possible excessive compile time with -O2

2025-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #17 from Richard Biener --- (In reply to Richard Biener from comment #16) > (In reply to Andrew Pinski from comment #15) > > Still: > > tree FRE : 43.43 ( 50%) 3299k ( 1%) > [...] > > I have a patch to

[Bug tree-optimization/121720] [13/14/15 Regression] std::min_element is not optimized at -O2

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

[Bug tree-optimization/87615] Possible excessive compile time with -O2

2025-09-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87615 --- Comment #16 from Richard Biener --- (In reply to Andrew Pinski from comment #15) > Still: > tree FRE : 43.43 ( 50%) 3299k ( 1%) It's the usual problematic dominated_by_p_w_unex: Samples: 121K of event 'cycles:P

[Bug target/121983] [16 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1946 with -O2 -mcpu=xiangshan-nanhu

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

[Bug target/121982] [16 Regression] ICE: in riscv_sched_variable_issue, at config/riscv/riscv.cc:10236 with -mcpu=tt-ascalon-d8 -flive-range-shrinkage and vector division

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

[Bug target/121971] [15/16 Regression] Only warn about musttail on exotic targets?

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121971 --- Comment #4 from Richard Biener --- Guess we want a [[shouldtail]] where not tail-calling is OK semantically but highly desireable for performance. [[musttail]] is like [[always_inline]], it's considered wrong-code when not possible. OTOH t

[Bug tree-optimization/121720] [13/14/15/16 Regression] std::min_element is not optimized at -O2

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121720 --- Comment #8 from Richard Biener --- (In reply to Richard Biener from comment #7) > (In reply to Richard Biener from comment #6) > > So the issue is not the rev. in question (well, it triggers it). PRE should > > still work since there is the

[Bug tree-optimization/121720] [13/14/15/16 Regression] std::min_element is not optimized at -O2

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121720 --- Comment #7 from Richard Biener --- (In reply to Richard Biener from comment #6) > So the issue is not the rev. in question (well, it triggers it). PRE should > still work since there is the unconditional dereference in the loop. And it > d

[Bug tree-optimization/121720] [13/14/15/16 Regression] std::min_element is not optimized at -O2

2025-09-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121720 --- Comment #6 from Richard Biener --- So the issue is not the rev. in question (well, it triggers it). PRE should still work since there is the unconditional dereference in the loop. And it does when we allow ANTIC_IN to grow again during ite

[Bug tree-optimization/121962] [16 regression] OOM when buiding clang-19.1.7

2025-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121962 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org

[Bug middle-end/109849] suboptimal code for vector walking loop

2025-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #48 from Richard Biener --- OK, so 'location' is relevant for refs like *q_19, and indicates the value of 'q_19' which would need to be remembered along with the stored value. I had added gcc.dg/torture/2028-1.c for this which f

[Bug target/121959] riscv: vector sign extend instead of zero extend

2025-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||missed-optimization, ||wrong-code CC||rguenth at gcc dot gnu.org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1

[Bug middle-end/109849] suboptimal code for vector walking loop

2025-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109849 --- Comment #47 from Richard Biener --- __BB(2,guessed_local(114863530)): _7 = __MEM ((const struct pair * const &)&stack); goto __BB4(precise(134217728)); __BB(4,loop_header(1),guessed_local(1073741824)): _6 = __MEM ((const struct

[Bug tree-optimization/121949] Missed shift vectorization when IV value has a different datatype

2025-09-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121949 Richard Biener changed: What|Removed |Added Last reconfirmed||2025-09-15 Ever confirmed|0

[Bug target/121937] [16 Regression] RISC-V rv64gcv: crash at -O3 during RTL pass: combine

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

[Bug lto/121935] [16 Regression] various LTO streamer ICEs since g:b9fde0219f35cd5244f647c20c7b31b0395dbc5a

2025-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121935 --- Comment #5 from Richard Biener --- *** Bug 121932 has been marked as a duplicate of this bug. ***

[Bug lto/121935] [16 Regression] various LTO streamer ICEs since g:b9fde0219f35cd5244f647c20c7b31b0395dbc5a

2025-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||rguenth at gcc dot gnu.org Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- So the issue with the testcase at hand is that appearantly we fail to visit record_type 0x769a7888 a during free-lang-data

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 Richard Biener changed: What|Removed |Added Resolution|--- |DUPLICATE Status|ASSIGNED

[Bug lto/121935] [16 Regression] various LTO streamer ICEs since g:b9fde0219f35cd5244f647c20c7b31b0395dbc5a

2025-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121935 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ipa/121936] [14/15/16 Regression] Invalid optimisation (at O3) based on bodies of vague linkage functions

2025-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121936 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.4

[Bug c++/121932] [16 regression] ICE when building gdb trunk with LTO (tree code ‘template_parm_index’ is not supported in LTO stream)

2025-09-14 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121932 --- Comment #10 from Richard Biener --- (In reply to Nathaniel Shead from comment #7) > Sorry for the breakage. Looks like I missed walking DECL_ARGUMENTS of a > FUNCTION_DECL relies on this; the following patch fixes the minimal > reproducers

[Bug tree-optimization/121225] Missed autovectorization of bswap8 in a loop

2025-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121225 --- Comment #3 from Richard Biener --- I think the bswap pass should instead re-use the original load and truncate it instead of emitting another one.

[Bug middle-end/121925] Idiom recognize FCMLA operations independently

2025-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121925 --- Comment #3 from Richard Biener --- (In reply to Tamar Christina from comment #0) > Given the following vectors > > a = [A1 A0] > b = [C D ] b = [C B] I suppose? > c = [E D ] [..] > rot0 = [E + A0 * C, D + A0 * B] > rot90 = [E + A1

[Bug middle-end/121925] Idiom recognize FCMLA operations independently

2025-09-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121925 --- Comment #1 from Richard Biener --- The other lane appears after lowering load permutations, but I did not want to mess with SLP pattern recog, so did not place it before. Possibly load permute lowering will also break some cases. This is u

[Bug rtl-optimization/121920] ICE (SIGSEGV, NULL-ptr reference) in rtl_ssa::clobber_info::recompute_group() with -O2 -std=gnu11 -fstack-protector-strong on mips64el

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121920 --- Comment #6 from Richard Biener --- So - can you confirm this is now fixed?

[Bug tree-optimization/121921] `e - (e - b)` for pointers is not optimized to just b

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121921 --- Comment #3 from Richard Biener --- We only have e + (b - e): /* Pattern match tem1 = (long) ptr1; tem2 = (long) ptr2; tem3 = tem2 - tem1; tem4 = (unsigned long) tem3; tem5 = ptr1 + tem4; and produce tem5 = p

[Bug libstdc++/121917] [16 Regression] ranges::shuffle incorrectly requires its arguments to model sized_sentinel_for

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

[Bug ipa/92538] Proposal for IPA init() constant propagation

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
, ||rguenth at gcc dot gnu.org --- Comment #8 from Richard Biener --- This came up in some x264 discussion again.

[Bug ipa/121909] missed partial inlining

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121909 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 fro

[Bug tree-optimization/121908] Hot loop in xz not vectorized

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121908 Richard Biener changed: What|Removed |Added Blocks||53947 Keywords|

[Bug tree-optimization/121595] fabs(a+0.0) -> fabs(a) for non trapping case

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121595 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/121829] [13/14/15 Regression] Trigger error at -O2/O3 during GIMPLE pass: optimized with asm goto with lable being the next statement and loop afterwards

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

[Bug tree-optimization/121703] [16 Regression] ubsan: load of value 32695, which is not a valid value for type 'internal_fn' in tree-vectorizer.h

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121703 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/121904] [16 Regression] ICE in as_a, at value-range.h:668 since r16-1400-g2e4688a7202

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

[Bug tree-optimization/121870] [13/14/15 Regression] ICE when two calls to noreturn function via function pointer in global variable

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121870 Richard Biener changed: What|Removed |Added Known to work||16.0 Priority|P3

[Bug tree-optimization/121894] SRA (and DSE) vs. -ftrivial-auto-var-init=

2025-09-11 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121894 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #3 fro

[Bug c++/121893] [16 Regression] [Modules] ICE when using modules + ranges. regression in gcc 16.0

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

[Bug c++/121891] [14/15/16 Regression] ICE: cp_emit_debug_info_for_using(tree_node*, tree_node*) gcc/cp/name-lookup.cc:9240

2025-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121891 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.4

[Bug tree-optimization/121881] cselim does not handle some stuff sometimes

2025-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121881 --- Comment #3 from Richard Biener --- You can't generally do this when alias-sets differ (unless one is zero, which you can then pick). See the various redundant store issues - you need to second guess all following reads valid with either ver

[Bug diagnostics/121876] [16 Regression] recursive ICE in ICE handling with nested diagnostics, in set_diagnostic_buffer, at buffering.cc:49

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

[Bug c++/121889] [16 regression] ice in discriminator_for_local_entity, at cp/mangle.cc:2293

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

[Bug tree-optimization/121870] [13/14/15/16 Regression] ICE when two calls to noreturn function via function pointer in global variable

2025-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- So we're manually deleting dead EH and abnormal edges which can leave stmts to fixup unreachable. We can deal with this here.

[Bug other/121868] Test report for bugzilla issue

2025-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121868 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/121863] Filing new bugs doesn't work

2025-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121863 --- Comment #3 from Richard Biener --- I do still see any submit turned useless when anubis happens to run on it (but usually and re-submit fixes that then).

[Bug c++/121862] [14/15/16 Regression] ICE: tree check: accessed elt 1 of 'tree_vec' with 0 elts in expand_template_argument_pack, at cp/pt.cc:4474

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

[Bug target/121861] -Os doesn't inline truncf/trunc

2025-09-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121861 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Resolution|---

[Bug tree-optimization/121844] [13/14/15 Regression] RISCV rv64gcv: Trigger error at -Os during GIMPLE pass: ivopts

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

[Bug tree-optimization/121844] [13/14/15 Regression] RISCV rv64gcv: Trigger error at -Os during GIMPLE pass: ivopts

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121844 Richard Biener changed: What|Removed |Added Known to work||16.0 Priority|P3

[Bug tree-optimization/121844] [15/16 Regression] RISCV rv64gcv: Trigger error at -Os during GIMPLE pass: ivopts

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121844 --- Comment #3 from Richard Biener --- Hmm, it isn't enough to re-order IV creation - we are refering to IP_NORMAL pos during use rewriting as well: #1 0x02013101 in stmt_after_ip_normal_pos (loop=0x76e4a200, stmt=) at /space/r

[Bug tree-optimization/121830] [16 regression] ice in vect_build_slp_tree_2, again ?

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121830 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/121844] [15/16 Regression] RISCV rv64gcv: Trigger error at -Os during GIMPLE pass: ivopts

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Blocks||107997 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #2 from Richard Biener --- ip_normal_pos doesn't handle loops where the exit block isn't

[Bug tree-optimization/121830] [16 regression] ice in vect_build_slp_tree_2, again ?

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121830 --- Comment #5 from Richard Biener --- Thanks for the interesting testcases. Here we have a double AND reduction which involves another nested cycle operand.

[Bug rtl-optimization/121852] wrong code at -O2 with "-fno-gcse" on x86_64-linux-gnu

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121852 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR

[Bug target/121853] conversion from __bf16 to float is prohibitively expensive

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121853 Richard Biener changed: What|Removed |Added Component|c++ |target Target|

[Bug tree-optimization/121829] [13/14/15/16 Regression] Trigger error at -O2/O3 during GIMPLE pass: optimized with asm goto with lable being the next statement and loop afterwards

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121829 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > I belive it's redirect_edge_and_branch called from split_edge done during > vectorizer peeling. We are splitting the loop entry edge which produces > the lab

[Bug tree-optimization/121829] [13/14/15/16 Regression] Trigger error at -O2/O3 during GIMPLE pass: optimized with asm goto with lable being the next statement and loop afterwards

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121829 --- Comment #3 from Richard Biener --- I belive it's redirect_edge_and_branch called from split_edge done during vectorizer peeling. We are splitting the loop entry edge which produces the label copy and then we remove the (temporary) forwarde

[Bug tree-optimization/121830] [16 regression] ice in vect_build_slp_tree_2, again ?

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121830 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c++/121814] Optimization has changed the code behavior

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|NEW CC||hubicka at gcc dot gnu.org, ||rguenth at gcc dot gnu.org Keywords||wrong-code Last reconfirmed||2025-09-08

[Bug middle-end/121831] [15/16 regression] ICE when building melonds-1.0 with LTO (expand_expr_real_2, at expr.cc:9779)

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121831 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/121829] [13/14/15/16 Regression] Trigger error at -O2/O3 during GIMPLE pass: optimized with asm goto with lable being the next statement and loop afterwards

2025-09-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener --- Let me have a look.

[Bug target/121802] gcc.target/powerpc/vsx-vectorize-* FAILS starting with r16-3515-g3f868fb150957e

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1

[Bug middle-end/121806] [16 Regression] Uninitialised value in gcc.cc:2932's for_each_path causes gfortran compile fails since r16-3354-gf23bac62f46fc2

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

[Bug target/121802] gcc.target/powerpc/vsx-vectorize-* FAILS starting with r16-3515-g3f868fb150957e

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121802 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/73550] Another wrong -Wmaybe-uninitialized warning in switch statement

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73550 --- Comment #15 from Richard Biener --- (In reply to Andrew Pinski from comment #14) > Seems like if we have: > ((code_9(D) == 2)) > OR ((code_9(D) >= 3)) > > this could be simplified down to ((code_9(D) >= 2)) > > But I don't kn

[Bug tree-optimization/73550] Another wrong -Wmaybe-uninitialized warning in switch statement

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73550 --- Comment #16 from Richard Biener --- Re-working the predicates to include a new meta-operation IN_RANGE might help overall efficiency and recovery (IN_RANGE having an irange operand) and might allow to leverage ranger for the "un-obfuscation".

[Bug tree-optimization/121792] missing PRE due to exceptions, partial PRE insertion too restricted

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
CC||rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- Well, it's not a missing PRE - it's how PRE works. The load from pid.t is only a partial redundancy on the path from get_pid () if it is actually loaded, but it isn't on t

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #11 from Richard Biener --- Created attachment 62315 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62315&action=edit testcase This is the a.ltrans0.o object. Reproduce with ~/obj-arm-g/gcc> ./lto1 -quiet -dumpbase ./a.ltran

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #12 from Richard Biener --- (In reply to Richard Biener from comment #11) > Created attachment 62315 [details] > testcase > > This is the a.ltrans0.o object. Reproduce with > > ~/obj-arm-g/gcc> ./lto1 -quiet -dumpbase ./a.ltrans0.

[Bug rtl-optimization/121757] [15/16 Regression] ICE in rtl_ssa::clobber_info::recompute_group

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121757 --- Comment #10 from Richard Biener --- Backtrace from a cross: #0 fancy_abort (file=0x34e19d0 "/home/rguenther/src/gcc/gcc/rtl-ssa/accesses.cc", line=53, function=0x34e1c40 "recompute_group") at /home/rguenther/src/gcc/gcc/diagnosti

[Bug target/121802] gcc.target/powerpc/vsx-vectorize-* FAILS starting with r16-3515-g3f868fb150957e

2025-09-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121802 --- Comment #1 from Richard Biener --- Likely the PPC cost models fault. I'll have a quick look.

[Bug tree-optimization/121768] [16 Regression] ICE on valid code at -O{2,3} with "-fno-tree-dce -fno-inline" on x86_64-linux-gnu: in vect_build_slp_tree_2, at tree-vect-slp.cc:3217

2025-09-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121768 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/121788] asm_debug spec mis-ordering --debug-prefix-map options

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

[Bug target/121787] [Trunk] RISC-V rv64gcv: crash at -O1/2/3

2025-09-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121787 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Target|

  1   2   3   4   5   6   7   8   9   10   >