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: Restore Tru64 UNIX bootstrap (PR middle-end/46671)


On Fri, Dec 10, 2010 at 06:29:12PM +0100, Rainer Orth wrote:
> 2010-12-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
> 
> 	PR middle-end/46671
> 	* varasm.c (default_function_section): Return NULL unless
> 	targetm.have_named_sections.
> 

This:
> 	* regrename.c (check_new_reg_p): Mark reg with ATTRIBUTE_UNUSED.

hunk is PR46844, fixed for 2 days already...
> 
> diff -r 0168da119e76 gcc/regrename.c
> --- a/gcc/regrename.c	Fri Dec 10 17:50:52 2010 +0100
> +++ b/gcc/regrename.c	Fri Dec 10 17:52:57 2010 +0100
> @@ -309,8 +309,8 @@
>     registers.  */
>  
>  static bool
> -check_new_reg_p (int reg, int new_reg,  struct du_head *this_head,
> -		 HARD_REG_SET this_unavailable)
> +check_new_reg_p (int reg ATTRIBUTE_UNUSED, int new_reg,
> +		 struct du_head *this_head, HARD_REG_SET this_unavailable)
>  {
>    enum machine_mode mode = GET_MODE (*this_head->first->loc);
>    int nregs = hard_regno_nregs[new_reg][mode];

	Jakub


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