2014-05-17  Jerry DeLisle  <jvdelisle@gcc.gnu>

	PR libfortran/52539
	* io/io.h (gfc_unit): New function pointers *next_char_fn_ptr
	and *push_char_fn_ptr.
	*io/list_read.c (next_char): Create macro with this name to call
	the new function pointer. Split the original next_char function
	into three new functions. (next_char_default, next_char_internal,
	next_char_utf8): New functions. (push_char): Create macro with
	this name to call new function pointer. Split the original
	push_char into three new functions. (push_char_default,
	push_char_internal, push_char4): New functions. (set_workers):
	New function to initilize the function pointers depending on the
	type of IO to be performed. (list_formatted_read_scalar): Use
	set_workers function. (finish_list_read): Likewise.
	(namelist_read): Likewise.
	(nml_get_obj_data): Use push_char_default.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210574 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-17  Jerry DeLisle  <jvdelisle@gcc.gnu>

	PR libfortran/52539
	* gfortran.dg/namelist_utf8.f90: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210575 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/extend.texi (Size of an asm): Really move node to its position.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210577 138bc75d-0d04-0410-961f-82ee72b054a4
	* ChangeLog: Fix.
	* testsuite/ChangeLog: Ditto.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210578 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc.target/ia64/visibility-1.c (variable_l): Add used attribute.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210579 138bc75d-0d04-0410-961f-82ee72b054a4
	* libgomp.texi (Runitme Library Routines): Remove multiple @menu.
	(Environment Variables) Move OMP_PROC_BIND and OMP_STACKSIZE node
	texts according to their @menu entry positions.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210580 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Do not
	consider that regular packed arrays can never be superflat.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210583 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/decl.c (gnat_to_gnu_entity): Use Underlying_Type in
	lieu of more verbose construct.
	* gcc-interface/trans.c (Call_to_gnu): Likewise.
	(gnat_to_gnu): Likewise.  Remove obsolete code.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210585 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol):
	New functions.
	(FOR_EACH_DEFINED_SYMBOL): New macro.
	(varpool_first_static_initializer, varpool_next_static_initializer,
	varpool_first_defined_variable, varpool_next_defined_variable): Fix comments.
	(symtab_in_same_comdat_p): Correctly deal with inline functions.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210586 138bc75d-0d04-0410-961f-82ee72b054a4
	* fe.h (Set_Present_Expr): Move around.
	(End_Location): New macro.
	* gcc-interface/trans.c (Case_Statement_to_gnu): Use End_Location.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210587 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/decl.c (change_qualified_type): New static function.
	(gnat_to_gnu_entity): Use it throughout to add qualifiers on types.
	<E_Array_Type>: Set TYPE_VOLATILE on the array type directly.
	<E_Array_Subtype>: Likewise.
	Do not set flags on an UNCONSTRAINED_ARRAY_TYPE directly.
	(gnat_to_gnu_component_type): Likewise.
	(gnat_to_gnu_param): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210588 138bc75d-0d04-0410-961f-82ee72b054a4
	* utils.c (gnat_write_global_declarations): Adjust the flags put on
	dummy_global.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210589 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/trans.c (Subprogram_Body_to_gnu): Rework comment and
	set function_start_locus.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210591 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa.c (update_visibility_by_resolution_info): New function.
	(function_and_variable_visibility): Use it.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210596 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-pass.h (make_pass_ipa_comdats): New pass.
	* timevar.def (TV_IPA_COMDATS): New timevar.
	* passes.def (pass_ipa_comdats): Add.
	* Makefile.in (OBJS): Add ipa-comdats.o
	* ipa-comdats.c: New file.

	* g++.dg/ipa/comdat.C: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210597 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa.c (symtab_remove_unreachable_nodes): Remove
	symbol from comdat group if its body was eliminated.
	(comdat_can_be_unshared_p_1): Static symbols can always
	be privatized.
	* symtab.c (symtab_remove_from_same_comdat_group): Break out
	from ...
	(symtab_unregister_node): ... this one.
	(verify_symtab_base): More strict checking of comdats.
	* cgraph.h (symtab_remove_from_same_comdat_group): Declare.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210598 138bc75d-0d04-0410-961f-82ee72b054a4
Add new test case

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210599 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-18  Wei Mi  <wmi@google.com>

        PR target/58066
        * gcc.target/i386/pr58066.c: Replace pattern matching of .cfi
        directive with rtl insns. Add effective-target of fpic and
        tls_native.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210601 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* tree.h: Remove extraneous template <>.


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