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

Re: Internal Compiler error while trying to compile template code


> I would like to know if g++ has any limitations for compiling template
> code on mips.

I don't know. It is not so much the processor that would matter, but
the capabilities of the object file format.

> Are there any macros that need to be specified for this purpose in
> the configuration file that contains the target definitions ?

No, there are no macros specifically added to the back-end to support
templates.

> Have these macros MAKE_DECL_ONE_ONLY and UNIQUE_SECTION_P ( used by
> iris6gld.h and elf.h) got to do something with templates ??

Yes, they do. If available, g++ tries to arrange template
instantiations so that the linker will remove duplicates.

Regards,
Martin


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