re PR target/13666 (deviation from the psABI for small unions)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Mon, 26 Jan 2004 11:11:11 +0000 (12:11 +0100)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 26 Jan 2004 11:11:11 +0000 (11:11 +0000)
commita7bba6ca0e41334dfc3768af39b48a142c5ed34e
tree394359c2d0d2c999ab3115d7051f0ff25fbdba04
parent2cb612d1b0459fdb72a0af8928741869f2fdaaed
re PR target/13666 (deviation from the psABI for small unions)

PR target/13666
* config/sparc/sparc.c (function_arg_union_value): New function.
(function_arg): Use it to deal with unions.
(function_value): Likewise.  Define 'regbase' only for ARCH64.
Replace a conditional statement by a simpler one.

From-SVN: r76628
gcc/ChangeLog
gcc/config/sparc/sparc.c