emit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of default attributes to agree MEM_ALIGN...
* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining use of default attributes to agree MEM_ALIGN macro. From-SVN: r65254
This commit is contained in:
parent
da247cccbc
commit
bb056a77f3
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Apr 4 17:43:52 2003 Olivier Hainque <hainque@act-europe.fr>
|
||||||
|
|
||||||
|
* emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
|
||||||
|
use of default attributes to agree MEM_ALIGN macro.
|
||||||
|
|
||||||
Fri Apr 4 17:33:24 2003 Joel Brobecker <brobecker@gnat.com>
|
Fri Apr 4 17:33:24 2003 Joel Brobecker <brobecker@gnat.com>
|
||||||
|
|
||||||
* dbxout.c (dbxout_type): When printing type index of range type
|
* dbxout.c (dbxout_type): When printing type index of range type
|
||||||
|
|
|
@ -312,13 +312,14 @@ get_mem_attrs (alias, expr, offset, size, align, mode)
|
||||||
mem_attrs attrs;
|
mem_attrs attrs;
|
||||||
void **slot;
|
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
|
if (alias == 0 && expr == 0 && offset == 0
|
||||||
&& (size == 0
|
&& (size == 0
|
||||||
|| (mode != BLKmode && GET_MODE_SIZE (mode) == INTVAL (size)))
|
|| (mode != BLKmode && GET_MODE_SIZE (mode) == INTVAL (size)))
|
||||||
&& (align == BITS_PER_UNIT
|
&& (STRICT_ALIGNMENT && mode != BLKmode
|
||||||
|| (STRICT_ALIGNMENT
|
? align == GET_MODE_ALIGNMENT (mode) : align == BITS_PER_UNIT))
|
||||||
&& mode != BLKmode && align == GET_MODE_ALIGNMENT (mode))))
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
attrs.alias = alias;
|
attrs.alias = alias;
|
||||||
|
|
Loading…
Reference in New Issue