aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/c-typeck.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f77c2ad..95f3467 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
+ discarding qualifiers into a plain warning.
+
2000-07-31 Kazu Hirata <kazu@hxi.com>
* h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index a8fa6b5..17cdedd 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -3765,7 +3765,7 @@ build_c_cast (type, expr)
if (warn)
/* There are qualifiers present in IN_OTYPE that are not
present in IN_TYPE. */
- pedwarn ("cast discards qualifiers from pointer target type");
+ warning ("cast discards qualifiers from pointer target type");
}
/* Warn about possible alignment problems. */