diff options
author | Richard Stallman <rms@gnu.org> | 1993-07-18 18:10:11 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-07-18 18:10:11 +0000 |
commit | 366185286aab4ceeb94d98eb54fd9c59708f152a (patch) | |
tree | 946b52405b7212d1a870b567e708061872e551b8 /gcc/fold-const.c | |
parent | edbc355b88bb2e18409a5a7dde52d5fd779c3d1c (diff) | |
download | gcc-366185286aab4ceeb94d98eb54fd9c59708f152a.zip gcc-366185286aab4ceeb94d98eb54fd9c59708f152a.tar.gz gcc-366185286aab4ceeb94d98eb54fd9c59708f152a.tar.bz2 |
(common_type): Use TYPE_MAIN_VARIANT when preferring
long int to int (when width is the same).
(check_format): With -Wformat, warn about
printf("%ld", 1) even if sizeof (int) == sizeof (long),
since the code isn't portable. Similarly for "%d" vs 1L.
(convert_arguments) [PROMOTE_PROTOTYPES]:
With -Wconversion, use unpromoted type to check for signedness changes.
From-SVN: r4935
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions