Re: [PATCH GCC][01/06]New interface returning all adjacent vertices in graph

2017-08-21 Thread Richard Biener
On Mon, Aug 14, 2017 at 11:19 AM, Bin Cheng wrote: > Hi, > This simple patch adds new interface returning adjacent vertices for a vertex > in graph. > Bootstrap and test in series. Is it OK? The comment of the function doesn't match its implementation. Why did you choose to use the dfs helpers

[PATCH GCC][01/06]New interface returning all adjacent vertices in graph

2017-08-14 Thread Bin Cheng
Hi, This simple patch adds new interface returning adjacent vertices for a vertex in graph. Bootstrap and test in series. Is it OK? Thanks, bin 2017-08-10 Bin Cheng * graphds.c (adjacent_vertices): New function. * graphds.h (adjacent_vertices): New declaration.From d84e4dd5b8