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



--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> 2013-01-07 22:13:33 
UTC ---

(In reply to comment #4)

> Created attachment 29085 [details]

> A patch to move lto_global_var_decls to lto/lto.c

> 

> With this patch, I got

> 

> lto1: internal compiler error: Segmentation fault

> 0x997fc5 crash_signal

>     /export/gnu/import/git/gcc/gcc/toplev.c:334

> 0x545095 ggc_get_size(void const*)



This patch misses:



diff --cc gcc/lto/config-lang.in

index 90235b0,90235b0..839d359

--- a/gcc/lto/config-lang.in

+++ b/gcc/lto/config-lang.in

@@@ -22,7 -22,7 +22,7 @@@ language="lto

  compilers="lto1\$(exeext)"

  stagestuff="lto1\$(exeext)"



--gtfiles="\$(srcdir)/lto/lto-tree.h \$(srcdir)/lto/lto-lang.c

\$(srcdir)/lto/lt

o.c"

++gtfiles="\$(srcdir)/lto/lto-tree.h \$(srcdir)/lto/lto-lang.c

\$(srcdir)/lto/lt

o.c \$(srcdir)/lto/lto.h"



  # LTO is a special front end.  From a user's perspective it is not

  # really a language, but a middle end feature.  However, the GIMPLE

Reply via email to