This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49289] New: eh_frame section created although using -fno-exceptions and fno-rtti
- From: "codemasterhs at yahoo dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 5 Jun 2011 13:22:25 +0000
- Subject: [Bug c++/49289] New: eh_frame section created although using -fno-exceptions and fno-rtti
- Auto-submitted: auto-generated
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)