summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoretoh <etoh@openbsd.org>2004-06-20 02:43:37 +0000
committeretoh <etoh@openbsd.org>2004-06-20 02:43:37 +0000
commit41db012add3642329d3ad7dab13bc7d5b5ce7ef7 (patch)
treee27fbe99a2be9e8180022d6f9fa0a822d94b94a4
parentFix description of the cpuid keyword. The current wording is misleading since (diff)
downloadwireguard-openbsd-41db012add3642329d3ad7dab13bc7d5b5ce7ef7.tar.xz
wireguard-openbsd-41db012add3642329d3ad7dab13bc7d5b5ce7ef7.zip
ICE with gcc3/propolice -O on macppc fixes:
- INSN_CODE and LOG_LINKS attributes should be copied from the first insn of splitted insns. ok pvalchev@ and sturm@
-rw-r--r--gnu/usr.bin/gcc/gcc/protector.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/protector.c b/gnu/usr.bin/gcc/gcc/protector.c
index 2100a43b5e2..7a95a6880a0 100644
--- a/gnu/usr.bin/gcc/gcc/protector.c
+++ b/gnu/usr.bin/gcc/gcc/protector.c
@@ -2307,6 +2307,8 @@ push_frame_of_insns (insn, push_size, boundary)
/* Copy the various flags, and other information. */
memcpy (insn, first, sizeof (struct rtx_def) - sizeof (rtunion));
PATTERN (insn) = PATTERN (first);
+ INSN_CODE (insn) = INSN_CODE (first);
+ LOG_LINKS (insn) = LOG_LINKS (first);
REG_NOTES (insn) = REG_NOTES (first);
/* then remove the first insn of splitted insns. */