This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12800] [tree-ssa] Store dropped after cast to pointer from integer of different size
- 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: 28 Oct 2003 00:28:59 -0000
- Subject: [Bug optimization/12800] [tree-ssa] Store dropped after cast to pointer from integer of different size
- References: <20031028001552.12800.falk@debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12800
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|alphaev68-unknown-linux-gnu |
GCC host triplet|alphaev68-unknown-linux-gnu |
GCC target triplet|alphaev68-unknown-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2003-10-28 00:28:59
date| |
Target Milestone|--- |tree-ssa
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-28 00:28 -------
Here is a better example that shows the problem (on targets where at least
sizeof(int)==sizeof(char*) but does not show the problem on targets where
sizeof(char)==sizeof(char*)):
void op_stw_raw_T0_A0(char T2)
{
*(char *) T2 = 0;
}