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 COMMITTED: Fix Ada build


"Richard Guenther" <richard.guenther@gmail.com> writes:

> Why use operand_equal_p and the short circuits when tree_int_cst_equal
> does the same thing?

Simply because TYPE_MAX_VALUE is not always an INTEGER_CST.  Using
operand_equal_p was the conservative change, and VRP uses it in other
places.

Ian


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