https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78985
Bug ID: 78985 Summary: [7 Regression] profiledbootstrap failure by -Wuninitialized Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: build, diagnostic Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- Target: s390x-*-* profiledbootstrap fails for me on s390x-linux for quite some time now (also on aarch64-linux in a similar way, but re-checking with current trunk didn't finish/fail yet). lab_over is obviously not uninitialized (but eventually jump threading gets in the way - I did not analyze this yet as I lack a way to extract a testcase at the moment). ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,go --enable-checking=release --with-gxx-include-dir=/usr/include/c++/7 --enable-ssp --disable-libssp --disable-libvtv --disable-libmpx --disable-libcc1 --enable-plugin --with-bugurl=http://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux' --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-7 --disable-multilib --without-system-libunwind --with-tune=zEC12 --with-arch=z196 --with-long-double-128 --enable-decimal-float --build=s390x-suse-linux --host=s390x-suse-linux ... [ 4042s] ../../gcc/config/s390/s390.c: In function 'tree_node* s390_gimplify_va_ arg(tree, tree, gimple**, gimple**)': [ 4042s] ../../gcc/config/s390/s390.c:12296:52: error: 'lab_over' may be used un initialized in this function [-Werror=maybe-uninitialized] [ 4042s] gimple_seq_add_stmt (pre_p, gimple_build_label (lab_over)); [ 4042s] ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ... [ 4044s] cc1plus: all warnings being treated as errors [ 4044s] make[3]: *** [Makefile:2221: s390.o] Error 1 [ 4044s] make[3]: *** Waiting for unfinished jobs.... [ 4045s] rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gfortran.pod gcc.pod gccgo.pod gcov-tool.pod [ 4045s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/gcc-7.0.0-r244052/obj-s390x-suse-linux/gcc' [ 4045s] make[2]: *** [Makefile:4725: all-stagefeedback-gcc] Error 2 [ 4045s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gcc-7.0.0-r244052/obj-s390x-suse-linux'