This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: IPCP cleanups to tree-profiling-branch
- From: Steven Bosscher <stevenb at suse dot de>
- To: Razya Ladelsky <RAZYA at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, hubicka at ucw dot cz, jh at suse dot cz
- Date: Wed, 25 May 2005 10:48:43 +0200
- Subject: Re: IPCP cleanups to tree-profiling-branch
- References: <OF9C80BF4C.B5E604CC-ONC225700C.002E1D36-C225700C.002E2A3F@il.ibm.com>
On Wednesday 25 May 2005 10:24, Razya Ladelsky wrote:
> Hello,
>
> Attached are several cleanups to ipcp code.
>
> Main changes include:
> - Removing ipa_method and ipa_callsite typedefs, using cgraph_node * and
> cgraph_edge * instead.
> - Hiding access to aux field of cgraph_node and cgraph_edge by
> IPA_NODE_REF, IPA_EDGE_REF macros.
> - Remove redundant walk_tree, use ADDRESSABLE to check if a parameter's
> address is taken.
> There's also elimination of redundant code and some coding style fixes.
diff -c -3 -p -r1.1.2.1 ipcp.c
*** ipcp.c 22 May 2005 11:18:29 -0000 1.1.2.1
--- ipcp.c 24 May 2005 18:39:31 -0000
***************
*** 1,129 ****
/* Interprocedural constant propagation
Copyright (C) 2005 Free Software Foundation, Inc.
Contributed by Razya Ladelsky <RAZYA@il.ibm.com>
!
! This file is part of GCC.
!
! GCC is free software; you can redistribute it and/or modify it under
! the terms of the GNU General Public License as published by the Free
...
--- 1,129 ----
/* Interprocedural constant propagation
Copyright (C) 2005 Free Software Foundation, Inc.
Contributed by Razya Ladelsky <RAZYA@il.ibm.com>
!
! This file is part of GCC.
!
! GCC is free software; you can redistribute it and/or modify it under
! the terms of the GNU General Public License as published by the Free
This is unnecessary re-indentation. Look at other files to see what the
file header should look like.
Otherwise, nice cleanup. This is OK if you fix that file header.
Gr.
Steven