From: Ulrich Weigand Date: Tue, 12 Aug 2008 13:09:09 +0000 (+0000) Subject: * config/spu/spu.c (spu_safe_dma): Respect TARGET_SAFE_DMA. X-Git-Tag: releases/gcc-4.4.0~3183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4230d0fe3258a221706f791c04683bffb982e4f3;p=thirdparty%2Fgcc.git * config/spu/spu.c (spu_safe_dma): Respect TARGET_SAFE_DMA. From-SVN: r139011 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dfaa93e62a64..42afad26c729 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-08-12 Ulrich Weigand + + * config/spu/spu.c (spu_safe_dma): Respect TARGET_SAFE_DMA. + 2008-08-12 Ulrich Weigand * config/spu/spu.h (DWARF_FRAME_RETURN_COLUMN): Define. diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index b40d12c01496..230f4c076981 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -4565,7 +4565,7 @@ spu_restore_stack_block (rtx op0 ATTRIBUTE_UNUSED, rtx op1) int spu_safe_dma (HOST_WIDE_INT channel) { - return (channel >= 21 && channel <= 27); + return TARGET_SAFE_DMA && channel >= 21 && channel <= 27; } void