This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Document PR79806 as a non-bug
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 15 Mar 2017 21:29:53 +0100
- Subject: Document PR79806 as a non-bug
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bschmidt at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 638F2C049D59
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 638F2C049D59
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