/**
 * @file
 * @brief
 *
 * @author  Anton Kozlov
 * @date    21.07.2015
 */

#ifndef STR_INHIBIT_LIBCALL_H_
#define STR_INHIBIT_LIBCALL_H_

/* FIXME  __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
 * can be not supported in cross-compiler
 */
#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1

#ifdef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
# define inhibit_loop_to_libcall \
	    __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
#else
# define inhibit_loop_to_libcall
#endif

#endif /* STR_INHIBIT_LIBCALL_H_ */

/**
 * @file
 * @brief
 *
 * @author  Anton Kozlov
 * @date    21.07.2015
 */

#ifndef STR_INHIBIT_LIBCALL_H_
#define STR_INHIBIT_LIBCALL_H_

/* FIXME  __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
 * can be not supported in cross-compiler
 */
#ifndef __e2k__
#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
#endif /* __e2k__ */

#ifdef HAVE_CC_INHIBIT_LOOP_TO_LIBCALL
# define inhibit_loop_to_libcall \
	    __attribute__ ((__optimize__ ("-fno-tree-loop-distribute-patterns")))
#else
# define inhibit_loop_to_libcall
#endif

#endif /* STR_INHIBIT_LIBCALL_H_ */

Fix inhibit_loop_to_libcall compilation on e2k
compat: Fix inhibit_loop_to_libcall compilation on e2k
