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-report on switch statement


Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


As you wont:


   *  the exact version of GCC;

$ gcc --version
gcc (GCC) 3.2.2

    * the system type;

Slackware 9.0

    * the options given when GCC was configured/built;

default options... i think, is a precompiled slack package

    * the complete command line that triggers the bug;

$ g++ -c -march=pentium4 -O3 -Wall -I/usr/include/SDL
-I/usr/local/include/SDL/ -L/usr/lib -L/usr/local/lib/-lSDL
-lSDL_image  -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/local/lib/

    * the compiler output (error messages, warnings, etc.); and

src/game.cpp
src/game.cpp: In constructor `Game::Game()':
src/game.cpp:115: jump to case label
src/game.cpp:110:   crosses initialization of `Editor mapEditor'
src/game.cpp:118: jump to case label
src/game.cpp:110:   crosses initialization of `Editor mapEditor'
src/game.cpp: In member function `Game::Game()':

Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

    * the preprocessed file (*.i*) that triggers the bug, generated by
adding -save-temps to the complete compilation command, or, in the
case of a bug report for the GNAT front end, a complete set of source
files (see below).
I don't understend it


sorry,
but i don't understend english very well,
so i don't know if this bug has been reported yet.


anywere,
error born in a switch statement,
if I declare a new object of a my class

in fact,
if I move the only declaration above the switch statement,
gcc doesn't have error


thank you to be


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