This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] malloc: Remove check_action variable [BZ #21754]
- From: Florian Weimer <fweimer at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Carlos O'Donell <carlos at redhat dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 31 Aug 2017 19:01:29 +0200
- Subject: Re: [PATCH] malloc: Remove check_action variable [BZ #21754]
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com A896A827
- References: <20170830160402.4D42140C0E092@oldenburg.str.redhat.com> <54b8a86e-0480-9cdb-9b82-7cadf6c16e42@redhat.com> <f2bf0c33-1aef-7d0a-817e-85d2bea05763@redhat.com> <CAMe9rOoNa+ARsWbZO=RstE7FQO2QedKe2rd-8S=eCRMY70m_3Q@mail.gmail.com>
On 08/31/2017 05:55 AM, H.J. Lu wrote:
> One of malloc change caused:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=22052
(uninit warning with -O3)
I have not yet found a good way to suppress this. I don't know yet why
GCC loses the information that the maybe_p variable is initialized if
mem2chunk_check returns a non-null pointer.
Thanks,
Florian