summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc
diff options
context:
space:
mode:
authorHiroaki Etoh <etoh@cvs.openbsd.org>2004-06-20 02:43:38 +0000
committerHiroaki Etoh <etoh@cvs.openbsd.org>2004-06-20 02:43:38 +0000
commit527c35ef17cc6d2f45a7e94618dd342205642c4a (patch)
treeafa3d246e6fca4b8e34c512ae69ffc996f25a274 /gnu/usr.bin/gcc
parente68ac260309665fa191770c4879e942a98a79ae5 (diff)
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@
Diffstat (limited to 'gnu/usr.bin/gcc')
-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. */