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++/49289] New: eh_frame section created although using -fno-exceptions and fno-rtti


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49289

           Summary: eh_frame section created although using
                    -fno-exceptions and fno-rtti
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: codemasterhs@yahoo.de


This is the code:

class Foo {
public:
    void foo();
};

void test() {
    Foo bar;

    bar.foo();
}

This is the commandline to compile:
-O2 -fno-exceptions -fno-rtti -c

Output from "gcc -v":

Using built-in specs.
COLLECT_GCC=C:\MinGW\msys\1.0\local\cross\bin\i586-elf-gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw/msys/1.0/local/cross/bin/../libexec/gcc/i586-elf/4.
6.0/lto-wrapper.exe
Target: i586-elf
Configured with: ../gcc-4.6.0/configure --with-gmp=/usr/local --target=i586-elf
--prefix=/usr/local/cross --disable-nls --enable-languages=c,c++
--without-heade
rs
Thread model: single
gcc version 4.6.0 (GCC)


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