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: unassig...@gcc.gnu.org ReportedBy: codemaste...@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)