This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Add dump switch globbing
On Thu, 2004-10-14 at 07:21, Daniel Berlin wrote:
> On Thu, 14 Oct 2004, Andrew MacLeod wrote:
>
> > On Thu, 2004-10-14 at 03:17, Paolo Bonzini wrote:
> >>>> I've just posted a patch to do so
> >>>> (http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01104.html) but it has
> >>>> not been
> >>>> reviewed yet.
> >>>
> >>> Are you sure that patch makes -fdump-tree-dce-all enable all dce passes?
> >>
> >> My patch was to prevent all kinds of globbing actually. Steven Bosscher
> >> reported that -fdump-rtl-gcse enabled the gcse2 dump as well.
> >
> > DO we want to prevent globbing though? I'd argue the problem was that
> > the first pass of gcse ought to be called gcse1, then you get what you
> > ask for, or specify gcse to get them all. Thats definately my
> > preference.
>
> I agree.
> Dump files are generally used for debugging.
> I know i started using -fdump-tree-all the day the globbing died (sniffle
> sniffle :( ).
>
> So i think what we do here should be whatever the consensus of the
> developers is.
>
> So far we have Diego, Andrew, and I in favor of allowing globbing, and
> apparently Steven is against it.
>
> Anyone else have an opinion one way or the other?
Q. Do we actually want/need both?
ie, -fdump-tree-blah would give us blah1, blah2 ... blahN dumps
and -fdump-tree-blah2 would give us just blah2?
I do know that I use specific dumps when dealing with big testcases
to avoid waiting for the disk scribble of unwanted bits.
Jeff