This is the mail archive of the gcc-patches@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]

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


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