------- Comment #9 from ebotcazou at gcc dot gnu dot org 2008-07-14 09:03
-------
> Eric, with that change, I see this:
>
> ../../../svn/libgcc/../gcc/libgcc2.c: In function '__do_global_ctors':
>
> ../../../svn/libgcc/../gcc/libgcc2.c:2161: internal compiler error: in
> i386_pe_binds_local_p, at config/i386/winnt.c:337
OK, thanks, the assertion is too broad. Could you replace it with
gcc_assert (!(TREE_CODE (exp) == VAR_DECL
&& TREE_STATIC (exp)
&& DECL_EXTERNAL (exp)));
instead?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36207