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 #7 from ebotcazou at gcc dot gnu dot org  2008-07-11 21:20 -------
> I think it's actually the same problem, the patch that has fixed it on other
> platforms probably doesn't behave the same everywhere.

Yep, PE-COFF has a custom binds_local_p hook that doesn't reject DECL_EXTERNAL.
That's OK according to http://gcc.gnu.org/ml/gcc/2008-07/msg00205.html

Aaron, could you conduct a small experiment?  In winnt.c:i386_pe_binds_local_p,
just before the 'return true', could you add

gcc_assert (!(TREE_CODE (exp) == VAR_DECL && DECL_EXTERNAL (exp)));

and see whether it triggers during an Ada bootstrap?  If so, what's 'exp'?

Thanks in advance.


-- 


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]