[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since r14-9193

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114151 --- Comment #10 from Richard Biener --- (In reply to Andrew Macleod from comment #9) > Created attachment 57620 [details] > proposed patch > > Does this solve your problem if there is an active ranger? it bootstraps > with no regressions

[Bug tree-optimization/112307] Segmentation fault with -O1 -fcode-hoisting

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112307 --- Comment #6 from Richard Biener --- Thanks, so keeping this open but it will likely end up INVALID.

[Bug tree-optimization/114239] [14 regression] ice: error: definition in block does not dominate use in block

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|P1 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Target Milestone|--- |14.0 Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2024-03-05 --- Comment #2 from Richard

[Bug tree-optimization/114236] introduce unnecessary store operation when unrolling a loop

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|--- |WONTFIX CC||rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- Executing store motion of MEM[(short int *)_16] from loop 2 Re-issueing dependent store of *g_70.2_4 from loop 2 on exit 4 -> 5 Moving statement The ex

[Bug tree-optimization/112307] Segmentation fault with -O1 -fcode-hoisting

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112307 Richard Biener changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment

[Bug tree-optimization/114231] [12/13 Regression] ICE when building libjxl

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231 Richard Biener changed: What|Removed |Added Summary|[12/13/14 regression] ICE |[12/13 Regression] ICE when

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #44 from Richard Biener --- (In reply to Richard Sandiford from comment #42) > Created attachment 57605 [details] > proof-of-concept patch to suppress peeling for gaps > > How about the attached? It records whether all accesses

[Bug target/114232] [14 regression] ICE when building rr-5.7.0 with LTO on x86

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114232 --- Comment #11 from Richard Biener --- (In reply to Uroš Bizjak from comment #10) > Created attachment 57612 [details] > Prototype patch > > Let's try this approach. Yeah, I guess !TARGET_PARTIAL_REG_STALL || optimize_function_for_size_p

[Bug tree-optimization/114231] [12/13/14 regression] ICE when building libjxl

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114231 --- Comment #12 from Richard Biener --- So the immediate reason is that between analysis and transform whether we consider the shift vectorizable changes. That's because we code generated a live lane which ended up changing operands in stmts

[Bug target/114232] [14 regression] ICE when building rr-5.7.0 with LTO on x86

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114232 --- Comment #8 from Richard Biener --- > grep optimize_ insn-flags.h | wc -l 14 so it's not very many standard patterns that would be affected. I'd say using these kind of flags on standard patterns is at least fragile?

[Bug target/114232] [14 regression] ICE when building rr-5.7.0 with LTO on x86

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
||hubicka at gcc dot gnu.org, ||rguenth at gcc dot gnu.org --- Comment #7 from Richard Biener --- I think the question is more whether it's stable between optab queries the vectorizer or veclower does and RTL expansion. There whether

[Bug target/114232] [14 regression] ICE when building rr-5.7.0 with LTO on x86

2024-03-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114232 --- Comment #6 from Richard Biener --- It's possibly on a cold path (yes, optimize_function_for_size_p should be stable). Note though that optimize_function_for_size_p might in theory change between vectorization and RTL expansion, so maybe

[Bug tree-optimization/114231] [12/13/14 regression] ICE when building libjxl

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

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #40 from Richard Biener --- So I wonder if we can use "local costing" to decide a gather is always OK compared to the alternative with peeling for gaps. On x86 gather tends to be slow compared to open-coding it. In the future we

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #37 from Richard Biener --- (In reply to Richard Sandiford from comment #36) > Created attachment 57602 [details] > proof-of-concept patch to suppress peeling for gaps > > This patch does what I suggested in the previous comment:

[Bug middle-end/114197] [14 regression] ICE in verify_dominators

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

[Bug middle-end/114197] [14 regression] ICE in verify_dominators

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

[Bug target/114187] [14 regression] bizarre register dance on x86_64 for pass-by-value struct since r14-2526

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

[Bug rtl-optimization/114190] [14 regression] Wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

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

[Bug tree-optimization/114108] [14 regression] ICE when building opencv-4.8.1 (error: type mismatch in binary expression) since r14-1833

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

[Bug ada/113536] [14 regression] valid reduction expression rejected

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

[Bug ada/113979] [11/12/13/14 regression] bogus error on allocator for type with Dynamic_Predicate

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

[Bug ada/113979] [11/12/13/14 regression] bogus error on allocator for type with Dynamic_Predicate

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

[Bug analyzer/113619] [14 Regression] -Wanalyzer-tainted-divisor false positive seen in Linux kernel's fs/ceph/ioctl.c

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

[Bug analyzer/113606] [14 Regression] -Wanalyzer-infinite-recursion false positive on code involving strstr, memset, strnlen and -D_FORTIFY_SOURCE

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

[Bug analyzer/113505] [14 Regression] ICE: SIGSEGV in tree_class_check (tree.h:3766) with -O -fdump-analyzer -fanalyzer

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

[Bug analyzer/113496] [12/13/14 Regression] ICE: in cmp, at analyzer/constraint-manager.cc:782 with -fanalyzer -fdump-analyzer

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

[Bug analyzer/113314] [14 Regression] -Wanalyzer-infinite-loop false positive seen on haproxy's fd.c

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

[Bug analyzer/113150] [14 Regression] FAIL: c-c++-common/analyzer/fd-glibc-byte-stream-socket.c -std=c++98 (test for excess errors)

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

[Bug analyzer/112975] [14 Regression] -Wanalyzer-tainted-allocation-size false positive seen in Linux kernel's drivers/xen/privcmd.c

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

[Bug target/112548] [14 regression] 5% exec time regression in 429.mcf on AMD zen4 CPU (since r14-5076-g01c18f58d37865)

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

[Bug analyzer/112974] [14 Regression] -Wanalyzer-tainted-array-index false positive seen on Linux kernel drivers/platform/x86/intel/speed_select_if/isst_tpmi_core.c

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

[Bug analyzer/111441] [14 Regression] ICE generating access diagram, in fold_binary_loc, at fold-const.cc:11580

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

[Bug c++/111075] [14 Regression] ICE on g++.dg/torture/tail-padding1.C on darwin

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

[Bug analyzer/111099] [13/14 Regression] -fanalyzer -Os segmentation fault due to infinite recursion in ana::constraint_manager::eval_condition

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

[Bug analyzer/110285] [13/14 Regression] -Wanalyzer-infinite-recursion false positive involving floating-point values

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

[Bug analyzer/111305] [13/14 Regression] GCC Static Analyzer -Wanalyzer-out-of-bounds FP and ICE problem

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

[Bug analyzer/110928] [14 Regression] ICE with -fanalyzer on -Wanalyzer-out-of-bounds checker

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

[Bug analyzer/108722] [13/14 Regression] gcc.dg/analyzer/file-CWE-1341-example.c fails on power 9 BE

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

[Bug analyzer/109851] [13/14 Regression] False positive va_arg when iterating through format string with for-loop

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

[Bug analyzer/109251] [13/14 Regression] -Wanalyzer-deref-before-check false positives seen in Linux kernel due to check in macros

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

[Bug analyzer/109131] [13/14 Regression] -Wanalyzer-deref-before-check false positive seen in git's builtin/show-ref.c

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

[Bug analyzer/108400] [12/13/14 Regression] -Wanalyzer-null-dereference false positive on SoftEtherVPN's src/Cedar/WebUI.c

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

[Bug analyzer/109014] [13/14 Regression] -Wanalyzer-use-of-uninitialized-value seen in pcre2-10.42's pcre2test.c

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

[Bug analyzer/108708] [13/14 Regression] __analyzer_dump_named_constant fails with derived values

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

[Bug debug/92387] [11/12/13 Regression] gcc generates wrong debug information at -O1 since r10-1907-ga20f263ba1a76a

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

[Bug debug/92387] [11/12/13/14 regression] gcc generates wrong debug information at -O1 since r10-1907-ga20f263ba1a76a

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

[Bug tree-optimization/114164] simdclone vectorization creates unsupported IL

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

[Bug middle-end/114197] [14 regression] ICE in verify_dominators

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114197 --- Comment #5 from Richard Biener --- The issue is really unexpected if-conversion which ends up putting the vector copy of an innner loop outside of the enclosing loop of a scalar loop. Such mishap usually happens because of simplifications.

[Bug middle-end/114197] [14 regression] ICE in verify_dominators

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

[Bug tree-optimization/114203] [13 Regression] Miscompilation: A possible miscompilation in GCC 13 and 14 with option -Os

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

[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

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

[Bug c/114226] ICE on valid vanilla code when xtheadvector enabled

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

[Bug target/114222] gcc.c-torture/execute/builtin-bitops-1.c fails for H8/300

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114222 Richard Biener changed: What|Removed |Added Component|testsuite |target Keywords|

[Bug target/114211] [13/14 Regression] wrong code with -O -fno-tree-coalesce-vars

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

[Bug rtl-optimization/114208] RTL DSE deletes a store that is not dead

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114208 Richard Biener changed: What|Removed |Added Keywords||needs-bisection --- Comment #4 from

[Bug tree-optimization/114206] recursive function call vs local variable addresses

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

[Bug tree-optimization/114203] [13/14 Regression] Miscompilation: A possible miscompilation in GCC 13 and 14 with option -Os

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

[Bug middle-end/114198] [14] RISC-V fixed-length vector -flto ICE: in vectorizable_load, at tree-vect-stmts.cc:10570

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114198 --- Comment #1 from Richard Biener --- Probably also with -fwhole-program instead of -flto

[Bug middle-end/114197] [14 regression] ICE in verify_dominators

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

[Bug tree-optimization/114193] missed early break vectorization of reduction

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

[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114192 --- Comment #4 from Richard Biener --- vect-early-break_104-pr113373.c might be such case which ICEs then.

[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114192 --- Comment #3 from Richard Biener --- Created attachment 57600 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57600=edit patch Ah, so the issue is that we only replace the LHS, in this case we pass the reduction stmt for the early exit

[Bug tree-optimization/114192] scalar code left around following early break vectorization of reduction

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

[Bug other/114191] Flags "Warning" and "Target" don't mix well in target.opt files

2024-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
CC||rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener --- I think there's no way to mark Warning options as target specific, 'Target' isn't a flag, it's the main keyword. How did you specify 'Target'? I think that Wmisspelled-isr Target C C++ Var

[Bug rtl-optimization/114190] [14 regression] Wrong code with -O2 -fno-dce -fharden-compares -mvpclmulqdq --param=max-rtl-if-conversion-unpredictable-cost=136

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

[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since r14-9193

2024-03-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114151 --- Comment #8 from Richard Biener --- (In reply to Andrew Macleod from comment #7) > (In reply to Richard Biener from comment #6) > > (In reply to Andrew Macleod from comment #5) > > > (In reply to rguent...@suse.de from comment #4) > > > > >

[Bug tree-optimization/111478] [12 Regression] aarch64 SVE ICE: in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250

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

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 --- Comment #5 from Richard Biener --- (In reply to Iain Buclaw from comment #4) > Removed druntime dependency. > --- > import gcc.builtins; > struct Token { > string label; > } > struct BreakStatement { > ulong pad; > Token label;

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #1 from Richard Biener --- The following shows them all: grep 'vcond[

[Bug target/114189] New: Target implements obsolete vcond{,u,eq} expanders

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- The listed targets implement any of vcond, vcondu or vcondeq expanders where the modern way of exposing vector conditional instructions is using mask generating vec_cmp

[Bug tree-optimization/114164] simdclone vectorization creates unsupported IL

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114164 --- Comment #5 from Richard Biener --- The following fixes this, it also shows that even with -mavx2 we don't support this (as was expected after the analysis). Note since we emit mask ? {true,..} : {false,...} we only support in-branch clones

[Bug tree-optimization/113441] [14 Regression] Fail to fold the last element with multiple loop since g:2efe3a7de0107618397264017fb045f237764cc7

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113441 --- Comment #32 from Richard Biener --- (In reply to Richard Sandiford from comment #31) > (In reply to Tamar Christina from comment #29) > > This works fine for normal gather and scatters but doesn't work for widening > > gathers and narrowing

[Bug tree-optimization/114164] simdclone vectorization creates unsupported IL

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 Last reconfirmed||2024-03-01 --- Comment #4 from Richard Biener --- Ah, yes - we're not trying to do anything special if the mask and arg mask types have

[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since g:a0b1798042d033fd2cc2c806afbb77875dd2909b

2024-03-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114151 --- Comment #6 from Richard Biener --- (In reply to Andrew Macleod from comment #5) > (In reply to rguent...@suse.de from comment #4) > > > > > What was definitely missing is consideration of POLY_INT_CSTs (and > > variable polys, as I think

[Bug middle-end/114185] Missed tail-call optimization due to an argument whose address is taken

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

[Bug d/114171] [13/14 Regression] gdc -O2 -mavx generates misaligned vmovdqa instruction

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

[Bug target/113994] [13/14 Regression] Probable C++ code generation bug with -O2 on s390x platform

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 --- Comment #11 from Richard Biener --- (In reply to Richard Biener from comment #9) > Ick, it's via iv_analysis_loop_init used from doloop and unroll. In that context I'll note that if it is doloop itself that does the DF live query then it's

[Bug target/113994] [13/14 Regression] Probable C++ code generation bug with -O2 on s390x platform

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 --- Comment #9 from Richard Biener --- Ick, it's via iv_analysis_loop_init used from doloop and unroll.

[Bug target/113994] [13/14 Regression] Probable C++ code generation bug with -O2 on s390x platform

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 --- Comment #8 from Richard Biener --- Created attachment 57574 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57574=edit patch A quick-and-dirty thing would be indeed to simply include all exit blocks like with the attached. I'll note

[Bug tree-optimization/114166] word_mode vectorization still relies on vector lowering

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

[Bug tree-optimization/114166] word_mode vectorization still relies on vector lowering

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114166 --- Comment #1 from Richard Biener --- g++.dg/opt/pr82929.C with -m32, that is.

[Bug tree-optimization/114166] New: word_mode vectorization still relies on vector lowering

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- When the vectorizer decides to use emulated vectors for operations the target doesn't support and the vector types do not have

[Bug tree-optimization/114164] simdclone vectorization creates unsupported IL

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

[Bug tree-optimization/114164] New: simdclone vectorization creates unsupported IL

2024-02-29 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: --- For g++.dg/vect/pr68762-1.cc the simdclone vectorization with -mavx creates mask__18.266_50 = vect__8.265_48 == { 0, 0, 0, 0 }; _52 = VEC_COND_EXPR

[Bug ipa/114161] Missing Loop Optimization for Unexecuted Loop

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

[Bug tree-optimization/114162] Missing Optimization: Loop is vectorized instead of removed

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114162 --- Comment #2 from Richard Biener --- Time for a final-value-replacement meta-bug...

[Bug analyzer/114159] [13/14 Regression] ICE: in call_info, at analyzer/call-info.cc:143 with -fanalyzer -fanalyzer-call-summaries --param=analyzer-max-svalue-depth=0

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

[Bug tree-optimization/114154] gcc.dg/vect/vect-alias-check-1.c XPASSes

2024-02-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114154 Richard Biener changed: What|Removed |Added Blocks||114074 --- Comment #2 from Richard

[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since g:a0b1798042d033fd2cc2c806afbb77875dd2909b

2024-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114151 --- Comment #2 from Richard Biener --- Yep, it seems to only pick up global ranges that way. diff --git a/gcc/tree-ssa-loop-ivopts.cc b/gcc/tree-ssa-loop-ivopts.cc index 7cae5bdefea..626fc5bf5d7 100644 --- a/gcc/tree-ssa-loop-ivopts.cc +++

[Bug tree-optimization/114151] [14 Regression] weird and inefficient codegen and addressing modes since g:a0b1798042d033fd2cc2c806afbb77875dd2909b

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

[Bug tree-optimization/108355] [13/14 Regression] Dead Code Elimination Regression at -O2 since r13-2772-g9baee6181b4e42

2024-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108355 Richard Biener changed: What|Removed |Added Keywords||xfail Summary|[13

[Bug tree-optimization/114121] wrong code with _BitInt() arithmetics at -O2

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

[Bug libquadmath/114140] different results for std::fmin/std::fmax and quadmath fminq/fmaxq if one argument=signaling_NaN

2024-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114140 --- Comment #17 from Richard Biener --- (In reply to Xi Ruoyao from comment #16) > (In reply to Richard Biener from comment #15) > > It's the old argument on whether isnan(NaN) should return true or false with > > -ffinite-math-only. With what

[Bug tree-optimization/114145] Missed optimization of loop deletion

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

[Bug tree-optimization/114041] wrong code with _BitInt() and -O -fgraphite-identity

2024-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114041 --- Comment #10 from Richard Biener --- (In reply to Jakub Jelinek from comment #9) > Created attachment 57554 [details] > gcc14-pr114041.patch > > stmt_simple_for_scop_p tests for INTEGRAL_TYPE_P (it used to test > INTEGER_TYPE some years

[Bug c++/114128] ice with -fstrub=internal

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

[Bug libquadmath/114140] different results for std::fmin/std::fmax and quadmath fminq/fmaxq if one argument=signaling_NaN

2024-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114140 --- Comment #15 from Richard Biener --- It's the old argument on whether isnan(NaN) should return true or false with -ffinite-math-only. With what we currently do "constant folding" sNaN into NaN would be correct with -fno-signalling-nans,

[Bug target/114134] [14 Regression] Extra mov instructions for simple function compared with GCC13

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

[Bug target/114130] [11/12/13/14 Regression] RISC-V: `__atomic_compare_exchange` does not use sign-extended value for RV64

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

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