public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* ARM GCC 3.2.2 C++ Template Bug
@ 2004-01-24  6:26 Mason Louie
  2004-01-27  3:47 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Mason Louie @ 2004-01-24  6:26 UTC (permalink / raw)
  To: gcc-bugs

[-- Attachment #1: Type: text/plain, Size: 4891 bytes --]

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 #2: output_files.bz2 --]
[-- Type: application/octet-stream, Size: 50123 bytes --]

[-- Attachment #3: Type: text/plain, Size: 14 bytes --]


						--Mason

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ARM GCC 3.2.2 C++ Template Bug
  2004-01-24  6:26 ARM GCC 3.2.2 C++ Template Bug Mason Louie
@ 2004-01-27  3:47 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2004-01-27  3:47 UTC (permalink / raw)
  To: Mason Louie; +Cc: gcc-bugs

Mason Louie wrote:
> I found a bug in a cross-compiled ARM gcc 3.2.2 (DevKitAdv r5 beta 3,

> ../lib/stlport/stl/_algo.c:277: Internal compiler error in
> pre_insert_copy_insn

We aren't actively maintaining gcc-3.2.2 anymore, since the gcc-3.3 
release.  I tried your example with gcc-3.3, and did not get the 
internal compiler error.  I did get the internal error with gcc-3.2, so 
the problem has probably already been fixed.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-27  3:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-24  6:26 ARM GCC 3.2.2 C++ Template Bug Mason Louie
2004-01-27  3:47 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).