------- Comment #5 from ian at gcc dot gnu dot org 2007-05-01 20:23 ------- Subject: Bug 31739
Author: ian Date: Tue May 1 20:23:47 2007 New Revision: 124338 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124338 Log: PR tree-optimization/31739 * tree-vrp.c (vrp_val_is_max): New static function. (vrp_val_is_min): New static function. (set_value_range_to_value): Use TYPE_{MAX,MIN}_VALUE rather than copying the node. (set_value_range): Use vrp_val_is_{max,min}. (extract_range_from_assert): Likewise. (extract_range_from_binary_expr): Likewise. (extract_range_from_unary_expr): Likewise. (dump_value_range, vrp_meet): Likewise. (vrp_visit_phi_node): Likewise. * tree.c (build_distinct_type_copy): Revert change of 2007-04-27. Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/tree-vrp.c branches/gcc-4_2-branch/gcc/tree.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31739