]> gcc.gnu.org Git - gcc.git/commit
re PR tree-optimization/93210 (Sub-optimal code optimization on struct/combound const...
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Thu, 15 Apr 2021 06:03:47 +0000 (08:03 +0200)
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Thu, 15 Apr 2021 06:04:46 +0000 (08:04 +0200)
commit417c36cfd620bf2b047852c2aa9ac49004aed2bc
treeb563d68b931c3581ae6dfcec08007cf7e44a6aa5
parentdf3b1289521e6f24d5151fc5f7b135b8bf3009bc
re PR tree-optimization/93210 (Sub-optimal code optimization on struct/combound constexpr (gcc vs. clang))

Regarding test gcc.dg/pr93210.c, on different targets GIMPLE code may
slightly differ which is why the scan-tree-dump-times directive may
fail.  For example, for a RETURN_EXPR on x86_64 we have

  return 0x11100f0e0d0c0a090807060504030201;

whereas on IBM Z the first operand is a RESULT_DECL like

  <retval> = 0x102030405060708090a0c0d0e0f1011;
  return <retval>;

gcc/testsuite/ChangeLog:

* gcc.dg/pr93210.c: Adapt regex in order to also support a
RESULT_DECL as an operand for a RETURN_EXPR.
gcc/testsuite/gcc.dg/pr93210.c
This page took 0.066725 seconds and 5 git commands to generate.