This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch g++.dg]: Disable some weak-tests for mingw-targets
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 28 Nov 2014 13:42:04 +0100
- Subject: Re: [patch g++.dg]: Disable some weak-tests for mingw-targets
- Authentication-results: sourceware.org; auth=none
- References: <CAEwic4Y11R1_4+BmEBbEQbRLLrssQKAQyXhOQESwuz5nf=ubnw at mail dot gmail dot com> <ydd7fyfo9jd dot fsf at CeBiTec dot Uni-Bielefeld dot DE>
2014-11-28 12:21 GMT+01:00 Rainer Orth <ro@cebitec.uni-bielefeld.de>:
> Hi Kai,
>
>> this patch skips some test, which are trying to test non-existing
>> weak-variant for mingw-targets.
>
> why is this necessary when most (all?) of those tests already have
> dg-require-weak? If there's some property of weak variables that
> PE-COFF lacks, I'd rather have a new effective-target keyword that tests
> for this.
>
> Rainer
As pe-coff indeed has some weak support in linker, but not that
expected by those tests. So in general it would be wrong to disable
weak completely, nevertheless are those tests not working for pe-coff
mingw targets.
Kai