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]
Other format: [Raw text]

ARM GCC 3.2.2 C++ Template Bug


Hi,

I found a bug in a cross-compiled ARM gcc 3.2.2 (DevKitAdv r5 beta 3,
http://devkitadv.sourceforge.net) making a C++ file. gcc spat out an
internal bug error and asked that I submit a bug report. I went to the URL
in the error message and went to Bugzilla to report it. Bugzilla asked me
to make an account, which I did. But I never received the email message
with the generated password. Which brings me to mailing to this address.
Attached are the pieces of info (command, error message output,
preprocessor file) requested at http://www.gnu.org/software/gcc/bugs.html
in a zip file.

Below is the gcc command used to generate the error and the error message
output.


gcc command

g++ -v -save-temps -c -Wall -O2 -DMAPPY -DDEBUG    -mthumb
-mthumb-interwork -mcpu=arm7tdmi -DARCH_THUMB_INTERWORK -DGBA -DDKA5
-I../lib/stlport -I../lib -I../lib/sgade/include -I../lib/boost -I../common
-I../3wrappa -I../8tapango -I../lib/krawall/include -o
../8tapango/intersectingphysics.o ../8tapango/intersectingphysics.cpp




output


Reading specs from
N:\UNIXDATA\GBADEV\DKA5\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2\specs
Configured with: ../gcc-3.2.2/configure --prefix=/tmp/devkitadv-r5-beta-3
--target=arm-agb-elf --without-local-prefix --disable-shared
--enable-multilib --disable-threads --with-cpu=arm7tdmi --with-newlib
--enable-interwork --disable-win32-registry
--enable-targets=arm-elf,arm-coff,arm-aout,arm-pe --enable-languages=c,c++ -v
Thread model: single
gcc version 3.2.2 (DevKit Advance R5 Beta 3)
 N:\UNIXDATA\GBADEV\DKA5\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2\cpp0.exe
-lang-c++ -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -v -I../lib/stlport
-I../lib -I../lib/sgade/include -I../lib/boost -I../common -I../3wrappa
-I../8tapango -I../lib/krawall/include -iprefix
N:\UNIXDATA\GBADEV\DKA5\BIN\..\lib/gcc-lib/arm-agb-elf\3.2.2\ -D__GNUC__=3
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102
-D__ELF__ -D__ELF__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=arm
-Amachine=arm -D__ARM_ARCH_4T__ -D__APCS_32__ -D__ARMEL__ -D__THUMBEL__
-D__ELF__ -D__USES_INITFINI__ -D__thumb__ -D__THUMB_INTERWORK__ -DMAPPY
-DDEBUG -DARCH_THUMB_INTERWORK -DGBA -DDKA5
../8tapango/intersectingphysics.cpp -Wall intersectingphysics.ii
GNU CPP version 3.2.2 (DevKit Advance R5 Beta 3) (cpplib) (ARM/ELF)
ignoring nonexistent directory
"N:/UNIXDATA/GBADEV/DKA5/arm-agb-elf/sys-include"
ignoring nonexistent directory
"/tmp/devkitadv-r5-beta-3/lib/gcc-lib/arm-agb-elf/3.2.2/../../../../include/
c++/3.2.2"
ignoring nonexistent directory
"/tmp/devkitadv-r5-beta-3/lib/gcc-lib/arm-agb-elf/3.2.2/../../../../include/
c++/3.2.2/arm-agb-elf"
ignoring nonexistent directory
"/tmp/devkitadv-r5-beta-3/lib/gcc-lib/arm-agb-elf/3.2.2/../../../../include/
c++/3.2.2/backward"
ignoring nonexistent directory
"/tmp/devkitadv-r5-beta-3/lib/gcc-lib/arm-agb-elf/3.2.2/include"
ignoring nonexistent directory
"/tmp/devkitadv-r5-beta-3/lib/gcc-lib/arm-agb-elf/3.2.2/../../../../arm-agb-
elf/sys-include"
ignoring nonexistent directory
"/tmp/devkitadv-r5-beta-3/lib/gcc-lib/arm-agb-elf/3.2.2/../../../../arm-agb-
elf/include"
#include "..." search starts here:
#include <...> search starts here:
 ../lib/stlport
 ../lib
 ../lib/sgade/include
 ../lib/boost
 ../common
 ../3wrappa
 ../8tapango
 ../lib/krawall/include
 N:/UNIXDATA/GBADEV/DKA5/include/c++/3.2.2
 N:/UNIXDATA/GBADEV/DKA5/include/c++/3.2.2/arm-agb-elf
 N:/UNIXDATA/GBADEV/DKA5/include/c++/3.2.2/backward
 N:/UNIXDATA/GBADEV/DKA5/lib/gcc-lib/arm-agb-elf/3.2.2/include
 N:/UNIXDATA/GBADEV/DKA5/arm-agb-elf/include
End of search list.
 N:\UNIXDATA\GBADEV\DKA5\BIN\..\lib\gcc-lib\arm-agb-elf\3.2.2\cc1plus.exe
-fpreprocessed intersectingphysics.ii -quiet -dumpbase
intersectingphysics.cpp -mthumb -mthumb-interwork -mcpu=arm7tdmi -O2 -Wall
-version -o intersectingphysics.s
GNU CPP version 3.2.2 (DevKit Advance R5 Beta 3) (cpplib) (ARM/ELF)
GNU C++ version 3.2.2 (DevKit Advance R5 Beta 3) (arm-agb-elf)
	compiled by GNU C version 3.2.2 (mingw special 20030208-1).
../lib/stlport/stl/_algo.c: In function `_OutputIter 
   _STL::unique_copy(_InputIter, _InputIter, _OutputIter) [with _InputIter = 
   CircleDollPair*, _OutputIter = CircleDollPair*]':
../lib/stlport/stl/_algo.h:309:   instantiated from `_ForwardIter
_STL::unique(_ForwardIter, _ForwardIter) [with _ForwardIter =
CircleDollPair*]'
../lib/stlport/stl/_vector.h:473:   instantiated from `_Tp*
_STL::vector<_Tp, _Alloc>::erase(_Tp*, _Tp*) [with _Tp = CircleDollPair,
_Alloc = _STL::allocator<CircleDollPair>]'
../8tapango/intersectingphysics.cpp:232:   instantiated from here
../lib/stlport/stl/_algo.c:277: Internal compiler error in
pre_insert_copy_insn
   , at gcc-3.2.2/gcc/gcse.c:4859
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
GMAKE.EXE: *** [../8tapango/intersectingphysics.o] Error 1

Attachment: output_files.bz2
Description: Binary data

						--Mason

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