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: fix off-by-one error in pretty-printed array bounds


    +       if (min && max
    + 	  && integer_zerop (min)
    + 	  && host_integerp (max, 0))
    + 	pp_wide_integer (buffer, TREE_INT_CST_LOW (max) + 1);

It's more conventional to use tree_low_cst here, even after the above call.


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