summaryrefslogtreecommitdiff
path: root/gcc/config/tilepro/tilepro.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/tilepro/tilepro.h')
-rw-r--r--gcc/config/tilepro/tilepro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/tilepro/tilepro.h b/gcc/config/tilepro/tilepro.h
index 930612d1fb4..593bf68d60a 100644
--- a/gcc/config/tilepro/tilepro.h
+++ b/gcc/config/tilepro/tilepro.h
@@ -226,7 +226,8 @@ enum reg_class
#define FRAME_GROWS_DOWNWARD 1
#define STARTING_FRAME_OFFSET 0
-#define DYNAMIC_CHAIN_ADDRESS(FRAME) plus_constant ((FRAME), UNITS_PER_WORD)
+#define DYNAMIC_CHAIN_ADDRESS(FRAME) \
+ plus_constant (Pmode, (FRAME), UNITS_PER_WORD)
#define FIRST_PARM_OFFSET(FNDECL) 0