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.
jeff