r219206 - in /trunk/gcc: ChangeLog config/xtens...

jcmvbkbc@gcc.gnu.org jcmvbkbc@gcc.gnu.org
Mon Jan 5 22:22:00 GMT 2015


Author: jcmvbkbc
Date: Mon Jan  5 22:22:36 2015
New Revision: 219206

URL: https://gcc.gnu.org/viewcvs?rev=219206&root=gcc&view=rev
Log:
Fix loop optimization when ZOL is not available in xtensa configuration

Currently building gcc for xtensa configuration with XCHAL_HAVE_LOOPS
set to 0 fails with the following error:

  xtensa.c:3952: undefined reference to `reorg_loops(bool, hw_doloop_hooks*)'

Only compile target-specific zero-overhead loop optimization code when
TARGET_LOOPS allows it.

2014-12-30  Max Filippov  <jcmvbkbc@gmail.com>

	* config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
	hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
	put under #if TARGET_LOOPS guard.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/xtensa/xtensa.c



More information about the Gcc-cvs mailing list