2012-05-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53255
        * resolve.c (resolve_typebound_static): Fix handling
        of overridden specific to generic operator.

2012-05-07  Tobias Burnus  <burnus@net-b.de>

        PR fortran/53255
        * gfortran.dg/typebound_operator_15.f90: New.



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

	* tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Return
	whether we failed to compute data dependences.
	(loop_prefetch_arrays): Fail if we failed.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187227 138bc75d-0d04-0410-961f-82ee72b054a4
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