[Bug middle-end/109493] Broken O2 optimization on s390x in GCC 13

2023-04-13 Thread mitskevichmn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109493 --- Comment #6 from Mikhail Mitskevich --- (In reply to Sam James from comment #3) > It's unclear to me from the reports if this started with GCC 13 or if it > always failed on s390x. Could you clarify? Thanks. I have run this test on GCC 12 on

[Bug middle-end/109493] Broken O2 optimization on s390x in GCC 13

2023-04-12 Thread mitskevichmn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109493 --- Comment #5 from Mikhail Mitskevich --- (In reply to Sam James from comment #3) > It's unclear to me from the reports if this started with GCC 13 or if it > always failed on s390x. Could you clarify? Thanks. This test works on GCC 10 and GCC

[Bug middle-end/109493] Broken O2 optimization on s390x in GCC 13

2023-04-12 Thread mitskevichmn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109493 --- Comment #4 from Mikhail Mitskevich --- (In reply to Andrew Pinski from comment #1) > belt_mac_st* st = &state; > belt_mac_st* st2 = &state2; > ((word*)(st->s))[0] = 0, ((word*)(st->s))[1] = 0; > ((word*)(st->r))[0] = 0, ((word*)(st->r))[

[Bug c/109493] New: Broken O2 optimization on s390x in GCC 13

2023-04-12 Thread mitskevichmn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109493 Bug ID: 109493 Summary: Broken O2 optimization on s390x in GCC 13 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c