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]

[patch] avr.c: Remove an extra pair of curly braces.


Hi,

Built cc1.  Committed as obvious.

Kazu Hirata

2004-01-05  Kazu Hirata  <kazu@cs.umass.edu>

	* config/avr/avr.c (avr_output_function_prologue): Remove an
	extra pair of curly braces.

Index: avr.c
===================================================================
RCS file: /home/kazu/nobackup/gcc-cvs/gcc/gcc/config/avr/avr.c,v
retrieving revision 1.106
diff -c -r1.106 avr.c
*** avr.c	25 Dec 2003 15:17:36 -0000	1.106
--- avr.c	2 Jan 2004 17:32:41 -0000
***************
*** 700,731 ****
  	}
        if (frame_pointer_needed)
  	{
! 	  {
! 	    fprintf (file, "\t"
! 		     AS1 (push,r28) CR_TAB
! 		     AS1 (push,r29) CR_TAB
! 		     AS2 (in,r28,__SP_L__) CR_TAB
! 		     AS2 (in,r29,__SP_H__) "\n");
! 	    prologue_size += 4;
! 	    if (size)
! 	      {
! 		fputs ("\t", file);
! 		prologue_size += out_adj_frame_ptr (file, size);
  
! 		if (interrupt_func_p)
! 		  {
! 		    prologue_size += out_set_stack_ptr (file, 1, 1);
! 		  }
! 		else if (signal_func_p)
! 		  {
! 		    prologue_size += out_set_stack_ptr (file, 0, 0);
! 		  }
! 		else
! 		  {
! 		    prologue_size += out_set_stack_ptr (file, -1, -1);
! 		  }
! 	      }
! 	  }
  	}
      }
  
--- 700,729 ----
  	}
        if (frame_pointer_needed)
  	{
! 	  fprintf (file, "\t"
! 		   AS1 (push,r28) CR_TAB
! 		   AS1 (push,r29) CR_TAB
! 		   AS2 (in,r28,__SP_L__) CR_TAB
! 		   AS2 (in,r29,__SP_H__) "\n");
! 	  prologue_size += 4;
! 	  if (size)
! 	    {
! 	      fputs ("\t", file);
! 	      prologue_size += out_adj_frame_ptr (file, size);
  
! 	      if (interrupt_func_p)
! 		{
! 		  prologue_size += out_set_stack_ptr (file, 1, 1);
! 		}
! 	      else if (signal_func_p)
! 		{
! 		  prologue_size += out_set_stack_ptr (file, 0, 0);
! 		}
! 	      else
! 		{
! 		  prologue_size += out_set_stack_ptr (file, -1, -1);
! 		}
! 	    }
  	}
      }
  


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