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 c++/57208] Latest chromium compilation fails with enabled LTO


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208

--- Comment #11 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
OK, self contained way to reproduce the bug:
evans:/tmp/:[1]# cat t.c
#include <stdio.h>
main()
{
  int i;
  printf ("int main(){}\n");
  for (i=0;i<70000;i++)
    printf ("__attribute__ ((used, externally_visible)) int
ttiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii%i(){}\n",
i);
}
evans:/tmp/:[1]# gcc t.c
evans:/tmp/:[1]# ./a.out >tt.c
evans:/tmp/:[1]# /abuild/jh/trunk-install/bin/gcc -O2 -flto tt.c --param
lto-partitions=1

takes a while.  I am testing the patch.


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