Re: [PATCH] Fix PR48493

2013-08-09 Thread Richard Biener
On 8/9/13 1:29 AM, Mike Stump wrote: > In the below, the test case tries to write to the stack outside the bounds of > the s variable? I can't imagine any good coming from this, and indeed, would > be nice for the compiler to complain about such code. If S had a few more > bytes at the end, at

Re: [PATCH] Fix PR48493

2013-08-08 Thread Mike Stump
In the below, the test case tries to write to the stack outside the bounds of the s variable? I can't imagine any good coming from this, and indeed, would be nice for the compiler to complain about such code. If S had a few more bytes at the end, at least the code would not be wildly bad. Tho

[PATCH] Fix PR48493

2012-05-31 Thread Richard Guenther
This fixes PR48493 by backporting a one-liner - we should not go the movmisalign path for destinations that are not memory. Bootstrapped and tested on x86_64-unknown-linux-gnu and on mips by Andrew, installed. Richard. 2012-05-31 Richard Guenther PR middle-end/48493 * expr.c