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] Remap goto_locus on edges during inlining


On Thu, Jun 28, 2018 at 12:46 PM Eric Botcazou <ebotcazou@adacore.com> wrote:
>
> > Related we're also missing to verify_location () on those in
> > verify_gimple_in_cfg.  Having stale references to GCed BLOCKs
> > via locations can be difficult to track down...
> >
> > So can you add the verification bits as well?
>
> Like this?

Yes, OK if it (hopefully!) passes testing.

Richard.

>
>         * tree-cfg.c (verify_gimple_in_cfg): Call verify_location on the
>         goto_locus of each outgoing edge of each basic block.
>
> --
> Eric Botcazou


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