[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-28 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #11 from Stefan Schulze Frielinghaus --- I gave the new patch a try and can confirm that it works, now. Thanks for taking care of this!

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-16 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #9 from Stefan Schulze Frielinghaus --- Argh I forgot to add the isnormal optab for this PR. Just attached it. With this I get for an unoptimized run gm2 testisnormal.mod -O0 -S -c -fdump-tree-optimized grep brasl testisnormal.s

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-16 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #8 from Stefan Schulze Frielinghaus --- Created attachment 58689 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58689=edit isnormal optab for s390

[Bug plugins/112520] gcc.dg/plugin/cpython-plugin-test-PyList_Append.c -fplugin=./analyzer_cpython_plugin.so ICE (segmentation fault) with Python 3.12+

2024-07-15 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112520 --- Comment #7 from Stefan Schulze Frielinghaus --- As noted by Xi struct layouts have changed in Python 3.12. If I understand the plugin correctly, then it should actually track those values. In order to do so an implementation would need

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 --- Comment #6 from Stefan Schulze Frielinghaus --- I probably missed something but shouldn't FoldBuiltinFunction emit a call to __builtin_isnormal whereas currently after gimplification we end up with: _T50 = isnormal (1.0e+0);

[Bug modula2/115823] Wrong expansion of isnormal optab

2024-07-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|FIXED |---

[Bug rtl-optimization/115860] New: Register pairs and regrename

2024-07-10 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115860 Bug ID: 115860 Summary: Register pairs and regrename Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug rtl-optimization/115835] [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e

2024-07-09 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115835 --- Comment #2 from Stefan Schulze Frielinghaus --- Created attachment 58615 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58615=edit late_combine2

[Bug rtl-optimization/115835] [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e

2024-07-09 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115835 --- Comment #1 from Stefan Schulze Frielinghaus --- Created attachment 58614 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58614=edit late_combine1

[Bug rtl-optimization/115835] New: [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e

2024-07-09 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115835 Bug ID: 115835 Summary: [15 regression] FAIL: gcc.target/s390/section-anchors.c since r15-1579-g792f97b44ffc5e Product: gcc Version: unknown Status:

[Bug modula2/115823] New: Wrong expansion of isnormal optab

2024-07-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115823 Bug ID: 115823 Summary: Wrong expansion of isnormal optab Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/115804] ICE during gimplification with new isfinite optab

2024-07-07 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115804 --- Comment #5 from Stefan Schulze Frielinghaus --- I did a quick test and with diff --git a/gcc/m2/gm2-gcc/m2builtins.cc b/gcc/m2/gm2-gcc/m2builtins.cc index cfb4751e15a..4263a4e297f 100644 --- a/gcc/m2/gm2-gcc/m2builtins.cc +++

[Bug modula2/115804] ICE during gimplification with new isfinite optab

2024-07-06 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115804 --- Comment #4 from Stefan Schulze Frielinghaus --- Breakpoint 12, gimplify_stmt (stmt_p=0x3fff76306c0, seq_p=0x3ff7f50) at /devel/src/gcc/gimplify.cc:7590 7590 last = gimple_seq_last (*seq_p); (gdb) call debug(*stmt_p) { a =

[Bug modula2/115804] ICE during gimplification with new isfinite optab

2024-07-06 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115804 --- Comment #1 from Stefan Schulze Frielinghaus --- Created attachment 58596 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58596=edit New optab isfinitedf2 for s390

[Bug modula2/115804] New: ICE during gimplification with new isfinite optab

2024-07-06 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115804 Bug ID: 115804 Summary: ICE during gimplification with new isfinite optab Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/115634] [15 regression] s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-27 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/115634] [15 regression] s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-26 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 --- Comment #5 from Stefan Schulze Frielinghaus --- Sent a slightly adapted patch https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655705.html Thanks for your quick help in fixing this. Very much appreciated!

[Bug target/115634] [15 regression] s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-26 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 --- Comment #4 from Stefan Schulze Frielinghaus --- I gave if (op && (!REG_P (op) || (reload_completed && HARD_REGISTER_P (op) && REGNO_REG_CLASS (REGNO (op)) != ADDR_REGS))) return false; a quick

[Bug rtl-optimization/115634] New: s390 bootstrap failure since r15-1579-g792f97b44ffc5e

2024-06-25 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115634 Bug ID: 115634 Summary: s390 bootstrap failure since r15-1579-g792f97b44ffc5e Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/115519] s390 fallout from removing vcond{,u,eq} patterns

2024-06-24 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115519 --- Comment #3 from Stefan Schulze Frielinghaus --- The failing autovec-long-double-signaling-*.c tests stem from the fact that vcond_mask_mn is not implemented for V1TF which can be easily done by simply switching to VT mode iterator and

[Bug target/115519] s390 fallout from removing vcond{,u,eq} patterns

2024-06-24 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115519 --- Comment #2 from Stefan Schulze Frielinghaus --- Just saw on the ML that a match.pd fix already exists https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655484.html A quick test shows that this fixes vcond-shift.c where we now emit

[Bug rtl-optimization/115261] [11/12/13/14/15 regression] FAIL: gcc.target/s390/vector/vec-abi-vararg-1.c

2024-06-24 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115261 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/115519] s390 fallout from removing vcond{,u,eq} patterns

2024-06-18 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115519 --- Comment #1 from Stefan Schulze Frielinghaus --- For example, for function vesrlf_ge from vcond-shift.c we do not end up with vl %v2,0(%r2),3 vl %v0,16(%r2),3 lgr %r1,%r2 vesrlf %v4,%v2,31 vesrlf %v6,%v0,31 vst

[Bug target/115519] New: s390 fallout from removing vcond{,u,eq} patterns

2024-06-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115519 Bug ID: 115519 Summary: s390 fallout from removing vcond{,u,eq} patterns Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/85559] [meta-bug] Improve conditional move

2024-06-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85559 Bug 85559 depends on bug 109549, which changed state. Bug 109549 Summary: [14/15 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 What

[Bug testsuite/109549] [14/15 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-06-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Stefan Schulze Frielinghaus changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug testsuite/109549] [14/15 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-06-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 --- Comment #21 from Stefan Schulze Frielinghaus --- Fixed for GCC 14 and 15 for s390.

[Bug rtl-optimization/115261] [11/12/13/14/15 regression] FAIL: gcc.target/s390/vector/vec-abi-vararg-1.c

2024-05-29 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115261 --- Comment #2 from Stefan Schulze Frielinghaus --- Thanks for the pointer. Indeed, adding an extendv2siv2di pattern solves this and the code looks optimal then. I will come up with a patch.

[Bug rtl-optimization/115261] New: FAIL: gcc.target/s390/vector/vec-abi-vararg-1.c

2024-05-28 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115261 Bug ID: 115261 Summary: FAIL: gcc.target/s390/vector/vec-abi-vararg-1.c Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/110490] tree-ssa/clz-* and tree-ssa/ctz-* fail on s390x with arch14 (expression_expensive_p not handling if there is wider clz/ctz/popcount optab)

2024-05-08 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110490 Stefan Schulze Frielinghaus changed: What|Removed |Added Resolution|--- |FIXED

[Bug tree-optimization/110490] tree-ssa/clz-* and tree-ssa/ctz-* fail on s390x with arch14 (expression_expensive_p not handling if there is wider clz/ctz/popcount optab)

2024-04-26 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110490 Stefan Schulze Frielinghaus changed: What|Removed |Added CC||stefansf at gcc dot

[Bug target/114432] [13 Regression] ICE in connect_traces, at dwarf2cfi.cc:3079 on s390x-linux-gnu

2024-04-22 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114432 --- Comment #4 from Stefan Schulze Frielinghaus --- Ignore the previous comment. With -fstack-check and -mbackchain we have for trace 2 an incoming edge from trace 1 (fallthrough) where cur_trace->end_true_args_size == 48 and from further

[Bug middle-end/114802] New: FAIL: gcc.dg/tree-ssa/forwprop-40.c and forwprop-41.c on s390

2024-04-22 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114802 Bug ID: 114802 Summary: FAIL: gcc.dg/tree-ssa/forwprop-40.c and forwprop-41.c on s390 Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug target/114432] [13 Regression] ICE in connect_traces, at dwarf2cfi.cc:3079 on s390x-linux-gnu

2024-04-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114432 --- Comment #3 from Stefan Schulze Frielinghaus --- Created attachment 57971 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57971=edit dwarf2cfi dump for alog-active_logger.adb

[Bug target/114432] [13 Regression] ICE in connect_traces, at dwarf2cfi.cc:3079 on s390x-linux-gnu

2024-04-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114432 --- Comment #2 from Stefan Schulze Frielinghaus --- Fails for function alog.active_logger.logging_taskT and trace 2 whose heads are (gdb) call debug(ti->head) (code_label 48 573 49 152 (nil) [2 uses]) (gdb) call debug(ti->eh_head) (insn 57

[Bug target/114432] [13 Regression] ICE in connect_traces, at dwarf2cfi.cc:3079 on s390x-linux-gnu

2024-04-17 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114432 Stefan Schulze Frielinghaus changed: What|Removed |Added Last reconfirmed||2024-4-17

[Bug tree-optimization/114678] FAIL: gcc.dg/tree-ssa/range-sincos.c scan-tree-dump-not evrp "link_error" on s390

2024-04-12 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114678 --- Comment #5 from Stefan Schulze Frielinghaus --- Ok, done in https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649367.html

[Bug tree-optimization/114678] FAIL: gcc.dg/tree-ssa/range-sincos.c scan-tree-dump-not evrp "link_error" on s390

2024-04-11 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114678 --- Comment #3 from Stefan Schulze Frielinghaus --- Thanks for the pointer. I can confirm that the patch fixes this PR and also fixes FAIL: gcc.dg/tree-ssa/vrp-float-abs-1.c scan-tree-dump-not evrp "link_error"

[Bug tree-optimization/114678] New: FAIL: gcc.dg/tree-ssa/range-sincos.c scan-tree-dump-not evrp "link_error" on s390

2024-04-10 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114678 Bug ID: 114678 Summary: FAIL: gcc.dg/tree-ssa/range-sincos.c scan-tree-dump-not evrp "link_error" on s390 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug testsuite/109549] [14 Regression] Conditional move regressions after r14-53-g675b1a7f113adb1d737adaf78b4fd90be7a0ed1a

2024-03-25 Thread stefansf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109549 Stefan Schulze Frielinghaus changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |stefansf at gcc