Help the hack verifying malloc alignment expectations and force the

word size definition on sh* to be a compile time constant. We do not
provide a single library supporting both variants, so we pick the
smaller alignment for now.
This commit is contained in:
martin 2014-03-13 19:33:23 +00:00
parent be1e2f2afe
commit 74a4cee79e

View File

@ -2553,6 +2553,10 @@ struct gimple_opt_pass pass_fold_builtins =
#ifdef _LP64
#define TARGET_64BIT 1
#else
#ifdef __sh__
#undef UNITS_PER_WORD
#define UNITS_PER_WORD 4 /* original definition varies depending on cpu */
#endif
#define TARGET_64BIT 0
#endif