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

[Bug middle-end/22429] [4.1 Regression] -1073741824 <= n && n <= 1073741823 is true where n is 1073741824



------- Comment #9 from bonzini at gcc dot gnu dot org  2005-10-13 16:09 -------
As in:

  if (value != 0
      && (!flag_wrapv || TREE_OVERFLOW (value))
      && (flag_wrapv || !TYPE_UNSIGNED (etype)))

which in turn means

  if (value != 0
      && (flag_wrapv ? TREE_OVERFLOW (value) : !TYPE_UNSIGNED (etype)))


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22429


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