This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/68662] [6 regression] FAIL: gcc.dg/lto/20090210 c_lto_20090210_0.o-c_lto_20090210_1.o link, -O2 -flto -flto-partition=none -fuse-linker-plugin -fno-fat-lto-objects


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]