Darwin, testsuite : Prune 'object file not found for object'.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 10 Jan 2021 09:48:13 +0000 (09:48 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 4 Mar 2021 19:35:27 +0000 (19:35 +0000)
commit0d737ed2171165ba39ab5647f8a94c588fc9a898
treee41df2c42216fa1658dfbbb5920986714336d482
parent0ad6de3883a1641f7ec0bd9cf56d41fa5b313dae
Darwin, testsuite : Prune 'object file not found for object'.

This is not a GCC problem, but a fault in the static linker where,
when a source file is used multiple times, with conditional compilation
the source file is only referenced by the linker for the first object.
Then, when dsymutil tries to find the source file for next object based
off that source there is no record for it.

gcc/testsuite/ChangeLog:

* lib/prune.exp: Prune useless output caused by a linker bug.
gcc/testsuite/lib/prune.exp