gcc-15-3087-gb07f8a301158: FAIL: 2 regressions

Description

Commit: https://github.com/gcc-mirror/gcc/commit/b07f8a301158e53717b8688cc8ea430b6f02574c
commit gcc-15-3087-gb07f8a301158
Author: Andrew Pinski <quic_apinski@quicinc.com>
Date: Wed Aug 21 17:41:38 2024 -0700

fold: Fix `a * 1j` if a has side effects [PR116454]

The problem here was a missing save_expr around arg0 since
it is used twice, once in REALPART_EXPR and once in IMAGPART_EXPR.
Thia adds the save_expr and reformats the code slightly so it is a
little easier to understand. It excludes the case when arg0 is
a COMPLEX_EXPR since in that case we'll end up with the distinct
... 19 lines of the commit log omitted.

Latest data: https://git-us.linaro.org/toolchain/ci/interesting-commits.git/plain/gcc/sha1/b07f8a301158e53717b8688cc8ea430b6f02574c/jira/yaml

Activity

Show:

Carlos Seo August 22, 2024 at 8:58 PM

This is already being addressed here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116463

Fixed

Details

Assignee

Reporter

Start date

Components

Priority

Checklist

Sentry

Created August 22, 2024 at 5:16 PM
Updated August 22, 2024 at 8:58 PM
Resolved August 22, 2024 at 8:58 PM