This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: match ld besides collect2 in gcov test
- From: Jeff Law <law at redhat dot com>
- To: Alexandre Oliva <oliva at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Cc: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, Mike Stump <mikestump at comcast dot net>
- Date: Thu, 15 Aug 2019 12:08:30 -0600
- Subject: Re: match ld besides collect2 in gcov test
- References: <ormugakfr5.fsf@lxoliva.fsfla.org>
On 8/15/19 2:13 AM, Alexandre Oliva wrote:
> The regexp that checks that -lgcov is linked in when --coverage is
> passed to the compiler driver requires the command line to match
> '/collect2'. Some of our targets don't match that, but they match /ld
> or ${target_alias}-ld depending on the testing scenario, so I'd like
> to tweak the test to match those as well.
>
> Tested on x86_64-linux-gnu, and on the affected test scenarios.
> Ok to install?
>
>
> for gcc/testsuite/ChangeLog
>
> * gcc.misc-tests/options.exp: Match /ld and -ld besides
> /collect2.
OK
jeff