(PROMOTE_MODE): Don't supply default here.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 18 Apr 1994 18:49:55 +0000 (14:49 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 18 Apr 1994 18:49:55 +0000 (14:49 -0400)
(promote_mode): Add declaration.

From-SVN: r7065

gcc/expr.h

index b35681e..6c0418f 100644 (file)
@@ -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));