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]

Remove extra lines


Howdy,

The following patch removes extra lines at the beginning of
functions.  I bootstrapped and regression tested it on
powerpc-unknown-linux-gnu.  Committed as obvious.

-- 
Matt Kraai <kraai@alumni.cmu.edu>
Debian GNU/Linux Peon

	* alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
	(nonlocal_set_p): Remove initial blank line.
	* dwarf2out.c (simple_type_size_in_bits): Likewise.
	* et-forest.c (et_forest_create): Likewise.
	* explow.c (stabilize): Likewise.
	* fix-header.c (write_lbrac): Likewise.
	* graph.c (start_fct, node_data): Likewise.
	* jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
	* rtlanal.c (global_reg_mentioned_p): Likewise.
	* tree.c (bit_position): Likewise.

Index: gcc/alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/alias.c,v
retrieving revision 1.192
diff -c -3 -p -r1.192 alias.c
*** gcc/alias.c	23 Apr 2003 02:47:41 -0000	1.192
--- gcc/alias.c	20 May 2003 01:33:50 -0000
*************** static int
*** 2446,2452 ****
  nonlocal_mentioned_p (x)
       rtx x;
  {
- 
    if (INSN_P (x))
      {
        if (GET_CODE (x) == CALL_INSN)
--- 2446,2451 ----
*************** static int
*** 2544,2550 ****
  nonlocal_referenced_p (x)
       rtx x;
  {
- 
    if (INSN_P (x))
      {
        if (GET_CODE (x) == CALL_INSN)
--- 2543,2548 ----
*************** static int
*** 2624,2630 ****
  nonlocal_set_p (x)
       rtx x;
  {
- 
    if (INSN_P (x))
      {
        if (GET_CODE (x) == CALL_INSN)
--- 2622,2627 ----
Index: gcc/dwarf2out.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
retrieving revision 1.425
diff -c -3 -p -r1.425 dwarf2out.c
*** gcc/dwarf2out.c	4 May 2003 05:22:51 -0000	1.425
--- gcc/dwarf2out.c	20 May 2003 01:34:32 -0000
*************** static inline unsigned HOST_WIDE_INT
*** 8032,8038 ****
  simple_type_size_in_bits (type)
       tree type;
  {
- 
    if (TREE_CODE (type) == ERROR_MARK)
      return BITS_PER_WORD;
    else if (TYPE_SIZE (type) == NULL_TREE)
--- 8032,8037 ----
Index: gcc/et-forest.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/et-forest.c,v
retrieving revision 1.5
diff -c -3 -p -r1.5 et-forest.c
*** gcc/et-forest.c	17 Jan 2003 14:24:19 -0000	1.5
--- gcc/et-forest.c	20 May 2003 01:34:32 -0000
*************** calculate_value (node)
*** 439,445 ****
  et_forest_t
  et_forest_create ()
  {
- 
    et_forest_t forest = xmalloc (sizeof (struct et_forest));
  
    forest->nnodes = 0;
--- 439,444 ----
Index: gcc/explow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/explow.c,v
retrieving revision 1.109
diff -c -3 -p -r1.109 explow.c
*** gcc/explow.c	14 Apr 2003 22:08:51 -0000	1.109
--- gcc/explow.c	20 May 2003 01:34:38 -0000
*************** rtx
*** 684,690 ****
  stabilize (x)
       rtx x;
  {
- 
    if (GET_CODE (x) != MEM
        || ! rtx_unstable_p (XEXP (x, 0)))
      return x;
--- 684,689 ----
Index: gcc/fix-header.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fix-header.c,v
retrieving revision 1.96
diff -c -3 -p -r1.96 fix-header.c
*** gcc/fix-header.c	17 May 2003 22:21:30 -0000	1.96
--- gcc/fix-header.c	20 May 2003 01:34:44 -0000
*************** int required_other = 0;
*** 415,421 ****
  static void
  write_lbrac ()
  {
- 
  #if ADD_MISSING_EXTERN_C
    if (missing_extern_C_count + required_unseen_count > 0)
      fprintf (outf, "#ifdef __cplusplus\nextern \"C\" {\n#endif\n");
--- 415,420 ----
Index: gcc/graph.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/graph.c,v
retrieving revision 1.24
diff -c -3 -p -r1.24 graph.c
*** gcc/graph.c	13 May 2003 18:06:46 -0000	1.24
--- gcc/graph.c	20 May 2003 01:34:44 -0000
*************** static void
*** 51,57 ****
  start_fct (fp)
       FILE *fp;
  {
- 
    switch (graph_dump_format)
      {
      case vcg:
--- 51,56 ----
*************** node_data (fp, tmp_rtx)
*** 110,116 ****
       FILE *fp;
       rtx tmp_rtx;
  {
- 
    if (PREV_INSN (tmp_rtx) == 0)
      {
        /* This is the first instruction.  Add an edge from the starting
--- 109,114 ----
Index: gcc/jump.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/jump.c,v
retrieving revision 1.224
diff -c -3 -p -r1.224 jump.c
*** gcc/jump.c	9 May 2003 09:25:33 -0000	1.224
--- gcc/jump.c	20 May 2003 01:34:50 -0000
*************** int
*** 1278,1284 ****
  only_sets_cc0_p (x)
       rtx x;
  {
- 
    if (! x)
      return 0;
  
--- 1278,1283 ----
*************** int
*** 1297,1303 ****
  sets_cc0_p (x)
       rtx x;
  {
- 
    if (! x)
      return 0;
  
--- 1296,1301 ----
Index: gcc/rtlanal.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/rtlanal.c,v
retrieving revision 1.156
diff -c -3 -p -r1.156 rtlanal.c
*** gcc/rtlanal.c	22 Apr 2003 23:17:45 -0000	1.156
--- gcc/rtlanal.c	20 May 2003 01:35:00 -0000
*************** int
*** 636,642 ****
  global_reg_mentioned_p (x)
       rtx x;
  {
- 
    if (INSN_P (x))
      {
        if (GET_CODE (x) == CALL_INSN)
--- 636,641 ----
Index: gcc/tree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.c,v
retrieving revision 1.304
diff -c -3 -p -r1.304 tree.c
*** gcc/tree.c	17 May 2003 22:21:32 -0000	1.304
--- gcc/tree.c	20 May 2003 01:35:14 -0000
*************** tree
*** 1186,1192 ****
  bit_position (field)
       tree field;
  {
- 
    return bit_from_pos (DECL_FIELD_OFFSET (field),
  		       DECL_FIELD_BIT_OFFSET (field));
  }
--- 1186,1191 ----


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