On 10/23/2015 01:43 AM, Jeff Law wrote:
On 10/22/2015 04:25 PM, Jeff Law wrote:
On 10/01/2015 08:33 PM, Andrew MacLeod wrote:
these are all in the main gcc directory.  297 files total.
[ ... ]

Out of time for now.  More to follow...
So a quirk of show-headers.   Let's look at cgraphunit.c on the trunk:

[law@tor gcc]$ ../contrib/show-headers cgraphunit.c -sgimplify.h
[ ... ]
  gimplify.h                <<-------
[ ... ]

That's all it spits out.  But...
#include "gimplify.h"
#include "gimplify.h"

I'm not sure if that's intentional, but it does make it harder to use show-headers to help understand the changes being made by your scripts.


As for the rest of the backend files.  They're OK for the trunk.


Hmm. yeah, It was mostly intended to show you what structure you have and are getting indirectly, not so much indicate that you actually include things directly twice. It utilizes a common function which returns unique header files (find_unique_include_list) and just processes those. A quick tweak should resolve that to just linearly parse and process.

It also occurs to me the reason you only found one options.h in the previous note... show-headers probably didn't know where to look for your build directory to delve into tm.h. It defaults to ../../build which is what I use. I will also tweak that to attempt to automatically find a build directory below ../.. and failing that, have you specify one.

Andrew

Reply via email to