[Bug tree-optimization/22360] [4.0/4.1 Regression] upper_bound_in_type and lower_bound_in_type are buggy

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jul 8 18:49:00 GMT 2005


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-08 18:49 -------
Subject: Bug 22360

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	kazu@gcc.gnu.org	2005-07-08 18:49:07

Modified files:
	gcc            : ChangeLog tree.c 

Log message:
	PR tree-optimization/22360
	* tree.c (upper_bound_in_type): Fix calculations for casting
	to a non-wider signed type and casting a signed value to a
	wider unsigned type.
	(lower_bound_in_type): Fix calculations for casting to a
	non-wider signed type.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9384&r2=2.9385
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.494&r2=1.495



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22360



More information about the Gcc-bugs mailing list