This is the mail archive of the gcc-patches@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]

Re: [patch] tree-vrp.c: Fix PR tree-optimization/25485.



On Dec 26, 2005, at 3:01 AM, Kazu Hirata wrote:


+	  min = max = fold_convert (TREE_TYPE (expr),
+				    integer_zero_node);

+	  min = max = fold_convert (TREE_TYPE (expr),
+				    integer_one_node);


Shouldn't you be using build_int_cst instead of fold_convert?

Thanks,
Andrew Pinski


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