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]

[Bug c++/61008] New: g++ crash in analyze_functions


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61008

            Bug ID: 61008
           Summary: g++ crash in analyze_functions
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: fabian@ritter-vogt.de

Created attachment 32708
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32708&action=edit
-save-temps

After I added the implementation of the BillboardRender constructor,
g++ crashes while compiling.

Command line:
/opt/nspire/Ndless/ndless-sdk/toolchain/install/bin/arm-none-eabi-g++
-mcpu=arm926ej-s -I /home/fabian/.ndless/include -I
/opt/nspire/Ndless/ndless-sdk/bin/../include -fPIC -fno-use-cxa-atexit
-fno-exceptions -fno-rtti -mlong-calls -D _TINSPIRE -std=c++11 -O3 -g -Wall -W
-marm -ffast-math -mcpu=arm926ej-s -fno-math-errno -fno-tree-vectorize
-fomit-frame-pointer -flto -c billboardrenderer.cpp -o billboardrenderer.o

arm-none-eabi-g++ -v:
Using built-in specs.
COLLECT_GCC=arm-none-eabi-g++
COLLECT_LTO_WRAPPER=/opt/nspire/Ndless/ndless-sdk/toolchain/install/lib/gcc/arm-none-eabi/4.9.0/lto-wrapper
Target: arm-none-eabi
Configured with: ../gcc-4.9.0/configure --target=arm-none-eabi
--prefix=/opt/nspire/Ndless/ndless-sdk/toolchain/install --enable-interwork
--enable-multilib --enable-languages=c,c++ --with-system-zlib --with-newlib
--with-headers=../newlib-2.0.0/newlib/libc/include --disable-shared
--with-gnu-as --with-gnu-ld --with-float=soft --disable-werror
Thread model: single
gcc version 4.9.0 (GCC)

Constructor:
BillboardRenderer::BillboardRenderer(std::map<uint8_t, std::tuple<unsigned int,
unsigned int, const char*>> map) : map(map)
{
}

I attached the files it generates with -save-temps.


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