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: Patch to fix flow_depth_first_order_compute


> flow_depth_first_order_compute has the comment:
> 
>   Compute the depth first search order and store in the array
>   DFS_ORDER if non-zero
> 
> However passing zero for dfs_order currently causes
> an abort since dfsnum is never incremented.
> 
> This patch passes make bootstrap and make check on
> Dec Alpha 4.0f, Solaris 7 SPARC, and Solaris 7 x86.
> 
> ChangeLog:
> 
> Mon Dec 10 12:54:46 EST 2001  John Wehle  (john@feith.com)
> 
> 	* cfganal.c (flow_depth_first_order_compute): Always
> 	increment dfsnum.
> 
> Enjoy!
I do :) and I've installed it to the cfg branch. Thanks!

Honza


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