aboutsummaryrefslogtreecommitdiff
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2001-04-17 02:21:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2001-04-17 02:21:10 +0000
commit3ed56f8a0e57bd184b5926c6396feaf23ab2cbcb (patch)
tree7335d9ce36a52a52d8f29c8470046a48deb92d5c /gcc/invoke.texi
parentacb0db7b38ae426210a6596d3d19d47476548637 (diff)
downloadgcc-3ed56f8a0e57bd184b5926c6396feaf23ab2cbcb.zip
gcc-3ed56f8a0e57bd184b5926c6396feaf23ab2cbcb.tar.gz
gcc-3ed56f8a0e57bd184b5926c6396feaf23ab2cbcb.tar.bz2
c-typeck.c (convert_arguments): Don't check for width changes with -Wtraditional.
* c-typeck.c (convert_arguments): Don't check for width changes with -Wtraditional. * invoke.texi (-Wtraditional): Update documentation. testsuite: * gcc.dg/wtr-conversion-1.c: Don't test for width changes. From-SVN: r41386
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index b795b57..9762596 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -2125,9 +2125,10 @@ initializer warnings and relies on default initialization to zero in the
traditional C case.
@item
-Conversions by prototypes. This is similar to @samp{-Wconversion} in
-that it warns about width changes and fixed/floating point conversions,
-however it does not warn about changes in signedness.
+Conversions by prototypes between fixed/floating point values and vice
+versa. The absence of these prototypes when compiling with traditional
+C would cause serious problems. This is a subset of the possible
+conversion warnings, for the full set use @samp{-Wconversion}.
@end itemize
@item -Wundef