--- Comment #7 from ktietz at gcc dot gnu dot org 2009-09-08 15:35 ---
Fixed by revision 151515 for 4.5 version.
As this bug depends to new config/stdint.m4 and 2.64 support in gcc configure,
this won't be backported to 4.4.x
--
ktietz at gcc dot gnu dot org changed:
Wha
--- Comment #6 from ktietz at gcc dot gnu dot org 2009-08-31 19:29 ---
Created an attachment (id=18457)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18457&action=view)
Remove cast warnings for target with sizeof (void *)>sizeof(long)
If define __INTPTR_TYPE__ is present, this pat
--- Comment #5 from ktietz at gcc dot gnu dot org 2008-05-30 10:32 ---
(In reply to comment #4)
I see. So just two misleading warnings are there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36385
--- 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 w
--- 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.gn
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-05-30 09:55 ---
*** Bug 36386 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36385
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-05-30 09:55 ---
It just assume that the size of a pointer is at least the sizeof long so this
only causes a warning. This fact is true for w64 where long is 32bits while
pointers are 64bits.
--
pinskia at gcc dot gnu dot org ch