This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50239] New: compiled program segfault when -O0 is used to compile
- From: "eviom at mail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2011 16:29:35 +0000
- Subject: [Bug c++/50239] New: compiled program segfault when -O0 is used to compile
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239
Bug #: 50239
Summary: compiled program segfault when -O0 is used to compile
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: eviom@mail.ru
Original thread:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/591819
When I compile my code, if I compile it -O2, it compiles and runs fine. if I
compile it with -O0, it segfaults while rendering text with FTGL. I've made no
changes to anything in between compiles. Same FTGL code works fine in win32
(vs2010).