Hi Tom, > this patch introduces an effective target weak_undefined, and uses it in > test-case visibility-22.c. > > I've tested this on trunk for x86_64, and the test still runs and passes. > > I've tested this on an internal branch for the gcn target, where it makes > the test unsupported (instead of timing out due to random code execution). > > OK for trunk?
I like the idea, thanks for doing this. > Require effective target weak_undefined for visibility-22.c > > 2017-12-14 Tom de Vries <t...@codesourcery.com> > > * lib/target-supports.exp (check_effective_target_weak_undefined): New > proc. > * gcc.dg/visibility-22.c: Require effective target weak_undefined. Ok with documentation added to sourcebuild.texi and the dg-skip-if removed. If need be, the proc can still be refined. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University