Message ID | 873a9725-3a21-159e-de60-1cd33172f8c2@redhat.com |
---|---|
State | New |
Headers | show |
On 03/15/2017 02:29 PM, Bernd Schmidt wrote: > I suggest we apply the following and close the PR as INVALID (not a > bug). Ok? Agreed. I've already taken care of BZ. So just apply the patch to the trunk. Jeff
Index: pr65693.c =================================================================== --- pr65693.c (revision 245685) +++ pr65693.c (working copy) @@ -2,6 +2,11 @@ /* { dg-do compile } */ /* { dg-options "-O2" } */ +/* This test relies on -O2 to optimize away the division operation + that's expanded as part of the alloca. With -O0, the explicit use + of edx causes a compilation failure, which is expected + behaviour. */ + int a; void