Am 23.08.24 um 17:45 schrieb Richard Biener:
Am 23.08.2024 um 16:49 schrieb Jeff Law <jeffreya...@gmail.com>:
On 8/23/24 6:02 AM, Georg-Johann Lay wrote:
Hi, this fails on machines that don't support scheduling:
cc1: warning: instruction scheduling not supported on this target machine
FAIL: gcc.dg/torture/pr116343.c -O0 (test for excess errors)
Excess errors:
cc1: warning: instruction scheduling not supported on this target machine
Two paths make sense to me.
First we could add a -w to the flags in the relevant testcases to suppress the
warning.
Second we could just eliminate the warning completely. The warning may have
made sense in the run-up to gcc-2 when we added the instruction scheduler. But
we're 30 years past that point.
I'd support either approach.
I think there’s an effective target for insn scheduling
Ya,
/* { dg-require-effective-target scheduling } */
Johann