* target-globals.c (save_target_globals): Allocate < 4KB structs using
	GC in payload of target_globals struct instead of allocating them on
	the heap and the larger structs separately using GC.
	* target-globals.h (struct target_globals): Make regs, hard_regs,
	reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
	of GTY((skip)) and change type to void *.
	(reset_target_globals): Cast loads from those fields to corresponding
	types.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206539 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/59745
	* tree-predcom.c (tree_predictive_commoning_loop): Call
	free_affine_expand_cache if giving up because components is NULL.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206540 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206541 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/59754
	* ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
	modes in the REGNO != REGNO case.


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

	PR ipa/58585
	* ipa-devirt.c (build_type_inheritance_graph): Also add types of vtables
	into the type inheritance graph.

	* g++.dg/torture/pr58585.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206543 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/59743
	* ree.c (combine_reaching_defs): Ensure the defining statement
	occurs before the extension when optimizing extensions with
	different source and destination hard registers.

	PR middle-end/59743
	* gcc.c-torture/compile/pr59743.c: New test.

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

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

	* tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
	Start narrowing with START.  Apply candidate-use pair
	and check overall cost in narrowing.
	(iv_ca_prune): Pass new argument.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206552 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-11  Jerry DeLisle  <jvdelisle@gcc.gnu>
	    Dominique d'Humieres  <dominiq@lps.ens.fr>
	    Steven G. Kargl  <kargl@gcc.gnu.org>

	PR libfortran/59700
	PR libfortran/59764
	* io/io.h (struct st_parameter_dt): Assign expanded_read flag to
	unused bit. Define new variable line_buffer_pos.
	* io/list_read.c (free_saved, next_char, l_push_char,
	read_logical, read_real): Replace use of item_count with
	line_buffer_pos for line_buffer look ahead.
	(read_logical, read_integer, parse_real, read_real, check_type):
	Adjust location of free_line to after generating error messages
	to retain the correct item count for the message.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206553 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/58115
        * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
        * config/rs6000/rs6000.c: Include target-globals.h.
        (rs6000_set_current_function): Instead of doing target_reinit
        unconditionally, use save_target_globals_default_opts and
        restore_target_globals.

        * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
        FPSCR.
        * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
        (rs6000_expand_builtin): Handle mffs and mtfsf.
        (rs6000_init_builtins): Define mffs and mtfsf.
        * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New.
        (rs6000_mffs): New pattern.
        (rs6000_mtfsf): New pattern.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206554 138bc75d-0d04-0410-961f-82ee72b054a4
        * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
        target parameter.
        (rs6000_expand_builtin): Adjust call.


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

	* gfortran.dg/binding_label_tests_10_main.f03: Cleanup mod file.
	* gfortran.dg/use_only_3.f90: Likewise.
	* gfortran.dg/inquire_10.f90: Delete opened file.
	* gfortran.dg/inquire_15.f90: Likewise.
	* gfortran.dg/pr16597.f90: Likewise.
	* gfortran.dg/open_negative_unit_1.f90: Likewise + test
	for PR59419.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206557 138bc75d-0d04-0410-961f-82ee72b054a4
	Missed file for previous commit.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206558 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-11  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/59700
	* gfortran.dg/pr59700.f90: New test.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206563 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-12  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/58026
	* decl.c (gfc_match_data_decl): Improve error recovery.


2014-01-12  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/58026
	* gfortran.dg/alloc_comp_basics_6.f90: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206564 138bc75d-0d04-0410-961f-82ee72b054a4
	PR ada/59772
	* gcc-interface/cuintp.c (build_cst_from_int): Use 32-bit integer type
	as intermediate type.
	(UI_To_gnu): Likewise.


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