This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36385] Assume that long is scalar size of a pointer
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 May 2008 10:21:26 -0000
- Subject: [Bug tree-optimization/36385] Assume that long is scalar size of a pointer
- References: <bug-36385-15155@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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