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 for g++



Hi

I have written a code with the template library blitz++. It consists of
different files/modules. All the modules can be compiled without
optimizing -O. Some of the modules can also be compiled with option -O2
but I got some troubles with some modules. Here is an example. 
I have included the cpp output .ii as well as my compilation instruction
(make.log).
Hope this can help!

Sincerely yours

Patrick Guio

======================================================================

                            Patrick Guio
          Institute of Theoretical Astrophysics, University of Oslo
                  P.O. box 1029, Blindern, N-0315 Oslo
          Tel : (+47) 22 85 65 19 - Fax : (+47) 22 85 65 05
                    E-mail : patrick.guio@phys.uit.no 
                    URL : http://www.astro.uio.no

smooth.ii.gz

make -f Makefile.solaris smooth.o
g++ -O2 -v --save-temps -ftemplate-depth-40 -funroll-loops -fgcse -ieee -fstrict-aliasing -DDIM=2 -DFLOAT_FIELD -DHDF -I/mn/aurora/u1/patricg/HDF/4.1r3_solaris/include -I/mn/aurora/u1/patricg/src/blitz -g -DBZ_DEBUG -c smooth.cc -o smooth.o
Reading specs from /site/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
 /site/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/cpp -lang-c++ -v -I/mn/aurora/u1/patricg/HDF/4.1r3_solaris/include -I/mn/aurora/u1/patricg/src/blitz -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__OPTIMIZE__ -g -D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) -DDIM=2 -DFLOAT_FIELD -DHDF -DBZ_DEBUG -ieee smooth.cc smooth.ii
GNU CPP version 2.95.2 19991024 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /mn/aurora/u1/patricg/HDF/4.1r3_solaris/include
 /mn/aurora/u1/patricg/src/blitz
 /site/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../include/g++-3
 /usr/local/include
 /site/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/../../../../sparc-sun-solaris2.7/include
 /site/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
End of omitted list.
 /site/gcc-2.95.2/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/cc1plus smooth.ii -quiet -dumpbase smooth.cc -g -O2 -version -ftemplate-depth-40 -funroll-loops -fgcse -fstrict-aliasing -o smooth.s
GNU C++ version 2.95.2 19991024 (release) (sparc-sun-solaris2.7) compiled by GNU C version 2.95.2 19991024 (release).
g++: Internal compiler error: program cc1plus got fatal signal 11
make: *** [smooth.o] Error 1

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