aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-04-18 14:49:55 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-04-18 14:49:55 -0400
commit9d69b7c803ff2b471a7be02aabadbaac4f81f5f2 (patch)
tree8f1855b3078f9157e2cf0cb3cf2439659be37dde /gcc/expr.h
parent75ea7910deff192c85669ab344a1e65daf5a04ae (diff)
downloadgcc-9d69b7c803ff2b471a7be02aabadbaac4f81f5f2.zip
gcc-9d69b7c803ff2b471a7be02aabadbaac4f81f5f2.tar.gz
gcc-9d69b7c803ff2b471a7be02aabadbaac4f81f5f2.tar.bz2
(PROMOTE_MODE): Don't supply default here.
(promote_mode): Add declaration. From-SVN: r7065
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index b35681e..6c0418f 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -29,11 +29,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define BRANCH_COST 1
#endif
-/* The default is that we do not promote the mode of an object. */
-#ifndef PROMOTE_MODE
-#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE)
-#endif
-
/* Macros to access the slots of a QUEUED rtx.
Here rather than in rtl.h because only the expansion pass
should ever encounter a QUEUED. */
@@ -777,6 +772,12 @@ extern rtx force_reg PROTO((enum machine_mode, rtx));
/* Return given rtx, copied into a new temp reg if it was in memory. */
extern rtx force_not_mem PROTO((rtx));
+#ifdef TREE_CODE
+/* Return mode and signedness to use when object is promoted. */
+extern enum machine_mode promote_mode PROTO((tree, enum machine_mode,
+ int *, int));
+#endif
+
/* Remove some bytes from the stack. An rtx says how many. */
extern void adjust_stack PROTO((rtx));