(SPARC_STACK_ALIGN): Use ~7 not 0xfffffff8 for portability.
authorJim Wilson <wilson@gcc.gnu.org>
Fri, 1 Apr 1994 03:01:00 +0000 (19:01 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 1 Apr 1994 03:01:00 +0000 (19:01 -0800)
From-SVN: r6939

gcc/config/sparc/sparc.h

index 9fe8b82bab92471b8a89e60775bff1591df3f9f8..e478d632a924154e2b2874401d8865ff97664854 100644 (file)
@@ -236,7 +236,7 @@ extern int target_flags;
 
 /* ALIGN FRAMES on double word boundaries */
 
-#define SPARC_STACK_ALIGN(LOC) (((LOC)+7) & 0xfffffff8)
+#define SPARC_STACK_ALIGN(LOC) (((LOC)+7) & (~7))
 
 /* Allocation boundary (in *bits*) for the code of a function.  */
 #define FUNCTION_BOUNDARY 32