openbsd-ports/lang/gcc/4.2
naddy ec58a1093d Merge in fixes for alpha from base (miod@):
builtins.c:
Allow MD backend to prevent the optimization of a bcopy() or memmove() of
size 1 (the size being known at compile-time) into an inline mempcpy()
expansion, which will in turn expand into a byte load and store operation.
This expansion loses precious address alignment information at some point
(because everybody knows that you can read a byte from any address, right?),
and this loses bigtime on strict alignment platforms which lack the ability
to accesse bytes directly, such as alpha (unless compiling with -mbwx and
runnning on a BWX-capable cpu).

config/alpha:
Require alignment of local arrays on word boundaries, and enable
the builtins.c `one-byte memcpy' workaround.

ok espie@
2011-12-03 15:54:05 +00:00
..
patches Merge in fixes for alpha from base (miod@): 2011-12-03 15:54:05 +00:00
pkg - add missing conflict markers between g95 and (lib)gfortran. 2010-11-28 21:30:37 +00:00
distinfo regen'd bootstrap 2009-12-20 10:15:36 +00:00
gcc4.port.mk rename MODGCC{3,4}_ARCHES to MODGCC{3,4}_ARCHS, suggested by naddy, 2011-11-17 18:03:43 +00:00
Makefile Merge in fixes for alpha from base (miod@): 2011-12-03 15:54:05 +00:00