Don't use DWARF 4 on Solaris

	* config/sol2.c (solaris_override_options): New function.
	* config/sol2-protos.h (solaris_override_options): Declare.
	* config/sol2.h (SUBTARGET_OVERRIDE_OPTIONS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187230 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-07  Richard Guenther  <rguenther@suse.de>

	PR lto/42987
	* g++.dg/lto/pr42987_0.C: New testcase.
	* g++.dg/lto/pr42987_1.C: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187231 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/m68k/m68k.c (m68k_sched_branch_type): Remove.
	(sched_branch_type): Remove.
	(m68k_sched_md_init_global): Don't allocate it.
	(m68k_sched_md_finish_global): Don't free it.
	* config/m68k/m68k.h (m68k_sched_branch_type): Remove prototype.
	* config/m68k/m68k.md: Set the type of insns using m68k_sched_branch_type
	to bcc directly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187234 138bc75d-0d04-0410-961f-82ee72b054a4
2012-05-07  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/53195
	* tree-inline.c (setup_one_parameter): Properly add referenced
	vars from the parameters new known value.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187235 138bc75d-0d04-0410-961f-82ee72b054a4
Allow for / comments in g++.dg/debug/dwarf2/nested-3.C

	* g++.dg/debug/dwarf2/nested-3.C: Allow for / comments and missing
	.uleb128 support in assembler output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187236 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/53239
	* tree-vrp.c (get_value_range): Set VR of
	SSA_NAME_IS_DEFAULT_DEF of DECL_BY_REFERENCE RESULT_DECL
	to nonnull.

	* g++.dg/opt/vrp3.C: New test.
	* g++.dg/opt/vrp3-aux.cc: New file.
	* g++.dg/opt/vrp3.h: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187240 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-cfg.c (verify_gimple_switch): Tighten checks.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187242 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/i386/i386.md (ctz<mode>2): Emit rep;bsf
	only for TARGET_GENERIC, when not optimizing for size.
	(*ffs<mode>_1): Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187247 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/53245
	* gimplify.c (preprocess_case_label_vec_for_gimple): If low or high
	is folded to a type boundary value, verify that the resulting case
	label is still a care range.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187248 138bc75d-0d04-0410-961f-82ee72b054a4
Bump minimum required MPFR version to 2.4.0.

2012-05-07  Janne Blomqvist  <jb@gcc.gnu.org>

	* configure.ac: Bump minimum MPFR version to 2.4.0.
	* configure: Regenerated.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187253 138bc75d-0d04-0410-961f-82ee72b054a4
	config/avr/avr.c: Adjust indentation.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187254 138bc75d-0d04-0410-961f-82ee72b054a4
        * config/alpha/alpha.md (clear_cache): New pattern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187255 138bc75d-0d04-0410-961f-82ee72b054a4
Don't include XCFLAGS in CFLAGS

	* configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
	* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187256 138bc75d-0d04-0410-961f-82ee72b054a4
Allow for objects in libatomic_la_LIBADD

	* Makefile.am (libatomic.map-sun): Handle objects in
	libatomic_la_LIBADD.
	* aclocal.m4: Regenerate.
	* Makefile.in: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187257 138bc75d-0d04-0410-961f-82ee72b054a4
	* postreload.c (reload_cse_regs): Make static.
	* reload.h (reload_cse_regs): Remove prototype.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187258 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/avr/avr.c (avr_prologue_setup_frame): Fix mode passed
	down to plus_constant.
	(expand_epilogue): Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187259 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: reject NOT operator on integer types.

The Go specification only accepts the NOT operator on boolean
types.

Fixes issue 10.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187262 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: fix ICE in handling of rune constants.

This patch corrects an ICE in handling on constant expressions
such as

const r = ^'a'

Part of issue 9.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187264 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: fix an ICE when parsing 0xdie, reject token 0x123i.

The lexer used to incorrectly accept a token like 0x123i
and interpreted it as 123i. It also used to die when encountering
0xdie.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187266 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset
	computation using the precision of the index type.
	* gimple-fold.c (fold_const_aggregate_ref_1) <ARRAY_REF>: Likewise.
	(fold_array_ctor_reference): Do index computations in the index type.


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