Found local metadata for gcc-7.2.0 Attempting to download package gcc-7.2.0.tar.xz from mirrors http://files.sagemath.org/spkg/upstream/gcc/gcc-7.2.0.tar.xz [......................................................................] gcc-7.2.0 ==================================================== Setting up build directory for gcc-7.2.0 Finished extraction No patch files found in ../patches **************************************************** Host system: Darwin Matthews-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Wed Oct 4 00:17:00 PDT 2017; root:xnu-3789.71.6~1/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1 Apple LLVM version 9.0.0 (clang-900.0.38) Target: x86_64-apple-darwin16.7.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin **************************************************** configure: WARNING: you should use --build, --host, --target configure: WARNING: you should use --build, --host, --target checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking for libatomic support... yes checking for libcilkrts support... yes checking for libsanitizer support... yes checking for libvtv support... no checking for libmpx support... no checking for libhsail-rt support... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes *** This configuration is not supported in the following subdirectories: zlib target-libvtv target-libmpx target-libgo gnattools gotools target-libada target-libhsail-rt target-libffi target-libobjc target-liboffloadmic target-libitm (Any other directories should still work fine.) rm: conftest.dSYM: is a directory checking for default BUILD_CONFIG... bootstrap-debug checking for --enable-vtable-verify... no checking for bison... bison -y checking for bison... bison checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... expect checking for runtest... no checking for ar... (cached) ar checking for as... (cached) as checking for dlltool... no checking for ld... (cached) ld checking for lipo... lipo checking for nm... nm checking for ranlib... (cached) ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... no checking for objdump... objdump checking for readelf... no checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gfortran... no checking for gccgo... no checking for ar... no checking for ar... ar checking for as... no checking for as... as checking for dlltool... no checking for dlltool... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... lipo checking for nm... no checking for nm... nm checking for objcopy... no checking for objcopy... no checking for objdump... no checking for objdump... objdump checking for ranlib... no checking for ranlib... ranlib checking for readelf... no checking for readelf... no checking for strip... no checking for strip... strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... host tool checking where to find the target gcc... just compiled checking where to find the target gfortran... just compiled checking where to find the target gccgo... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objcopy... host tool checking where to find the target objdump... host tool checking where to find the target ranlib... host tool checking where to find the target readelf... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile [ -f stage_final ] || echo stage3 > stage_final Configuring stage 1 in ./intl configure: creating cache ./config.cache checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... no checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking for library containing strerror... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... no checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... no checking for shared library run path origin... done checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for feof_unlocked... yes checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for __fsetlocking... no checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 2.3, ok checking whether NLS is requested... no checking whether to use NLS... no checking for aclocal... no checking for autoconf... no checking for autoheader... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.intl config.status: creating config.h config.status: executing default-1 commands Configuring stage 1 in ./gcc configure: creating cache ./config.cache checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no checking whether a default linker was specified... no checking whether a default assembler was specified... no checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ -std=gnu++98 accepts -g... yes checking for x86_64-apple-darwin16.7.0-gnatbind... no checking for x86_64-apple-darwin16.7.0-gnatmake... no checking whether compiler driver understands Ada... rm: conftest.dSYM: is a directory no checking how to run the C++ preprocessor... g++ -std=gnu++98 -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to run the C preprocessor... gcc -E checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of void *... 8 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for long long... yes checking size of long long... 8 checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for long long int... yes checking for intmax_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for unsigned long long int... yes checking for uintmax_t... yes checking for uintptr_t... yes checking for int64_t underlying type... long long checking for std::swap in ... yes checking whether g++ -std=gnu++98 is affected by placement new aliasing bug... yes checking whether g++ -std=gnu++98 supports -W... yes checking whether g++ -std=gnu++98 supports -Wall... yes checking whether g++ -std=gnu++98 supports -Wnarrowing... yes checking whether g++ -std=gnu++98 supports -Wwrite-strings... yes checking whether g++ -std=gnu++98 supports -Wcast-qual... yes checking whether g++ -std=gnu++98 supports -Wformat... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether g++ -std=gnu++98 supports -Wmissing-format-attribute... yes checking whether g++ -std=gnu++98 supports -Woverloaded-virtual... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wc++-compat... yes checking whether g++ -std=gnu++98 supports -pedantic -Wlong-long -Wvariadic-macros -Woverlength-strings... yes checking whether gcc supports -fno-exceptions... yes checking whether gcc supports -fno-rtti... yes checking whether gcc supports -fasynchronous-unwind-tables... yes checking valgrind.h usability... no checking valgrind.h presence... no checking for valgrind.h... no checking for VALGRIND_DISCARD in ... no checking for VALGRIND_DISCARD in ... no checking for multiarch configuration... auto configure: WARNING: decimal float is not supported for this target, ignored configure: WARNING: fixed-point is not supported for this target, ignored checking whether make sets $(MAKE)... yes checking for gawk... awk checking whether ln -s works... yes checking whether ln works... yes checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking for cmp's capabilities... gnucompare checking for mktemp... yes checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000 checking for modern makeinfo... yes checking for recent Pod::Man... yes checking for flex... flex checking for bison... bison checking for nm... nm checking for ar... ar checking for sphinx-build... texinfo checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether termios.h defines TIOCGWINSZ... yes checking for limits.h... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... yes checking for iconv.h... yes checking for fcntl.h... yes checking for ftw.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/time.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/param.h... yes checking for sys/times.h... yes checking for sys/stat.h... (cached) yes checking for direct.h... no checking for malloc.h... no checking for langinfo.h... yes checking for ldfcn.h... no checking for locale.h... yes checking for wchar.h... yes checking for thread.h... no checking for pthread.h... yes checking for CHAR_BIT... yes checking whether byte ordering is bigendian... no checking how to run the C++ preprocessor... g++ -std=gnu++98 -E checking for unordered_map... yes checking for tr1/unordered_map... no checking for ext/hash_map... yes checking dependency style of g++ -std=gnu++98... gcc3 checking for collect2 libraries... none required checking for library containing exc_resume... no checking for library containing kstat_open... no checking for library containing ldexp... none required checking for inttypes.h... yes checking for times... yes checking for clock... yes checking for kill... yes checking for getrlimit... yes checking for setrlimit... yes checking for atoq... no checking for popen... yes checking for sysconf... yes checking for strsignal... yes checking for getrusage... yes checking for nl_langinfo... yes checking for gettimeofday... yes checking for mbstowcs... yes checking for wcswidth... yes checking for mmap... yes checking for setlocale... yes checking for clearerr_unlocked... yes checking for feof_unlocked... yes checking for ferror_unlocked... yes checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... yes checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking for madvise... yes checking whether mbstowcs works... yes checking for ssize_t... yes checking for caddr_t... yes checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... no checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for pid_t... yes checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for LC_MESSAGES... yes checking for nl_langinfo and CODESET... yes checking whether basename is declared... no checking whether strstr is declared... yes checking whether getenv is declared... yes checking whether atol is declared... yes checking whether atoll is declared... yes checking whether asprintf is declared... yes checking whether sbrk is declared... yes checking whether abort is declared... yes checking whether atof is declared... yes checking whether getcwd is declared... yes checking whether getwd is declared... yes checking whether madvise is declared... yes checking whether stpcpy is declared... yes checking whether strnlen is declared... yes checking whether strsignal is declared... yes checking whether strverscmp is declared... no checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking whether setenv is declared... yes checking whether unsetenv is declared... yes checking whether errno is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether vasprintf is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether calloc is declared... yes checking whether free is declared... yes checking whether getopt is declared... yes checking whether clock is declared... yes checking whether getpagesize is declared... yes checking whether ffs is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... yes checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether getrlimit is declared... yes checking whether setrlimit is declared... yes checking whether getrusage is declared... yes checking whether ldgetname is declared... no checking whether times is declared... yes checking whether sigaltstack is declared... yes checking for struct tms... yes checking for clock_t... yes checking for F_SETLKW... yes checking if mkdir takes one argument... no Using `../../src/gcc/config/i386/i386.c' for machine-specific logic. Using `../../src/gcc/config/i386/i386.md' as machine description file. Using the following target machine macro files: ../../src/gcc/config/vxworks-dummy.h ../../src/gcc/config/i386/biarch64.h ../../src/gcc/config/i386/i386.h ../../src/gcc/config/darwin.h ../../src/gcc/config/darwin9.h ../../src/gcc/config/darwin10.h ../../src/gcc/config/darwin12.h ../../src/gcc/config/i386/darwin.h ../../src/gcc/config/i386/darwin64.h ../../src/gcc/config/initfini-array.h Using host-darwin.o host-i386-darwin.o for host machine hooks. checking for __cxa_atexit... yes checking whether NLS is requested... no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking for x86_64-apple-darwin16.7.0-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-apple-darwin16.7.0-ar... (cached) ar checking for x86_64-apple-darwin16.7.0-strip... no checking for strip... strip checking for x86_64-apple-darwin16.7.0-ranlib... (cached) ranlib checking command to parse nm output from gcc object... ok checking for x86_64-apple-darwin16.7.0-dsymutil... no checking for dsymutil... dsymutil checking for x86_64-apple-darwin16.7.0-nmedit... no checking for nmedit... nmedit checking for x86_64-apple-darwin16.7.0-lipo... no checking for lipo... lipo checking for x86_64-apple-darwin16.7.0-otool... no checking for otool... otool checking for x86_64-apple-darwin16.7.0-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin16.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -std=gnu++98 -E checking for ld used by g++ -std=gnu++98... ld checking if the linker (ld) is GNU ld... no checking whether the g++ -std=gnu++98 linker (ld) supports shared libraries... yes checking for g++ -std=gnu++98 option to produce PIC... -fno-common -DPIC checking if g++ -std=gnu++98 PIC flag -fno-common -DPIC works... yes checking if g++ -std=gnu++98 static flag -static works... no checking if g++ -std=gnu++98 supports -c -o file.o... yes checking if g++ -std=gnu++98 supports -c -o file.o... (cached) yes checking whether the g++ -std=gnu++98 linker (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin16.7.0 dyld checking how to hardcode library paths into programs... immediate checking for as... /usr/bin/as checking what assembler to use... /usr/bin/as checking for ld... /usr/bin/ld checking whether we are using gold... no checking gold linker with split stack support as non default... checking what linker to use... /usr/bin/ld checking for nm... /usr/bin/nm checking what nm to use... /usr/bin/nm checking for objdump... /usr/bin/objdump checking what objdump to use... /usr/bin/objdump checking for readelf... no checking what readelf to use... not found checking assembler flags... checking assembler for .balign and .p2align... yes checking assembler for .p2align with maximum skip... yes checking assembler for .literal16... yes checking assembler for working .subsection -1... no checking assembler for .weak... no checking assembler for .weakref... no checking assembler for .nsubspa comdat... no checking assembler for .hidden... no checking linker for .hidden support... yes checking linker read-only and read-write section mixing... unknown checking for .preinit_array/.init_array/.fini_array support... no checking assembler for .sleb128 and .uleb128... no checking assembler for cfi directives... yes checking assembler for working cfi advance... no checking assembler for cfi personality directive... yes checking assembler for cfi sections directive... yes checking assembler for eh_frame optimization... no checking assembler for section merging support... no checking assembler for section merging support... (cached) no checking assembler for stabs directive... no checking assembler for COMDAT group support (GNU as)... no checking assembler for COMDAT group support (GNU as, %type)... no checking assembler for line table discriminator support... yes checking assembler for thread-local storage support... no checking linker -Bstatic/-Bdynamic option... no checking linker --demangle support... no checking linker plugin support... 0 checking assembler for -mmacosx-version-min option... yes checking assembler for .section with e... no checking assembler for filds and fists mnemonics... yes checking assembler for fildq and fistpq mnemonics... yes checking assembler for cmov syntax... no checking assembler for ffreep mnemonic... no checking assembler for .quad directive... yes checking assembler for sahf mnemonic... yes checking assembler for interunit movq mnemonic... yes checking assembler for hle prefixes... no checking assembler for swap suffix... no checking assembler for different section symbol subtraction... no checking assembler for rep and lock prefix... yes checking assembler for ud2 mnemonic... yes checking assembler for R_386_TLS_GD_PLT reloc... no checking assembler for R_386_TLS_LDM_PLT reloc... no checking assembler for R_386_TLS_LDM reloc... no checking assembler for R_386_GOT32X reloc... no checking assembler for GOTOFF in data... no checking assembler for calling ___tls_get_addr via GOT... no checking assembler for dwarf2 debug_line support... yes checking assembler for buggy dwarf2 .file directive... no checking assembler for --gdwarf2 option... no checking assembler for --gstabs option... no checking assembler for --debug-prefix-map option... no checking assembler for compressed debug sections... 0 checking assembler for .lcomm with alignment... yes checking for target glibc version... 0.0 checking assembler for gnu_unique_object... no checking assembler for tolerance to line number 0... yes checking support for thin archives... no checking linker PT_GNU_EH_FRAME support... no checking linker CIEv3 in .eh_frame support... no checking linker position independent executable support... no checking linker PIE support with copy reloc... no checking linker EH-compatible garbage collection of sections... no checking linker EH garbage collection of sections bug... no checking linker for compressed debug sections... 0 checking linker version... 302.3 checking linker for -export_dynamic support... 1 checking linker --as-needed support... no checking linker mapfile support for clearing hardware capabilities... yes checking linker --build-id support... no checking linker *_sol2 emulation support... no checking linker --sysroot support... no checking __stack_chk_fail in target C library... checking for __stack_chk_fail... yes yes checking sys/sdt.h in the target C library... no checking dl_iterate_phdr in target C library... unknown checking whether to enable maintainer-specific portions of Makefiles... no checking whether to avoid linking multiple front-ends at once... no Links are now set up to build a native compiler for x86_64-apple-darwin16.7.0. checking for exported symbols... yes checking for library containing dlopen... none required checking for -fPIC -shared... yes checking for -fno-PIE option... yes checking for -no-pie option... no checking linker -z bndplt option... no checking linker --push-state/--pop-state options... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating as config.status: creating collect-ld config.status: creating nm config.status: creating Makefile config.status: creating ada/gcc-interface/Makefile config.status: creating ada/Makefile config.status: creating auto-host.h config.status: linking ../../src/gcc/config/sol2-clearcapv2.map to clearcap.map config.status: executing depdir commands mkdir .deps config.status: executing gccdepdir commands mkdir build mkdir build/.deps mkdir ada/.deps mkdir brig mkdir brig/.deps mkdir c mkdir c/.deps mkdir cp mkdir cp/.deps mkdir fortran mkdir fortran/.deps mkdir go mkdir go/.deps mkdir jit mkdir jit/.deps mkdir lto mkdir lto/.deps mkdir objc mkdir objc/.deps mkdir objcp mkdir objcp/.deps mkdir c-family mkdir c-family/.deps mkdir common mkdir common/.deps config.status: executing default commands Configuring stage 1 in ./libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000 checking for perl... perl checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking for x86_64-apple-darwin16.7.0-ar... ar checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wshadow=local... yes checking whether gcc supports -pedantic ... yes checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for malloc.h... no checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... (cached) yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for alloca.h... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... yes checking for sys/systemcfg.h... no checking for stdint.h... (cached) yes checking for stdio_ext.h... no checking for process.h... no checking for sys/prctl.h... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking for long long... yes checking size of long long... 8 checking for a 64-bit type... uint64_t checking for intptr_t... yes checking for uintptr_t... yes checking for ssize_t... yes checking for pid_t... yes checking for library containing strerror... none required checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... yes checking for getpagesize... yes checking for gettimeofday... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmem... yes checking for memmove... yes checking for mempcpy... no checking for memset... yes checking for mkstemps... yes checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for snprintf... yes checking for sigsetmask... yes checking for stpcpy... yes checking for stpncpy... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for strtoll... yes checking for strtoull... yes checking for strverscmp... no checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsnprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for setproctitle... no checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _doprnt... no checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... yes checking for external symbol _system_configuration... no checking for __fsetlocking... no checking for canonicalize_file_name... no checking for dup3... no checking for getrlimit... yes checking for getrusage... yes checking for getsysinfo... no checking for gettimeofday... (cached) yes checking for on_exit... no checking for psignal... yes checking for pstat_getdynamic... no checking for pstat_getstatic... no checking for realpath... yes checking for setrlimit... yes checking for sbrk... yes checking for spawnve... no checking for spawnvpe... no checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for sysctl... yes checking for sysmp... no checking for table... no checking for times... yes checking for wait3... yes checking for wait4... yes checking whether basename is declared... no checking whether ffs is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether calloc is declared... yes checking whether getenv is declared... yes checking whether getopt is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether sbrk is declared... yes checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking whether strverscmp is declared... no checking whether canonicalize_file_name must be declared... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands if [ x"-fno-common" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir if [ x"" != x ] && [ ! -d noasan ]; then \ mkdir noasan; \ else true; fi touch stamp-noasandir if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/regex.c -o pic/regex.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/regex.c -o noasan/regex.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/regex.c -o regex.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/cplus-dem.c -o pic/cplus-dem.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/cplus-dem.c -o noasan/cplus-dem.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/cplus-dem.c -o cplus-dem.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/cp-demangle.c -o pic/cp-demangle.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/cp-demangle.c -o noasan/cp-demangle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/cp-demangle.c -o cp-demangle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/md5.c -o pic/md5.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/md5.c -o noasan/md5.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/md5.c -o md5.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/sha1.c -o pic/sha1.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/sha1.c -o noasan/sha1.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/sha1.c -o sha1.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/alloca.c -o pic/alloca.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/alloca.c -o noasan/alloca.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/alloca.c -o alloca.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/argv.c -o pic/argv.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/argv.c -o noasan/argv.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/argv.c -o argv.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/choose-temp.c -o pic/choose-temp.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/choose-temp.c -o noasan/choose-temp.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/choose-temp.c -o choose-temp.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/concat.c -o pic/concat.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/concat.c -o noasan/concat.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/concat.c -o concat.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/cp-demint.c -o pic/cp-demint.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/cp-demint.c -o noasan/cp-demint.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/cp-demint.c -o cp-demint.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/crc32.c -o pic/crc32.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/crc32.c -o noasan/crc32.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/crc32.c -o crc32.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/d-demangle.c -o pic/d-demangle.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/d-demangle.c -o noasan/d-demangle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/d-demangle.c -o d-demangle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/dwarfnames.c -o pic/dwarfnames.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/dwarfnames.c -o noasan/dwarfnames.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/dwarfnames.c -o dwarfnames.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/dyn-string.c -o pic/dyn-string.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/dyn-string.c -o noasan/dyn-string.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/dyn-string.c -o dyn-string.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fdmatch.c -o pic/fdmatch.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fdmatch.c -o noasan/fdmatch.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/fdmatch.c -o fdmatch.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fibheap.c -o pic/fibheap.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fibheap.c -o noasan/fibheap.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/fibheap.c -o fibheap.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/filename_cmp.c -o pic/filename_cmp.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/filename_cmp.c -o noasan/filename_cmp.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/filename_cmp.c -o filename_cmp.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/floatformat.c -o pic/floatformat.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/floatformat.c -o noasan/floatformat.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/floatformat.c -o floatformat.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fnmatch.c -o pic/fnmatch.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fnmatch.c -o noasan/fnmatch.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/fnmatch.c -o fnmatch.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fopen_unlocked.c -o pic/fopen_unlocked.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/fopen_unlocked.c -o noasan/fopen_unlocked.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/fopen_unlocked.c -o fopen_unlocked.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getopt.c -o pic/getopt.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getopt.c -o noasan/getopt.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/getopt.c -o getopt.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getopt1.c -o pic/getopt1.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getopt1.c -o noasan/getopt1.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/getopt1.c -o getopt1.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getpwd.c -o pic/getpwd.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getpwd.c -o noasan/getpwd.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/getpwd.c -o getpwd.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getruntime.c -o pic/getruntime.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/getruntime.c -o noasan/getruntime.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/getruntime.c -o getruntime.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/hashtab.c -o pic/hashtab.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/hashtab.c -o noasan/hashtab.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/hashtab.c -o hashtab.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/hex.c -o pic/hex.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/hex.c -o noasan/hex.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/hex.c -o hex.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/lbasename.c -o pic/lbasename.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/lbasename.c -o noasan/lbasename.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/lbasename.c -o lbasename.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/lrealpath.c -o pic/lrealpath.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/lrealpath.c -o noasan/lrealpath.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/lrealpath.c -o lrealpath.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/make-relative-prefix.c -o pic/make-relative-prefix.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/make-relative-prefix.c -o noasan/make-relative-prefix.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/make-relative-prefix.c -o make-relative-prefix.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/make-temp-file.c -o pic/make-temp-file.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/make-temp-file.c -o noasan/make-temp-file.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/make-temp-file.c -o make-temp-file.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/objalloc.c -o pic/objalloc.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/objalloc.c -o noasan/objalloc.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/objalloc.c -o objalloc.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/obstack.c -o pic/obstack.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/obstack.c -o noasan/obstack.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/obstack.c -o obstack.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/partition.c -o pic/partition.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/partition.c -o noasan/partition.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/partition.c -o partition.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pexecute.c -o pic/pexecute.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pexecute.c -o noasan/pexecute.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/pexecute.c -o pexecute.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/physmem.c -o pic/physmem.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/physmem.c -o noasan/physmem.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/physmem.c -o physmem.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pex-common.c -o pic/pex-common.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pex-common.c -o noasan/pex-common.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/pex-common.c -o pex-common.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pex-one.c -o pic/pex-one.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pex-one.c -o noasan/pex-one.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/pex-one.c -o pex-one.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pex-unix.c -o pic/pex-unix.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/pex-unix.c -o noasan/pex-unix.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/pex-unix.c -o pex-unix.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/vprintf-support.c -o pic/vprintf-support.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/vprintf-support.c -o noasan/vprintf-support.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/vprintf-support.c -o vprintf-support.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/rust-demangle.c -o pic/rust-demangle.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/rust-demangle.c -o noasan/rust-demangle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/rust-demangle.c -o rust-demangle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/safe-ctype.c -o pic/safe-ctype.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/safe-ctype.c -o noasan/safe-ctype.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/safe-ctype.c -o safe-ctype.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object.c -o pic/simple-object.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object.c -o noasan/simple-object.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/simple-object.c -o simple-object.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-coff.c -o pic/simple-object-coff.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-coff.c -o noasan/simple-object-coff.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/simple-object-coff.c -o simple-object-coff.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-elf.c -o pic/simple-object-elf.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-elf.c -o noasan/simple-object-elf.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/simple-object-elf.c -o simple-object-elf.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-mach-o.c -o pic/simple-object-mach-o.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-mach-o.c -o noasan/simple-object-mach-o.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/simple-object-mach-o.c -o simple-object-mach-o.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-xcoff.c -o pic/simple-object-xcoff.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] ../../src/libiberty/simple-object-xcoff.c:330:12: warning: using extended field designator is an extension [-Wextended-offsetof] + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:332:39: warning: using extended field designator is an extension [-Wextended-offsetof] ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:335:29: warning: using extended field designator is an extension [-Wextended-offsetof] + fetch_16 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:342:12: warning: using extended field designator is an extension [-Wextended-offsetof] + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:344:39: warning: using extended field designator is an extension [-Wextended-offsetof] ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:347:29: warning: using extended field designator is an extension [-Wextended-offsetof] + fetch_16 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:475:32: warning: using extended field designator is an extension [-Wextended-offsetof] scnptr = fetch_64 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:477:30: warning: using extended field designator is an extension [-Wextended-offsetof] size = fetch_64 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:482:32: warning: using extended field designator is an extension [-Wextended-offsetof] scnptr = fetch_32 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:484:30: warning: using extended field designator is an extension [-Wextended-offsetof] size = fetch_32 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:598:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:600:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:603:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:608:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:610:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:613:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:663:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_size), ^ ~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:665:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_scnptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:670:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_size), ^ ~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:672:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_scnptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:683:19: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_flags), flags); ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:685:19: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_flags), flags); ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 23 warnings generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/simple-object-xcoff.c -o noasan/simple-object-xcoff.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/simple-object-xcoff.c -o simple-object-xcoff.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] ../../src/libiberty/simple-object-xcoff.c:330:12: warning: using extended field designator is an extension [-Wextended-offsetof] + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:332:39: warning: using extended field designator is an extension [-Wextended-offsetof] ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:335:29: warning: using extended field designator is an extension [-Wextended-offsetof] + fetch_16 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:342:12: warning: using extended field designator is an extension [-Wextended-offsetof] + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:344:39: warning: using extended field designator is an extension [-Wextended-offsetof] ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:347:29: warning: using extended field designator is an extension [-Wextended-offsetof] + fetch_16 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:475:32: warning: using extended field designator is an extension [-Wextended-offsetof] scnptr = fetch_64 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:477:30: warning: using extended field designator is an extension [-Wextended-offsetof] size = fetch_64 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:482:32: warning: using extended field designator is an extension [-Wextended-offsetof] scnptr = fetch_32 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:484:30: warning: using extended field designator is an extension [-Wextended-offsetof] size = fetch_32 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:598:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:600:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:603:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:608:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:610:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:613:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:663:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_size), ^ ~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:665:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_scnptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:670:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_size), ^ ~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:672:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_scnptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:683:19: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_flags), flags); ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/libiberty/simple-object-xcoff.c:685:19: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_flags), flags); ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 23 warnings generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/sort.c -o pic/sort.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/sort.c -o noasan/sort.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/sort.c -o sort.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/spaces.c -o pic/spaces.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/spaces.c -o noasan/spaces.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/spaces.c -o spaces.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/splay-tree.c -o pic/splay-tree.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/splay-tree.c -o noasan/splay-tree.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/splay-tree.c -o splay-tree.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/stack-limit.c -o pic/stack-limit.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/stack-limit.c -o noasan/stack-limit.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/stack-limit.c -o stack-limit.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/strerror.c -o pic/strerror.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/strerror.c -o noasan/strerror.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/strerror.c -o strerror.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/strsignal.c -o pic/strsignal.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/strsignal.c -o noasan/strsignal.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/strsignal.c -o strsignal.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/timeval-utils.c -o pic/timeval-utils.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/timeval-utils.c -o noasan/timeval-utils.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/timeval-utils.c -o timeval-utils.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/unlink-if-ordinary.c -o pic/unlink-if-ordinary.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/unlink-if-ordinary.c -o noasan/unlink-if-ordinary.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/unlink-if-ordinary.c -o unlink-if-ordinary.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xasprintf.c -o pic/xasprintf.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xasprintf.c -o noasan/xasprintf.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xasprintf.c -o xasprintf.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xatexit.c -o pic/xatexit.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xatexit.c -o noasan/xatexit.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xatexit.c -o xatexit.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xexit.c -o pic/xexit.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xexit.c -o noasan/xexit.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xexit.c -o xexit.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xmalloc.c -o pic/xmalloc.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] ../../src/libiberty/xmalloc.c:113:28: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] first_break = (char *) sbrk (0); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ ../../src/libiberty/xmalloc.c:124:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] allocated = (char *) sbrk (0) - first_break; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ ../../src/libiberty/xmalloc.c:126:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] allocated = (char *) sbrk (0) - (char *) &environ; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ 4 warnings generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xmalloc.c -o noasan/xmalloc.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xmalloc.c -o xmalloc.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] ../../src/libiberty/xmalloc.c:113:28: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] first_break = (char *) sbrk (0); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ ../../src/libiberty/xmalloc.c:124:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] allocated = (char *) sbrk (0) - first_break; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ ../../src/libiberty/xmalloc.c:126:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] allocated = (char *) sbrk (0) - (char *) &environ; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ 4 warnings generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xmemdup.c -o pic/xmemdup.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xmemdup.c -o noasan/xmemdup.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xmemdup.c -o xmemdup.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xstrdup.c -o pic/xstrdup.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xstrdup.c -o noasan/xstrdup.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xstrdup.c -o xstrdup.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xstrerror.c -o pic/xstrerror.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xstrerror.c -o noasan/xstrerror.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xstrerror.c -o xstrerror.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xstrndup.c -o pic/xstrndup.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xstrndup.c -o noasan/xstrndup.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xstrndup.c -o xstrndup.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xvasprintf.c -o pic/xvasprintf.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/xvasprintf.c -o noasan/xvasprintf.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/xvasprintf.c -o xvasprintf.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/mempcpy.c -o pic/mempcpy.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/mempcpy.c -o noasan/mempcpy.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/mempcpy.c -o mempcpy.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/strverscmp.c -o pic/strverscmp.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/strverscmp.c -o noasan/strverscmp.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/strverscmp.c -o strverscmp.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"-fno-common" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/setproctitle.c -o pic/setproctitle.o; \ else true; fi warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE -fno-common ../../src/libiberty/setproctitle.c -o noasan/setproctitle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -I. -I../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../src/libiberty/setproctitle.c -o setproctitle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. rm -f ./libiberty.a pic/./libiberty.a noasan/./libiberty.a ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./mempcpy.o ./strverscmp.o ./setproctitle.o ranlib ./libiberty.a if [ x"-fno-common" != x ]; then \ cd pic; \ ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./mempcpy.o ./strverscmp.o ./setproctitle.o; \ ranlib ./libiberty.a; \ cd ..; \ else true; fi; \ if [ x"" != x ]; then \ cd noasan; \ ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./mempcpy.o ./strverscmp.o ./setproctitle.o; \ ranlib ./libiberty.a; \ cd ..; \ else true; fi echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o > required-list make[7]: Nothing to be done for `all'. make[6]: Nothing to be done for `all'. mkdir build-x86_64-apple-darwin16.7.0 mkdir build-x86_64-apple-darwin16.7.0/libiberty Configuring in build-x86_64-apple-darwin16.7.0/libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo --split-size=5000000 --split-size=5000000 checking for perl... perl checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking for x86_64-apple-darwin16.7.0-ar... ar checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking whether to install libiberty headers and static library... no configure: target_header_dir = checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wshadow=local... yes checking whether gcc supports -pedantic ... yes checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for malloc.h... no checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... (cached) yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for alloca.h... yes checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... yes checking for sys/systemcfg.h... no checking for stdint.h... (cached) yes checking for stdio_ext.h... no checking for process.h... no checking for sys/prctl.h... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking for long long... yes checking size of long long... 8 checking for a 64-bit type... uint64_t checking for intptr_t... yes checking for uintptr_t... yes checking for ssize_t... yes checking for pid_t... yes checking for library containing strerror... none required checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... yes checking for getpagesize... yes checking for gettimeofday... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmem... yes checking for memmove... yes checking for mempcpy... no checking for memset... yes checking for mkstemps... yes checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for snprintf... yes checking for sigsetmask... yes checking for stpcpy... yes checking for stpncpy... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for strtoll... yes checking for strtoull... yes checking for strverscmp... no checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsnprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for setproctitle... no checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _doprnt... no checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... yes checking for external symbol _system_configuration... no checking for __fsetlocking... no checking for canonicalize_file_name... no checking for dup3... no checking for getrlimit... yes checking for getrusage... yes checking for getsysinfo... no checking for gettimeofday... (cached) yes checking for on_exit... no checking for psignal... yes checking for pstat_getdynamic... no checking for pstat_getstatic... no checking for realpath... yes checking for setrlimit... yes checking for sbrk... yes checking for spawnve... no checking for spawnvpe... no checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for sysctl... yes checking for sysmp... no checking for table... no checking for times... yes checking for wait3... yes checking for wait4... yes checking whether basename is declared... no checking whether ffs is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether calloc is declared... yes checking whether getenv is declared... yes checking whether getopt is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether sbrk is declared... yes checking whether strtol is declared... yes checking whether strtoul is declared... yes checking whether strtoll is declared... yes checking whether strtoull is declared... yes checking whether strverscmp is declared... no checking whether canonicalize_file_name must be declared... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands if [ x"" != x ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir if [ x"" != x ] && [ ! -d noasan ]; then \ mkdir noasan; \ else true; fi touch stamp-noasandir if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/regex.c -o pic/regex.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/regex.c -o noasan/regex.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/regex.c -o regex.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cplus-dem.c -o pic/cplus-dem.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cplus-dem.c -o noasan/cplus-dem.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cplus-dem.c -o cplus-dem.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cp-demangle.c -o pic/cp-demangle.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cp-demangle.c -o noasan/cp-demangle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cp-demangle.c -o cp-demangle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/md5.c -o pic/md5.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/md5.c -o noasan/md5.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/md5.c -o md5.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/sha1.c -o pic/sha1.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/sha1.c -o noasan/sha1.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/sha1.c -o sha1.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/alloca.c -o pic/alloca.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/alloca.c -o noasan/alloca.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/alloca.c -o alloca.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/argv.c -o pic/argv.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/argv.c -o noasan/argv.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/argv.c -o argv.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/choose-temp.c -o pic/choose-temp.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/choose-temp.c -o noasan/choose-temp.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/choose-temp.c -o choose-temp.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/concat.c -o pic/concat.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/concat.c -o noasan/concat.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/concat.c -o concat.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cp-demint.c -o pic/cp-demint.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cp-demint.c -o noasan/cp-demint.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/cp-demint.c -o cp-demint.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/crc32.c -o pic/crc32.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/crc32.c -o noasan/crc32.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/crc32.c -o crc32.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/d-demangle.c -o pic/d-demangle.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/d-demangle.c -o noasan/d-demangle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/d-demangle.c -o d-demangle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/dwarfnames.c -o pic/dwarfnames.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/dwarfnames.c -o noasan/dwarfnames.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/dwarfnames.c -o dwarfnames.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/dyn-string.c -o pic/dyn-string.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/dyn-string.c -o noasan/dyn-string.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/dyn-string.c -o dyn-string.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fdmatch.c -o pic/fdmatch.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fdmatch.c -o noasan/fdmatch.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fdmatch.c -o fdmatch.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fibheap.c -o pic/fibheap.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fibheap.c -o noasan/fibheap.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fibheap.c -o fibheap.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/filename_cmp.c -o pic/filename_cmp.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/filename_cmp.c -o noasan/filename_cmp.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/filename_cmp.c -o filename_cmp.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/floatformat.c -o pic/floatformat.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/floatformat.c -o noasan/floatformat.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/floatformat.c -o floatformat.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fnmatch.c -o pic/fnmatch.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fnmatch.c -o noasan/fnmatch.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fnmatch.c -o fnmatch.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fopen_unlocked.c -o pic/fopen_unlocked.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fopen_unlocked.c -o noasan/fopen_unlocked.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/fopen_unlocked.c -o fopen_unlocked.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getopt.c -o pic/getopt.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getopt.c -o noasan/getopt.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getopt.c -o getopt.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getopt1.c -o pic/getopt1.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getopt1.c -o noasan/getopt1.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getopt1.c -o getopt1.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getpwd.c -o pic/getpwd.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getpwd.c -o noasan/getpwd.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getpwd.c -o getpwd.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getruntime.c -o pic/getruntime.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getruntime.c -o noasan/getruntime.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/getruntime.c -o getruntime.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/hashtab.c -o pic/hashtab.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/hashtab.c -o noasan/hashtab.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/hashtab.c -o hashtab.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/hex.c -o pic/hex.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/hex.c -o noasan/hex.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/hex.c -o hex.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/lbasename.c -o pic/lbasename.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/lbasename.c -o noasan/lbasename.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/lbasename.c -o lbasename.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/lrealpath.c -o pic/lrealpath.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/lrealpath.c -o noasan/lrealpath.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/lrealpath.c -o lrealpath.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/make-relative-prefix.c -o pic/make-relative-prefix.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/make-relative-prefix.c -o noasan/make-relative-prefix.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/make-relative-prefix.c -o make-relative-prefix.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/make-temp-file.c -o pic/make-temp-file.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/make-temp-file.c -o noasan/make-temp-file.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/make-temp-file.c -o make-temp-file.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/objalloc.c -o pic/objalloc.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/objalloc.c -o noasan/objalloc.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/objalloc.c -o objalloc.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/obstack.c -o pic/obstack.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/obstack.c -o noasan/obstack.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/obstack.c -o obstack.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/partition.c -o pic/partition.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/partition.c -o noasan/partition.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/partition.c -o partition.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pexecute.c -o pic/pexecute.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pexecute.c -o noasan/pexecute.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pexecute.c -o pexecute.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/physmem.c -o pic/physmem.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/physmem.c -o noasan/physmem.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/physmem.c -o physmem.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-common.c -o pic/pex-common.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-common.c -o noasan/pex-common.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-common.c -o pex-common.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-one.c -o pic/pex-one.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-one.c -o noasan/pex-one.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-one.c -o pex-one.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-unix.c -o pic/pex-unix.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-unix.c -o noasan/pex-unix.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/pex-unix.c -o pex-unix.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/vprintf-support.c -o pic/vprintf-support.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/vprintf-support.c -o noasan/vprintf-support.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/vprintf-support.c -o vprintf-support.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/rust-demangle.c -o pic/rust-demangle.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/rust-demangle.c -o noasan/rust-demangle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/rust-demangle.c -o rust-demangle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/safe-ctype.c -o pic/safe-ctype.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/safe-ctype.c -o noasan/safe-ctype.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/safe-ctype.c -o safe-ctype.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object.c -o pic/simple-object.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object.c -o noasan/simple-object.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object.c -o simple-object.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-coff.c -o pic/simple-object-coff.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-coff.c -o noasan/simple-object-coff.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-coff.c -o simple-object-coff.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-elf.c -o pic/simple-object-elf.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-elf.c -o noasan/simple-object-elf.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-elf.c -o simple-object-elf.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-mach-o.c -o pic/simple-object-mach-o.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-mach-o.c -o noasan/simple-object-mach-o.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-mach-o.c -o simple-object-mach-o.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-xcoff.c -o pic/simple-object-xcoff.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-xcoff.c -o noasan/simple-object-xcoff.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/simple-object-xcoff.c -o simple-object-xcoff.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] ../../../src/libiberty/simple-object-xcoff.c:330:12: warning: using extended field designator is an extension [-Wextended-offsetof] + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:332:39: warning: using extended field designator is an extension [-Wextended-offsetof] ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:335:29: warning: using extended field designator is an extension [-Wextended-offsetof] + fetch_16 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:342:12: warning: using extended field designator is an extension [-Wextended-offsetof] + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:344:39: warning: using extended field designator is an extension [-Wextended-offsetof] ocr->nsyms = fetch_32 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:347:29: warning: using extended field designator is an extension [-Wextended-offsetof] + fetch_16 (hdrbuf + offsetof (struct external_filehdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:475:32: warning: using extended field designator is an extension [-Wextended-offsetof] scnptr = fetch_64 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:477:30: warning: using extended field designator is an extension [-Wextended-offsetof] size = fetch_64 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:482:32: warning: using extended field designator is an extension [-Wextended-offsetof] scnptr = fetch_32 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:484:30: warning: using extended field designator is an extension [-Wextended-offsetof] size = fetch_32 (scnhdr + offsetof (struct external_scnhdr, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:598:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:600:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:603:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:608:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_symptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:610:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_nsyms), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:613:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_16 (hdr + offsetof (struct external_filehdr, u.xcoff64.f_flags), ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:663:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_size), ^ ~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:665:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_64 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_scnptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:670:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_size), ^ ~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:672:21: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_scnptr), ^ ~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:683:19: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff64.s_flags), flags); ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../../src/libiberty/simple-object-xcoff.c:685:19: warning: using extended field designator is an extension [-Wextended-offsetof] set_32 (hdr + offsetof (struct external_scnhdr, u.xcoff32.s_flags), flags); ^ ~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 23 warnings generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/sort.c -o pic/sort.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/sort.c -o noasan/sort.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/sort.c -o sort.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/spaces.c -o pic/spaces.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/spaces.c -o noasan/spaces.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/spaces.c -o spaces.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/splay-tree.c -o pic/splay-tree.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/splay-tree.c -o noasan/splay-tree.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/splay-tree.c -o splay-tree.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/stack-limit.c -o pic/stack-limit.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/stack-limit.c -o noasan/stack-limit.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/stack-limit.c -o stack-limit.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strerror.c -o pic/strerror.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strerror.c -o noasan/strerror.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strerror.c -o strerror.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strsignal.c -o pic/strsignal.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strsignal.c -o noasan/strsignal.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strsignal.c -o strsignal.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/timeval-utils.c -o pic/timeval-utils.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/timeval-utils.c -o noasan/timeval-utils.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/timeval-utils.c -o timeval-utils.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/unlink-if-ordinary.c -o pic/unlink-if-ordinary.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/unlink-if-ordinary.c -o noasan/unlink-if-ordinary.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/unlink-if-ordinary.c -o unlink-if-ordinary.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xasprintf.c -o pic/xasprintf.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xasprintf.c -o noasan/xasprintf.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xasprintf.c -o xasprintf.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xatexit.c -o pic/xatexit.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xatexit.c -o noasan/xatexit.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xatexit.c -o xatexit.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xexit.c -o pic/xexit.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xexit.c -o noasan/xexit.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xexit.c -o xexit.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xmalloc.c -o pic/xmalloc.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xmalloc.c -o noasan/xmalloc.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xmalloc.c -o xmalloc.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] ../../../src/libiberty/xmalloc.c:113:28: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] first_break = (char *) sbrk (0); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ ../../../src/libiberty/xmalloc.c:124:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] allocated = (char *) sbrk (0) - first_break; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ ../../../src/libiberty/xmalloc.c:126:26: warning: 'sbrk' is deprecated [-Wdeprecated-declarations] allocated = (char *) sbrk (0) - (char *) &environ; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/unistd.h:585:1: note: 'sbrk' has been explicitly marked deprecated here __deprecated __WATCHOS_PROHIBITED __TVOS_PROHIBITED ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated' #define __deprecated __attribute__((deprecated)) ^ 4 warnings generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xmemdup.c -o pic/xmemdup.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xmemdup.c -o noasan/xmemdup.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xmemdup.c -o xmemdup.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrdup.c -o pic/xstrdup.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrdup.c -o noasan/xstrdup.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrdup.c -o xstrdup.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrerror.c -o pic/xstrerror.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrerror.c -o noasan/xstrerror.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrerror.c -o xstrerror.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrndup.c -o pic/xstrndup.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrndup.c -o noasan/xstrndup.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xstrndup.c -o xstrndup.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xvasprintf.c -o pic/xvasprintf.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xvasprintf.c -o noasan/xvasprintf.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/xvasprintf.c -o xvasprintf.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/mempcpy.c -o pic/mempcpy.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/mempcpy.c -o noasan/mempcpy.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/mempcpy.c -o mempcpy.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strverscmp.c -o pic/strverscmp.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strverscmp.c -o noasan/strverscmp.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/strverscmp.c -o strverscmp.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/setproctitle.c -o pic/setproctitle.o; \ else true; fi if [ x"" != x ]; then \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/setproctitle.c -o noasan/setproctitle.o; \ else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../src/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local -pedantic -D_GNU_SOURCE ../../../src/libiberty/setproctitle.c -o setproctitle.o warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-option] 1 warning generated. rm -f ./libiberty.a pic/./libiberty.a noasan/./libiberty.a ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./mempcpy.o ./strverscmp.o ./setproctitle.o ranlib ./libiberty.a if [ x"" != x ]; then \ cd pic; \ ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./mempcpy.o ./strverscmp.o ./setproctitle.o; \ ranlib ./libiberty.a; \ cd ..; \ else true; fi; \ if [ x"" != x ]; then \ cd noasan; \ ar rc ./libiberty.a \ ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o ./mempcpy.o ./strverscmp.o ./setproctitle.o; \ ranlib ./libiberty.a; \ cd ..; \ else true; fi echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./d-demangle.o ./dwarfnames.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o ./vprintf-support.o ./rust-demangle.o ./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o ./simple-object-mach-o.o ./simple-object-xcoff.o ./sort.o ./spaces.o ./splay-tree.o ./stack-limit.o ./strerror.o ./strsignal.o ./timeval-utils.o ./unlink-if-ordinary.o ./xasprintf.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./xstrndup.o ./xvasprintf.o > required-list make[7]: Nothing to be done for `all'. mkdir build-x86_64-apple-darwin16.7.0/fixincludes Configuring in build-x86_64-apple-darwin16.7.0/fixincludes configure: creating cache ./config.cache checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Woverlength-strings... yes checking whether gcc supports -pedantic -Wlong-long... yes checking for ANSI C header files... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/stat.h... (cached) yes checking for clearerr_unlocked... yes checking for feof_unlocked... yes checking for ferror_unlocked... yes checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... yes checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... no checking whether errno is declared... no checking whether vasprintf is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... yes checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking for an ANSI C-conforming const... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... no checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating mkheaders.almost config.status: creating config.h gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/fixincl.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/fixtests.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/fixfixes.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/server.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/procopen.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/fixlib.c gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../../src/fixincludes -I../include -I../../../src/fixincludes/../include ../../../src/fixincludes/fixopts.c gcc -g -O2 -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a echo timestamp > full-stamp srcdir="../../../src/fixincludes" /bin/sh ../../../src/fixincludes/mkfixinc.sh x86_64-apple-darwin16.7.0 sed -e 's/@gcc_version@/7.2.0/' < mkheaders.almost > mkheadersT mv -f mkheadersT mkheaders mkdir build-x86_64-apple-darwin16.7.0/libcpp Configuring in build-x86_64-apple-darwin16.7.0/libcpp configure: creating cache ./config.cache checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ -std=gnu++98 accepts -g... yes checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for aclocal... no checking for autoconf... no checking for autoheader... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wnarrowing... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -pedantic -Wlong-long... yes checking whether gcc supports -fno-exceptions... yes checking whether gcc supports -fno-rtti... yes checking dependency style of g++ -std=gnu++98... gcc3 checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for obstacks... no checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for uintptr_t... yes checking for ptrdiff_t... yes checking for uint64_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of int... 4 checking size of long... 8 checking for clearerr_unlocked... yes checking for feof_unlocked... yes checking for ferror_unlocked... yes checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... yes checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... no checking whether errno is declared... no checking whether getopt is declared... yes checking whether vasprintf is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... yes checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking for nl_langinfo and CODESET... yes checking whether NLS is requested... no checking for uchar... checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... (cached) no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir .deps g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo ../../../src/libcpp/charset.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/charset.c:21: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ In file included from ../../../src/libcpp/charset.c:22: ../../../src/libcpp/include/cpplib.h:772:14: warning: private field 'm_line_table' is not used [-Wunused-private-field] line_maps *m_line_table; ^ 3 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o directives.o -MT directives.o -MMD -MP -MF .deps/directives.Tpo ../../../src/libcpp/directives.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/directives.c:22: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o directives-only.o -MT directives-only.o -MMD -MP -MF .deps/directives-only.Tpo ../../../src/libcpp/directives-only.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/directives-only.c:20: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o errors.o -MT errors.o -MMD -MP -MF .deps/errors.Tpo ../../../src/libcpp/errors.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/errors.c:26: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o expr.o -MT expr.o -MMD -MP -MF .deps/expr.Tpo ../../../src/libcpp/expr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/expr.c:20: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ ../../../src/libcpp/expr.c:770:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 0, message); ^~~~~~~ ../../../src/libcpp/expr.c:770:11: note: treat the string as an argument to avoid this 0, message); ^ "%s", ../../../src/libcpp/expr.c:773:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] virtual_location, 0, message); ^~~~~~~ ../../../src/libcpp/expr.c:773:32: note: treat the string as an argument to avoid this virtual_location, 0, message); ^ "%s", 4 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o files.o -MT files.o -MMD -MP -MF .deps/files.Tpo ../../../src/libcpp/files.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/files.c:24: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o identifiers.o -MT identifiers.o -MMD -MP -MF .deps/identifiers.Tpo ../../../src/libcpp/identifiers.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/identifiers.c:26: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. echo "#define LOCALEDIR \"/Users/matt/sage/local/share/locale\"" > localedir.new ../../../src/libcpp/../move-if-change localedir.new localedir.h echo timestamp > localedir.hs g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Tpo ../../../src/libcpp/init.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/init.c:22: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ ../../../src/libcpp/init.c:67:3: warning: array subscript is of type 'char' [-Wchar-subscripts] s('=', '#') s(')', ']') s('!', '|') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:67:15: warning: array subscript is of type 'char' [-Wchar-subscripts] s('=', '#') s(')', ']') s('!', '|') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:67:27: warning: array subscript is of type 'char' [-Wchar-subscripts] s('=', '#') s(')', ']') s('!', '|') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:68:3: warning: array subscript is of type 'char' [-Wchar-subscripts] s('(', '[') s('\'', '^') s('>', '}') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:68:15: warning: array subscript is of type 'char' [-Wchar-subscripts] s('(', '[') s('\'', '^') s('>', '}') ^ ~~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:68:28: warning: array subscript is of type 'char' [-Wchar-subscripts] s('(', '[') s('\'', '^') s('>', '}') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:69:3: warning: array subscript is of type 'char' [-Wchar-subscripts] s('/', '\\') s('<', '{') s('-', '~') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:69:16: warning: array subscript is of type 'char' [-Wchar-subscripts] s('/', '\\') s('<', '{') s('-', '~') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../../src/libcpp/init.c:69:28: warning: array subscript is of type 'char' [-Wchar-subscripts] s('/', '\\') s('<', '{') s('-', '~') ^ ~~~ ../../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ 11 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo ../../../src/libcpp/lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/lex.c:23: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o line-map.o -MT line-map.o -MMD -MP -MF .deps/line-map.Tpo ../../../src/libcpp/line-map.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/line-map.c:23: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o macro.o -MT macro.o -MMD -MP -MF .deps/macro.Tpo ../../../src/libcpp/macro.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/macro.c:26: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ ../../../src/libcpp/macro.c:3105:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^~~~~~~~~~~~~~~~~~ ../../../src/libcpp/macro.c:3105:40: note: treat the string as an argument to avoid this cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^ "%s", ../../../src/libcpp/macro.c:3118:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^~~~~~~~~~~~~~~~~~ ../../../src/libcpp/macro.c:3118:40: note: treat the string as an argument to avoid this cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^ "%s", 4 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o mkdeps.o -MT mkdeps.o -MMD -MP -MF .deps/mkdeps.Tpo ../../../src/libcpp/mkdeps.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/mkdeps.c:24: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o pch.o -MT pch.o -MMD -MP -MF .deps/pch.Tpo ../../../src/libcpp/pch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/pch.c:19: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o symtab.o -MT symtab.o -MMD -MP -MF .deps/symtab.Tpo ../../../src/libcpp/symtab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/symtab.c:23: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../src/libcpp -I. -I../../../src/libcpp/../include -I../../../src/libcpp/include -c -o traditional.o -MT traditional.o -MMD -MP -MF .deps/traditional.Tpo ../../../src/libcpp/traditional.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../../src/libcpp/traditional.c:20: ../../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. rm -f libcpp.a ar cru libcpp.a charset.o directives.o directives-only.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o ranlib libcpp.a Configuring stage 1 in ./libbacktrace configure: creating cache ./config.cache checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../../src/libbacktrace/../install-sh -c -d checking for gawk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-apple-darwin16.7.0-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking for gawk... (cached) awk checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... ld checking if the linker (ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for ld option to reload object files... -r checking for x86_64-apple-darwin16.7.0-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-apple-darwin16.7.0-ar... ar checking for x86_64-apple-darwin16.7.0-strip... no checking for strip... strip checking for x86_64-apple-darwin16.7.0-ranlib... (cached) ranlib checking command to parse nm output from gcc object... ok checking for x86_64-apple-darwin16.7.0-dsymutil... no checking for dsymutil... dsymutil checking for x86_64-apple-darwin16.7.0-nmedit... no checking for nmedit... nmedit checking for x86_64-apple-darwin16.7.0-lipo... no checking for lipo... lipo checking for x86_64-apple-darwin16.7.0-otool... no checking for otool... otool checking for x86_64-apple-darwin16.7.0-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin16.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking unwind.h usability... yes checking unwind.h presence... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for -funwind-tables option... yes checking for -frandom-seed=string option... yes checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wcast-qual... yes checking for _Unwind_GetIPInfo... yes checking __sync extensions... yes checking __atomic extensions... yes checking output filetype... configure: WARNING: could not determine output file type looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes checking for uintptr_t... yes checking for int_least32_t... yes checking for int_fast32_t... yes checking for uint64_t... yes checking what to include in gstdint.h... stdint.h (already complete) checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for mmap... yes checking link.h usability... no checking link.h presence... no checking for link.h... no checking for fcntl... yes checking whether strnlen is declared... yes checking for getexecname... no checking whether tests can run... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating backtrace-supported.h config.status: creating config.h config.status: executing libtool commands config.status: executing gstdint.h commands Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1 config.status: executing default commands make all-am /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=atomic.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o atomic.lo ../../src/libbacktrace/atomic.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=atomic.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/atomic.c -fno-common -DPIC -o .libs/atomic.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=atomic.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/atomic.c -o atomic.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o dwarf.lo ../../src/libbacktrace/dwarf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/dwarf.c -fno-common -DPIC -o .libs/dwarf.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/dwarf.c -o dwarf.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=fileline.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o fileline.lo ../../src/libbacktrace/fileline.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=fileline.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/fileline.c -fno-common -DPIC -o .libs/fileline.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=fileline.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/fileline.c -o fileline.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=posix.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o posix.lo ../../src/libbacktrace/posix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=posix.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/posix.c -fno-common -DPIC -o .libs/posix.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=posix.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/posix.c -o posix.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=print.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o print.lo ../../src/libbacktrace/print.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=print.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/print.c -fno-common -DPIC -o .libs/print.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=print.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/print.c -o print.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=sort.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o sort.lo ../../src/libbacktrace/sort.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=sort.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/sort.c -fno-common -DPIC -o .libs/sort.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=sort.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/sort.c -o sort.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=state.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o state.lo ../../src/libbacktrace/state.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=state.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/state.c -fno-common -DPIC -o .libs/state.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=state.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/state.c -o state.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=backtrace.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o backtrace.lo ../../src/libbacktrace/backtrace.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=backtrace.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/backtrace.c -fno-common -DPIC -o .libs/backtrace.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=backtrace.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/backtrace.c -o backtrace.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=simple.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o simple.lo ../../src/libbacktrace/simple.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=simple.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/simple.c -fno-common -DPIC -o .libs/simple.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=simple.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/simple.c -o simple.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=unknown.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o unknown.lo ../../src/libbacktrace/unknown.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=unknown.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/unknown.c -fno-common -DPIC -o .libs/unknown.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=unknown.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/unknown.c -o unknown.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmapio.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o mmapio.lo ../../src/libbacktrace/mmapio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmapio.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/mmapio.c -fno-common -DPIC -o .libs/mmapio.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmapio.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/mmapio.c -o mmapio.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c -o mmap.lo ../../src/libbacktrace/mmap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/mmap.c -fno-common -DPIC -o .libs/mmap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/libbacktrace -I ../../src/libbacktrace/../include -I ../../src/libbacktrace/../libgcc -I ../libgcc -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -c ../../src/libbacktrace/mmap.c -o mmap.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link gcc -funwind-tables -frandom-seed=libbacktrace.la -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -g -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o libbacktrace.la atomic.lo dwarf.lo fileline.lo posix.lo print.lo sort.lo state.lo backtrace.lo simple.lo unknown.lo mmapio.lo mmap.lo libtool: link: ar rc .libs/libbacktrace.a .libs/atomic.o .libs/dwarf.o .libs/fileline.o .libs/posix.o .libs/print.o .libs/sort.o .libs/state.o .libs/backtrace.o .libs/simple.o .libs/unknown.o .libs/mmapio.o .libs/mmap.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libbacktrace.a(atomic.o) has no symbols libtool: link: ranlib .libs/libbacktrace.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libbacktrace.a(atomic.o) has no symbols libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" ) true DO=all multi-do # make Configuring stage 1 in ./libcpp configure: creating cache ./config.cache checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ -std=gnu++98 accepts -g... yes checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for aclocal... no checking for autoconf... no checking for autoheader... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wnarrowing... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wc++-compat... yes checking whether gcc supports -pedantic -Wlong-long... yes checking whether gcc supports -fno-exceptions... yes checking whether gcc supports -fno-rtti... yes checking dependency style of g++ -std=gnu++98... gcc3 checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for obstacks... no checking for off_t... yes checking for size_t... yes checking for ssize_t... yes checking for uintptr_t... yes checking for ptrdiff_t... yes checking for uint64_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of int... 4 checking size of long... 8 checking for clearerr_unlocked... yes checking for feof_unlocked... yes checking for ferror_unlocked... yes checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... yes checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether abort is declared... yes checking whether asprintf is declared... yes checking whether basename is declared... no checking whether errno is declared... no checking whether getopt is declared... yes checking whether vasprintf is declared... yes checking whether clearerr_unlocked is declared... yes checking whether feof_unlocked is declared... yes checking whether ferror_unlocked is declared... yes checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... yes checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking for nl_langinfo and CODESET... yes checking whether NLS is requested... no checking for uchar... checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... no checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir .deps g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo ../../src/libcpp/charset.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/charset.c:21: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ In file included from ../../src/libcpp/charset.c:22: ../../src/libcpp/include/cpplib.h:772:14: warning: private field 'm_line_table' is not used [-Wunused-private-field] line_maps *m_line_table; ^ 3 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o directives.o -MT directives.o -MMD -MP -MF .deps/directives.Tpo ../../src/libcpp/directives.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/directives.c:22: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o directives-only.o -MT directives-only.o -MMD -MP -MF .deps/directives-only.Tpo ../../src/libcpp/directives-only.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/directives-only.c:20: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o errors.o -MT errors.o -MMD -MP -MF .deps/errors.Tpo ../../src/libcpp/errors.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/errors.c:26: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o expr.o -MT expr.o -MMD -MP -MF .deps/expr.Tpo ../../src/libcpp/expr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/expr.c:20: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ ../../src/libcpp/expr.c:770:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 0, message); ^~~~~~~ ../../src/libcpp/expr.c:770:11: note: treat the string as an argument to avoid this 0, message); ^ "%s", ../../src/libcpp/expr.c:773:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] virtual_location, 0, message); ^~~~~~~ ../../src/libcpp/expr.c:773:32: note: treat the string as an argument to avoid this virtual_location, 0, message); ^ "%s", 4 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o files.o -MT files.o -MMD -MP -MF .deps/files.Tpo ../../src/libcpp/files.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/files.c:24: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o identifiers.o -MT identifiers.o -MMD -MP -MF .deps/identifiers.Tpo ../../src/libcpp/identifiers.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/identifiers.c:26: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. echo "#define LOCALEDIR \"/Users/matt/sage/local/share/locale\"" > localedir.new ../../src/libcpp/../move-if-change localedir.new localedir.h echo timestamp > localedir.hs g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o init.o -MT init.o -MMD -MP -MF .deps/init.Tpo ../../src/libcpp/init.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/init.c:22: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ ../../src/libcpp/init.c:67:3: warning: array subscript is of type 'char' [-Wchar-subscripts] s('=', '#') s(')', ']') s('!', '|') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:67:15: warning: array subscript is of type 'char' [-Wchar-subscripts] s('=', '#') s(')', ']') s('!', '|') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:67:27: warning: array subscript is of type 'char' [-Wchar-subscripts] s('=', '#') s(')', ']') s('!', '|') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:68:3: warning: array subscript is of type 'char' [-Wchar-subscripts] s('(', '[') s('\'', '^') s('>', '}') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:68:15: warning: array subscript is of type 'char' [-Wchar-subscripts] s('(', '[') s('\'', '^') s('>', '}') ^ ~~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:68:28: warning: array subscript is of type 'char' [-Wchar-subscripts] s('(', '[') s('\'', '^') s('>', '}') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:69:3: warning: array subscript is of type 'char' [-Wchar-subscripts] s('/', '\\') s('<', '{') s('-', '~') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:69:16: warning: array subscript is of type 'char' [-Wchar-subscripts] s('/', '\\') s('<', '{') s('-', '~') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ ../../src/libcpp/init.c:69:28: warning: array subscript is of type 'char' [-Wchar-subscripts] s('/', '\\') s('<', '{') s('-', '~') ^ ~~~ ../../src/libcpp/init.c:62:18: note: expanded from macro 's' #define s(p, v) x[p] = v; ^~ 11 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o lex.o -MT lex.o -MMD -MP -MF .deps/lex.Tpo ../../src/libcpp/lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/lex.c:23: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o line-map.o -MT line-map.o -MMD -MP -MF .deps/line-map.Tpo ../../src/libcpp/line-map.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/line-map.c:23: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o macro.o -MT macro.o -MMD -MP -MF .deps/macro.Tpo ../../src/libcpp/macro.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/macro.c:26: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ ../../src/libcpp/macro.c:3105:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^~~~~~~~~~~~~~~~~~ ../../src/libcpp/macro.c:3105:40: note: treat the string as an argument to avoid this cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^ "%s", ../../src/libcpp/macro.c:3118:40: warning: format string is not a string literal (potentially insecure) [-Wformat-security] cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^~~~~~~~~~~~~~~~~~ ../../src/libcpp/macro.c:3118:40: note: treat the string as an argument to avoid this cpp_error (pfile, CPP_DL_ERROR, paste_op_error_msg); ^ "%s", 4 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o mkdeps.o -MT mkdeps.o -MMD -MP -MF .deps/mkdeps.Tpo ../../src/libcpp/mkdeps.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/mkdeps.c:24: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o pch.o -MT pch.o -MMD -MP -MF .deps/pch.Tpo ../../src/libcpp/pch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/pch.c:19: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o symtab.o -MT symtab.o -MMD -MP -MF .deps/symtab.Tpo ../../src/libcpp/symtab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/symtab.c:23: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. g++ -std=gnu++98 -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -g -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../src/libcpp -I. -I../../src/libcpp/../include -I../../src/libcpp/include -c -o traditional.o -MT traditional.o -MMD -MP -MF .deps/traditional.Tpo ../../src/libcpp/traditional.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/libcpp/traditional.c:20: ../../src/libcpp/system.h:435:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define true 1 ^ ../../src/libcpp/system.h:436:9: warning: keyword is hidden by macro definition [-Wkeyword-macro] #define false 0 ^ 2 warnings generated. rm -f libcpp.a ar cru libcpp.a charset.o directives.o directives-only.o errors.o expr.o files.o identifiers.o init.o lex.o line-map.o macro.o mkdeps.o pch.o symtab.o traditional.o ranlib libcpp.a Configuring stage 1 in ./libdecnumber configure: creating cache ./config.cache checking whether make sets $(MAKE)... yes checking for x86_64-apple-darwin16.7.0-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for x86_64-apple-darwin16.7.0-ranlib... ranlib checking for aclocal... no checking for autoconf... no checking for autoheader... no checking whether gcc supports -W... yes checking whether gcc supports -Wall... yes checking whether gcc supports -Wwrite-strings... yes checking whether gcc supports -Wstrict-prototypes... yes checking whether gcc supports -Wmissing-prototypes... yes checking whether gcc supports -Wold-style-definition... yes checking whether gcc supports -Wmissing-format-attribute... yes checking whether gcc supports -Wcast-qual... yes checking whether gcc supports -pedantic -Wlong-long... yes checking whether gcc supports -fno-lto... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for string.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes checking for uintptr_t... yes checking for int_least32_t... yes checking for int_fast32_t... yes checking for uint64_t... yes checking what to include in gstdint.h... stdint.h (already complete) checking for an ANSI C-conforming const... yes checking for off_t... yes checking size of int... 4 checking size of long... 8 checking for ANSI C header files... (cached) yes checking build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.0 checking target system type... x86_64-apple-darwin16.7.0 checking for decimal floating point... configure: WARNING: decimal float is not supported for this target, ignored dpd checking whether byte ordering is bigendian... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing gstdint.h commands Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1 source='../../src/libdecnumber/decNumber.c' object='decNumber.o' libtool=no gcc -I../../src/libdecnumber -I. -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I../../src/libdecnumber -I. -c ../../src/libdecnumber/decNumber.c source='../../src/libdecnumber/decContext.c' object='decContext.o' libtool=no gcc -I../../src/libdecnumber -I. -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I../../src/libdecnumber -I. -c ../../src/libdecnumber/decContext.c source='../../src/libdecnumber/dpd/decimal32.c' object='decimal32.o' libtool=no gcc -I../../src/libdecnumber -I. -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I../../src/libdecnumber -I. -c ../../src/libdecnumber/dpd/decimal32.c source='../../src/libdecnumber/dpd/decimal64.c' object='decimal64.o' libtool=no gcc -I../../src/libdecnumber -I. -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I../../src/libdecnumber -I. -c ../../src/libdecnumber/dpd/decimal64.c source='../../src/libdecnumber/dpd/decimal128.c' object='decimal128.o' libtool=no gcc -I../../src/libdecnumber -I. -g -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -fno-lto -I../../src/libdecnumber -I. -c ../../src/libdecnumber/dpd/decimal128.c rm -f libdecnumber.a ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o ranlib libdecnumber.a TARGET_CPU_DEFAULT="" \ HEADERS="auto-host.h ansidecl.h" DEFINES="" \ /bin/sh ../../src/gcc/mkconfig.sh config.h TARGET_CPU_DEFAULT="" \ HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/i386/biarch64.h config/i386/i386.h config/darwin.h config/darwin9.h config/darwin10.h config/darwin12.h config/i386/darwin.h config/i386/darwin64.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4" \ /bin/sh ../../src/gcc/mkconfig.sh tm.h TARGET_CPU_DEFAULT="" \ HEADERS="config/i386/i386-protos.h config/darwin-protos.h tm-preds.h" DEFINES="" \ /bin/sh ../../src/gcc/mkconfig.sh tm_p.h TARGET_CPU_DEFAULT="" \ HEADERS="auto-host.h ansidecl.h" DEFINES="" \ /bin/sh ../../src/gcc/mkconfig.sh bconfig.h g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genmddeps.o ../../src/gcc/genmddeps.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genmddeps.c:20: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ 1 warning generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/read-md.o ../../src/gcc/read-md.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/read-md.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ 1 warning generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/errors.o ../../src/gcc/errors.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genmddeps \ build/genmddeps.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genmddeps ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md > tmp-mddeps /bin/sh ../../src/gcc/../move-if-change tmp-mddeps mddeps.mk echo timestamp > s-mddeps g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genmodes.o ../../src/gcc/genmodes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genmodes \ build/genmodes.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genmodes -h > tmp-modes.h /bin/sh ../../src/gcc/../move-if-change tmp-modes.h insn-modes.h echo timestamp > s-modes-h g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gengtype.o ../../src/gcc/gengtype.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gengtype.c:32: ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0) ^ ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 31 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gengtype-lex.o ../../src/gcc/gengtype-lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] gengtype-lex.c:2150:3: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gengtype-lex.c:1343:18: note: expanded from macro 'YY_INPUT' for ( n = 0; n < max_size && \ ~ ^ ~~~~~~~~ gengtype-lex.c:2658:17: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare] for ( i = 0; i < _yybytes_len; ++i ) ~ ^ ~~~~~~~~~~~~ 2 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gengtype-parse.o ../../src/gcc/gengtype-parse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gengtype-state.o ../../src/gcc/gengtype-state.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gengtype-state.c:36: ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0) ^ ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 19 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -DBASEVER="\"7.2.0\"" -DDATESTAMP="\"\"" \ -DREVISION="\"\"" \ -DDEVPHASE="\"\"" -DPKGVERSION="\"(GCC) \"" \ -DBUGURL="\"\"" -o build/version.o ../../src/gcc/version.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gengtype \ build/gengtype.o build/errors.o build/gengtype-lex.o build/gengtype-parse.o build/gengtype-state.o build/version.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a LC_ALL=C ; export LC_ALL ; \ awk -f ../../src/gcc/opt-gather.awk ../../src/gcc/ada/gcc-interface/lang.opt ../../src/gcc/brig/lang.opt ../../src/gcc/fortran/lang.opt ../../src/gcc/go/lang.opt ../../src/gcc/lto/lang.opt ../../src/gcc/c-family/c.opt ../../src/gcc/common.opt ../../src/gcc/config/fused-madd.opt ../../src/gcc/config/i386/i386.opt ../../src/gcc/config/darwin.opt > tmp-optionlist /bin/sh ../../src/gcc/../move-if-change tmp-optionlist optionlist echo timestamp > s-options awk -f ../../src/gcc/opt-functions.awk -f ../../src/gcc/opt-read.awk \ -f ../../src/gcc/opth-gen.awk \ < optionlist > tmp-options.h /bin/sh ../../src/gcc/../move-if-change tmp-options.h options.h echo timestamp > s-options-h /bin/sh ../../src/gcc/../move-if-change tmp-gi.list gtyp-input.list echo timestamp > s-gtyp-input build/gengtype \ -S ../../src/gcc -I gtyp-input.list -w tmp-gtype.state /bin/sh ../../src/gcc/../move-if-change tmp-gtype.state gtype.state build/gengtype \ -r gtype.state echo timestamp > s-gtype g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genconstants.o ../../src/gcc/genconstants.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genconstants.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ 1 warning generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genconstants \ build/genconstants.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genconstants ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ > tmp-constants.h /bin/sh ../../src/gcc/../move-if-change tmp-constants.h insn-constants.h echo timestamp > s-constants g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genpreds.o ../../src/gcc/genpreds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genpreds.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genpreds.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genpreds.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genpreds.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genpreds.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/genpreds.c:27: In file included from ../../src/gcc/rtl.h:34: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/genpreds.c:1526:9: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here values.safe_push (std::make_pair (const_int_start, "CT_CONST_INT")); ^ 6 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gengenrtl.o ../../src/gcc/gengenrtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gengenrtl \ build/gengenrtl.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/gengenrtl > tmp-genrtl.h /bin/sh ../../src/gcc/../move-if-change tmp-genrtl.h genrtl.h echo timestamp > s-genrtl-h g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/rtl.o ../../src/gcc/rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtl.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtl.c:31: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl.c:31: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl.c:31: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtl.c:31: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/read-rtl.o ../../src/gcc/read-rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/read-rtl.c:32: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/read-rtl.c:34: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-rtl.c:34: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-rtl.c:34: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/read-rtl.c:34: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/ggc-none.o ../../src/gcc/ggc-none.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ggc-none.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ggc-none.c:32: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-none.c:32: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-none.c:32: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. echo "#define BUILDING_GCC_MAJOR `echo 7.2.0 | sed -e 's/^\([0-9]*\).*$/\1/'`" > bversion.h echo "#define BUILDING_GCC_MINOR `echo 7.2.0 | sed -e 's/^[0-9]*\.\([0-9]*\).*$/\1/'`" >> bversion.h echo "#define BUILDING_GCC_PATCHLEVEL `echo 7.2.0 | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$/\1/'`" >> bversion.h echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h echo timestamp > s-bversion g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/vec.o ../../src/gcc/vec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/vec.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/vec.c:32: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vec.c:32: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vec.c:32: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. build/genmodes -m > tmp-min-modes.c /bin/sh ../../src/gcc/../move-if-change tmp-min-modes.c min-insn-modes.c echo timestamp > s-modes-m g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/min-insn-modes.o min-insn-modes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gensupport.o ../../src/gcc/gensupport.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gensupport.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gensupport.c:24: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gensupport.c:24: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gensupport.c:24: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gensupport.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/print-rtl.o ../../src/gcc/print-rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/print-rtl.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/print-rtl.c:31: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-rtl.c:31: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-rtl.c:31: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/print-rtl.c:31: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/print-rtl.c:53: ../../src/gcc/print-rtl.h:72:22: warning: private field 'm_rtx_reuse_manager' is not used [-Wunused-private-field] rtx_reuse_manager *m_rtx_reuse_manager; ^ 6 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/hash-table.o ../../src/gcc/hash-table.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hash-table.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hash-table.c:32: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-table.c:32: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-table.c:32: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genpreds \ build/genpreds.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genpreds -h ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md > tmp-preds.h /bin/sh ../../src/gcc/../move-if-change tmp-preds.h tm-preds.h echo timestamp > s-preds-h g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genflags.o ../../src/gcc/genflags.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genflags.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genflags.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genflags.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genflags.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genflags.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genflags \ build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genconditions.o ../../src/gcc/genconditions.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genconditions.c:30: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genconditions.c:32: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genconditions.c:32: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genconditions.c:32: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genconditions.c:32: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genconditions \ build/genconditions.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genconditions ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md > tmp-condmd.c /bin/sh ../../src/gcc/../move-if-change tmp-condmd.c build/gencondmd.c echo timestamp > s-conditions build/genpreds -c ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md > tmp-constrs.h /bin/sh ../../src/gcc/../move-if-change tmp-constrs.h tm-constrs.h echo timestamp > s-constrs-h g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gencondmd.o build/gencondmd.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from build/gencondmd.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from build/gencondmd.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from build/gencondmd.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from build/gencondmd.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from build/gencondmd.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from build/gencondmd.c:39: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from build/gencondmd.c:45: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from build/gencondmd.c:45: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/config/i386/sse.md:2590:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:2590:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/i386.md:4881:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4881:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/sse.md:1593:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1593:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:2588:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:2588:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1561:115: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (PLUS, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1561:115: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (PLUS, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/mmx.md:675:41: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/mmx.md:675:41: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4386:30: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V4SFmode == V4SFmode))) ^ ../../src/gcc/config/i386/sse.md:4386:30: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V4SFmode == V4SFmode))) ^ ../../src/gcc/config/i386/i386.md:17752:16: warning: self-comparison always evaluates to true [-Wtautological-compare] && ((HImode == HImode ^ ../../src/gcc/config/i386/i386.md:17752:16: warning: self-comparison always evaluates to true [-Wtautological-compare] && ((HImode == HImode ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/sse.md:1854:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1854:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:17272:10: warning: self-comparison always evaluates to false [-Wtautological-compare] ((DFmode != DFmode || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:17272:10: warning: self-comparison always evaluates to false [-Wtautological-compare] ((DFmode != DFmode || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15658:18: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:15658:18: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:18394:14: warning: self-comparison always evaluates to true [-Wtautological-compare] || SImode == SImode ^ ../../src/gcc/config/i386/i386.md:18394:14: warning: self-comparison always evaluates to true [-Wtautological-compare] || SImode == SImode ^ ../../src/gcc/config/i386/sse.md:1853:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1853:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:2588:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:2588:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3999:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3999:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5187:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5187:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1879:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1879:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1601:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1601:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1600:87: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MULT, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1600:87: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MULT, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1902:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1902:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/i386.md:18408:44: warning: self-comparison always evaluates to true [-Wtautological-compare] && (!TARGET_PARTIAL_REG_STALL || SImode == SImode)) ^ ../../src/gcc/config/i386/i386.md:18408:44: warning: self-comparison always evaluates to true [-Wtautological-compare] && (!TARGET_PARTIAL_REG_STALL || SImode == SImode)) ^ ../../src/gcc/config/i386/sse.md:1561:116: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MINUS, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1561:116: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MINUS, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1853:60: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1853:60: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:5410:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5410:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3846:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3846:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/mmx.md:683:42: warning: self-comparison always evaluates to true [-Wtautological-compare] ((TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/mmx.md:683:42: warning: self-comparison always evaluates to true [-Wtautological-compare] ((TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/i386.md:4923:29: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4923:29: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/sse.md:3998:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3998:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1561:87: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (PLUS, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1561:87: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (PLUS, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:17713:32: warning: self-comparison always evaluates to true [-Wtautological-compare] && (TARGET_AVX512BW || SImode == SImode)) ^ ../../src/gcc/config/i386/sse.md:17713:32: warning: self-comparison always evaluates to true [-Wtautological-compare] && (TARGET_AVX512BW || SImode == SImode)) ^ ../../src/gcc/config/i386/i386.md:18092:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:18092:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:17913:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:17913:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:15659:20: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15659:20: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/sse.md:4522:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:4522:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:4909:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4909:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode))) ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode))) ^ ../../src/gcc/config/i386/sse.md:19422:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:19422:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/i386.md:17995:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:17995:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:17887:33: warning: self-comparison always evaluates to false [-Wtautological-compare] ( reload_completed && (V4DFmode != V4DFmode || !TARGET_AVX2))) ^ ../../src/gcc/config/i386/sse.md:17887:33: warning: self-comparison always evaluates to false [-Wtautological-compare] ( reload_completed && (V4DFmode != V4DFmode || !TARGET_AVX2))) ^ ../../src/gcc/config/i386/sse.md:3998:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3998:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1879:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1879:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode)))) ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode)))) ^ ../../src/gcc/config/i386/sse.md:1561:88: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MINUS, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1561:88: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MINUS, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:19423:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:19423:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:18032:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:18032:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/sse.md:1902:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1902:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:19422:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:19422:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:5410:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5410:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:13727:15: warning: self-comparison always evaluates to true [-Wtautological-compare] && (SImode == SImode || TARGET_64BIT || MEM_P (operands[0]))) ^ ../../src/gcc/config/i386/sse.md:13727:15: warning: self-comparison always evaluates to true [-Wtautological-compare] && (SImode == SImode || TARGET_64BIT || MEM_P (operands[0]))) ^ ../../src/gcc/config/i386/sse.md:2589:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:2589:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:19423:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:19423:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:9336:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) && ^ ../../src/gcc/config/i386/i386.md:9336:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) && ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1854:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1854:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3999:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3999:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:15658:18: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:15658:18: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/sse.md:2590:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:2590:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/i386.md:8004:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || (DImode == DImode ^ ../../src/gcc/config/i386/i386.md:8004:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || (DImode == DImode ^ ../../src/gcc/config/i386/i386.md:8004:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || (DImode == DImode ^ ../../src/gcc/config/i386/i386.md:8004:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || (DImode == DImode ^ ../../src/gcc/config/i386/i386.md:15659:20: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15659:20: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/sse.md:1601:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1601:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:2589:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:2589:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1592:60: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1592:60: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5187:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5187:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4522:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:4522:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1592:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1592:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:4432:27: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && (V4SFmode == V4SFmode || TARGET_AVX2)) ^ ../../src/gcc/config/i386/sse.md:4432:27: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && (V4SFmode == V4SFmode || TARGET_AVX2)) ^ ../../src/gcc/config/i386/i386.md:15659:20: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15659:20: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/sse.md:1600:115: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MULT, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1600:115: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MULT, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3845:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3845:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/i386.md:9367:31: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) ^ ../../src/gcc/config/i386/i386.md:9367:31: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) ^ ../../src/gcc/config/i386/sse.md:2591:29: warning: self-comparison always evaluates to true [-Wtautological-compare] || V16SImode == V16SImode)))) ^ ../../src/gcc/config/i386/sse.md:2591:29: warning: self-comparison always evaluates to true [-Wtautological-compare] || V16SImode == V16SImode)))) ^ ../../src/gcc/config/i386/sse.md:1879:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1879:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/i386.md:9325:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) ^ ../../src/gcc/config/i386/i386.md:9325:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) ^ ../../src/gcc/config/i386/sse.md:4410:61: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:4410:61: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/i386.md:15658:18: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:15658:18: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/sse.md:2591:29: warning: self-comparison always evaluates to true [-Wtautological-compare] || V16SImode == V16SImode))) ^ ../../src/gcc/config/i386/sse.md:2591:29: warning: self-comparison always evaluates to true [-Wtautological-compare] || V16SImode == V16SImode))) ^ ../../src/gcc/config/i386/i386.md:17736:16: warning: self-comparison always evaluates to true [-Wtautological-compare] && ((HImode == HImode ^ ../../src/gcc/config/i386/i386.md:17736:16: warning: self-comparison always evaluates to true [-Wtautological-compare] && ((HImode == HImode ^ ../../src/gcc/config/i386/sse.md:1593:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1593:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4410:33: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:4410:33: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/mmx.md:683:42: warning: self-comparison always evaluates to true [-Wtautological-compare] ((TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/mmx.md:683:42: warning: self-comparison always evaluates to true [-Wtautological-compare] ((TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/sse.md:1879:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1879:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/i386.md:4881:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4881:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ 196 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gencondmd \ build/gencondmd.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/gencondmd > tmp-cond.md /bin/sh ../../src/gcc/../move-if-change tmp-cond.md insn-conditions.md echo timestamp > s-condmd build/genflags ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-flags.h /bin/sh ../../src/gcc/../move-if-change tmp-flags.h insn-flags.h echo timestamp > s-flags if test no = yes \ || test -n ""; then \ /bin/sh ../../src/gcc/genmultilib \ "m32" \ "i386" \ "" \ "" \ "" \ "" \ "" \ "" \ "" \ "" \ "no" \ > tmp-mlib.h; \ else \ /bin/sh ../../src/gcc/genmultilib '' '' '' '' '' '' '' '' \ "" '' no \ > tmp-mlib.h; \ fi /bin/sh ../../src/gcc/../move-if-change tmp-mlib.h multilib.h echo timestamp > s-mlib g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genattr.o ../../src/gcc/genattr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genattr.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genattr.c:26: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genattr.c:26: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genattr.c:26: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genattr.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genattr \ build/genattr.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genattr ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-attr.h /bin/sh ../../src/gcc/../move-if-change tmp-attr.h insn-attr.h echo timestamp > s-attr g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genattr-common.o ../../src/gcc/genattr-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genattr-common.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genattr-common.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genattr-common.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genattr-common.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genattr-common.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genattr-common \ build/genattr-common.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genattr-common ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-attr-common.h /bin/sh ../../src/gcc/../move-if-change tmp-attr-common.h insn-attr-common.h echo timestamp > s-attr-common g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gencodes.o ../../src/gcc/gencodes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gencodes.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gencodes.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gencodes.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gencodes.c:27: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gencodes.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gencodes \ build/gencodes.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/gencodes ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-codes.h /bin/sh ../../src/gcc/../move-if-change tmp-codes.h insn-codes.h echo timestamp > s-codes g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genconfig.o ../../src/gcc/genconfig.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genconfig.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genconfig.c:26: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genconfig.c:26: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genconfig.c:26: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genconfig.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genconfig \ build/genconfig.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genconfig ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-config.h /bin/sh ../../src/gcc/../move-if-change tmp-config.h insn-config.h echo timestamp > s-config g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gentarget-def.o ../../src/gcc/gentarget-def.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gentarget-def.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gentarget-def.c:24: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gentarget-def.c:24: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gentarget-def.c:24: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gentarget-def.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gentarget-def \ build/gentarget-def.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/gentarget-def ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-target-def.h /bin/sh ../../src/gcc/../move-if-change tmp-target-def.h insn-target-def.h echo timestamp > s-target-def lsf="../../src/gcc/cp/lang-specs.h ../../src/gcc/lto/lang-specs.h"; for f in $lsf; do \ echo "#include \"$f\""; \ done | sed 's|../../src/gcc/||' > tmp-specs.h /bin/sh ../../src/gcc/../move-if-change tmp-specs.h specs.h echo timestamp > s-specs rm -f tmp-all-tree.def echo '#include "tree.def"' > tmp-all-tree.def echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def echo '#include "c-family/c-common.def"' >> tmp-all-tree.def ltf="../../src/gcc/ada/gcc-interface/ada-tree.def ../../src/gcc/cp/cp-tree.def ../../src/gcc/objc/objc-tree.def"; for f in $ltf; do \ echo "#include \"$f\""; \ done | sed 's|../../src/gcc/||' >> tmp-all-tree.def /bin/sh ../../src/gcc/../move-if-change tmp-all-tree.def all-tree.def echo timestamp > s-alltree g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gencheck.o ../../src/gcc/gencheck.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gencheck.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ 1 warning generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gencheck \ build/gencheck.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/gencheck > tmp-check.h /bin/sh ../../src/gcc/../move-if-change tmp-check.h tree-check.h echo timestamp > s-check g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gcov-iov.o ../../src/gcc/gcov-iov.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib \ build/gcov-iov.o -o build/gcov-iov build/gcov-iov '7.2.0' '' \ > tmp-gcov-iov.h /bin/sh ../../src/gcc/../move-if-change tmp-gcov-iov.h gcov-iov.h echo timestamp > s-iov g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genhooks.o ../../src/gcc/genhooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:34: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:35: ../../src/gcc/c-family/c-target.def:116:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/genhooks.c:36: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 17 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genhooks \ build/genhooks.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genhooks "Target Hook" \ > tmp-target-hooks-def.h /bin/sh ../../src/gcc/../move-if-change tmp-target-hooks-def.h \ target-hooks-def.h echo timestamp > s-target-hooks-def-h g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genopinit.o ../../src/gcc/genopinit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genopinit.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genopinit.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genopinit.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genopinit.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genopinit.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genopinit \ build/genopinit.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genopinit ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md -htmp-opinit.h -ctmp-opinit.c /bin/sh ../../src/gcc/../move-if-change tmp-opinit.h insn-opinit.h /bin/sh ../../src/gcc/../move-if-change tmp-opinit.c insn-opinit.c echo timestamp > s-opinit build/genhooks "Common Target Hook" \ > tmp-common-target-hooks-def.h /bin/sh ../../src/gcc/../move-if-change tmp-common-target-hooks-def.h \ common/common-target-hooks-def.h echo timestamp > s-common-target-hooks-def-h awk -f ../../src/gcc/gen-pass-instances.awk \ ../../src/gcc/passes.def ../../src/gcc/config/i386/i386-passes.def > pass-instances.def build/genhooks "C Target Hook" \ > tmp-c-target-hooks-def.h /bin/sh ../../src/gcc/../move-if-change tmp-c-target-hooks-def.h \ c-family/c-target-hooks-def.h echo timestamp > s-c-target-hooks-def-h gcc -E ../../src/gcc/params-list.h | sed 's/^#.*//;/^$/d' > tmp-params.list /bin/sh ../../src/gcc/../move-if-change tmp-params.list params.list echo timestamp > s-params.list gcc -E ../../src/gcc/params-options.h | sed 's/^#.*//;/^$/d' > tmp-params.options /bin/sh ../../src/gcc/../move-if-change tmp-params.options params.options echo timestamp > s-params.options g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/gencfn-macros.o ../../src/gcc/gencfn-macros.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gencfn-macros.c:67: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gencfn-macros.c:68: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gencfn-macros.c:68: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gencfn-macros.c:68: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/gencfn-macros \ build/gencfn-macros.o build/errors.o build/hash-table.o build/ggc-none.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/gencfn-macros -c \ > tmp-case-cfn-macros.h /bin/sh ../../src/gcc/../move-if-change tmp-case-cfn-macros.h \ case-cfn-macros.h echo timestamp > s-case-cfn-macros build/gencfn-macros -o \ > tmp-cfn-operators.pd /bin/sh ../../src/gcc/../move-if-change tmp-cfn-operators.pd \ cfn-operators.pd echo timestamp > s-cfn-operators g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-lang.o -MT c/c-lang.o -MMD -MP -MF c/.deps/c-lang.TPo ../../src/gcc/c/c-lang.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-lang.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-lang.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-lang.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-lang.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/stub-objc.o -MT c-family/stub-objc.o -MMD -MP -MF c-family/.deps/stub-objc.TPo ../../src/gcc/c-family/stub-objc.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/stub-objc.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/stub-objc.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/stub-objc.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/stub-objc.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o attribs.o -MT attribs.o -MMD -MP -MF ./.deps/attribs.TPo ../../src/gcc/attribs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/attribs.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/attribs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/attribs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/attribs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-errors.o -MT c/c-errors.o -MMD -MP -MF c/.deps/c-errors.TPo ../../src/gcc/c/c-errors.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-errors.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-errors.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-errors.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-errors.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-decl.o -MT c/c-decl.o -MMD -MP -MF c/.deps/c-decl.TPo ../../src/gcc/c/c-decl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-decl.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-decl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-decl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-decl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-decl.c:35: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c/c-decl.c:35: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c/c-decl.c:35: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/c/c-decl.c:2641:4: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = olddecl->decl_with_vis.symtab_node; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/c/c-decl.c:2641:4: note: did you mean class here? struct symtab_node *snode = olddecl->decl_with_vis.symtab_node; ^~~~~~ class ../../src/gcc/c/c-decl.c:2726:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (newdecl); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/c/c-decl.c:2726:7: note: did you mean class here? struct symtab_node *snode = symtab_node::get (newdecl); ^~~~~~ class 29 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-typeck.o -MT c/c-typeck.o -MMD -MP -MF c/.deps/c-typeck.TPo ../../src/gcc/c/c-typeck.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-typeck.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-typeck.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-typeck.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-typeck.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-convert.o -MT c/c-convert.o -MMD -MP -MF c/.deps/c-convert.TPo ../../src/gcc/c/c-convert.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-convert.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-convert.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-convert.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-convert.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-convert.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-aux-info.o -MT c/c-aux-info.o -MMD -MP -MF c/.deps/c-aux-info.TPo ../../src/gcc/c/c-aux-info.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-aux-info.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-aux-info.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-aux-info.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-aux-info.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-objc-common.o -MT c/c-objc-common.o -MMD -MP -MF c/.deps/c-objc-common.TPo ../../src/gcc/c/c-objc-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-objc-common.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-objc-common.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-objc-common.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-objc-common.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-parser.o -MT c/c-parser.o -MMD -MP -MF c/.deps/c-parser.TPo ../../src/gcc/c/c-parser.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-parser.c:40: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-parser.c:40: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-parser.c:40: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-parser.c:40: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-parser.c:46: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c/c-parser.c:46: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c/c-parser.c:46: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-array-notation.o -MT c/c-array-notation.o -MMD -MP -MF c/.deps/c-array-notation.TPo ../../src/gcc/c/c-array-notation.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-array-notation.c:70: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-array-notation.c:70: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-array-notation.c:70: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-array-notation.c:70: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/c-fold.o -MT c/c-fold.o -MMD -MP -MF c/.deps/c-fold.TPo ../../src/gcc/c/c-fold.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/c-fold.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/c-fold.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-fold.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/c-fold.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/c-fold.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/gimple-parser.o -MT c/gimple-parser.o -MMD -MP -MF c/.deps/gimple-parser.TPo ../../src/gcc/c/gimple-parser.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/gimple-parser.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/gimple-parser.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/gimple-parser.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/gimple-parser.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c/gimple-parser.c:28: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c/gimple-parser.c:28: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c/gimple-parser.c:28: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/c/gimple-parser.c:49: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-common.o -MT c-family/c-common.o -MMD -MP -MF c-family/.deps/c-common.TPo ../../src/gcc/c-family/c-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-common.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-common.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-common.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-common.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c-family/c-common.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c-family/c-common.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/c-family/c-common.c:42: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-common.c:8105: ./gt-c-family-c-common.h:169:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-c-family-c-common.h:169:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-c-family-c-common.h:169:60: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-c-family-c-common.h:169:60: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 30 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-cppbuiltin.o -MT c-family/c-cppbuiltin.o -MMD -MP -MF c-family/.deps/c-cppbuiltin.TPo ../../src/gcc/c-family/c-cppbuiltin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-cppbuiltin.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:31: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/c-family/c-cppbuiltin.c:33: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 21 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-dump.o -MT c-family/c-dump.o -MMD -MP -MF c-family/.deps/c-dump.TPo ../../src/gcc/c-family/c-dump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-dump.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-format.o -MT c-family/c-format.o -MMD -MP -MF c-family/.deps/c-format.TPo ../../src/gcc/c-family/c-format.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-format.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-format.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-format.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-format.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-format.c:24: In file included from ../../src/gcc/c-family/c-target.h:30: ../../src/gcc/c-family/c-target.def:116:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-format.c:26: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/c-family/c-format.c:26: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/c-family/c-format.c:26: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/c-family/c-format.c:26: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/c-family/c-format.c:2656:35: note: in instantiation of member function 'object_allocator::allocate' requested here wanted_type_ptr = fwt_pool.allocate (); ^ In file included from ../../src/gcc/c-family/c-format.c:26: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/c-family/c-format.c:2656:35: note: in instantiation of member function 'object_allocator::allocate' requested here wanted_type_ptr = fwt_pool.allocate (); ^ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-gimplify.o -MT c-family/c-gimplify.o -MMD -MP -MF c-family/.deps/c-gimplify.TPo ../../src/gcc/c-family/c-gimplify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-gimplify.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-gimplify.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-gimplify.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-gimplify.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-gimplify.c:33: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/c-family/c-gimplify.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c-family/c-gimplify.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c-family/c-gimplify.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-indentation.o -MT c-family/c-indentation.o -MMD -MP -MF c-family/.deps/c-indentation.TPo ../../src/gcc/c-family/c-indentation.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-indentation.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-indentation.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-indentation.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-indentation.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-lex.o -MT c-family/c-lex.o -MMD -MP -MF c-family/.deps/c-lex.TPo ../../src/gcc/c-family/c-lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-lex.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-lex.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-lex.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-lex.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-lex.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-omp.o -MT c-family/c-omp.o -MMD -MP -MF c-family/.deps/c-omp.TPo ../../src/gcc/c-family/c-omp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-omp.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-omp.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-omp.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-omp.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-opts.o -MT c-family/c-opts.o -MMD -MP -MF c-family/.deps/c-opts.TPo ../../src/gcc/c-family/c-opts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-opts.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-opts.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-opts.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-opts.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-opts.c:25: In file included from ../../src/gcc/c-family/c-target.h:30: ../../src/gcc/c-family/c-target.def:116:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -DHOST_MACHINE=\"x86_64-apple-darwin16.7.0\" -DTARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-pch.o -MT c-family/c-pch.o -MMD -MP -MF c-family/.deps/c-pch.TPo ../../src/gcc/c-family/c-pch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-pch.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-pch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-pch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-pch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pch.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-ppoutput.o -MT c-family/c-ppoutput.o -MMD -MP -MF c-family/.deps/c-ppoutput.TPo ../../src/gcc/c-family/c-ppoutput.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-ppoutput.c:21: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-ppoutput.c:21: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-ppoutput.c:21: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-ppoutput.c:21: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-pragma.o -MT c-family/c-pragma.o -MMD -MP -MF c-family/.deps/c-pragma.TPo ../../src/gcc/c-family/c-pragma.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-pragma.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-pragma.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-pragma.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-pragma.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-pragma.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c-family/c-pragma.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c-family/c-pragma.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-pretty-print.o -MT c-family/c-pretty-print.o -MMD -MP -MF c-family/.deps/c-pretty-print.TPo ../../src/gcc/c-family/c-pretty-print.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-pretty-print.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-semantics.o -MT c-family/c-semantics.o -MMD -MP -MF c-family/.deps/c-semantics.TPo ../../src/gcc/c-family/c-semantics.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-semantics.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-semantics.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-semantics.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-semantics.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/c-family/c-semantics.c:101:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start (p, code); ^ ../../src/gcc/c-family/c-semantics.c:91:44: note: parameter of type 'enum tree_code' is declared here build_stmt (location_t loc, enum tree_code code, ...) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-ada-spec.o -MT c-family/c-ada-spec.o -MMD -MP -MF c-family/.deps/c-ada-spec.TPo ../../src/gcc/c-family/c-ada-spec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-ada-spec.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-ada-spec.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-ada-spec.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-ada-spec.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-cilkplus.o -MT c-family/c-cilkplus.o -MMD -MP -MF c-family/.deps/c-cilkplus.TPo ../../src/gcc/c-family/c-cilkplus.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-cilkplus.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-cilkplus.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-cilkplus.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-cilkplus.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/array-notation-common.o -MT c-family/array-notation-common.o -MMD -MP -MF c-family/.deps/array-notation-common.TPo ../../src/gcc/c-family/array-notation-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/array-notation-common.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/array-notation-common.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/array-notation-common.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/array-notation-common.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/cilk.o -MT c-family/cilk.o -MMD -MP -MF c-family/.deps/cilk.TPo ../../src/gcc/c-family/cilk.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/cilk.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/cilk.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/cilk.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/cilk.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/cilk.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c-family/cilk.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c-family/cilk.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 12 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-ubsan.o -MT c-family/c-ubsan.o -MMD -MP -MF c-family/.deps/c-ubsan.TPo ../../src/gcc/c-family/c-ubsan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-ubsan.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-attribs.o -MT c-family/c-attribs.o -MMD -MP -MF c-family/.deps/c-attribs.TPo ../../src/gcc/c-family/c-attribs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-attribs.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-attribs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-attribs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-attribs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-attribs.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/c-family/c-attribs.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/c-family/c-attribs.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/c-family/c-attribs.c:40: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/c-family/c-attribs.c:1779:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *n = symtab_node::get (decl); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/c-family/c-attribs.c:1779:7: note: did you mean class here? struct symtab_node *n = symtab_node::get (decl); ^~~~~~ class ../../src/gcc/c-family/c-attribs.c:1868:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *n = symtab_node::get (*node); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/c-family/c-attribs.c:1868:7: note: did you mean class here? struct symtab_node *n = symtab_node::get (*node); ^~~~~~ class 30 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/c-warn.o -MT c-family/c-warn.o -MMD -MP -MF c-family/.deps/c-warn.TPo ../../src/gcc/c-family/c-warn.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/c-warn.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/c-warn.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-warn.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/c-warn.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/c-family/c-warn.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o i386-c.o -MT i386-c.o -MMD -MP -MF ./.deps/i386-c.TPo ../../src/gcc/config/i386/i386-c.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/i386/i386-c.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/i386/i386-c.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/i386-c.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/i386-c.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386-c.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o darwin-c.o -MT darwin-c.o -MMD -MP -MF ./.deps/darwin-c.TPo -DGCC_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/include\" -DFIXED_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/include-fixed\" -DGPLUSPLUS_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0\" -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=0 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0/x86_64-apple-darwin16.7.0\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0/backward\" -DLOCAL_INCLUDE_DIR=\"/Users/matt/sage/local/include\" -DCROSS_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/sys-include\" -DTOOL_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/include\" -DNATIVE_SYSTEM_HEADER_DIR=\"/usr/include\" -DPREFIX=\"/Users/matt/sage/local/\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" ../../src/gcc/config/darwin-c.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/darwin-c.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/darwin-c.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/darwin-c.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/darwin-c.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:25: In file included from ../../src/gcc/c-family/c-target.h:30: ../../src/gcc/c-family/c-target.def:116:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin-c.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/config/darwin-c.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/config/darwin-c.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 28 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genchecksum.o ../../src/gcc/genchecksum.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genchecksum \ build/genchecksum.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a echo "g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib " > checksum-options.tmp \ && ../../src/gcc/../move-if-change checksum-options.tmp checksum-options g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genmatch.o ../../src/gcc/genmatch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genmatch.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genmatch.c:29: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genmatch.c:29: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genmatch.c:29: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genmatch.c:29: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:564:8: note: in instantiation of function template specialization 'va_heap::reserve' requested here A::reserve (v, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:585:3: note: in instantiation of function template specialization 'vec_safe_reserve' requested here vec_safe_reserve (v, nelems, false PASS_MEM_STAT); ^ ../../src/gcc/vec.h:822:7: note: in instantiation of function template specialization 'vec_alloc' requested here vec_alloc (new_vec, len PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1411:28: note: in instantiation of member function 'vec::copy' requested here new_vec.m_vec = m_vec->copy (); ^ ../../src/gcc/genmatch.c:1324:41: note: in instantiation of member function 'vec::copy' requested here vec ids = ce->ids.copy (); ^ In file included from ../../src/gcc/genmatch.c:29: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/genmatch.c:1433:51: note: in instantiation of member function 'auto_vec, 0>::auto_vec' requested here auto_vec > subst (n_ids); ^ 6 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genmatch \ build/genmatch.o ../build-x86_64-apple-darwin16.7.0/libcpp/libcpp.a build/errors.o build/vec.o build/hash-table.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genmatch --gimple ../../src/gcc/match.pd \ > tmp-gimple-match.c GIMPLE decision tree has 1882 leafs, maximum depth 12 and a total number of 7473 nodes removed 1098 duplicate tails build/genmatch --generic ../../src/gcc/match.pd \ > tmp-generic-match.c GENERIC decision tree has 1840 leafs, maximum depth 12 and a total number of 7247 nodes removed 1059 duplicate tails /bin/sh ../../src/gcc/../move-if-change tmp-gimple-match.c \ gimple-match.c /bin/sh ../../src/gcc/../move-if-change tmp-generic-match.c \ generic-match.c echo timestamp > s-match g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-unused -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-match.o -MT gimple-match.o -MMD -MP -MF ./.deps/gimple-match.TPo gimple-match.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from gimple-match.c:4: In file included from ../../src/gcc/gimple-match-head.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct gimple-match.c:42749:21: warning: self-comparison always evaluates to false [-Wtautological-compare] if (COMPLEX_CST != COMPLEX_CST) ^ 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-unused -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o generic-match.o -MT generic-match.o -MMD -MP -MF ./.deps/generic-match.TPo generic-match.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from generic-match.c:4: In file included from ../../src/gcc/generic-match-head.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct generic-match.c:21621:21: warning: self-comparison always evaluates to false [-Wtautological-compare] if (COMPLEX_CST != COMPLEX_CST) ^ 51 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genattrtab.o ../../src/gcc/genattrtab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genattrtab.c:107: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genattrtab.c:109: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genattrtab.c:109: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genattrtab.c:109: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genattrtab.c:109: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct ../../src/gcc/genattrtab.c:584:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start (p, code); ^ ../../src/gcc/genattrtab.c:579:25: note: parameter of type 'enum rtx_code' is declared here attr_rtx (enum rtx_code code, ...) ^ 6 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genattrtab \ build/genattrtab.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genattrtab ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md insn-conditions.md \ -Atmp-attrtab.c -Dtmp-dfatab.c -Ltmp-latencytab.c /bin/sh ../../src/gcc/../move-if-change tmp-attrtab.c insn-attrtab.c /bin/sh ../../src/gcc/../move-if-change tmp-dfatab.c insn-dfatab.c /bin/sh ../../src/gcc/../move-if-change tmp-latencytab.c insn-latencytab.c echo timestamp > s-attrtab g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-attrtab.o -MT insn-attrtab.o -MMD -MP -MF ./.deps/insn-attrtab.TPo insn-attrtab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-attrtab.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-attrtab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-attrtab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-attrtab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-attrtab.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-attrtab.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-attrtab.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-attrtab.c:23: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:7114:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (HImode == HImode)) || (memory_operand (operands[1], VOIDmode)))) ^ ../../src/gcc/config/i386/i386.md:7114:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (HImode == HImode)) || (memory_operand (operands[1], VOIDmode))) ^ ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:7114:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (HImode == HImode)) || (memory_operand (operands[1], VOIDmode)))) ^ ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/i386.md:423:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] (ix86_schedule)) == ( ~~~~~~~~~~~~~~~~~^~~~ ../../src/gcc/config/i386/i386.md:423:18: note: remove extraneous parentheses around the comparison to silence this warning (ix86_schedule)) == ( ^ ../../src/gcc/config/i386/i386.md:423:18: note: use '=' to turn this equality comparison into an assignment (ix86_schedule)) == ( ^~ = ../../src/gcc/config/i386/sse.md:15492:8: warning: self-comparison always evaluates to true [-Wtautological-compare] (OImode==OImode)) ^ ../../src/gcc/config/i386/i386.md:7114:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (HImode == HImode)) ^ ../../src/gcc/config/i386/sse.md:17598:19: warning: self-comparison always evaluates to false [-Wtautological-compare] && (DImode != DImode || TARGET_64BIT)); ^ ../../src/gcc/config/i386/i386.md:607:22: warning: self-comparison always evaluates to true [-Wtautological-compare] if ((V8HImode) == (V8HImode)) ^ ../../src/gcc/config/i386/i386.md:606:61: warning: self-comparison always evaluates to true [-Wtautological-compare] if ((((1 << which_alternative) & 0x5)) && ((V8HImode) == (V8HImode))) ^ ../../src/gcc/config/i386/i386.md:681:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX))) && ((V8HImode) == (V8HImode))) ^ ../../src/gcc/config/i386/mmx.md:188:11: warning: self-comparison always evaluates to true [-Wtautological-compare] (V2SFmode == V2SFmode)) ^ ../../src/gcc/config/i386/mmx.md:188:11: warning: self-comparison always evaluates to true [-Wtautological-compare] (V2SFmode == V2SFmode)) || (! ( ^ ../../src/gcc/config/i386/sse.md:1404:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (QImode == QImode)) && (! ( ^ ../../src/gcc/config/i386/i386.md:4621:22: warning: self-comparison always evaluates to true [-Wtautological-compare] if ((V8HImode) == (V8HImode)) ^ ../../src/gcc/config/i386/i386.md:4643:61: warning: self-comparison always evaluates to true [-Wtautological-compare] if ((((1 << which_alternative) & 0x5)) && ((V8HImode) == (V8HImode))) ^ ../../src/gcc/config/i386/i386.md:681:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX))) && ((V8HImode) == (V8HImode))) ^ ../../src/gcc/config/i386/i386.md:681:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX))) && ((V2DImode) == (V2DImode))) ^ ../../src/gcc/config/i386/sse.md:1404:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (QImode == QImode))) || ( ^ ../../src/gcc/config/i386/i386.md:16865:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (DImode == DImode)) ^ ../../src/gcc/config/i386/i386.md:16865:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (DImode == DImode))) ^ ../../src/gcc/config/i386/i386.md:16865:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (DImode == DImode)) ^ ../../src/gcc/config/i386/sse.md:1404:9: warning: self-comparison always evaluates to true [-Wtautological-compare] (QImode == QImode)) && (! ( ^ 60 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genautomata.o ../../src/gcc/genautomata.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genautomata.c:109: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genautomata.c:111: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genautomata.c:111: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genautomata.c:111: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genautomata.c:111: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genautomata \ build/genautomata.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a -lm build/genautomata ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-automata.c /bin/sh ../../src/gcc/../move-if-change tmp-automata.c insn-automata.c echo timestamp > s-automata g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-automata.o -MT insn-automata.o -MMD -MP -MF ./.deps/insn-automata.TPo insn-automata.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-automata.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-automata.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-automata.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-automata.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-automata.c:13: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-automata.c:13: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-automata.c:13: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-automata.c:19: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 8 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-dfatab.o -MT insn-dfatab.o -MMD -MP -MF ./.deps/insn-dfatab.TPo insn-dfatab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-dfatab.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-dfatab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-dfatab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-dfatab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-dfatab.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-dfatab.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-dfatab.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-dfatab.c:23: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 8 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genemit.o ../../src/gcc/genemit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genemit.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genemit.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genemit.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genemit.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genemit.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genemit \ build/genemit.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genemit ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-emit.c /bin/sh ../../src/gcc/../move-if-change tmp-emit.c insn-emit.c echo timestamp > s-emit g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-emit.o -MT insn-emit.o -MMD -MP -MF ./.deps/insn-emit.TPo insn-emit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-emit.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-emit.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-emit.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-emit.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-emit.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-emit.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-emit.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-emit.c:28: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from insn-emit.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-emit.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-emit.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-emit.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/config/i386/i386.md:5157:18: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SFmode == SFmode) ^ ../../src/gcc/config/i386/i386.md:5157:18: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SFmode == SFmode) ^ ../../src/gcc/config/i386/i386.md:5159:23: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (DFmode == DFmode) ^ ../../src/gcc/config/i386/i386.md:5159:23: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (DFmode == DFmode) ^ ../../src/gcc/config/i386/i386.md:5236:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V4SFmode == V4SFmode) ^ ../../src/gcc/config/i386/i386.md:5828:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (SImode != SImode) ^ ../../src/gcc/config/i386/i386.md:5828:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (DImode != DImode) ^ ../../src/gcc/config/i386/i386.md:7483:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SFmode == SFmode ^ ../../src/gcc/config/i386/i386.md:7583:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (HImode != HImode ^ ../../src/gcc/config/i386/i386.md:8137:19: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (HImode == HImode) ^ ../../src/gcc/config/i386/i386.md:8133:19: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (SImode == SImode) ^ ../../src/gcc/config/i386/i386.md:8127:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (DImode == DImode) ^ ../../src/gcc/config/i386/i386.md:8307:18: warning: self-comparison always evaluates to false [-Wtautological-compare] if (SImode != SImode) ^ ../../src/gcc/config/i386/i386.md:8299:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (DImode == DImode) ^ ../../src/gcc/config/i386/i386.md:8687:15: warning: self-comparison always evaluates to true [-Wtautological-compare] if (IOR == IOR) ^ ../../src/gcc/config/i386/i386.md:8701:15: warning: self-comparison always evaluates to true [-Wtautological-compare] if (IOR == IOR) ^ ../../src/gcc/config/i386/i386.md:9944:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (SImode != SImode) ^ ../../src/gcc/config/i386/i386.md:9944:14: warning: self-comparison always evaluates to false [-Wtautological-compare] if (DImode != DImode) ^ ../../src/gcc/config/i386/i386.md:12599:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SImode == SImode && !TARGET_CMOVE) ^ ../../src/gcc/config/i386/i386.md:14322:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SFmode == SFmode ^ ../../src/gcc/config/i386/i386.md:15506:40: warning: self-comparison always evaluates to false [-Wtautological-compare] else if (TARGET_64BIT || (DFmode != DFmode)) ^ ../../src/gcc/config/i386/i386.md:15666:17: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:15666:17: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:15666:17: warning: self-comparison always evaluates to false [-Wtautological-compare] && HImode != HImode ^ ../../src/gcc/config/i386/i386.md:15667:19: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15667:19: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15667:19: warning: self-comparison always evaluates to false [-Wtautological-compare] && ((DImode != DImode) || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:15772:40: warning: self-comparison always evaluates to false [-Wtautological-compare] else if (TARGET_64BIT || (DFmode != DFmode)) ^ ../../src/gcc/config/i386/i386.md:15772:40: warning: self-comparison always evaluates to false [-Wtautological-compare] else if (TARGET_64BIT || (DFmode != DFmode)) ^ ../../src/gcc/config/i386/i386.md:15772:40: warning: self-comparison always evaluates to false [-Wtautological-compare] else if (TARGET_64BIT || (DFmode != DFmode)) ^ ../../src/gcc/config/i386/sse.md:4434:17: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V16SFmode == V16SFmode) ^ ../../src/gcc/config/i386/sse.md:4439:15: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V4SFmode == V4SFmode) ^ ../../src/gcc/config/i386/sse.md:4583:17: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V16SFmode == V16SFmode) ^ ../../src/gcc/config/i386/sse.md:5991:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V8DFmode == V8DFmode) ^ ../../src/gcc/config/i386/sse.md:6009:20: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V4SImode == V4SImode || TARGET_AVX2) ^ ../../src/gcc/config/i386/sse.md:7144:43: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V16SFmode == V16SImode || V16SFmode == V16SFmode) ^ ../../src/gcc/config/i386/sse.md:7144:17: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V16SImode == V16SImode || V16SImode == V16SFmode) ^ ../../src/gcc/config/i386/sse.md:10903:20: warning: self-comparison always evaluates to true [-Wtautological-compare] && (V8DImode == V8DImode || TARGET_AVX512VL)) ^ ../../src/gcc/config/i386/sse.md:10914:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SMAX == SMAX || SMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:10903:20: warning: self-comparison always evaluates to true [-Wtautological-compare] && (V8DImode == V8DImode || TARGET_AVX512VL)) ^ ../../src/gcc/config/i386/sse.md:10903:20: warning: self-comparison always evaluates to true [-Wtautological-compare] && (V8DImode == V8DImode || TARGET_AVX512VL)) ^ ../../src/gcc/config/i386/sse.md:10914:32: warning: self-comparison always evaluates to true [-Wtautological-compare] if (UMAX == SMAX || UMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:10925:20: warning: self-comparison always evaluates to true [-Wtautological-compare] code = (UMAX == UMAX || UMAX == UMIN) ? GTU : GT; ^ ../../src/gcc/config/i386/sse.md:10903:20: warning: self-comparison always evaluates to true [-Wtautological-compare] && (V8DImode == V8DImode || TARGET_AVX512VL)) ^ ../../src/gcc/config/i386/sse.md:10925:36: warning: self-comparison always evaluates to true [-Wtautological-compare] code = (UMIN == UMAX || UMIN == UMIN) ? GTU : GT; ^ ../../src/gcc/config/i386/sse.md:10914:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SMAX == SMAX || SMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:10914:32: warning: self-comparison always evaluates to true [-Wtautological-compare] if (UMAX == SMAX || UMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:10925:20: warning: self-comparison always evaluates to true [-Wtautological-compare] code = (UMAX == UMAX || UMAX == UMIN) ? GTU : GT; ^ ../../src/gcc/config/i386/sse.md:10925:36: warning: self-comparison always evaluates to true [-Wtautological-compare] code = (UMIN == UMAX || UMIN == UMIN) ? GTU : GT; ^ ../../src/gcc/config/i386/sse.md:10914:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SMAX == SMAX || SMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:10914:32: warning: self-comparison always evaluates to true [-Wtautological-compare] if (UMAX == SMAX || UMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:10925:20: warning: self-comparison always evaluates to true [-Wtautological-compare] code = (UMAX == UMAX || UMAX == UMIN) ? GTU : GT; ^ ../../src/gcc/config/i386/sse.md:10925:36: warning: self-comparison always evaluates to true [-Wtautological-compare] code = (UMIN == UMAX || UMIN == UMIN) ? GTU : GT; ^ ../../src/gcc/config/i386/sse.md:10955:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SMAX == SMAX) ^ ../../src/gcc/config/i386/sse.md:10944:33: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_SSE4_1 || V8HImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:10955:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SMAX == SMAX) ^ ../../src/gcc/config/i386/sse.md:10944:33: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_SSE4_1 || V8HImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:10955:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SMAX == SMAX) ^ ../../src/gcc/config/i386/sse.md:11018:34: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_SSE4_1 || V16QImode == V16QImode) ^ ../../src/gcc/config/i386/sse.md:11020:17: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (UMAX == UMAX && V16QImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:11040:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (UMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:11018:34: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_SSE4_1 || V16QImode == V16QImode) ^ ../../src/gcc/config/i386/sse.md:11020:17: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (UMAX == UMAX && V8HImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:11020:37: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (UMAX == UMAX && V8HImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:11040:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (UMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:11020:37: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (UMIN == UMAX && V8HImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:11020:17: warning: self-comparison always evaluates to true [-Wtautological-compare] else if (UMAX == UMAX && V4SImode == V8HImode) ^ ../../src/gcc/config/i386/sse.md:11040:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (UMAX == UMAX) ^ ../../src/gcc/config/i386/sse.md:13736:18: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SImode == SImode) ^ ../../src/gcc/config/i386/sse.md:13754:18: warning: self-comparison always evaluates to true [-Wtautological-compare] if (SImode == SImode) ^ ../../src/gcc/config/i386/sse.md:15573:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V2DFmode == V2DFmode ^ ../../src/gcc/config/i386/sse.md:15681:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V2DFmode == V2DFmode ^ ../../src/gcc/config/i386/sse.md:16952:18: warning: self-comparison always evaluates to false [-Wtautological-compare] if (ASHIFT != ASHIFT) ^ ../../src/gcc/config/i386/sse.md:16969:23: warning: self-comparison always evaluates to true [-Wtautological-compare] gen = (LSHIFTRT == LSHIFTRT ? gen_xop_shlv16qi3 : gen_xop_shav16qi3); ^ ../../src/gcc/config/i386/sse.md:16952:18: warning: self-comparison always evaluates to false [-Wtautological-compare] if (ASHIFT != ASHIFT) ^ ../../src/gcc/config/i386/sse.md:16969:23: warning: self-comparison always evaluates to true [-Wtautological-compare] gen = (LSHIFTRT == LSHIFTRT ? gen_xop_shlv16qi3 : gen_xop_shav16qi3); ^ ../../src/gcc/config/i386/sse.md:16945:31: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_XOP && V16QImode == V16QImode) ^ ../../src/gcc/config/i386/sse.md:16952:18: warning: self-comparison always evaluates to false [-Wtautological-compare] if (ASHIFT != ASHIFT) ^ ../../src/gcc/config/i386/sse.md:16945:31: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_XOP && V16QImode == V16QImode) ^ ../../src/gcc/config/i386/sse.md:16969:23: warning: self-comparison always evaluates to true [-Wtautological-compare] gen = (LSHIFTRT == LSHIFTRT ? gen_xop_shlv16qi3 : gen_xop_shav16qi3); ^ ../../src/gcc/config/i386/sse.md:16945:31: warning: self-comparison always evaluates to true [-Wtautological-compare] if (TARGET_XOP && V16QImode == V16QImode) ^ ../../src/gcc/config/i386/sse.md:17906:20: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V4DFmode == V4DFmode) ^ ../../src/gcc/config/i386/sync.md:157:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (DImode == DImode && !TARGET_64BIT) ^ ../../src/gcc/config/i386/sync.md:254:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (DImode == DImode && !TARGET_64BIT) ^ ../../src/gcc/config/i386/sync.md:451:14: warning: self-comparison always evaluates to true [-Wtautological-compare] if (DImode == DImode && TARGET_64BIT) ^ 111 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genextract.o ../../src/gcc/genextract.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genextract.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genextract.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genextract.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genextract.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genextract.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genextract \ build/genextract.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genextract ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-extract.c /bin/sh ../../src/gcc/../move-if-change tmp-extract.c insn-extract.c echo timestamp > s-extract g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-extract.o -MT insn-extract.o -MMD -MP -MF ./.deps/insn-extract.TPo insn-extract.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-extract.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-extract.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-extract.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-extract.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-extract.c:8: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-extract.c:8: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-extract.c:8: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-latencytab.o -MT insn-latencytab.o -MMD -MP -MF ./.deps/insn-latencytab.TPo insn-latencytab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-latencytab.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-latencytab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-latencytab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-latencytab.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-latencytab.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-latencytab.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-latencytab.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-latencytab.c:23: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 8 warnings generated. build/genmodes > tmp-modes.c /bin/sh ../../src/gcc/../move-if-change tmp-modes.c insn-modes.c echo timestamp > s-modes g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-modes.o -MT insn-modes.o -MMD -MP -MF ./.deps/insn-modes.TPo insn-modes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-modes.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-modes.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-modes.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-modes.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct insn-modes.c:924:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* DI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:925:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* TI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:926:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* OI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:927:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* XI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:928:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* BND32 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:929:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* BND64 */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:933:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* DQ */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:934:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* TQ */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:938:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* UDQ */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:939:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* UTQ */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:942:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* DA */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:943:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* TA */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:946:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* UDA */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:947:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* UTA */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:949:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* DF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:950:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (80), /* XF */ ^~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:951:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* TF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:953:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* DD */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:954:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* TD */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:957:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* CSI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:958:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* CDI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:959:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* CTI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:960:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* COI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:961:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* CXI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:962:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* SC */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:963:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* DC */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:964:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (160), /* XC */ ^~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:965:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* TC */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:970:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* V8QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:971:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* V4HI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:972:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* V2SI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:973:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* V1DI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:974:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (12*BITS_PER_UNIT), /* V12QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:975:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (12*BITS_PER_UNIT), /* V6HI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:976:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (14*BITS_PER_UNIT), /* V14QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:977:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V16QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:978:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V8HI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:979:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V4SI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:980:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V2DI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:981:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V1TI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:982:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V32QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:983:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V16HI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:984:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V8SI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:985:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V4DI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:986:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V2TI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:987:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V64QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:988:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V32HI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:989:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V16SI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:990:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V8DI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:991:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V4TI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:992:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V128QI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:993:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V64HI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:994:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V32SI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:995:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V16DI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:996:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V8TI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:997:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (256*BITS_PER_UNIT), /* V64SI */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:998:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (8*BITS_PER_UNIT), /* V2SF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:999:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V4SF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1000:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (16*BITS_PER_UNIT), /* V2DF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1001:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V8SF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1002:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V4DF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1003:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (32*BITS_PER_UNIT), /* V2TF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1004:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V16SF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1005:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V8DF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1006:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (64*BITS_PER_UNIT), /* V4TF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1007:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V32SF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1008:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V16DF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1009:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (128*BITS_PER_UNIT), /* V8TF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1010:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (256*BITS_PER_UNIT), /* V64SF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1011:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (256*BITS_PER_UNIT), /* V32DF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ insn-modes.c:1012:3: warning: shift count >= width of type [-Wshift-count-overflow] MODE_MASK (256*BITS_PER_UNIT), /* V16TF */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ insn-modes.c:904:24: note: expanded from macro 'MODE_MASK' : (HOST_WIDE_INT_1U << (m)) - 1 ^ ~~~ 75 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-opinit.o -MT insn-opinit.o -MMD -MP -MF ./.deps/insn-opinit.TPo insn-opinit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-opinit.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-opinit.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-opinit.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-opinit.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-opinit.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-opinit.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-opinit.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genoutput.o ../../src/gcc/genoutput.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genoutput.c:88: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genoutput.c:90: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genoutput.c:90: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genoutput.c:90: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genoutput.c:90: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genoutput \ build/genoutput.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genoutput ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-output.c /bin/sh ../../src/gcc/../move-if-change tmp-output.c insn-output.c echo timestamp > s-output g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-output.o -MT insn-output.o -MMD -MP -MF ./.deps/insn-output.TPo insn-output.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-output.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-output.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-output.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-output.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-output.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-output.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-output.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-output.c:33: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from insn-output.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/config/i386/i386.md:1701:21: warning: self-comparison always evaluates to true [-Wtautological-compare] CCFPUmode == CCFPUmode); ^ ../../src/gcc/config/i386/i386.md:1701:21: warning: self-comparison always evaluates to true [-Wtautological-compare] CCFPUmode == CCFPUmode); ^ ../../src/gcc/config/i386/i386.md:1736:21: warning: self-comparison always evaluates to true [-Wtautological-compare] CCFPUmode == CCFPUmode); ^ ../../src/gcc/config/i386/sse.md:940:24: warning: self-comparison always evaluates to true [-Wtautological-compare] return (V16SImode == V16SImode ^ ../../src/gcc/config/i386/sse.md:941:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:3280:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3289:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3398:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3411:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3398:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3411:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3398:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:3411:20: warning: self-comparison always evaluates to true [-Wtautological-compare] suffix = DFmode == DFmode ? "q" : "d"; ^ ../../src/gcc/config/i386/sse.md:17526:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V2DFmode == V2DFmode) ^ ../../src/gcc/config/i386/sse.md:17526:16: warning: self-comparison always evaluates to true [-Wtautological-compare] if (V2DFmode == V2DFmode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DImode != V2DImode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DImode != V2DImode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DFmode != V2DFmode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DFmode != V2DFmode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DImode != V4DImode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DImode != V4DImode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DFmode != V4DFmode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DFmode != V4DFmode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SImode != V4SImode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SImode != V4SImode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SFmode != V4SFmode) ^ ../../src/gcc/config/i386/sse.md:19102:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SFmode != V4SFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V8DImode != V8DImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V8DImode != V8DImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V8DFmode != V8DFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V8DFmode != V8DFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DImode != V4DImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DImode != V4DImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DFmode != V4DFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4DFmode != V4DFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SImode != V4SImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SImode != V4SImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SFmode != V4SFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V4SFmode != V4SFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DImode != V2DImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DImode != V2DImode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DFmode != V2DFmode) ^ ../../src/gcc/config/i386/sse.md:19275:16: warning: self-comparison always evaluates to false [-Wtautological-compare] if (V2DFmode != V2DFmode) ^ 66 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genpeep.o ../../src/gcc/genpeep.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genpeep.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genpeep.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genpeep.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genpeep.c:25: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genpeep.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct 5 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genpeep \ build/genpeep.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genpeep ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-peep.c /bin/sh ../../src/gcc/../move-if-change tmp-peep.c insn-peep.c echo timestamp > s-peep g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-peep.o -MT insn-peep.o -MMD -MP -MF ./.deps/insn-peep.TPo insn-peep.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-peep.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-peep.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-peep.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-peep.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-peep.c:9: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-peep.c:9: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-peep.c:9: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-peep.c:18: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 8 warnings generated. build/genpreds ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md > tmp-preds.c /bin/sh ../../src/gcc/../move-if-change tmp-preds.c insn-preds.c echo timestamp > s-preds g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-preds.o -MT insn-preds.o -MMD -MP -MF ./.deps/insn-preds.TPo insn-preds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-preds.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-preds.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-preds.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-preds.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-preds.c:10: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-preds.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-preds.c:10: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-preds.c:19: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from insn-preds.c:21: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-preds.c:21: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-preds.c:21: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 11 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genrecog.o ../../src/gcc/genrecog.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genrecog.c:110: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:35: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/genrecog.c:112: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:34: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/genrecog.c:2670:18: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here pending_params.safe_push ^ In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:34: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/genrecog.c:3072:11: note: in instantiation of member function 'vec::safe_push' requested here states.safe_push (trans->to); ^ In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:34: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/genrecog.c:3407:14: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here candidates.safe_push (subroutine_candidate (trans, to_size)); ^ In file included from ../../src/gcc/genrecog.c:112: In file included from ../../src/gcc/rtl.h:34: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/genrecog.c:3859:12: note: in instantiation of member function 'vec::safe_push' requested here worklist.safe_push (pattern_pos (pattern, pos)); ^ 9 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/inchash.o ../../src/gcc/inchash.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/inchash.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ 1 warning generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genrecog \ build/genrecog.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/hash-table.o build/read-md.o build/errors.o build/inchash.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genrecog ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ insn-conditions.md > tmp-recog.c Statistics for recog: Number of decisions: 41127 longest path: 381 (code: 3875) longest backtrack: 27 (code: 4589) Statistics for split_insns: Number of decisions: 2571 longest path: 81 (code: 452) longest backtrack: 18 (code: 421) Statistics for peephole2_insns: Number of decisions: 1421 longest path: 194 (code: 79) longest backtrack: 17 (code: 158) Shared 30726 out of 61278 states by creating 7970 new states, saving 22756 /bin/sh ../../src/gcc/../move-if-change tmp-recog.c insn-recog.c echo timestamp > s-recog g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-recog.o -MT insn-recog.o -MMD -MP -MF ./.deps/insn-recog.TPo insn-recog.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from insn-recog.c:6: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from insn-recog.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-recog.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from insn-recog.c:6: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from insn-recog.c:9: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from insn-recog.c:9: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-recog.c:9: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from insn-recog.c:15: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from insn-recog.c:17: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-recog.c:17: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from insn-recog.c:17: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/config/i386/i386.md:9336:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode)))) ^ ../../src/gcc/config/i386/i386.md:9354:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode)))) ^ ../../src/gcc/config/i386/i386.md:4881:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4909:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/mmx.md:683:42: warning: self-comparison always evaluates to true [-Wtautological-compare] ((TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/mmx.md:683:42: warning: self-comparison always evaluates to true [-Wtautological-compare] ((TARGET_MMX || (TARGET_SSE2 && V1DImode == V1DImode)) ^ ../../src/gcc/config/i386/i386.md:8004:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || (DImode == DImode ^ ../../src/gcc/config/i386/sse.md:4499:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:5176:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1902:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1902:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4522:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:5187:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:9354:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode)))) ^ ../../src/gcc/config/i386/sse.md:3929:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3930:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3998:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3999:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:19422:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:19423:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3757:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3758:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3775:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3793:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3776:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3794:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3826:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3827:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3845:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3846:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1902:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1902:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1903:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4499:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:5176:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4522:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:5187:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3625:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3626:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3642:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3643:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3690:64: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3691:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3726:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3727:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4386:30: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V4SFmode == V4SFmode)))) ^ ../../src/gcc/config/i386/sse.md:1561:115: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (PLUS, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1561:116: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MINUS, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1600:115: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MULT, V16SFmode, operands) && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1601:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1659:60: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1660:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1747:60: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1748:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1879:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1879:51: warning: self-comparison always evaluates to true [-Wtautological-compare] && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:4410:61: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && (64 == 64 || TARGET_AVX512VL) && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:4918:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode))))) ^ ../../src/gcc/config/i386/sse.md:4918:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode))))) ^ ../../src/gcc/config/i386/sse.md:5165:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode))))) ^ ../../src/gcc/config/i386/sse.md:5165:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode))))) ^ ../../src/gcc/config/i386/sse.md:5410:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:2591:29: warning: self-comparison always evaluates to true [-Wtautological-compare] || V16SImode == V16SImode)))) ^ ../../src/gcc/config/i386/sse.md:2588:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:2590:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:2589:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3929:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3930:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3998:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3999:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:19422:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:19423:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:2591:29: warning: self-comparison always evaluates to true [-Wtautological-compare] || V16SImode == V16SImode))))) ^ ../../src/gcc/config/i386/sse.md:2588:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:2590:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DImode == V8DImode ^ ../../src/gcc/config/i386/sse.md:2589:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3625:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3626:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3690:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3691:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3757:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3758:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:3826:36: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512F && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:3827:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1561:87: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (PLUS, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1561:88: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MINUS, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1562:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1600:87: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && ix86_binary_operator_ok (MULT, V16SFmode, operands) && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1601:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:4909:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:4923:29: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/sse.md:5165:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode)))) ^ ../../src/gcc/config/i386/sse.md:4410:33: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE2 && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:4918:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode)))) ^ ../../src/gcc/config/i386/sse.md:4918:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode)))) ^ ../../src/gcc/config/i386/sse.md:5165:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5196:31: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_AVX512DQ && (V8SFmode == V8SFmode)))) ^ ../../src/gcc/config/i386/sse.md:1747:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1748:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1659:32: warning: self-comparison always evaluates to true [-Wtautological-compare] (TARGET_SSE && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1660:26: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1879:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:1879:23: warning: self-comparison always evaluates to true [-Wtautological-compare] && 1 && (V16SFmode == V16SFmode ^ ../../src/gcc/config/i386/sse.md:1880:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/sse.md:5410:28: warning: self-comparison always evaluates to true [-Wtautological-compare] || V8DFmode == V8DFmode ^ ../../src/gcc/config/i386/i386.md:4923:29: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:9367:31: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) ^ ../../src/gcc/config/i386/i386.md:4960:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:9336:30: warning: self-comparison always evaluates to true [-Wtautological-compare] || (TARGET_SSE && (TFmode == TFmode))) && ^ ../../src/gcc/config/i386/sse.md:17887:33: warning: self-comparison always evaluates to false [-Wtautological-compare] ( reload_completed && (V4DFmode != V4DFmode || !TARGET_AVX2)))) ^ ../../src/gcc/config/i386/sse.md:17713:32: warning: self-comparison always evaluates to true [-Wtautological-compare] && (TARGET_AVX512BW || SImode == SImode)) ^ ../../src/gcc/config/i386/sse.md:17713:32: warning: self-comparison always evaluates to true [-Wtautological-compare] && (TARGET_AVX512BW || SImode == SImode)) ^ ../../src/gcc/config/i386/i386.md:4881:30: warning: self-comparison always evaluates to false [-Wtautological-compare] && (TARGET_64BIT || DImode != DImode)) ^ ../../src/gcc/config/i386/i386.md:8004:19: warning: self-comparison always evaluates to true [-Wtautological-compare] || (DImode == DImode ^ ../../src/gcc/config/i386/sse.md:13727:15: warning: self-comparison always evaluates to true [-Wtautological-compare] && (SImode == SImode || TARGET_64BIT || MEM_P (operands[0])))) ^ ../../src/gcc/config/i386/i386.md:17995:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:18092:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:18032:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:17913:15: warning: self-comparison always evaluates to false [-Wtautological-compare] && (QImode != QImode ^ ../../src/gcc/config/i386/i386.md:17272:10: warning: self-comparison always evaluates to false [-Wtautological-compare] ((DFmode != DFmode || TARGET_64BIT) ^ ../../src/gcc/config/i386/i386.md:18394:14: warning: self-comparison always evaluates to true [-Wtautological-compare] || SImode == SImode ^ ../../src/gcc/config/i386/i386.md:18408:44: warning: self-comparison always evaluates to true [-Wtautological-compare] && (!TARGET_PARTIAL_REG_STALL || SImode == SImode))) ^ ../../src/gcc/config/i386/i386.md:17736:16: warning: self-comparison always evaluates to true [-Wtautological-compare] && ((HImode == HImode ^ ../../src/gcc/config/i386/i386.md:17752:16: warning: self-comparison always evaluates to true [-Wtautological-compare] && ((HImode == HImode ^ 149 warnings generated. g++ -std=gnu++98 -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../src/gcc -I../../src/gcc/build -I../../src/gcc/../include -I../../src/gcc/../libcpp/include \ -o build/genenums.o ../../src/gcc/genenums.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/genenums.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ 1 warning generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o build/genenums \ build/genenums.o build/read-md.o build/errors.o ../build-x86_64-apple-darwin16.7.0/libiberty/libiberty.a build/genenums ../../src/gcc/common.md ../../src/gcc/config/i386/i386.md \ > tmp-enums.c /bin/sh ../../src/gcc/../move-if-change tmp-enums.c insn-enums.c echo timestamp > s-enums g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o insn-enums.o -MT insn-enums.o -MMD -MP -MF ./.deps/insn-enums.TPo insn-enums.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ggc-page.o -MT ggc-page.o -MMD -MP -MF ./.deps/ggc-page.TPo ../../src/gcc/ggc-page.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ggc-page.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ggc-page.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-page.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-page.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ggc-page.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ggc-page.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ggc-page.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ggc-page.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ggc-page.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ggc-page.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/ggc-page.c:949:60: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] (void *) entry, (unsigned long) OBJECT_SIZE (order), page, ^~~~ ../../src/gcc/ggc-page.c:950:7: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] page + entry_size - 1); ^~~~~~~~~~~~~~~~~~~~~ ../../src/gcc/ggc-page.c:983:7: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] entry->page, entry->page + entry->bytes - 1); ^~~~~~~~~~~ ../../src/gcc/ggc-page.c:983:20: warning: format specifies type 'void *' but the argument has type 'char *' [-Wformat-pedantic] entry->page, entry->page + entry->bytes - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../src/gcc/ggc-page.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/ggc-page.c:1254:37: note: in instantiation of member function 'vec::safe_push' requested here G.finalizers[G.context_depth].safe_push (fin); ^ In file included from ../../src/gcc/ggc-page.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/ggc-page.c:1259:41: note: in instantiation of member function 'vec::safe_push' requested here G.vec_finalizers[G.context_depth].safe_push (fin); ^ 21 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o alias.o -MT alias.o -MMD -MP -MF ./.deps/alias.TPo ../../src/gcc/alias.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/alias.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/alias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/alias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/alias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/alias.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/alias.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/alias.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/alias.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/alias.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/alias.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/alias.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/alias.c:41: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/alias.c:41: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/alias.c:41: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/alias.c:3476: ./gt-alias.h:114:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ./gt-alias.h:114:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class ./gt-alias.h:114:63: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ./gt-alias.h:114:63: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class ../../src/gcc/alias.c:3232:1: warning: unused function 'set_dest_equal_p' [-Wunused-function] set_dest_equal_p (const_rtx set, const_rtx item) ^ 56 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o alloc-pool.o -MT alloc-pool.o -MMD -MP -MF ./.deps/alloc-pool.TPo ../../src/gcc/alloc-pool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/alloc-pool.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/alloc-pool.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/alloc-pool.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/alloc-pool.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/alloc-pool.c:24: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/alloc-pool.c:24: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/alloc-pool.c:24: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o auto-inc-dec.o -MT auto-inc-dec.o -MMD -MP -MF ./.deps/auto-inc-dec.TPo ../../src/gcc/auto-inc-dec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/auto-inc-dec.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/auto-inc-dec.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/auto-inc-dec.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/auto-inc-dec.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/auto-inc-dec.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/auto-inc-dec.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/auto-inc-dec.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/auto-inc-dec.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/auto-inc-dec.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/auto-inc-dec.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o auto-profile.o -MT auto-profile.o -MMD -MP -MF ./.deps/auto-profile.TPo ../../src/gcc/auto-profile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/auto-profile.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/auto-profile.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/auto-profile.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/auto-profile.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/auto-profile.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/auto-profile.c:30: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/auto-profile.c:30: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/auto-profile.c:30: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/auto-profile.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/auto-profile.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/auto-profile.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/auto-profile.c:46: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/auto-profile.c:47: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ In file included from ../../src/gcc/auto-profile.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/auto-profile.c:390:18: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here stack->safe_push ( ^ 38 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o bb-reorder.o -MT bb-reorder.o -MMD -MP -MF ./.deps/bb-reorder.TPo ../../src/gcc/bb-reorder.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/bb-reorder.c:96: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/bb-reorder.c:96: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/bb-reorder.c:96: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/bb-reorder.c:96: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:98: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bb-reorder.c:99: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/bb-reorder.c:99: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/bb-reorder.c:99: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/bb-reorder.c:102: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/bb-reorder.c:102: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/bb-reorder.c:102: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/bb-reorder.c:107: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o bitmap.o -MT bitmap.o -MMD -MP -MF ./.deps/bitmap.TPo ../../src/gcc/bitmap.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/bitmap.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/bitmap.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/bitmap.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/bitmap.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o bt-load.o -MT bt-load.o -MMD -MP -MF ./.deps/bt-load.TPo ../../src/gcc/bt-load.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/bt-load.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/bt-load.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/bt-load.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/bt-load.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/bt-load.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/bt-load.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/bt-load.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/bt-load.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/bt-load.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/bt-load.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o builtins.o -MT builtins.o -MMD -MP -MF ./.deps/builtins.TPo ../../src/gcc/builtins.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/builtins.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/builtins.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/builtins.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/builtins.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/builtins.c:29: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/builtins.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/builtins.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/builtins.c:32: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/builtins.c:58: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 43 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o caller-save.o -MT caller-save.o -MMD -MP -MF ./.deps/caller-save.TPo ../../src/gcc/caller-save.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/caller-save.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/caller-save.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/caller-save.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/caller-save.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/caller-save.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/caller-save.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/caller-save.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/caller-save.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/caller-save.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/caller-save.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o calls.o -MT calls.o -MMD -MP -MF ./.deps/calls.TPo ../../src/gcc/calls.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/calls.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/calls.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/calls.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/calls.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/calls.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/calls.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/calls.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/calls.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/calls.c:35: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/calls.c:35: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/calls.c:35: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/calls.c:45: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ccmp.o -MT ccmp.o -MMD -MP -MF ./.deps/ccmp.TPo ../../src/gcc/ccmp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ccmp.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ccmp.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ccmp.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ccmp.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ccmp.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ccmp.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ccmp.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ccmp.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfg.o -MT cfg.o -MMD -MP -MF ./.deps/cfg.TPo ../../src/gcc/cfg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfg.c:51: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfg.c:51: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfg.c:51: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfg.c:51: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfg.c:56: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfg.c:56: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfg.c:56: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfg.c:56: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/cfg.c:1125:26: note: in instantiation of member function 'object_allocator::remove' requested here original_copy_bb_pool->remove (elt); ^ In file included from ../../src/gcc/cfg.c:56: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:438:46: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here gcc_assert (m_id == allocation_object::get_instance (object)->id); ^ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/cfg.c:1125:26: note: in instantiation of member function 'object_allocator::remove' requested here original_copy_bb_pool->remove (elt); ^ In file included from ../../src/gcc/cfg.c:56: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/cfg.c:1145:38: note: in instantiation of member function 'object_allocator::allocate' requested here *slot = original_copy_bb_pool->allocate (); ^ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfganal.o -MT cfganal.o -MMD -MP -MF ./.deps/cfganal.TPo ../../src/gcc/cfganal.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfganal.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfganal.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfganal.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfganal.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfganal.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/cfganal.c:443:8: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here m_el.create (num_edges); ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgbuild.o -MT cfgbuild.o -MMD -MP -MF ./.deps/cfgbuild.TPo ../../src/gcc/cfgbuild.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgbuild.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgbuild.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgbuild.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgbuild.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgbuild.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgbuild.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgbuild.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgcleanup.o -MT cfgcleanup.o -MMD -MP -MF ./.deps/cfgcleanup.TPo ../../src/gcc/cfgcleanup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgcleanup.c:34: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgcleanup.c:34: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgcleanup.c:34: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgcleanup.c:34: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:36: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgcleanup.c:37: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgcleanup.c:37: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgcleanup.c:37: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgcleanup.c:40: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfgcleanup.c:40: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfgcleanup.c:40: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgexpand.o -MT cfgexpand.o -MMD -MP -MF ./.deps/cfgexpand.TPo ../../src/gcc/cfgexpand.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgexpand.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgexpand.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgexpand.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgexpand.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgexpand.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgexpand.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgexpand.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgexpand.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/cfgexpand.c:37: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cfgexpand.c:37: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cfgexpand.c:37: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cfgexpand.c:73: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfghooks.o -MT cfghooks.o -MMD -MP -MF ./.deps/cfghooks.TPo ../../src/gcc/cfghooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfghooks.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfghooks.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfghooks.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfghooks.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfghooks.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfghooks.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfghooks.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgloop.o -MT cfgloop.o -MMD -MP -MF ./.deps/cfgloop.TPo ../../src/gcc/cfgloop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgloop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgloop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgloop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgloop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgloop.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgloop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgloop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgloop.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgloopanal.o -MT cfgloopanal.o -MMD -MP -MF ./.deps/cfgloopanal.TPo ../../src/gcc/cfgloopanal.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgloopanal.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgloopanal.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgloopanal.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgloopanal.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgloopanal.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgloopanal.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgloopanal.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgloopmanip.o -MT cfgloopmanip.o -MMD -MP -MF ./.deps/cfgloopmanip.TPo ../../src/gcc/cfgloopmanip.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgloopmanip.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgloopmanip.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgloopmanip.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgloopmanip.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgloopmanip.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgloopmanip.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgloopmanip.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgloopmanip.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cfgrtl.o -MT cfgrtl.o -MMD -MP -MF ./.deps/cfgrtl.TPo ../../src/gcc/cfgrtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cfgrtl.c:42: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cfgrtl.c:42: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgrtl.c:42: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cfgrtl.c:42: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:44: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cfgrtl.c:45: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cfgrtl.c:45: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgrtl.c:45: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cfgrtl.c:48: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfgrtl.c:48: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cfgrtl.c:48: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o symtab.o -MT symtab.o -MMD -MP -MF ./.deps/symtab.TPo ../../src/gcc/symtab.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/symtab.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/symtab.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/symtab.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/symtab.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/symtab.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/symtab.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/symtab.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/symtab.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/symtab.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/symtab.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/symtab.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/symtab.c:31: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/symtab.c:31: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/symtab.c:35: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ ../../src/gcc/symtab.c:317:8: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *alias = ref->referring; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/symtab.c:317:8: note: did you mean class here? struct symtab_node *alias = ref->referring; ^~~~~~ class ../../src/gcc/symtab.c:1266:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *alias = ref->referring; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/symtab.c:1316:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *alias = ref->referring; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/symtab.c:1694:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *alias_alias = ref->referring; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ 65 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cgraph.o -MT cgraph.o -MMD -MP -MF ./.deps/cgraph.TPo ../../src/gcc/cgraph.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cgraph.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cgraph.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraph.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraph.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraph.c:31: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cgraph.c:31: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cgraph.c:31: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cgraph.c:33: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/cgraph.c:35: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cgraph.c:35: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cgraph.c:35: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cgraph.c:37: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cgraph.c:37: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cgraph.c:37: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cgraph.c:38: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/cgraph.c:38: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/cgraph.c:49: ../../src/gcc/value-prof.h:110:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.h:110:40: note: did you mean class here? extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^~~~~~ class In file included from ../../src/gcc/cgraph.c:53: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/cgraph.c:54: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ ../../src/gcc/cgraph.c:3533:10: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.c:3563:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ In file included from ../../src/gcc/cgraph.c:3834: ./gt-cgraph.h:60:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cgraph.h:60:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cgraph.h:60:70: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cgraph.h:60:70: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 70 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cgraphbuild.o -MT cgraphbuild.o -MMD -MP -MF ./.deps/cgraphbuild.TPo ../../src/gcc/cgraphbuild.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cgraphbuild.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cgraphbuild.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraphbuild.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraphbuild.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cgraphbuild.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/cgraphbuild.c:28: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cgraphbuild.c:28: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cgraphbuild.c:28: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cgraphunit.o -MT cgraphunit.o -MMD -MP -MF ./.deps/cgraphunit.TPo ../../src/gcc/cgraphunit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cgraphunit.c:162: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cgraphunit.c:162: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraphunit.c:162: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraphunit.c:162: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:164: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphunit.c:165: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cgraphunit.c:165: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cgraphunit.c:165: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cgraphunit.c:167: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/cgraphunit.c:170: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cgraphunit.c:170: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cgraphunit.c:170: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cgraphunit.c:174: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cgraphunit.c:174: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cgraphunit.c:174: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cgraphunit.c:176: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/cgraphunit.c:176: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/cgraphunit.c:180: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/cgraphunit.c:194: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/cgraphunit.c:197: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ 66 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cgraphclones.o -MT cgraphclones.o -MMD -MP -MF ./.deps/cgraphclones.TPo ../../src/gcc/cgraphclones.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cgraphclones.c:69: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cgraphclones.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraphclones.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cgraphclones.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:71: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cgraphclones.c:72: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cgraphclones.c:72: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cgraphclones.c:72: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cgraphclones.c:74: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/cgraphclones.c:76: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cgraphclones.c:76: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cgraphclones.c:76: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cgraphclones.c:77: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/cgraphclones.c:77: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class 60 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cilk-common.o -MT cilk-common.o -MMD -MP -MF ./.deps/cilk-common.TPo ../../src/gcc/cilk-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cilk-common.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cilk-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cilk-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cilk-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cilk-common.c:28: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cilk-common.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cilk-common.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o combine.o -MT combine.o -MMD -MP -MF ./.deps/combine.TPo ../../src/gcc/combine.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/combine.c:80: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/combine.c:80: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/combine.c:80: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/combine.c:80: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:82: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/combine.c:83: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/combine.c:83: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/combine.c:83: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/combine.c:87: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/combine.c:87: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/combine.c:87: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/combine.c:94: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/combine.c:94: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/combine.c:94: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 33 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o combine-stack-adj.o -MT combine-stack-adj.o -MMD -MP -MF ./.deps/combine-stack-adj.TPo ../../src/gcc/combine-stack-adj.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/combine-stack-adj.c:43: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/combine-stack-adj.c:43: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/combine-stack-adj.c:43: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/combine-stack-adj.c:43: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/combine-stack-adj.c:45: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/combine-stack-adj.c:45: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/combine-stack-adj.c:45: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/combine-stack-adj.c:46: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/combine-stack-adj.c:46: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/combine-stack-adj.c:46: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o compare-elim.o -MT compare-elim.o -MMD -MP -MF ./.deps/compare-elim.TPo ../../src/gcc/compare-elim.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/compare-elim.c:59: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/compare-elim.c:59: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/compare-elim.c:59: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/compare-elim.c:59: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/compare-elim.c:62: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/compare-elim.c:62: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/compare-elim.c:62: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/compare-elim.c:63: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/compare-elim.c:63: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/compare-elim.c:63: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o context.o -MT context.o -MMD -MP -MF ./.deps/context.TPo ../../src/gcc/context.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/context.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/context.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/context.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/context.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o convert.o -MT convert.o -MMD -MP -MF ./.deps/convert.TPo ../../src/gcc/convert.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/convert.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/convert.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/convert.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/convert.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/convert.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o coverage.o -MT coverage.o -MMD -MP -MF ./.deps/coverage.TPo ../../src/gcc/coverage.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/coverage.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/coverage.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/coverage.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/coverage.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:31: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/coverage.c:32: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/coverage.c:32: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/coverage.c:32: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/coverage.c:38: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/coverage.c:38: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/coverage.c:38: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/coverage.c:43: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 31 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DGCC_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/include\" -DFIXED_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/include-fixed\" -DGPLUSPLUS_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0\" -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=0 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0/x86_64-apple-darwin16.7.0\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0/backward\" -DLOCAL_INCLUDE_DIR=\"/Users/matt/sage/local/include\" -DCROSS_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/sys-include\" -DTOOL_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/include\" -DNATIVE_SYSTEM_HEADER_DIR=\"/usr/include\" -DPREFIX=\"/Users/matt/sage/local/\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -DBASEVER="\"7.2.0\"" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cppbuiltin.o -MT cppbuiltin.o -MMD -MP -MF ./.deps/cppbuiltin.TPo ../../src/gcc/cppbuiltin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cppbuiltin.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cppbuiltin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cppbuiltin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cppbuiltin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cppbuiltin.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DGCC_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/include\" -DFIXED_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/include-fixed\" -DGPLUSPLUS_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0\" -DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=0 -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0/x86_64-apple-darwin16.7.0\" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../include/c++/7.2.0/backward\" -DLOCAL_INCLUDE_DIR=\"/Users/matt/sage/local/include\" -DCROSS_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/sys-include\" -DTOOL_INCLUDE_DIR=\"/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/include\" -DNATIVE_SYSTEM_HEADER_DIR=\"/usr/include\" -DPREFIX=\"/Users/matt/sage/local/\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cppdefault.o -MT cppdefault.o -MMD -MP -MF ./.deps/cppdefault.TPo ../../src/gcc/cppdefault.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cppdefault.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cppdefault.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cppdefault.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cppdefault.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cprop.o -MT cprop.o -MMD -MP -MF ./.deps/cprop.TPo ../../src/gcc/cprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cprop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cprop.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cprop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cprop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cprop.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cprop.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cprop.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cse.o -MT cse.o -MMD -MP -MF ./.deps/cse.TPo ../../src/gcc/cse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cse.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cse.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cse.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cse.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cse.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cse.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cse.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/cse.c:6221:38: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] || (CONST_DOUBLE_P (new_rtx) && CONST_DOUBLE_HIGH (new_rtx) >= 0)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/gcc/rtl.h:1867:30: note: expanded from macro 'CONST_DOUBLE_HIGH' #define CONST_DOUBLE_HIGH(r) XCMWINT (r, 1, CONST_DOUBLE, VOIDmode) ^ ~ ../../src/gcc/rtl.h:1186:36: note: expanded from macro 'XCMWINT' #define XCMWINT(RTX, N, C, M) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cselib.o -MT cselib.o -MMD -MP -MF ./.deps/cselib.TPo ../../src/gcc/cselib.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cselib.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cselib.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cselib.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cselib.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cselib.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/cselib.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cselib.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/cselib.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cselib.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cselib.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/cselib.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/cselib.c:404:17: note: in instantiation of member function 'object_allocator::remove' requested here elt_list_pool.remove (l); ^ In file included from ../../src/gcc/cselib.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:438:46: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here gcc_assert (m_id == allocation_object::get_instance (object)->id); ^ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/cselib.c:404:17: note: in instantiation of member function 'object_allocator::remove' requested here elt_list_pool.remove (l); ^ In file included from ../../src/gcc/cselib.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/cselib.c:1302:38: note: in instantiation of member function 'base_pool_allocator::allocate' requested here e->val_rtx = (rtx_def*) value_pool.allocate (); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o data-streamer.o -MT data-streamer.o -MMD -MP -MF ./.deps/data-streamer.TPo ../../src/gcc/data-streamer.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/data-streamer.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/data-streamer.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/data-streamer.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/data-streamer.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/data-streamer.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/data-streamer.c:28: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/data-streamer.c:28: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/data-streamer.c:28: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/data-streamer.c:29: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/data-streamer.c:29: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/data-streamer.c:29: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class 54 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o data-streamer-in.o -MT data-streamer-in.o -MMD -MP -MF ./.deps/data-streamer-in.TPo ../../src/gcc/data-streamer-in.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/data-streamer-in.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/data-streamer-in.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/data-streamer-in.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/data-streamer-in.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/data-streamer-in.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/data-streamer-in.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/data-streamer-in.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/data-streamer-in.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/data-streamer-in.c:30: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/data-streamer-in.c:30: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/data-streamer-in.c:30: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer-in.c:66:10: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib, unsigned int *rlen) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:66:10: note: did you mean class here? struct lto_input_block *ib, unsigned int *rlen) ^~~~~~ class ../../src/gcc/data-streamer-in.c:75:48: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_string (struct data_in *data_in, struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:75:48: note: did you mean class here? streamer_read_string (struct data_in *data_in, struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer-in.c:122:21: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uhwi (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:122:21: note: did you mean class here? streamer_read_uhwi (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer-in.c:157:20: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:157:20: note: did you mean class here? streamer_read_hwi (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer-in.c:181:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_gcov_count (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:181:27: note: did you mean class here? streamer_read_gcov_count (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer-in.c:191:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_wide_int (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:191:25: note: did you mean class here? streamer_read_wide_int (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer-in.c:206:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_widest_int (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer-in.c:206:27: note: did you mean class here? streamer_read_widest_int (struct lto_input_block *ib) ^~~~~~ class 61 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o data-streamer-out.o -MT data-streamer-out.o -MMD -MP -MF ./.deps/data-streamer-out.TPo ../../src/gcc/data-streamer-out.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/data-streamer-out.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/data-streamer-out.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/data-streamer-out.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/data-streamer-out.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/data-streamer-out.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/data-streamer-out.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/data-streamer-out.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/data-streamer-out.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/data-streamer-out.c:30: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/data-streamer-out.c:30: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/data-streamer-out.c:30: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class 54 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dbxout.o -MT dbxout.o -MMD -MP -MF ./.deps/dbxout.TPo ../../src/gcc/dbxout.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dbxout.c:71: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dbxout.c:71: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dbxout.c:71: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dbxout.c:71: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:72: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dbxout.c:74: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dbxout.c:74: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dbxout.c:74: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dbxout.c:81: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/dbxout.c:81: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/dbxout.c:81: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/dbxout.c:87: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/dbxout.c:91: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dbgcnt.o -MT dbgcnt.o -MMD -MP -MF ./.deps/dbgcnt.TPo ../../src/gcc/dbgcnt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dbgcnt.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dbgcnt.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dbgcnt.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dbgcnt.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dce.o -MT dce.o -MMD -MP -MF ./.deps/dce.TPo ../../src/gcc/dce.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dce.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dce.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dce.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dce.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dce.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dce.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dce.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dce.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/dce.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/dce.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ddg.o -MT ddg.o -MMD -MP -MF ./.deps/ddg.TPo ../../src/gcc/ddg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ddg.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ddg.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ddg.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ddg.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ddg.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ddg.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ddg.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ddg.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ddg.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ddg.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o debug.o -MT debug.o -MMD -MP -MF ./.deps/debug.TPo ../../src/gcc/debug.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/debug.c:20: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/debug.c:20: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/debug.c:20: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/debug.c:20: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o df-core.o -MT df-core.o -MMD -MP -MF ./.deps/df-core.TPo ../../src/gcc/df-core.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/df-core.c:379: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/df-core.c:379: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/df-core.c:379: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/df-core.c:379: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/df-core.c:381: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/df-core.c:381: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/df-core.c:381: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/df-core.c:382: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-core.c:382: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-core.c:382: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o df-problems.o -MT df-problems.o -MMD -MP -MF ./.deps/df-problems.TPo ../../src/gcc/df-problems.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/df-problems.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/df-problems.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/df-problems.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/df-problems.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-problems.c:29: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/df-problems.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/df-problems.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/df-problems.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-problems.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-problems.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-problems.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/df-problems.c:2265:48: note: in instantiation of member function 'object_allocator::allocate' requested here struct df_link *link = df_chain->block_pool->allocate (); ^ In file included from ../../src/gcc/df-problems.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/df-problems.c:2265:48: note: in instantiation of member function 'object_allocator::allocate' requested here struct df_link *link = df_chain->block_pool->allocate (); ^ In file included from ../../src/gcc/df-problems.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/df-problems.c:2290:26: note: in instantiation of member function 'object_allocator::remove' requested here df_chain->block_pool->remove (chain); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o df-scan.o -MT df-scan.o -MMD -MP -MF ./.deps/df-scan.TPo ../../src/gcc/df-scan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/df-scan.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/df-scan.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/df-scan.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/df-scan.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/df-scan.c:29: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/df-scan.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/df-scan.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/df-scan.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-scan.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-scan.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/df-scan.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/df-scan.c:481:42: note: in instantiation of member function 'object_allocator::allocate' requested here reg_info = problem_data->reg_pool->allocate (); ^ In file included from ../../src/gcc/df-scan.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/df-scan.c:481:42: note: in instantiation of member function 'object_allocator::allocate' requested here reg_info = problem_data->reg_pool->allocate (); ^ In file included from ../../src/gcc/df-scan.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/df-scan.c:702:36: note: in instantiation of member function 'object_allocator::remove' requested here problem_data->ref_base_pool->remove ((df_base_ref *) (ref)); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-strict-aliasing -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dfp.o -MT dfp.o -MMD -MP -MF ./.deps/dfp.TPo ../../src/gcc/dfp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dfp.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dfp.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dfp.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dfp.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dojump.o -MT dojump.o -MMD -MP -MF ./.deps/dojump.TPo ../../src/gcc/dojump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dojump.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dojump.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dojump.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dojump.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dojump.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dojump.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dojump.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dominance.o -MT dominance.o -MMD -MP -MF ./.deps/dominance.TPo ../../src/gcc/dominance.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dominance.c:37: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dominance.c:37: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dominance.c:37: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dominance.c:37: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o domwalk.o -MT domwalk.o -MMD -MP -MF ./.deps/domwalk.TPo ../../src/gcc/domwalk.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/domwalk.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/domwalk.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/domwalk.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/domwalk.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o double-int.o -MT double-int.o -MMD -MP -MF ./.deps/double-int.TPo ../../src/gcc/double-int.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/double-int.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/double-int.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/double-int.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/double-int.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dse.o -MT dse.o -MMD -MP -MF ./.deps/dse.TPo ../../src/gcc/dse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dse.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dse.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dse.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dse.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dse.c:30: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dse.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dse.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dse.c:32: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/dse.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/dse.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/dse.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/dse.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/dse.c:643:36: note: in instantiation of member function 'object_allocator::allocate' requested here *slot = gi = group_info_pool.allocate (); ^ In file included from ../../src/gcc/dse.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/dse.c:643:36: note: in instantiation of member function 'object_allocator::allocate' requested here *slot = gi = group_info_pool.allocate (); ^ In file included from ../../src/gcc/dse.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/dse.c:716:22: note: in instantiation of member function 'object_allocator::remove' requested here cse_store_info_pool.remove (cur); ^ ../../src/gcc/dse.c:1211:1: warning: unused function 'set_all_positions_unneeded' [-Wunused-function] set_all_positions_unneeded (store_info *s_info) ^ 49 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dumpfile.o -MT dumpfile.o -MMD -MP -MF ./.deps/dumpfile.TPo ../../src/gcc/dumpfile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dumpfile.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dumpfile.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dumpfile.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dumpfile.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dwarf2asm.o -MT dwarf2asm.o -MMD -MP -MF ./.deps/dwarf2asm.TPo ../../src/gcc/dwarf2asm.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dwarf2asm.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dwarf2asm.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dwarf2asm.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dwarf2asm.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2asm.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dwarf2asm.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dwarf2asm.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dwarf2asm.c:31: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/dwarf2asm.c:1061: ./gt-dwarf2asm.h:48:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ./gt-dwarf2asm.h:48:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class ./gt-dwarf2asm.h:48:55: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ./gt-dwarf2asm.h:48:55: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class In file included from ../../src/gcc/dwarf2asm.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/dwarf2asm.c:955:44: note: in instantiation of member function 'auto_vec, 0>::auto_vec' requested here auto_vec > temp (indirect_pool->elements ()); ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dwarf2cfi.o -MT dwarf2cfi.o -MMD -MP -MF ./.deps/dwarf2cfi.TPo ../../src/gcc/dwarf2cfi.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dwarf2cfi.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dwarf2cfi.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dwarf2cfi.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dwarf2cfi.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dwarf2cfi.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dwarf2cfi.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dwarf2cfi.c:35: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2cfi.c:39: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o dwarf2out.o -MT dwarf2out.o -MMD -MP -MF ./.deps/dwarf2out.TPo ../../src/gcc/dwarf2out.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/dwarf2out.c:60: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/dwarf2out.c:60: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dwarf2out.c:60: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/dwarf2out.c:60: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:61: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:63: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/dwarf2out.c:63: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dwarf2out.c:63: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/dwarf2out.c:70: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/dwarf2out.c:70: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/dwarf2out.c:70: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/dwarf2out.c:79: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/dwarf2out.c:87: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/dwarf2out.c:30515: ./gt-dwarf2out.h:1552:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1552:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1552:69: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1552:69: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1722:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1722:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1722:64: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1722:64: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1740:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1740:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1740:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1740:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1788:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1788:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1788:68: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1788:68: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1806:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1806:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1806:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1806:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1877:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1877:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1877:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1877:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1914:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1914:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:1914:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:1914:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:2041:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:2041:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-dwarf2out.h:2041:58: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-dwarf2out.h:2041:58: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ../../src/gcc/dwarf2out.c:4484:1: warning: unused function 'add_AT_fde_ref' [-Wunused-function] add_AT_fde_ref (dw_die_ref die, enum dwarf_attribute attr_kind, unsigned int targ_fde) ^ ../../src/gcc/dwarf2out.c:4837:1: warning: unused function 'add_AT_offset' [-Wunused-function] add_AT_offset (dw_die_ref die, enum dwarf_attribute attr_kind, ^ ../../src/gcc/dwarf2out.c:4964:1: warning: unused function 'get_AT_hi_pc' [-Wunused-function] get_AT_hi_pc (dw_die_ref die) ^ ../../src/gcc/dwarf2out.c:12957:1: warning: unused function 'type_is_enum' [-Wunused-function] type_is_enum (const_tree type) ^ ../../src/gcc/dwarf2out.c:18001:1: warning: unused function 'ceiling' [-Wunused-function] ceiling (HOST_WIDE_INT value, unsigned int boundary) ^ ../../src/gcc/dwarf2out.c:4754:1: warning: unused function 'add_AT_vms_delta' [-Wunused-function] add_AT_vms_delta (dw_die_ref die, enum dwarf_attribute attr_kind, ^ ../../src/gcc/dwarf2out.c:7362:1: warning: unused function 'is_class_die' [-Wunused-function] is_class_die (dw_die_ref c) ^ 55 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o emit-rtl.o -MT emit-rtl.o -MMD -MP -MF ./.deps/emit-rtl.TPo ../../src/gcc/emit-rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/emit-rtl.c:36: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/emit-rtl.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/emit-rtl.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/emit-rtl.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:39: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/emit-rtl.c:40: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/emit-rtl.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/emit-rtl.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/emit-rtl.c:42: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/emit-rtl.c:42: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/emit-rtl.c:42: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/emit-rtl.c:3963:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] memset (&NOTE_DATA (note), 0, sizeof (NOTE_DATA (note))); ^~~~~~~~~~~~~~~~ ../../src/gcc/rtl.h:1585:33: note: expanded from macro 'NOTE_DATA' #define NOTE_DATA(INSN) RTL_CHECKC1 (INSN, 3, NOTE) ^ ~ ../../src/gcc/rtl.h:1180:37: note: expanded from macro 'RTL_CHECKC1' #define RTL_CHECKC1(RTX, N, C) ((RTX)->u.fld[N]) ^ ~ ../../src/gcc/rtl.h:424:5: note: array 'fld' declared here rtunion fld[1]; ^ In file included from ../../src/gcc/emit-rtl.c:6335: ./gt-emit-rtl.h:188:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:188:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:188:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:188:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:206:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:206:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:206:68: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:206:68: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:224:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:224:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:224:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:224:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:242:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:242:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:242:66: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:242:66: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:260:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:260:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-emit-rtl.h:260:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-emit-rtl.h:260:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 36 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o et-forest.o -MT et-forest.o -MMD -MP -MF ./.deps/et-forest.TPo ../../src/gcc/et-forest.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/et-forest.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/et-forest.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/et-forest.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/et-forest.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/et-forest.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/et-forest.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/et-forest.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/et-forest.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/et-forest.c:446:31: note: in instantiation of member function 'object_allocator::allocate' requested here et_occ *nw = et_occurrences.allocate (); ^ In file included from ../../src/gcc/et-forest.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/et-forest.c:446:31: note: in instantiation of member function 'object_allocator::allocate' requested here et_occ *nw = et_occurrences.allocate (); ^ In file included from ../../src/gcc/et-forest.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/et-forest.c:490:18: note: in instantiation of member function 'object_allocator::remove' requested here et_occurrences.remove (t->rightmost_occ); ^ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o except.o -MT except.o -MMD -MP -MF ./.deps/except.TPo ../../src/gcc/except.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/except.c:114: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/except.c:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/except.c:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/except.c:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:116: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:117: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/except.c:117: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/except.c:117: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/except.c:127: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/except.c:127: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/except.c:127: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/except.c:137: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/except.c:140: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/except.c:3412: ./gt-except.h:79:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ./gt-except.h:79:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class ./gt-except.h:79:59: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ./gt-except.h:79:59: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class 34 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o explow.o -MT explow.o -MMD -MP -MF ./.deps/explow.TPo ../../src/gcc/explow.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/explow.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/explow.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/explow.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/explow.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/explow.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/explow.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/explow.c:40: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/explow.c:41: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o expmed.o -MT expmed.o -MMD -MP -MF ./.deps/expmed.TPo ../../src/gcc/expmed.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/expmed.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/expmed.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/expmed.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/expmed.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expmed.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/expmed.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/expmed.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o expr.o -MT expr.o -MMD -MP -MF ./.deps/expr.TPo ../../src/gcc/expr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/expr.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/expr.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/expr.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/expr.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/expr.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/expr.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/expr.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/expr.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/expr.c:37: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/expr.c:37: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/expr.c:37: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/expr.c:56: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/expr.c:5435:9: warning: comparison of constant -1 with expression of type 'unsigned int' is always false [-Wtautological-constant-out-of-range-compare] if (!SUBREG_CHECK_PROMOTED_SIGN (target, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/gcc/rtl.h:2300:9: note: expanded from macro 'SUBREG_CHECK_PROMOTED_SIGN' ((SIGN) == SRP_POINTER ? SUBREG_PROMOTED_GET (RTX) == SRP_POINTER \ ~~~~~~ ^ ~~~~~~~~~~~ 52 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o fibonacci_heap.o -MT fibonacci_heap.o -MMD -MP -MF ./.deps/fibonacci_heap.TPo ../../src/gcc/fibonacci_heap.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/fibonacci_heap.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/fibonacci_heap.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fibonacci_heap.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fibonacci_heap.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o final.o -MT final.o -MMD -MP -MF ./.deps/final.TPo ../../src/gcc/final.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/final.c:48: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/final.c:48: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/final.c:48: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/final.c:48: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/final.c:51: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/final.c:51: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/final.c:51: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/final.c:54: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/final.c:54: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/final.c:54: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/final.c:61: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/final.c:61: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/final.c:61: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/final.c:67: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ ../../src/gcc/final.c:3975:8: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] if (CONST_DOUBLE_HIGH (x)) ^~~~~~~~~~~~~~~~~~~~~ ../../src/gcc/rtl.h:1867:30: note: expanded from macro 'CONST_DOUBLE_HIGH' #define CONST_DOUBLE_HIGH(r) XCMWINT (r, 1, CONST_DOUBLE, VOIDmode) ^ ~ ../../src/gcc/rtl.h:1186:36: note: expanded from macro 'XCMWINT' #define XCMWINT(RTX, N, C, M) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o fixed-value.o -MT fixed-value.o -MMD -MP -MF ./.deps/fixed-value.TPo ../../src/gcc/fixed-value.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/fixed-value.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/fixed-value.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fixed-value.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fixed-value.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o fold-const.o -MT fold-const.o -MMD -MP -MF ./.deps/fold-const.TPo ../../src/gcc/fold-const.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/fold-const.c:45: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/fold-const.c:45: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fold-const.c:45: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fold-const.c:45: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:47: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fold-const.c:48: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/fold-const.c:48: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/fold-const.c:48: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/fold-const.c:50: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/fold-const.c:56: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/fold-const.c:56: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/fold-const.c:56: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/fold-const.c:8283:9: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] if (struct symtab_node *symbol = symtab_node::get_create (decl)) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/fold-const.c:8283:9: note: did you mean class here? if (struct symtab_node *symbol = symtab_node::get_create (decl)) ^~~~~~ class 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o fold-const-call.o -MT fold-const-call.o -MMD -MP -MF ./.deps/fold-const-call.TPo ../../src/gcc/fold-const-call.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/fold-const-call.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/fold-const-call.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fold-const-call.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fold-const-call.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o function.o -MT function.o -MMD -MP -MF ./.deps/function.TPo ../../src/gcc/function.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/function.c:36: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/function.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/function.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/function.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:39: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/function.c:39: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/function.c:39: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/function.c:43: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/function.c:43: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/function.c:43: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/function.c:63: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/function.c:65: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/function.c:6731: ./gt-function.h:250:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-function.h:250:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-function.h:250:64: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-function.h:250:64: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-function.h:290:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-function.h:290:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-function.h:290:66: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-function.h:290:66: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 31 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o function-tests.o -MT function-tests.o -MMD -MP -MF ./.deps/function-tests.TPo ../../src/gcc/function-tests.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/function-tests.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/function-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/function-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/function-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/function-tests.c:36: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/function-tests.c:36: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/function-tests.c:36: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/function-tests.c:73: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/function-tests.c:78: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/function-tests.c:79: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/function-tests.c:79: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o fwprop.o -MT fwprop.o -MMD -MP -MF ./.deps/fwprop.TPo ../../src/gcc/fwprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/fwprop.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/fwprop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fwprop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/fwprop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/fwprop.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/fwprop.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/fwprop.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/fwprop.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/fwprop.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/fwprop.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcc-rich-location.o -MT gcc-rich-location.o -MMD -MP -MF ./.deps/gcc-rich-location.TPo ../../src/gcc/gcc-rich-location.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcc-rich-location.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcc-rich-location.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcc-rich-location.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcc-rich-location.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gcc-rich-location.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gcc-rich-location.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gcc-rich-location.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcse.o -MT gcse.o -MMD -MP -MF ./.deps/gcse.TPo ../../src/gcc/gcse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcse.c:137: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcse.c:137: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcse.c:137: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcse.c:137: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:139: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gcse.c:140: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gcse.c:140: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gcse.c:140: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gcse.c:143: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/gcse.c:143: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/gcse.c:143: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcse-common.o -MT gcse-common.o -MMD -MP -MF ./.deps/gcse-common.TPo ../../src/gcc/gcse-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcse-common.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcse-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcse-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcse-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gcse-common.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gcse-common.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gcse-common.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gcse-common.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/gcse-common.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/gcse-common.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ggc-common.o -MT ggc-common.o -MMD -MP -MF ./.deps/ggc-common.TPo ../../src/gcc/ggc-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ggc-common.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ggc-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-common.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ggc-tests.o -MT ggc-tests.o -MMD -MP -MF ./.deps/ggc-tests.TPo ../../src/gcc/ggc-tests.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ggc-tests.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ggc-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ggc-tests.c:490: ./gt-ggc-tests.h:83:3: warning: struct 'example_base' was previously declared as a class [-Wmismatched-tags] struct example_base * const x = (struct example_base *)x_p; ^ ../../src/gcc/ggc-tests.c:232:42: note: previous use is here class GTY((desc("%h.m_kind"), tag("0"))) example_base ^ ./gt-ggc-tests.h:83:3: note: did you mean class here? struct example_base * const x = (struct example_base *)x_p; ^~~~~~ class ./gt-ggc-tests.h:83:36: warning: struct 'example_base' was previously declared as a class [-Wmismatched-tags] struct example_base * const x = (struct example_base *)x_p; ^ ../../src/gcc/ggc-tests.c:232:42: note: previous use is here class GTY((desc("%h.m_kind"), tag("0"))) example_base ^ ./gt-ggc-tests.h:83:36: note: did you mean class here? struct example_base * const x = (struct example_base *)x_p; ^~~~~~ class ./gt-ggc-tests.h:205:3: warning: struct 'example_base' was previously declared as a class [-Wmismatched-tags] struct example_base * const x = (struct example_base *)x_p; ^ ../../src/gcc/ggc-tests.c:232:42: note: previous use is here class GTY((desc("%h.m_kind"), tag("0"))) example_base ^ ./gt-ggc-tests.h:205:3: note: did you mean class here? struct example_base * const x = (struct example_base *)x_p; ^~~~~~ class ./gt-ggc-tests.h:205:36: warning: struct 'example_base' was previously declared as a class [-Wmismatched-tags] struct example_base * const x = (struct example_base *)x_p; ^ ../../src/gcc/ggc-tests.c:232:42: note: previous use is here class GTY((desc("%h.m_kind"), tag("0"))) example_base ^ ./gt-ggc-tests.h:205:36: note: did you mean class here? struct example_base * const x = (struct example_base *)x_p; ^~~~~~ class ./gt-ggc-tests.h:335:3: warning: struct 'example_base' was previously declared as a class [-Wmismatched-tags] struct example_base * x ATTRIBUTE_UNUSED = (struct example_base *)x_p; ^ ../../src/gcc/ggc-tests.c:232:42: note: previous use is here class GTY((desc("%h.m_kind"), tag("0"))) example_base ^ ./gt-ggc-tests.h:335:3: note: did you mean class here? struct example_base * x ATTRIBUTE_UNUSED = (struct example_base *)x_p; ^~~~~~ class ./gt-ggc-tests.h:335:47: warning: struct 'example_base' was previously declared as a class [-Wmismatched-tags] struct example_base * x ATTRIBUTE_UNUSED = (struct example_base *)x_p; ^ ../../src/gcc/ggc-tests.c:232:42: note: previous use is here class GTY((desc("%h.m_kind"), tag("0"))) example_base ^ ./gt-ggc-tests.h:335:47: note: did you mean class here? struct example_base * x ATTRIBUTE_UNUSED = (struct example_base *)x_p; ^~~~~~ class 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple.o -MT gimple.o -MMD -MP -MF ./.deps/gimple.TPo ../../src/gcc/gimple.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimple.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimple.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-builder.o -MT gimple-builder.o -MMD -MP -MF ./.deps/gimple-builder.TPo ../../src/gcc/gimple-builder.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-builder.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-builder.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-builder.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-builder.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-builder.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-expr.o -MT gimple-expr.o -MMD -MP -MF ./.deps/gimple-expr.TPo ../../src/gcc/gimple-expr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-expr.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-expr.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-expr.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-expr.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-expr.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-expr.c:36: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gimple-expr.c:36: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimple-expr.c:36: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-iterator.o -MT gimple-iterator.o -MMD -MP -MF ./.deps/gimple-iterator.TPo ../../src/gcc/gimple-iterator.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-iterator.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-iterator.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-iterator.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-iterator.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-iterator.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-iterator.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimple-iterator.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimple-iterator.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-fold.o -MT gimple-fold.o -MMD -MP -MF ./.deps/gimple-fold.TPo ../../src/gcc/gimple-fold.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-fold.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-fold.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-fold.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-fold.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-fold.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gimple-fold.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimple-fold.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimple-fold.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-fold.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimple-fold.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimple-fold.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-laddress.o -MT gimple-laddress.o -MMD -MP -MF ./.deps/gimple-laddress.TPo ../../src/gcc/gimple-laddress.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-laddress.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-laddress.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-laddress.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-laddress.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-laddress.c:39: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-low.o -MT gimple-low.o -MMD -MP -MF ./.deps/gimple-low.TPo ../../src/gcc/gimple-low.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-low.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-low.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-low.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-low.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-low.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-pretty-print.o -MT gimple-pretty-print.o -MMD -MP -MF ./.deps/gimple-pretty-print.TPo ../../src/gcc/gimple-pretty-print.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-pretty-print.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-pretty-print.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-pretty-print.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-pretty-print.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-pretty-print.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-pretty-print.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimple-pretty-print.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimple-pretty-print.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-backprop.o -MT gimple-ssa-backprop.o -MMD -MP -MF ./.deps/gimple-ssa-backprop.TPo ../../src/gcc/gimple-ssa-backprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-backprop.c:89: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-backprop.c:92: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:103: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/gimple-ssa-backprop.c:103: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/gimple-ssa-backprop.c:103: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/gimple-ssa-backprop.c:123:5: warning: anonymous types declared in an anonymous union are an extension [-Wnested-anon-types] struct ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:103: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/gimple-ssa-backprop.c:579:27: note: in instantiation of member function 'object_allocator<(anonymous namespace)::usage_info>::allocate' requested here map_info = m_info_pool.allocate (); ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:103: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/gimple-ssa-backprop.c:579:27: note: in instantiation of member function 'object_allocator<(anonymous namespace)::usage_info>::allocate' requested here map_info = m_info_pool.allocate (); ^ In file included from ../../src/gcc/gimple-ssa-backprop.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/gimple-ssa-backprop.c:581:11: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here m_vars.safe_push (var_info_pair (var, map_info)); ^ 31 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-isolate-paths.o -MT gimple-ssa-isolate-paths.o -MMD -MP -MF ./.deps/gimple-ssa-isolate-paths.TPo ../../src/gcc/gimple-ssa-isolate-paths.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-isolate-paths.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-isolate-paths.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-isolate-paths.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-isolate-paths.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-isolate-paths.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-nonnull-compare.o -MT gimple-ssa-nonnull-compare.o -MMD -MP -MF ./.deps/gimple-ssa-nonnull-compare.TPo ../../src/gcc/gimple-ssa-nonnull-compare.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-nonnull-compare.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-nonnull-compare.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-nonnull-compare.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-nonnull-compare.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-nonnull-compare.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-split-paths.o -MT gimple-ssa-split-paths.o -MMD -MP -MF ./.deps/gimple-ssa-split-paths.TPo ../../src/gcc/gimple-ssa-split-paths.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-split-paths.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-split-paths.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-split-paths.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-split-paths.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-split-paths.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-store-merging.o -MT gimple-ssa-store-merging.o -MMD -MP -MF ./.deps/gimple-ssa-store-merging.TPo ../../src/gcc/gimple-ssa-store-merging.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-store-merging.c:107: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:107: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:107: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:107: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-store-merging.c:110: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-store-merging.c:127: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-strength-reduction.o -MT gimple-ssa-strength-reduction.o -MMD -MP -MF ./.deps/gimple-ssa-strength-reduction.TPo ../../src/gcc/gimple-ssa-strength-reduction.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:38: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:40: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimple-ssa-strength-reduction.c:42: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-sprintf.o -MT gimple-ssa-sprintf.o -MMD -MP -MF ./.deps/gimple-ssa-sprintf.TPo ../../src/gcc/gimple-ssa-sprintf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-sprintf.c:50: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:50: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:50: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:50: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-sprintf.c:53: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimple-ssa-sprintf.c:74: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/gimple-ssa-sprintf.c:424:32: warning: unknown warning group '-Wsuggest-attribute=format', ignored [-Wunknown-warning-option] #pragma GCC diagnostic ignored "-Wsuggest-attribute=format" ^ 40 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-ssa-warn-alloca.o -MT gimple-ssa-warn-alloca.o -MMD -MP -MF ./.deps/gimple-ssa-warn-alloca.TPo ../../src/gcc/gimple-ssa-warn-alloca.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-ssa-warn-alloca.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-warn-alloca.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-warn-alloca.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-ssa-warn-alloca.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-ssa-warn-alloca.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-streamer-in.o -MT gimple-streamer-in.o -MMD -MP -MF ./.deps/gimple-streamer-in.TPo ../../src/gcc/gimple-streamer-in.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-streamer-in.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-streamer-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-streamer-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-streamer-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-streamer-in.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-streamer-in.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:29: ../../src/gcc/gimple-streamer.h:28:16: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer.h:28:16: note: did you mean class here? void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/gimple-streamer-in.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimple-streamer-in.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-in.c:32: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/gimple-streamer-in.c:33: ../../src/gcc/value-prof.h:110:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.h:110:40: note: did you mean class here? extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^~~~~~ class ../../src/gcc/gimple-streamer-in.c:39:12: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer-in.c:39:12: note: did you mean class here? input_phi (struct lto_input_block *ib, basic_block bb, struct data_in *data_in, ^~~~~~ class ../../src/gcc/gimple-streamer-in.c:86:20: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer-in.c:86:20: note: did you mean class here? input_gimple_stmt (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/gimple-streamer-in.c:252:11: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_bb (struct lto_input_block *ib, enum LTO_tags tag, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer-in.c:252:11: note: did you mean class here? input_bb (struct lto_input_block *ib, enum LTO_tags tag, ^~~~~~ class 68 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-streamer-out.o -MT gimple-streamer-out.o -MMD -MP -MF ./.deps/gimple-streamer-out.TPo ../../src/gcc/gimple-streamer-out.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-streamer-out.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-streamer-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-streamer-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-streamer-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-streamer-out.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimple-streamer-out.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:29: In file included from ../../src/gcc/gimple-streamer.h:25: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:29: ../../src/gcc/gimple-streamer.h:28:16: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer.h:28:16: note: did you mean class here? void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/gimple-streamer-out.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimple-streamer-out.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/gimple-streamer-out.c:32: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/gimple-streamer-out.c:33: ../../src/gcc/value-prof.h:110:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.h:110:40: note: did you mean class here? extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^~~~~~ class 65 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimple-walk.o -MT gimple-walk.o -MMD -MP -MF ./.deps/gimple-walk.TPo ../../src/gcc/gimple-walk.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimple-walk.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimple-walk.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-walk.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimple-walk.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimple-walk.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimplify.o -MT gimplify.o -MMD -MP -MF ./.deps/gimplify.TPo ../../src/gcc/gimplify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimplify.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimplify.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimplify.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimplify.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/gimplify.c:28: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/gimplify.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimplify.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/gimplify.c:30: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/gimplify.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/gimplify.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/gimplify.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gimplify-me.o -MT gimplify-me.o -MMD -MP -MF ./.deps/gimplify-me.TPo ../../src/gcc/gimplify-me.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gimplify-me.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gimplify-me.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimplify-me.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gimplify-me.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/gimplify-me.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o godump.o -MT godump.o -MMD -MP -MF ./.deps/godump.TPo ../../src/gcc/godump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/godump.c:32: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/godump.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/godump.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/godump.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/godump.c:964:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((DECL_NAME (field) == NULL)) ~~~~~~~~~~~~~~~~~~^~~~~~~ ../../src/gcc/godump.c:964:30: note: remove extraneous parentheses around the comparison to silence this warning if ((DECL_NAME (field) == NULL)) ~ ^ ~ ../../src/gcc/godump.c:964:30: note: use '=' to turn this equality comparison into an assignment if ((DECL_NAME (field) == NULL)) ^~ = 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graph.o -MT graph.o -MMD -MP -MF ./.deps/graph.TPo ../../src/gcc/graph.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/graph.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/graph.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/graph.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/graph.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphds.o -MT graphds.o -MMD -MP -MF ./.deps/graphds.TPo ../../src/gcc/graphds.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/graphds.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/graphds.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/graphds.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/graphds.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite.o -MT graphite.o -MMD -MP -MF ./.deps/graphite.TPo ../../src/gcc/graphite.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/graphite.c:34: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/graphite.c:34: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/graphite.c:34: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/graphite.c:34: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite-isl-ast-to-gimple.o -MT graphite-isl-ast-to-gimple.o -MMD -MP -MF ./.deps/graphite-isl-ast-to-gimple.TPo ../../src/gcc/graphite-isl-ast-to-gimple.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite-dependences.o -MT graphite-dependences.o -MMD -MP -MF ./.deps/graphite-dependences.TPo ../../src/gcc/graphite-dependences.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite-optimize-isl.o -MT graphite-optimize-isl.o -MMD -MP -MF ./.deps/graphite-optimize-isl.TPo ../../src/gcc/graphite-optimize-isl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite-poly.o -MT graphite-poly.o -MMD -MP -MF ./.deps/graphite-poly.TPo ../../src/gcc/graphite-poly.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite-scop-detection.o -MT graphite-scop-detection.o -MMD -MP -MF ./.deps/graphite-scop-detection.TPo ../../src/gcc/graphite-scop-detection.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o graphite-sese-to-poly.o -MT graphite-sese-to-poly.o -MMD -MP -MF ./.deps/graphite-sese-to-poly.TPo ../../src/gcc/graphite-sese-to-poly.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gtype-desc.o -MT gtype-desc.o -MMD -MP -MF ./.deps/gtype-desc.TPo gtype-desc.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from gtype-desc.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from gtype-desc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from gtype-desc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from gtype-desc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from gtype-desc.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from gtype-desc.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from gtype-desc.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from gtype-desc.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from gtype-desc.c:45: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from gtype-desc.c:45: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from gtype-desc.c:45: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from gtype-desc.c:73: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:75: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from gtype-desc.c:76: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from gtype-desc.c:78: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from gtype-desc.c:78: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from gtype-desc.c:79: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from gtype-desc.c:79: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from gtype-desc.c:79: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from gtype-desc.c:81: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from gtype-desc.c:82: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ gtype-desc.c:322:3: warning: struct 'string_concat_db' was previously declared as a class [-Wmismatched-tags] struct string_concat_db * const x = (struct string_concat_db *)x_p; ^ ../../src/gcc/input.h:131:15: note: previous use is here class GTY(()) string_concat_db ^ gtype-desc.c:322:3: note: did you mean class here? struct string_concat_db * const x = (struct string_concat_db *)x_p; ^~~~~~ class gtype-desc.c:322:40: warning: struct 'string_concat_db' was previously declared as a class [-Wmismatched-tags] struct string_concat_db * const x = (struct string_concat_db *)x_p; ^ ../../src/gcc/input.h:131:15: note: previous use is here class GTY(()) string_concat_db ^ gtype-desc.c:322:40: note: did you mean class here? struct string_concat_db * const x = (struct string_concat_db *)x_p; ^~~~~~ class gtype-desc.c:1512:12: warning: struct 'wide_int_storage' was previously declared as a class [-Wmismatched-tags] gt_ggc_mx (struct wide_int_storage& x_r ATTRIBUTE_UNUSED) ^ ../../src/gcc/wide-int.h:1003:15: note: previous use is here class GTY(()) wide_int_storage ^ gtype-desc.c:1512:12: note: did you mean class here? gt_ggc_mx (struct wide_int_storage& x_r ATTRIBUTE_UNUSED) ^~~~~~ class gtype-desc.c:1514:3: warning: struct 'wide_int_storage' was previously declared as a class [-Wmismatched-tags] struct wide_int_storage * ATTRIBUTE_UNUSED x = &x_r; ^ ../../src/gcc/wide-int.h:1003:15: note: previous use is here class GTY(()) wide_int_storage ^ gtype-desc.c:1514:3: note: did you mean class here? struct wide_int_storage * ATTRIBUTE_UNUSED x = &x_r; ^~~~~~ class gtype-desc.c:1751:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * x = (struct symtab_node *)x_p; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:1751:3: note: did you mean class here? struct symtab_node * x = (struct symtab_node *)x_p; ^~~~~~ class gtype-desc.c:1751:29: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * x = (struct symtab_node *)x_p; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:1751:29: note: did you mean class here? struct symtab_node * x = (struct symtab_node *)x_p; ^~~~~~ class gtype-desc.c:1752:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * xlimit = x; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:1752:3: note: did you mean class here? struct symtab_node * xlimit = x; ^~~~~~ class gtype-desc.c:1758:9: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * const xprev = ((*x).previous); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:1758:9: note: did you mean class here? struct symtab_node * const xprev = ((*x).previous); ^~~~~~ class gtype-desc.c:2076:12: warning: struct 'rtx_insn' was previously declared as a class [-Wmismatched-tags] gt_ggc_mx (struct rtx_insn *& x) ^ ../../src/gcc/rtl.h:520:15: note: previous use is here class GTY(()) rtx_insn : public rtx_def ^ gtype-desc.c:2076:12: note: did you mean class here? gt_ggc_mx (struct rtx_insn *& x) ^~~~~~ class gtype-desc.c:2677:3: warning: struct 'symbol_table' was previously declared as a class [-Wmismatched-tags] struct symbol_table * const x = (struct symbol_table *)x_p; ^ ../../src/gcc/cgraph.h:1976:29: note: previous use is here class GTY((tag ("SYMTAB"))) symbol_table ^ gtype-desc.c:2677:3: note: did you mean class here? struct symbol_table * const x = (struct symbol_table *)x_p; ^~~~~~ class gtype-desc.c:2677:36: warning: struct 'symbol_table' was previously declared as a class [-Wmismatched-tags] struct symbol_table * const x = (struct symbol_table *)x_p; ^ ../../src/gcc/cgraph.h:1976:29: note: previous use is here class GTY((tag ("SYMTAB"))) symbol_table ^ gtype-desc.c:2677:36: note: did you mean class here? struct symbol_table * const x = (struct symbol_table *)x_p; ^~~~~~ class gtype-desc.c:2740:12: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] gt_ggc_mx (struct symtab_node *& x) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:2740:12: note: did you mean class here? gt_ggc_mx (struct symtab_node *& x) ^~~~~~ class gtype-desc.c:3453:12: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] gt_ggc_mx (struct ipa_polymorphic_call_context& x_r ATTRIBUTE_UNUSED) ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ gtype-desc.c:3453:12: note: did you mean class here? gt_ggc_mx (struct ipa_polymorphic_call_context& x_r ATTRIBUTE_UNUSED) ^~~~~~ class gtype-desc.c:3455:3: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context * ATTRIBUTE_UNUSED x = &x_r; ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ gtype-desc.c:3455:3: note: did you mean class here? struct ipa_polymorphic_call_context * ATTRIBUTE_UNUSED x = &x_r; ^~~~~~ class gtype-desc.c:3801:3: warning: struct 'string_concat_db' was previously declared as a class [-Wmismatched-tags] struct string_concat_db * const x = (struct string_concat_db *)x_p; ^ ../../src/gcc/input.h:131:15: note: previous use is here class GTY(()) string_concat_db ^ gtype-desc.c:3801:3: note: did you mean class here? struct string_concat_db * const x = (struct string_concat_db *)x_p; ^~~~~~ class gtype-desc.c:3801:40: warning: struct 'string_concat_db' was previously declared as a class [-Wmismatched-tags] struct string_concat_db * const x = (struct string_concat_db *)x_p; ^ ../../src/gcc/input.h:131:15: note: previous use is here class GTY(()) string_concat_db ^ gtype-desc.c:3801:40: note: did you mean class here? struct string_concat_db * const x = (struct string_concat_db *)x_p; ^~~~~~ class gtype-desc.c:4991:12: warning: struct 'wide_int_storage' was previously declared as a class [-Wmismatched-tags] gt_pch_nx (struct wide_int_storage& x_r ATTRIBUTE_UNUSED) ^ ../../src/gcc/wide-int.h:1003:15: note: previous use is here class GTY(()) wide_int_storage ^ gtype-desc.c:4991:12: note: did you mean class here? gt_pch_nx (struct wide_int_storage& x_r ATTRIBUTE_UNUSED) ^~~~~~ class gtype-desc.c:4993:3: warning: struct 'wide_int_storage' was previously declared as a class [-Wmismatched-tags] struct wide_int_storage * ATTRIBUTE_UNUSED x = &x_r; ^ ../../src/gcc/wide-int.h:1003:15: note: previous use is here class GTY(()) wide_int_storage ^ gtype-desc.c:4993:3: note: did you mean class here? struct wide_int_storage * ATTRIBUTE_UNUSED x = &x_r; ^~~~~~ class gtype-desc.c:5230:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * x = (struct symtab_node *)x_p; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:5230:3: note: did you mean class here? struct symtab_node * x = (struct symtab_node *)x_p; ^~~~~~ class gtype-desc.c:5230:29: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * x = (struct symtab_node *)x_p; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:5230:29: note: did you mean class here? struct symtab_node * x = (struct symtab_node *)x_p; ^~~~~~ class gtype-desc.c:5231:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * xlimit = x; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:5231:3: note: did you mean class here? struct symtab_node * xlimit = x; ^~~~~~ class gtype-desc.c:5237:9: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * const xprev = ((*x).previous); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:5237:9: note: did you mean class here? struct symtab_node * const xprev = ((*x).previous); ^~~~~~ class gtype-desc.c:5555:12: warning: struct 'rtx_insn' was previously declared as a class [-Wmismatched-tags] gt_pch_nx (struct rtx_insn *& x) ^ ../../src/gcc/rtl.h:520:15: note: previous use is here class GTY(()) rtx_insn : public rtx_def ^ gtype-desc.c:5555:12: note: did you mean class here? gt_pch_nx (struct rtx_insn *& x) ^~~~~~ class gtype-desc.c:6156:3: warning: struct 'symbol_table' was previously declared as a class [-Wmismatched-tags] struct symbol_table * const x = (struct symbol_table *)x_p; ^ ../../src/gcc/cgraph.h:1976:29: note: previous use is here class GTY((tag ("SYMTAB"))) symbol_table ^ gtype-desc.c:6156:3: note: did you mean class here? struct symbol_table * const x = (struct symbol_table *)x_p; ^~~~~~ class gtype-desc.c:6156:36: warning: struct 'symbol_table' was previously declared as a class [-Wmismatched-tags] struct symbol_table * const x = (struct symbol_table *)x_p; ^ ../../src/gcc/cgraph.h:1976:29: note: previous use is here class GTY((tag ("SYMTAB"))) symbol_table ^ gtype-desc.c:6156:36: note: did you mean class here? struct symbol_table * const x = (struct symbol_table *)x_p; ^~~~~~ class gtype-desc.c:6219:12: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] gt_pch_nx (struct symtab_node *& x) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:6219:12: note: did you mean class here? gt_pch_nx (struct symtab_node *& x) ^~~~~~ class gtype-desc.c:6932:12: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] gt_pch_nx (struct ipa_polymorphic_call_context& x_r ATTRIBUTE_UNUSED) ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ gtype-desc.c:6932:12: note: did you mean class here? gt_pch_nx (struct ipa_polymorphic_call_context& x_r ATTRIBUTE_UNUSED) ^~~~~~ class gtype-desc.c:6934:3: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context * ATTRIBUTE_UNUSED x = &x_r; ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ gtype-desc.c:6934:3: note: did you mean class here? struct ipa_polymorphic_call_context * ATTRIBUTE_UNUSED x = &x_r; ^~~~~~ class gtype-desc.c:7321:3: warning: struct 'string_concat_db' was previously declared as a class [-Wmismatched-tags] struct string_concat_db * x ATTRIBUTE_UNUSED = (struct string_concat_db *)x_p; ^ ../../src/gcc/input.h:131:15: note: previous use is here class GTY(()) string_concat_db ^ gtype-desc.c:7321:3: note: did you mean class here? struct string_concat_db * x ATTRIBUTE_UNUSED = (struct string_concat_db *)x_p; ^~~~~~ class gtype-desc.c:7321:51: warning: struct 'string_concat_db' was previously declared as a class [-Wmismatched-tags] struct string_concat_db * x ATTRIBUTE_UNUSED = (struct string_concat_db *)x_p; ^ ../../src/gcc/input.h:131:15: note: previous use is here class GTY(()) string_concat_db ^ gtype-desc.c:7321:51: note: did you mean class here? struct string_concat_db * x ATTRIBUTE_UNUSED = (struct string_concat_db *)x_p; ^~~~~~ class gtype-desc.c:7332:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:7332:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:7332:73: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:7332:73: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:8849:3: warning: struct 'generic_wide_int' was previously declared as a class [-Wmismatched-tags] struct generic_wide_int * x ATTRIBUTE_UNUSED = (struct generic_wide_int *)x_p; ^ ../../src/gcc/wide-int.h:649:15: note: previous use is here class GTY(()) generic_wide_int : public storage ^ gtype-desc.c:8849:3: note: did you mean class here? struct generic_wide_int * x ATTRIBUTE_UNUSED = (struct generic_wide_int *)x_p; ^~~~~~ class gtype-desc.c:8849:69: warning: struct 'generic_wide_int' was previously declared as a class [-Wmismatched-tags] struct generic_wide_int * x ATTRIBUTE_UNUSED = (struct generic_wide_int *)x_p; ^ ../../src/gcc/wide-int.h:649:15: note: previous use is here class GTY(()) generic_wide_int : public storage ^ gtype-desc.c:8849:69: note: did you mean class here? struct generic_wide_int * x ATTRIBUTE_UNUSED = (struct generic_wide_int *)x_p; ^~~~~~ class gtype-desc.c:8855:12: warning: struct 'wide_int_storage' was previously declared as a class [-Wmismatched-tags] gt_pch_nx (struct wide_int_storage* x ATTRIBUTE_UNUSED, ^ ../../src/gcc/wide-int.h:1003:15: note: previous use is here class GTY(()) wide_int_storage ^ gtype-desc.c:8855:12: note: did you mean class here? gt_pch_nx (struct wide_int_storage* x ATTRIBUTE_UNUSED, ^~~~~~ class gtype-desc.c:9105:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * x ATTRIBUTE_UNUSED = (struct symtab_node *)x_p; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:9105:3: note: did you mean class here? struct symtab_node * x ATTRIBUTE_UNUSED = (struct symtab_node *)x_p; ^~~~~~ class gtype-desc.c:9105:46: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node * x ATTRIBUTE_UNUSED = (struct symtab_node *)x_p; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ gtype-desc.c:9105:46: note: did you mean class here? struct symtab_node * x ATTRIBUTE_UNUSED = (struct symtab_node *)x_p; ^~~~~~ class gtype-desc.c:9393:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:9393:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:9393:61: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:9393:61: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:9614:3: warning: struct 'hash_set' was previously declared as a class [-Wmismatched-tags] struct hash_set * x ATTRIBUTE_UNUSED = (struct hash_set *)x_p; ^ ../../src/gcc/hash-set.h:25:7: note: previous use is here class hash_set ^ gtype-desc.c:9614:3: note: did you mean class here? struct hash_set * x ATTRIBUTE_UNUSED = (struct hash_set *)x_p; ^~~~~~ class gtype-desc.c:9614:49: warning: struct 'hash_set' was previously declared as a class [-Wmismatched-tags] struct hash_set * x ATTRIBUTE_UNUSED = (struct hash_set *)x_p; ^ ../../src/gcc/hash-set.h:25:7: note: previous use is here class hash_set ^ gtype-desc.c:9614:49: note: did you mean class here? struct hash_set * x ATTRIBUTE_UNUSED = (struct hash_set *)x_p; ^~~~~~ class gtype-desc.c:9647:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:9647:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:9647:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:9647:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:9786:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:9786:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:9786:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:9786:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10025:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10025:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10025:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10025:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10071:3: warning: struct 'symbol_table' was previously declared as a class [-Wmismatched-tags] struct symbol_table * x ATTRIBUTE_UNUSED = (struct symbol_table *)x_p; ^ ../../src/gcc/cgraph.h:1976:29: note: previous use is here class GTY((tag ("SYMTAB"))) symbol_table ^ gtype-desc.c:10071:3: note: did you mean class here? struct symbol_table * x ATTRIBUTE_UNUSED = (struct symbol_table *)x_p; ^~~~~~ class gtype-desc.c:10071:47: warning: struct 'symbol_table' was previously declared as a class [-Wmismatched-tags] struct symbol_table * x ATTRIBUTE_UNUSED = (struct symbol_table *)x_p; ^ ../../src/gcc/cgraph.h:1976:29: note: previous use is here class GTY((tag ("SYMTAB"))) symbol_table ^ gtype-desc.c:10071:47: note: did you mean class here? struct symbol_table * x ATTRIBUTE_UNUSED = (struct symbol_table *)x_p; ^~~~~~ class gtype-desc.c:10096:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10096:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10096:66: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10096:66: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10114:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10114:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10114:61: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10114:61: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10132:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:10132:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:10132:77: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:10132:77: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:10628:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:10628:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:10628:56: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:10628:56: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:10661:3: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:10661:3: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:10661:54: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ gtype-desc.c:10661:54: note: did you mean class here? struct hash_map * x ATTRIBUTE_UNUSED = (struct hash_map *)x_p; ^~~~~~ class gtype-desc.c:10672:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10672:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10672:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10672:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10690:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10690:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10690:64: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10690:64: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10862:12: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] gt_pch_nx (struct ipa_polymorphic_call_context* x ATTRIBUTE_UNUSED, ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ gtype-desc.c:10862:12: note: did you mean class here? gt_pch_nx (struct ipa_polymorphic_call_context* x ATTRIBUTE_UNUSED, ^~~~~~ class gtype-desc.c:10876:3: warning: struct 'ipa_node_params_t' was previously declared as a class [-Wmismatched-tags] struct ipa_node_params_t * x ATTRIBUTE_UNUSED = (struct ipa_node_params_t *)x_p; ^ ../../src/gcc/ipa-prop.h:601:19: note: previous use is here class GTY((user)) ipa_node_params_t: public function_summary ^ gtype-desc.c:10876:3: note: did you mean class here? struct ipa_node_params_t * x ATTRIBUTE_UNUSED = (struct ipa_node_params_t *)x_p; ^~~~~~ class gtype-desc.c:10876:52: warning: struct 'ipa_node_params_t' was previously declared as a class [-Wmismatched-tags] struct ipa_node_params_t * x ATTRIBUTE_UNUSED = (struct ipa_node_params_t *)x_p; ^ ../../src/gcc/ipa-prop.h:601:19: note: previous use is here class GTY((user)) ipa_node_params_t: public function_summary ^ gtype-desc.c:10876:52: note: did you mean class here? struct ipa_node_params_t * x ATTRIBUTE_UNUSED = (struct ipa_node_params_t *)x_p; ^~~~~~ class gtype-desc.c:10928:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10928:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10928:64: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ gtype-desc.c:10928:64: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class gtype-desc.c:10983:3: warning: struct 'function_summary' was previously declared as a class [-Wmismatched-tags] struct function_summary * x ATTRIBUTE_UNUSED = (struct function_summary *)x_p; ^ ../../src/gcc/symbol-summary.h:35:19: note: previous use is here class GTY((user)) function_summary ^ gtype-desc.c:10983:3: note: did you mean class here? struct function_summary * x ATTRIBUTE_UNUSED = (struct function_summary *)x_p; ^~~~~~ class gtype-desc.c:10983:68: warning: struct 'function_summary' was previously declared as a class [-Wmismatched-tags] struct function_summary * x ATTRIBUTE_UNUSED = (struct function_summary *)x_p; ^ ../../src/gcc/symbol-summary.h:35:19: note: previous use is here class GTY((user)) function_summary ^ gtype-desc.c:10983:68: note: did you mean class here? struct function_summary * x ATTRIBUTE_UNUSED = (struct function_summary *)x_p; ^~~~~~ class 137 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o haifa-sched.o -MT haifa-sched.o -MMD -MP -MF ./.deps/haifa-sched.TPo ../../src/gcc/haifa-sched.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/haifa-sched.c:127: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/haifa-sched.c:127: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/haifa-sched.c:127: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/haifa-sched.c:127: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:129: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/haifa-sched.c:130: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/haifa-sched.c:130: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/haifa-sched.c:130: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/haifa-sched.c:132: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/haifa-sched.c:132: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/haifa-sched.c:132: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/haifa-sched.c:143: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hash-map-tests.o -MT hash-map-tests.o -MMD -MP -MF ./.deps/hash-map-tests.TPo ../../src/gcc/hash-map-tests.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hash-map-tests.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hash-map-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-map-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-map-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hash-set-tests.o -MT hash-set-tests.o -MMD -MP -MF ./.deps/hash-set-tests.TPo ../../src/gcc/hash-set-tests.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hash-set-tests.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hash-set-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-set-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-set-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hsa-common.o -MT hsa-common.o -MMD -MP -MF ./.deps/hsa-common.TPo ../../src/gcc/hsa-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hsa-common.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hsa-common.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-common.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-common.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/hsa-common.c:34: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/hsa-common.c:34: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/hsa-common.c:34: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/hsa-common.c:35: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/hsa-common.c:35: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/hsa-common.c:35: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/hsa-common.c:39: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class 17 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hsa-gen.o -MT hsa-gen.o -MMD -MP -MF ./.deps/hsa-gen.TPo ../../src/gcc/hsa-gen.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hsa-gen.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hsa-gen.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-gen.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-gen.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/hsa-gen.c:36: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/hsa-gen.c:49: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/hsa-gen.c:49: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/hsa-gen.c:49: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/hsa-gen.c:52: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class 34 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hsa-regalloc.o -MT hsa-regalloc.o -MMD -MP -MF ./.deps/hsa-regalloc.TPo ../../src/gcc/hsa-regalloc.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hsa-regalloc.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hsa-regalloc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-regalloc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-regalloc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/hsa-regalloc.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/hsa-regalloc.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/hsa-regalloc.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/hsa-regalloc.c:38: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class ../../src/gcc/hsa-regalloc.c:250:20: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] hsa_bb *hbb = (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-regalloc.c:250:20: note: did you mean class here? hsa_bb *hbb = (struct hsa_bb *) bb->aux; ^~~~~~ class 15 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hsa-brig.o -MT hsa-brig.o -MMD -MP -MF ./.deps/hsa-brig.TPo ../../src/gcc/hsa-brig.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hsa-brig.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hsa-brig.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-brig.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-brig.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/hsa-brig.c:36: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/hsa-brig.c:43: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/hsa-brig.c:43: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/hsa-brig.c:43: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/hsa-brig.c:47: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class ../../src/gcc/hsa-brig.c:181:8: warning: struct 'hsa_brig_section' was previously declared as a class [-Wmismatched-tags] static struct hsa_brig_section brig_data, brig_code, brig_operand; ^ ../../src/gcc/hsa-brig.c:152:7: note: previous use is here class hsa_brig_section ^ ../../src/gcc/hsa-brig.c:181:8: note: did you mean class here? static struct hsa_brig_section brig_data, brig_code, brig_operand; ^~~~~~ class In file included from ../../src/gcc/hsa-brig.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/hsa-brig.c:1656:29: note: in instantiation of member function 'vec::safe_push' requested here function_call_linkage.safe_push (pair); ^ 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hsa-dump.o -MT hsa-dump.o -MMD -MP -MF ./.deps/hsa-dump.TPo ../../src/gcc/hsa-dump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hsa-dump.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hsa-dump.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-dump.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hsa-dump.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/hsa-dump.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/hsa-dump.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/hsa-dump.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/hsa-dump.c:36: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class ../../src/gcc/hsa-dump.c:1231:22: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] hsa_bb *hbb = (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-dump.c:1231:22: note: did you mean class here? hsa_bb *hbb = (struct hsa_bb *) bb->aux; ^~~~~~ class 15 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hw-doloop.o -MT hw-doloop.o -MMD -MP -MF ./.deps/hw-doloop.TPo ../../src/gcc/hw-doloop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hw-doloop.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hw-doloop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hw-doloop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hw-doloop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/hw-doloop.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/hw-doloop.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/hw-doloop.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/hw-doloop.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/hw-doloop.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/hw-doloop.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hwint.o -MT hwint.o -MMD -MP -MF ./.deps/hwint.TPo ../../src/gcc/hwint.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hwint.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hwint.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hwint.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hwint.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ifcvt.o -MT ifcvt.o -MMD -MP -MF ./.deps/ifcvt.TPo ../../src/gcc/ifcvt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ifcvt.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ifcvt.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ifcvt.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ifcvt.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ifcvt.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ifcvt.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ifcvt.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ifcvt.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ifcvt.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ifcvt.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ifcvt.c:41: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ree.o -MT ree.o -MMD -MP -MF ./.deps/ree.TPo ../../src/gcc/ree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ree.c:220: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ree.c:220: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ree.c:220: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ree.c:220: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:222: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ree.c:223: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ree.c:223: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ree.c:223: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ree.c:225: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ree.c:225: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ree.c:225: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o inchash.o -MT inchash.o -MMD -MP -MF ./.deps/inchash.TPo ../../src/gcc/inchash.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/inchash.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/inchash.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/inchash.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/inchash.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o incpath.o -MT incpath.o -MMD -MP -MF ./.deps/incpath.TPo ../../src/gcc/incpath.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/incpath.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/incpath.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/incpath.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/incpath.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/incpath.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o init-regs.o -MT init-regs.o -MMD -MP -MF ./.deps/init-regs.TPo ../../src/gcc/init-regs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/init-regs.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/init-regs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/init-regs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/init-regs.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/init-regs.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/init-regs.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/init-regs.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/init-regs.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/init-regs.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/init-regs.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o internal-fn.o -MT internal-fn.o -MMD -MP -MF ./.deps/internal-fn.TPo ../../src/gcc/internal-fn.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/internal-fn.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/internal-fn.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/internal-fn.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/internal-fn.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/internal-fn.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/internal-fn.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/internal-fn.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/internal-fn.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-chkp.o -MT ipa-chkp.o -MMD -MP -MF ./.deps/ipa-chkp.TPo ../../src/gcc/ipa-chkp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-chkp.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-chkp.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-chkp.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-chkp.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-chkp.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-chkp.c:30: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/ipa-chkp.c:30: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-chkp.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-chkp.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-chkp.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-cp.o -MT ipa-cp.o -MMD -MP -MF ./.deps/ipa-cp.TPo ../../src/gcc/ipa-cp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-cp.c:105: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-cp.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-cp.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-cp.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-cp.c:110: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-cp.c:110: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-cp.c:110: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-cp.c:112: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-cp.c:112: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-cp.c:112: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-cp.c:118: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-cp.c:122: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ ../../src/gcc/ipa-cp.c:238:3: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *next; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:318:1: warning: 'ipcp_param_lattices' defined as a class here but previously declared as a struct [-Wmismatched-tags] class ipcp_param_lattices ^ ../../src/gcc/ipa-prop.h:335:3: note: did you mean class here? struct ipcp_param_lattices * GTY((skip)) lattices; ^~~~~~ class ../../src/gcc/ipa-cp.c:371:15: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] static inline struct ipcp_param_lattices * ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:371:15: note: did you mean class here? static inline struct ipcp_param_lattices * ^~~~~~ class ../../src/gcc/ipa-cp.c:385:3: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:385:3: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:394:3: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:394:3: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:404:3: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:404:3: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:547:4: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:547:4: note: did you mean class here? struct ipcp_agg_lattice *aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:548:4: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:548:4: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:789:22: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] build_toporder_info (struct ipa_topo_info *topo) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:789:22: note: did you mean class here? build_toporder_info (struct ipa_topo_info *topo) ^~~~~~ class ../../src/gcc/ipa-cp.c:802:21: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] free_toporder_info (struct ipa_topo_info *topo) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:802:21: note: did you mean class here? free_toporder_info (struct ipa_topo_info *topo) ^~~~~~ class ../../src/gcc/ipa-cp.c:812:21: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] push_node_to_stack (struct ipa_topo_info *topo, struct cgraph_node *node) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:812:21: note: did you mean class here? push_node_to_stack (struct ipa_topo_info *topo, struct cgraph_node *node) ^~~~~~ class ../../src/gcc/ipa-cp.c:825:22: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] pop_node_from_stack (struct ipa_topo_info *topo) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:825:22: note: did you mean class here? pop_node_from_stack (struct ipa_topo_info *topo) ^~~~~~ class ../../src/gcc/ipa-cp.c:867:25: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] set_agg_lats_to_bottom (struct ipcp_param_lattices *plats) ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:867:25: note: did you mean class here? set_agg_lats_to_bottom (struct ipcp_param_lattices *plats) ^~~~~~ class ../../src/gcc/ipa-cp.c:878:32: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] set_agg_lats_contain_variable (struct ipcp_param_lattices *plats) ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:878:32: note: did you mean class here? set_agg_lats_contain_variable (struct ipcp_param_lattices *plats) ^~~~~~ class ../../src/gcc/ipa-cp.c:1096:28: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] set_all_contains_variable (struct ipcp_param_lattices *plats) ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1096:28: note: did you mean class here? set_all_contains_variable (struct ipcp_param_lattices *plats) ^~~~~~ class ../../src/gcc/ipa-cp.c:1176:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1176:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:1184:4: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1184:4: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:1814:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_lats ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1814:7: note: did you mean class here? struct ipcp_param_lattices *src_lats ^~~~~~ class ../../src/gcc/ipa-cp.c:1868:8: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *dest_plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1868:8: note: did you mean class here? struct ipcp_param_lattices *dest_plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:1890:4: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_lats ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1890:4: note: did you mean class here? struct ipcp_param_lattices *src_lats ^~~~~~ class ../../src/gcc/ipa-cp.c:1937:24: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] set_check_aggs_by_ref (struct ipcp_param_lattices *dest_plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1937:24: note: did you mean class here? set_check_aggs_by_ref (struct ipcp_param_lattices *dest_plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:1964:22: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] merge_agg_lats_step (struct ipcp_param_lattices *dest_plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:1964:22: note: did you mean class here? merge_agg_lats_step (struct ipcp_param_lattices *dest_plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:1966:8: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice ***aglat, ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:1966:8: note: did you mean class here? struct ipcp_agg_lattice ***aglat, ^~~~~~ class ../../src/gcc/ipa-cp.c:1997:7: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *new_al; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:1997:7: note: did you mean class here? struct ipcp_agg_lattice *new_al; ^~~~~~ class ../../src/gcc/ipa-cp.c:2024:40: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] set_chain_of_aglats_contains_variable (struct ipcp_agg_lattice *aglat) ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2024:40: note: did you mean class here? set_chain_of_aglats_contains_variable (struct ipcp_agg_lattice *aglat) ^~~~~~ class ../../src/gcc/ipa-cp.c:2042:6: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *dest_plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2042:6: note: did you mean class here? struct ipcp_param_lattices *dest_plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:2043:6: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2043:6: note: did you mean class here? struct ipcp_param_lattices *src_plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:2047:3: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice **dst_aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2047:3: note: did you mean class here? struct ipcp_agg_lattice **dst_aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:2058:8: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] for (struct ipcp_agg_lattice *src_aglat = src_plats->aggs; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2058:8: note: did you mean class here? for (struct ipcp_agg_lattice *src_aglat = src_plats->aggs; ^~~~~~ class ../../src/gcc/ipa-cp.c:2069:4: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *new_al = *dst_aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2069:4: note: did you mean class here? struct ipcp_agg_lattice *new_al = *dst_aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:2097:33: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] agg_pass_through_permissible_p (struct ipcp_param_lattices *src_plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2097:33: note: did you mean class here? agg_pass_through_permissible_p (struct ipcp_param_lattices *src_plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:2111:10: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *dest_plats) ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2111:10: note: did you mean class here? struct ipcp_param_lattices *dest_plats) ^~~~~~ class ../../src/gcc/ipa-cp.c:2123:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2123:7: note: did you mean class here? struct ipcp_param_lattices *src_plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:2142:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2142:7: note: did you mean class here? struct ipcp_param_lattices *src_plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:2161:7: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice **aglat = &dest_plats->aggs; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2161:7: note: did you mean class here? struct ipcp_agg_lattice **aglat = &dest_plats->aggs; ^~~~~~ class ../../src/gcc/ipa-cp.c:2265:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *dest_plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2265:7: note: did you mean class here? struct ipcp_param_lattices *dest_plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:2668:39: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] context_independent_aggregate_values (struct ipcp_param_lattices *plats) ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2668:39: note: did you mean class here? context_independent_aggregate_values (struct ipcp_param_lattices *plats) ^~~~~~ class ../../src/gcc/ipa-cp.c:2677:8: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] for (struct ipcp_agg_lattice *aglat = plats->aggs; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2677:8: note: did you mean class here? for (struct ipcp_agg_lattice *aglat = plats->aggs; ^~~~~~ class ../../src/gcc/ipa-cp.c:2722:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2722:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:2908:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2908:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:2942:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2942:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:2977:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:2977:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:2979:7: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:2979:7: note: did you mean class here? struct ipcp_agg_lattice *aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:3099:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3099:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:3101:7: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:3101:7: note: did you mean class here? struct ipcp_agg_lattice *aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:3134:27: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] propagate_constants_topo (struct ipa_topo_info *topo) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:3134:27: note: did you mean class here? propagate_constants_topo (struct ipa_topo_info *topo) ^~~~~~ class ../../src/gcc/ipa-cp.c:3237:23: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] ipcp_propagate_stage (struct ipa_topo_info *topo) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:3237:23: note: did you mean class here? ipcp_propagate_stage (struct ipa_topo_info *topo) ^~~~~~ class ../../src/gcc/ipa-cp.c:3255:29: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] info->lattices = XCNEWVEC (struct ipcp_param_lattices, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3255:29: note: did you mean class here? info->lattices = XCNEWVEC (struct ipcp_param_lattices, ^~~~~~ class ../../src/gcc/../include/libiberty.h:358:27: note: expanded from macro 'XCNEWVEC' #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) ^ ../../src/gcc/ipa-cp.c:3255:29: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] info->lattices = XCNEWVEC (struct ipcp_param_lattices, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3255:29: note: did you mean class here? info->lattices = XCNEWVEC (struct ipcp_param_lattices, ^~~~~~ class ../../src/gcc/../include/libiberty.h:358:54: note: expanded from macro 'XCNEWVEC' #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) ^ ../../src/gcc/ipa-cp.c:3459:7: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:3459:7: note: did you mean class here? struct ipcp_agg_lattice *aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:3460:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (caller_info, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3460:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (caller_info, ^~~~~~ class ../../src/gcc/ipa-cp.c:3502:3: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (caller_info, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3502:3: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (caller_info, ^~~~~~ class ../../src/gcc/ipa-cp.c:3963:22: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] copy_plats_to_inter (struct ipcp_param_lattices *plats, HOST_WIDE_INT offset) ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3963:22: note: did you mean class here? copy_plats_to_inter (struct ipcp_param_lattices *plats, HOST_WIDE_INT offset) ^~~~~~ class ../../src/gcc/ipa-cp.c:3970:8: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] for (struct ipcp_agg_lattice *aglat = plats->aggs; aglat; aglat = aglat->next) ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:3970:8: note: did you mean class here? for (struct ipcp_agg_lattice *aglat = plats->aggs; aglat; aglat = aglat->next) ^~~~~~ class ../../src/gcc/ipa-cp.c:3985:23: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] intersect_with_plats (struct ipcp_param_lattices *plats, ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:3985:23: note: did you mean class here? intersect_with_plats (struct ipcp_param_lattices *plats, ^~~~~~ class ../../src/gcc/ipa-cp.c:3989:3: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:3989:3: note: did you mean class here? struct ipcp_agg_lattice *aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:4109:4: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *orig_plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:4109:4: note: did you mean class here? struct ipcp_param_lattices *orig_plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:4128:4: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:4128:4: note: did you mean class here? struct ipcp_param_lattices *src_plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:4152:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *src_plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:4152:7: note: did you mean class here? struct ipcp_param_lattices *src_plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:4245:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (dest_info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:4245:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (dest_info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:4375:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats; ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:4375:7: note: did you mean class here? struct ipcp_param_lattices *plats; ^~~~~~ class ../../src/gcc/ipa-cp.c:4653:7: warning: struct 'ipcp_param_lattices' was previously declared as a class [-Wmismatched-tags] struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^ ../../src/gcc/ipa-cp.c:318:7: note: previous use is here class ipcp_param_lattices ^ ../../src/gcc/ipa-cp.c:4653:7: note: did you mean class here? struct ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i); ^~~~~~ class ../../src/gcc/ipa-cp.c:4668:4: warning: struct 'ipcp_agg_lattice' was previously declared as a class [-Wmismatched-tags] struct ipcp_agg_lattice *aglat; ^ ../../src/gcc/ipa-cp.c:229:7: note: previous use is here class ipcp_agg_lattice : public ipcp_lattice ^ ../../src/gcc/ipa-cp.c:4668:4: note: did you mean class here? struct ipcp_agg_lattice *aglat; ^~~~~~ class ../../src/gcc/ipa-cp.c:4805:22: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] ipcp_decision_stage (struct ipa_topo_info *topo) ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:4805:22: note: did you mean class here? ipcp_decision_stage (struct ipa_topo_info *topo) ^~~~~~ class ../../src/gcc/ipa-cp.c:4981:3: warning: struct 'ipa_topo_info' was previously declared as a class [-Wmismatched-tags] struct ipa_topo_info topo; ^ ../../src/gcc/ipa-cp.c:768:7: note: previous use is here class ipa_topo_info ^ ../../src/gcc/ipa-cp.c:4981:3: note: did you mean class here? struct ipa_topo_info topo; ^~~~~~ class In file included from ../../src/gcc/ipa-cp.c:110: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-cp.c:1475:30: note: in instantiation of member function 'object_allocator >::allocate' requested here val = ipcp_cst_values_pool.allocate (); ^ In file included from ../../src/gcc/ipa-cp.c:110: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-cp.c:1475:30: note: in instantiation of member function 'object_allocator >::allocate' requested here val = ipcp_cst_values_pool.allocate (); ^ In file included from ../../src/gcc/ipa-cp.c:110: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/ipa-cp.c:1539:26: note: in instantiation of member function 'object_allocator >::remove' requested here ipcp_sources_pool.remove ((ipcp_value_source*)src); ^ ../../src/gcc/ipa-cp.c:1579:21: note: in instantiation of member function 'ipcp_lattice::add_value' requested here ret |= dest_lat->add_value (cstval, cs, src_val, src_idx); ^ In file included from ../../src/gcc/ipa-cp.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/ipa-cp.c:2708:19: note: in instantiation of member function 'vec::create' requested here known_contexts->create (0); ^ In file included from ../../src/gcc/ipa-cp.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:364:38: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:564:8: note: in instantiation of function template specialization 'va_gc::reserve' requested here A::reserve (v, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:573:10: note: in instantiation of function template specialization 'vec_safe_reserve' requested here return vec_safe_reserve (v, nelems, true PASS_MEM_STAT); ^ ../../src/gcc/ipa-cp.c:4948:7: note: in instantiation of function template specialization 'vec_safe_reserve_exact' requested here vec_safe_reserve_exact (ts->m_vr, count); ^ ../../src/gcc/ipa-cp.c:402:1: warning: unused function 'ipa_get_vr_lat' [-Wunused-function] ipa_get_vr_lat (struct ipa_node_params *info, int i) ^ 88 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-devirt.o -MT ipa-devirt.o -MMD -MP -MF ./.deps/ipa-devirt.TPo ../../src/gcc/ipa-devirt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-devirt.c:110: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-devirt.c:110: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-devirt.c:110: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-devirt.c:110: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-devirt.c:112: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-devirt.c:112: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-devirt.c:112: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-devirt.c:114: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-devirt.c:115: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-devirt.c:115: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-devirt.c:115: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-devirt.c:117: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-devirt.c:117: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-devirt.c:117: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-devirt.c:118: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-devirt.c:118: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-devirt.c:126: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-devirt.c:127: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ ../../src/gcc/ipa-devirt.c:2260:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *n; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/ipa-devirt.c:2260:3: note: did you mean class here? struct symtab_node *n; ^~~~~~ class 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-polymorphic-call.o -MT ipa-polymorphic-call.o -MMD -MP -MF ./.deps/ipa-polymorphic-call.TPo ../../src/gcc/ipa-polymorphic-call.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-polymorphic-call.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-polymorphic-call.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-polymorphic-call.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-polymorphic-call.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-polymorphic-call.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-polymorphic-call.c:32: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/ipa-polymorphic-call.c:32: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-polymorphic-call.c:32: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/ipa-polymorphic-call.c:691:42: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ipa_polymorphic_call_context::stream_in (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-polymorphic-call.c:691:42: note: did you mean class here? ipa_polymorphic_call_context::stream_in (struct lto_input_block *ib, ^~~~~~ class 58 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-split.o -MT ipa-split.o -MMD -MP -MF ./.deps/ipa-split.TPo ../../src/gcc/ipa-split.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-split.c:79: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-split.c:79: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-split.c:79: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-split.c:79: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-split.c:81: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-split.c:81: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-split.c:81: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-split.c:83: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-split.c:85: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-split.c:85: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-split.c:85: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-split.c:88: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-split.c:88: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-split.c:88: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-split.c:98: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-split.c:105: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ 40 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-inline.o -MT ipa-inline.o -MMD -MP -MF ./.deps/ipa-inline.TPo ../../src/gcc/ipa-inline.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-inline.c:94: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-inline.c:94: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-inline.c:94: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-inline.c:94: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:96: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-inline.c:97: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-inline.c:97: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-inline.c:97: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-inline.c:99: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-inline.c:100: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline.c:100: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline.c:100: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline.c:103: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-inline.c:103: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-inline.c:103: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-inline.c:104: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-inline.c:104: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-inline.c:112: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-inline.c:113: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ 65 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-comdats.o -MT ipa-comdats.o -MMD -MP -MF ./.deps/ipa-comdats.TPo ../../src/gcc/ipa-comdats.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-comdats.c:53: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-comdats.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-comdats.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-comdats.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-comdats.c:57: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-comdats.c:57: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-comdats.c:57: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/ipa-comdats.c:65:25: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] propagate_comdat_group (struct symtab_node *symbol, ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/ipa-comdats.c:65:25: note: did you mean class here? propagate_comdat_group (struct symtab_node *symbol, ^~~~~~ class ../../src/gcc/ipa-comdats.c:77:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *symbol2 = ref->referring; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/ipa-comdats.c:77:7: note: did you mean class here? struct symtab_node *symbol2 = ref->referring; ^~~~~~ class ../../src/gcc/ipa-comdats.c:126:2: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *symbol2 = edge->caller; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/ipa-comdats.c:126:2: note: did you mean class here? struct symtab_node *symbol2 = edge->caller; ^~~~~~ class 15 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-visibility.o -MT ipa-visibility.o -MMD -MP -MF ./.deps/ipa-visibility.TPo ../../src/gcc/ipa-visibility.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-visibility.c:77: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-visibility.c:77: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-visibility.c:77: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-visibility.c:77: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-visibility.c:83: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-visibility.c:83: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-visibility.c:83: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 12 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-inline-analysis.o -MT ipa-inline-analysis.o -MMD -MP -MF ./.deps/ipa-inline-analysis.TPo ../../src/gcc/ipa-inline-analysis.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-inline-analysis.c:69: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-inline-analysis.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-inline-analysis.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-inline-analysis.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-inline-analysis.c:72: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-inline-analysis.c:73: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline-analysis.c:73: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline-analysis.c:73: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline-analysis.c:76: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:76: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/ipa-inline-analysis.c:76: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:76: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:76: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:77: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-inline-analysis.c:77: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:77: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-inline-analysis.c:90: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:91: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ ../../src/gcc/ipa-inline-analysis.c:4234:17: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] read_predicate (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-inline-analysis.c:4234:17: note: did you mean class here? read_predicate (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/ipa-inline-analysis.c:4258:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] read_inline_edge_summary (struct lto_input_block *ib, struct cgraph_edge *e) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-inline-analysis.c:4258:27: note: did you mean class here? read_inline_edge_summary (struct lto_input_block *ib, struct cgraph_edge *e) ^~~~~~ class In file included from ../../src/gcc/ipa-inline-analysis.c:73: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-inline-analysis.c:777:38: note: in instantiation of member function 'object_allocator::allocate' requested here es->predicate = edge_predicate_pool.allocate (); ^ In file included from ../../src/gcc/ipa-inline-analysis.c:73: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-inline-analysis.c:777:38: note: in instantiation of member function 'object_allocator::allocate' requested here es->predicate = edge_predicate_pool.allocate (); ^ In file included from ../../src/gcc/ipa-inline-analysis.c:73: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/ipa-inline-analysis.c:783:22: note: in instantiation of member function 'object_allocator::remove' requested here edge_predicate_pool.remove (es->predicate); ^ In file included from ../../src/gcc/ipa-inline-analysis.c:69: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/ipa-inline-analysis.c:919:25: note: in instantiation of member function 'vec::create' requested here known_contexts_ptr->create (0); ^ 73 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-inline-transform.o -MT ipa-inline-transform.o -MMD -MP -MF ./.deps/ipa-inline-transform.TPo ../../src/gcc/ipa-inline-transform.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-inline-transform.c:33: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-inline-transform.c:33: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-inline-transform.c:33: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-inline-transform.c:33: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-inline-transform.c:37: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline-transform.c:37: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline-transform.c:37: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-inline-transform.c:39: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-inline-transform.c:39: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-inline-transform.c:39: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-inline-transform.c:43: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-inline-transform.c:44: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ 17 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-profile.o -MT ipa-profile.o -MMD -MP -MF ./.deps/ipa-profile.TPo ../../src/gcc/ipa-profile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-profile.c:49: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-profile.c:49: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-profile.c:49: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-profile.c:49: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-profile.c:52: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-profile.c:54: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-profile.c:54: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-profile.c:54: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-profile.c:56: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-profile.c:56: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:56: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-profile.c:57: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:57: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:57: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:62: ../../src/gcc/value-prof.h:110:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.h:110:40: note: did you mean class here? extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:66: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:67: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ ../../src/gcc/ipa-profile.c:265:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-profile.c:265:7: note: did you mean class here? struct lto_input_block *ib ^~~~~~ class In file included from ../../src/gcc/ipa-profile.c:54: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-profile.c:119:29: note: in instantiation of member function 'object_allocator::allocate' requested here *val = histogram_pool.allocate (); ^ In file included from ../../src/gcc/ipa-profile.c:54: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-profile.c:119:29: note: in instantiation of member function 'object_allocator::allocate' requested here *val = histogram_pool.allocate (); ^ 63 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-prop.o -MT ipa-prop.o -MMD -MP -MF ./.deps/ipa-prop.TPo ../../src/gcc/ipa-prop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-prop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-prop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-prop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-prop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-prop.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-prop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-prop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-prop.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-prop.c:27: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-prop.c:27: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-prop.c:27: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-prop.c:30: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:30: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/ipa-prop.c:30: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:30: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:30: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-prop.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-prop.c:44: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:48: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ ../../src/gcc/ipa-prop.c:380:7: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context *ctx ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:380:7: note: did you mean class here? struct ipa_polymorphic_call_context *ctx ^~~~~~ class ../../src/gcc/ipa-prop.c:1868:4: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context context (cs->caller->decl, ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:1868:4: note: did you mean class here? struct ipa_polymorphic_call_context context (cs->caller->decl, ^~~~~~ class ../../src/gcc/ipa-prop.c:2648:7: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context *dst_ctx ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:2648:7: note: did you mean class here? struct ipa_polymorphic_call_context *dst_ctx ^~~~~~ class ../../src/gcc/ipa-prop.c:2655:4: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context *src_ctx ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:2655:4: note: did you mean class here? struct ipa_polymorphic_call_context *src_ctx ^~~~~~ class ../../src/gcc/ipa-prop.c:2671:8: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context ctx = *src_ctx; ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:2671:8: note: did you mean class here? struct ipa_polymorphic_call_context ctx = *src_ctx; ^~~~~~ class ../../src/gcc/ipa-prop.c:2741:8: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context *src_ctx ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:2741:8: note: did you mean class here? struct ipa_polymorphic_call_context *src_ctx ^~~~~~ class ../../src/gcc/ipa-prop.c:2746:5: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context ctx = *src_ctx; ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:2746:5: note: did you mean class here? struct ipa_polymorphic_call_context ctx = *src_ctx; ^~~~~~ class ../../src/gcc/ipa-prop.c:3306:8: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] struct ipa_polymorphic_call_context ctx) ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.c:3306:8: note: did you mean class here? struct ipa_polymorphic_call_context ctx) ^~~~~~ class ../../src/gcc/ipa-prop.c:4926:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ipa_read_jump_function (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-prop.c:4926:25: note: did you mean class here? ipa_read_jump_function (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/ipa-prop.c:5053:30: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ipa_read_indirect_edge_info (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-prop.c:5053:30: note: did you mean class here? ipa_read_indirect_edge_info (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/ipa-prop.c:5146:21: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ipa_read_node_info (struct lto_input_block *ib, struct cgraph_node *node, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-prop.c:5146:21: note: did you mean class here? ipa_read_node_info (struct lto_input_block *ib, struct cgraph_node *node, ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:5946: ./gt-ipa-prop.h:92:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-ipa-prop.h:92:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-ipa-prop.h:92:70: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-ipa-prop.h:92:70: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-ipa-prop.h:110:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-ipa-prop.h:110:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-ipa-prop.h:110:69: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-ipa-prop.h:110:69: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class In file included from ../../src/gcc/ipa-prop.c:27: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-prop.c:520:32: note: in instantiation of member function 'object_allocator::allocate' requested here rdesc = ipa_refdesc_pool.allocate (); ^ In file included from ../../src/gcc/ipa-prop.c:27: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ipa-prop.c:520:32: note: in instantiation of member function 'object_allocator::allocate' requested here rdesc = ipa_refdesc_pool.allocate (); ^ In file included from ../../src/gcc/ipa-prop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:364:38: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:564:8: note: in instantiation of function template specialization 'va_gc::reserve' requested here A::reserve (v, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:573:10: note: in instantiation of function template specialization 'vec_safe_reserve' requested here return vec_safe_reserve (v, nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:606:3: note: in instantiation of function template specialization 'vec_safe_reserve_exact' requested here vec_safe_reserve_exact (v, len - oldlen PASS_MEM_STAT); ^ ../../src/gcc/vec.h:617:3: note: in instantiation of function template specialization 'vec_safe_grow' requested here vec_safe_grow (v, len PASS_MEM_STAT); ^ ../../src/gcc/ipa-prop.c:1853:5: note: in instantiation of function template specialization 'vec_safe_grow_cleared' requested here vec_safe_grow_cleared (args->polymorphic_call_contexts, arg_num); ^ In file included from ../../src/gcc/ipa-prop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:564:8: note: in instantiation of function template specialization 'va_heap::reserve' requested here A::reserve (v, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:585:3: note: in instantiation of function template specialization 'vec_safe_reserve' requested here vec_safe_reserve (v, nelems, false PASS_MEM_STAT); ^ ../../src/gcc/vec.h:822:7: note: in instantiation of function template specialization 'vec_alloc' requested here vec_alloc (new_vec, len PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1411:28: note: in instantiation of member function 'vec::copy' requested here new_vec.m_vec = m_vec->copy (); ^ ../../src/gcc/ipa-prop.c:3944:55: note: in instantiation of member function 'vec::copy' requested here new_info->known_contexts = old_info->known_contexts.copy (); ^ In file included from ../../src/gcc/ipa-prop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:364:38: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:564:8: note: in instantiation of function template specialization 'va_gc::reserve' requested here A::reserve (v, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:573:10: note: in instantiation of function template specialization 'vec_safe_reserve' requested here return vec_safe_reserve (v, nelems, true PASS_MEM_STAT); ^ ../../src/gcc/ipa-prop.c:3984:4: note: in instantiation of function template specialization 'vec_safe_reserve_exact' requested here vec_safe_reserve_exact (dst_vr, src_vr->length ()); ^ 90 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-pure-const.o -MT ipa-pure-const.o -MMD -MP -MF ./.deps/ipa-pure-const.TPo ../../src/gcc/ipa-pure-const.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-pure-const.c:36: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-pure-const.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-pure-const.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-pure-const.c:36: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:38: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-pure-const.c:40: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-pure-const.c:42: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/ipa-pure-const.c:42: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/ipa-pure-const.c:42: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-pure-const.c:42: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/ipa-pure-const.c:42: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/ipa-pure-const.c:43: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-pure-const.c:43: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-pure-const.c:43: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/ipa-pure-const.c:462:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *from, ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/ipa-pure-const.c:462:7: note: did you mean class here? struct symtab_node *from, ^~~~~~ class ../../src/gcc/ipa-pure-const.c:463:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *to) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/ipa-pure-const.c:463:7: note: did you mean class here? struct symtab_node *to) ^~~~~~ class ../../src/gcc/ipa-pure-const.c:1094:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-pure-const.c:1094:7: note: did you mean class here? struct lto_input_block *ib ^~~~~~ class 80 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-icf.o -MT ipa-icf.o -MMD -MP -MF ./.deps/ipa-icf.TPo ../../src/gcc/ipa-icf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-icf.c:57: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-icf.c:57: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-icf.c:57: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-icf.c:57: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-icf.c:60: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-icf.c:60: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-icf.c:60: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-icf.c:62: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-icf.c:63: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-icf.c:63: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-icf.c:63: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-icf.c:66: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-icf.c:66: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-icf.c:66: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-icf.c:69: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-icf.c:69: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-icf.c:69: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/ipa-icf.c:76: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-icf.c:77: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ In file included from ../../src/gcc/ipa-icf.c:82: ../../src/gcc/ipa-icf-gimple.h:37:50: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] fprintf (file, "%*s" format, space_count, " ", ##__VA_ARGS__); ^ 78 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-icf-gimple.o -MT ipa-icf-gimple.o -MMD -MP -MF ./.deps/ipa-icf-gimple.TPo ../../src/gcc/ipa-icf-gimple.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-icf-gimple.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-icf-gimple.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-icf-gimple.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-icf-gimple.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-icf-gimple.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ipa-icf-gimple.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-icf-gimple.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ipa-icf-gimple.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-icf-gimple.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-icf-gimple.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-icf-gimple.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-icf-gimple.c:32: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-icf-gimple.c:32: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-icf-gimple.c:32: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class 57 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-reference.o -MT ipa-reference.o -MMD -MP -MF ./.deps/ipa-reference.TPo ../../src/gcc/ipa-reference.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-reference.c:41: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-reference.c:41: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-reference.c:41: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-reference.c:41: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-reference.c:44: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-reference.c:46: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-reference.c:46: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-reference.c:46: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-reference.c:47: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-reference.c:47: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-reference.c:47: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/ipa-reference.c:1081:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/ipa-reference.c:1081:7: note: did you mean class here? struct lto_input_block *ib ^~~~~~ class 55 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-hsa.o -MT ipa-hsa.o -MMD -MP -MF ./.deps/ipa-hsa.TPo ../../src/gcc/ipa-hsa.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-hsa.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-hsa.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-hsa.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-hsa.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-hsa.c:36: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-hsa.c:39: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/ipa-hsa.c:39: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/ipa-hsa.c:39: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-hsa.c:39: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/ipa-hsa.c:39: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/ipa-hsa.c:41: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-hsa.c:41: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-hsa.c:41: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-hsa.c:44: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class 64 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-ref.o -MT ipa-ref.o -MMD -MP -MF ./.deps/ipa-ref.TPo ../../src/gcc/ipa-ref.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-ref.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-ref.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-ref.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-ref.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa-ref.c:26: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-ref.c:26: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-ref.c:26: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa-utils.o -MT ipa-utils.o -MMD -MP -MF ./.deps/ipa-utils.TPo ../../src/gcc/ipa-utils.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa-utils.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa-utils.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-utils.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa-utils.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa-utils.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa-utils.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-utils.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-utils.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa-utils.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa-utils.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa-utils.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa-utils.c:30: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/ipa-utils.c:30: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/ipa-utils.c:36: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa-utils.c:37: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ipa.o -MT ipa.o -MMD -MP -MF ./.deps/ipa.TPo ../../src/gcc/ipa.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ipa.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ipa.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ipa.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ipa.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ipa.c:27: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa.c:27: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa.c:27: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ipa.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ipa.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ipa.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ipa.c:36: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/ipa.c:37: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ 52 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira.o -MT ira.o -MMD -MP -MF ./.deps/ira.TPo ../../src/gcc/ira.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira.c:368: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira.c:368: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira.c:368: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira.c:368: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:370: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira.c:371: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira.c:371: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira.c:371: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira.c:373: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira.c:373: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira.c:373: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira.c:386: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira-build.o -MT ira-build.o -MMD -MP -MF ./.deps/ira-build.TPo ../../src/gcc/ira-build.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira-build.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira-build.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-build.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-build.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-build.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira-build.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-build.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-build.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-build.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-build.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-build.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/ira-build.c:1636:49: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return (int*) cost_vector_pool[(int) aclass]->allocate (); ^ In file included from ../../src/gcc/ira-build.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/ira-build.c:1636:49: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return (int*) cost_vector_pool[(int) aclass]->allocate (); ^ In file included from ../../src/gcc/ira-build.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/ira-build.c:1644:35: note: in instantiation of member function 'base_pool_allocator::remove' requested here cost_vector_pool[(int) aclass]->remove (vec); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira-costs.o -MT ira-costs.o -MMD -MP -MF ./.deps/ira-costs.TPo ../../src/gcc/ira-costs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira-costs.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira-costs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-costs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-costs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-costs.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira-costs.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-costs.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira-conflicts.o -MT ira-conflicts.o -MMD -MP -MF ./.deps/ira-conflicts.TPo ../../src/gcc/ira-conflicts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira-conflicts.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira-conflicts.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-conflicts.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-conflicts.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-conflicts.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira-conflicts.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-conflicts.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira-color.o -MT ira-color.o -MMD -MP -MF ./.deps/ira-color.TPo ../../src/gcc/ira-color.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira-color.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira-color.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-color.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-color.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-color.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira-color.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-color.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-color.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-color.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-color.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-color.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ira-color.c:1157:36: note: in instantiation of member function 'object_allocator::allocate' requested here record = update_cost_record_pool.allocate (); ^ In file included from ../../src/gcc/ira-color.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/ira-color.c:1157:36: note: in instantiation of member function 'object_allocator::allocate' requested here record = update_cost_record_pool.allocate (); ^ In file included from ../../src/gcc/ira-color.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/ira-color.c:1173:31: note: in instantiation of member function 'object_allocator::remove' requested here update_cost_record_pool.remove (list); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira-emit.o -MT ira-emit.o -MMD -MP -MF ./.deps/ira-emit.TPo ../../src/gcc/ira-emit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira-emit.c:70: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira-emit.c:70: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-emit.c:70: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-emit.c:70: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira-emit.c:72: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira-emit.c:72: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-emit.c:72: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-emit.c:75: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-emit.c:75: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-emit.c:75: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ira-lives.o -MT ira-lives.o -MMD -MP -MF ./.deps/ira-lives.TPo ../../src/gcc/ira-lives.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ira-lives.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ira-lives.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-lives.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ira-lives.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/ira-lives.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ira-lives.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-lives.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ira-lives.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-lives.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/ira-lives.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o jump.o -MT jump.o -MMD -MP -MF ./.deps/jump.TPo ../../src/gcc/jump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/jump.c:38: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/jump.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/jump.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/jump.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:40: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/jump.c:41: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/jump.c:41: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/jump.c:41: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o langhooks.o -MT langhooks.o -MMD -MP -MF ./.deps/langhooks.TPo ../../src/gcc/langhooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/langhooks.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/langhooks.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/langhooks.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/langhooks.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/langhooks.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/langhooks.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/langhooks.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/langhooks.c:36: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 23 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lcm.o -MT lcm.o -MMD -MP -MF ./.deps/lcm.TPo ../../src/gcc/lcm.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lcm.c:53: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lcm.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lcm.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lcm.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lists.o -MT lists.o -MMD -MP -MF ./.deps/lists.TPo ../../src/gcc/lists.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lists.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lists.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lists.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lists.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lists.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lists.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lists.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o loop-doloop.o -MT loop-doloop.o -MMD -MP -MF ./.deps/loop-doloop.TPo ../../src/gcc/loop-doloop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/loop-doloop.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/loop-doloop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-doloop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-doloop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-doloop.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/loop-doloop.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-doloop.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-doloop.c:39: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-doloop.c:39: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-doloop.c:39: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o loop-init.o -MT loop-init.o -MMD -MP -MF ./.deps/loop-init.TPo ../../src/gcc/loop-init.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/loop-init.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/loop-init.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-init.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-init.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-init.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/loop-init.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-init.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-init.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-init.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-init.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o loop-invariant.o -MT loop-invariant.o -MMD -MP -MF ./.deps/loop-invariant.TPo ../../src/gcc/loop-invariant.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/loop-invariant.c:39: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/loop-invariant.c:39: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-invariant.c:39: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-invariant.c:39: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:41: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-invariant.c:42: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/loop-invariant.c:42: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-invariant.c:42: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-invariant.c:45: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-invariant.c:45: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-invariant.c:45: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o loop-iv.o -MT loop-iv.o -MMD -MP -MF ./.deps/loop-iv.TPo ../../src/gcc/loop-iv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/loop-iv.c:52: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/loop-iv.c:52: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-iv.c:52: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-iv.c:52: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/loop-iv.c:54: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/loop-iv.c:54: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-iv.c:54: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-iv.c:55: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-iv.c:55: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/loop-iv.c:55: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o loop-unroll.o -MT loop-unroll.o -MMD -MP -MF ./.deps/loop-unroll.TPo ../../src/gcc/loop-unroll.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/loop-unroll.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/loop-unroll.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-unroll.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/loop-unroll.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/loop-unroll.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/loop-unroll.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/loop-unroll.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lower-subreg.o -MT lower-subreg.o -MMD -MP -MF ./.deps/lower-subreg.TPo ../../src/gcc/lower-subreg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lower-subreg.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lower-subreg.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lower-subreg.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lower-subreg.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lower-subreg.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lower-subreg.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lower-subreg.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lower-subreg.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lower-subreg.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lower-subreg.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra.o -MT lra.o -MMD -MP -MF ./.deps/lra.TPo ../../src/gcc/lra.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra.c:105: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra.c:108: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra.c:108: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra.c:108: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra.c:111: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra.c:111: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra.c:111: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra.c:111: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/lra.c:546:40: note: in instantiation of member function 'object_allocator::allocate' requested here lra_insn_reg *ir = lra_insn_reg_pool.allocate (); ^ In file included from ../../src/gcc/lra.c:111: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/lra.c:546:40: note: in instantiation of member function 'object_allocator::allocate' requested here lra_insn_reg *ir = lra_insn_reg_pool.allocate (); ^ In file included from ../../src/gcc/lra.c:111: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/lra.c:569:25: note: in instantiation of member function 'object_allocator::remove' requested here lra_insn_reg_pool.remove (ir); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-assigns.o -MT lra-assigns.o -MMD -MP -MF ./.deps/lra-assigns.TPo ../../src/gcc/lra-assigns.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-assigns.c:79: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-assigns.c:79: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-assigns.c:79: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-assigns.c:79: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-assigns.c:82: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-assigns.c:82: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-assigns.c:82: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-assigns.c:85: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-assigns.c:85: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-assigns.c:85: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-coalesce.o -MT lra-coalesce.o -MMD -MP -MF ./.deps/lra-coalesce.TPo ../../src/gcc/lra-coalesce.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-coalesce.c:47: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-coalesce.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-coalesce.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-coalesce.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-coalesce.c:49: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-coalesce.c:49: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-coalesce.c:49: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-coalesce.c:51: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-coalesce.c:51: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-coalesce.c:51: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-constraints.o -MT lra-constraints.o -MMD -MP -MF ./.deps/lra-constraints.TPo ../../src/gcc/lra-constraints.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-constraints.c:111: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-constraints.c:111: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-constraints.c:111: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-constraints.c:111: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:113: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-constraints.c:114: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-constraints.c:114: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-constraints.c:114: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-constraints.c:117: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-constraints.c:117: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-constraints.c:117: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-constraints.c:125: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/lra-constraints.c:117: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/lra-constraints.c:4954:40: note: in instantiation of member function 'object_allocator::allocate' requested here invariant_ptr = invariants_pool->allocate (); ^ In file included from ../../src/gcc/lra-constraints.c:117: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/lra-constraints.c:4954:40: note: in instantiation of member function 'object_allocator::allocate' requested here invariant_ptr = invariants_pool->allocate (); ^ ../../src/gcc/lra-constraints.c:637:1: warning: unused function 'ok_for_index_p_nonstrict' [-Wunused-function] ok_for_index_p_nonstrict (rtx reg) ^ ../../src/gcc/lra-constraints.c:647:1: warning: unused function 'ok_for_base_p_nonstrict' [-Wunused-function] ok_for_base_p_nonstrict (rtx reg, machine_mode mode, addr_space_t as, ^ 30 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-eliminations.o -MT lra-eliminations.o -MMD -MP -MF ./.deps/lra-eliminations.TPo ../../src/gcc/lra-eliminations.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-eliminations.c:56: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-eliminations.c:56: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-eliminations.c:56: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-eliminations.c:56: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:58: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-eliminations.c:59: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-eliminations.c:59: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-eliminations.c:59: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-eliminations.c:61: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-eliminations.c:61: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-eliminations.c:61: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-eliminations.c:68: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-lives.o -MT lra-lives.o -MMD -MP -MF ./.deps/lra-lives.TPo ../../src/gcc/lra-lives.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-lives.c:30: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-lives.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-lives.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-lives.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-lives.c:32: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-lives.c:32: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-lives.c:32: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-lives.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-lives.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-lives.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-lives.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/lra-lives.c:107:27: note: in instantiation of member function 'object_allocator::remove' requested here lra_live_range_pool.remove (lr); ^ In file included from ../../src/gcc/lra-lives.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:438:46: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here gcc_assert (m_id == allocation_object::get_instance (object)->id); ^ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/lra-lives.c:107:27: note: in instantiation of member function 'object_allocator::remove' requested here lra_live_range_pool.remove (lr); ^ In file included from ../../src/gcc/lra-lives.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/lra-lives.c:116:44: note: in instantiation of member function 'object_allocator::allocate' requested here lra_live_range_t p = lra_live_range_pool.allocate (); ^ 13 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-remat.o -MT lra-remat.o -MMD -MP -MF ./.deps/lra-remat.TPo ../../src/gcc/lra-remat.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-remat.c:57: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-remat.c:57: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-remat.c:57: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-remat.c:57: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-remat.c:59: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-remat.c:59: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-remat.c:59: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-remat.c:60: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-remat.c:60: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-remat.c:60: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lra-spills.o -MT lra-spills.o -MMD -MP -MF ./.deps/lra-spills.TPo ../../src/gcc/lra-spills.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lra-spills.c:60: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lra-spills.c:60: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-spills.c:60: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lra-spills.c:60: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:62: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lra-spills.c:63: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lra-spills.c:63: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-spills.c:63: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lra-spills.c:64: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-spills.c:64: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-spills.c:64: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/lra-spills.c:70: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-cgraph.o -MT lto-cgraph.o -MMD -MP -MF ./.deps/lto-cgraph.TPo ../../src/gcc/lto-cgraph.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-cgraph.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-cgraph.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-cgraph.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-cgraph.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-cgraph.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lto-cgraph.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-cgraph.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-cgraph.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-cgraph.c:32: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/lto-cgraph.c:32: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/lto-cgraph.c:32: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/lto-cgraph.c:32: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/lto-cgraph.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/lto-cgraph.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-cgraph.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-cgraph.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/lto-cgraph.c:33: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/lto-cgraph.c:494:9: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] for (struct symtab_node *n = node->same_comdat_group; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/lto-cgraph.c:494:9: note: did you mean class here? for (struct symtab_node *n = node->same_comdat_group; ^~~~~~ class ../../src/gcc/lto-cgraph.c:645:9: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] for (struct symtab_node *n = node->same_comdat_group; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/lto-cgraph.c:645:9: note: did you mean class here? for (struct symtab_node *n = node->same_comdat_group; ^~~~~~ class ../../src/gcc/lto-cgraph.c:851:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/lto-cgraph.c:851:3: note: did you mean class here? struct symtab_node *snode; ^~~~~~ class ../../src/gcc/lto-cgraph.c:1061:18: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] read_identifier (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1061:18: note: did you mean class here? read_identifier (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/lto-cgraph.c:1081:14: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] read_string (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1081:14: note: did you mean class here? read_string (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/lto-cgraph.c:1225:6: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1225:6: note: did you mean class here? struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/lto-cgraph.c:1352:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1352:7: note: did you mean class here? struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/lto-cgraph.c:1432:12: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_ref (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1432:12: note: did you mean class here? input_ref (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/lto-cgraph.c:1458:13: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_edge (struct lto_input_block *ib, vec nodes, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1458:13: note: did you mean class here? input_edge (struct lto_input_block *ib, vec nodes, ^~~~~~ class ../../src/gcc/lto-cgraph.c:1528:3: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1528:3: note: did you mean class here? struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/lto-cgraph.c:1634:13: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_refs (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1634:13: note: did you mean class here? input_refs (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/lto-cgraph.c:1660:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_profile_summary (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1660:24: note: did you mean class here? input_profile_summary (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/lto-cgraph.c:1844:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1844:7: note: did you mean class here? struct lto_input_block *ib; ^~~~~~ class ../../src/gcc/lto-cgraph.c:1905:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:1905:7: note: did you mean class here? struct lto_input_block *ib ^~~~~~ class ../../src/gcc/lto-cgraph.c:2064:4: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib_main ATTRIBUTE_UNUSED) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:2064:4: note: did you mean class here? struct lto_input_block *ib_main ATTRIBUTE_UNUSED) ^~~~~~ class ../../src/gcc/lto-cgraph.c:2072:4: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib_main, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-cgraph.c:2072:4: note: did you mean class here? struct lto_input_block *ib_main, ^~~~~~ class 82 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-streamer.o -MT lto-streamer.o -MMD -MP -MF ./.deps/lto-streamer.TPo ../../src/gcc/lto-streamer.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-streamer.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-streamer.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-streamer.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-streamer.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-streamer.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-streamer.c:29: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/lto-streamer.c:29: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/lto-streamer.c:29: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/lto-streamer.c:29: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/lto-streamer.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/lto-streamer.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-streamer.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-streamer.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/lto-streamer.c:30: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 63 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-streamer-in.o -MT lto-streamer-in.o -MMD -MP -MF ./.deps/lto-streamer-in.TPo ../../src/gcc/lto-streamer-in.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-streamer-in.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-streamer-in.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-streamer-in.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-streamer-in.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-in.c:28: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lto-streamer-in.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-streamer-in.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-streamer-in.c:30: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-streamer-in.c:34: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/lto-streamer-in.c:34: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/lto-streamer-in.c:34: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/lto-streamer-in.c:34: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/lto-streamer-in.c:34: In file included from ../../src/gcc/gimple-streamer.h:25: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/lto-streamer-in.c:34: ../../src/gcc/gimple-streamer.h:28:16: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer.h:28:16: note: did you mean class here? void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^~~~~~ class In file included from ../../src/gcc/lto-streamer-in.c:42: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-streamer-in.c:42: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-streamer-in.c:42: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/lto-streamer-in.c:86:23: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_data_block (struct lto_input_block *ib, void *addr, size_t length) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:86:23: note: did you mean class here? lto_input_data_block (struct lto_input_block *ib, void *addr, size_t length) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:315:21: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_tree_ref (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:315:21: note: did you mean class here? lto_input_tree_ref (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:380:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_eh_catch_list (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:380:26: note: did you mean class here? lto_input_eh_catch_list (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:426:18: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_eh_region (struct lto_input_block *ib, struct data_in *data_in, int ix) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:426:18: note: did you mean class here? input_eh_region (struct lto_input_block *ib, struct data_in *data_in, int ix) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:501:14: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_eh_lp (struct lto_input_block *ib, struct data_in *data_in, int ix) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:501:14: note: did you mean class here? input_eh_lp (struct lto_input_block *ib, struct data_in *data_in, int ix) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:605:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_eh_regions (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:605:19: note: did you mean class here? input_eh_regions (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:716:12: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_cfg (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:716:12: note: did you mean class here? input_cfg (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:852:18: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_ssa_names (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:852:18: note: did you mean class here? input_ssa_names (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:970:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:970:29: note: did you mean class here? struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1026:3: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib, struct lto_input_block *ib_cfg) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1026:3: note: did you mean class here? struct lto_input_block *ib, struct lto_input_block *ib_cfg) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1026:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib, struct lto_input_block *ib_cfg) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1026:31: note: did you mean class here? struct lto_input_block *ib, struct lto_input_block *ib_cfg) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1199:6: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1199:6: note: did you mean class here? struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1212:69: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] lto_read_body_or_constructor (struct lto_file_decl_data *file_data, struct symtab_node *node, ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/lto-streamer-in.c:1212:69: note: did you mean class here? lto_read_body_or_constructor (struct lto_file_decl_data *file_data, struct symtab_node *node, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1315:5: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *node, const char *data) ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer-in.c:1315:5: note: did you mean class here? struct varpool_node *node, const char *data) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1325:18: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_read_tree_1 (struct lto_input_block *ib, struct data_in *data_in, tree expr) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1325:18: note: did you mean class here? lto_read_tree_1 (struct lto_input_block *ib, struct data_in *data_in, tree expr) ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1352:16: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_read_tree (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1352:16: note: did you mean class here? lto_read_tree (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1375:16: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_scc (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1375:16: note: did you mean class here? lto_input_scc (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1432:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_tree_1 (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1432:19: note: did you mean class here? lto_input_tree_1 (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/lto-streamer-in.c:1482:17: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_tree (struct lto_input_block *ib, struct data_in *data_in) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer-in.c:1482:17: note: did you mean class here? lto_input_tree (struct lto_input_block *ib, struct data_in *data_in) ^~~~~~ class 100 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-streamer-out.o -MT lto-streamer-out.o -MMD -MP -MF ./.deps/lto-streamer-out.TPo ../../src/gcc/lto-streamer-out.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-streamer-out.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-streamer-out.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-streamer-out.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-streamer-out.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-streamer-out.c:28: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lto-streamer-out.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-streamer-out.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-streamer-out.c:30: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-streamer-out.c:33: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/lto-streamer-out.c:33: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/tree-pass.h:135:7: note: previous use is here class varpool_node; ^ In file included from ../../src/gcc/lto-streamer-out.c:33: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/lto-streamer-out.c:33: In file included from ../../src/gcc/gimple-streamer.h:25: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/lto-streamer-out.c:33: In file included from ../../src/gcc/gimple-streamer.h:25: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/lto-streamer-out.c:33: ../../src/gcc/gimple-streamer.h:28:16: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/gimple-streamer.h:28:16: note: did you mean class here? void input_bb (struct lto_input_block *, enum LTO_tags, struct data_in *, ^~~~~~ class In file included from ../../src/gcc/lto-streamer-out.c:39: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-streamer-out.c:39: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-streamer-out.c:39: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/lto-streamer-out.c:2151:21: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] output_constructor (struct varpool_node *node) ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer-out.c:2151:21: note: did you mean class here? output_constructor (struct varpool_node *node) ^~~~~~ class ../../src/gcc/lto-streamer-out.c:2230:28: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] copy_function_or_variable (struct symtab_node *node) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/lto-streamer-out.c:2230:28: note: did you mean class here? copy_function_or_variable (struct symtab_node *node) ^~~~~~ class 83 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-section-in.o -MT lto-section-in.o -MMD -MP -MF ./.deps/lto-section-in.TPo ../../src/gcc/lto-section-in.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-section-in.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-section-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-section-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-section-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-section-in.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lto-section-in.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-section-in.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-section-in.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-section-in.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-section-in.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-section-in.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/lto-section-in.c:30: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/lto-section-in.c:30: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/lto-section-in.c:234:1: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block * ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-section-in.c:234:1: note: did you mean class here? struct lto_input_block * ^~~~~~ class ../../src/gcc/lto-section-in.c:263:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-section-in.c:263:5: note: did you mean class here? struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/lto-section-in.c:443:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_section_overrun (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-section-in.c:443:22: note: did you mean class here? lto_section_overrun (struct lto_input_block *ib) ^~~~~~ class 48 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-section-out.o -MT lto-section-out.o -MMD -MP -MF ./.deps/lto-section-out.TPo ../../src/gcc/lto-section-out.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-section-out.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-section-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-section-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-section-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-section-out.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/lto-section-out.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-section-out.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/lto-section-out.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-section-out.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-section-out.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-section-out.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/lto-section-out.c:30: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/lto-section-out.c:30: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/lto-section-out.c:30: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class 57 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-opts.o -MT lto-opts.o -MMD -MP -MF ./.deps/lto-opts.TPo ../../src/gcc/lto-opts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-opts.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-opts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-opts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-opts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/lto-opts.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-opts.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-opts.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-opts.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/lto-opts.c:30: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/lto-opts.c:30: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class 57 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-compress.o -MT lto-compress.o -MMD -MP -MF ./.deps/lto-compress.TPo ../../src/gcc/lto-compress.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-compress.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-compress.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-compress.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-compress.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/lto-compress.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/lto-compress.c:28: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/lto-compress.c:28: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/lto-compress.c:28: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/lto-compress.c:29: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/lto-compress.c:29: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o mcf.o -MT mcf.o -MMD -MP -MF ./.deps/mcf.TPo ../../src/gcc/mcf.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/mcf.c:47: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/mcf.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/mcf.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/mcf.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o mode-switching.o -MT mode-switching.o -MMD -MP -MF ./.deps/mode-switching.TPo ../../src/gcc/mode-switching.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/mode-switching.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/mode-switching.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/mode-switching.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/mode-switching.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/mode-switching.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/mode-switching.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/mode-switching.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/mode-switching.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/mode-switching.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/mode-switching.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o modulo-sched.o -MT modulo-sched.o -MMD -MP -MF ./.deps/modulo-sched.TPo ../../src/gcc/modulo-sched.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/modulo-sched.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/modulo-sched.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/modulo-sched.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/modulo-sched.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/modulo-sched.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/modulo-sched.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/modulo-sched.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/modulo-sched.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/modulo-sched.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/modulo-sched.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o multiple_target.o -MT multiple_target.o -MMD -MP -MF ./.deps/multiple_target.TPo ../../src/gcc/multiple_target.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/multiple_target.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/multiple_target.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/multiple_target.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/multiple_target.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/multiple_target.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/multiple_target.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/multiple_target.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/multiple_target.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/multiple_target.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o omp-offload.o -MT omp-offload.o -MMD -MP -MF ./.deps/omp-offload.TPo ../../src/gcc/omp-offload.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/omp-offload.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/omp-offload.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-offload.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-offload.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-offload.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/omp-offload.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/omp-offload.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/omp-offload.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/omp-offload.c:45: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 48 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o omp-expand.o -MT omp-expand.o -MMD -MP -MF ./.deps/omp-expand.TPo ../../src/gcc/omp-expand.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/omp-expand.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/omp-expand.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-expand.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-expand.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-expand.c:29: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/omp-expand.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/omp-expand.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/omp-expand.c:31: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/omp-expand.c:36: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/omp-expand.c:36: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/omp-expand.c:36: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/omp-expand.c:59: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class 52 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o omp-general.o -MT omp-general.o -MMD -MP -MF ./.deps/omp-general.TPo ../../src/gcc/omp-general.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/omp-general.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/omp-general.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-general.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-general.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-general.c:30: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o omp-grid.o -MT omp-grid.o -MMD -MP -MF ./.deps/omp-grid.TPo ../../src/gcc/omp-grid.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/omp-grid.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/omp-grid.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-grid.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-grid.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/omp-grid.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/omp-grid.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/omp-grid.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/omp-grid.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o omp-low.o -MT omp-low.o -MMD -MP -MF ./.deps/omp-low.TPo ../../src/gcc/omp-low.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/omp-low.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/omp-low.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-low.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-low.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-low.c:31: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/omp-low.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/omp-low.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/omp-low.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/omp-low.c:60: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class 49 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o omp-simd-clone.o -MT omp-simd-clone.o -MMD -MP -MF ./.deps/omp-simd-clone.TPo ../../src/gcc/omp-simd-clone.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/omp-simd-clone.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/omp-simd-clone.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-simd-clone.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/omp-simd-clone.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/omp-simd-clone.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/omp-simd-clone.c:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/omp-simd-clone.c:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/omp-simd-clone.c:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/omp-simd-clone.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/omp-simd-clone.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/omp-simd-clone.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/omp-simd-clone.c:48: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o optabs.o -MT optabs.o -MMD -MP -MF ./.deps/optabs.TPo ../../src/gcc/optabs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/optabs.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/optabs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/optabs.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/optabs.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o optabs-libfuncs.o -MT optabs-libfuncs.o -MMD -MP -MF ./.deps/optabs-libfuncs.TPo ../../src/gcc/optabs-libfuncs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/optabs-libfuncs.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/optabs-libfuncs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs-libfuncs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs-libfuncs.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-libfuncs.c:33: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/optabs-libfuncs.c:33: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/optabs-libfuncs.c:33: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/optabs-libfuncs.c:953: ./gt-optabs-libfuncs.h:60:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-optabs-libfuncs.h:60:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-optabs-libfuncs.h:60:66: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-optabs-libfuncs.h:60:66: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o optabs-query.o -MT optabs-query.o -MMD -MP -MF ./.deps/optabs-query.TPo ../../src/gcc/optabs-query.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/optabs-query.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/optabs-query.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs-query.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs-query.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-query.c:29: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/optabs-query.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/optabs-query.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o optabs-tree.o -MT optabs-tree.o -MMD -MP -MF ./.deps/optabs-tree.TPo ../../src/gcc/optabs-tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/optabs-tree.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/optabs-tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs-tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/optabs-tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/optabs-tree.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. awk -f ../../src/gcc/opt-functions.awk -f ../../src/gcc/opt-read.awk \ -f ../../src/gcc/optc-save-gen.awk \ -v header_name="config.h system.h coretypes.h tm.h" < optionlist > options-save.c g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o options-save.o -MT options-save.o -MMD -MP -MF ./.deps/options-save.TPo options-save.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from options-save.c:5: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from options-save.c:5: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from options-save.c:5: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from options-save.c:5: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:11: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from options-save.c:30: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from options-save.c:31: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from options-save.c:31: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from options-save.c:32: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from options-save.c:32: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from options-save.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from options-save.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from options-save.c:33: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 70 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o opts-global.o -MT opts-global.o -MMD -MP -MF ./.deps/opts-global.TPo ../../src/gcc/opts-global.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/opts-global.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/opts-global.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/opts-global.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/opts-global.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/opts-global.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/opts-global.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/opts-global.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/opts-global.c:34: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 8 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o passes.o -MT passes.o -MMD -MP -MF ./.deps/passes.TPo ../../src/gcc/passes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/passes.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/passes.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/passes.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/passes.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/passes.c:30: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/passes.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/passes.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/passes.c:32: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/passes.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/passes.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/passes.c:34: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/passes.c:39: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/passes.c:39: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/passes.c:39: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/passes.c:40: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/passes.c:40: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/passes.c:43: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/passes.c:47: ../../src/gcc/value-prof.h:110:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.h:110:40: note: did you mean class here? extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^~~~~~ class 65 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o plugin.o -MT plugin.o -MMD -MP -MF ./.deps/plugin.TPo ../../src/gcc/plugin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/plugin.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/plugin.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/plugin.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/plugin.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o postreload-gcse.o -MT postreload-gcse.o -MMD -MP -MF ./.deps/postreload-gcse.TPo ../../src/gcc/postreload-gcse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/postreload-gcse.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/postreload-gcse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/postreload-gcse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/postreload-gcse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload-gcse.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/postreload-gcse.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/postreload-gcse.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/postreload-gcse.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/postreload-gcse.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/postreload-gcse.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o postreload.o -MT postreload.o -MMD -MP -MF ./.deps/postreload.TPo ../../src/gcc/postreload.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/postreload.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/postreload.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/postreload.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/postreload.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/postreload.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/postreload.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/postreload.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/postreload.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/postreload.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/postreload.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o predict.o -MT predict.o -MMD -MP -MF ./.deps/predict.TPo ../../src/gcc/predict.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/predict.c:32: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/predict.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/predict.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/predict.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/predict.c:34: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/predict.c:34: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/predict.c:34: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/predict.c:36: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/predict.c:42: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/predict.c:42: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/predict.c:42: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o print-rtl.o -MT print-rtl.o -MMD -MP -MF ./.deps/print-rtl.TPo ../../src/gcc/print-rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/print-rtl.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/print-rtl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-rtl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-rtl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/print-rtl.c:31: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/print-rtl.c:31: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/print-rtl.c:31: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/print-rtl.c:46: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/print-rtl.c:46: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/print-rtl.c:46: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o print-rtl-function.o -MT print-rtl-function.o -MMD -MP -MF ./.deps/print-rtl-function.TPo ../../src/gcc/print-rtl-function.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/print-rtl-function.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/print-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/print-rtl-function.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/print-rtl-function.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/print-rtl-function.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o print-tree.o -MT print-tree.o -MMD -MP -MF ./.deps/print-tree.TPo ../../src/gcc/print-tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/print-tree.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/print-tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/print-tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/print-tree.c:26: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/print-tree.c:26: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/print-tree.c:26: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 12 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o profile.o -MT profile.o -MMD -MP -MF ./.deps/profile.TPo ../../src/gcc/profile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/profile.c:52: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/profile.c:52: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/profile.c:52: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/profile.c:52: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/profile.c:54: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/profile.c:54: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/profile.c:54: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/profile.c:56: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/profile.c:58: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/profile.c:58: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/profile.c:58: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o read-md.o -MT read-md.o -MMD -MP -MF ./.deps/read-md.TPo ../../src/gcc/read-md.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/read-md.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/read-md.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-md.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-md.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o read-rtl.o -MT read-rtl.o -MMD -MP -MF ./.deps/read-rtl.TPo ../../src/gcc/read-rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/read-rtl.c:32: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/read-rtl.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-rtl.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-rtl.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/read-rtl.c:34: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/read-rtl.c:34: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/read-rtl.c:34: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o read-rtl-function.o -MT read-rtl-function.o -MMD -MP -MF ./.deps/read-rtl-function.TPo ../../src/gcc/read-rtl-function.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/read-rtl-function.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/read-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/read-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/read-rtl-function.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/read-rtl-function.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/read-rtl-function.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/read-rtl-function.c:37: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/read-rtl-function.c:37: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/read-rtl-function.c:37: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/read-rtl-function.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/read-rtl-function.c:776:22: note: in instantiation of member function 'vec::safe_push' requested here m_deferred_edges.safe_push (deferred_edge (loc, src_idx, dest_idx, flags)); ^ 31 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o real.o -MT real.o -MMD -MP -MF ./.deps/real.TPo ../../src/gcc/real.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/real.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/real.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/real.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/real.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/real.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/real.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/real.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o realmpfr.o -MT realmpfr.o -MMD -MP -MF ./.deps/realmpfr.TPo ../../src/gcc/realmpfr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/realmpfr.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/realmpfr.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/realmpfr.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/realmpfr.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o recog.o -MT recog.o -MMD -MP -MF ./.deps/recog.TPo ../../src/gcc/recog.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/recog.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/recog.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/recog.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/recog.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/recog.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/recog.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/recog.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/recog.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/recog.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/recog.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o reg-stack.o -MT reg-stack.o -MMD -MP -MF ./.deps/reg-stack.TPo ../../src/gcc/reg-stack.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/reg-stack.c:157: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/reg-stack.c:157: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reg-stack.c:157: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reg-stack.c:157: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:159: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reg-stack.c:160: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/reg-stack.c:160: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reg-stack.c:160: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reg-stack.c:162: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reg-stack.c:162: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reg-stack.c:162: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o regcprop.o -MT regcprop.o -MMD -MP -MF ./.deps/regcprop.TPo ../../src/gcc/regcprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/regcprop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/regcprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/regcprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/regcprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/regcprop.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/regcprop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/regcprop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/regcprop.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regcprop.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regcprop.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regcprop.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/regcprop.c:116:37: note: in instantiation of member function 'object_allocator::remove' requested here queued_debug_insn_change_pool.remove (cur); ^ In file included from ../../src/gcc/regcprop.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:438:46: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here gcc_assert (m_id == allocation_object::get_instance (object)->id); ^ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/regcprop.c:116:37: note: in instantiation of member function 'object_allocator::remove' requested here queued_debug_insn_change_pool.remove (cur); ^ In file included from ../../src/gcc/regcprop.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/regcprop.c:492:43: note: in instantiation of member function 'object_allocator::allocate' requested here change = queued_debug_insn_change_pool.allocate (); ^ 13 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o reginfo.o -MT reginfo.o -MMD -MP -MF ./.deps/reginfo.TPo ../../src/gcc/reginfo.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/reginfo.c:30: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/reginfo.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reginfo.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reginfo.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reginfo.c:33: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/reginfo.c:33: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reginfo.c:33: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reginfo.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reginfo.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reginfo.c:35: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reginfo.c:44: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o regrename.o -MT regrename.o -MMD -MP -MF ./.deps/regrename.TPo ../../src/gcc/regrename.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/regrename.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/regrename.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/regrename.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/regrename.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/regrename.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/regrename.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/regrename.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/regrename.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regrename.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regrename.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o regstat.o -MT regstat.o -MMD -MP -MF ./.deps/regstat.TPo ../../src/gcc/regstat.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/regstat.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/regstat.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/regstat.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/regstat.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/regstat.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/regstat.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/regstat.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/regstat.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regstat.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/regstat.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o reload.o -MT reload.o -MMD -MP -MF ./.deps/reload.TPo ../../src/gcc/reload.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/reload.c:93: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/reload.c:93: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reload.c:93: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reload.c:93: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:95: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload.c:96: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/reload.c:96: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reload.c:96: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reload.c:98: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reload.c:98: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reload.c:98: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o reload1.o -MT reload1.o -MMD -MP -MF ./.deps/reload1.TPo ../../src/gcc/reload1.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/reload1.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/reload1.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reload1.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reload1.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reload1.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/reload1.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reload1.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reload1.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reload1.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/reload1.c:28: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/reload1.c:3597:32: warning: unknown warning group '-Wmaybe-uninitialized', ignored [-Wunknown-warning-option] #pragma GCC diagnostic warning "-Wmaybe-uninitialized" ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o reorg.o -MT reorg.o -MMD -MP -MF ./.deps/reorg.TPo ../../src/gcc/reorg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/reorg.c:105: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/reorg.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reorg.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/reorg.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:107: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/reorg.c:108: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/reorg.c:108: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reorg.c:108: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/reorg.c:105: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/reorg.c:1322:19: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here merged_insns.safe_push (std::pair (trial, false)); ^ 23 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o resource.o -MT resource.o -MMD -MP -MF ./.deps/resource.TPo ../../src/gcc/resource.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/resource.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/resource.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/resource.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/resource.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/resource.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/resource.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/resource.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/resource.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/resource.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/resource.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtl-chkp.o -MT rtl-chkp.o -MMD -MP -MF ./.deps/rtl-chkp.TPo ../../src/gcc/rtl-chkp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtl-chkp.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtl-chkp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl-chkp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl-chkp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtl-chkp.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtl-chkp.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtl-chkp.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtl-error.o -MT rtl-error.o -MMD -MP -MF ./.deps/rtl-error.TPo ../../src/gcc/rtl-error.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtl-error.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtl-error.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl-error.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl-error.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtl-error.c:25: In file included from ../../src/gcc/rtl-error.h:23: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtl-error.c:25: In file included from ../../src/gcc/rtl-error.h:23: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtl-error.c:25: In file included from ../../src/gcc/rtl-error.h:23: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtl-tests.o -MT rtl-tests.o -MMD -MP -MF ./.deps/rtl-tests.TPo ../../src/gcc/rtl-tests.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtl-tests.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtl-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtl-tests.c:36: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtl-tests.c:36: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtl-tests.c:36: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtl.o -MT rtl.o -MMD -MP -MF ./.deps/rtl.TPo ../../src/gcc/rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtl.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtl.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtl.c:31: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtl.c:31: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtl.c:31: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtlhash.o -MT rtlhash.o -MMD -MP -MF ./.deps/rtlhash.TPo ../../src/gcc/rtlhash.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtlhash.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtlhash.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtlhash.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtlhash.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtlhash.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtlhash.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtlhash.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtlanal.o -MT rtlanal.o -MMD -MP -MF ./.deps/rtlanal.TPo ../../src/gcc/rtlanal.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtlanal.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtlanal.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtlanal.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtlanal.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/rtlanal.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtlanal.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtlanal.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtlanal.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/rtlanal.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/rtlanal.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/rtlanal.c:5887:23: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] *second = GEN_INT (CONST_DOUBLE_HIGH (value)); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../src/gcc/rtl.h:1867:30: note: expanded from macro 'CONST_DOUBLE_HIGH' #define CONST_DOUBLE_HIGH(r) XCMWINT (r, 1, CONST_DOUBLE, VOIDmode) ^ ~ ../../src/gcc/rtl.h:1186:36: note: expanded from macro 'XCMWINT' #define XCMWINT(RTX, N, C, M) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:3415:51: note: expanded from macro 'GEN_INT' #define GEN_INT(N) gen_rtx_CONST_INT (VOIDmode, (N)) ^ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o rtlhooks.o -MT rtlhooks.o -MMD -MP -MF ./.deps/rtlhooks.TPo ../../src/gcc/rtlhooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/rtlhooks.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/rtlhooks.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtlhooks.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/rtlhooks.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/rtlhooks.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/rtlhooks.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/rtlhooks.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o run-rtl-passes.o -MT run-rtl-passes.o -MMD -MP -MF ./.deps/run-rtl-passes.TPo ../../src/gcc/run-rtl-passes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/run-rtl-passes.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/run-rtl-passes.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/run-rtl-passes.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/run-rtl-passes.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:23: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/run-rtl-passes.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/run-rtl-passes.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/run-rtl-passes.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/run-rtl-passes.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/run-rtl-passes.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/run-rtl-passes.c:31: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sbitmap.o -MT sbitmap.o -MMD -MP -MF ./.deps/sbitmap.TPo ../../src/gcc/sbitmap.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sbitmap.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sbitmap.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sbitmap.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sbitmap.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sched-deps.o -MT sched-deps.o -MMD -MP -MF ./.deps/sched-deps.TPo ../../src/gcc/sched-deps.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sched-deps.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sched-deps.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sched-deps.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sched-deps.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-deps.c:28: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sched-deps.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sched-deps.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sched-deps.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sched-deps.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sched-deps.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/sched-deps.c:676:31: warning: struct 'rtx_insn' was previously declared as a class [-Wmismatched-tags] if (IS_SPECULATION_CHECK_P (CONST_CAST_RTX_INSN (insn))) ^ ../../src/gcc/system.h:1105:44: note: expanded from macro 'CONST_CAST_RTX_INSN' #define CONST_CAST_RTX_INSN(X) CONST_CAST (struct rtx_insn *, (X)) ^ ../../src/gcc/rtl.h:520:15: note: previous use is here class GTY(()) rtx_insn : public rtx_def ^ ../../src/gcc/sched-deps.c:676:31: note: did you mean class here? if (IS_SPECULATION_CHECK_P (CONST_CAST_RTX_INSN (insn))) ^ ../../src/gcc/system.h:1105:44: note: expanded from macro 'CONST_CAST_RTX_INSN' #define CONST_CAST_RTX_INSN(X) CONST_CAST (struct rtx_insn *, (X)) ^ ../../src/gcc/sched-deps.c:676:31: warning: struct 'rtx_insn' was previously declared as a class [-Wmismatched-tags] if (IS_SPECULATION_CHECK_P (CONST_CAST_RTX_INSN (insn))) ^ ../../src/gcc/system.h:1105:44: note: expanded from macro 'CONST_CAST_RTX_INSN' #define CONST_CAST_RTX_INSN(X) CONST_CAST (struct rtx_insn *, (X)) ^ ../../src/gcc/rtl.h:520:15: note: previous use is here class GTY(()) rtx_insn : public rtx_def ^ ../../src/gcc/sched-deps.c:676:31: note: did you mean class here? if (IS_SPECULATION_CHECK_P (CONST_CAST_RTX_INSN (insn))) ^ ../../src/gcc/system.h:1105:44: note: expanded from macro 'CONST_CAST_RTX_INSN' #define CONST_CAST_RTX_INSN(X) CONST_CAST (struct rtx_insn *, (X)) ^ In file included from ../../src/gcc/sched-deps.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sched-deps.c:321:27: note: in instantiation of member function 'object_allocator<_dep_node>::allocate' requested here dep_node_t n = dn_pool->allocate (); ^ In file included from ../../src/gcc/sched-deps.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sched-deps.c:321:27: note: in instantiation of member function 'object_allocator<_dep_node>::allocate' requested here dep_node_t n = dn_pool->allocate (); ^ In file included from ../../src/gcc/sched-deps.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/sched-deps.c:349:12: note: in instantiation of member function 'object_allocator<_dep_node>::remove' requested here dn_pool->remove (n); ^ 30 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sched-ebb.o -MT sched-ebb.o -MMD -MP -MF ./.deps/sched-ebb.TPo ../../src/gcc/sched-ebb.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sched-ebb.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sched-ebb.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sched-ebb.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sched-ebb.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-ebb.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sched-ebb.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sched-ebb.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sched-ebb.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sched-ebb.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sched-ebb.c:29: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sched-rgn.o -MT sched-rgn.o -MMD -MP -MF ./.deps/sched-rgn.TPo ../../src/gcc/sched-rgn.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sched-rgn.c:48: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sched-rgn.c:48: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sched-rgn.c:48: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sched-rgn.c:48: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sched-rgn.c:51: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sched-rgn.c:51: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sched-rgn.c:51: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sched-rgn.c:52: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sched-rgn.c:52: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sched-rgn.c:52: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sdbout.o -MT sdbout.o -MMD -MP -MF ./.deps/sdbout.TPo ../../src/gcc/sdbout.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sdbout.c:44: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sdbout.c:44: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sdbout.c:44: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sdbout.c:44: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sdbout.c:69: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sdbout.c:69: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sdbout.c:69: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sdbout.c:77: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sdbout.c:81: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 23 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sel-sched-ir.o -MT sel-sched-ir.o -MMD -MP -MF ./.deps/sel-sched-ir.TPo ../../src/gcc/sel-sched-ir.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sel-sched-ir.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sel-sched-ir.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sel-sched-ir.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sel-sched-ir.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sel-sched-ir.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sel-sched-ir.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sel-sched-ir.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sel-sched-ir.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched-ir.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched-ir.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:37: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched-ir.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sel-sched-ir.h:365:27: note: in instantiation of member function 'object_allocator<_list_node>::allocate' requested here return sched_lists_pool.allocate (); ^ In file included from ../../src/gcc/sel-sched-ir.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sel-sched-ir.h:365:27: note: in instantiation of member function 'object_allocator<_list_node>::allocate' requested here return sched_lists_pool.allocate (); ^ In file included from ../../src/gcc/sel-sched-ir.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/sel-sched-ir.h:391:20: note: in instantiation of member function 'object_allocator<_list_node>::remove' requested here sched_lists_pool.remove (n); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sel-sched-dump.o -MT sel-sched-dump.o -MMD -MP -MF ./.deps/sel-sched-dump.TPo ../../src/gcc/sel-sched-dump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sel-sched-dump.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sel-sched-dump.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sel-sched-dump.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sel-sched-dump.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sel-sched-dump.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sel-sched-dump.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sel-sched-dump.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sel-sched-dump.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched-dump.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched-dump.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched-dump.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sel-sched-ir.h:365:27: note: in instantiation of member function 'object_allocator<_list_node>::allocate' requested here return sched_lists_pool.allocate (); ^ In file included from ../../src/gcc/sel-sched-dump.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sel-sched-ir.h:365:27: note: in instantiation of member function 'object_allocator<_list_node>::allocate' requested here return sched_lists_pool.allocate (); ^ In file included from ../../src/gcc/sel-sched-dump.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/sel-sched-ir.h:391:20: note: in instantiation of member function 'object_allocator<_list_node>::remove' requested here sched_lists_pool.remove (n); ^ 13 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sel-sched.o -MT sel-sched.o -MMD -MP -MF ./.deps/sel-sched.TPo ../../src/gcc/sel-sched.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sel-sched.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sel-sched.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sel-sched.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sel-sched.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sel-sched.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/sel-sched.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sel-sched.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/sel-sched.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/sel-sched.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sel-sched-ir.h:365:27: note: in instantiation of member function 'object_allocator<_list_node>::allocate' requested here return sched_lists_pool.allocate (); ^ In file included from ../../src/gcc/sel-sched.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/sel-sched-ir.h:365:27: note: in instantiation of member function 'object_allocator<_list_node>::allocate' requested here return sched_lists_pool.allocate (); ^ In file included from ../../src/gcc/sel-sched.c:26: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/sel-sched-ir.h:391:20: note: in instantiation of member function 'object_allocator<_list_node>::remove' requested here sched_lists_pool.remove (n); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o selftest-rtl.o -MT selftest-rtl.o -MMD -MP -MF ./.deps/selftest-rtl.TPo ../../src/gcc/selftest-rtl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/selftest-rtl.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/selftest-rtl.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/selftest-rtl.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/selftest-rtl.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-rtl.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/selftest-rtl.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/selftest-rtl.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o selftest-run-tests.o -MT selftest-run-tests.o -MMD -MP -MF ./.deps/selftest-run-tests.TPo ../../src/gcc/selftest-run-tests.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/selftest-run-tests.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/selftest-run-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/selftest-run-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/selftest-run-tests.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/selftest-run-tests.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sese.o -MT sese.o -MMD -MP -MF ./.deps/sese.TPo ../../src/gcc/sese.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sese.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sese.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sese.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sese.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sese.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/sese.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/sese.c:187:27: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here region->incomplete_phis.create (3); ^ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o shrink-wrap.o -MT shrink-wrap.o -MMD -MP -MF ./.deps/shrink-wrap.TPo ../../src/gcc/shrink-wrap.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/shrink-wrap.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/shrink-wrap.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/shrink-wrap.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/shrink-wrap.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/shrink-wrap.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/shrink-wrap.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/shrink-wrap.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/shrink-wrap.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/shrink-wrap.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/shrink-wrap.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/shrink-wrap.c:36: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o simplify-rtx.o -MT simplify-rtx.o -MMD -MP -MF ./.deps/simplify-rtx.TPo ../../src/gcc/simplify-rtx.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/simplify-rtx.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/simplify-rtx.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/simplify-rtx.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/simplify-rtx.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/simplify-rtx.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/simplify-rtx.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/simplify-rtx.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 22 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sparseset.o -MT sparseset.o -MMD -MP -MF ./.deps/sparseset.TPo ../../src/gcc/sparseset.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o spellcheck.o -MT spellcheck.o -MMD -MP -MF ./.deps/spellcheck.TPo ../../src/gcc/spellcheck.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/spellcheck.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/spellcheck.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/spellcheck.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/spellcheck.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o spellcheck-tree.o -MT spellcheck-tree.o -MMD -MP -MF ./.deps/spellcheck-tree.TPo ../../src/gcc/spellcheck-tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/spellcheck-tree.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/spellcheck-tree.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/spellcheck-tree.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/spellcheck-tree.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sreal.o -MT sreal.o -MMD -MP -MF ./.deps/sreal.TPo ../../src/gcc/sreal.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sreal.c:53: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sreal.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sreal.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sreal.c:53: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o stack-ptr-mod.o -MT stack-ptr-mod.o -MMD -MP -MF ./.deps/stack-ptr-mod.TPo ../../src/gcc/stack-ptr-mod.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/stack-ptr-mod.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/stack-ptr-mod.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stack-ptr-mod.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stack-ptr-mod.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/stack-ptr-mod.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/stack-ptr-mod.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/stack-ptr-mod.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/stack-ptr-mod.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/stack-ptr-mod.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/stack-ptr-mod.c:25: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o statistics.o -MT statistics.o -MMD -MP -MF ./.deps/statistics.TPo ../../src/gcc/statistics.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/statistics.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/statistics.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/statistics.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/statistics.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o stmt.o -MT stmt.o -MMD -MP -MF ./.deps/stmt.TPo ../../src/gcc/stmt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/stmt.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/stmt.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stmt.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stmt.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stmt.c:30: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/stmt.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/stmt.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/stmt.c:32: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/stmt.c:34: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/stmt.c:34: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/stmt.c:34: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/stmt.c:34: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/stmt.c:732:22: note: in instantiation of member function 'object_allocator::allocate' requested here r = case_node_pool.allocate (); ^ In file included from ../../src/gcc/stmt.c:34: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/stmt.c:732:22: note: in instantiation of member function 'object_allocator::allocate' requested here r = case_node_pool.allocate (); ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o stor-layout.o -MT stor-layout.o -MMD -MP -MF ./.deps/stor-layout.TPo ../../src/gcc/stor-layout.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/stor-layout.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/stor-layout.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stor-layout.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stor-layout.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/stor-layout.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/stor-layout.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/stor-layout.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/stor-layout.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/stor-layout.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/stor-layout.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 30 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o store-motion.o -MT store-motion.o -MMD -MP -MF ./.deps/store-motion.TPo ../../src/gcc/store-motion.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/store-motion.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/store-motion.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/store-motion.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/store-motion.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/store-motion.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/store-motion.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/store-motion.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/store-motion.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/store-motion.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/store-motion.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o streamer-hooks.o -MT streamer-hooks.o -MMD -MP -MF ./.deps/streamer-hooks.TPo ../../src/gcc/streamer-hooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/streamer-hooks.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/streamer-hooks.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/streamer-hooks.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/streamer-hooks.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o stringpool.o -MT stringpool.o -MMD -MP -MF ./.deps/stringpool.TPo ../../src/gcc/stringpool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/stringpool.c:30: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/stringpool.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stringpool.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/stringpool.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o substring-locations.o -MT substring-locations.o -MMD -MP -MF ./.deps/substring-locations.TPo ../../src/gcc/substring-locations.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/substring-locations.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/substring-locations.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/substring-locations.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/substring-locations.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o target-globals.o -MT target-globals.o -MMD -MP -MF ./.deps/target-globals.TPo ../../src/gcc/target-globals.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/target-globals.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/target-globals.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/target-globals.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/target-globals.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/target-globals.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/target-globals.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/target-globals.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o targhooks.o -MT targhooks.o -MMD -MP -MF ./.deps/targhooks.TPo ../../src/gcc/targhooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/targhooks.c:51: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/targhooks.c:51: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/targhooks.c:51: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/targhooks.c:51: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:52: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/targhooks.c:54: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/targhooks.c:54: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/targhooks.c:54: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/targhooks.c:74: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 23 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o timevar.o -MT timevar.o -MMD -MP -MF ./.deps/timevar.TPo ../../src/gcc/timevar.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/timevar.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/timevar.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/timevar.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/timevar.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DTARGET_NAME=\"x86_64-apple-darwin16.7.0\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o toplev.o -MT toplev.o -MMD -MP -MF ./.deps/toplev.TPo ../../src/gcc/toplev.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/toplev.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/toplev.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/toplev.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/toplev.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:30: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/toplev.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/toplev.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/toplev.c:32: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/toplev.c:33: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/toplev.c:33: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/toplev.c:33: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/toplev.c:41: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/toplev.c:41: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/toplev.c:41: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/toplev.c:50: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/toplev.c:60: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/toplev.c:76: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/toplev.c:80: ../../src/gcc/hsa-common.h:1067:11: warning: struct 'hsa_bb' was previously declared as a class [-Wmismatched-tags] return (struct hsa_bb *) bb->aux; ^ ../../src/gcc/hsa-common.h:1025:7: note: previous use is here class hsa_bb ^ ../../src/gcc/hsa-common.h:1067:11: note: did you mean class here? return (struct hsa_bb *) bb->aux; ^~~~~~ class ../../src/gcc/hsa-common.h:1313:8: warning: struct 'hsa_function_representation' was previously declared as a class [-Wmismatched-tags] extern struct hsa_function_representation *hsa_cfun; ^ ../../src/gcc/hsa-common.h:1097:7: note: previous use is here class hsa_function_representation ^ ../../src/gcc/hsa-common.h:1313:8: note: did you mean class here? extern struct hsa_function_representation *hsa_cfun; ^~~~~~ class 58 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tracer.o -MT tracer.o -MMD -MP -MF ./.deps/tracer.TPo ../../src/gcc/tracer.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tracer.c:38: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tracer.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tracer.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tracer.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tracer.c:40: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tracer.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tracer.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tracer.c:42: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o trans-mem.o -MT trans-mem.o -MMD -MP -MF ./.deps/trans-mem.TPo ../../src/gcc/trans-mem.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/trans-mem.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/trans-mem.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/trans-mem.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/trans-mem.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/trans-mem.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/trans-mem.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/trans-mem.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/trans-mem.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/trans-mem.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/trans-mem.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/trans-mem.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/trans-mem.c:47: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/trans-mem.c:5710: ./gt-trans-mem.h:60:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-trans-mem.h:60:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-trans-mem.h:60:64: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-trans-mem.h:60:64: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 53 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-affine.o -MT tree-affine.o -MMD -MP -MF ./.deps/tree-affine.TPo ../../src/gcc/tree-affine.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-affine.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-affine.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-affine.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-affine.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-affine.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-affine.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-affine.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-affine.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o asan.o -MT asan.o -MMD -MP -MF ./.deps/asan.TPo ../../src/gcc/asan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/asan.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/asan.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/asan.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/asan.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/asan.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/asan.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/asan.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/asan.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/asan.c:31: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/asan.c:31: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/asan.c:31: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/asan.c:40: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/asan.c:40: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/asan.c:40: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/asan.c:54: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/asan.c:31: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/asan.c:381:41: note: in instantiation of member function 'object_allocator::allocate' requested here asan_mem_ref *ref = asan_mem_ref_pool.allocate (); ^ In file included from ../../src/gcc/asan.c:31: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/asan.c:381:41: note: in instantiation of member function 'object_allocator::allocate' requested here asan_mem_ref *ref = asan_mem_ref_pool.allocate (); ^ 56 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tsan.o -MT tsan.o -MMD -MP -MF ./.deps/tsan.TPo ../../src/gcc/tsan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tsan.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tsan.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tsan.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tsan.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tsan.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tsan.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tsan.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tsan.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tsan.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tsan.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tsan.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tsan.c:45: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ubsan.o -MT ubsan.o -MMD -MP -MF ./.deps/ubsan.TPo ../../src/gcc/ubsan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ubsan.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/ubsan.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/ubsan.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ubsan.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/ubsan.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/ubsan.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/ubsan.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/ubsan.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/ubsan.c:38: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/ubsan.c:2072: ./gt-ubsan.h:134:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-ubsan.h:134:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-ubsan.h:134:73: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-ubsan.h:134:73: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 38 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sanopt.o -MT sanopt.o -MMD -MP -MF ./.deps/sanopt.TPo ../../src/gcc/sanopt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sanopt.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sanopt.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sanopt.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sanopt.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sanopt.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o sancov.o -MT sancov.o -MMD -MP -MF ./.deps/sancov.TPo ../../src/gcc/sancov.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/sancov.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/sancov.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sancov.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/sancov.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/sancov.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-call-cdce.o -MT tree-call-cdce.o -MMD -MP -MF ./.deps/tree-call-cdce.TPo ../../src/gcc/tree-call-cdce.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-call-cdce.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-call-cdce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-call-cdce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-call-cdce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-call-cdce.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-call-cdce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/tree-call-cdce.c:864:9: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here edges.reserve (nconds); ^ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-cfg.o -MT tree-cfg.o -MMD -MP -MF ./.deps/tree-cfg.TPo ../../src/gcc/tree-cfg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-cfg.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-cfg.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-cfg.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-cfg.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-cfg.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-cfg.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-cfg.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-cfg.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-cfg.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-cfg.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-cfg.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-cfgcleanup.o -MT tree-cfgcleanup.o -MMD -MP -MF ./.deps/tree-cfgcleanup.TPo ../../src/gcc/tree-cfgcleanup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-cfgcleanup.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-cfgcleanup.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-cfgcleanup.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-cfgcleanup.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-cfgcleanup.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-cfgcleanup.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-cfgcleanup.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-cfgcleanup.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-chrec.o -MT tree-chrec.o -MMD -MP -MF ./.deps/tree-chrec.TPo ../../src/gcc/tree-chrec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-chrec.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-chrec.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-chrec.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-chrec.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/tree-chrec.c:55:1: warning: unused function 'chrec_fold_poly_cst' [-Wunused-function] chrec_fold_poly_cst (enum tree_code code, ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-complex.o -MT tree-complex.o -MMD -MP -MF ./.deps/tree-complex.TPo ../../src/gcc/tree-complex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-complex.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-complex.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-complex.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-complex.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-complex.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-complex.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-complex.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-complex.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-data-ref.o -MT tree-data-ref.o -MMD -MP -MF ./.deps/tree-data-ref.TPo ../../src/gcc/tree-data-ref.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-data-ref.c:78: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-data-ref.c:78: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-data-ref.c:78: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-data-ref.c:78: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-data-ref.c:80: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-data-ref.c:80: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-data-ref.c:80: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-data-ref.c:82: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-dfa.o -MT tree-dfa.o -MMD -MP -MF ./.deps/tree-dfa.TPo ../../src/gcc/tree-dfa.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-dfa.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-dfa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-dfa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-dfa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-dfa.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-dfa.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-dfa.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-dfa.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-diagnostic.o -MT tree-diagnostic.o -MMD -MP -MF ./.deps/tree-diagnostic.TPo ../../src/gcc/tree-diagnostic.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-diagnostic.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-diagnostic.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-diagnostic.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-diagnostic.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-dump.o -MT tree-dump.o -MMD -MP -MF ./.deps/tree-dump.TPo ../../src/gcc/tree-dump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-dump.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-eh.o -MT tree-eh.o -MMD -MP -MF ./.deps/tree-eh.TPo ../../src/gcc/tree-eh.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-eh.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-eh.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-eh.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-eh.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-eh.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-eh.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-eh.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-eh.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-eh.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-eh.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-eh.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-emutls.o -MT tree-emutls.o -MMD -MP -MF ./.deps/tree-emutls.TPo ../../src/gcc/tree-emutls.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-emutls.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-emutls.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-emutls.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-emutls.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-emutls.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-emutls.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-emutls.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-emutls.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-if-conv.o -MT tree-if-conv.o -MMD -MP -MF ./.deps/tree-if-conv.TPo ../../src/gcc/tree-if-conv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-if-conv.c:85: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-if-conv.c:85: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-if-conv.c:85: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-if-conv.c:85: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-if-conv.c:87: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-if-conv.c:87: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-if-conv.c:87: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-if-conv.c:89: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/tree-if-conv.c:1076:1: warning: unused function 'has_pred_critical_p' [-Wunused-function] has_pred_critical_p (basic_block bb) ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-inline.o -MT tree-inline.o -MMD -MP -MF ./.deps/tree-inline.TPo ../../src/gcc/tree-inline.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-inline.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-inline.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-inline.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-inline.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-inline.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-inline.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-inline.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-inline.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-inline.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-inline.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-inline.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-into-ssa.o -MT tree-into-ssa.o -MMD -MP -MF ./.deps/tree-into-ssa.TPo ../../src/gcc/tree-into-ssa.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-into-ssa.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-into-ssa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-into-ssa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-into-ssa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-into-ssa.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-into-ssa.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-into-ssa.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-into-ssa.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-iterator.o -MT tree-iterator.o -MMD -MP -MF ./.deps/tree-iterator.TPo ../../src/gcc/tree-iterator.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-iterator.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-iterator.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-iterator.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-iterator.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-loop-distribution.o -MT tree-loop-distribution.o -MMD -MP -MF ./.deps/tree-loop-distribution.TPo ../../src/gcc/tree-loop-distribution.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-loop-distribution.c:46: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-loop-distribution.c:46: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-loop-distribution.c:46: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-loop-distribution.c:46: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-loop-distribution.c:49: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-loop-distribution.c:66: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-nested.o -MT tree-nested.o -MMD -MP -MF ./.deps/tree-nested.TPo ../../src/gcc/tree-nested.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-nested.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-nested.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-nested.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-nested.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-nested.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-nested.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-nested.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-nested.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-nested.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-nested.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-nested.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-nrv.o -MT tree-nrv.o -MMD -MP -MF ./.deps/tree-nrv.TPo ../../src/gcc/tree-nrv.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-nrv.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-nrv.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-nrv.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-nrv.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-nrv.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-object-size.o -MT tree-object-size.o -MMD -MP -MF ./.deps/tree-object-size.TPo ../../src/gcc/tree-object-size.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-object-size.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-object-size.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-object-size.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-object-size.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-object-size.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-outof-ssa.o -MT tree-outof-ssa.o -MMD -MP -MF ./.deps/tree-outof-ssa.TPo ../../src/gcc/tree-outof-ssa.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-outof-ssa.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-outof-ssa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-outof-ssa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-outof-ssa.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-outof-ssa.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-outof-ssa.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-outof-ssa.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-outof-ssa.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-parloops.o -MT tree-parloops.o -MMD -MP -MF ./.deps/tree-parloops.TPo ../../src/gcc/tree-parloops.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-parloops.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-parloops.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-parloops.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-parloops.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-parloops.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-parloops.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-parloops.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-parloops.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-parloops.c:49: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-phinodes.o -MT tree-phinodes.o -MMD -MP -MF ./.deps/tree-phinodes.TPo ../../src/gcc/tree-phinodes.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-phinodes.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-phinodes.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-phinodes.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-phinodes.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-phinodes.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-chkp.o -MT tree-chkp.o -MMD -MP -MF ./.deps/tree-chkp.TPo ../../src/gcc/tree-chkp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-chkp.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-chkp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-chkp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-chkp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-chkp.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-chkp.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-chkp.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-chkp.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-chkp.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-chkp.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/tree-chkp.c:367:1: warning: struct 'hash_set' was previously declared as a class [-Wmismatched-tags] struct hash_set *chkp_invalid_bounds; ^ ../../src/gcc/hash-set.h:25:7: note: previous use is here class hash_set ^ ../../src/gcc/tree-chkp.c:368:1: warning: struct 'hash_set' was previously declared as a class [-Wmismatched-tags] struct hash_set *chkp_completed_bounds_set; ^ ../../src/gcc/hash-set.h:25:7: note: previous use is here class hash_set ^ ../../src/gcc/tree-chkp.c:369:1: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map *chkp_reg_bounds; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ../../src/gcc/tree-chkp.c:370:1: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map *chkp_bound_vars; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ../../src/gcc/tree-chkp.c:371:1: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map *chkp_reg_addr_bounds; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ../../src/gcc/tree-chkp.c:372:1: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map *chkp_incomplete_bounds_map; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ../../src/gcc/tree-chkp.c:373:1: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map *chkp_bounds_map; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ../../src/gcc/tree-chkp.c:374:1: warning: struct 'hash_map' was previously declared as a class [-Wmismatched-tags] struct hash_map *chkp_static_var_bounds; ^ ../../src/gcc/hash-map.h:26:19: note: previous use is here class GTY((user)) hash_map ^ ../../src/gcc/tree-chkp.c:3897:3: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *node; ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/tree-chkp.c:3897:3: note: did you mean class here? struct varpool_node *node; ^~~~~~ class 59 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-chkp-opt.o -MT tree-chkp-opt.o -MMD -MP -MF ./.deps/tree-chkp-opt.TPo ../../src/gcc/tree-chkp-opt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-chkp-opt.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-chkp-opt.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-chkp-opt.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-chkp-opt.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-chkp-opt.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-chkp-opt.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-chkp-opt.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-chkp-opt.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-predcom.o -MT tree-predcom.o -MMD -MP -MF ./.deps/tree-predcom.TPo ../../src/gcc/tree-predcom.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-predcom.c:189: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-predcom.c:189: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-predcom.c:189: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-predcom.c:189: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-predcom.c:191: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-predcom.c:191: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-predcom.c:191: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-predcom.c:193: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-pretty-print.o -MT tree-pretty-print.o -MMD -MP -MF ./.deps/tree-pretty-print.TPo ../../src/gcc/tree-pretty-print.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-pretty-print.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-pretty-print.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-pretty-print.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-pretty-print.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-pretty-print.c:28: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-pretty-print.c:28: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-pretty-print.c:28: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 15 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-profile.o -MT tree-profile.o -MMD -MP -MF ./.deps/tree-profile.TPo ../../src/gcc/tree-profile.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-profile.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-profile.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-profile.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-profile.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-profile.c:34: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-profile.c:38: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-profile.c:38: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-profile.c:38: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-scalar-evolution.o -MT tree-scalar-evolution.o -MMD -MP -MF ./.deps/tree-scalar-evolution.TPo ../../src/gcc/tree-scalar-evolution.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-scalar-evolution.c:258: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-scalar-evolution.c:258: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-scalar-evolution.c:258: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-scalar-evolution.c:258: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-scalar-evolution.c:260: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-scalar-evolution.c:260: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-scalar-evolution.c:260: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-scalar-evolution.c:262: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-scalar-evolution.c:3902: ./gt-tree-scalar-evolution.h:127:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree-scalar-evolution.h:127:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree-scalar-evolution.h:127:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree-scalar-evolution.h:127:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 29 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-sra.o -MT tree-sra.o -MMD -MP -MF ./.deps/tree-sra.TPo ../../src/gcc/tree-sra.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-sra.c:76: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-sra.c:76: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-sra.c:76: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-sra.c:76: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:78: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-sra.c:79: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-sra.c:79: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-sra.c:79: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-sra.c:81: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-sra.c:83: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-sra.c:83: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-sra.c:83: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-sra.c:86: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-sra.c:86: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-sra.c:86: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-sra.c:100: ../../src/gcc/ipa-prop.h:592:15: warning: struct 'ipa_polymorphic_call_context' was previously declared as a class [-Wmismatched-tags] static inline struct ipa_polymorphic_call_context * ^ ../../src/gcc/cgraph.h:1458:15: note: previous use is here class GTY(()) ipa_polymorphic_call_context { ^ ../../src/gcc/ipa-prop.h:592:15: note: did you mean class here? static inline struct ipa_polymorphic_call_context * ^~~~~~ class In file included from ../../src/gcc/tree-sra.c:104: ../../src/gcc/ipa-inline.h:183:5: warning: struct 'inline_summary_t' was previously declared as a class [-Wmismatched-tags] struct inline_summary_t *summary = new (ggc_cleared_alloc ()) ^ ../../src/gcc/ipa-inline.h:175:19: note: previous use is here class GTY((user)) inline_summary_t: public function_summary ^ In file included from ../../src/gcc/tree-sra.c:83: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-sra.c:841:39: note: in instantiation of member function 'object_allocator::allocate' requested here struct access *access = access_pool.allocate (); ^ In file included from ../../src/gcc/tree-sra.c:83: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-sra.c:841:39: note: in instantiation of member function 'object_allocator::allocate' requested here struct access *access = access_pool.allocate (); ^ 57 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-switch-conversion.o -MT tree-switch-conversion.o -MMD -MP -MF ./.deps/tree-switch-conversion.TPo ../../src/gcc/tree-switch-conversion.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-switch-conversion.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-switch-conversion.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-switch-conversion.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-switch-conversion.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-switch-conversion.c:30: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-switch-conversion.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-switch-conversion.c:30: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-switch-conversion.c:32: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-switch-conversion.c:37: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-switch-conversion.c:37: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-switch-conversion.c:37: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-address.o -MT tree-ssa-address.o -MMD -MP -MF ./.deps/tree-ssa-address.TPo ../../src/gcc/tree-ssa-address.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-address.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-address.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-address.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-address.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-address.c:28: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-address.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-address.c:28: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-address.c:30: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-alias.o -MT tree-ssa-alias.o -MMD -MP -MF ./.deps/tree-ssa-alias.TPo ../../src/gcc/tree-ssa-alias.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-alias.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-alias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-alias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-alias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-alias.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-alias.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-alias.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-alias.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-alias.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-alias.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-alias.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-ccp.o -MT tree-ssa-ccp.o -MMD -MP -MF ./.deps/tree-ssa-ccp.TPo ../../src/gcc/tree-ssa-ccp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-ccp.c:123: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ccp.c:123: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ccp.c:123: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ccp.c:123: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:125: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-ccp.c:127: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-coalesce.o -MT tree-ssa-coalesce.o -MMD -MP -MF ./.deps/tree-ssa-coalesce.TPo ../../src/gcc/tree-ssa-coalesce.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-coalesce.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-coalesce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-coalesce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-coalesce.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-coalesce.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/tree-ssa-coalesce.c:988:1: warning: unused function 'print_exprs' [-Wunused-function] print_exprs (FILE *f, const char *str1, tree expr1, const char *str2, ^ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-copy.o -MT tree-ssa-copy.o -MMD -MP -MF ./.deps/tree-ssa-copy.TPo ../../src/gcc/tree-ssa-copy.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-copy.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-copy.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-copy.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-copy.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-copy.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-dce.o -MT tree-ssa-dce.o -MMD -MP -MF ./.deps/tree-ssa-dce.TPo ../../src/gcc/tree-ssa-dce.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-dce.c:47: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dce.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dce.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dce.c:47: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-dce.c:49: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-dce.c:49: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-dce.c:49: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-dce.c:51: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-dom.o -MT tree-ssa-dom.o -MMD -MP -MF ./.deps/tree-ssa-dom.TPo ../../src/gcc/tree-ssa-dom.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-dom.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dom.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dom.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dom.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-dom.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-dom.c:42: ../../src/gcc/tree-ssa-scopedtables.h:99:3: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] struct expr_hash_elt *m_stamp; ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ In file included from ../../src/gcc/tree-ssa-dom.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-scopedtables.h:131:15: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here { m_stack.create (20); m_avail_exprs = table; } ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-dse.o -MT tree-ssa-dse.o -MMD -MP -MF ./.deps/tree-ssa-dse.TPo ../../src/gcc/tree-ssa-dse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-dse.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-dse.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-dse.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-dse.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-dse.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-dse.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-forwprop.o -MT tree-ssa-forwprop.o -MMD -MP -MF ./.deps/tree-ssa-forwprop.TPo ../../src/gcc/tree-ssa-forwprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-forwprop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-forwprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-forwprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-forwprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-forwprop.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-forwprop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-forwprop.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-forwprop.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-ifcombine.o -MT tree-ssa-ifcombine.o -MMD -MP -MF ./.deps/tree-ssa-ifcombine.TPo ../../src/gcc/tree-ssa-ifcombine.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-ifcombine.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ifcombine.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ifcombine.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ifcombine.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-ifcombine.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-ifcombine.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-ifcombine.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-ifcombine.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-live.o -MT tree-ssa-live.o -MMD -MP -MF ./.deps/tree-ssa-live.TPo ../../src/gcc/tree-ssa-live.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-live.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-live.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-live.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-live.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-live.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-live.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-live.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-live.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-live.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-live.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-live.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 35 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-ch.o -MT tree-ssa-loop-ch.o -MMD -MP -MF ./.deps/tree-ssa-loop-ch.TPo ../../src/gcc/tree-ssa-loop-ch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-ch.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-ch.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-loop-ch.c:34: ../../src/gcc/tree-ssa-scopedtables.h:99:3: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] struct expr_hash_elt *m_stamp; ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ In file included from ../../src/gcc/tree-ssa-loop-ch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-scopedtables.h:131:15: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here { m_stack.create (20); m_avail_exprs = table; } ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-im.o -MT tree-ssa-loop-im.o -MMD -MP -MF ./.deps/tree-ssa-loop-im.TPo ../../src/gcc/tree-ssa-loop-im.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-im.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-im.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-im.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-im.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-im.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-ivcanon.o -MT tree-ssa-loop-ivcanon.o -MMD -MP -MF ./.deps/tree-ssa-loop-ivcanon.TPo ../../src/gcc/tree-ssa-loop-ivcanon.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:40: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:40: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:40: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:40: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:43: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:47: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:47: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-loop-ivcanon.c:47: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 32 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-ivopts.o -MT tree-ssa-loop-ivopts.o -MMD -MP -MF ./.deps/tree-ssa-loop-ivopts.TPo ../../src/gcc/tree-ssa-loop-ivopts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:71: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:71: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:71: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:71: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:73: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:73: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:73: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:75: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:85: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:85: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:85: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-ivopts.c:110: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-manip.o -MT tree-ssa-loop-manip.o -MMD -MP -MF ./.deps/tree-ssa-loop-manip.TPo ../../src/gcc/tree-ssa-loop-manip.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-manip.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-manip.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-manip.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-manip.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-manip.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-niter.o -MT tree-ssa-loop-niter.o -MMD -MP -MF ./.deps/tree-ssa-loop-niter.TPo ../../src/gcc/tree-ssa-loop-niter.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-niter.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-niter.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-niter.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-niter.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-niter.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-niter.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-loop-niter.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-loop-niter.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-loop-niter.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec >, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec >, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve > >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec >, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-loop-niter.c:3596:16: note: in instantiation of member function 'vec >, va_heap, vl_ptr>::safe_push' requested here bounds.safe_push (bound); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-prefetch.o -MT tree-ssa-loop-prefetch.o -MMD -MP -MF ./.deps/tree-ssa-loop-prefetch.TPo ../../src/gcc/tree-ssa-loop-prefetch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-loop-prefetch.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-split.o -MT tree-ssa-loop-split.o -MMD -MP -MF ./.deps/tree-ssa-loop-split.TPo ../../src/gcc/tree-ssa-loop-split.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-split.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-split.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-split.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-split.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-split.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop-unswitch.o -MT tree-ssa-loop-unswitch.o -MMD -MP -MF ./.deps/tree-ssa-loop-unswitch.TPo ../../src/gcc/tree-ssa-loop-unswitch.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop-unswitch.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-unswitch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-unswitch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop-unswitch.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop-unswitch.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-loop.o -MT tree-ssa-loop.o -MMD -MP -MF ./.deps/tree-ssa-loop.TPo ../../src/gcc/tree-ssa-loop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-loop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-loop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-loop.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-loop.c:38: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-math-opts.o -MT tree-ssa-math-opts.o -MMD -MP -MF ./.deps/tree-ssa-math-opts.TPo ../../src/gcc/tree-ssa-math-opts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-math-opts.c:89: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:89: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:91: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:92: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-math-opts.c:92: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:92: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:94: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:96: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-math-opts.c:96: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-math-opts.c:96: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-math-opts.c:96: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-math-opts.c:211:29: note: in instantiation of member function 'object_allocator::allocate' requested here bb->aux = occ = occ_pool->allocate (); ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:96: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-math-opts.c:211:29: note: in instantiation of member function 'object_allocator::allocate' requested here bb->aux = occ = occ_pool->allocate (); ^ In file included from ../../src/gcc/tree-ssa-math-opts.c:96: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/tree-ssa-math-opts.c:439:13: note: in instantiation of member function 'object_allocator::remove' requested here occ_pool->remove (occ); ^ 48 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-operands.o -MT tree-ssa-operands.o -MMD -MP -MF ./.deps/tree-ssa-operands.TPo ../../src/gcc/tree-ssa-operands.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-operands.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-operands.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-operands.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-operands.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-operands.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-phionlycprop.o -MT tree-ssa-phionlycprop.o -MMD -MP -MF ./.deps/tree-ssa-phionlycprop.TPo ../../src/gcc/tree-ssa-phionlycprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-phionlycprop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phionlycprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phionlycprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phionlycprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-phionlycprop.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-phiopt.o -MT tree-ssa-phiopt.o -MMD -MP -MF ./.deps/tree-ssa-phiopt.TPo ../../src/gcc/tree-ssa-phiopt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-phiopt.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phiopt.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phiopt.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phiopt.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-phiopt.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-phiopt.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-phiopt.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-phiopt.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-phiprop.o -MT tree-ssa-phiprop.o -MMD -MP -MF ./.deps/tree-ssa-phiprop.TPo ../../src/gcc/tree-ssa-phiprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-phiprop.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phiprop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phiprop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-phiprop.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-phiprop.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-pre.o -MT tree-ssa-pre.o -MMD -MP -MF ./.deps/tree-ssa-pre.TPo ../../src/gcc/tree-ssa-pre.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-pre.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-pre.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-pre.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-pre.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-pre.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-pre.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-pre.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-pre.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-pre.c:30: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-pre.c:30: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-pre.c:30: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-pre.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-pre.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-pre.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-pre.c:30: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-pre.c:433:26: note: in instantiation of member function 'object_allocator::allocate' requested here result = pre_expr_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-pre.c:30: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-pre.c:433:26: note: in instantiation of member function 'object_allocator::allocate' requested here result = pre_expr_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-pre.c:30: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/tree-ssa-pre.c:1192:22: note: in instantiation of member function 'object_allocator::remove' requested here pre_expr_pool.remove (e); ^ ../../src/gcc/tree-ssa-pre.c:895:1: warning: unused function 'bitmap_set_contains_expr' [-Wunused-function] bitmap_set_contains_expr (bitmap_set_t set, const pre_expr expr) ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-propagate.o -MT tree-ssa-propagate.o -MMD -MP -MF ./.deps/tree-ssa-propagate.TPo ../../src/gcc/tree-ssa-propagate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-propagate.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-propagate.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-propagate.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-propagate.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-propagate.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-reassoc.o -MT tree-ssa-reassoc.o -MMD -MP -MF ./.deps/tree-ssa-reassoc.TPo ../../src/gcc/tree-ssa-reassoc.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-reassoc.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-reassoc.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:30: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-reassoc.c:30: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-reassoc.c:30: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-reassoc.c:30: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-reassoc.c:562:42: note: in instantiation of member function 'object_allocator::allocate' requested here operand_entry *oe = operand_entry_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:30: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-reassoc.c:562:42: note: in instantiation of member function 'object_allocator::allocate' requested here operand_entry *oe = operand_entry_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-reassoc.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-reassoc.c:1925:12: note: in instantiation of member function 'vec, va_heap, vl_ptr>::safe_push' requested here indxs.safe_push (std::make_pair (start, end)); ^ 48 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-sccvn.o -MT tree-ssa-sccvn.o -MMD -MP -MF ./.deps/tree-ssa-sccvn.TPo ../../src/gcc/tree-ssa-sccvn.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-sccvn.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-sccvn.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-sccvn.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-sccvn.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-sccvn.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-sccvn.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-sccvn.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-sccvn.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-sccvn.c:2499:40: note: in instantiation of member function 'object_allocator::allocate' requested here vr1 = current_info->references_pool->allocate (); ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-sccvn.c:2499:40: note: in instantiation of member function 'object_allocator::allocate' requested here vr1 = current_info->references_pool->allocate (); ^ In file included from ../../src/gcc/tree-ssa-sccvn.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec >, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec >, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve > >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec >, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec >, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec >, va_heap, vl_ptr>::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/tree-ssa-sccvn.c:4692:56: note: in instantiation of member function 'auto_vec >, 0>::auto_vec' requested here : dom_walker (CDI_DOMINATORS, true), fail (false), cond_stack (0) {} ^ ../../src/gcc/tree-ssa-sccvn.c:393:1: warning: unused function 'VN_INFO_SET' [-Wunused-function] VN_INFO_SET (tree name, vn_ssa_aux_t value) ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-scopedtables.o -MT tree-ssa-scopedtables.o -MMD -MP -MF ./.deps/tree-ssa-scopedtables.TPo ../../src/gcc/tree-ssa-scopedtables.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-scopedtables.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-scopedtables.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-scopedtables.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-scopedtables.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-scopedtables.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-scopedtables.c:29: ../../src/gcc/tree-ssa-scopedtables.h:99:3: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] struct expr_hash_elt *m_stamp; ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ ../../src/gcc/tree-ssa-scopedtables.c:903:9: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] const struct expr_hash_elt *stamp1 = p1->stamp (); ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ ../../src/gcc/tree-ssa-scopedtables.c:903:9: note: did you mean class here? const struct expr_hash_elt *stamp1 = p1->stamp (); ^~~~~~ class ../../src/gcc/tree-ssa-scopedtables.c:905:9: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] const struct expr_hash_elt *stamp2 = p2->stamp (); ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ ../../src/gcc/tree-ssa-scopedtables.c:905:9: note: did you mean class here? const struct expr_hash_elt *stamp2 = p2->stamp (); ^~~~~~ class In file included from ../../src/gcc/tree-ssa-scopedtables.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-scopedtables.h:131:15: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here { m_stack.create (20); m_avail_exprs = table; } ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-sink.o -MT tree-ssa-sink.o -MMD -MP -MF ./.deps/tree-ssa-sink.TPo ../../src/gcc/tree-ssa-sink.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-sink.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-sink.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-sink.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-sink.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-sink.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-strlen.o -MT tree-ssa-strlen.o -MMD -MP -MF ./.deps/tree-ssa-strlen.TPo ../../src/gcc/tree-ssa-strlen.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-strlen.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-strlen.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-strlen.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-strlen.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-strlen.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-strlen.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-strlen.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-strlen.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-strlen.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-strlen.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-strlen.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-strlen.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-strlen.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-strlen.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-strlen.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-strlen.c:424:30: note: in instantiation of member function 'object_allocator::allocate' requested here strinfo *si = strinfo_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-strlen.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-strlen.c:424:30: note: in instantiation of member function 'object_allocator::allocate' requested here strinfo *si = strinfo_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-strlen.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:520:17: note: in instantiation of member function 'base_pool_allocator::remove' requested here m_allocator.remove (object); ^ ../../src/gcc/tree-ssa-strlen.c:445:18: note: in instantiation of member function 'object_allocator::remove' requested here strinfo_pool.remove (si); ^ 41 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-structalias.o -MT tree-ssa-structalias.o -MMD -MP -MF ./.deps/tree-ssa-structalias.TPo ../../src/gcc/tree-ssa-structalias.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-structalias.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-structalias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-structalias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-structalias.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-structalias.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-structalias.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-structalias.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-ssa-structalias.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-structalias.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-structalias.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-structalias.c:28: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-ssa-structalias.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-ssa-structalias.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-ssa-structalias.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/tree-ssa-structalias.c:7739:28: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] refered_from_nonlocal_var (struct varpool_node *node, void *data) ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/tree-ssa-structalias.c:7739:28: note: did you mean class here? refered_from_nonlocal_var (struct varpool_node *node, void *data) ^~~~~~ class In file included from ../../src/gcc/tree-ssa-structalias.c:28: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-structalias.c:361:38: note: in instantiation of member function 'object_allocator::allocate' requested here varinfo_t ret = variable_info_pool.allocate (); ^ In file included from ../../src/gcc/tree-ssa-structalias.c:28: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-ssa-structalias.c:361:38: note: in instantiation of member function 'object_allocator::allocate' requested here varinfo_t ret = variable_info_pool.allocate (); ^ 41 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-tail-merge.o -MT tree-ssa-tail-merge.o -MMD -MP -MF ./.deps/tree-ssa-tail-merge.TPo ../../src/gcc/tree-ssa-tail-merge.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-tail-merge.c:190: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-tail-merge.c:190: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-tail-merge.c:190: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-tail-merge.c:190: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-tail-merge.c:193: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-ter.o -MT tree-ssa-ter.o -MMD -MP -MF ./.deps/tree-ssa-ter.TPo ../../src/gcc/tree-ssa-ter.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-ter.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ter.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ter.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-ter.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-ter.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-threadbackward.o -MT tree-ssa-threadbackward.o -MMD -MP -MF ./.deps/tree-ssa-threadbackward.TPo ../../src/gcc/tree-ssa-threadbackward.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-threadbackward.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-threadbackward.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadbackward.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-threadedge.o -MT tree-ssa-threadedge.o -MMD -MP -MF ./.deps/tree-ssa-threadedge.TPo ../../src/gcc/tree-ssa-threadedge.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-threadedge.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadedge.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadedge.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadedge.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-threadedge.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-threadedge.c:35: ../../src/gcc/tree-ssa-scopedtables.h:99:3: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] struct expr_hash_elt *m_stamp; ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ In file included from ../../src/gcc/tree-ssa-threadedge.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-scopedtables.h:131:15: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here { m_stack.create (20); m_avail_exprs = table; } ^ 26 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-threadupdate.o -MT tree-ssa-threadupdate.o -MMD -MP -MF ./.deps/tree-ssa-threadupdate.TPo ../../src/gcc/tree-ssa-threadupdate.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-threadupdate.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-threadupdate.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-ssa-threadupdate.c:37: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-uncprop.o -MT tree-ssa-uncprop.o -MMD -MP -MF ./.deps/tree-ssa-uncprop.TPo ../../src/gcc/tree-ssa-uncprop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-uncprop.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-uncprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-uncprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-uncprop.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-uncprop.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa-uninit.o -MT tree-ssa-uninit.o -MMD -MP -MF ./.deps/tree-ssa-uninit.TPo ../../src/gcc/tree-ssa-uninit.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa-uninit.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa-uninit.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-uninit.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa-uninit.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa-uninit.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/tree-ssa-uninit.c:1539:1: warning: unused function 'is_and_or_or_p' [-Wunused-function] is_and_or_or_p (enum tree_code tc, tree type) ^ 25 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssa.o -MT tree-ssa.o -MMD -MP -MF ./.deps/tree-ssa.TPo ../../src/gcc/tree-ssa.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssa.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssa.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssa.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssa.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-ssanames.o -MT tree-ssanames.o -MMD -MP -MF ./.deps/tree-ssanames.TPo ../../src/gcc/tree-ssanames.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-ssanames.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-ssanames.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssanames.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-ssanames.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-ssanames.c:25: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-stdarg.o -MT tree-stdarg.o -MMD -MP -MF ./.deps/tree-stdarg.TPo ../../src/gcc/tree-stdarg.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-stdarg.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-stdarg.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-stdarg.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-stdarg.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-stdarg.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-streamer.o -MT tree-streamer.o -MMD -MP -MF ./.deps/tree-streamer.TPo ../../src/gcc/tree-streamer.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-streamer.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-streamer.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-streamer.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-streamer.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-streamer.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-streamer.c:29: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/tree-streamer.c:29: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/tree-streamer.c:29: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/tree-streamer.c:29: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/tree-streamer.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/tree-streamer.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-streamer.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-streamer.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/tree-streamer.c:30: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 63 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-streamer-in.o -MT tree-streamer-in.o -MMD -MP -MF ./.deps/tree-streamer-in.TPo ../../src/gcc/tree-streamer-in.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-streamer-in.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-streamer-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-streamer-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-streamer-in.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-in.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-streamer-in.c:30: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/tree-streamer-in.c:30: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/tree-streamer-in.c:30: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/tree-streamer-in.c:30: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/tree-streamer-in.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/tree-streamer-in.c:31: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-streamer-in.c:31: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-streamer-in.c:31: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/tree-streamer-in.c:31: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/tree-streamer-in.c:42:52: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_string_cst (struct data_in *data_in, struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:42:52: note: did you mean class here? streamer_read_string_cst (struct data_in *data_in, struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/tree-streamer-in.c:58:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] input_identifier (struct data_in *data_in, struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:58:44: note: did you mean class here? input_identifier (struct data_in *data_in, struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/tree-streamer-in.c:74:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_chain (struct lto_input_block *ib, struct data_in *data_in) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:74:22: note: did you mean class here? streamer_read_chain (struct lto_input_block *ib, struct data_in *data_in) ^~~~~~ class ../../src/gcc/tree-streamer-in.c:462:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_tree_bitfields (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:462:31: note: did you mean class here? streamer_read_tree_bitfields (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:564:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_alloc_tree (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:564:22: note: did you mean class here? streamer_alloc_tree (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:652:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_common_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:652:36: note: did you mean class here? lto_input_ts_common_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:665:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_vector_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:665:36: note: did you mean class here? lto_input_ts_vector_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:679:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_complex_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:679:37: note: did you mean class here? lto_input_ts_complex_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:692:42: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_decl_minimal_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:692:42: note: did you mean class here? lto_input_ts_decl_minimal_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:705:41: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_decl_common_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:705:41: note: did you mean class here? lto_input_ts_decl_common_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:734:45: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_decl_non_common_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:734:45: note: did you mean class here? lto_input_ts_decl_non_common_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:747:43: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_decl_with_vis_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:747:43: note: did you mean class here? lto_input_ts_decl_with_vis_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:766:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_field_decl_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:766:40: note: did you mean class here? lto_input_ts_field_decl_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:782:43: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_function_decl_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:782:43: note: did you mean class here? lto_input_ts_function_decl_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:806:41: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_type_common_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:806:41: note: did you mean class here? lto_input_ts_type_common_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:829:45: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_type_non_common_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:829:45: note: did you mean class here? lto_input_ts_type_non_common_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:856:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_list_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:856:34: note: did you mean class here? lto_input_ts_list_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:870:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_vec_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:870:33: note: did you mean class here? lto_input_ts_vec_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:888:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_exp_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:888:33: note: did you mean class here? lto_input_ts_exp_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:914:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_block_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:914:35: note: did you mean class here? lto_input_ts_block_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:959:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_binfo_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:959:35: note: did you mean class here? lto_input_ts_binfo_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:999:41: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_constructor_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:999:41: note: did you mean class here? lto_input_ts_constructor_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:1019:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] lto_input_ts_omp_clause_tree_pointers (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:1019:40: note: did you mean class here? lto_input_ts_omp_clause_tree_pointers (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:1034:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_tree_body (struct lto_input_block *ib, struct data_in *data_in, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:1034:26: note: did you mean class here? streamer_read_tree_body (struct lto_input_block *ib, struct data_in *data_in, ^~~~~~ class ../../src/gcc/tree-streamer-in.c:1101:28: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_get_pickled_tree (struct lto_input_block *ib, struct data_in *data_in) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer-in.c:1101:28: note: did you mean class here? streamer_get_pickled_tree (struct lto_input_block *ib, struct data_in *data_in) ^~~~~~ class 103 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-streamer-out.o -MT tree-streamer-out.o -MMD -MP -MF ./.deps/tree-streamer-out.TPo ../../src/gcc/tree-streamer-out.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-streamer-out.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-streamer-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-streamer-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-streamer-out.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-streamer-out.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-streamer-out.c:29: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/streamer-hooks.h:28:1: note: did you mean class here? struct lto_input_block; ^~~~~~ class In file included from ../../src/gcc/tree-streamer-out.c:29: In file included from ../../src/gcc/tree-streamer.h:26: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/tree-streamer-out.c:29: In file included from ../../src/gcc/tree-streamer.h:26: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/tree-streamer-out.c:29: ../../src/gcc/tree-streamer.h:61:50: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:61:50: note: did you mean class here? tree streamer_read_string_cst (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/tree-streamer.h:62:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:62:27: note: did you mean class here? tree streamer_read_chain (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:63:27: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:63:27: note: did you mean class here? tree streamer_alloc_tree (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/tree-streamer.h:65:31: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:65:31: note: did you mean class here? void streamer_read_tree_body (struct lto_input_block *, struct data_in *, tree); ^~~~~~ class ../../src/gcc/tree-streamer.h:66:33: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:66:33: note: did you mean class here? tree streamer_get_pickled_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class ../../src/gcc/tree-streamer.h:67:36: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void streamer_read_tree_bitfields (struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:67:36: note: did you mean class here? void streamer_read_tree_bitfields (struct lto_input_block *, ^~~~~~ class ../../src/gcc/tree-streamer.h:120:7: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] ((struct lto_input_block *) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/tree-streamer.h:120:7: note: did you mean class here? ((struct lto_input_block *) ^~~~~~ class In file included from ../../src/gcc/tree-streamer-out.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:25:1: warning: class 'varpool_node' was previously declared as a struct [-Wmismatched-tags] class varpool_node; ^ ../../src/gcc/lto-streamer.h:854:17: note: previous use is here struct varpool_node *, ^ In file included from ../../src/gcc/tree-streamer-out.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-streamer-out.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-streamer-out.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1544:19: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] void stream_in (struct lto_input_block *, struct data_in *data_in); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1757:1: warning: 'varpool_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class In file included from ../../src/gcc/tree-streamer-out.c:30: ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 78 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-tailcall.o -MT tree-tailcall.o -MMD -MP -MF ./.deps/tree-tailcall.TPo ../../src/gcc/tree-tailcall.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-tailcall.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-tailcall.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-tailcall.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-tailcall.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-tailcall.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-tailcall.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-tailcall.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-tailcall.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-tailcall.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-tailcall.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-tailcall.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-tailcall.c:42: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 36 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-generic.o -MT tree-vect-generic.o -MMD -MP -MF ./.deps/tree-vect-generic.TPo ../../src/gcc/tree-vect-generic.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-generic.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-generic.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-generic.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-generic.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-generic.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vect-generic.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-generic.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-generic.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-patterns.o -MT tree-vect-patterns.o -MMD -MP -MF ./.deps/tree-vect-patterns.TPo ../../src/gcc/tree-vect-patterns.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-patterns.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-patterns.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-patterns.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-patterns.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-patterns.c:25: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vect-patterns.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-patterns.c:25: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-patterns.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-patterns.c:39: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-data-refs.o -MT tree-vect-data-refs.o -MMD -MP -MF ./.deps/tree-vect-data-refs.TPo ../../src/gcc/tree-vect-data-refs.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-data-refs.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-data-refs.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-data-refs.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-data-refs.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-data-refs.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vect-data-refs.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-data-refs.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-data-refs.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vect-data-refs.c:35: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-vect-data-refs.c:35: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-vect-data-refs.c:35: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-vect-data-refs.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/tree-vect-data-refs.c:3095:19: note: in instantiation of member function 'vec::create' requested here comp_alias_ddrs.create (may_alias_ddrs.length ()); ^ 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-stmts.o -MT tree-vect-stmts.o -MMD -MP -MF ./.deps/tree-vect-stmts.TPo ../../src/gcc/tree-vect-stmts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-stmts.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-stmts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-stmts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-stmts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-stmts.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vect-stmts.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-stmts.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-stmts.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vect-stmts.c:34: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-vect-stmts.c:34: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-vect-stmts.c:34: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-loop.o -MT tree-vect-loop.o -MMD -MP -MF ./.deps/tree-vect-loop.TPo ../../src/gcc/tree-vect-loop.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-loop.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-loop.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-loop.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-loop.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vect-loop.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-loop.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-loop.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vect-loop.c:50: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-vect-loop.c:50: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-vect-loop.c:50: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 50 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-loop-manip.o -MT tree-vect-loop-manip.o -MMD -MP -MF ./.deps/tree-vect-loop-manip.TPo ../../src/gcc/tree-vect-loop-manip.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-loop-manip.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-loop-manip.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-loop-manip.c:42: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vect-slp.o -MT tree-vect-slp.o -MMD -MP -MF ./.deps/tree-vect-slp.TPo ../../src/gcc/tree-vect-slp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vect-slp.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vect-slp.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-slp.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vect-slp.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vect-slp.c:27: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vect-slp.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-slp.c:27: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vect-slp.c:29: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 42 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vectorizer.o -MT tree-vectorizer.o -MMD -MP -MF ./.deps/tree-vectorizer.TPo ../../src/gcc/tree-vectorizer.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vectorizer.c:59: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vectorizer.c:59: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vectorizer.c:59: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vectorizer.c:59: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vectorizer.c:62: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vectorizer.c:66: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree-vectorizer.c:66: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree-vectorizer.c:66: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vectorizer.c:75: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree-vrp.o -MT tree-vrp.o -MMD -MP -MF ./.deps/tree-vrp.TPo ../../src/gcc/tree-vrp.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree-vrp.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree-vrp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vrp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree-vrp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree-vrp.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/tree-vrp.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vrp.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/tree-vrp.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree-vrp.c:56: ../../src/gcc/tree-ssa-scopedtables.h:99:3: warning: struct 'expr_hash_elt' was previously declared as a class [-Wmismatched-tags] struct expr_hash_elt *m_stamp; ^ ../../src/gcc/tree-ssa-scopedtables.h:68:7: note: previous use is here class expr_hash_elt ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:59: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree-vrp.c:62: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-vrp.c:62: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-vrp.c:62: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/tree-vrp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/tree-ssa-scopedtables.h:131:15: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here { m_stack.create (20); m_avail_exprs = table; } ^ In file included from ../../src/gcc/tree-vrp.c:62: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-vrp.c:662:45: note: in instantiation of member function 'object_allocator::allocate' requested here vr_value[ver] = vr = vrp_value_range_pool.allocate (); ^ In file included from ../../src/gcc/tree-vrp.c:62: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/alloc-pool.h:501:31: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return ::new (m_allocator.allocate ()) T; ^ ../../src/gcc/tree-vrp.c:662:45: note: in instantiation of member function 'object_allocator::allocate' requested here vr_value[ver] = vr = vrp_value_range_pool.allocate (); ^ In file included from ../../src/gcc/tree-vrp.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve >' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec, va_heap, vl_ptr>::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/tree-vrp.c:11151:36: note: in instantiation of member function 'auto_vec, 0>::auto_vec' requested here : dom_walker (CDI_DOMINATORS), stack (10) ^ ../../src/gcc/tree-vrp.c:1408:1: warning: unused function 'value_ranges_intersect_p' [-Wunused-function] value_ranges_intersect_p (value_range *vr0, value_range *vr1) ^ 51 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tree.o -MT tree.o -MMD -MP -MF ./.deps/tree.TPo ../../src/gcc/tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tree.c:32: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tree.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tree.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:34: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/tree.c:36: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/tree.c:39: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/tree.c:39: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/tree.c:39: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/tree.c:48: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/tree.c:49: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/tree.c:681:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (node); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/tree.c:681:3: note: did you mean class here? struct symtab_node *snode = symtab_node::get (node); ^~~~~~ class ../../src/gcc/tree.c:691:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (node); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/tree.c:691:3: note: did you mean class here? struct symtab_node *snode = symtab_node::get (node); ^~~~~~ class ../../src/gcc/tree.c:702:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (node); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/tree.c:702:3: note: did you mean class here? struct symtab_node *snode = symtab_node::get (node); ^~~~~~ class ../../src/gcc/tree.c:713:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/tree.c:713:3: note: did you mean class here? struct symtab_node *snode; ^~~~~~ class ../../src/gcc/tree.c:732:3: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *snode = varpool_node::get (node); ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/tree.c:732:3: note: did you mean class here? struct varpool_node *snode = varpool_node::get (node); ^~~~~~ class ../../src/gcc/tree.c:742:3: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *vnode; ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/tree.c:742:3: note: did you mean class here? struct varpool_node *vnode; ^~~~~~ class ../../src/gcc/tree.c:4677:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start (p, code); ^ ../../src/gcc/tree.c:4668:26: note: parameter of type 'enum tree_code' is declared here build_nt (enum tree_code code, ...) ^ ../../src/gcc/tree.c:6831:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/tree.c:6831:3: note: did you mean class here? struct symtab_node *snode; ^~~~~~ class ../../src/gcc/tree.c:13372:28: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (TYPE_ARTIFICIAL (tv) && 0) ^ ~ ../../src/gcc/tree.c:13372:28: note: use '&' for a bitwise operation if (TYPE_ARTIFICIAL (tv) && 0) ^~ & ../../src/gcc/tree.c:13372:28: note: remove constant to silence this warning if (TYPE_ARTIFICIAL (tv) && 0) ~^~~~ In file included from ../../src/gcc/tree.c:14539: ./gt-tree.h:255:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:255:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:255:64: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:255:64: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:273:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:273:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:273:61: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:273:61: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:291:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:291:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:291:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:291:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:309:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:309:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:309:73: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:309:73: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:327:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:327:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-tree.h:327:72: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-tree.h:327:72: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 68 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o typed-splay-tree.o -MT typed-splay-tree.o -MMD -MP -MF ./.deps/typed-splay-tree.TPo ../../src/gcc/typed-splay-tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/typed-splay-tree.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/typed-splay-tree.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/typed-splay-tree.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/typed-splay-tree.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o valtrack.o -MT valtrack.o -MMD -MP -MF ./.deps/valtrack.TPo ../../src/gcc/valtrack.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/valtrack.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/valtrack.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/valtrack.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/valtrack.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/valtrack.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/valtrack.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/valtrack.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/valtrack.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/valtrack.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/valtrack.c:27: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ 10 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o value-prof.o -MT value-prof.o -MMD -MP -MF ./.deps/value-prof.TPo ../../src/gcc/value-prof.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/value-prof.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/value-prof.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/value-prof.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/value-prof.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/value-prof.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/value-prof.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/value-prof.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/value-prof.c:26: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/value-prof.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/value-prof.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/value-prof.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/value-prof.c:31: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/value-prof.c:31: In file included from ../../src/gcc/data-streamer.h:25: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/value-prof.c:31: ../../src/gcc/data-streamer.h:76:53: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:76:53: note: did you mean class here? const char *streamer_read_string (struct data_in *, struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:78:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:78:8: note: did you mean class here? struct lto_input_block *, ^~~~~~ class ../../src/gcc/data-streamer.h:83:44: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:83:44: note: did you mean class here? unsigned HOST_WIDE_INT streamer_read_uhwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:84:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:84:34: note: did you mean class here? HOST_WIDE_INT streamer_read_hwi (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:85:37: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] gcov_type streamer_read_gcov_count (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:85:37: note: did you mean class here? gcov_type streamer_read_gcov_count (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:86:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] wide_int streamer_read_wide_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:86:34: note: did you mean class here? wide_int streamer_read_wide_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:87:38: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] widest_int streamer_read_widest_int (struct lto_input_block *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:87:38: note: did you mean class here? widest_int streamer_read_widest_int (struct lto_input_block *); ^~~~~~ class ../../src/gcc/data-streamer.h:141:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_bitpack (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:141:24: note: did you mean class here? streamer_read_bitpack (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:166:25: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:166:25: note: did you mean class here? = streamer_read_uhwi ((struct lto_input_block *)bp->stream); ^~~~~~ class ../../src/gcc/data-streamer.h:199:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_uchar (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:199:22: note: did you mean class here? streamer_read_uchar (struct lto_input_block *ib) ^~~~~~ class ../../src/gcc/data-streamer.h:229:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_hwi_in_range (struct lto_input_block *ib, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:229:29: note: did you mean class here? streamer_read_hwi_in_range (struct lto_input_block *ib, ^~~~~~ class ../../src/gcc/data-streamer.h:318:29: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] streamer_read_record_start (struct lto_input_block *ib) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/data-streamer.h:318:29: note: did you mean class here? streamer_read_record_start (struct lto_input_block *ib) ^~~~~~ class In file included from ../../src/gcc/value-prof.c:37: ../../src/gcc/value-prof.h:110:40: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.h:110:40: note: did you mean class here? extern void stream_in_histogram_value (struct lto_input_block *, gimple *); ^~~~~~ class ../../src/gcc/value-prof.c:386:28: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] stream_in_histogram_value (struct lto_input_block *ib, gimple *stmt) ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/value-prof.c:386:28: note: did you mean class here? stream_in_histogram_value (struct lto_input_block *ib, gimple *stmt) ^~~~~~ class 59 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o var-tracking.o -MT var-tracking.o -MMD -MP -MF ./.deps/var-tracking.TPo ../../src/gcc/var-tracking.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/var-tracking.c:90: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/var-tracking.c:90: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/var-tracking.c:90: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/var-tracking.c:90: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:92: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/var-tracking.c:93: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/var-tracking.c:93: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/var-tracking.c:93: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/var-tracking.c:96: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/var-tracking.c:96: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/var-tracking.c:96: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/var-tracking.c:96: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:347:5: note: in instantiation of member function 'base_pool_allocator::initialize' requested here initialize (); ^ ../../src/gcc/var-tracking.c:1361:45: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return (variable*) onepart_pool (onepart).allocate (); ^ In file included from ../../src/gcc/var-tracking.c:96: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/alloc-pool.h:416:22: note: in instantiation of member function 'base_pool_allocator::allocation_object::get_instance' requested here allocation_object::get_instance (header)->id = m_id; ^ ../../src/gcc/var-tracking.c:1361:45: note: in instantiation of member function 'base_pool_allocator::allocate' requested here return (variable*) onepart_pool (onepart).allocate (); ^ In file included from ../../src/gcc/var-tracking.c:96: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/var-tracking.c:1456:31: note: in instantiation of member function 'base_pool_allocator::remove' requested here onepart_pool (var->onepart).remove (var); ^ 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o varasm.o -MT varasm.o -MMD -MP -MF ./.deps/varasm.TPo ../../src/gcc/varasm.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/varasm.c:30: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/varasm.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/varasm.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/varasm.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varasm.c:33: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/varasm.c:33: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/varasm.c:33: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/varasm.c:41: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/varasm.c:41: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/varasm.c:41: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/varasm.c:50: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/varasm.c:53: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/varasm.c:429:23: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] set_implicit_section (struct symtab_node *n, void *data ATTRIBUTE_UNUSED) ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/varasm.c:429:23: note: did you mean class here? set_implicit_section (struct symtab_node *n, void *data ATTRIBUTE_UNUSED) ^~~~~~ class ../../src/gcc/varasm.c:1238:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/varasm.c:1238:3: note: did you mean class here? struct symtab_node *snode; ^~~~~~ class ../../src/gcc/varasm.c:5384:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *n = symtab_node::get (decl); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/varasm.c:5384:3: note: did you mean class here? struct symtab_node *n = symtab_node::get (decl); ^~~~~~ class ../../src/gcc/varasm.c:6072:3: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *symbol; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/varasm.c:6072:3: note: did you mean class here? struct symtab_node *symbol; ^~~~~~ class ../../src/gcc/varasm.c:7291:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/varasm.c:7291:7: note: did you mean class here? struct symtab_node *snode; ^~~~~~ class In file included from ../../src/gcc/varasm.c:7937: ./gt-varasm.h:323:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:323:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:323:61: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:323:61: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:341:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:341:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:341:66: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:341:66: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:359:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:359:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:359:69: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:359:69: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:377:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:377:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:377:68: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:377:68: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:395:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:395:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-varasm.h:395:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-varasm.h:395:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 47 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o varpool.o -MT varpool.o -MMD -MP -MF ./.deps/varpool.TPo ../../src/gcc/varpool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/varpool.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/varpool.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/varpool.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/varpool.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/varpool.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/varpool.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/varpool.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/varpool.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/varpool.c:30: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/varpool.c:30: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/varpool.c:33: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 58 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o vmsdbgout.o -MT vmsdbgout.o -MMD -MP -MF ./.deps/vmsdbgout.TPo ../../src/gcc/vmsdbgout.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/vmsdbgout.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/vmsdbgout.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vmsdbgout.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vmsdbgout.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o vtable-verify.o -MT vtable-verify.o -MMD -MP -MF ./.deps/vtable-verify.TPo ../../src/gcc/vtable-verify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/vtable-verify.c:137: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/vtable-verify.c:137: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vtable-verify.c:137: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vtable-verify.c:137: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/vtable-verify.c:140: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 24 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o web.o -MT web.o -MMD -MP -MF ./.deps/web.TPo ../../src/gcc/web.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/web.c:38: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/web.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/web.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/web.c:38: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/web.c:40: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/web.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/web.c:40: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/web.c:41: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/web.c:41: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/web.c:41: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/web.c:101:3: warning: struct 'web_entry' was previously declared as a class [-Wmismatched-tags] struct web_entry *dup_entry; ^ ../../src/gcc/web.c:81:7: note: previous use is here class web_entry : public web_entry_base ^ ../../src/gcc/web.c:101:3: note: did you mean class here? struct web_entry *dup_entry; ^~~~~~ class ../../src/gcc/web.c:111:7: warning: struct 'web_entry' was previously declared as a class [-Wmismatched-tags] struct web_entry *entry; ^ ../../src/gcc/web.c:81:7: note: previous use is here class web_entry : public web_entry_base ^ ../../src/gcc/web.c:111:7: note: did you mean class here? struct web_entry *entry; ^~~~~~ class 12 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o wide-int.o -MT wide-int.o -MMD -MP -MF ./.deps/wide-int.TPo ../../src/gcc/wide-int.cc In file included from ../../src/gcc/wide-int.cc:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/wide-int.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/wide-int.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/wide-int.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/wide-int.cc:2144:25: warning: qualifier in explicit instantiation of 'generic_wide_int::dump' requires a template-id (a typedef is not permitted) [-Wpedantic] template void wide_int::dump () const; ~~~~~~~~~~^ ../../src/gcc/wide-int.cc:2147:27: warning: qualifier in explicit instantiation of 'generic_wide_int >::dump' requires a template-id (a typedef is not permitted) [-Wpedantic] template void offset_int::dump () const; ~~~~~~~~~~~~^ ../../src/gcc/wide-int.cc:2148:27: warning: qualifier in explicit instantiation of 'generic_wide_int >::dump' requires a template-id (a typedef is not permitted) [-Wpedantic] template void widest_int::dump () const; ~~~~~~~~~~~~^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o wide-int-print.o -MT wide-int-print.o -MMD -MP -MF ./.deps/wide-int-print.TPo ../../src/gcc/wide-int-print.cc In file included from ../../src/gcc/wide-int-print.cc:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/wide-int-print.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/wide-int-print.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/wide-int-print.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o xcoffout.o -MT xcoffout.o -MMD -MP -MF ./.deps/xcoffout.TPo ../../src/gcc/xcoffout.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/xcoffout.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/xcoffout.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/xcoffout.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/xcoffout.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/xcoffout.c:29: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/xcoffout.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/xcoffout.c:29: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/xcoffout.c:33: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 23 warnings generated. awk -f ../../src/gcc/config/i386/i386-builtin-types.awk ../../src/gcc/config/i386/i386-builtin-types.def > tmp-bt.inc /bin/sh ../../src/gcc/../move-if-change tmp-bt.inc i386-builtin-types.inc echo timestamp > s-i386-bt g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o i386.o -MT i386.o -MMD -MP -MF ./.deps/i386.TPo ../../src/gcc/config/i386/i386.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/i386/i386.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/i386/i386.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/i386.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/i386.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/config/i386/i386.c:24: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/config/i386/i386.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/config/i386/i386.c:24: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/config/i386/i386.c:27: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/config/i386/i386.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/config/i386/i386.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/config/i386/i386.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/config/i386/i386.c:38: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/config/i386/i386.c:38: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/config/i386/i386.c:38: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/config/i386/i386.c:47: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/config/i386/i386.c:54: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/i386/i386.c:69: In file included from ../../src/gcc/tree-vectorizer.h:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/config/i386/i386.c:9551:18: warning: implicit conversion of NULL constant to 'bool' [-Wnull-conversion] bool error_p = NULL; ~~~~~~~ ^~~~ false In file included from ../../src/gcc/config/i386/i386.c:52283: ./gt-i386.h:95:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-i386.h:95:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-i386.h:95:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-i386.h:95:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ../../src/gcc/config/i386/i386.c:31251:1: warning: unused function 'def_builtin_pure2' [-Wunused-function] def_builtin_pure2 (HOST_WIDE_INT mask, const char *name, ^ 59 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o darwin.o -MT darwin.o -MMD -MP -MF ./.deps/darwin.TPo ../../src/gcc/config/darwin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/darwin.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/darwin.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/darwin.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/darwin.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/config/darwin.c:26: ../../src/gcc/rtl.h:302:1: warning: 'rtx_def' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct GTY((desc("0"), tag("0"), ^ ../../src/gcc/coretypes.h:62:1: note: did you mean struct here? class rtx_def; ^~~~~ struct In file included from ../../src/gcc/config/darwin.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:435:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 1) = arg1; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/config/darwin.c:26: In file included from ../../src/gcc/rtl.h:3374: ./genrtl.h:436:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] XWINT (rt, 2) = arg2; ^ ~ ../../src/gcc/rtl.h:1183:29: note: expanded from macro 'XWINT' #define XWINT(RTX, N) ((RTX)->u.hwint[N]) ^ ~ ../../src/gcc/rtl.h:425:5: note: array 'hwint' declared here HOST_WIDE_INT hwint[1]; ^ ../../src/gcc/hwint.h:58:26: note: expanded from macro 'HOST_WIDE_INT' # define HOST_WIDE_INT long long ^ In file included from ../../src/gcc/config/darwin.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ In file included from ../../src/gcc/config/darwin.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:185:13: warning: using extended field designator is an extension [-Wextended-offsetof] - offsetof (allocation_object, ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/config/darwin.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:267:11: warning: using extended field designator is an extension [-Wextended-offsetof] size += offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/config/darwin.c:30: In file included from ../../src/gcc/df.h:29: ../../src/gcc/alloc-pool.h:428:27: warning: using extended field designator is an extension [-Wextended-offsetof] int size = m_elt_size - offsetof (allocation_object, u.data); ^ ~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ In file included from ../../src/gcc/config/darwin.c:36: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/config/darwin.c:36: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/config/darwin.c:36: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/config/darwin.c:37: ../../src/gcc/lto-streamer.h:371:1: warning: 'lto_input_block' defined as a class here but previously declared as a struct [-Wmismatched-tags] class lto_input_block ^ ../../src/gcc/cgraph.h:1544:19: note: did you mean class here? void stream_in (struct lto_input_block *, struct data_in *data_in); ^~~~~~ class In file included from ../../src/gcc/config/darwin.c:37: ../../src/gcc/lto-streamer.h:752:8: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern struct lto_input_block * lto_create_simple_input_block ( ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:752:8: note: did you mean class here? extern struct lto_input_block * lto_create_simple_input_block ( ^~~~~~ class ../../src/gcc/lto-streamer.h:758:5: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] struct lto_input_block *, const char *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:758:5: note: did you mean class here? struct lto_input_block *, const char *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:788:34: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:788:34: note: did you mean class here? extern void lto_section_overrun (struct lto_input_block *) ATTRIBUTE_NORETURN; ^~~~~~ class ../../src/gcc/lto-streamer.h:854:10: warning: struct 'varpool_node' was previously declared as a class [-Wmismatched-tags] struct varpool_node *, ^ ../../src/gcc/cgraph.h:1757:38: note: previous use is here class GTY((tag ("SYMTAB_VARIABLE"))) varpool_node : public symtab_node { ^ ../../src/gcc/lto-streamer.h:854:10: note: did you mean class here? struct varpool_node *, ^~~~~~ class ../../src/gcc/lto-streamer.h:864:35: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:864:35: note: did you mean class here? extern void lto_input_data_block (struct lto_input_block *, void *, size_t); ^~~~~~ class ../../src/gcc/lto-streamer.h:868:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:868:26: note: did you mean class here? tree lto_input_tree_ref (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:872:26: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:872:26: note: did you mean class here? hashval_t lto_input_scc (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:874:24: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:874:24: note: did you mean class here? tree lto_input_tree_1 (struct lto_input_block *, struct data_in *, ^~~~~~ class ../../src/gcc/lto-streamer.h:876:22: warning: struct 'lto_input_block' was previously declared as a class [-Wmismatched-tags] tree lto_input_tree (struct lto_input_block *, struct data_in *); ^ ../../src/gcc/lto-streamer.h:371:7: note: previous use is here class lto_input_block ^ ../../src/gcc/lto-streamer.h:876:22: note: did you mean class here? tree lto_input_tree (struct lto_input_block *, struct data_in *); ^~~~~~ class In file included from ../../src/gcc/config/darwin.c:38: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ In file included from ../../src/gcc/config/darwin.c:3694: ./gt-darwin.h:339:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-darwin.h:339:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-darwin.h:339:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-darwin.h:339:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-darwin.h:417:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-darwin.h:417:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-darwin.h:417:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-darwin.h:417:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 68 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o host-darwin.o -MT host-darwin.o -MMD -MP -MF ./.deps/host-darwin.TPo ../../src/gcc/config/host-darwin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/host-darwin.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/host-darwin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/host-darwin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/host-darwin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o host-i386-darwin.o -MT host-i386-darwin.o -MMD -MP -MF ./.deps/host-i386-darwin.TPo ../../src/gcc/config/i386/host-i386-darwin.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/i386/host-i386-darwin.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/i386/host-i386-darwin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/host-i386-darwin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/host-i386-darwin.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. rm -rf libbackend.a ar rc libbackend.a gimple-match.o generic-match.o insn-attrtab.o insn-automata.o insn-dfatab.o insn-emit.o insn-extract.o insn-latencytab.o insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o insn-enums.o ggc-page.o alias.o alloc-pool.o auto-inc-dec.o auto-profile.o bb-reorder.o bitmap.o bt-load.o builtins.o caller-save.o calls.o ccmp.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfgexpand.o cfghooks.o cfgloop.o cfgloopanal.o cfgloopmanip.o cfgrtl.o symtab.o cgraph.o cgraphbuild.o cgraphunit.o cgraphclones.o cilk-common.o combine.o combine-stack-adj.o compare-elim.o context.o convert.o coverage.o cppbuiltin.o cppdefault.o cprop.o cse.o cselib.o data-streamer.o data-streamer-in.o data-streamer-out.o dbxout.o dbgcnt.o dce.o ddg.o debug.o df-core.o df-problems.o df-scan.o dfp.o dojump.o dominance.o domwalk.o double-int.o dse.o dumpfile.o dwarf2asm.o dwarf2cfi.o dwarf2out.o emit-rtl.o et-forest.o except.o explow.o expmed.o expr.o fibonacci_heap.o final.o fixed-value.o fold-const.o fold-const-call.o function.o function-tests.o fwprop.o gcc-rich-location.o gcse.o gcse-common.o ggc-common.o ggc-tests.o gimple.o gimple-builder.o gimple-expr.o gimple-iterator.o gimple-fold.o gimple-laddress.o gimple-low.o gimple-pretty-print.o gimple-ssa-backprop.o gimple-ssa-isolate-paths.o gimple-ssa-nonnull-compare.o gimple-ssa-split-paths.o gimple-ssa-store-merging.o gimple-ssa-strength-reduction.o gimple-ssa-sprintf.o gimple-ssa-warn-alloca.o gimple-streamer-in.o gimple-streamer-out.o gimple-walk.o gimplify.o gimplify-me.o godump.o graph.o graphds.o graphite.o graphite-isl-ast-to-gimple.o graphite-dependences.o graphite-optimize-isl.o graphite-poly.o graphite-scop-detection.o graphite-sese-to-poly.o gtype-desc.o haifa-sched.o hash-map-tests.o hash-set-tests.o hsa-common.o hsa-gen.o hsa-regalloc.o hsa-brig.o hsa-dump.o hw-doloop.o hwint.o ifcvt.o ree.o inchash.o incpath.o init-regs.o internal-fn.o ipa-chkp.o ipa-cp.o ipa-devirt.o ipa-polymorphic-call.o ipa-split.o ipa-inline.o ipa-comdats.o ipa-visibility.o ipa-inline-analysis.o ipa-inline-transform.o ipa-profile.o ipa-prop.o ipa-pure-const.o ipa-icf.o ipa-icf-gimple.o ipa-reference.o ipa-hsa.o ipa-ref.o ipa-utils.o ipa.o ira.o ira-build.o ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o langhooks.o lcm.o lists.o loop-doloop.o loop-init.o loop-invariant.o loop-iv.o loop-unroll.o lower-subreg.o lra.o lra-assigns.o lra-coalesce.o lra-constraints.o lra-eliminations.o lra-lives.o lra-remat.o lra-spills.o lto-cgraph.o lto-streamer.o lto-streamer-in.o lto-streamer-out.o lto-section-in.o lto-section-out.o lto-opts.o lto-compress.o mcf.o mode-switching.o modulo-sched.o multiple_target.o omp-offload.o omp-expand.o omp-general.o omp-grid.o omp-low.o omp-simd-clone.o optabs.o optabs-libfuncs.o optabs-query.o optabs-tree.o options-save.o opts-global.o passes.o plugin.o postreload-gcse.o postreload.o predict.o print-rtl.o print-rtl-function.o print-tree.o profile.o read-md.o read-rtl.o read-rtl-function.o real.o realmpfr.o recog.o reg-stack.o regcprop.o reginfo.o regrename.o regstat.o reload.o reload1.o reorg.o resource.o rtl-chkp.o rtl-error.o rtl-tests.o rtl.o rtlhash.o rtlanal.o rtlhooks.o run-rtl-passes.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sdbout.o sel-sched-ir.o sel-sched-dump.o sel-sched.o selftest-rtl.o selftest-run-tests.o sese.o shrink-wrap.o simplify-rtx.o sparseset.o spellcheck.o spellcheck-tree.o sreal.o stack-ptr-mod.o statistics.o stmt.o stor-layout.o store-motion.o streamer-hooks.o stringpool.o substring-locations.o target-globals.o targhooks.o timevar.o toplev.o tracer.o trans-mem.o tree-affine.o asan.o tsan.o ubsan.o sanopt.o sancov.o tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o tree-chrec.o tree-complex.o tree-data-ref.o tree-dfa.o tree-diagnostic.o tree-dump.o tree-eh.o tree-emutls.o tree-if-conv.o tree-inline.o tree-into-ssa.o tree-iterator.o tree-loop-distribution.o tree-nested.o tree-nrv.o tree-object-size.o tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-chkp.o tree-chkp-opt.o tree-predcom.o tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-dce.o tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o tree-ssa-loop-prefetch.o tree-ssa-loop-split.o tree-ssa-loop-unswitch.o tree-ssa-loop.o tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phionlycprop.o tree-ssa-phiopt.o tree-ssa-phiprop.o tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o tree-ssa-scopedtables.o tree-ssa-sink.o tree-ssa-strlen.o tree-ssa-structalias.o tree-ssa-tail-merge.o tree-ssa-ter.o tree-ssa-threadbackward.o tree-ssa-threadedge.o tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa-uninit.o tree-ssa.o tree-ssanames.o tree-stdarg.o tree-streamer.o tree-streamer-in.o tree-streamer-out.o tree-tailcall.o tree-vect-generic.o tree-vect-patterns.o tree-vect-data-refs.o tree-vect-stmts.o tree-vect-loop.o tree-vect-loop-manip.o tree-vect-slp.o tree-vectorizer.o tree-vrp.o tree.o typed-splay-tree.o valtrack.o value-prof.o var-tracking.o varasm.o varpool.o vmsdbgout.o vtable-verify.o web.o wide-int.o wide-int-print.o xcoffout.o i386.o darwin.o host-darwin.o host-i386-darwin.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-isl-ast-to-gimple.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-dependences.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-optimize-isl.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-poly.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-scop-detection.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-sese-to-poly.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(inchash.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(vmsdbgout.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(xcoffout.o) has no symbols ranlib libbackend.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-isl-ast-to-gimple.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-dependences.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-optimize-isl.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-poly.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-scop-detection.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(graphite-sese-to-poly.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(inchash.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(vmsdbgout.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libbackend.a(xcoffout.o) has no symbols g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o main.o -MT main.o -MMD -MP -MF ./.deps/main.TPo ../../src/gcc/main.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/main.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/main.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/main.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/main.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o i386-common.o -MT i386-common.o -MMD -MP -MF ./.deps/i386-common.TPo ../../src/gcc/common/config/i386/i386-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/common/config/i386/i386-common.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/common/config/i386/i386-common.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/common/config/i386/i386-common.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/common/config/i386/i386-common.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/common/config/i386/i386-common.c:27: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DPREFIX=\"/Users/matt/sage/local\" -DBASEVER="\"7.2.0\"" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o prefix.o -MT prefix.o -MMD -MP -MF ./.deps/prefix.TPo ../../src/gcc/prefix.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/prefix.c:68: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/prefix.c:68: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/prefix.c:68: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/prefix.c:68: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/prefix.c:73: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o params.o -MT params.o -MMD -MP -MF ./.deps/params.TPo ../../src/gcc/params.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/params.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/params.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/params.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/params.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/params.c:24: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o opts.o -MT opts.o -MMD -MP -MF ./.deps/opts.TPo ../../src/gcc/opts.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/opts.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/opts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/opts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/opts.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/opts.c:32: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o opts-common.o -MT opts-common.o -MMD -MP -MF ./.deps/opts-common.TPo ../../src/gcc/opts-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/opts-common.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/opts-common.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/opts-common.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/opts-common.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. awk -f ../../src/gcc/opt-functions.awk -f ../../src/gcc/opt-read.awk \ -f ../../src/gcc/optc-gen.awk \ -v header_name="config.h system.h coretypes.h options.h tm.h" < optionlist > options.c g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o options.o -MT options.o -MMD -MP -MF ./.deps/options.TPo options.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from options.c:5: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from options.c:5: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from options.c:5: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from options.c:5: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o vec.o -MT vec.o -MMD -MP -MF ./.deps/vec.TPo ../../src/gcc/vec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/vec.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/vec.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vec.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/vec.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hooks.o -MT hooks.o -MMD -MP -MF ./.deps/hooks.TPo ../../src/gcc/hooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hooks.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hooks.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hooks.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hooks.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -fno-common -DHAVE_CONFIG_H -I. -Icommon -I../../src/gcc -I../../src/gcc/common -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o common/common-targhooks.o -MT common/common-targhooks.o -MMD -MP -MF common/.deps/common-targhooks.TPo ../../src/gcc/common/common-targhooks.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/common/common-targhooks.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/common/common-targhooks.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/common/common-targhooks.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/common/common-targhooks.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o hash-table.o -MT hash-table.o -MMD -MP -MF ./.deps/hash-table.TPo ../../src/gcc/hash-table.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/hash-table.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/hash-table.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-table.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/hash-table.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o file-find.o -MT file-find.o -MMD -MP -MF ./.deps/file-find.TPo ../../src/gcc/file-find.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o selftest.o -MT selftest.o -MMD -MP -MF ./.deps/selftest.TPo ../../src/gcc/selftest.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/selftest.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/selftest.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/selftest.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/selftest.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. rm -rf libcommon-target.a ar rc libcommon-target.a i386-common.o prefix.o params.o opts.o opts-common.o options.o vec.o hooks.o common/common-targhooks.o hash-table.o file-find.o spellcheck.o selftest.o ranlib libcommon-target.a g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o diagnostic.o -MT diagnostic.o -MMD -MP -MF ./.deps/diagnostic.TPo ../../src/gcc/diagnostic.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/diagnostic.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/diagnostic.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/diagnostic.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/diagnostic.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o diagnostic-color.o -MT diagnostic-color.o -MMD -MP -MF ./.deps/diagnostic-color.TPo ../../src/gcc/diagnostic-color.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o diagnostic-show-locus.o -MT diagnostic-show-locus.o -MMD -MP -MF ./.deps/diagnostic-show-locus.TPo ../../src/gcc/diagnostic-show-locus.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/diagnostic-show-locus.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/diagnostic-show-locus.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/diagnostic-show-locus.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/diagnostic-show-locus.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/diagnostic-show-locus.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec<(anonymous namespace)::layout_range, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec<(anonymous namespace)::layout_range, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve<(anonymous namespace)::layout_range>' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec<(anonymous namespace)::layout_range, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec<(anonymous namespace)::layout_range, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec<(anonymous namespace)::layout_range, va_heap, vl_ptr>::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/diagnostic-show-locus.c:769:3: note: in instantiation of member function 'auto_vec<(anonymous namespace)::layout_range, 0>::auto_vec' requested here m_layout_ranges (richloc->get_num_locations ()), ^ In file included from ../../src/gcc/diagnostic-show-locus.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec<(anonymous namespace)::line_span, va_heap, vl_embed>') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec<(anonymous namespace)::line_span, va_heap, vl_embed>::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve<(anonymous namespace)::line_span>' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec<(anonymous namespace)::line_span, va_heap, vl_ptr>::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec<(anonymous namespace)::line_span, va_heap, vl_ptr>::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec<(anonymous namespace)::line_span, va_heap, vl_ptr>::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/diagnostic-show-locus.c:771:3: note: in instantiation of member function 'auto_vec<(anonymous namespace)::line_span, 0>::auto_vec' requested here m_line_spans (1 + richloc->get_num_locations ()), ^ ../../src/gcc/diagnostic-show-locus.c:99:15: warning: private field 'm_caret' is not used [-Wunused-private-field] const char *m_caret; ^ ../../src/gcc/diagnostic-show-locus.c:239:16: warning: private field 'm_diagnostic_kind' is not used [-Wunused-private-field] diagnostic_t m_diagnostic_kind; ^ 8 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o edit-context.o -MT edit-context.o -MMD -MP -MF ./.deps/edit-context.TPo ../../src/gcc/edit-context.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/edit-context.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/edit-context.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/edit-context.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/edit-context.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/edit-context.c:1504:23: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] line_table_test ltt (); ^~ ../../src/gcc/edit-context.c:1504:23: note: remove parentheses to declare a variable line_table_test ltt (); ^~ ../../src/gcc/edit-context.c:1535:23: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] line_table_test ltt (); ^~ ../../src/gcc/edit-context.c:1535:23: note: remove parentheses to declare a variable line_table_test ltt (); ^~ ../../src/gcc/edit-context.c:195:7: warning: private field 'm_finish' is not used [-Wunused-private-field] int m_finish; ^ 7 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o pretty-print.o -MT pretty-print.o -MMD -MP -MF ./.deps/pretty-print.TPo ../../src/gcc/pretty-print.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/pretty-print.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DLOCALEDIR=\"/Users/matt/sage/local/share/locale\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o intl.o -MT intl.o -MMD -MP -MF ./.deps/intl.TPo ../../src/gcc/intl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/intl.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/intl.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/intl.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/intl.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o input.o -MT input.o -MMD -MP -MF ./.deps/input.TPo ../../src/gcc/input.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/input.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/input.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/input.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/input.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/input.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/input.c:388:15: note: in instantiation of member function 'vec::create' requested here line_record.create (0); ^ In file included from ../../src/gcc/input.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1465:10: note: in instantiation of member function 'vec::reserve' requested here return reserve (nelems, true PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1480:5: note: in instantiation of member function 'vec::reserve_exact' requested here reserve_exact (nelems PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1292:31: note: in instantiation of member function 'vec::create' requested here auto_vec (size_t n) { this->create (n); } ^ ../../src/gcc/input.c:1353:41: note: in instantiation of member function 'auto_vec::auto_vec' requested here auto_vec loc_readers (num_locs); ^ 6 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DBASEVER="\"7.2.0\"" -DDATESTAMP="\"\"" -DREVISION="\"\"" -DDEVPHASE="\"\"" -DPKGVERSION="\"(GCC) \"" -DBUGURL="\"\"" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o version.o -MT version.o -MMD -MP -MF ./.deps/version.TPo ../../src/gcc/version.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o ggc-none.o -MT ggc-none.o -MMD -MP -MF ./.deps/ggc-none.TPo ../../src/gcc/ggc-none.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/ggc-none.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/ggc-none.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-none.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/ggc-none.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o memory-block.o -MT memory-block.o -MMD -MP -MF ./.deps/memory-block.TPo ../../src/gcc/memory-block.cc In file included from ../../src/gcc/memory-block.cc:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/memory-block.cc:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/memory-block.cc:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/memory-block.cc:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. rm -rf libcommon.a ar rc libcommon.a diagnostic.o diagnostic-color.o diagnostic-show-locus.o edit-context.o pretty-print.o intl.o vec.o input.o version.o hash-table.o ggc-none.o memory-block.o selftest.o ranlib libcommon.a if [ -f ../stage_final ] \ && cmp -s ../stage_current ../stage_final; then \ cp ../prev-gcc/cc1-checksum.c cc1-checksum.c; \ else \ build/genchecksum c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o c/c-fold.o c/gimple-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o i386-c.o darwin-c.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \ checksum-options > cc1-checksum.c.tmp && \ ../../src/gcc/../move-if-change cc1-checksum.c.tmp cc1-checksum.c; \ fi g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cc1-checksum.o -MT cc1-checksum.o -MMD -MP -MF ./.deps/cc1-checksum.TPo cc1-checksum.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o c/c-fold.o c/gimple-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o i386-c.o darwin-c.o \ cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/Users/matt/sage/local/lib -L/Users/matt/sage/local/lib -L/Users/matt/sage/local/lib -lmpc -lmpfr -lgmp -lz g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcov.o -MT gcov.o -MMD -MP -MF ./.deps/gcov.TPo ../../src/gcc/gcov.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcov.c:37: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcov.c:37: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcov.c:37: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcov.c:37: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib gcov.o \ hash-table.o ggc-none.o libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcov-dump.o -MT gcov-dump.o -MMD -MP -MF ./.deps/gcov-dump.TPo ../../src/gcc/gcov-dump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcov-dump.c:21: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcov-dump.c:21: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcov-dump.c:21: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcov-dump.c:21: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib gcov-dump.o \ hash-table.o ggc-none.o\ libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov-dump g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcov-tool.o -MT gcov-tool.o -MMD -MP -MF ./.deps/gcov-tool.TPo ../../src/gcc/gcov-tool.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcov-tool.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcov-tool.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcov-tool.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcov-tool.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/gcov-tool.c:493:7: warning: variable 'ret' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (argc - optind == 2) ^~~~~~~~~~~~~~~~~~ ../../src/gcc/gcov-tool.c:498:10: note: uninitialized use occurs here return ret; ^~~ ../../src/gcc/gcov-tool.c:493:3: note: remove the 'if' if its condition is always true if (argc - optind == 2) ^~~~~~~~~~~~~~~~~~~~~~~ ../../src/gcc/gcov-tool.c:462:10: note: initialize the variable 'ret' to silence this warning int ret; ^ = 0 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o libgcov-util.o ../../src/gcc/../libgcc/libgcov-util.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/../libgcc/libgcov-util.c:30: In file included from ../../src/gcc/../libgcc/libgcov.h:114: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-util.c:30: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-util.c:30: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-util.c:30: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace \ -DIN_GCOV_TOOL=1 -o libgcov-driver-tool.o ../../src/gcc/../libgcc/libgcov-driver.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/../libgcc/libgcov-driver.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-driver.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-driver.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-driver.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace \ -DIN_GCOV_TOOL=1 -o libgcov-merge-tool.o ../../src/gcc/../libgcc/libgcov-merge.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/../libgcc/libgcov-merge.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-merge.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-merge.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/../libgcc/libgcov-merge.c:26: In file included from ../../src/gcc/../libgcc/libgcov.h:114: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib gcov-tool.o libgcov-util.o libgcov-driver-tool.o libgcov-merge-tool.o libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -o gcov-tool g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cp-lang.o -MT cp/cp-lang.o -MMD -MP -MF cp/.deps/cp-lang.TPo ../../src/gcc/cp/cp-lang.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cp-lang.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cp-lang.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-lang.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-lang.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/call.o -MT cp/call.o -MMD -MP -MF cp/.deps/call.TPo ../../src/gcc/cp/call.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/call.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/call.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/call.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/call.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:28: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/call.c:32: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/call.c:32: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/call.c:32: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/decl.o -MT cp/decl.o -MMD -MP -MF cp/.deps/decl.TPo ../../src/gcc/cp/decl.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/decl.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/decl.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/decl.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/decl.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:32: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:33: In file included from ../../src/gcc/c-family/c-target.h:30: ../../src/gcc/c-family/c-target.def:116:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl.c:37: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/decl.c:37: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/decl.c:37: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/cp/decl.c:2618:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (olddecl); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cp/decl.c:2618:7: note: did you mean class here? struct symtab_node *snode = symtab_node::get (olddecl); ^~~~~~ class ../../src/gcc/cp/decl.c:2676:13: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = NULL; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cp/decl.c:2676:13: note: did you mean class here? struct symtab_node *snode = NULL; ^~~~~~ class ../../src/gcc/cp/decl.c:2714:8: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *oldsym, *newsym; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cp/decl.c:2714:8: note: did you mean class here? struct symtab_node *oldsym, *newsym; ^~~~~~ class ../../src/gcc/cp/decl.c:2767:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (newdecl); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cp/decl.c:2767:7: note: did you mean class here? struct symtab_node *snode = symtab_node::get (newdecl); ^~~~~~ class In file included from ../../src/gcc/cp/decl.c:16219: ./gt-cp-decl.h:258:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-decl.h:258:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-decl.h:258:62: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-decl.h:258:62: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 34 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/expr.o -MT cp/expr.o -MMD -MP -MF cp/.deps/expr.TPo ../../src/gcc/cp/expr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/expr.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/expr.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/expr.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/expr.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/pt.o -MT cp/pt.o -MMD -MP -MF cp/.deps/pt.TPo ../../src/gcc/cp/pt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/pt.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/pt.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/pt.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/pt.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/pt.c:26222: ./gt-cp-pt.h:528:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:528:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:528:58: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:528:58: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:568:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:568:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:568:60: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:568:60: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:636:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:636:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:636:68: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:636:68: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:654:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:654:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:654:66: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:654:66: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:694:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:694:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-pt.h:694:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-pt.h:694:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 14 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/typeck2.o -MT cp/typeck2.o -MMD -MP -MF cp/.deps/typeck2.TPo ../../src/gcc/cp/typeck2.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/typeck2.c:30: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/typeck2.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/typeck2.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/typeck2.c:30: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/typeck2.c:2237: ./gt-cp-typeck2.h:149:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-typeck2.h:149:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-typeck2.h:149:67: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-typeck2.h:149:67: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 6 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/class.o -MT cp/class.o -MMD -MP -MF cp/.deps/class.TPo ../../src/gcc/cp/class.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/class.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/class.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/class.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/class.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/class.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/class.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/class.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/decl2.o -MT cp/decl2.o -MMD -MP -MF cp/.deps/decl2.TPo ../../src/gcc/cp/decl2.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/decl2.c:31: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/decl2.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/decl2.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/decl2.c:31: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:33: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/decl2.c:38: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/decl2.c:38: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/decl2.c:38: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/cp/decl2.c:2152:8: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *snode = symtab_node::get (decl); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cp/decl2.c:2152:8: note: did you mean class here? struct symtab_node *snode = symtab_node::get (decl); ^~~~~~ class 28 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/error.o -MT cp/error.o -MMD -MP -MF cp/.deps/error.TPo ../../src/gcc/cp/error.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/error.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/error.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/error.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/error.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/lex.o -MT cp/lex.o -MMD -MP -MF cp/.deps/lex.TPo ../../src/gcc/cp/lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/lex.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/lex.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/lex.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/lex.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/parser.o -MT cp/parser.o -MMD -MP -MF cp/.deps/parser.TPo ../../src/gcc/cp/parser.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/parser.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/parser.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/parser.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/parser.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/parser.c:28: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/parser.c:28: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/parser.c:28: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cp/parser.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:236: ../../src/gcc/vec.h:1058:10: warning: offset of on non-POD type 'vec_embedded' (aka 'vec') [-Winvalid-offsetof] return offsetof (vec_embedded, m_vecdata) + alloc * sizeof (T); ^ ~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include/stddef.h:120:24: note: expanded from macro 'offsetof' #define offsetof(t, d) __builtin_offsetof(t, d) ^ ~ ../../src/gcc/vec.h:286:44: note: in instantiation of member function 'vec::embedded_size' requested here size_t size = vec::embedded_size (alloc); ^ ../../src/gcc/vec.h:1445:12: note: in instantiation of function template specialization 'va_heap::reserve' requested here va_heap::reserve (m_vec, nelems, exact PASS_MEM_STAT); ^ ../../src/gcc/vec.h:1554:3: note: in instantiation of member function 'vec::reserve' requested here reserve (1, false PASS_MEM_STAT); ^ ../../src/gcc/cp/parser.c:12966:4: note: in instantiation of member function 'vec::safe_push' requested here v.safe_push (e); ^ ../../src/gcc/cp/parser.c:38782:1: warning: unused function 'tree_type_is_auto_or_concept' [-Wunused-function] tree_type_is_auto_or_concept (const_tree t) ^ 14 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/ptree.o -MT cp/ptree.o -MMD -MP -MF cp/.deps/ptree.TPo ../../src/gcc/cp/ptree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/ptree.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/ptree.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/ptree.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/ptree.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/rtti.o -MT cp/rtti.o -MMD -MP -MF cp/.deps/rtti.TPo ../../src/gcc/cp/rtti.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/rtti.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/rtti.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/rtti.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/rtti.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/rtti.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/typeck.o -MT cp/typeck.o -MMD -MP -MF cp/.deps/typeck.TPo ../../src/gcc/cp/typeck.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/typeck.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/typeck.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/typeck.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/typeck.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/typeck.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cvt.o -MT cp/cvt.o -MMD -MP -MF cp/.deps/cvt.TPo ../../src/gcc/cp/cvt.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cvt.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cvt.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cvt.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cvt.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cvt.c:30: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/except.o -MT cp/except.o -MMD -MP -MF cp/.deps/except.TPo ../../src/gcc/cp/except.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/except.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/except.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/except.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/except.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/friend.o -MT cp/friend.o -MMD -MP -MF cp/.deps/friend.TPo ../../src/gcc/cp/friend.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/friend.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/friend.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/friend.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/friend.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/init.o -MT cp/init.o -MMD -MP -MF cp/.deps/init.TPo ../../src/gcc/cp/init.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/init.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/init.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/init.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/init.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/init.c:26: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/method.o -MT cp/method.o -MMD -MP -MF cp/.deps/method.TPo ../../src/gcc/cp/method.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/method.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/method.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/method.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/method.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:27: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/method.c:30: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/method.c:30: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/method.c:30: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cp/method.c:33: In file included from ../../src/gcc/common/common-target.h:67: ../../src/gcc/common/common-target.def:105:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ ../../src/gcc/cp/method.c:352:7: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *symbol; ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cp/method.c:352:7: note: did you mean class here? struct symtab_node *symbol; ^~~~~~ class 29 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/search.o -MT cp/search.o -MMD -MP -MF cp/.deps/search.TPo ../../src/gcc/cp/search.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/search.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/search.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/search.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/search.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/cp/search.c:1446:3: warning: struct 'lookup_field_fuzzy_info' was previously declared as a class [-Wmismatched-tags] struct lookup_field_fuzzy_info lffi (want_type_p); ^ ../../src/gcc/cp/search.c:1364:7: note: previous use is here class lookup_field_fuzzy_info ^ ../../src/gcc/cp/search.c:1446:3: note: did you mean class here? struct lookup_field_fuzzy_info lffi (want_type_p); ^~~~~~ class 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/semantics.o -MT cp/semantics.o -MMD -MP -MF cp/.deps/semantics.TPo ../../src/gcc/cp/semantics.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/semantics.c:28: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/semantics.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/semantics.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/semantics.c:28: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:29: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/semantics.c:33: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/semantics.c:33: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/semantics.c:33: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/tree.o -MT cp/tree.o -MMD -MP -MF cp/.deps/tree.TPo ../../src/gcc/cp/tree.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/tree.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/tree.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/tree.c:27: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/tree.c:27: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/tree.c:27: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct ../../src/gcc/cp/tree.c:2880:16: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] va_start (p, code); ^ ../../src/gcc/cp/tree.c:2871:50: note: parameter of type 'enum tree_code' is declared here build_min_nt_loc (location_t loc, enum tree_code code, ...) ^ In file included from ../../src/gcc/cp/tree.c:4902: ./gt-cp-tree.h:3018:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3018:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3018:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3018:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3036:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3036:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3036:70: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3036:70: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3074:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3074:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3074:65: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3074:65: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3092:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3092:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-tree.h:3092:58: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-tree.h:3092:58: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 21 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/repo.o -MT cp/repo.o -MMD -MP -MF cp/.deps/repo.TPo ../../src/gcc/cp/repo.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/repo.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/repo.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/repo.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/repo.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/dump.o -MT cp/dump.o -MMD -MP -MF cp/.deps/dump.TPo ../../src/gcc/cp/dump.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/dump.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/dump.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/optimize.o -MT cp/optimize.o -MMD -MP -MF cp/.deps/optimize.TPo ../../src/gcc/cp/optimize.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/optimize.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/optimize.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/optimize.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/optimize.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:24: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/optimize.c:27: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/optimize.c:27: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/optimize.c:27: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 27 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/mangle.o -MT cp/mangle.o -MMD -MP -MF cp/.deps/mangle.TPo ../../src/gcc/cp/mangle.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/mangle.c:49: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/mangle.c:49: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/mangle.c:49: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/mangle.c:49: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:50: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/mangle.c:54: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/mangle.c:54: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/mangle.c:54: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cp/mangle.c:4418: ./gt-cp-mangle.h:60:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-mangle.h:60:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-mangle.h:60:63: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-mangle.h:60:63: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 29 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cp-objcp-common.o -MT cp/cp-objcp-common.o -MMD -MP -MF cp/.deps/cp-objcp-common.TPo ../../src/gcc/cp/cp-objcp-common.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cp-objcp-common.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cp-objcp-common.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-objcp-common.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-objcp-common.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/name-lookup.o -MT cp/name-lookup.o -MMD -MP -MF cp/.deps/name-lookup.TPo ../../src/gcc/cp/name-lookup.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/name-lookup.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/name-lookup.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/name-lookup.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/name-lookup.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct ../../src/gcc/cp/name-lookup.c:1566:1: warning: unused function 'namespace_scope_ht_size' [-Wunused-function] namespace_scope_ht_size (tree ns) ^ 5 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cxx-pretty-print.o -MT cp/cxx-pretty-print.o -MMD -MP -MF cp/.deps/cxx-pretty-print.TPo ../../src/gcc/cp/cxx-pretty-print.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cxx-pretty-print.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cxx-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cxx-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cxx-pretty-print.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cp-cilkplus.o -MT cp/cp-cilkplus.o -MMD -MP -MF cp/.deps/cp-cilkplus.TPo ../../src/gcc/cp/cp-cilkplus.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cp-cilkplus.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cp-cilkplus.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-cilkplus.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-cilkplus.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cp-gimplify.o -MT cp/cp-gimplify.o -MMD -MP -MF cp/.deps/cp-gimplify.TPo ../../src/gcc/cp/cp-gimplify.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cp-gimplify.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cp-gimplify.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-gimplify.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-gimplify.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:937:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (asm_out) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1628:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (sched) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1658:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simd_clone) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1670:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (simt) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1722:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (goacc) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:1954:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (vectorize) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:3288:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (addr_space) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:4916:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (calls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5510:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (c) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5663:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (cxx) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5752:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (emutls) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5873:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (target_option) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:5975:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (shrink_wrap) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6216:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (mode_switching) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:25: In file included from ../../src/gcc/target.h:200: ../../src/gcc/target.def:6243:1: warning: empty macro arguments are a C99 feature [-Wc99-extensions] HOOK_VECTOR_END (C90_EMPTY_HACK) ^ ../../src/gcc/target-hooks-macros.h:43:50: note: expanded from macro 'HOOK_VECTOR_END' #define HOOK_VECTOR_END(DECL_NAME) HOOK_VECTOR_1(,} DECL_NAME ;) ^ In file included from ../../src/gcc/cp/cp-gimplify.c:28: ../../src/gcc/gimple.h:2495:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2527:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2545:12: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2565:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &gs->op[2]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2582:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2599:12: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2619:11: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return &ass->op[3]; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:2629:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = rhs; ^ ~ ../../src/gcc/gimple.h:346:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3010:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3043:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = fn; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3053:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = build1_loc (gimple_location (gs), ADDR_EXPR, ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3114:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3130:11: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return &call_stmt->op[2]; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3138:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] call_stmt->op[2] = chain; ^ ~ ../../src/gcc/gimple.h:371:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3505:10: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[1]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3531:3: warning: array index 1 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[1] = rhs; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3541:10: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[2]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3551:3: warning: array index 2 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[2] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3561:3: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] gs->op[3] = label; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ ../../src/gcc/gimple.h:3571:10: warning: array index 3 is past the end of the array (which contains 1 element) [-Warray-bounds] return gs->op[3]; ^ ~ ../../src/gcc/gimple.h:315:3: note: array 'op' declared here tree GTY((length ("%h.num_ops"))) op[1]; ^ 39 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cp-array-notation.o -MT cp/cp-array-notation.o -MMD -MP -MF cp/.deps/cp-array-notation.TPo ../../src/gcc/cp/cp-array-notation.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cp-array-notation.c:55: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cp-array-notation.c:55: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-array-notation.c:55: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-array-notation.c:55: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/lambda.o -MT cp/lambda.o -MMD -MP -MF cp/.deps/lambda.TPo ../../src/gcc/cp/lambda.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/lambda.c:26: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/lambda.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/lambda.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/lambda.c:26: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/lambda.c:29: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/lambda.c:29: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/lambda.c:29: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct 12 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/vtable-class-hierarchy.o -MT cp/vtable-class-hierarchy.o -MMD -MP -MF cp/.deps/vtable-class-hierarchy.TPo ../../src/gcc/cp/vtable-class-hierarchy.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:115: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:115: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:115: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:115: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:119: In file included from ../../src/gcc/cgraph.h:24: ../../src/gcc/ipa-ref.h:26:1: warning: class 'symtab_node' was previously declared as a struct [-Wmismatched-tags] class symtab_node; ^ ../../src/gcc/tree-core.h:1673:9: note: previous use is here struct symtab_node *symtab_node; ^ In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:119: ../../src/gcc/cgraph.h:94:1: warning: 'symtab_node' defined as a class here but previously declared as a struct [-Wmismatched-tags] class GTY((desc ("%h.type"), tag ("SYMTAB_SYMBOL"), ^ ../../src/gcc/tree-core.h:1673:2: note: did you mean class here? struct symtab_node *symtab_node; ^~~~~~ class In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:119: ../../src/gcc/cgraph.h:247:11: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:882:5: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:892:6: warning: struct 'symtab_node' was previously declared as a class [-Wmismatched-tags] struct symtab_node *ref = NULL); ^ ../../src/gcc/cgraph.h:96:3: note: previous use is here symtab_node ^ ../../src/gcc/cgraph.h:1600:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1600:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1980:10: warning: class 'cgraph_node' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_node; ^ ../../src/gcc/cgraph.h:856:39: note: previous use is here struct GTY((tag ("SYMTAB_FUNCTION"))) cgraph_node : public symtab_node { ^ ../../src/gcc/cgraph.h:1980:10: note: did you mean struct here? friend class cgraph_node; ^~~~~ struct ../../src/gcc/cgraph.h:1981:10: warning: class 'cgraph_edge' was previously declared as a struct [-Wmismatched-tags] friend class cgraph_edge; ^ ../../src/gcc/cgraph.h:1599:17: note: previous use is here for_user)) cgraph_edge { ^ ../../src/gcc/cgraph.h:1981:10: note: did you mean struct here? friend class cgraph_edge; ^~~~~ struct In file included from ../../src/gcc/cp/vtable-class-hierarchy.c:120: ../../src/gcc/output.h:133:6: warning: '__format__' attribute argument not supported: asm_fprintf [-Wignored-attributes] ATTRIBUTE_ASM_FPRINTF(2, 3); ^ ../../src/gcc/output.h:123:53: note: expanded from macro 'ATTRIBUTE_ASM_FPRINTF' #define ATTRIBUTE_ASM_FPRINTF(m, n) __attribute__ ((__format__ (__asm_fprintf__, m, n))) ATTRIBUTE_NONNULL(m) ^ 13 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/constexpr.o -MT cp/constexpr.o -MMD -MP -MF cp/.deps/constexpr.TPo ../../src/gcc/cp/constexpr.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/constexpr.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/constexpr.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/constexpr.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/constexpr.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct In file included from ../../src/gcc/cp/constexpr.c:5890: ./gt-cp-constexpr.h:222:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-constexpr.h:222:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-constexpr.h:222:70: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-constexpr.h:222:70: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-constexpr.h:265:3: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-constexpr.h:265:3: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class ./gt-cp-constexpr.h:265:68: warning: struct 'hash_table' was previously declared as a class [-Wmismatched-tags] struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^ ../../src/gcc/hash-table.h:358:7: note: previous use is here class hash_table ^ ./gt-cp-constexpr.h:265:68: note: did you mean class here? struct hash_table * x ATTRIBUTE_UNUSED = (struct hash_table *)x_p; ^~~~~~ class 8 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/cp-ubsan.o -MT cp/cp-ubsan.o -MMD -MP -MF cp/.deps/cp-ubsan.TPo ../../src/gcc/cp/cp-ubsan.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/cp/cp-ubsan.c:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/cp-ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/cp-ubsan.c:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/constraint.o -MT cp/constraint.o -MMD -MP -MF cp/.deps/constraint.TPo ../../src/gcc/cp/constraint.cc In file included from ../../src/gcc/cp/constraint.cc:23: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/constraint.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/constraint.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/constraint.cc:23: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Icp -I../../src/gcc -I../../src/gcc/cp -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cp/logic.o -MT cp/logic.o -MMD -MP -MF cp/.deps/logic.TPo ../../src/gcc/cp/logic.cc In file included from ../../src/gcc/cp/logic.cc:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/cp/logic.cc:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/logic.cc:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/cp/logic.cc:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. if [ -f ../stage_final ] \ && cmp -s ../stage_current ../stage_final; then \ cp ../prev-gcc/cc1plus-checksum.c cc1plus-checksum.c; \ else \ build/genchecksum cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o cp/constexpr.o cp/cp-ubsan.o cp/constraint.o cp/logic.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o i386-c.o darwin-c.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a \ checksum-options > cc1plus-checksum.c.tmp && \ ../../src/gcc/../move-if-change cc1plus-checksum.c.tmp cc1plus-checksum.c; \ fi g++ -std=gnu++98 -fno-PIE -c -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o cc1plus-checksum.o -MT cc1plus-checksum.o -MMD -MP -MF ./.deps/cc1plus-checksum.TPo cc1plus-checksum.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o cc1plus \ cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-array-notation.o cp/lambda.o cp/vtable-class-hierarchy.o cp/constexpr.o cp/cp-ubsan.o cp/constraint.o cp/logic.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o i386-c.o darwin-c.o cc1plus-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/Users/matt/sage/local/lib -L/Users/matt/sage/local/lib -L/Users/matt/sage/local/lib -lmpc -lmpfr -lgmp -lz g++ -std=gnu++98 -fno-PIE -c -DTARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o collect2.o -MT collect2.o -MMD -MP -MF ./.deps/collect2.TPo ../../src/gcc/collect2.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/collect2.c:29: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/collect2.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/collect2.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/collect2.c:29: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o collect2-aix.o -MT collect2-aix.o -MMD -MP -MF ./.deps/collect2-aix.TPo ../../src/gcc/collect2-aix.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/collect2-aix.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/collect2-aix.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/collect2-aix.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/collect2-aix.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o tlink.o -MT tlink.o -MMD -MP -MF ./.deps/tlink.TPo ../../src/gcc/tlink.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/tlink.c:25: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/tlink.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tlink.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/tlink.c:25: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o collect-utils.o -MT collect-utils.o -MMD -MP -MF ./.deps/collect-utils.TPo ../../src/gcc/collect-utils.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/collect-utils.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/collect-utils.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/collect-utils.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/collect-utils.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o Tcollect2 \ collect2.o collect2-aix.o tlink.o vec.o ggc-none.o collect-utils.o file-find.o hash-table.o selftest.o libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a mv -f Tcollect2 collect2 g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o lto-wrapper.o -MT lto-wrapper.o -MMD -MP -MF ./.deps/lto-wrapper.TPo ../../src/gcc/lto-wrapper.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/lto-wrapper.c:42: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/lto-wrapper.c:42: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-wrapper.c:42: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/lto-wrapper.c:42: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o Tlto-wrapper \ lto-wrapper.o collect-utils.o ggc-none.o libcommon-target.a libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a mv -f Tlto-wrapper lto-wrapper g++ -std=gnu++98 -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/Users/matt/sage/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"7.2.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DDEFAULT_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DSTANDARD_BINDIR_PREFIX=\"/Users/matt/sage/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DENABLE_SHARED_LIBGCC -DCONFIGURE_SPECS="\"\"" -DTARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DPERSONALITY=\"ar\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcc-ar.o -MT gcc-ar.o -MMD -MP -MF ./.deps/gcc-ar.TPo ../../src/gcc/gcc-ar.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib gcc-ar.o -o gcc-ar \ file-find.o libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a cp ../../src/gcc/gcc-ar.c gcc-nm.c g++ -std=gnu++98 -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/Users/matt/sage/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"7.2.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DDEFAULT_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DSTANDARD_BINDIR_PREFIX=\"/Users/matt/sage/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DENABLE_SHARED_LIBGCC -DCONFIGURE_SPECS="\"\"" -DTARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DPERSONALITY=\"nm\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcc-nm.o -MT gcc-nm.o -MMD -MP -MF ./.deps/gcc-nm.TPo gcc-nm.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib gcc-nm.o -o gcc-nm \ file-find.o libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a cp ../../src/gcc/gcc-ar.c gcc-ranlib.c g++ -std=gnu++98 -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/Users/matt/sage/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"7.2.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DDEFAULT_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DSTANDARD_BINDIR_PREFIX=\"/Users/matt/sage/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DENABLE_SHARED_LIBGCC -DCONFIGURE_SPECS="\"\"" -DTARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DPERSONALITY=\"ranlib\" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcc-ranlib.o -MT gcc-ranlib.o -MMD -MP -MF ./.deps/gcc-ranlib.TPo gcc-ranlib.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib gcc-ranlib.o -o gcc-ranlib \ file-find.o libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a g++ -std=gnu++98 -fno-PIE -c -DHOST_GENERATOR_FILE -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gengtype.o -MT gengtype.o -MMD -MP -MF ./.deps/gengtype.TPo ../../src/gcc/gengtype.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gengtype.c:32: ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0) ^ ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 31 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DHOST_GENERATOR_FILE -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-error -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gengtype-lex.o -MT gengtype-lex.o -MMD -MP -MF ./.deps/gengtype-lex.TPo ../../src/gcc/gengtype-lex.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] gengtype-lex.c:2150:3: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gengtype-lex.c:1343:18: note: expanded from macro 'YY_INPUT' for ( n = 0; n < max_size && \ ~ ^ ~~~~~~~~ gengtype-lex.c:2658:17: warning: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Wsign-compare] for ( i = 0; i < _yybytes_len; ++i ) ~ ^ ~~~~~~~~~~~~ 2 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DHOST_GENERATOR_FILE -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gengtype-parse.o -MT gengtype-parse.o -MMD -MP -MF ./.deps/gengtype-parse.TPo ../../src/gcc/gengtype-parse.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -fno-PIE -c -DHOST_GENERATOR_FILE -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gengtype-state.o -MT gengtype-state.o -MMD -MP -MF ./.deps/gengtype-state.TPo ../../src/gcc/gengtype-state.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gengtype-state.c:36: ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] lbasename (__FILE__),__LINE__, ##__VA_ARGS__);} while (0) ^ ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] ../../src/gcc/gengtype.h:497:40: warning: token pasting of ',' and __VA_ARGS__ is a GNU extension [-Wgnu-zero-variadic-macro-arguments] 19 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DHOST_GENERATOR_FILE -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o errors.o -MT errors.o -MMD -MP -MF ./.deps/errors.TPo ../../src/gcc/errors.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o gengtype \ gengtype.o gengtype-lex.o gengtype-parse.o gengtype-state.o version.o errors.o libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a g++ -std=gnu++98 -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/Users/matt/sage/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"7.2.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DDEFAULT_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DSTANDARD_BINDIR_PREFIX=\"/Users/matt/sage/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DENABLE_SHARED_LIBGCC -DCONFIGURE_SPECS="\"\"" -DBASEVER="\"7.2.0\"" -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcc.o -MT gcc.o -MMD -MP -MF ./.deps/gcc.TPo ../../src/gcc/gcc.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcc.c:32: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcc.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcc.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcc.c:32: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o gcc-main.o -MT gcc-main.o -MMD -MP -MF ./.deps/gcc-main.TPo ../../src/gcc/gcc-main.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/gcc-main.c:27: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/gcc-main.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcc-main.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/gcc-main.c:27: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/Users/matt/sage/local/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/Users/matt/sage/local/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"7.2.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DDEFAULT_TARGET_MACHINE=\"x86_64-apple-darwin16.7.0\" -DSTANDARD_BINDIR_PREFIX=\"/Users/matt/sage/local/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DENABLE_SHARED_LIBGCC -DCONFIGURE_SPECS="\"\"" -DIN_GCC_FRONTEND -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic -I../../src/gcc -I../../src/gcc/c -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c/gccspec.o -MT c/gccspec.o -MMD -MP -MF c/.deps/gccspec.TPo ../../src/gcc/c/gccspec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c/gccspec.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c/gccspec.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/gccspec.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c/gccspec.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o driver-i386.o -MT driver-i386.o -MMD -MP -MF ./.deps/driver-i386.TPo ../../src/gcc/config/i386/driver-i386.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/i386/driver-i386.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/i386/driver-i386.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/driver-i386.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/i386/driver-i386.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o darwin-driver.o -MT darwin-driver.o -MMD -MP -MF ./.deps/darwin-driver.TPo ../../src/gcc/config/darwin-driver.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/config/darwin-driver.c:24: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/config/darwin-driver.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/darwin-driver.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/config/darwin-driver.c:24: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o xgcc gcc.o gcc-main.o ggc-none.o \ c/gccspec.o driver-i386.o darwin-driver.o libcommon-target.a \ libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a g++ -std=gnu++98 -fno-PIE -c -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I/Users/matt/sage/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/cppspec.o -MT c-family/cppspec.o -MMD -MP -MF c-family/.deps/cppspec.TPo ../../src/gcc/c-family/cppspec.c clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] In file included from ../../src/gcc/c-family/cppspec.c:22: ../../src/gcc/coretypes.h:62:1: warning: class 'rtx_def' was previously declared as a struct [-Wmismatched-tags] class rtx_def; ^ ../../src/gcc/coretypes.h:55:8: note: previous use is here struct rtx_def; ^ In file included from ../../src/gcc/c-family/cppspec.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:277:15: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] static inline struct rtx_def * ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/cppspec.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:235: ../../src/gcc/ggc.h:280:11: warning: struct 'rtx_def' was previously declared as a class [-Wmismatched-tags] return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT); ^ ../../src/gcc/coretypes.h:62:7: note: previous use is here class rtx_def; ^ In file included from ../../src/gcc/c-family/cppspec.c:22: In file included from ../../src/gcc/coretypes.h:369: In file included from ../../src/gcc/hash-table.h:561: ../../src/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class [-Wmismatched-tags] struct mem_usage ^ ../../src/gcc/hash-table.h:341:1: note: did you mean struct here? class mem_usage; ^~~~~ struct 4 warnings generated. g++ -std=gnu++98 -g -DIN_GCC -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Users/matt/sage/local/lib -Wl,-rpath,/Users/matt/sage/local/lib -o cpp gcc.o gcc-main.o ggc-none.o \ c-family/cppspec.o driver-i386.o darwin-driver.o libcommon-target.a \ libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a /Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/xgcc -B/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/ -dumpspecs > tmp-specs mv tmp-specs specs : > tmp-libgcc.mvars echo GCC_CFLAGS = '-g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include ' >> tmp-libgcc.mvars echo INHIBIT_LIBC_CFLAGS = '' >> tmp-libgcc.mvars echo TARGET_SYSTEM_ROOT = '' >> tmp-libgcc.mvars if test no = yes; then \ NO_PIE_CFLAGS="-fno-PIE"; \ else \ NO_PIE_CFLAGS=; \ fi; \ echo NO_PIE_CFLAGS = "$NO_PIE_CFLAGS" >> tmp-libgcc.mvars mv tmp-libgcc.mvars libgcc.mvars echo | /Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/xgcc -B/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/ -E -dM - | \ sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \ -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \ sort -u > tmp-macro_list /bin/sh ../../src/gcc/../move-if-change tmp-macro_list macro_list echo timestamp > s-macro_list if /Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/xgcc -B/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/ -print-sysroot-headers-suffix > /dev/null 2>&1; then \ set -e; for ml in `/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/xgcc -B/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/ -print-multi-lib`; do \ multi_dir=`echo ${ml} | sed -e 's/;.*$//'`; \ flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \ sfx=`/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/xgcc -B/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0/gcc-build/./gcc/ ${flags} -print-sysroot-headers-suffix`; \ if [ "${multi_dir}" = "." ]; \ then multi_dir=""; \ else \ multi_dir=/${multi_dir}; \ fi; \ echo "${sfx};${multi_dir}"; \ done; \ else \ echo ";"; \ fi > tmp-fixinc_list /bin/sh ../../src/gcc/../move-if-change tmp-fixinc_list fixinc_list echo timestamp > s-fixinc_list rm -rf include-fixed; mkdir include-fixed chmod a+rx include-fixed if [ -d ../prev-gcc ]; then \ cd ../prev-gcc && \ make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \ libsubdir=. ; \ else \ set -e; for ml in `cat fixinc_list`; do \ sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \ multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \ fix_dir=include-fixed${multi_dir}; \ if ! false && test ! -d `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`; then \ echo The directory that should contain system headers does not exist: >&2 ; \ echo " `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \ tooldir_sysinc=`echo "/Users/matt/sage/local/lib/gcc/x86_64-apple-darwin16.7.0/7.2.0/../../../../x86_64-apple-darwin16.7.0/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \ if test "x`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \ then sleep 1; else exit 1; fi; \ fi; \ /bin/sh ../../src/gcc/../mkinstalldirs ${fix_dir}; \ chmod a+rx ${fix_dir} || true; \ (TARGET_MACHINE='x86_64-apple-darwin16.7.0'; srcdir=`cd ../../src/gcc; ${PWDCMD-pwd}`; \ SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \ gcc_dir=`${PWDCMD-pwd}` ; \ export TARGET_MACHINE srcdir SHELL MACRO_LIST && \ cd ../build-x86_64-apple-darwin16.7.0/fixincludes && \ /bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \ `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta` ); \ rm -f ${fix_dir}/syslimits.h; \ if [ -f ${fix_dir}/limits.h ]; then \ mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \ else \ cp ../../src/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \ fi; \ chmod a+r ${fix_dir}/syslimits.h; \ done; \ fi The directory that should contain system headers does not exist: /usr/include make[6]: *** [stmp-fixinc] Error 1 make[5]: *** [all-stage1-gcc] Error 2 make[4]: *** [stage1-bubble] Error 2 make[3]: *** [all] Error 2 real 9m0.522s user 7m7.332s sys 1m7.171s ************************************************************************ Error installing package gcc-7.2.0 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Users/matt/sage/logs/pkgs/gcc-7.2.0.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Users/matt/sage/local/var/tmp/sage/build/gcc-7.2.0' && '/Users/matt/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************