aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/c90-const-expr-3.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7aa6a93..cd404d1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-24 Ben Elliston <bje@au.ibm.com>
+
+ * gcc.dg/c90-const-expr-3.c: Reference the ISO C standard.
+
2004-10-24 Geoffrey Keating <geoffk@geoffk.org>
* gcc.dg/c90-const-expr-3.c: xfail all the ASSERT_NOT_NPC tests.
diff --git a/gcc/testsuite/gcc.dg/c90-const-expr-3.c b/gcc/testsuite/gcc.dg/c90-const-expr-3.c
index 010eaf4..75c8bff 100644
--- a/gcc/testsuite/gcc.dg/c90-const-expr-3.c
+++ b/gcc/testsuite/gcc.dg/c90-const-expr-3.c
@@ -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" } */