[Bug c++/50239] compiled program segfault when -O0 is used to compile

2011-10-12 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||INVALID

--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com 2011-10-12 
15:48:30 UTC ---
Feedback not forthcoming.


[Bug c++/50239] compiled program segfault when -O0 is used to compile

2011-08-31 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239

--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2011-08-31 
08:27:43 UTC ---
There's no need to repeat the same info you already provided, please provide
what you _didn't_ provide, as requested by http://gcc.gnu.org/bugs/#report

we need preprocessed source, and preferably a minimal testcase that has been
reduced to the smallest example that still shows the problem


[Bug c++/50239] compiled program segfault when -O0 is used to compile

2011-08-30 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011-08-30
 Ever Confirmed|0   |1

--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2011-08-30 
16:38:22 UTC ---
Please follow the normal bug reporting instructions:

  http://gcc.gnu.org/bugs/#report


[Bug c++/50239] compiled program segfault when -O0 is used to compile

2011-08-30 Thread eviom at mail dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239

eviom eviom at mail dot ru changed:

   What|Removed |Added

Version|4.7.0   |4.5.2

--- Comment #2 from eviom eviom at mail dot ru 2011-08-31 05:42:06 UTC ---
When I compile my code, if I compile it -O2, it compiles and runs fine. if I
compile the code without it, my program segfaults while rendering text with
FTGL. I've made no changes to anything in between compiles. Same FTGL code
works fine in win32 (vs2010).

system: ubuntu 11.04  10.04
gcc version: 4.5.2 (from deb package)
command line: gcc -I /usr/include/freetype2 -o ~/BlocksWorld/BlocksWorld
Src/*.cpp Src/Linux/*.cpp Src/GUI/*.cpp -lpng -lGL -lGLU -lftgl