[Bug middle-end/113705] [14 Regression] ICE in decompose, at wide-int.h:1049 on aarch64-linux-gnu

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113705 Richard Biener changed: What|Removed |Added CC||sayle at gcc dot gnu.org Target

[Bug tree-optimization/113703] ivopts miscompiles loop

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- I think the point is we fail to represent Analyzing # of iterations of loop 1 exit condition [i_5(D) + 1, + , 1] < n_11(D) bounds on difference of bases: -18446744073709551615 ... 18446744073709551

[Bug target/113255] [11/12/13 Regression] wrong code with -O2 -mtune=k8

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113255 --- Comment #16 from Richard Biener --- The "interesting" part is that the i386 + simplify_rtx parts fix the issue but if you add the alias.cc part ontop it again fails at -O1 (the alias.cc part alone also "fixes" it). This all of course shows

[Bug target/113255] [11/12/13 Regression] wrong code with -O2 -mtune=k8

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113255 --- Comment #15 from Richard Biener --- The issue is also that via CSELIB we go from the good (minus:DI (reg/f:DI 119) (reg:DI 115)) to (minus:DI (value:DI 11:11 @0x41fca00/0x41ec410) (value:DI 10:15448 @0x41fc9e8/0x41ec3e0)) and

[Bug target/113701] Issues with __int128 argument passing

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

[Bug tree-optimization/113693] ICE: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 with _BitInt() at -O2 -fdbg-cnt=vect_loop:1

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113693 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Resolution|---

[Bug tree-optimization/113576] [14 regression] 502.gcc_r hangs r14-8223-g1c1853a70f9422169190e65e568dcccbce02d95c

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113576 Richard Biener changed: What|Removed |Added CC||ams at gcc dot gnu.org --- Comment

[Bug tree-optimization/113576] [14 regression] 502.gcc_r hangs r14-8223-g1c1853a70f9422169190e65e568dcccbce02d95c

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113576 --- Comment #32 from Richard Biener --- Btw, AVX512 knotb will invert all 8 bits and there's no knot just affecting the lowest 4 or 2 bits. It all feels like desaster waiting to happen ;) For example BIT_NOT_EXPR is RTL expanded like

[Bug middle-end/113694] Allow renaming stack smashing protector symbols

2024-02-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113694 --- Comment #1 from Richard Biener --- You could provide an alias to __stack_chk_guard/__stack_chk_fail in your code though.

[Bug tree-optimization/113693] ICE: in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:647 with _BitInt() at -O2 -fdbg-cnt=vect_loop:1

2024-02-01 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 --- We have [local count: 955630224]: # _236 = PHI <_101(11)> _110 = .UADDC (prephitmp_250, 0, _101); and _101 is defined in the loop just exited. This is broken by #0 set_ssa_use_from_pt

[Bug tree-optimization/113692] ICE: in lower_stmt, at gimple-lower-bitint.cc:5444 at -O with _BitInt() in a condition

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113692 --- Comment #3 from Richard Biener --- integer to pointer conversions are not constrained in GIMPLE, only pointer-to-int widening conversions are.

[Bug target/113690] [13/14 Regression] ICE: in as_a, at machmode.h:381 with -O2 -fno-dce -fno-forward-propagate -fno-split-wide-types -funroll-loops

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113690 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/113687] -Warray-bounds is not emitted inside class method

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113687 Richard Biener changed: What|Removed |Added Blocks||56456 Ever confirmed|0

[Bug testsuite/113685] [14 regression] gcc.dg/vect/vect-117.c fails profile checking with Invalid sum after r14-4089-gd45ddc2c04e471

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113685 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-02-01 CC|

[Bug target/113684] Cross compiler without assembler and linker should assume that all assembler and linker features are available

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113684 --- Comment #3 from Richard Biener --- I'm usually having cross assembler/linker around as they are easy to build.

[Bug tree-optimization/110176] [11/12/13 Regression] wrong code at -Os and above on x86_64-linux-gnu since r11-2446

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110176 Richard Biener changed: What|Removed |Added Known to work||14.0 Summary|[11/12/13/14

[Bug target/113641] [13/14 regression] 510.parest_r with PGO at O2 slower than GCC 12 (7% on Zen 3&2, 4% on CascadeLake) since r13-4272-g8caf155a3d6e23

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113641 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.3

[Bug rtl-optimization/113546] [13/14 Regression] aarch64: bootstrap-debug-lean broken with -fcompare-debug failure since r13-2921-gf1adf45b17f7f1

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113546 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.3

[Bug testsuite/113611] [14 Regression] gcc.dg/pr110279-1.c fails on cross build since gcc-14-5779-g746344dd538

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113611 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/113542] [14 Regression] gcc.target/arm/bics_3.c regression after change for pr111267

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113542 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/111170] [13/14 regression] Malformed manifest does not allow to run gcc on Windows XP (Accessing a corrupted shared library) since r13-6552-gd11e088210a551

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.3

[Bug rtl-optimization/110390] [13/14 regression] ICE on valid code on x86_64-linux-gnu with sel-scheduling: in av_set_could_be_blocked_by_bookkeeping_p, at sel-sched.cc:3609 since r13-3596-ge7310e24b1

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110390 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.3

[Bug target/105275] [12/13/14 regression] 525.x264_r and 538.imagick_r regressed on x86_64 at -O2 with PGO after r12-7319-g90d693bdc9d718

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105275 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.4

[Bug debug/92444] [11/12/13/14 regression] gcc generates wrong debug information at -O2 and -O3 since r10-4122-gf658ad3002a0af

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92444 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.5

[Bug tree-optimization/113681] [14 Regression] ICE in tree_profiling, at tree-profile.cc:803 since r14-6201-gf0a90c7d7333fc

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113681 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug tree-optimization/113681] [14 Regression] ICE in tree_profiling, at tree-profile.cc:803 since r14-6201-gf0a90c7d7333fc

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113681 Richard Biener changed: What|Removed |Added Keywords||error-recovery Target Milestone|---

[Bug rtl-optimization/113682] Branches in branchless binary search rather than cmov/csel/csinc

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113682 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug tree-optimization/110176] [11/12/13/14 Regression] wrong code at -Os and above on x86_64-linux-gnu since r11-2446

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110176 --- Comment #9 from Richard Biener --- With all VARYING we simplify i_19 = (int) _2; _6 = (int) _5; Value numbering stmt = _7 = _6 <= i_19; Applying pattern match.pd:6775, gimple-match-4.cc:1795 Match-and-simplified _6 <= i_19 to 1 where _5

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

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

[Bug middle-end/113680] Missed optimization: Redundant cmp/test instructions when comparing (x - y) > 0

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113680 Richard Biener changed: What|Removed |Added Component|rtl-optimization|middle-end

[Bug tree-optimization/113134] gcc does not version loops with early break conditions that don't have side-effects

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113134 --- Comment #20 from Richard Biener --- I think we want split_loop () handle this case. That means extending it to handle loops with multiple exits. OTOH after loop rotation to if (i_21 == 1001) goto ; [1.00%] else goto ;

[Bug tree-optimization/113630] [11/12/13 Regression] -fno-strict-aliasing introduces out-of-bounds memory access

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113630 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Summary|[11/12/13/14

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 --- Comment #10 from Richard Biener --- Hmm, I have another fix.

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > The best fix would likely be to pre-insert all the IPA-CP known constants > instead of trying to discover them "late". > > I'm testing the easy fix for now.

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 --- Comment #8 from Richard Biener --- OK, so the issue is that we're recording the IPA result with the wrong VUSE since we're calling vn_reference_lookup_2 with !data->last_vuse_ptr but data->finish (vr->set, vr->base_set, v) inserts a

[Bug tree-optimization/113670] ICE with vectors in named registers and -fno-vect-cost-model

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113670 Richard Biener changed: What|Removed |Added Known to fail|14.0| Target Milestone|---

[Bug tree-optimization/113678] SLP misses up vec_concat

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113678 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-31

[Bug tree-optimization/113677] Missing `VEC_PERM_EXPR <{a, CST}, CST, {0, 1, 2, ...}>` optimization

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113677 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-31

[Bug tree-optimization/113676] [12 Regression] Miscompilation tree-vrp __builtin_unreachable

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113676 Richard Biener changed: What|Removed |Added Target||x86_64-*-* Summary|[11/12

[Bug c++/113674] [11/12/13/14 Regression] [[____attr____]] causes internal compiler error: in decl_attributes, at attribs.cc:776

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

[Bug tree-optimization/113673] [12/13/14 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #2 from Richard Biener

[Bug regression/113672] [14 Regression] FAIL: g++.dg/pch/line-map-3.C -g -I. -Dwith_PCH (test for excess errors)

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113672 Richard Biener changed: What|Removed |Added Keywords||testsuite-fail Target Milestone|---

[Bug tree-optimization/113670] ICE with vectors in named registers and -fno-vect-cost-model

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|ASSIGNED Last reconfirmed||2024-01-31 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #3 from Richard Biener --- I'll hunt it down.

[Bug middle-end/113669] -fsanitize=undefined failed to check a signed integer overflow

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113669 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-31

[Bug go/113668] [14 Regression] libgo soname bump needed for the GCC 14 release?

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||rguenth at gcc dot gnu.org Target Milestone|--- |14.0

[Bug d/113667] [14 Regression] libgphobos symbols missing

2024-01-31 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113667 Richard Biener changed: What|Removed |Added Keywords||ABI Priority|P3

[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #13 from Richard Biener --- (In reply to JuzheZhong from comment #12) > OK. It seems it has data dependency issue: > > missed: not vectorized, possible dependence between data-refs a[i_15] and > a[_4] > > a[i_15] = _3; STMT 1 >

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #7 from Richard Biener --- I will have a look then.

[Bug ipa/113665] [11/12/13/14 regression] Regular for Loop results in Endless Loop with -O2 since r11-4987-g602c6cfc79ce4a

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113665 --- Comment #9 from Richard Biener --- (In reply to Jan Hubicka from comment #8) > > Honza - ICF seems to fixup points-to sets when merging variables, so there > > should be a way to kill off flow-sensitive info inside prevailing bodies > > as

[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #9 from Richard Biener --- (In reply to JuzheZhong from comment #8) > Hi, Richard. > > Now, I find the time to GCC vectorization optimization. > > I find this case: > > _2 = a[_1]; > ... > a[i_16] = _4; > ,,, > _7 =

[Bug tree-optimization/113659] [14 Regression] ICE Segmentation fault since r14-8355-g02e683894942da

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

[Bug target/113059] [14 regression] fftw fails tests for -O3 -m32 -march=znver2 since r14-6210-ge44ed92dbbe9d4

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113059 --- Comment #21 from Richard Biener --- (In reply to Jakub Jelinek from comment #19) > Created attachment 57258 [details] > gcc14-pr113059.patch > > So in patch form like this. Untested so far. LGTM.

[Bug target/113059] [14 regression] fftw fails tests for -O3 -m32 -march=znver2 since r14-6210-ge44ed92dbbe9d4

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113059 --- Comment #17 from Richard Biener --- (In reply to Jakub Jelinek from comment #16) > The question is revert what exactly? > If we revert r14-6210, we get back the other P1. Or do you mean revert > r14-5355? > I guess another option is move

[Bug tree-optimization/113576] [14 regression] 502.gcc_r hangs r14-8223-g1c1853a70f9422169190e65e568dcccbce02d95c

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113576 --- Comment #29 from Richard Biener --- (In reply to Hongtao Liu from comment #28) > I saw we already maskoff integral modes for vector mask in store_constructor > > /* Use sign-extension for uniform boolean vectors with >

[Bug tree-optimization/113659] [14 Regression] ICE Segmentation fault since r14-8355-g02e683894942da

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113659 --- Comment #3 from Richard Biener --- So the issue is similar to gcc.c-torture/execute/20150611-1.c, this time the main exit ends in a path without a virtual use (__builtin_unreachable ()). We can do the same as we do for the alternate exits

[Bug tree-optimization/113576] [14 regression] 502.gcc_r hangs r14-8223-g1c1853a70f9422169190e65e568dcccbce02d95c

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113576 --- Comment #27 from Richard Biener --- (In reply to Hongtao Liu from comment #25) > (In reply to Tamar Christina from comment #24) > > Just to avoid confusion, are you still working on this one Richi? > > I'm working on a patch to add a

[Bug ipa/113665] [11/12/13/14 regression] Regular for Loop results in Endless Loop with -O2

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
, ||rguenth at gcc dot gnu.org Priority|P3 |P2 --- Comment #6 from Richard Biener --- Honza - ICF seems to fixup points-to sets when merging variables, so there should be a way to kill off flow-sensitive info inside prevailing

[Bug ipa/113665] [11/12/13/14 regression] Regular for Loop results in Endless Loop with -O2

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113665 --- Comment #5 from Richard Biener --- Well, ICF figures out the other part of the partial inlined test() are equal and I think they are. The if (i >= S){ return false; } tests are inlined and eliminated (I think

[Bug tree-optimization/113664] False positive warnings with -fno-strict-overflow (-Warray-bounds, -Wstringop-overflow)

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113664 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-30

[Bug tree-optimization/113659] [14 Regression] ICE Segmentation fault since r14-8355-g02e683894942da

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2024-01-30 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/113659] [14 Regression] ICE Segmentation fault since r14-8355-g02e683894942da

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113659 --- Comment #1 from Richard Biener --- I will have a look.

[Bug debug/113562] [14 Regression] FAIL: gcc.dg/guality/pr54796.c

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113562 --- Comment #4 from Richard Biener --- (In reply to Richard Biener from comment #3) > Just to put it somewhere I ran dwlocstat on cc1plus before/after the > offending change and it looks almost the same. We go from > > cov%samples cumul >

[Bug debug/113562] [14 Regression] FAIL: gcc.dg/guality/pr54796.c

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113562 --- Comment #3 from Richard Biener --- Just to put it somewhere I ran dwlocstat on cc1plus before/after the offending change and it looks almost the same. We go from cov%samples cumul 0..10 1280217/38% 1280217/38% 11..20 55668/1%

[Bug rtl-optimization/113597] [14 Regression] aarch64: Significant code quality regression since r14-8346-ga98d5130a6dcff

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113597 Richard Biener changed: What|Removed |Added Attachment #57214|0 |1 is obsolete|

[Bug tree-optimization/113622] [11/12/13 Regression] ICE with vectors in named registers

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622 Richard Biener changed: What|Removed |Added Known to work||14.0 Summary|[11/12/13/14

[Bug target/113652] [14 regression] Failed bootstrap on ppc unrecognized opcode: `lfiwzx' with -mcpu=7450

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113652 Richard Biener changed: What|Removed |Added Target||powerpc Target Milestone|---

[Bug middle-end/113651] The GCC optimizer performs poorly on a very simple code snippet.

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

[Bug c/113650] __builtin_nonlocal_goto ICEs when passed 0 as arguments

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113650 --- Comment #1 from Richard Biener --- I don't think these are supposed to be used by the user ...

[Bug tree-optimization/113622] [11/12/13/14 Regression] ICE with vectors in named registers

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622 --- Comment #16 from Richard Biener --- typedef double __attribute__ ((vector_size (16))) vec; void test (void) { register vec a asm("xmm1"), b asm("xmm2"), c asm("xmm3"); for (int i = 0; i < 2; i++) c[i] = a[i] < b[i] ? 0.1 : 0.2; }

[Bug tree-optimization/113622] [11/12/13/14 Regression] ICE with vectors in named registers

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622 --- Comment #15 from Richard Biener --- (In reply to Jakub Jelinek from comment #11) > I think it is most important we don't ICE and generate correct code. I > doubt this is used too much in real-world code, otherwise it would have been >

[Bug tree-optimization/113622] [11/12/13/14 Regression] ICE with vectors in named registers

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622 --- Comment #10 from Richard Biener --- (In reply to Jakub Jelinek from comment #8) > Guess for an rvalue (if even that crashes) we want to expand it to some > permutation or whole vector shift which moves the indexed elements first and > then

[Bug gcov-profile/113646] PGO hurts run-time of 538.imagick_r as much as 68% at -Ofast -march=native

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113646 Richard Biener changed: What|Removed |Added Keywords||missed-optimization --- Comment #1

[Bug c/113631] FAIL: gcc.dg/pr7356.c, fix still fails with #pragma

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113631 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-29

[Bug c++/113644] [14 regression] ICE when building libcxxabi-16.0.6 since r14-6520

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113644 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/113630] [11/12/13/14 Regression] -fno-strict-aliasing introduces out-of-bounds memory access

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #5 from Richard Biener --- (In reply to Andrew Pinski from comment #2) > Confirmed. > > I really think what PRE does is correct here since we have an aliasing set > of 0 for both. Now what is incorrect is hoist_ad

[Bug tree-optimization/113630] [11/12/13/14 Regression] -fno-strict-aliasing introduces out-of-bounds memory access

2024-01-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113630 --- Comment #4 from Richard Biener --- (In reply to Andrew Pinski from comment #3) > Note LLVM produces decent code here by only using one load: > ``` > xor eax, eax > testesi, esi > seteal > mov

[Bug target/113625] Interesting behavior with and without -mcpu=generic

2024-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113625 --- Comment #1 from Richard Biener --- Other targets (x86_64) default to -mtune=generic. Maybe configure time selection somehow interferes with this on aarch64?

[Bug tree-optimization/113622] [11/12/13/14 Regression] ICE with vectors in named registers

2024-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113622 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/113618] [14 Regression] AArch64: memmove idiom regression

2024-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113618 --- Comment #2 from Richard Biener --- It might be good to recognize this pattern in strlenopt or a related pass. A purely local transform would turn it into memcpy (temp, a, 64); memmove (b, a, 64); relying on DSE to eliminate the

[Bug debug/103047] Inconsistent arguments ordering for inlined subroutine

2024-01-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103047 Richard Biener changed: What|Removed |Added Known to work||14.0 Target Milestone|---

[Bug debug/29461] inconsistent variable output

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

[Bug debug/27672] C frontend does not generate line information for multi-line conditions

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27672 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ada/26827] "GNAT BUG DETECTED" on compile GPS 1.3.1/gtkada

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26827 Richard Biener changed: What|Removed |Added Last reconfirmed||2024-01-26 CC|

[Bug debug/103047] Inconsistent arguments ordering for inlined subroutine

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||2024-01-26 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Known to fail||13.2.1 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Richard Biener --- Confirmed, still happens. But maybe

[Bug debug/23551] dwarf records for inlines appear incomplete

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23551 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug debug/19954] Compiler emits incomplete structure type

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19954 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug debug/14169] Unneeded base types output in dwarf2

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14169 Richard Biener changed: What|Removed |Added Last reconfirmed|2005-12-28 06:11:40 |2024-1-26 --- Comment #2 from Richard

[Bug tree-optimization/113539] [14 Regression] perlbench miscompiled on aarch64 since r14-8223-g1c1853a70f

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113539 --- Comment #8 from Richard Biener --- Does this still happen after r14-8413-g578c7b91f418eb?

[Bug tree-optimization/113467] [14 regression] libgcrypt-1.10.3 is miscompiled

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113467 --- Comment #22 from Richard Biener --- Is this fixed meanwhile?

[Bug c/85800] A miscompilation bug with unsigned char

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

[Bug target/113615] New: internal compiler error: in extract_insn, at recog.cc:2812

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- I'm seeing a lot of ICEs like this when running libgomp testsuite with offloading for gfx1030. /space/rguenther/src/gcc-autopar_devel

[Bug tree-optimization/113602] ICE: in vn_reference_maybe_forwprop_address, at tree-ssa-sccvn.cc:1426 with invalid _BitInt() register asm with -O2 -fno-tree-loop-optimize

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

[Bug c++/113612] [13/14 Regression] ICE: SIGSEGV in get_template_info (pt.cc:378) or tree_check (tree.h:3611) with invalid -fpreprocessed

2024-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113612 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug tree-optimization/113602] ICE: in vn_reference_maybe_forwprop_address, at tree-ssa-sccvn.cc:1426 with invalid _BitInt() register asm with -O2 -fno-tree-loop-optimize

2024-01-26 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 --- (gdb) p tem.last () $2 = (vn_reference_op_struct &) @0x7fffc820: {opcode = VAR_DECL, clique = 0, base = 0, reverse = 0, align = 0, off = {coeffs = {-1}}, type = , op0 = , op1 = , op2 = }

[Bug target/113600] [14 regression] 525.x264_r run-time regresses by 8% with PGO -Ofast -march=znver4

2024-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113600 --- Comment #3 from Richard Biener --- I'll note that esp. two-lane reductions (or in general two-lane BB vectorization) is hardly profitable on modern x86 uarchs unless the vectorized code is interleaved with other non-vectorized code that can

[Bug middle-end/113596] Stack memory leakage caused by inline alloca

2024-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113596 --- Comment #10 from Richard Biener --- (In reply to Jakub Jelinek from comment #9) > Created attachment 57215 [details] > gcc14-pr113596.patch > > Untested patch to do that. > The disadvantage of doing that is that it may penalize inline

[Bug rtl-optimization/113597] [14 Regression] aarch64: Significant code quality regression since r14-8346-ga98d5130a6dcff

2024-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113597 --- Comment #12 from Richard Biener --- Created attachment 57214 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57214=edit prototype fix The attached prototype fixes the testcase for me.

[Bug rtl-optimization/113597] [14 Regression] aarch64: Significant code quality regression since r14-8346-ga98d5130a6dcff

2024-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113597 --- Comment #11 from Richard Biener --- In DSE the only differences is fbt (0x751a1a50: (plus:DI (reg/v/f:DI 117 [ u ]) -(reg:DI 146 [ _44 ]))) == (address 0) +(reg:DI 146 [ _44 ]))) == (nil) fbt (0x7700b3c0: (reg/f:DI 64

[Bug other/113575] [14 Regression] memory hog building insn-opinit.o (i686-linux-gnu -> riscv64-linux-gnu)

2024-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113575 --- Comment #13 from Richard Biener --- (In reply to Robin Dapp from comment #12) > Created attachment 57209 [details] > Tentative > > I tested the attached "fix". On my machine with 13.2 host compiler it > reduced the build time for

[Bug rtl-optimization/113597] [14 Regression] aarch64: Significant code quality regression since r14-8346-ga98d5130a6dcff

2024-01-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113597 --- Comment #10 from Richard Biener --- Created attachment 57212 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57212=edit patch for debugging Btw, I've used the attached to investigate other issues with the change. It will show the

<    4   5   6   7   8   9   10   11   12   13   >