mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-21 16:50:00 +08:00
rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT to test for 32-bit ABIs, not !TARGET_POWERPC64.
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT to test for 32-bit ABIs, not !TARGET_POWERPC64. From-SVN: r219805
This commit is contained in:
parent
436bd91737
commit
ffafb4f039
@ -1,3 +1,8 @@
|
||||
2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
|
||||
to test for 32-bit ABIs, not !TARGET_POWERPC64.
|
||||
|
||||
2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_parallel_return): New function.
|
||||
|
@ -11471,7 +11471,7 @@ rs6000_gimplify_va_arg (tree valist, tree type, gimple_seq *pre_p,
|
||||
|
||||
/* _Decimal32 varargs are located in the second word of the 64-bit
|
||||
FP register for 32-bit binaries. */
|
||||
if (!TARGET_POWERPC64
|
||||
if (TARGET_32BIT
|
||||
&& TARGET_HARD_FLOAT && TARGET_FPRS
|
||||
&& TYPE_MODE (type) == SDmode)
|
||||
t = fold_build_pointer_plus_hwi (t, size);
|
||||
|
Loading…
Reference in New Issue
Block a user