* lto-opts.c (lto_write_options): Handle -fmath-errno, -fsigned-zeros
	and -ftrapping-math.
	* lto-wrapper.c (merge_and_complain): Likewise.
	(run_gcc): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215966 138bc75d-0d04-0410-961f-82ee72b054a4
	* g++.dg/lto/pr63270.h: New test.
	* g++.dg/lto/pr63270_0.C (int main): Implementation replaced with
	include.
	* g++.dg/lto/pr63270_2.C: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215967 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraph.h (cgraph_node::get_fun): Declare.
	* cgraph.c (cgraph_node::get_fun): New method.
	* ipa-inline.c (can_inline_edge_p): Use it.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215968 138bc75d-0d04-0410-961f-82ee72b054a4
	* jvgenmain.c (main): Provide declarations for JvRunMain{,Name}.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215969 138bc75d-0d04-0410-961f-82ee72b054a4
Use long long instead of long in adx intrinsics.

2014-10-02  Ilya Tocar  <ilya.tocar@intel.com>

         * config/i386/adxintrin.h (_subborrow_u64): Use long long for param
         type.
         (_addcarry_u64): Ditto.
         (_addcarryx_u64): Ditto.



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

2014-10-06  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR fortran/44054
	PR fortran/54687
	* gfortran.h (gfc_warning_cmdline): Add overload that takes an
	option.
	(gfc_error_cmdline): Declare.
	* error.c (gfc_warning_cmdline): New overload that takes an option.
	(gfc_error_cmdline): New.
	* lang.opt (Wmissing-include-dirs): New.
	* scanner.c (add_path_to_list): Use the new functions.
	(load_file): Likewise.
	* options.c (gfc_init_options): Wmissing-include-dirs is enabled
	by default in Fortran.
	(gfc_handle_option): Accept automatically handled options.




git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215974 138bc75d-0d04-0410-961f-82ee72b054a4
Update the ChangeLog for r215962 and r215963.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215976 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/guality/pr41616-1.c: Use -fgnu89-inline.
	* gcc.dg/iftrap-1.c: Fix implicit declarations.
	* gcc.target/powerpc/pr26350.c: Likewise.
	* gcc.target/powerpc/altivec-consts.c: Likewise.
	* gcc.target/powerpc/altivec-varargs-1.c: Likewise.
	* gcc.target/powerpc/le-altivec-consts.c: Likewise.
	* gcc.target/powerpc/ppc-vector-memcpy.c: Likewise.
	* gcc.target/powerpc/ppc-vector-memset.c: Likewise.
	* gcc.target/powerpc/pr47862.c: Likewise.
	* gcc.target/powerpc/pr48053-1.c: Likewise.
	* gcc.target/powerpc/pr53487.c: Likewise.
	* gcc.dg/vect/pr48765.c: Fix implicit declarations and defaulting
	to int.
	* gcc.target/powerpc/20050603-1.c: Fix defaulting to int.
	* gcc.target/powerpc/altivec-2.c: Likewise.
	* gcc.target/powerpc/pr47755-2.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215978 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/59717
	* c-decl.c (header_for_builtin_fn): New function.
	(implicitly_declare): Suggest which header to include.

	* gcc.dg/pr59717.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215979 138bc75d-0d04-0410-961f-82ee72b054a4
	* dwarf2out.c: Remove current_function_has_inlines.
	(gen_subprogram_die): Same.
	(gen_inlined_subroutine_die): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215980 138bc75d-0d04-0410-961f-82ee72b054a4
	* lib/target-supports.exp (check_effective_target_fd_truncate):
	Include <string.h>.


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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215982 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-07  Iain Sandoe  <iain@codesourcery.com>

	    PR target/61387
	    * config/i386/i386.c (x86_output_mi_thunk): Fix darwin fallout.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215983 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-07  François Dumont  <fdumont@gcc.gnu.org>

	* testsuite/util/testsuite_counter_type.h
	(counter_type::operator<(const counter_type&)): Update
	less_compare_count.
	* testsuite/25_algorithms/make_heap/complexity.cc: New.
	* testsuite/25_algorithms/pop_heap/complexity.cc: New.
	* testsuite/25_algorithms/push_heap/complexity.cc: New.
	* testsuite/25_algorithms/sort_heap/complexity.cc: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215985 138bc75d-0d04-0410-961f-82ee72b054a4
2014-10-8  Felix Yang  <felix.yang@huawei.com>

	* MAINTAINERS (Write After Approval): Add myself.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215986 138bc75d-0d04-0410-961f-82ee72b054a4
[Patch, microblaze]: Add optimized lshrsi3

When barrel shifter is not present, the immediate value
is greater than #5 and optimization is -OS, the
compiler will generate shift operation using loop.

Changelog

2013-11-26  David Holsgrove <david.holsgrove@xilinx.com>

 * gcc/config/microblaze/microblaze.md: Add size optimized lshrsi3 insn

ChangeLog/testsuite

2014-02-12  David Holsgrove <david.holsgrove@xilinx.com>

 * gcc/testsuite/gcc.target/microblaze/others/lshrsi_Os_1.c: New test.

Signed-off-by:Nagaraju <nmekala@xilix.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
[Patch, microblaze]: Add INIT_PRIORITY support

Added TARGET_ASM_CONSTRUCTOR and TARGET_ASM_DESTRUCTOR macros.

These macros allows users to control the order of initialization
of objects defined at namespace scope with the init_priority
attribute by specifying a relative priority, a constant integral
expression currently bounded between 101 and 65535 inclusive.

Lower numbers indicate a higher priority.

Changelog

2013-11-26  Nagaraju Mekala <nagaraju.mekala@xilinx.com>

 * gcc/config/microblaze/microblaze.c: Add microblaze_asm_constructor,
   microblaze_asm_destructor. Define TARGET_ASM_CONSTRUCTOR and
   TARGET_ASM_DESTRUCTOR.

Signed-off-by:nagaraju <nmekala@xilix.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
[Patch, microblaze]: Add supervisory call support

A function can be executed in supervisory mode when a function
is declared with svc_handler attribute.

If a function with svc_handler is called, the processor switches
to supervisory mode and executes. After executing the function
it returns to normal mode.

Same feature can also be invoked with svc_table_handler attribute
but this attribute will accept a service ID, to be used for
calling the function.

Signed-off-by:nagaraju <nmekala@xilix.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
[Patch, microblaze]: Increase max alignment to please the testsuite

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
[Patch, microblaze]: Disable fivopts by default

Turn off ivopts by default. Interferes with cse.

Changelog

2013-03-18  Edgar E. Iglesias <edgar.iglesias@xilinx.com>

 * gcc/common/config/microblaze/microblaze-common.c
   (microblaze_option_optimization_table): Disable fivopts by default.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>