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

PATCH for Re: cp/semantics.c is broken.



Here's a patch.  Jason, is this OK?

-- 
Mark Mitchell <mmitchell@usa.net>
http://home.earthlink.net/~mbmitchell
Consulting Services Available

Thu Mar 19 18:52:38 1998  Mark Mitchell  <mmitchell@usa.net>

	* semantics.c (finish_asm_stmt): Correct mishandling of asm's with
	some omitted fields.

Index: semantics.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/semantics.c,v
retrieving revision 1.1
diff -c -p -r1.1 semantics.c
*** semantics.c	1998/03/18 10:51:59	1.1
--- semantics.c	1998/03/20 02:50:43
*************** finish_asm_stmt (cv_qualifier, string, o
*** 721,727 ****
    else
      {
        emit_line_note (input_filename, lineno);
!       if (output_operands != NULL_TREE)
  	{
  	  if (cv_qualifier != NULL_TREE
  	      && cv_qualifier != ridpointers[(int) RID_VOLATILE])
--- 721,729 ----
    else
      {
        emit_line_note (input_filename, lineno);
!       if (output_operands != NULL_TREE
! 	  || input_operands != NULL_TREE
! 	  || clobbers != NULL_TREE)
  	{
  	  if (cv_qualifier != NULL_TREE
  	      && cv_qualifier != ridpointers[(int) RID_VOLATILE])


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