aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKaz Kojima <kkojima@gcc.gnu.org>2008-11-23 10:45:06 +0000
committerKaz Kojima <kkojima@gcc.gnu.org>2008-11-23 10:45:06 +0000
commit8d8f087af3ddeafcf8e31434ee08355f88c11cac (patch)
tree41225a0a6ae21a01ab5d20a82ede57ed97c182d5 /gcc
parent6a21bcbe16427b9f1ea71e8371ef9c7478df3e7c (diff)
downloadgcc-8d8f087af3ddeafcf8e31434ee08355f88c11cac.zip
gcc-8d8f087af3ddeafcf8e31434ee08355f88c11cac.tar.gz
gcc-8d8f087af3ddeafcf8e31434ee08355f88c11cac.tar.bz2
sh.md (consttable_4): Call mark_symbol_refs_as_used.
* config/sh/sh.md (consttable_4): Call mark_symbol_refs_as_used. From-SVN: r142132
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sh/sh.md5
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9a31e89..a7b3f9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-23 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * config/sh/sh.md (consttable_4): Call mark_symbol_refs_as_used.
+
2008-11-22 Andreas Schwab <schwab@suse.de>
* varasm.c (default_file_start): Suppress ASM_APP_OFF also with
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 68bb197..024407c 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -10237,7 +10237,10 @@ mov.l\\t1f,r0\\n\\
"*
{
if (operands[1] != const0_rtx)
- assemble_integer (operands[0], 4, BITS_PER_UNIT * 4, 1);
+ {
+ assemble_integer (operands[0], 4, BITS_PER_UNIT * 4, 1);
+ mark_symbol_refs_as_used (operands[0]);
+ }
return \"\";
}"
[(set_attr "length" "4")