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: Fix prototype for print_insn in rtl.h


On Thu, Oct 15, 2015 at 07:48:18PM +0300, Nikolai Bozhenov wrote:
> 
> On 10/15/2015 07:28 PM, Andrew MacLeod wrote:
> >On 10/13/2015 11:32 AM, Jeff Law wrote:
> >>On 10/13/2015 02:21 AM, Nikolai Bozhenov wrote:
> >>>2015-10-13  Nikolai Bozhenov<n.bozhenov@samsung.com>
> >>>
> >>>     * gcc/rtl.h (print_insn): fix prototype
> >>Installed on the trunk after bootstrap & regression test.
> >>
> >>jeff
> >>
> >Sorry, a little late to the party.. but why is print_insn even in rtl.h?
> >it seems that sched-vis.c is the only thing that uses it...
> >
> >Andrew
> >
> >
> I'm going to use it in the scheduler...

but then wouldn't something like sched-int.h make more sense? On
the other hand it seems like printing insns is generally useful
functionality, so I'm curious why the scheduler needs its own way of
doing it.

Trev

> 
> Thanks,
> Nikolai


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