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 ada/36207] [4.4 regression] Ada bootstrap fails in uintp.adb:1595



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


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