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/36385] Assume that long is scalar size of a pointer



------- Comment #3 from ktietz at gcc dot gnu dot org  2008-05-30 10:14 -------
It true. Just two warnings are shown, but the back-cast of a long to a pointer
on w64 in insert_operand_rank() is evil. If the pointer is on heap, it can be
easily truncated and point to nowhere.


-- 


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


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