aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-01-23 08:24:38 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2014-01-23 08:24:38 +0000
commitf9ae4df84ec291d01a49251ef5ffa17fa9674fce (patch)
treebf94a0c87d742a1c445f545a8cbf5dfc3bbab8cf /gcc/rtl.h
parente50f5f2e0d3396bd4ab2f799135309de39c96d58 (diff)
downloadgcc-f9ae4df84ec291d01a49251ef5ffa17fa9674fce.zip
gcc-f9ae4df84ec291d01a49251ef5ffa17fa9674fce.tar.gz
gcc-f9ae4df84ec291d01a49251ef5ffa17fa9674fce.tar.bz2
re PR target/52125 (Problems with LO16 asm operands on MIPS)
gcc/ PR target/52125 * rtl.h (get_referenced_operands): Declare. * recog.c (get_referenced_operands): New function. * config/mips/mips.c (mips_reorg_process_insns): Check which asm operands have been referenced when recording LO_SUM references. gcc/testsuite/ PR target/52125 * gcc.dg/pr48774.c: Remove skip for mips_rel. * gcc.target/mips/pr52125.c: New test. From-SVN: r206955
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 10ee818..f1cda4c 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2169,6 +2169,7 @@ extern rtx extract_asm_operands (rtx);
extern int asm_noperands (const_rtx);
extern const char *decode_asm_operands (rtx, rtx *, rtx **, const char **,
enum machine_mode *, location_t *);
+extern void get_referenced_operands (const char *, bool *, unsigned int);
extern enum reg_class reg_preferred_class (int);
extern enum reg_class reg_alternate_class (int);