This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: SSA + autoinc segfaults
Richard Henderson writes:
> On Tue, Apr 18, 2000 at 04:52:22PM +1200, Michael Hayes wrote:
> > I'm getting a segfault when using -fssa. NULL is being passed as the
> > regset for a register autoincremented.
>
> Where did the autoinc come from? Is it a stack push thing?
Ah, good question. The problem appears that convert_to_ssa calls
life_analysis and this generates the autoincrement. Admittedly, I do
have more aggressive code in my tree for finding autoincrements but
the PROP_AUTOINC flag is set. I suggest that we add another arg to
life_analysis to enable the finding of autoincrements.
Michael.