On 05/25/2016 03:32 PM, Dominik Vogt wrote:
* explow.c (round_push): Use know adjustment. (allocate_dynamic_stack_space): Pass known adjustment to round_push. gcc/testsuite/ChangeLog
I was thinking about whether it would be possible/desirable to eliminate the double add entirely, but I couldn't find a way to structure the code in a way that seems better than what you have. So, ...
/* Round the size of a block to be pushed up to the boundary required - by this machine. SIZE is the desired size, which need not be constant. */ + by this machine. SIZE is the desired size, which need not be constant. + ALREADY_ADDED is the number of units that have already been added to SIZE + for other alignment reasons. +*/
The */ goes on the last line of the comment.
+/* PR/50938: Check that alloca () reserves the correct amount of stack space. + */
Same here really, even if it's only a test. Ok with these fixed. Bernd