Hi Richard, The patch for PR100786 introduced a testcase that systematically fails on darwin:
FAIL: gcc.dg/torture/pr100786.c -O0 (test for excess errors) FAIL: gcc.dg/torture/pr100786.c -O1 (test for excess errors) FAIL: gcc.dg/torture/pr100786.c -O2 (test for excess errors) FAIL: gcc.dg/torture/pr100786.c -O2 -flto (test for excess errors) FAIL: gcc.dg/torture/pr100786.c -O2 -flto -flto-partition=none (test for excess errors) FAIL: gcc.dg/torture/pr100786.c -O3 -g (test for excess errors) FAIL: gcc.dg/torture/pr100786.c -Os (test for excess errors) see https://gcc.gnu.org/pipermail/gcc-testresults/2022-March/757882.html because pr100786.c:4:12: error: only weak aliases are supported in this configuration 4 | extern int b __attribute__((alias("a"))); | ^ pr100786.c:8:15: error: only weak aliases are supported in this configuration 8 | extern double b2 __attribute__((alias("a2"))); | ^~ FX