DR 1030
	PR c++/51253
	* cp-tree.h (CALL_EXPR_LIST_INIT_P): New.
	* call.c (struct z_candidate): Add flags field.
	(add_candidate): Add flags parm.
	(add_function_candidate, add_conv_candidate, build_builtin_candidate)
	(add_template_candidate_real): Pass it.
	(build_over_call): Set CALL_EXPR_LIST_INIT_P.
	* tree.c (build_aggr_init_expr): Copy it.
	* semantics.c (simplify_aggr_init_expr): Preevaluate args if it's set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209309 138bc75d-0d04-0410-961f-82ee72b054a4
/cp
2014-04-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58600
	* name-lookup.c (parse_using_directive): Return early if the
	attribs argument is error_mark_node; use get_attribute_name.

/testsuite
2014-04-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/58600
	* g++.dg/cpp0x/gen-attrs-58.C: New.
	* g++.dg/cpp0x/gen-attrs-59.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209310 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/60811
        * config/arc/arc.c (arc_save_restore): Fix assert typo.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209311 138bc75d-0d04-0410-961f-82ee72b054a4
gcc:
        PR rtl-optimization/60651
        * mode-switching.c (optimize_mode_switching): Make sure to emit
        sets of a lower numbered entity before sets of a higher numbered
        entity to a mode of the same or lower priority.
        When creating a seginfo for a basic block that starts with a code
        label, move the insertion point past the code label.
        (new_seginfo): Document and enforce requirement that
        NOTE_INSN_BASIC_BLOCK only appears for empty blocks.
        * doc/tm.texi.in: Document ordering constraint for emitted mode sets.
        * doc/tm.texi: Regenerate.
gcc/testsuite:
        PR rtl-optimization/60651
        * gcc.target/epiphany/mode-switch.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209312 138bc75d-0d04-0410-961f-82ee72b054a4
	DR 1338
	* decl.c (cxx_init_decl_processing): Set DECL_IS_MALLOC on
	built-in operator new.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209313 138bc75d-0d04-0410-961f-82ee72b054a4
	DR 1467
	PR c++/51747
	* decl.c (reshape_init_r): Handle a single element of class type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209314 138bc75d-0d04-0410-961f-82ee72b054a4
	* parser.h (struct cp_token): Rename ambiguous_p to error_reported.
	* parser.c: Adjust.
	(cp_lexer_get_preprocessor_token): Always clear it.
	(cp_parser_lambda_expression): Use it to avoid duplicate diagnostics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209315 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57926
	* c-common.c (sync_resolve_size, get_atomic_generic_size): Call
	default_conversion for an array argument.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209316 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite:
        PR rtl-optimization/60651
        * gcc.target/epiphany/mode-switch.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209318 138bc75d-0d04-0410-961f-82ee72b054a4
    gcc:
            * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare
            with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for
            its operands.
    gcc/testsuite:
            * gcc.target/epiphany/btst-1.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209319 138bc75d-0d04-0410-961f-82ee72b054a4
gcc:
        * common/config/epiphany/epiphany-common.c
        (epiphany_option_optimization_table): Enable section anchors by
        default at -O1 or higher.
        * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define.
        (TARGET_MIN_ANCHOR_OFFSET): Likewise.
        (epiphany_rtx_costs) <SET>: For binary operators, the set as such
        carries no extra cost.
        (epiphany_legitimate_address_p): For BLKmode, apply SImode check.
        * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define.
        * config/epiphany/predicates.md (memclob_operand): New predicate.
        * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str):
        Use memclob_operand predicate and X constraint for operand 3.
gcc/testsuite:
        * gcc.target/epiphany/t1068-2.c: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209320 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-11  Marc Glisse  <marc.glisse@inria.fr>

	* include/std/complex (__complex_exp, pow): Specify the template
	parameter in calls to std::polar, for expression templates.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209321 138bc75d-0d04-0410-961f-82ee72b054a4
	* lto.c: Include ipa-inline.h
	(do_whole_program_analysis): Free inline summary after partitioning.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209322 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-11  Marc Glisse  <marc.glisse@inria.fr>

	PR libstdc++/59434
	* include/bits/stl_iterator.h (move_iterator::reference,
	move_iterator::operator*): Implement LWG 2106.
	* testsuite/24_iterators/move_iterator/dr2106.cc: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209323 138bc75d-0d04-0410-961f-82ee72b054a4
Fix for PR other/60644.
+2014-04-11  Barry Tannenbaum  <barry.m.tannenbaum@intel.com>
+
+       PR other/60644
+       * runtime/os-unix.c: Replaced all occurrances of ANDROID with
+       __ANDROID__.
+       * runtime/bug.h: Likewise.
+       * include/cilk/metaprogramming.h: Likewise.
+       * include/cilk/reducer_min_max.h: Likewise.
+



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209324 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        PR fortran/60495
        * resolve.c (gfc_resolve_finalizers): Ensure that vtables
        and finalization wrappers are generated.

2014-04-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/58880
        PR fortran/60495
        * gfortran.dg/finalize_25.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209327 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-11  Tobias Burnus  <burnus@net-b.de>

        PR c/60194
gcc/
        * doc/invoke.texi (-Wformat-signedness): Document it.
        (Wformat=2): Mention that this enables -Wformat-signedness.

gcc/c-family/
        * c.opt (Wformat-signedness): Add
        * c-format.c(check_format_types): Use it.

gcc/testsuite/
        * * g++.dg/warn/warn_format_signedness.C: New.
        * gcc.dg/format/warn-signedness.c: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209328 138bc75d-0d04-0410-961f-82ee72b054a4
Merge remote-tracking branch 'gnu/master' into 4.10.0