2013-08-20  Tim Shen  <timshen91@gmail.com>

	* include/bits/regex_constants.h: Add underlying `unsigned int` for
	  enum syntax_option_type.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201872 138bc75d-0d04-0410-961f-82ee72b054a4
	* error.c (pp_ggc_formatted_text): New.
	(type_as_string): Use it in lieu of pp_formatted_text.
	(type_as_string_translate): Likewise.
	(expr_as_string): Likewise.
	(decl_as_string): Likewise.
	(decl_as_string_translate): Likewise.
	(lang_decl_name): Likewise.
	(decl_to_string): Likewise.
	(expr_to_string): Likewise.
	(fndecl_to_string): Likewise.
	(parm_to_string): Likewise.
	(type_to_string): Likewise.
	(args_to_string): Likewise.
	(subst_to_string): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201873 138bc75d-0d04-0410-961f-82ee72b054a4
2013-08-20  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58190
	* g++.dg/pr57878.C: Use __SIZE_TYPE__.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201874 138bc75d-0d04-0410-961f-82ee72b054a4
2013-08-20  Paolo Carlini  <paolo.carlini@oracle.com>

	* Fix ChangeLog.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201875 138bc75d-0d04-0410-961f-82ee72b054a4
	* target.def (narrow_volatile_bitfield): Note that the default
	value is false, not !TARGET_STRICT_ALIGN.
	* doc/tm.texi: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201878 138bc75d-0d04-0410-961f-82ee72b054a4
2013-08-20  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>

	* config/arm/linux-elf.h (MULTILIB_DEFAULTS): Remove definition.
	* config/arm/t-linux-eabi (MULTILIB_OPTIONS): Document association
	with MULTLIB_DEFAULTS.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201879 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58119
	* cvt.c (build_expr_type_conversion): Don't complain about a
	template that can't match the desired type category.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201880 138bc75d-0d04-0410-961f-82ee72b054a4
2013-08-20  Teresa Johnson  <tejohnson@google.com>

	PR rtl-optimizations/57451
	* final.c (reemit_insn_block_notes): Prevent lexical blocks
	from crossing split section boundaries.

	* testsuite/g++.dg/tree-prof/pr57451.C: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201883 138bc75d-0d04-0410-961f-82ee72b054a4
2013-08-20  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/53655
	* trans-decl.c (generate_local_decl): Check if type has any components.

2013-08-20  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/53655
	* gfortran.dg/intent_out_8.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201884 138bc75d-0d04-0410-961f-82ee72b054a4
       * dce.c (fini_dce): Call df_analyze again just in case
       delete_unmarked_insns removed anything.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201886 138bc75d-0d04-0410-961f-82ee72b054a4
Revert my last two changes, r201865 and r201864

2013-08-20  David Malcolm  <dmalcolm@redhat.com>

	Revert my last two changes, r201865 and r201864:

	Revert r201865:
	2013-08-20  David Malcolm  <dmalcolm@redhat.com>

	Make opt_pass and gcc::pass_manager be GC-managed, so that pass
	instances can own GC refs.

	* Makefile.in (GTFILES): Add pass_manager.h and tree-pass.h.
	* context.c (gcc::context::gt_ggc_mx): Traverse passes_.
	(gcc::context::gt_pch_nx): Likewise.
	(gcc::context::gt_pch_nx):  Likewise.
	* ggc.h (gt_ggc_mx <T>): New.
	(gt_pch_nx_with_op <T>): New.
	(gt_pch_nx <T>): New.
	* passes.c (opt_pass::gt_ggc_mx): New.
	(opt_pass::gt_pch_nx): New.
	(opt_pass::gt_pch_nx_with_op): New.
	(pass_manager::gt_ggc_mx): New.
	(pass_manager::gt_pch_nx): New.
	(pass_manager::gt_pch_nx_with_op): New.
	(pass_manager::operator new): Use
	ggc_internal_cleared_alloc_stat rather than xcalloc.
	* pass_manager.h (class pass_manager): Add GTY((user)) marking.
	(pass_manager::gt_ggc_mx): New.
	(pass_manager::gt_pch_nx): New.
	(pass_manager::gt_pch_nx_with_op): New.
	* tree-pass.h (class opt_pass): Add GTY((user)) marking.
	(opt_pass::operator new): New.
	(opt_pass::gt_ggc_mx): New.
	(opt_pass::gt_pch_nx): New.
	(opt_pass::gt_pch_nx_with_op): New.

	Revert r201864:
	2013-08-20  David Malcolm  <dmalcolm@redhat.com>

	* Makefile.in (GTFILES): Add context.h.
	* context.c (gcc::context::operator new): New.
	(gcc::context::gt_ggc_mx): New.
	(gcc::context::gt_pch_nx): New.
	(gcc::context::gt_pch_nx): New.
	* context.h (gcc::context): Add GTY((user)) marking.
	(gcc::context::operator new): New.
	(gcc::context::gt_ggc_mx): New.
	(gcc::context::gt_pch_nx): New.
	(gcc::context::gt_pch_nx): New.
	(g): Add GTY marking.
	(gt_ggc_mx (gcc::context *)): New.
	(gt_pch_nx (gcc::context *)): New.
	(gt_pch_nx (gcc::context *ctxt, gt_pointer_operator op,
	void *cookie)): New.
	* gengtype.c (open_base_files) <ifiles>: Add context.h.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201887 138bc75d-0d04-0410-961f-82ee72b054a4
2013-08-20  Phil Muldoon  <pmuldoon@redhat.com>

	PR libstdc++/53477
	http://sourceware.org/bugzilla/show_bug.cgi?id=15195

	* python/libstdcxx/v6/printers.py (Printer.__call__): If a value
	is a reference, fetch referenced value.
	(RxPrinter.invoke): Ditto.
	* testsuite/libstdc++-prettyprinters/cxx11.cc (main): Add -O0
	flag. Add referenced value tests.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201888 138bc75d-0d04-0410-961f-82ee72b054a4
	* MAINTAINERS: Add myself as RTL optimizers reviewer.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201889 138bc75d-0d04-0410-961f-82ee72b054a4
Fix logging to not use /tmp or the current directory; get
the location for writing log files from an environment
variable; use secure getenv whenever possible.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201890 138bc75d-0d04-0410-961f-82ee72b054a4

	PR bootstrap/58186
	* cgraph.c (cgraph_add_edge_to_call_site_hash): Overwrite hash
	entry for direct edges.
	(cgraph_turn_edge_to_speculative): Fix setting of can_throw_external.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201891 138bc75d-0d04-0410-961f-82ee72b054a4