This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r144722 - in /branches/no-undefined-overflow/gc...


Author: rguenth
Date: Mon Mar  9 09:43:05 2009
New Revision: 144722

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144722
Log:
2009-03-09  Richard Guenther  <rguenther@suse.de>

	* tree.h (int_const_binop_1): Declare.
	* fold-const.c (add_double_with_sign): Fix unsigned overflow
	detection.
	(int_const_binop_1): Export.  Fix unsigned overflow detection.
	* stor-layout.c (layout_type): Drop TREE_OVERFLOW on TYPE_SIZE
	if appropriate.
	* tree-vrp.c (integral_range_p): New helper.
	(simplify_unary_for_nonwrapping): Likewise.
	(simplify_binary_for_nonwrapping): Likewise.
	(simplify_stmt_using_ranges): Call them.

Modified:
    branches/no-undefined-overflow/gcc/ChangeLog.overflow
    branches/no-undefined-overflow/gcc/fold-const.c
    branches/no-undefined-overflow/gcc/stor-layout.c
    branches/no-undefined-overflow/gcc/tree-vrp.c
    branches/no-undefined-overflow/gcc/tree.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]