This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix overzealous folding
On Thu, 29 May 2008, Richard Guenther wrote:
> > I'd be OK with a papering-over fix for a release branch if we don't have
> > time for a better fix -- but we should be fixing things correctly on
> > mainline.
>
> I don't think we should fix things on the release branch and leave it broken
> on the mainline. But yes, Eric - can you file a PR for the papering-over?
Indeed, I think doing so is always a mistake - we tend to forget about the
issue or not fix it properly, and so have a regression in the next release
cycle. If we fix something on a release branch, I think we should always
fix it on mainline at the same time or earlier, even if that means
applying a papering-over fix to mainline.
--
Joseph S. Myers
joseph@codesourcery.com