Re: Document PR79806 as a non-bug

2017-03-21 Thread Jeff Law

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



Document PR79806 as a non-bug

2017-03-15 Thread Bernd Schmidt
I suggest we apply the following and close the PR as INVALID (not a 
bug). Ok?



Bernd

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