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]

bug report: Internal compiler error 378.


Hi,
I'm trying to compile a code I have (that compiles fine egcs-1.1.2)
here is the output of the compilation:

command:
g++ -v --save-temps -c vec.cpp

output:
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/specs
gcc version 2.95.1 19990816 (release)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/cpp -lang-c++ -v
-D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__
-Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__
-D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ -Di686 -Dpentiumpro -D__i686
-D__i686__ -D__pentiumpro -D__pentiumpro__ vec.cpp vec.ii
GNU CPP version 2.95.1 19990816 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:

/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/../../../../include/g++-3
 /usr/local/include

/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/../../../../i686-pc-linux-gnu/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/include
 /usr/include
End of search list.
The following default directories have been omitted from the search
path:
End of omitted list.
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.1/cc1plus vec.ii -quiet
-dumpbase vec.cc -version -o vec.s
GNU C++ version 2.95.1 19990816 (release) (i686-pc-linux-gnu) compiled
by GNU C version 2.95.1 19990816 (release).
In file included from vec.cpp:11:
vec.h:76: warning: friend declaration `class MEmath::Vec<3>
MEmath::operator /(const MEmath::Vec<3> &, const MEmath::Vec<3> &)'
vec.h:76: warning:   declares a non-template function
vec.h:76: warning:   (if this is not what you intended, make sure
vec.h:76: warning:   the function template has already been declared,
vec.h:76: warning:   and add <> after the function name here)
vec.h:76: warning:   -Wno-non-template-friend disables this warning.
vec.cpp: In function `class MEmath::Vec<3> operator /(const
MEmath::Vec<3> &, const MEmath::Vec<3> &)':
vec.cpp:16: Internal compiler error 378.
vec.cpp:16: Please submit a full bug report.
vec.cpp:16: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport>
for instructions.

attached is a tar file with the source code and the ii files. 


-- 
MobilEye Vision Technologies LTD
24 Mishol Hadkalim st. Jerusalem, 97278, Israel
Tel: 972-2-5866989  Fax: 972-2-5867720 Personal Fax: 1-801-912-3251
Email: mailto:ifinci@mobileye.com    http://www.mobileye.com

bug.tar.bz2


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