1. 04 Jan, 2016 2 commits
    • Update copyright years. · 818ab71a
      From-SVN: r232055
      Jakub Jelinek committed
    • gcc.c (process_command): Update copyright notice dates. · 21fa2a29
      gcc/
      	* gcc.c (process_command): Update copyright notice dates.
      	* gcov-dump.c (print_version): Ditto.
      	* gcov.c (print_version): Ditto.
      	* gcov-tool.c (print_version): Ditto.
      	* gengtype.c (create_file): Ditto.
      	* doc/cpp.texi: Bump @copying's copyright year.
      	* doc/cppinternals.texi: Ditto.
      	* doc/gcc.texi: Ditto.
      	* doc/gccint.texi: Ditto.
      	* doc/gcov.texi: Ditto.
      	* doc/install.texi: Ditto.
      	* doc/invoke.texi: Ditto.
      gcc/ada/
      	* gnat_ugn.texi: Bump @copying's copyright year.
      	* gnat_rm.texi: Likewise.
      gcc/fortran/
      	* gfortranspec.c (lang_specific_driver): Update copyright notice
      	dates.
      	* gfc-internals.texi: Bump @copying's copyright year.
      	* gfortran.texi: Ditto.
      	* intrinsic.texi: Ditto.
      	* invoke.texi: Ditto.
      gcc/go/
      	* gccgo.texi: Bump @copyrights-go year.
      gcc/java/
      	* jcf-dump.c (version): Update copyright notice dates.
      libgomp/
      	* libgomp.texi: Bump @copying's copyright year.
      libitm/
      	* libitm.texi: Bump @copying's copyright year.
      libjava/
      	* classpath/gnu/java/rmi/registry/RegistryImpl.java (version): Update
      	copyright notice dates.
      	* classpath/tools/gnu/classpath/tools/orbd/Main.java (run): Ditto.
      	* gnu/gcj/convert/Convert.java (version): Update copyright notice
      	dates.
      	* gnu/gcj/tools/gcj_dbtool/Main.java (main): Ditto.
      libquadmath/
      	* libquadmath.texi: Bump @copying's copyright year.
      
      From-SVN: r232053
      Jakub Jelinek committed
  2. 22 Dec, 2015 2 commits
    • go-gcc.cc (class Bvariable): Remove Gcc_tree parent class. · 399f5feb
      	* go-gcc.cc (class Bvariable): Remove Gcc_tree parent class.  Add
      	t_ and orig_type_ fields.  Add new two parameter constructor.  Add
      	get_tree and get_decl methods.
      	(Gcc_backend::var_expression): Pass location to var get_tree.
      	(Gcc_backend::global_variable): Don't add VIEW_CONVERT_EXPR.  Use
      	two parameter constructor for Bvariable.
      	(Gcc_backend::global_variable_set_init): Don't remove
      	VIEW_CONVERT_EXPR.  Use var get_decl, not get_tree.
      	(Gcc_backend::write_global_definitions): Likewise.
      	(Gcc_backend::init_statement): Call var get_decl, not get_tree.
      	(Gcc_backend::block): Likewise.
      	(Gcc_backend::implicit_variable_set_init): Likewise.
      	(Gcc_backend::immutable_struct_set_init): Likewise.
      	(Gcc_backend::function_set_parameters): Likewise.
      
      From-SVN: r231894
      Ian Lance Taylor committed
    • go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized, add a… · 8fd41e92
      go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized, add a VIEW_CONVERT_EXPR to the tree.
      
      	* go-gcc.cc (Gcc_backend::global_variable): If type is zero-sized,
      	add a VIEW_CONVERT_EXPR to the tree.
      	(Gcc_backend::global_variable_set_init): Remove any
      	VIEW_CONVERT_EXPR.
      	(Gcc_backend::write_global_definitions): Likewise.
      
      From-SVN: r231888
      Ian Lance Taylor committed
  3. 02 Dec, 2015 1 commit
  4. 01 Dec, 2015 1 commit
  5. 26 Nov, 2015 1 commit
  6. 23 Nov, 2015 1 commit
  7. 21 Nov, 2015 3 commits
  8. 20 Nov, 2015 4 commits
  9. 11 Nov, 2015 1 commit
    • decl.c: Remove unused header files. · 69f293c9
      ada
      
      	* gcc-interface/decl.c: Remove unused header files.
      	* gcc-interface/misc.c: Likewise.
      	* gcc-interface/targtyps.c: Likewise.
      	* gcc-interface/trans.c: Likewise.
      	* gcc-interface/utils.c: Likewise.
      c
      
      	* c-array-notation.c: Remove unused header files.
      	* c-aux-info.c: Likewise.
      	* c-convert.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-errors.c: Likewise.
      	* c-lang.c: Likewise.
      	* c-objc-common.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-typeck.c: Likewise.
      	* gccspec.c: Likewise.
      
      c-family
      
      	* array-notation-common.c: Remove unused header files.
      	* c-ada-spec.c: Likewise.
      	* c-cilkplus.c: Likewise.
      	* c-common.c: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-format.c: Likewise.
      	* c-gimplify.c: Likewise.
      	* c-indentation.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-pch.c: Likewise.
      	* c-ppoutput.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-semantics.c: Likewise.
      	* c-ubsan.c: Likewise.
      	* cilk.c: Likewise.
      	* stub-objc.c: Likewise.
      
      cp
      
      	* call.c: Remove unused header files.
      	* class.c: Likewise.
      	* constexpr.c: Likewise.
      	* cp-array-notation.c: Likewise.
      	* cp-cilkplus.c: Likewise.
      	* cp-gimplify.c: Likewise.
      	* cp-lang.c: Likewise.
      	* cp-objcp-common.c: Likewise.
      	* cp-ubsan.c: Likewise.
      	* cvt.c: Likewise.
      	* cxx-pretty-print.c: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* dump.c: Likewise.
      	* error.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* friend.c: Likewise.
      	* g++spec.c: Likewise.
      	* init.c: Likewise.
      	* lambda.c: Likewise.
      	* lex.c: Likewise.
      	* mangle.c: Likewise.
      	* method.c: Likewise.
      	* name-lookup.c: Likewise.
      	* optimize.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* ptree.c: Likewise.
      	* repo.c: Likewise.
      	* rtti.c: Likewise.
      	* search.c: Likewise.
      	* semantics.c: Likewise.
      	* tree.c: Likewise.
      	* typeck.c: Likewise.
      	* typeck2.c: Likewise.
      	* vtable-class-hierarchy.c: Likewise.
      
      Fortran
      
      	* array.c: Remove unused header files.
      	* convert.c: Likewise.
      	* cpp.c: Likewise.
      	* decl.c: Likewise.
      	* f95-lang.c: Likewise.
      	* frontend-passes.c: Likewise.
      	* iresolve.c: Likewise.
      	* match.c: Likewise.
      	* module.c: Likewise.
      	* options.c: Likewise.
      	* parse.c: Likewise.
      	* target-memory.c: Likewise.
      	* trans-array.c: Likewise.
      	* trans-common.c: Likewise.
      	* trans-const.c: Likewise.
      	* trans-decl.c: Likewise.
      	* trans-expr.c: Likewise.
      	* trans-intrinsic.c: Likewise.
      	* trans-io.c: Likewise.
      	* trans-openmp.c: Likewise.
      	* trans-stmt.c: Likewise.
      	* trans-types.c: Likewise.
      	* trans.c: Likewise.
      
      go
      
      	* go-backend.c: Remove unused header files.
      	* go-gcc.cc: Likewise.
      	* go-lang.c: Likewise.
      	* gospec.c: Likewise.
      
      Java
      
      	* boehm.c: Remove unused header files.
      	* builtins.c: Likewise.
      	* class.c: Likewise.
      	* constants.c: Likewise.
      	* decl.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* java-gimplify.c: Likewise.
      	* jcf-dump.c: Likewise.
      	* jcf-io.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* jvgenmain.c: Likewise.
      	* lang.c: Likewise.
      	* mangle.c: Likewise.
      	* mangle_name.c: Likewise.
      	* resource.c: Likewise.
      	* typeck.c: Likewise.
      	* verify-glue.c: Likewise.
      	* verify-impl.c: Likewise.
      	* zextract.c: Likewise.
      
      jit
      
      	* dummy-frontend.c: Remove unused header files.
      	* jit-builtins.c: Likewise.
      	* jit-playback.c: Likewise.
      	* jit-recording.c: Likewise.
      	* jit-spec.c: Likewise.
      	* libgccjit.c: Likewise.
      
      lto
      
      	* lto-lang.c: Remove unused header files.
      	* lto-object.c: Likewise.
      	* lto-partition.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* lto.c: Likewise.
      
      objc
      
      	* objc-act.c: Remove unused header files.
      	* objc-encoding.c: Likewise.
      	* objc-gnu-runtime-abi-01.c: Likewise.
      	* objc-lang.c: Likewise.
      	* objc-map.c: Likewise.
      	* objc-next-runtime-abi-01.c: Likewise.
      	* objc-next-runtime-abi-02.c: Likewise.
      	* objc-runtime-shared-support.c: Likewise.
      
      objcp
      
      	* objcp-decl.c: Remove unused header files.
      	* objcp-lang.c: Likewise.
      
      From-SVN: r230166
      Andrew MacLeod committed
  10. 10 Nov, 2015 2 commits
  11. 07 Nov, 2015 1 commit
  12. 06 Nov, 2015 1 commit
    • libgo: Solaris portability fixes. · 9da92cbd
          
          Only build net/hook_cloexec.go on GNU/Linux and FreeBSD, because those
          are the only systems with accept4.
          
          Add syscall/libcall_bsd.go to define sendfile for *BSD and Solaris.
          
          Revert tcpsockopt_solaris.go back to the earlier version, so that it
          works on Solaris 10.
          
          Always pass the address of a Pid_t value to TIOCGPGRP and TIOCSPGRP.
          
          Include <unistd.h> in runtime/go-varargs.c.
          
          Reviewed-on: https://go-review.googlesource.com/16719
      
      From-SVN: r229880
      Ian Lance Taylor committed
  13. 04 Nov, 2015 1 commit
  14. 03 Nov, 2015 1 commit
  15. 02 Nov, 2015 3 commits
  16. 01 Nov, 2015 2 commits
  17. 31 Oct, 2015 3 commits
  18. 30 Oct, 2015 1 commit
  19. 29 Oct, 2015 3 commits
    • compiler, reflect, runtime: remove zero field from type descriptor · f4a513a9
          
          Type descriptors picked up a zero field because the gc map
          implementation used it.  However, it's since been dropped by the gc
          library.  It was never used by gccgo.  Drop it now in preparation for
          upgrading to the Go 1.5 library.
          
          Reviewed-on: https://go-review.googlesource.com/16486
      
      From-SVN: r229546
      Ian Lance Taylor committed
    • compiler, runtime: change type hash/equal to Go funcs · 730f6d14
          
          Change the type descriptor hash and equal functions from C code pointers
          to Go func values.  This permits them to be set to a Go function
          closure.  This is in preparation for the Go 1.5, so that we can use a
          closure for the hash/equal functions returned by the new reflect.ArrayOf
          function.
          
          Reviewed-on: https://go-review.googlesource.com/16485
      
      From-SVN: r229541
      Ian Lance Taylor committed
    • decl.c: Reorder #include's and remove duplicates. · 2adfab87
      ada
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* gcc-interface/decl.c: Reorder #include's and remove duplicates.
      	* gcc-interface/misc.c: Likewise.
      	* gcc-interface/targtyps.c: Likewise.
      	* gcc-interface/trans.c: Likewise.
      	* gcc-interface/utils.c: Likewise.
      	
      c
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* c-array-notation.c: Reorder #include's and remove duplicates.
      	* c-aux-info.c: Likewise.
      	* c-convert.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-errors.c: Likewise.
      	* c-lang.c: Likewise.
      	* c-objc-common.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-typeck.c: Likewise.
      
      c-family
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* array-notation-common.c: Reorder #include's and remove duplicates.
      	* c-ada-spec.c: Likewise.
      	* c-cilkplus.c: Likewise.
      	* c-common.c: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-format.c: Likewise.
      	* c-gimplify.c: Likewise.
      	* c-indentation.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-pch.c: Likewise.
      	* c-ppoutput.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-semantics.c: Likewise.
      	* c-ubsan.c: Likewise.
      	* cilk.c: Likewise.
      	* stub-objc.c: Likewise.
      
      cp
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* call.c: Reorder #include's and remove duplicates.
      	* class.c: Likewise.
      	* constexpr.c: Likewise.
      	* cp-array-notation.c: Likewise.
      	* cp-cilkplus.c: Likewise.
      	* cp-gimplify.c: Likewise.
      	* cp-lang.c: Likewise.
      	* cp-objcp-common.c: Likewise.
      	* cp-ubsan.c: Likewise.
      	* cvt.c: Likewise.
      	* cxx-pretty-print.c: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* dump.c: Likewise.
      	* error.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* friend.c: Likewise.
      	* init.c: Likewise.
      	* lambda.c: Likewise.
      	* lex.c: Likewise.
      	* mangle.c: Likewise.
      	* method.c: Likewise.
      	* name-lookup.c: Likewise.
      	* optimize.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* ptree.c: Likewise.
      	* repo.c: Likewise.
      	* rtti.c: Likewise.
      	* search.c: Likewise.
      	* semantics.c: Likewise.
      	* tree.c: Likewise.
      	* typeck.c: Likewise.
      	* typeck2.c: Likewise.
      	* vtable-class-hierarchy.c: Likewise.
      
      fortran
      
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* array.c: Reorder #include's and remove duplicates.
      	* convert.c: Likewise.
      	* cpp.c: Likewise.
      	* decl.c: Likewise.
      	* f95-lang.c: Likewise.
      	* frontend-passes.c: Likewise.
      	* iresolve.c: Likewise.
      	* match.c: Likewise.
      	* module.c: Likewise.
      	* options.c: Likewise.
      	* parse.c: Likewise.
      	* resolve.c: Likewise.
      	* simplify.c: Likewise.
      	* target-memory.c: Likewise.
      	* trans-array.c: Likewise.
      	* trans-common.c: Likewise.
      	* trans-const.c: Likewise.
      	* trans-decl.c: Likewise.
      	* trans-expr.c: Likewise.
      	* trans-intrinsic.c: Likewise.
      	* trans-io.c: Likewise.
      	* trans-openmp.c: Likewise.
      	* trans-stmt.c: Likewise.
      	* trans-types.c: Likewise.
      	* trans.c: Likewise.
      
      go
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* go-backend.c: Reorder #include's and remove duplicates.
      	* go-lang.c: Likewise.
      
      java
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* boehm.c: Reorder #include's and remove duplicates.
      	* builtins.c: Likewise.
      	* class.c: Likewise.
      	* constants.c: Likewise.
      	* decl.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* java-gimplify.c: Likewise.
      	* jcf-dump.c: Likewise.
      	* jcf-io.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* jvgenmain.c: Likewise.
      	* lang.c: Likewise.
      	* mangle.c: Likewise.
      	* mangle_name.c: Likewise.
      	* resource.c: Likewise.
      	* typeck.c: Likewise.
      	* verify-glue.c: Likewise.
      	* verify-impl.c: Likewise.
      
      jit
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* dummy-frontend.c: Reorder #include's and remove duplicates.
      	* jit-builtins.c: Likewise.
      	* jit-playback.c: Likewise.
      	* jit-recording.c: Likewise.
      	* libgccjit.c: Likewise.
      
      lto
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* lto-lang.c: Reorder #include's and remove duplicates.
      	* lto-object.c: Likewise.
      	* lto-partition.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* lto.c: Likewise.
      
      objc
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* objc-lang.c: Reorder #include's and remove duplicates.
      	* objc-map.c: Likewise.
      
      objcp
      2015-10-29  Andrew MacLeod  <amacleod@redhat.com>
      
      	* objcp-decl.c: Reorder #include's and remove duplicates.
      	* objcp-lang.c: Likewise.
      
      From-SVN: r229533
      Andrew MacLeod committed
  20. 21 Oct, 2015 1 commit
    • Improve --help output to generate references to option aliases. · a7b2e184
      gcc/
      	PR driver/68043
      	* opts.c (undocumented_msg, use_diagnosed_msg): New globals.
      	(print_filtered_help): Reference aliased option's name and encourage
      	readers to use it in preference to the alias if the former is not
      	documented.  Mention when using an option is diagnosed.
      	* gcc.c (display_help): End each sentence with a period.
      
      	* ada/gcc-interface/lang.opt: End each sentence that describes
      	an option with a period.
      	* c-family/c.opt: Same.
      	* common.opt: Same.
      	* config/aarch64/aarch64.opt: Same.
      	* config/alpha/alpha.opt: Same.
      	* config/arc/arc.opt: Same.
      	* config/arm/arm.opt: Same.
      	* config/avr/avr.opt: Same.
      	* config/bfin/bfin.opt: Same.
      	* config/c6x/c6x.opt: Same.
      	* config/cr16/cr16.opt: Same.
      	* config/cris/cris.opt: Same.
      	* config/cris/linux.opt: Same.
      	* config/darwin.opt: Same.
      	* config/epiphany/epiphany.opt: Same.
      	* config/fr30/fr30.opt: Same.
      	* config/frv/frv.opt: Same.
      	* config/ft32/ft32.opt: Same.
      	* config/g.opt: Same.
      	* config/h8300/h8300.opt: Same.
      	* config/i386/cygming.opt: Same.
      	* config/i386/djgpp.opt: Same.
      	* config/i386/i386.opt: Same.
      	* config/i386/interix.opt: Same.
      	* config/i386/mingw-w64.opt: Same.
      	* config/i386/mingw.opt: Same.
      	* config/ia64/ia64.opt: Same.
      	* config/ia64/ilp32.opt: Same.
      	* config/iq2000/iq2000.opt: Same.
      	* config/linux.opt: Same.
      	* config/lm32/lm32.opt: Same.
      	* config/lynx.opt: Same.
      	* config/m32c/m32c.opt: Same.
      	* config/m32r/m32r.opt: Same.
      	* config/m68k/ieee.opt: Same.
      	* config/m68k/m68k.opt: Same.
      	* config/mcore/mcore.opt: Same.
      	* config/mep/mep.opt: Same.
      	* config/microblaze/microblaze.opt: Same.
      	* config/mips/mips.opt: Same.
      	* config/mmix/mmix.opt: Same.
      	* config/mn10300/mn10300.opt: Same.
      	* config/moxie/moxie.opt: Same.
      	* config/msp430/msp430.opt: Same.
      	* config/nios2/elf.opt: Same.
      	* config/nios2/nios2.opt: Same.
      	* config/nvptx/nvptx.opt: Same.
      	* config/pa/pa-hpux.opt: Same.
      	* config/pa/pa-hpux1010.opt: Same.
      	* config/pa/pa-hpux1111.opt: Same.
      	* config/pa/pa-hpux1131.opt: Same.
      	* config/pa/pa.opt: Same.
      	* config/pa/pa64-hpux.opt: Same.
      	* config/pdp11/pdp11.opt: Same.
      	* config/rl78/rl78.opt: Same.
      	* config/rs6000/476.opt: Same.
      	* config/rs6000/aix64.opt: Same.
      	* config/rs6000/darwin.opt: Same.
      	* config/rs6000/linux64.opt: Same.
      	* config/rs6000/rs6000.opt: Same.
      	* config/rs6000/sysv4.opt: Same.
      	* config/s390/s390.opt: Same.
      	* config/s390/tpf.opt: Same.
      	* config/sh/sh.opt: Same.
      	* config/sol2.opt: Same.
      	* config/sparc/long-double-switch.opt: Same.
      	* config/sparc/sparc.opt: Same.
      	* config/spu/spu.opt: Same.
      	* config/stormy16/stormy16.opt: Same.
      	* config/tilegx/tilegx.opt: Same.
      	* config/tilepro/tilepro.opt: Same.
      	* config/v850/v850.opt: Same.
      	* config/vax/vax.opt: Same.
      	* config/visium/visium.opt: Same.
      	* config/vms/vms.opt: Same.
      	* config/vxworks.opt: Same.
      	* config/xtensa/xtensa.opt: Same.
      	* fortran/lang.opt: Same.
      
      testsuite/
      	PR driver/68043
      	* gcc.misc-tests/help.exp: Adjust.
      	* lib/options.exp (check_for_options): Add detail to output.
      
      From-SVN: r229155
      Martin Sebor committed
  21. 20 Oct, 2015 2 commits
  22. 19 Oct, 2015 1 commit
    • PR66870 PowerPC64 Enable gold linker with split stack · b2e4c071
      A powerpc-linux/powerpc64-linux biarch compiler can default to either
      -m32 or -m64, and we need to notice both -m32 and -m64 on the gccgo
      command line.  It's also possible to build a -m64 only compiler, so in
      that case we can define TARGET_CAN_SPLIT_STACK.
      
      gcc/
      	PR go/66870
      	* config/rs6000/sysv4.h (TARGET_CAN_SPLIT_STACK_64BIT): Don't define.
      	* config/rs6000/linux64.h (TARGET_CAN_SPLIT_STACK): Define.
      	(TARGET_CAN_SPLIT_STACK_64BIT): Define.
      gcc/go/
      	PR go/66870
      	* gospec.c (saw_opt_m32): Rename to..
      	(is_m64): ..this, initialised by TARGET_CAN_SPLIT_STACK_64BIT.
      	Update uses.
      	(lang_specific_driver): Set is_m64 if OPT_m64, clear if OPT_m32.
      
      From-SVN: r229009
      Alan Modra committed
  23. 07 Oct, 2015 2 commits