Skip to content
Snippets Groups Projects
Commit 807e36d7 authored by Iain Sandoe's avatar Iain Sandoe Committed by Iain Sandoe
Browse files

x86, Darwin: Fix bootstrap for 32b multilibs/hosts.


r15-1735-ge62ea4fb8ffcab06ddd  contained changes that altered the
codegen for 32b Darwin (whether hosted on 64b or as 32b host) such
that the per function picbase load is called multiple times in some
cases.  Darwin's back end is not expecting this (and indeed some of
the handling depends on a single instance).

The fixes the issue by marking those instructions as not copyable
(as suggested by Andrew Pinski).

The change is Darwin-specific.

gcc/ChangeLog:

	* config/i386/i386.cc (ix86_cannot_copy_insn_p): New.
	(TARGET_CANNOT_COPY_INSN_P): New.

Signed-off-by: default avatarIain Sandoe <iains@gcc.gnu.org>
parent eec30733
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment