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]

Internal Compiler error while trying to compile template code


Hi,
    I have been trying to compile some code that has lots of templates
with my newly built gcc/g++ (2.95.2) and the compiler cites "Internal
compiler error" as shown below.


g++ -g -Wno-uninitialized -fno-implicit-templates
-I/test/ssc/ACE_wrappers-1.0.12 -DACE_HAS_EXCEPTIONS  -c -fpic -o
.shobj/Service_Types.o Service_Types.cpp
Service_Types.cpp:416: Internal compiler error.
Service_Types.cpp:416: Please submit a full bug report.
Service_Types.cpp:416: See
<URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.


BTW, this is for a mips based machine running SVR4.2. (This is a yet to
be contributed port)

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

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

I scanned through whole of the "Using and Porting GNU C" doc. But could
got no clues.

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


Thanks for any pointers.

regards

koundinya




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