[PATCH] Initialize the entire obstack struct [BZ #17919]
Siddhesh Poyarekar
siddhesh@redhat.com
Tue Feb 3 17:05:00 GMT 2015
On Tue, Feb 03, 2015 at 11:49:26AM -0500, Carlos O'Donell wrote:
> IMO zero-initialized padding, for this case, isn't something you can
> expect. Therefore I think it's a compiler bug.
Thanks, I've filed a bug now:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64923
> I think it's OK to work around this in glibc, but it needs a comment
> with a reference to the filed gcc bug. I do not think it is valid
> for gcc on s390x to use the entire bit field along with padding and
> I believe it could result in incorrect operation.
Nothing is breaking due to this right now, so we could probably wait
and see what the gcc folks think of this.
Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150203/b4ae859e/attachment.sig>
More information about the Libc-alpha
mailing list