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:
parent
be1e2f2afe
commit
74a4cee79e
4
external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c
vendored
4
external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user