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] Name unnamed passes and change duplicate pass names


On Thu, May 7, 2009 at 3:49 PM, Justin Seyster <jrseys@gmail.com> wrote:
> I mailed the list a week ago about unnamed passes making it difficult
> to insert plug-in passes where they want to go. ÂIn my case, I want
> plug-ins to insert passes just before pass_all_optimizations, but I
> cannot reference that pass by name.
>
> Nobody seemed to object to the idea of naming that pass, so here is a
> patch that names all the unnamed passes. ÂWhile I was at it, I also
> renamed passes that have duplicate names.


Does this cause dumps to happen even if there is nothing to dump?
Maybe you need to add another field to the struct saying a dump should
be created.

Thanks,
Andrew Pinski


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