From mboxrd@z Thu Jan 1 00:00:00 1970 From: anthwil@nortelnetworks.com To: gcc-gnats@gcc.gnu.org Subject: c++/4724: Internal Error - Segmentation Fault on template code Date: Mon, 29 Oct 2001 01:36:00 -0000 Message-id: <20011029092510.14907.qmail@sourceware.cygnus.com> X-SW-Source: 2001-10/msg00640.html List-Id: >Number: 4724 >Category: c++ >Synopsis: Internal Error - Segmentation Fault on template code >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Oct 29 01:36:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Anthony Williams >Release: unknown-1.0 >Organization: >Environment: gcc 3.0.1 sparc-solaris-2.7 >Description: Compiling the submitted code yields the following error: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/specs Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/b in/ld Thread model: posix gcc version 3.0.1 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/cpp0 -lang-c++ -D__GNUG__=3 - D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -D__GNUC__=3 -D__GNU C_MINOR__=0 -D__GNUC_PATCHLEVEL__=1 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D_ _sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -As ystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__ -D__GCC_NEW_VARA RGS__ -Acpu=sparc -Amachine=sparc testop.cpp testop.ii GNU CPP version 3.0.1 (cpplib) (sparc) ignoring nonexistent directory "/usr/local/sparc-sun-solaris2.7/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include/g++-v3 /usr/local/include/g++-v3/sparc-sun-solaris2.7 /usr/local/include/g++-v3/backward /usr/local/include /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/include /usr/include End of search list. /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.1/cc1plus -fpreprocessed testop .ii -quiet -dumpbase testop.cpp -version -o testop.s GNU CPP version 3.0.1 (cpplib) (sparc) GNU C++ version 3.0.1 (sparc-sun-solaris2.7) compiled by GNU C version 3.0.1. testop.cpp: In function `int main()': testop.cpp:67: Internal error: Segmentation Fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: Compile the code >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="testop.ii.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="testop.ii.bz2" QlpoOTFBWSZTWanSfkUAAPlfgEQQWWF//yMBBAo/5996QAJRXbmo5YZFJoDT1BkGyamygAAACRIT STymnomjQMhoAMgNPUEVVPMqfpT0R6I9BDINoIMEY9UCKKTCQ8k9TyT0TQaGgAACSAOQxdBvnxmC lJOTP7b51VFLPaVvMLbS5IBUQBXPuwPb8yHx9qQTaEpiTZtpEpsiiiTjdYDmPOhaIrQhjKwQTEKN NiFghNCoDIKSgg0EGwQWYGuqVVforhG6QfIaGji7s+hduunH0a9mTKaNOD8oiL22224IiCL4k5OI nENttvX1RHcG4+I9aZ6LpEaEYR0SqG0SGAgvF1fky22Ag4SDCInhW3PZWE8ZmGbejkJBpSSRSC8S laHDtACnZV1ERaRaEfHH6i+U1bgDku6vmegreCYYI1HMWmlONtZJF1XKMpOAvnwLeSUCuQjEBcjI u4WgVkusRxsFpMod8ke0Xw7o3xsRsWYQ66EbZQfuESKtYrMPMrsgiNKLFQBaK3WycHNEKVnujaMq RUlQuRGzMUDfoMTYGsMCsxF5RV1Cuc/gDFawDEMOL7piN8LkXLJ1zMiTpFmDOZkJsSxtuLDKhLNO cxuy0mJKBCtDeVSSpNC13HCHAhLG4SYliUq2229jw7N9BLwAMwdiAVAEI8Jt6jFsRwRgRw/EaSlo zKh/i7kinChIVOk/IoA=