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: Accept EDGE_CAN_FALLTHRU in verify_flow_info


Hi,

> I've installed this patch as obvious to the basic-improvements-branch.
> It is needed when verify_flow_info is called after mark_can_fallthru.
> I forgot to merge this bit when i was merging the mark_can_fallthru
> originally.

Could you install it to rtlopt-branch too?
I was testing new bb-reorder only with this patch.

Josef

> Thu Nov 21 15:07:20 CET 2002  Jan Hubicka  <jh@suse.cz>
> 	* cfgrtl.c (verify_flow_info):  Accept EDGE_CAN_FALLTHRU flag.
> Index: cfgrtl.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/cfgrtl.c,v
> retrieving revision 1.58.6.2
> diff -c -3 -p -r1.58.6.2 cfgrtl.c
> *** cfgrtl.c	17 Sep 2002 22:58:38 -0000	1.58.6.2
> --- cfgrtl.c	21 Nov 2002 14:06:54 -0000
> *************** verify_flow_info ()
> *** 1803,1809 ****
>   	  if (e->flags & EDGE_FALLTHRU)
>   	    n_fallthru++;
>   
> ! 	  if ((e->flags & ~EDGE_DFS_BACK) == 0)
>   	    n_branch++;
>   
>   	  if (e->flags & EDGE_ABNORMAL_CALL)
> --- 1803,1809 ----
>   	  if (e->flags & EDGE_FALLTHRU)
>   	    n_fallthru++;
>   
> ! 	  if ((e->flags & ~(EDGE_DFS_BACK | EDGE_CAN_FALLTHRU)) == 0)
>   	    n_branch++;
>   
>   	  if (e->flags & EDGE_ABNORMAL_CALL)


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