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 tree-optimization/30317] VRP cannot extract a range from (unsigned int) i + 0x0ffffffff > 4



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-02-06 10:08 -------
Created an attachment (id=13013)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13013&action=view)
alternate patch

This patch tackes the issue by allowing

  a_2 = ASSERT_EXRP <a_1, (unsigned)a_1 + 5 <= 10>

(and similar expressions).  A variant of this patch which had not undergone
a last-minute cosmetic cleanup survivied all-languages bootstrap and regtest
on x86_64-unknown-linux-gnu.


-- 


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


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