mirror of git://gcc.gnu.org/git/gcc.git
varasm.c (output_constant): Pass the minimum of the two sizes to assemble_integer.
* varasm.c (output_constant) <INTEGER_TYPE>: Pass the minimum of the two sizes to assemble_integer. From-SVN: r82278
This commit is contained in:
parent
a2f2958795
commit
4204886602
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-26 Eric Botcazou <ebotcazou@act-europe.fr>
|
||||||
|
|
||||||
|
* varasm.c (output_constant) <INTEGER_TYPE>: Pass the minimum
|
||||||
|
of the two sizes to assemble_integer.
|
||||||
|
|
||||||
2004-05-25 Paul Brook <paul@codesourcery.com>
|
2004-05-25 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
* config/arm/arm.c (thumb_exit, thumb_unexpanded_epilogue): Remove
|
* config/arm/arm.c (thumb_exit, thumb_unexpanded_epilogue): Remove
|
||||||
|
|
|
@ -3564,7 +3564,7 @@ output_constant (tree exp, unsigned HOST_WIDE_INT size, unsigned int align)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now output the underlying data. If we've handling the padding, return.
|
/* Now output the underlying data. If we've handling the padding, return.
|
||||||
Otherwise, break and ensure THISSIZE is the size written. */
|
Otherwise, break and ensure SIZE is the size written. */
|
||||||
switch (code)
|
switch (code)
|
||||||
{
|
{
|
||||||
case CHAR_TYPE:
|
case CHAR_TYPE:
|
||||||
|
@ -3576,7 +3576,7 @@ output_constant (tree exp, unsigned HOST_WIDE_INT size, unsigned int align)
|
||||||
case OFFSET_TYPE:
|
case OFFSET_TYPE:
|
||||||
if (! assemble_integer (expand_expr (exp, NULL_RTX, VOIDmode,
|
if (! assemble_integer (expand_expr (exp, NULL_RTX, VOIDmode,
|
||||||
EXPAND_INITIALIZER),
|
EXPAND_INITIALIZER),
|
||||||
size, align, 0))
|
MIN (size, thissize), align, 0))
|
||||||
error ("initializer for integer value is too complicated");
|
error ("initializer for integer value is too complicated");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue