This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: g++ not accepting certain asm constructs
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <zack at codesourcery dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 11 Aug 2004 08:37:25 +0200
- Subject: Re: g++ not accepting certain asm constructs
I'm reading this as approval (but not application), but since I don't
have cvs write access someone else would have to check this in. Thanks,
Jan
>>> Zack Weinberg <zack@codesourcery.com> 10.08.04 19:04:51 >>>
"Jan Beulich" <JBeulich@novell.com> writes:
> g++ (starting with 3.4.0) rejected constructs like __asm__(: ::),
while
> 3.3.3
> accepted them and comments in the sources also indicate this is
> supposed to
> work.
>
> Built and tested on i686-pc-linux-gnu.
>
> Jan
>
> cp:
> 2004-08-10 Jan Beulich <jbeulich@novell.com>
>
> * parser.c (cp_parser_asm_definition): Properly consume scope
> operator
> tokens preceding the clobbers. Don't check for scope operator
> following inputs. Simplify inputs handling to match that now
> used for
> clobbers.
>
> testsuite:
> 2004-08-10 Jan Beulich <jbeulich@novell.com>
>
> * g++.dg/ext/asm5.C: New.
OK mainline, 3.4 branch.
zw