* dwarf2out.c (add_location_or_const_value_attribute): Correct
test for sizes of passed and declared parameter types.
From-SVN: r28444
+Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * dwarf2out.c (add_location_or_const_value_attribute): Correct
+ test for sizes of passed and declared parameter types.
+
Mon Aug 2 12:45:09 1999 Richard Henderson <rth@cygnus.com>
* alpha.c (override_options): Don't force ALPHA_TP_PROG for ev6.
rtl = DECL_INCOMING_RTL (decl);
else if (! BYTES_BIG_ENDIAN
&& TREE_CODE (declared_type) == INTEGER_TYPE
- && TYPE_SIZE (declared_type) <= TYPE_SIZE (passed_type))
+ && (GET_MODE_SIZE (TYPE_MODE (declared_type))
+ <= GET_MODE_SIZE (TYPE_MODE (passed_type))))
rtl = DECL_INCOMING_RTL (decl);
}