Commit 36b15ad0 by Richard Earnshaw Committed by Richard Earnshaw

arm.h (CONSTANT_ALIGNMENT): Don't over-align strings when optimizing for size.

	* arm.h (CONSTANT_ALIGNMENT): Don't over-align strings when
	optimizing for size.

From-SVN: r118914
parent 4d7a2662
2006-11-16 Richard Earnshaw <rearnsha@arm.com>
* arm.h (CONSTANT_ALIGNMENT): Don't over-align strings when
optimizing for size.
2006-11-16 Mike Stump <mrs@apple.com>
* Makefile.in (targhooks.o): Add $(OPTABS_H).
......
......@@ -479,6 +479,7 @@ extern int arm_cpp_interwork;
#define CONSTANT_ALIGNMENT(EXP, ALIGN) \
((TREE_CODE (EXP) == STRING_CST \
&& !optimize_size \
&& (ALIGN) < BITS_PER_WORD * CONSTANT_ALIGNMENT_FACTOR) \
? BITS_PER_WORD * CONSTANT_ALIGNMENT_FACTOR : (ALIGN))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment