public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikpelinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org> 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 [thread overview] Message-ID: <bug-95965-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95965 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++/.libs -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 -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++/.libs -fno-PIE -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-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 -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=register] 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=register] 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=register] 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=register] 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=register] 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=register] 9671 | register rtx base, index = 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=register] 9671 | register rtx base, index = 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=register] 9673 | register rtx addr = 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=register] 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=register] 9809 | register unsigned long qualifiers = 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=register] 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=register] 10306 | register rtx pat = 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=/mnt/scratch/install11 --with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-6.2.0 --with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-4.0.2 --with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-1.1.0 --without-isl --enable-multilib --disable-plugin --disable-lto --disable-nls --enable-threads=posix --enable-checking=release --disable-libmudflap --enable-languages=c,c++,ada --build=sparc-unknown-linux --target=sparc-unknown-linux --with-cpu=ultrasparc --enable-targets=all --disable-libsanitizer --disable-libgomp
next reply other threads:[~2020-06-29 13:27 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-29 13:27 mikpelinux at gmail dot com [this message] 2020-06-29 13:38 ` [Bug bootstrap/95965] " rguenth at gcc dot gnu.org 2020-06-29 15:11 ` mikpelinux at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-95965-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).