1. 30 Apr, 2015 34 commits
  2. 29 Apr, 2015 6 commits
    • re PR libstdc++/65839 (xmethods need updating once gdb decides how to fix 18285) · 8996b63b
      	PR libstdc++/65839
      	* python/libstdcxx/v6/xmethods.py (get_bool_type): New function.
      	Replace all lookups of "bool" with this.
      	(get_std_size_type): New function.  Replace all lookups of std::size_t
      	with this.
      	(*Worker): New method get_result_type.
      	(DequeWorkerBase.__init__): New arg val_type.  All callers updated.
      	(ListWorkerBase.__init__): New arg val_type.  All callers updated.
      	(UniquePtrGetWorker.__init__): New arg elem_type.  All callers updated.
      	Delete setting of name, enabled.
      	(UniquePtrDerefWorker.__init__): New arg elem_type.  All callers
      	updated.  Delete setting of name.
      	(UniquePtrMethodsMatcher): Rewrite for consistency with all other
      	libstdc++ xmethod matchers.
      	* testsuite/libstdc++-xmethods/array.cc: Add whatis tests.
      	* testsuite/libstdc++-xmethods/associative-containers.cc: Ditto.
      	* testsuite/libstdc++-xmethods/deque.cc: Ditto.
      	* testsuite/libstdc++-xmethods/forwardlist.cc: Ditto.
      	* testsuite/libstdc++-xmethods/list.cc: Ditto.
      	* testsuite/libstdc++-xmethods/unique_ptr.cc: Ditto.
      	* testsuite/libstdc++-xmethods/vector.cc: Ditto.
      
      From-SVN: r222599
      Doug Evans committed
    • compiler: Consider multi-result calls in escape analysis. · 1dea42c9
      When building connection graphs between objects, the analysis
      only handled calls of the form `call(...)` or `var := call(...)`.
      Functions with multiple results being used e.g. `var, _ = call(...)`
      were not analyzed, causing some escaping variables to be marked as
      non-escaping.
      
      From-SVN: r222598
      Ian Lance Taylor committed
    • compiler: Propagate escape info from closures to enclosed variables. · 67b68b81
      If a closure escapes, the enclosed variables must escape via the
      closure.  Reachability analysis had a bug where the enclosed
      variables were not considered as reachable from the closure.
      
      From-SVN: r222597
      Ian Lance Taylor committed
    • Use consistent naming for value type attributes. · b693b879
      	* python/libstdcxx/v6/xmethods.py (ArrayWorkerBase): Rename _valtype
      	to _val_type.
      	(ArraySizeWorker, ArrayEmptyWorker): Ditto.
      	(ArrayFrontWorker, ArrayBackWorker): Ditto.
      	(ArrayAtWorker, ArraySubscriptWorker): Ditto.
      	(DequeWorkerBase): Rename elemtype to val_type.
      	(ForwardListWorkerBase): Rename _elem_type to _val_type.
      	(ForwardListFrontWorker): Ditto.  And rename elem_address to
      	val_address.
      	(ForwardListMethodsMatcher): Rename elem_type to val_type.
      	(VectorWorkerBase): Rename _elemtype to _val_type.
      
      From-SVN: r222596
      Doug Evans committed
    • runtime: Support -buildmode=c-shared. · 081564fa
      These changes permit using the go tool from the upcoming Go
      1.5 release with -buildmode=c-archive to build gccgo code into
      an archive file that can be linked with a C program.
      
      From-SVN: r222594
      Ian Lance Taylor committed
    • mips-cpus.def: (mips4): Change default processor from PROCESSOR_R8000 to PROCESSOR_R10000. · 2f79da78
      2015-04-29  Steve Ellcey  <sellcey@imgtec.com>
      
      	* config/mips/mips-cpus.def: (mips4): Change default processor
      	from PROCESSOR_R8000 to PROCESSOR_R10000.
      
      From-SVN: r222593
      Steve Ellcey committed