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]
Other format: [Raw text]

Re: Bootstrap comparison failures on i586


> 
> This patch also fails for gcc.target/i386/movq.c with -fpic[1]. It
> doesn't fail before this patch was committed [2].
> 
> [1] http://gcc.gnu.org/ml/gcc-testresults/2008-04/msg00031.html
> [2] http://gcc.gnu.org/ml/gcc-testresults/2008-04/msg00001.html

This did not reproduce for me, but I've comitted the following as
obvious. I am sorry for all the fallout...

Index: ChangeLog
===================================================================
*** ChangeLog	(revision 133932)
--- ChangeLog	(working copy)
***************
*** 1,5 ****
--- 1,7 ----
  2008-04-05  Jan Hubicka  <jh@suse.cz>
  
+ 	* emit-rtl.c (init_emit): xcalloc regno_pointer_align.
+ 
  	* tree-dump.c (dump_enable_all): Remove prototype; do not accept
  	letter argument.
  	(dump_files): Update.
Index: emit-rtl.c
===================================================================
*** emit-rtl.c	(revision 133929)
--- emit-rtl.c	(working copy)
*************** init_emit (void)
*** 4991,4998 ****
    rtl.emit.regno_pointer_align_length = LAST_VIRTUAL_REGISTER + 101;
  
    rtl.emit.regno_pointer_align
!     = xmalloc (rtl.emit.regno_pointer_align_length
! 	       * sizeof (unsigned char));
  
    regno_reg_rtx
      = ggc_alloc (rtl.emit.regno_pointer_align_length * sizeof (rtx));
--- 4991,4998 ----
    rtl.emit.regno_pointer_align_length = LAST_VIRTUAL_REGISTER + 101;
  
    rtl.emit.regno_pointer_align
!     = xcalloc (rtl.emit.regno_pointer_align_length
! 	       * sizeof (unsigned char), 1);
  
    regno_reg_rtx
      = ggc_alloc (rtl.emit.regno_pointer_align_length * sizeof (rtx));


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