]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite, Darwin: Fix darwin-comm-1.c error messages for Darwin <= 10.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 25 Jun 2022 08:58:35 +0000 (09:58 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 25 Jun 2022 09:43:06 +0000 (10:43 +0100)
commit54a5f478487a955c3ffaec3e9164a72599bc1cfb
tree88d52800b42d22703eaf9aecd9c3c28f106dda6a
parentdefa8537afc734faefde07c9ebdb38252133fbb1
testsuite, Darwin: Fix darwin-comm-1.c error messages for Darwin <= 10.

When amending the allowed alignment size to accommodate the larger values
permitted by newer tools, we retained the object file limit of 2^15 for
Darwin versions <= 10, since that is what the native tools expect there.

This triggers a different diagnostic path with a distinct error message,
which is checked in the revised test here.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/ChangeLog:

* gcc.dg/darwin-comm-1.c: Check for the correct error message for
Darwin <= 10.
gcc/testsuite/gcc.dg/darwin-comm-1.c