[Bug target/83455] FAIL: gcc.dg/visibility-22.c (test for excess errors)
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 18 08:59:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83455
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
/* PR target/32219 */
/* { dg-do run } */
/* { dg-require-visibility "" } */
/* { dg-require-effective-target weak_undefined } */
/* { dg-options "-O2 -fPIC" { target fpic } } */
extern void foo () __attribute__((weak,visibility("hidden")));
int
main()
{
if (foo)
foo ();
return 0;
}
so weak_undefined is supposed to make this work but appearantly (hpux?) ld
doesn't like weak combined with hidden? Suggest to skip for hpux as
a one-off in the dg-do run.
More information about the Gcc-bugs
mailing list