This is the mail archive of the gcc-regression@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: GCC build of HEAD failed for native with your patch on 2004-02-06T16:19:17Z.


> With your recent patch, GCC HEAD does not compile on:
>  native
> Attached is build output for those targets.
> /Users/regress/tbox/cvs-gcc/gcc/gcc/flow.c: In function `attempt_auto_inc':
> /Users/regress/tbox/cvs-gcc/gcc/gcc/flow.c:3386: error: `flags' undeclared (first use in this function)
> /Users/regress/tbox/cvs-gcc/gcc/gcc/flow.c:3386: error: (Each undeclared identifier is reported only once
> /Users/regress/tbox/cvs-gcc/gcc/gcc/flow.c:3386: error: for each function it appears in.)

I got caught by the #ifdef block that is not compiled on i386. Sorry for
that.  I can't fully test PPC, but I will at least build crosscompiler
and try some larger file with the attached patch and commit it if it
will work

2004-02-06  Jan Hubicka  <jh@suse.cz>
	* flow.c (attempt_auto_inc): Use rbi->flags.
Index: flow.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/flow.c,v
retrieving revision 1.577
diff -c -3 -p -r1.577 flow.c
*** flow.c	6 Feb 2004 13:57:15 -0000	1.577
--- flow.c	6 Feb 2004 18:47:29 -0000
*************** attempt_auto_inc (struct propagate_block
*** 3383,3389 ****
        SET_REGNO_REG_SET (pbi->reg_live, regno);
  
        /* We shall not do the autoinc during final pass.  */
!       if (flags & PROP_REG_INFO)
  	abort ();
  
        /* If there are any calls between INSN and INCR, show
--- 3383,3389 ----
        SET_REGNO_REG_SET (pbi->reg_live, regno);
  
        /* We shall not do the autoinc during final pass.  */
!       if (rbi->flags & PROP_REG_INFO)
  	abort ();
  
        /* If there are any calls between INSN and INCR, show
*************** attempt_auto_inc (struct propagate_block
*** 3418,3424 ****
        rtx note;
  
        /* We shall not do the autoinc during final pass.  */
!       if (flags & PROP_REG_INFO)
  	abort ();
        while ((note = find_reg_note (incr, REG_DEAD, NULL_RTX)) != NULL_RTX)
  	{
--- 3418,3424 ----
        rtx note;
  
        /* We shall not do the autoinc during final pass.  */
!       if (rbi->flags & PROP_REG_INFO)
  	abort ();
        while ((note = find_reg_note (incr, REG_DEAD, NULL_RTX)) != NULL_RTX)
  	{


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