Commit 3360dc9f by Nick Clifton Committed by Nick Clifton

re PR target/66655 (miscompilation due to ipa-ra on MinGW)

	PR target/66655
	* config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
	decls if weak support is available.

From-SVN: r232071
parent 56f2741b
2016-01-05 Nick Clifton <nickc@redhat.com>
PR target/66655
* config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
decls if weak support is available.
2016-01-04 Martin Sebor <msebor@redhat.com>
* doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
......
......@@ -432,6 +432,11 @@ do { \
fputc ('\n', (FILE)); \
} \
while (0)
/* Use the weak support for ONE_ONLY decls. */
#undef MAKE_DECL_ONE_ONLY
#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
#endif /* HAVE_GAS_WEAK */
/* FIXME: SUPPORTS_WEAK && TARGET_HAVE_NAMED_SECTIONS is true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment