[Patch] Backport fix for PR 52085 to gcc-5-branch?

Senthil Kumar Selvaraj senthil_kumar.selvaraj@atmel.com
Tue Oct 18 09:44:00 GMT 2016

Jakub Jelinek writes:

> On Tue, Oct 18, 2016 at 02:46:29PM +0530, Senthil Kumar Selvaraj wrote:
>> > I'm not convinced it is desirable to backport such changes, it affects ABI,
>> > people are used to deal with minor ABI changes in between major GCC
>> > releases, but we'd need a strong reason to change it between minor releases.
>> Hmm, I tracked this down from a (internal) bug reported on arm-none-eabi, where the
>> inconsistent enum size (used in sizeof to malloc) was eventually causing
>> heap corruption. 
>> When debugging the issue, I noticed you'd already backported
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69669, so I thought this
>> should be good.
> That one has been a regression, older GCCs handled it the same as does the 5
> branch now.  Is that the case here?

No, I can reproduce the bug on 4.9 as well. So not ok to backport then, I


More information about the Gcc-patches mailing list