Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/gnu/dist/gcc/gcc Pull up revision 1.2 (requested by mrg...
details: https://anonhg.NetBSD.org/src/rev/b616b26278de
branches: netbsd-2-0
changeset: 561582:b616b26278de
user: tron <tron%NetBSD.org@localhost>
date: Tue Jun 22 09:23:42 2004 +0000
description:
Pull up revision 1.2 (requested by mrg in ticket #532):
fix a problem with mips alignment. from ian%wasabisystems.com@localhost.
Fri Apr 4 17:43:52 2003 Olivier Hainque <hainque at act-europe dot fr>
* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
use of default attributes to agree MEM_ALIGN macro.
diffstat:
gnu/dist/gcc/gcc/emit-rtl.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 3b6a6df8e3c7 -r b616b26278de gnu/dist/gcc/gcc/emit-rtl.c
--- a/gnu/dist/gcc/gcc/emit-rtl.c Tue Jun 22 09:19:35 2004 +0000
+++ b/gnu/dist/gcc/gcc/emit-rtl.c Tue Jun 22 09:23:42 2004 +0000
@@ -297,13 +297,14 @@
mem_attrs attrs;
void **slot;
- /* If everything is the default, we can just return zero. */
+ /* If everything is the default, we can just return zero.
+ This must match what the corresponding MEM_* macros return when the
+ field is not present. */
if (alias == 0 && expr == 0 && offset == 0
&& (size == 0
|| (mode != BLKmode && GET_MODE_SIZE (mode) == INTVAL (size)))
- && (align == BITS_PER_UNIT
- || (STRICT_ALIGNMENT
- && mode != BLKmode && align == GET_MODE_ALIGNMENT (mode))))
+ && (STRICT_ALIGNMENT && mode != BLKmode
+ ? align == GET_MODE_ALIGNMENT (mode) : align == BITS_PER_UNIT))
return 0;
attrs.alias = alias;
Home |
Main Index |
Thread Index |
Old Index