This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: equalize C and C++ asm
- To: drepper at cygnus dot com (Ulrich Drepper)
- Subject: Re: equalize C and C++ asm
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 01 Feb 2000 23:26:12 -0700
- cc: gcc-patches at sourceware dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <m366wctiod.fsf@localhost.localnet>you write:
> Currently the C++ asm statements cannot always have the same form as
> their C counterparts. E.g.,
>
> asm ("..." :: "r" (foo));
>
> is misparsed. Because this is easy to fix I'd like to commit the
> appended patch. Could somebody look at it?
>
> --
> ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
> Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
> Red Hat `--' drepper at redhat.com `------------------------
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 2000-01-29 Ulrich Drepper <drepper@redhat.com>
>
> * parse.y (simple_stmt): Allow :: token in asm parameter list.
Based on Jason's approval I went ahead and installed this patch.
Thanks,
jeff