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/26763] [4.1 Regression] wrong final value of induction variable calculated



------- Comment #6 from rguenth at gcc dot gnu dot org  2006-03-31 21:12 -------
I believe c-common.c:pointer_int_sum is wrong in relying on pointer overflow
during conversion of the integer offset to an unsigned pointer.  I'm sending
a patch that fixes this for comments.


-- 


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


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