This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
gcc.dg/c90-const-expr-3.c patch (obvious)
- From: "Ben Elliston" <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: 25 Oct 2004 10:17:45 +1000
- Subject: gcc.dg/c90-const-expr-3.c patch (obvious)
Committed as obvious:
2004-10-24 Ben Elliston <bje@au.ibm.com>
* gcc.dg/c90-const-expr-3.c: Reference the ISO C standard.
Index: gcc.dg/c90-const-expr-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/c90-const-expr-3.c,v
retrieving revision 1.4
diff -u -p -r1.4 c90-const-expr-3.c
--- gcc.dg/c90-const-expr-3.c 24 Oct 2004 20:59:29 -0000 1.4
+++ gcc.dg/c90-const-expr-3.c 25 Oct 2004 00:15:45 -0000
@@ -1,4 +1,5 @@
/* Test for constant expressions: broken optimization with const variables. */
+/* Reference: ISO 9989:1990 6.5.15 */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=iso9899:1990 -O2" } */