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

	* class.c (find_abi_tags_r): Check for the return of warning
	before emitting a note.
	(one_inherited_ctor): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209118 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM/AArch64] Reduce divider reservation duration in Cortex-A53 pipeline decription

	PR bootstrap/60743
	* config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation
	duration.
	(cortex_a53_fdivd): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209119 138bc75d-0d04-0410-961f-82ee72b054a4
Fix PR debug/60655 - part 1



This is a partial fix for PR60655 where dwarf2out.c rejects NOT of a
value in const_ok_for_output_1. There is still a problem with the
testcase on armhf where we get operations of the form, const (minus
(const_int) (symref)) without the -fdata-sections option which is just
weird. I'm not yet sure where this is produced from and will not have
the time to dig further today.


As Jakub said on IRC, const_ok_for_output_1 is called only with
partial rtx's and therefore disabling minus (const_int) (symref) might
not be the best thing to do especially if this were part of plus
(symref) (minus (const int) (symref)) and both symrefs were in the
same section.


Bootstrapped and regtested on armhf

Bootstrap and regression test running on x86_64.

Ok to commit ?

regards
Ramana

gcc/

<DATE>   Jakub Jelinek <jakub@redhat.com>
         Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* dwarf2out.c (const_ok_for_output_1): Reject expressions
	containing a NOT.

gcc/testsuite

<DATE>  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* gcc.c-torture/compile/pr60655-1.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209121 138bc75d-0d04-0410-961f-82ee72b054a4
	PR ipa/59626
	* lto-cgraph.c (input_overwrite_node): Check that partitioning
	flags are set only during streaming.
	* ipa.c (process_references, walk_polymorphic_call_targets,
	symtab_remove_unreachable_nodes): Drop bodies of always inline
	after early inlining.
	(symtab_remove_unreachable_nodes): Remove always_inline attribute.
	* gcc.dg/lto/pr59626_0.c: New testcase.
	* gcc.dg/lto/pr59626_1.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209123 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/21113
	* decl.c (decl_jump_unsafe): Consider variably-modified decls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209124 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/44613
	* semantics.c (add_stmt): Set STATEMENT_LIST_HAS_LABEL.
	* decl.c (cp_finish_decl): Create a new BIND_EXPR before
	instantiating a variable-sized type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209125 138bc75d-0d04-0410-961f-82ee72b054a4
Fix typo in recent patch.


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

	PR c++/58207
	* semantics.c (sort_constexpr_mem_initializers): Robustify loop.

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

	PR c++/58207
	* g++.dg/cpp0x/constexpr-ice15.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209128 138bc75d-0d04-0410-961f-82ee72b054a4
	PR bootstrap/60620
	* Makefile.def (dependencies): Make gnattools depend on libstdc++-v3. 
	* Makefile.in: Regenerate.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209129 138bc75d-0d04-0410-961f-82ee72b054a4
	* explow.c (probe_stack_range): Emit a final optimization blockage.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209130 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-04  Fabien Chêne  <fabien@gcc.gnu.org>

	* decl.c (duplicate_decls): Check for the return of warning_at
	before emitting a note.
	(warn_misplaced_attr_for_class_type): Likewise.
	(check_tag_decl): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209131 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.dg/builtin-bswap-6.c: Adjust return value to disable GCC
	optimization.
	* gcc.dg/builtin-bswap-7.c: Likewise.



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

        * check.c (gfc_check_cmplx): Fix typo.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209133 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/60155
	* gcse.c (record_set_data): New function.
	(single_set_gcse): New function.
	(gcse_emit_move_after): Use single_set_gcse instead of single_set.
	(hoist_code): Likewise.
	(get_pressure_class_and_nregs): Likewise.



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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209137 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * tree-vect-stmts.c (supportable_widening_operation):
      Fix a bug that elements in a vector with vect_used_by_reduction
      property are incorrectly reordered when the operation on it is not
      consistant with the one in reduction operation.

2014-04-04  Cong Hou  <congh@google.com>

    PR tree-optimization/60656
    * gcc.dg/vect/pr60656.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209138 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have device
	specific ISA/ feature information. Remove short_sp and errata_skip ds.
	Add avr_device_specific_features enum to have device specific info.
	* config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check
	errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available.
	* config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for
	updated device specific info.
	* config/avr/avr-mcus.def: Merge device specific details to
	dev_attribute field.
	* config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check
	errata_skip.
	* config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info.
	* config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to
	assembler if RMW isa supported by current device.
	* config/avr/genmultilib.awk: Update as device info structure changed.
	* doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro

	* gcc.target/avr/dev-specific-rmw.c: New test.
	


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209141 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-05  Dominique d'Humieres <dominiq@lps.ens.fr>

	* gfortran.dg/warn_conversion_4.f90: Adjust test.



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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209160 138bc75d-0d04-0410-961f-82ee72b054a4
	PR debug/55794
	* config/pa/pa.c (pa_output_function_epilogue): Skip address and code
	size accounting for thunks.
	(pa_asm_output_mi_thunk): Use final_start_function() and
	final_end_function() to output function start and end directives.



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