[Bug c++/42609] [4.5 regression] undesired operation when working with mno-cygwin
davek at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 1 01:11:00 GMT 2010
------- Comment #3 from davek at gcc dot gnu dot org 2010-04-01 01:11 -------
I figure this is worth fixing in the ~22-hour window remaining before 2nd
April. The option although deprecated should not for preference be released in
a broken state, and since it worked in all previous versions (i.e. before I
added the libstdc++ wrappers) this is a regression. The fix should be really
really trivial:
Index: gcc/config/i386/cygwin.h
===================================================================
--- gcc/config/i386/cygwin.h (revision 157789)
+++ gcc/config/i386/cygwin.h (working copy)
@@ -108,7 +108,7 @@ along with GCC; see the file COPYING3. If not see
#define CXX_WRAP_SPEC_OPT "muse-libstdc-wrappers"
#endif
-#define CXX_WRAP_SPEC "%{" CXX_WRAP_SPEC_OPT ":" CXX_WRAP_SPEC_LIST "}"
+#define CXX_WRAP_SPEC "%{!mno-cygwin:%{" CXX_WRAP_SPEC_OPT ":"
CXX_WRAP_SPEC_LIST "}}"
#else /* !defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS) */
I'll set the bootstrap going now. That'll leave me some time to test it this
coming lunchtime/afternoon/evening (UK time) and check it in long before
midnight.
Richard G., please speak up if you have any objection to this plan, if I
haven't heard anything from you by a few hours before the midnight deadline
I'll assume you're ok with it.
--
davek at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Known to fail| |4.5.0
Known to work| |4.4.0
Summary|undesired operation when |[4.5 regression] undesired
|working with mno-cygwin |operation when working with
| |mno-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42609
More information about the Gcc-bugs
mailing list