This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on fixup_abnormal_edges
Thanks for the ultra prompt reply :)
Jan Hubicka wrote:
> > for (e = bb->succ; e; e = e->succ_next)
> > if (e->flags & EDGE_FALLTHRU)
> > break;
> > Is it expectable to have a null "e" after the loop, or is this a
> > "should never happen" ?
>
> It should never happen.
OK, good to know.
> Where are you getting it?
VMS, reproducible with a cross compiler hosted on Linux and targetted
to alpha-dec-openvms7.1.
The testcase is in Ada, with a compiler based on our internal GNAT tree
and gcc 3.2. The problem only shows up with -O2 and backend inlining.
Not an ideal combination ...
I will attempt a build with the GNAT sources from the public GNAT tree and
see if it reproduces, but this seems unlikely.
I can investigate here, so clues as to what might have gone wrong would be
appreciated. I understand this might not be easy with the only little
information available at this point.
Thanks again for your help,
Kind Regards,
Olivier