indirect_ref_may_alias_decl_p fix

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Thu Jun 13 20:33:00 GMT 2019

Hi Christophe,

> Since this was committed (r272247), I've noticed a failure to build
> glibc-2.29 for aarch64:
> #'target_mem_ref' not supported by expression#'pmap_rmt.c: In function
> 'clnt_broadcast':
> pmap_rmt.c:298:19: error:  may be used uninitialized in this function
> [-Werror=maybe-uninitialized]
>   298 |    baddr.sin_addr = addrs[i];
>       |    ~~~~~~~~~~~~~~~^~~~~~~~~~
> while compiling sunrpc/pmap_rmt.os

indeed: I just came to the same conclusion via a reghunt.  Even worse,
it breaks i386-pc-solaris2.11, sparc*-sun-solaris2.11, and
i686-pc-solaris2.11 bootstrap.

This is PR bootstrap/90873.


Rainer Orth, Center for Biotechnology, Bielefeld University

More information about the Gcc-patches mailing list