aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@gnu.org>1993-07-12 21:10:27 +0000
committerPaul Eggert <eggert@gnu.org>1993-07-12 21:10:27 +0000
commit90c939d4ee5262bc3fe87d3b98a3ae47be5c4341 (patch)
tree45cee5741e1f3cee9340e7983068f09502d3b1d1 /gcc/c-common.c
parentc5a3d53f118578145df68c3224f63201def14fdd (diff)
downloadgcc-90c939d4ee5262bc3fe87d3b98a3ae47be5c4341.zip
gcc-90c939d4ee5262bc3fe87d3b98a3ae47be5c4341.tar.gz
gcc-90c939d4ee5262bc3fe87d3b98a3ae47be5c4341.tar.bz2
(unsigned_conversion_warning): Just use `warning',
not `pedwarn'; these diagnostics are not required by Standard C. From-SVN: r4909
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 087332c..fae1e44 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -387,9 +387,9 @@ unsigned_conversion_warning (result, operand)
{
if (!int_fits_type_p (operand, signed_type (TREE_TYPE (result))))
/* This detects cases like converting -129 or 256 to unsigned char. */
- pedwarn ("large integer implicitly truncated to unsigned type");
+ warning ("large integer implicitly truncated to unsigned type");
else if (warn_conversion)
- pedwarn ("negative integer implicitly converted to unsigned type");
+ warning ("negative integer implicitly converted to unsigned type");
}
}