From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18941 invoked by alias); 15 Jul 2003 12:19:10 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 18934 invoked by alias); 15 Jul 2003 12:19:09 -0000 Date: Tue, 15 Jul 2003 12:19:00 -0000 Message-ID: <20030715121909.18932.qmail@sources.redhat.com> From: "dnovillo at redhat dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030629143256.11373.marcus@jet.franken.de> References: <20030629143256.11373.marcus@jet.franken.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug optimization/11373] [tree-ssa] asm generated lhs expressions are discarded X-Bugzilla-Reason: CC X-SW-Source: 2003-07/txt/msg01670.txt.bz2 List-Id: 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.