]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/18882 (wrong results with complex long double)
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 16 Dec 2004 14:04:52 +0000 (14:04 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 16 Dec 2004 14:04:52 +0000 (14:04 +0000)
commitdf33e16bfdb5f4344fc0a25f95efeea4ce0c44bf
tree5059c3da3755caea390380213e020d487fd433bf
parent74c11d0a78cc6b4d04f55f7a50283f9d135a1ab2
re PR middle-end/18882 (wrong results with complex long double)

PR middle-end/18882
* function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment
when passed -2 as 'align'.
(put_var_into_stack): Adjust calls to put_reg_into_stack.
When passed a CONCAT, instruct put_reg_into_stack to use
a consecutive stack slot for the second part.
(put_reg_into_stack): Remove 'promoted_mode' parameter, add
'consecutive_p' parameter.  Retrieve the register mode from 'reg'.
When consecutive_p is true, instruct assign_stack_local_1 to use
BITS_PER_UNIT alignment.
(put_addressof_into_stack): Adjust call to put_reg_into_stack.

From-SVN: r92262
gcc/ChangeLog
gcc/function.c
gcc/testsuite/ChangeLog