From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 11199388E803; Mon, 29 Jun 2020 13:27:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11199388E803 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1593437259; bh=WfLZ6Em045vJkE1GiC3xi1tfYo5ekR4z3U1A23tIFbU=; h=From:To:Subject:Date:From; b=YZXv4O20sIoJTwjHjoOocOsS10h9HXhAA6UMF/bLWQvnntP6C7DrliAeG+ysRx0/G ovQ8kmpIxzl9afC/s65V3/SWY5y7/kyZWhi1VRTvQlmwc6GfzRYcIGE/YGsQj8bNfh e4h0noiloIpTumM8xvVxmNcnIT8eUoCa0Vdo5zmY= From: "mikpelinux at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/95965] New: [11 regression] bootstrap failure on sparc due to "register" Date: Mon, 29 Jun 2020 13:27:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 8.4.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mikpelinux at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2020 13:27:39 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95965 Bug ID: 95965 Summary: [11 regression] bootstrap failure on sparc due to "register" Product: gcc Version: 8.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: mikpelinux at gmail dot com Target Milestone: --- (Note: different from the recently reported PR95940.) Attempting to bootstrap gcc-11-20200628 on sparc64-linux fails with: mnt/scratch/objdir11/./prev-gcc/xg++ -B/mnt/scratch/objdir11/./prev-gcc/ -B/mnt/scratch/install11/sparc-unknown-linux/bin/ -nostdinc++ -B/mnt/scratch/objdir11/prev-sparc-unknown-linux/libstdc++-v3/src/.libs -B/mnt/scratch/objdir11/prev-sparc-unknown-linux/libstdc++-v3/libsupc++/.li= bs=20 -I/mnt/scratch/objdir11/prev-sparc-unknown-linux/libstdc++-v3/include/sparc= -unknown-linux -I/mnt/scratch/objdir11/prev-sparc-unknown-linux/libstdc++-v3/include=20 -I/mnt/scratch/gcc-11-20200628/libstdc++-v3/libsupc++ -L/mnt/scratch/objdir11/prev-sparc-unknown-linux/libstdc++-v3/src/.libs -L/mnt/scratch/objdir11/prev-sparc-unknown-linux/libstdc++-v3/libsupc++/.li= bs=20 -fno-PIE -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-stri= ngs -Wcast-qual -Wno-error=3Dformat-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I. -I/mnt/scratch/gcc-11-20200628/gcc -I/mnt/scratch/gcc-11-20200628/gcc/. -I/mnt/scratch/gcc-11-20200628/gcc/../include -I/mnt/scratch/gcc-11-20200628/gcc/../libcpp/include -I/home/mikpe/pkgs/linux-sparc64/gmp-6.2.0/include -I/home/mikpe/pkgs/linux-sparc64/mpfr-4.0.2/include -I/home/mikpe/pkgs/linux-sparc64/mpc-1.1.0/include=20 -I/mnt/scratch/gcc-11-20200628/gcc/../libdecnumber -I/mnt/scratch/gcc-11-20200628/gcc/../libdecnumber/dpd -I../libdecnumber -I/mnt/scratch/gcc-11-20200628/gcc/../libbacktrace -o sparc.o -MT sparc.o -MMD -MP -MF ./.deps/sparc.TPo /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:8887:34: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 8887 | epilogue_renumber (register rtx *where, int test) | ^~~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c: In function 'int epilogue_renumber(rtx_def**, int)': /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:8889:24: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 8889 | register const char *fmt; | ^~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:8890:16: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 8890 | register int i; | ^ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:8891:26: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 8891 | register enum rtx_code code; | ^~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:8948:17: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 8948 | register int j; | ^ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c: In function 'void sparc_print_operand_address(FILE*, machine_mode, rtx)': /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:9671:16: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 9671 | register rtx base, index =3D 0; | ^~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:9671:22: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 9671 | register rtx base, index =3D 0; | ^~~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:9673:16: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 9673 | register rtx addr =3D x; | ^~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c: At global scope: /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:9807:32: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 9807 | sparc_type_code (register tree type) | ^~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c: In function 'long unsigned int sparc_type_code(tree)': /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:9809:26: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 9809 | register unsigned long qualifiers =3D 0; | ^~~~~~~~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:9810:21: error: ISO C= ++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 9810 | register unsigned shift; | ^~~~~ /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c: In function 'int set_extends(rtx_insn*)': /mnt/scratch/gcc-11-20200628/gcc/config/sparc/sparc.c:10306:16: error: ISO C++17 does not allow 'register' storage class specifier [-Werror=3Dregister] 10306 | register rtx pat =3D PATTERN (insn); | ^~~ cc1plus: all warnings being treated as errors Makefile:2328: recipe for target 'sparc.o' failed make[3]: *** [sparc.o] Error 1 make[3]: Leaving directory '/mnt/scratch/objdir11/gcc' Makefile:4779: recipe for target 'all-stage2-gcc' failed make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory '/mnt/scratch/objdir11' Makefile:21620: recipe for target 'stage2-bubble' failed make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory '/mnt/scratch/objdir11' Makefile:21823: recipe for target 'bootstrap' failed make: *** [bootstrap] Error 2 Bootstrap compiler is (based on) gcc-9.3.1 20200321. Configuration options: /mnt/scratch/gcc-11-20200628/configure --prefix=3D/mnt/scratch/install11 --with-gmp=3D/home/mikpe/pkgs/linux-sparc64/gmp-6.2.0 --with-mpfr=3D/home/mikpe/pkgs/linux-sparc64/mpfr-4.0.2 --with-mpc=3D/home/mikpe/pkgs/linux-sparc64/mpc-1.1.0 --without-isl --enable-multilib --disable-plugin --disable-lto --disable-nls --enable-threads=3Dposix --enable-checking=3Drelease --disable-libmudflap --enable-languages=3Dc,c++,ada --build=3Dsparc-unknown-linux --target=3Dsparc-unknown-linux --with-cpu=3Dultrasparc --enable-targets=3Da= ll --disable-libsanitizer --disable-libgomp=