[Bug target/32431] ICE in df_refs_verify, at df-scan.c:4066

Richard Guenther richard.guenther@gmail.com
Thu Jun 21 18:35:00 GMT 2007


On 6/21/07, Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
> rask at sygehus dot dk wrote:
>
> > > ------- Comment #1 from rask at sygehus dot dk  2007-06-20 16:58 -------
> > > Created an attachment (id=13747)
> > >  --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13747&action=view)
> > > Preprocessed testcase
> > >
> > >
> > >
> >
> Resent to get the patch into the patch queue
>
> :ADDPATCH MIDDLE-END:
>
> The underlying problem is that the later phases of compilation on the
> m68hc11 create shared rtl.  The reorg phase needs df and also needs the
> rtl to be unshared. This causes problems because the unsharing process
> changes insns in ways that mess up df's scanning information.
>
> There are two ways to solve this problem:
>
> 1) Go in and fix the places that create shared rtl in this back end.
> 2) Make the rtl unsharing df-ready.
>
> I chose plan (2) because I know how to do this and do not know how to do
> (1).
> The astute middle end/gwp maintainer may say that (1) is the right thing
> to do and so the sharing police (namely honza) should investigate this
> pr.  If that is the proper plan of action, then this patch may go into
> the trash.

I suppose (1) is the correct thing to do.  Hopefully the m68hc11 maintainer
can help you here.

Richard.



More information about the Gcc-patches mailing list