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]

Re: equalize C and C++ asm



  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


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