This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

IA-64 Patch: JMP_BUF_SIZE


James Wilson <wilson@cygnus.com> wrote:
> JMP_BUF_SIZE is supposed to be measured in pointers, which is the
> same as the word size in LP64 ia64-linux code.  So we have an
> unnecessary multiply by 8.

OK?

Andrew.

2000-06-28  Andrew Haley  <aph@cygnus.com>

        * config/ia64/linux.h (JMP_BUF_SIZE): Size is in Pmode units, not
        bytes: remove the multiply by 8.

Index: config/ia64/linux.h
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/ia64/linux.h,v
retrieving revision 1.4
diff -u -r1.4 linux.h
--- linux.h     2000/06/18 18:54:43     1.4
+++ linux.h     2000/06/28 13:56:30
@@ -26,7 +26,7 @@
 
 
 #define DONT_USE_BUILTIN_SETJMP
-#define JMP_BUF_SIZE  (8 * 76)
+#define JMP_BUF_SIZE  76
 
 /* Output any profiling code before the prologue.  */
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]