[Bug 591819]

2011-09-05 Thread eviom
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

[Bug 591819] Re: compiled program segfault when -O0 is used to compile

2011-08-30 Thread eviom
I have the same problem on both ubuntu 10.04 (not updated, gcc 4.4.3) and ubuntu 11.04 (fully updated, can't check the gcc version right now). According to gdb it crashes in some TFGlyth member function. I really did not expect such problem from gcc... BTW thanks for the solution, I thought the

[Bug 591819] Re: compiled program segfault when -O0 is used to compile

2011-08-30 Thread eviom
I have submitted it to gcc bugzilla. Here is the thread link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239 ** Bug watch added: GCC Bugzilla #50239 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239 -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 591819] Re: compiled program segfault when -O0 is used to compile

2011-08-30 Thread eviom
** Also affects: gcc-defaults via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/591819 Title: