public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/95965] New: [11 regression] bootstrap failure on sparc due to "register"
@ 2020-06-29 13:27 mikpelinux at gmail dot com
  2020-06-29 13:38 ` [Bug bootstrap/95965] " rguenth at gcc dot gnu.org
  2020-06-29 15:11 ` mikpelinux at gmail dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mikpelinux at gmail dot com @ 2020-06-29 13:27 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/95965] [11 regression] bootstrap failure on sparc due to "register"
  2020-06-29 13:27 [Bug bootstrap/95965] New: [11 regression] bootstrap failure on sparc due to "register" mikpelinux at gmail dot com
@ 2020-06-29 13:38 ` rguenth at gcc dot gnu.org
  2020-06-29 15:11 ` mikpelinux at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-06-29 13:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95965

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
             Target|                            |sparc
            Version|8.4.1                       |11.0

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this has been fixed?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug bootstrap/95965] [11 regression] bootstrap failure on sparc due to "register"
  2020-06-29 13:27 [Bug bootstrap/95965] New: [11 regression] bootstrap failure on sparc due to "register" mikpelinux at gmail dot com
  2020-06-29 13:38 ` [Bug bootstrap/95965] " rguenth at gcc dot gnu.org
@ 2020-06-29 15:11 ` mikpelinux at gmail dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mikpelinux at gmail dot com @ 2020-06-29 15:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95965

Mikael Pettersson <mikpelinux at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Yes, fixed by ceac3edb42e1090be8cee895a5659fe847a4050a.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-29 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 13:27 [Bug bootstrap/95965] New: [11 regression] bootstrap failure on sparc due to "register" mikpelinux at gmail dot com
2020-06-29 13:38 ` [Bug bootstrap/95965] " rguenth at gcc dot gnu.org
2020-06-29 15:11 ` mikpelinux at gmail dot com

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).