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.

Reply via email to