* sel-sched.c (sel_global_init): Swap order of sched_rgn_init and
	sched_init calls.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186324 138bc75d-0d04-0410-961f-82ee72b054a4
	* haifa-sched.c (prune_ready_list): Rework handling of SCHED_GROUP_P
	insns so that no other insn is queued for a time before them.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186325 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/c6x/c6x.md (load_got_gotoff): Set op_pattern attribute to
	unknown.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186326 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.c (SCHED_REORDER): Merge macro into ...
	(ready_reorder): ... this function.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186327 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.h: Remove old secondary reload code.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186328 138bc75d-0d04-0410-961f-82ee72b054a4
Fix java bootstrap on 32-bit targets

	* jcf-dump.c (print_constant): Cast JPOOL_USHORT2, JPOOL_USHORT1
	results to long to match formats.

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

	* include/bits/forward_list.h (splice_after(const_iterator,
	forward_list&), splice_after(const_iterator, forward_list&,
	consst_iterator), splice_after(const_iterator, forward_list&,
	const_iterator, const_iterator), merge(forward_list&),
	merge(forward_list&, _Comp)): Add per C++11 as published (and
	LWG 1310).
	* include/debug/forward_list: Adjust.

	* include/bits/forward_list.h (splice_after(const_iterator,
	forward_list&&, const_iterator)): Only declare.
	(_M_transfer_after): Remove.
	(_M_splice_after(const_iterator, forward_list&&)): Change signature.
	(splice_after(const_iterator, forward_list&&, const_iterator,
	const_iterator)): Use the latter.
	* include/bits/forward_list.tcc (splice_after(const_iterator,
	forward_list&&, const_iterator)): Define here.
	(_M_splice_after): Define, use throughout.

	* include/bits/forward_list.h (insert_after(const_iterator,
	std::initializer_list<_Tp>)): Forward to insert_after(const_iterator,
	_InputIterator, _InputIterator).
	* include/bits/forward_list.tcc: Remove definition.

	* testsuite/23_containers/forward_list/modifiers/6.cc: New.
	* testsuite/23_containers/forward_list/operations/1.cc: Adjust.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186338 138bc75d-0d04-0410-961f-82ee72b054a4
Check [SUB]SUBTARGET_OVERRIDE_OPTIONS after TARGET_64BIT

	* config/i386/i386.c (ix86_option_override_internal): Check
	SUBTARGET_OVERRIDE_OPTIONS and SUBSUBTARGET_OVERRIDE_OPTIONS
	after TARGET_64BIT is updated.


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

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

	* lto.c: Update copyright; remove params.h, ipa-inline.h
	and ipa-utils.h inlines; inline lto-partition.h
	(ltrans_partition_def, ltrans_partition, add_cgraph_node_to_partition,
	add_varpool_node_to_partition, new_partition, free_ltrans_partitions,
	add_references_to_partition, add_cgraph_node_to_partition_1,
	add_cgraph_node_to_partition, add_varpool_node_to_partition,
	undo_partition, partition_cgraph_node_p, partition_varpool_node_p,
	lto_1_to_1_map, node_cmp, varpool_node_cmp, lto_balanced_map,
	promote_var, promote_fn, lto_promote_cross_file_statics): move to...
	* lto-partition.c: ... here; new file.
	* lto-partition.h: New file.
	* Make-lang.in (lto.o): Update dependencies.
	(lto-partition.o): New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186343 138bc75d-0d04-0410-961f-82ee72b054a4
	* g++.dg/eh/dtor3.C: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186344 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/52906
	* decl.c (check_tag_decl): Don't complain about attributes if we
	don't even have a type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186345 138bc75d-0d04-0410-961f-82ee72b054a4
	* decl.c (grokdeclarator): Strip the injected-class-name typedef
	if we are building a declaration or compound type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186346 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/c99-const-expr-9.c (old_offsetof): Insert a cast to
	__UINTPTR_TYPE__.
	* gcc.c-torture/execute/pr15296.c (intptr_t): Likewise, with
	__INTPTR_TYPE__.
	* gcc.dg/pr14092-1.c (intptr_t): Likewise.
	* gcc.dg/tree-ssa/foldcast-1.c (ssize_t): Likewise.
	* gcc.dg/c90-const-expr-6.c (intptr_t): New typedef to replace ...
	(ptrdiff_t): ... this.  All uses changed.
	* gcc.dg/c99-const-expr-6.c (intptr_t, ptrdiff_t): Likewise.
	* gcc.dg/torture/pta-escape-1.c (foo): Change arg type to
	__INTPTR_TYPE__.
	(main): Cast argument to __INTPTR_TYPE__.
	* gcc.dg/20041106-1.c (main): Cast to __UINTPTR_TYPE__ rather than
	size_t.
	* gcc.dg/mallign.c (main): Likewise.
	* gcc.dg/pr38700.c (foo): Likewise.
	* gcc.dg/long-long-cst1.c (t): Likewise.
	* gcc.dg/c99-const-expr-10.c (p, q, f, h, h2): Likewise.
	* gcc.dg/array-10.c (c0, c1, c2, c3, c4, c5): Likewise.
	* gcc.dg/pointer-arith-10.c (foo): Likewise.
	* gcc.dg/pr25682.c (d, foo): Likewise.
	* gcc.dg/format/cast-1.c (f): Likewise.
	* gcc.dg/c90-const-expr-10.c
	* gcc.dg/pr41551.c (uintptr_t): New typedef, replacing...
	(size_t): ...this.  All uses changed.
	* gcc.c-torture/execute/pr22098-1.c (uintptr_t): Likewise.
	* gcc.c-torture/execute/pr22098-2.c (uintptr_t): Likewise.
	* gcc.c-torture/execute/pr22098-3.c (uintptr_t): Likewise.
	* gcc.dg/pr34856.c (uintptr_t): Likewise.
	* gcc.dg/sequence-pt-1.c: Likewise.
	* gcc.dg/c90-const-expr-9.c (uintptr_t): Likewise.
	* gcc.dg/max-1.c (intptr_t): Likewise, replacing ssize_t.
	* gcc.dg/pr39074.c (intptr_t): Define using __INTPTR_TYPE__.
	* gcc.dg/pr30744-1.c (my_intptr_t): New typedef.  Replace all uses
	of ptrdiff_t with it.
	* gcc.dg/inline-23.c (my_intptr_t): Likewise.
	* gcc.dg/pr37561.c (p): Use __INTPTR_TYPE__.
	* gcc.dg/vla-11.c (foo11b): Use __UINTPTR_TYPE__.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186347 138bc75d-0d04-0410-961f-82ee72b054a4
	* fold-const.c (fold_unary_loc): Use GET_MODE_PRECISION for
	comparisons against TYPE_PRECISION.
	* tree-ssa-forwprop.c (combine_conversions): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186350 138bc75d-0d04-0410-961f-82ee72b054a4
Check for incompatible pointer sign extension

gcc/

	PR rtl-optimization/52876
	* emit-rtl.c (set_reg_attrs_from_value): Handle arbitrary value.
	Don't call mark_reg_pointer for incompatible pointer sign
	extension.

	* reginfo.c (reg_scan_mark_refs): Call set_reg_attrs_from_value 
	directly.

gcc/testsuite

	PR rtl-optimization/52876
	* gcc.target/i386/pr52876.c: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186351 138bc75d-0d04-0410-961f-82ee72b054a4
Define TRY_EMPTY_VM_SPACE to 0x60000000 for x32

2012-04-11  H.J. Lu  <hongjiu.lu@intel.com>

	* config/host-linux.c (TRY_EMPTY_VM_SPACE): Defined to
	0x60000000 if __x86_64 is defined and __LP64__ isn't defined.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186352 138bc75d-0d04-0410-961f-82ee72b054a4
2012-04-11  Manuel López-Ibáñez  <manu@gcc.gnu.org>

testsuite/
	* lib/prune.exp (TEST_ALWAYS_FLAGS): If undefined, set to empty.
libgomp/
	* testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186353 138bc75d-0d04-0410-961f-82ee72b054a4
	* testsuite/performance/30_threads/future/polling.cc: Adjust.

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

2012-04-09  Fabien Chêne  <fabien@gcc.gnu.org>

	PR c++/52465
	* g++.dg/lookup/using52.C: New.

gcc/cp/ChangeLog

2012-04-09  Fabien Chêne  <fabien@gcc.gnu.org>

	PR c++/52465
	* parser.c (cp_parser_class_name): Call strip_using_decl and
	return the target decl.
	* name-lookup.c (strip_using_decl): Returns NULL_TREE if the decl
	to be stripped is NULL_TREE.
	(qualify_lookup): Call strip_using_decl and perform some checks on
	the target decl.


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