This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PR 87339, testsuite] Fix failure of gcc.dg/warn-abs-1.c on some targets
- From: Mike Stump <mikestump at comcast dot net>
- To: Martin Jambor <mjambor at suse dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 24 Sep 2018 12:16:41 -0700
- Subject: Re: [PR 87339, testsuite] Fix failure of gcc.dg/warn-abs-1.c on some targets
- References: <ri6tvmehgzp.fsf@suse.cz>
On Sep 24, 2018, at 11:45 AM, Martin Jambor <mjambor@suse.cz> wrote:
>
> the test added to check whether _Float128 types are handled correctly by
> the new warning about suspicious calls to abs-like functions fails on
> many platforms. The patch below circumvents the problem by running on
> i686/x86_64 only. I understand that the proper solution would be to
> come up with a deja-gnu predicate and skip-if it was not provided but I
> think that for one simple test that is a bit of an overkill and testing
> it on x86_64 will provide all the test coverage we need.
>
> Tested on x86_64-linux and aarch64-linux, testing on i686-linux
> pending. OK for trunk?
Ok.