https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68662

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems like powerpc* has lots of other issues related to mixing pic and non-pic
code.  E.g.
int x;

int
foo (void)
{
  return x;
}

__attribute__((optimize ("PIC"))) int
bar (void)
{
  return x;
}

seems to ICE due to endless recursion with -O2 -m32 (every force_reg causes
another force_reg, at least in x86_64-linux -> powerpc64-linux cross).

Reply via email to