]> git.ipfire.org Git - thirdparty/gcc.git/commit
fold-const.c (force_fit_type): Unsigned values can overflow if they are sizetype.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Fri, 20 Oct 2000 17:51:52 +0000 (17:51 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 20 Oct 2000 17:51:52 +0000 (13:51 -0400)
commit444751385724c1ed44e29047bfd96bcdba91f522
tree0179fd011caa1eb6eecaae68b203054a3ee3c1c4
parent23ccfa6dbb713011bc4445e74c5b243673f86620
fold-const.c (force_fit_type): Unsigned values can overflow if they are sizetype.

* fold-const.c (force_fit_type): Unsigned values can overflow
if they are sizetype.
(int_const_binop): Don't use cache if overflows.
* cp/typeck.c (dubious_conversion_warning): Suppress if
TYPE_IS_SIZETYPE.

From-SVN: r36970
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/fold-const.c