This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Silence -O3 -Wall warning in malloc/hooks.c with GCC 7 [BZ #22052]


On 09/03/2017 05:48 PM, H.J. Lu wrote:
> +  unsigned char *magic_p = NULL;

I think the current practice is to use <libc-diag.h> to suppress the
warning.

Is the issue that the memory clobber on the inline asm makes GCC not to
see the conditional initialization?

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]