This is the mail archive of the gcc-patches@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]

Re: [java] fix some alpha/ia64 compile failures


On Fri, Dec 21, 2001 at 05:25:40PM -0800, Alexandre Petit-Bianco wrote:
> I thought changing is_compiled_class to test for class == current_class
> later would work but I can't find a way to avoid taking the
> CLASS_FROM_CURRENTLY_COMPILED_P (class) || seen_in_zip branch without
> being to loose and always return 1 always taking if (assume_compiled...

Perhaps the thing to do is to set DECL_EXTERNAL here unconditionally,
then just before we start compiling the class we're intending to emit
code for, we go back and clear it?  That would sort of simulate the C
case of an extern declaration followed by a definition...


r~


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