Module Name:    src
Committed By:   martin
Date:           Thu Mar 13 19:33:23 UTC 2014

Modified Files:
        src/external/gpl3/gcc/dist/gcc: tree-ssa-ccp.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c
diff -u src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c:1.2 src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c:1.3
--- src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c:1.2	Sat Mar  1 09:44:50 2014
+++ src/external/gpl3/gcc/dist/gcc/tree-ssa-ccp.c	Thu Mar 13 19:33:23 2014
@@ -2553,6 +2553,10 @@ struct gimple_opt_pass pass_fold_builtin
 #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
 

Reply via email to