hpux.h (LINK_SPEC): Add -z.
* config/ia64/hpux.h (LINK_SPEC): Add -z. * config/ia64/ia64.c (ia64_function_value): Return a REG not a PARALLEL for an empty structure. From-SVN: r96004
This commit is contained in:
parent
1eaea40908
commit
543144ed5d
|
@ -1,3 +1,9 @@
|
||||||
|
2005-03-07 Joseph S. Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* config/ia64/hpux.h (LINK_SPEC): Add -z.
|
||||||
|
* config/ia64/ia64.c (ia64_function_value): Return a REG not a
|
||||||
|
PARALLEL for an empty structure.
|
||||||
|
|
||||||
2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
|
2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
|
* fold-const.c (fold_binary): Remove handling of RANGE_EXPR.
|
||||||
|
|
|
@ -75,7 +75,7 @@ do { \
|
||||||
|
|
||||||
#undef LINK_SPEC
|
#undef LINK_SPEC
|
||||||
#define LINK_SPEC \
|
#define LINK_SPEC \
|
||||||
"+Accept TypeMismatch \
|
"-z +Accept TypeMismatch \
|
||||||
%{shared:-b} \
|
%{shared:-b} \
|
||||||
%{!shared: \
|
%{!shared: \
|
||||||
-u main \
|
-u main \
|
||||||
|
|
|
@ -3915,6 +3915,10 @@ ia64_function_value (tree valtype, tree func ATTRIBUTE_UNUSED)
|
||||||
|
|
||||||
offset = 0;
|
offset = 0;
|
||||||
bytesize = int_size_in_bytes (valtype);
|
bytesize = int_size_in_bytes (valtype);
|
||||||
|
/* An empty PARALLEL is invalid here, but the return value
|
||||||
|
doesn't matter for empty structs. */
|
||||||
|
if (bytesize == 0)
|
||||||
|
return gen_rtx_REG (mode, GR_RET_FIRST);
|
||||||
for (i = 0; offset < bytesize; i++)
|
for (i = 0; offset < bytesize; i++)
|
||||||
{
|
{
|
||||||
loc[i] = gen_rtx_EXPR_LIST (VOIDmode,
|
loc[i] = gen_rtx_EXPR_LIST (VOIDmode,
|
||||||
|
|
Loading…
Reference in New Issue