sync-cache.c (__aarch64_sync_cache_range): Cast the results of (dcache_lsize - 1...
authorYufeng Zhang <yufeng.zhang@arm.com>
Thu, 17 Jan 2013 14:27:36 +0000 (14:27 +0000)
committerYufeng Zhang <yufeng@gcc.gnu.org>
Thu, 17 Jan 2013 14:27:36 +0000 (14:27 +0000)
commit922c57d1ba5cb53ba29bc303ab66e869065d540b
treef129a6ce4913ae778276244dc933a383a232aa46
parent8222c37ededfe0f55233898ecc7c4cc023f6389c
sync-cache.c (__aarch64_sync_cache_range): Cast the results of (dcache_lsize - 1) and (icache_lsize - 1) to the type...

2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>

* config/aarch64/sync-cache.c (__aarch64_sync_cache_range): Cast the
results of (dcache_lsize - 1) and (icache_lsize - 1) to the type
__UINTPTR_TYPE__; also cast 'base' to the same type before the
alignment operation.

From-SVN: r195266
libgcc/ChangeLog
libgcc/config/aarch64/sync-cache.c