[Bug optimization/11373] [tree-ssa] asm generated lhs expressions are discarded

dnovillo at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Jul 15 12:19:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11373



------- Additional Comments From dnovillo at redhat dot com  2003-07-15 12:19 -------
Subject: Re:  [tree-ssa] asm generated lhs
	expressions are discarded

On Tue, 2003-07-15 at 01:50, marcus at jet dot franken dot de wrote:

> Why is an asm() statement with a pointer as output something
> special?   Its just like any other function that returns a pointer,
> or?
>
Ah, yes, now I see.  I had missed the assignment to 't' inside the asm
statement.  I'll fix that.

The second test case seems borderline to me.  I'm not a language lawyer,
but I don't know what are the rules wrt assigning using random integer
values to a pointer.  We can mark the pointer with the 'may point to
global memory' attribute.


Diego.



More information about the Gcc-bugs mailing list