This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Internal Compiler error while trying to compile template code
- To: knk at dde dot dk
- Subject: Re: Internal Compiler error while trying to compile template code
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 23 Mar 2000 00:01:13 +0100
- CC: gcc at gcc dot gnu dot org
- References: <38D96AC7.FAD2F0F0@dde.dk>
> 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