Hi Tobias, > On 10/19/20 8:21 PM, Jakub Jelinek via Gcc-patches wrote: > >> On Mon, Oct 19, 2020 at 06:57:49PM +0100, Kwok Cheung Yeung wrote: >>> --- a/libgomp/target.c >>> +++ b/libgomp/target.c > ... >> Otherwise LGTM. > > Unfortunately, the committed patch > (r11-4121-g1bfc07d150790fae93184a79a7cce897655cb37b) > causes build errors.
the patch also breaks bootstrap on both i386-pc-solaris2.11 and sparc-sun-solaris2.11: /vol/gcc/src/hg/master/local/libgomp/env.c: In function 'initialize_env': /vol/gcc/src/hg/master/local/libgomp/env.c:414:16: error: 'new_offload' may be used uninitialized in this function [-Werror=maybe-uninitialized] 414 | *offload = new_offload; | ~~~~~~~~~^~~~~~~~~~~~~ /vol/gcc/src/hg/master/local/libgomp/env.c:384:30: note: 'new_offload' was declared here 384 | enum gomp_target_offload_t new_offload; | ^~~~~~~~~~~ Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University