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++/50239] New: compiled program segfault when -O0 is used to compile


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).


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