RFA: Fix target/47063 (ada fails to build for alpha*-dec-vms)
Joern Rennecke
amylaar@spamcop.net
Thu Dec 30 05:02:00 GMT 2010
Quoting "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47063
>
> --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org>
> 2010-12-29 23:05:08 UTC ---
> I suppose it was meant to be MALLOC_ABI_ALIGNMENT?
Indeed, that makes sense.
Cross-tested for x86_64-pc-linux-gnu X alpha-dec-vms and
x86_64-pc-linux-gnu X alpha64-dec-vms; it runs next into PR47101, but
when the patch for that is applied too, both configurations can successfuly
build "all-gcc".
-------------- next part --------------
2010-12-30 Joern Rennecke <amylaar@spamcop.net>
PR target/47063
* config/alpha/vms.h (MALLOC_ALIGNMENT): Don't undef / define.
(MALLOC_ABI_ALIGNMENT): Undef / define.
Index: config/alpha/vms.h
===================================================================
--- config/alpha/vms.h (revision 168327)
+++ config/alpha/vms.h (working copy)
@@ -72,8 +72,8 @@ #define TARGET_OS_CPP_BUILTINS() \
#define MAX_OFILE_ALIGNMENT 524288 /* 8 x 2^16 by DEC Ada Test CD40VRA */
/* The maximum alignment 'malloc' honors. */
-#undef MALLOC_ALIGNMENT
-#define MALLOC_ALIGNMENT ((TARGET_MALLOC64 ? 16 : 8) * BITS_PER_UNIT)
+#undef MALLOC_ABI_ALIGNMENT
+#define MALLOC_ABI_ALIGNMENT ((TARGET_MALLOC64 ? 16 : 8) * BITS_PER_UNIT)
#undef FIXED_REGISTERS
#define FIXED_REGISTERS \
More information about the Gcc-patches
mailing list