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 #4 from pinskia at gcc dot gnu dot org  2008-05-30 10:21 -------
Look into the code rank is actually a number.  So we are taking an integer and
storing it into a void* and then we will access it via find_operand_rank which
casts the pointer back to an integer type.  operand_rank will only contains
these integer and never a real pointer and is only modified by
insert_operand_rank and only looked into by find_operand_rank.  So as mentioned
this is not a bug which will cause wrong code.  We will never access what is
contained in that pointer as it is not really a pointer.


-- 


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]