This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50857] [4.7 Regression] The compiler is built with exceptions and RTTI enabled
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Oct 2011 16:44:25 +0000
- Subject: [Bug bootstrap/50857] [4.7 Regression] The compiler is built with exceptions and RTTI enabled
- Auto-submitted: auto-generated
- References: <bug-50857-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50857
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ian at airs dot com
--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2011-10-24 16:44:25 UTC ---
The Go frontend does not use exceptions or RTTI.
The place to add new C++-specific options to be used when building gcc code is
ALL_CXXFLAGS in gcc/Makefile.in. The thing to be careful of is that that
Makefile variable is used for any C++ compiler. Ideally there would be a
configure test to see whether the compiler supported the options. This can be
done along the lines of ACX_PROG_CC_WARNING_OPTS in configure.ac. In fact you
can probably just use ACX_PROG_CC_WARNING_OPTS despite the name.