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

Re: get_condition causes overlow for sign extended constants


        case GE:
          if (const_val
              != (((HOST_WIDE_INT) 1

Wouldn't changing this "1" to "-1" also fix it and in a cleaner way?
If that works, please send me the resulting patch.


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