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]

Re: Re-implement COMMON and EQUIVALENCE


Richard Henderson <rth@redhat.com>:

> On Wed, Dec 03, 2003 at 01:59:41PM +0000, Paul Brook 
wrote:
> > Please submit a seperate patch to perform that 
change, or include it in yo
> u
> > patch. It will need approving by a relevant 
maintainer, unless it's an
> > 'obvious' change.

The patch is attached to this mail. 

+ 2003-12-04  Canqun Yang  <canqun@nudt.edu.cn>
+ 
+ 	* stor-layout.c: Make 
update_alignment_for_field non-static.

>
> I'll approve it, since I wanted the same change in my 
exploratory
> local EQUIVALENCE rewrite a week or two ago.
>
>

The implementation of local EQUIVALENCE is also 
integrated into 'trans-common.c'.


Canqun Yang

*** ChangeLog.tree-ssa	2003-12-04 08:13:05.000000000 +0800
--- ChangeLog.tree-ssa	2003-12-04 08:12:54.000000000 +0800
***************
*** 1,3 ****
--- 1,7 ----
+ 2003-12-04  Canqun Yang  <canqun@nudt.edu.cn>
+ 
+ 	* stor-layout.c: Make update_alignment_for_field non-static.
+ 
  2003-12-03  Jan Hubicka  <jh@suse.cz>
  
  	* Makefile.in (tree-optimize.o): Depend on cgraph.h
*** stor-layout.c	2003-11-13 10:38:00.000000000 +0800
--- stor-layout.c	2003-12-02 20:20:37.000000000 +0800
*************** static void place_union_field (record_la
*** 66,73 ****
  static int excess_unit_span (HOST_WIDE_INT, HOST_WIDE_INT, HOST_WIDE_INT,
  			     HOST_WIDE_INT, tree);
  #endif
! static unsigned int update_alignment_for_field (record_layout_info, tree,
! 						unsigned int);
  extern void debug_rli (record_layout_info);
  
  /* SAVE_EXPRs for sizes of types and decls, waiting to be expanded.  */
--- 66,73 ----
  static int excess_unit_span (HOST_WIDE_INT, HOST_WIDE_INT, HOST_WIDE_INT,
  			     HOST_WIDE_INT, tree);
  #endif
! unsigned int update_alignment_for_field (record_layout_info, tree,
!                				unsigned int);
  extern void debug_rli (record_layout_info);
  
  /* SAVE_EXPRs for sizes of types and decls, waiting to be expanded.  */
*************** rli_size_so_far (record_layout_info rli)
*** 682,688 ****
     variable alignment fields in RLI, and return the alignment to give
     the FIELD.  */
  
! static unsigned int
  update_alignment_for_field (record_layout_info rli, tree field,
  			    unsigned int known_align)
  {
--- 682,688 ----
     variable alignment fields in RLI, and return the alignment to give
     the FIELD.  */
  
! unsigned int
  update_alignment_for_field (record_layout_info rli, tree field,
  			    unsigned int known_align)
  {

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