This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: tree-ssa-sink breaks stack layout
Richard Guenther wrote:
> I agree with both of you. May I suggest to provide our users with
> a workaround, -fno-stack-slot-sharing, instead?
Yes, a work-around (one that doesn't require turning on strict aliasing)
would be useful. However, I think it would be better if we could find
a way to paper this over by default so that fewer people notice the bug.
"code doesn't work; debug for a while; looks like compiler is broken;
search web for work-around; rebuild with work-around" is not as as good
an experience as "code works". :-)
> As of a proper fix in the 4.5 timeframe - I suggest that organizations
> consider assigning ressources to fixing this problem, it's unlikely going
> to be a volunteers effort to implement for example the suggestion
> of delaying stack slot allocation until after scheduling.
Yes. I can't make any promises, but I'll certainly look for
opportunities for CodeSourcery to help.
(650) 331-3385 x713