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 optimization/12800] [tree-ssa] Store dropped after cast to pointer from integer of different size


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



------- Additional Comments From dnovillo at redhat dot com  2003-10-28 00:32 -------
Subject: Re:  New: [tree-ssa] Store dropped after
	cast to pointer from integer of different size

On Mon, 2003-10-27 at 19:15, falk at debian dot org wrote:

> falk@juist:/tmp% cat op.i
> void op_stw_raw_T0_A0(int T2)
> {
>   *(char *) T2 = 0;
> }
> 
Why do you expect this to work?  T2 is an integer, not a pointer.


Diego.


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