Mikael Morin [Fri, 4 Nov 2011 00:05:51 +0000 (00:05 +0000)]
trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Don't calculate offset twice in generated code.
* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Don't calculate
offset twice in generated code.
From-SVN: r180907
Mikael Morin [Fri, 4 Nov 2011 00:04:27 +0000 (00:04 +0000)]
trans-expr.c (gfc_conv_procedure_call): Handle temporaries for arguments to elemental calls.
* trans-expr.c (gfc_conv_procedure_call): Handle temporaries for
arguments to elemental calls.
* trans-stmt.c (replace_ss): New function.
(gfc_conv_elemental_dependencies): Remove temporary loop handling.
Create a new ss for the temporary and replace the original one with it.
Remove fake array references. Recalculate all offsets.
From-SVN: r180906
Mikael Morin [Fri, 4 Nov 2011 00:00:23 +0000 (00:00 +0000)]
trans-array.h (gfc_free_ss, [...]): New prototypes.
* trans-array.h (gfc_free_ss, gfc_set_delta): New prototypes.
* trans-array.c (gfc_free_ss): Remove forward declaration.
Make non-static.
(set_delta, gfc_set_delta): Remove forward declaration.
Make non-static and rename the former to the later. Update uses.
From-SVN: r180905
Mikael Morin [Thu, 3 Nov 2011 23:58:20 +0000 (23:58 +0000)]
trans.h (gfc_inline_intrinsic_function_p): Move prototype...
* trans.h (gfc_inline_intrinsic_function_p): Move prototype...
* gfortran.h (gfc_inline_intrinsic_function_p): ... here.
* dependency.c (gfc_check_argument_var_dependency): Check dependencies
of inline intrinsics' arguments.
From-SVN: r180904
Mikael Morin [Thu, 3 Nov 2011 23:56:20 +0000 (23:56 +0000)]
trans-array.c (gfc_trans_preloop_setup): New pointers to outer dimension's ss and loop.
* trans-array.c (gfc_trans_preloop_setup): New pointers to outer
dimension's ss and loop. Use them.
From-SVN: r180903
Mikael Morin [Thu, 3 Nov 2011 23:53:42 +0000 (23:53 +0000)]
trans-array.c (outermost_loop): New function.
* trans-array.c (outermost_loop): New function.
(gfc_trans_array_constructor, gfc_set_vector_loop_bounds,
gfc_add_loop_ss_code): Put generated code out of the outermost loop.
From-SVN: r180902
Mikael Morin [Thu, 3 Nov 2011 23:51:04 +0000 (23:51 +0000)]
trans-array.c (constant_array_constructor_loop_size): Handle multiple loops.
* trans-array.c (constant_array_constructor_loop_size):
Handle multiple loops.
From-SVN: r180901
Mikael Morin [Thu, 3 Nov 2011 23:48:29 +0000 (23:48 +0000)]
trans-array.c (get_rank, [...]): New functions.
* trans-array.c (get_rank, get_loop_upper_bound_for_array):
New functions.
(gfc_trans_array_constructor): Handle multiple loops.
From-SVN: r180900
Mikael Morin [Thu, 3 Nov 2011 23:45:19 +0000 (23:45 +0000)]
trans.h (struct gfc_loopinfo): New field parent.
* trans.h (struct gfc_loopinfo): New field parent.
* trans-array.c (gfc_cleanup_loop): Free nested loops.
(gfc_add_ss_to_loop): Set nested_loop's parent loop.
(gfc_trans_array_constructor): Update assertion.
(gfc_conv_loop_setup): Ditto.
From-SVN: r180899
Mikael Morin [Thu, 3 Nov 2011 23:41:28 +0000 (23:41 +0000)]
trans-array.c (gfc_add_loop_ss_code): Skip non-nestedmost ss.
* trans-array.c (gfc_add_loop_ss_code): Skip non-nestedmost ss.
Call recursively gfc_add_loop_ss_code for all the nested loops.
(gfc_conv_ss_startstride): Only get the descriptor for the outermost
ss. Call recursively gfc_conv_ss_startstride for all the nested loops.
(set_loop_bounds): Call recursively for all the nested loops.
(set_delta): Ditto.
From-SVN: r180898
Mikael Morin [Thu, 3 Nov 2011 23:39:11 +0000 (23:39 +0000)]
trans.h (struct gfc_loopinfo): New fields nested and next.
* trans.h (struct gfc_loopinfo): New fields nested and next.
* trans-array.c (gfc_add_ss_to_loop): Update list of nested list if
ss has non-null nested_ss field.
From-SVN: r180897
Mikael Morin [Thu, 3 Nov 2011 23:37:24 +0000 (23:37 +0000)]
trans-array.c (gfc_trans_create_temp_array): Loop over the parents.
* trans-array.c (gfc_trans_create_temp_array): Loop over the parents.
From-SVN: r180895
Mikael Morin [Thu, 3 Nov 2011 23:34:53 +0000 (23:34 +0000)]
trans-array.c (get_array_ref_dim, [...]): Rename the former to the latter and loop over the parents.
* trans-array.c (get_array_ref_dim, get_scalarizer_dim_for_array_dim):
Rename the former to the latter and loop over the parents.
(innermost_ss): New function.
(get_array_ref_dim_for_loop_dim): New function.
(gfc_trans_create_temp_array): Use get_scalarizer_dim_for_array_dim.
(set_loop_bounds): Use get_array_dim_for_loop_dim).
From-SVN: r180894
Mikael Morin [Thu, 3 Nov 2011 23:31:32 +0000 (23:31 +0000)]
trans.h (struct gfc_ss): New field nested_ss.
* trans.h (struct gfc_ss): New field nested_ss.
* trans-expr.c (gfc_advance_se_ss_chain): Update assertion.
From-SVN: r180893
Mikael Morin [Thu, 3 Nov 2011 23:28:25 +0000 (23:28 +0000)]
trans-array.c (set_vector_loop_bounds): Loop over the parents.
* trans-array.c (set_vector_loop_bounds): Loop over the parents.
From-SVN: r180892
Mikael Morin [Thu, 3 Nov 2011 23:25:34 +0000 (23:25 +0000)]
trans-array.c (gfc_trans_array_constructor): Loop over the parents.
* trans-array.c (gfc_trans_array_constructor): Loop over the parents.
From-SVN: r180891
Mikael Morin [Thu, 3 Nov 2011 23:22:13 +0000 (23:22 +0000)]
trans-array.c (gfc_set_loop_bounds_from_array_spec): Loop over the parents.
* trans-array.c (gfc_set_loop_bounds_from_array_spec): Loop over the
parents.
From-SVN: r180890
Mikael Morin [Thu, 3 Nov 2011 23:17:08 +0000 (23:17 +0000)]
trans.h (struct gfc_ss): New field parent.
* trans.h (struct gfc_ss): New field parent.
* trans-array.c (gfc_trans_scalarizing_loops): Skip clearing if a
parent exists.
* trans-expr.c (gfc_advance_se_ss_chain): Move to parent ss at the
end of the chain.
From-SVN: r180889
Mikael Morin [Thu, 3 Nov 2011 23:06:22 +0000 (23:06 +0000)]
trans-array.h (gfc_trans_create_temp_array): Remove loop argument.
* trans-array.h (gfc_trans_create_temp_array): Remove loop argument.
* trans-array.c (gfc_trans_create_temp_array): Ditto. Get loop from ss.
Update reference to loop. Remove loop argument.
(gfc_trans_array_constructor, gfc_conv_loop_setup): Update calls to
gfc_trans_create_temp_array.
* trans-expr.c (gfc_conv_procedure_call): Ditto.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies): Ditto.
Set loop before calling gfc_trans_create_temp_array.
From-SVN: r180888
Mikael Morin [Thu, 3 Nov 2011 23:02:03 +0000 (23:02 +0000)]
trans-array.c (gfc_trans_create_temp_array): New variable total_dim.
* trans-array.c (gfc_trans_create_temp_array): New variable total_dim.
Set total_dim to loop's rank. Replace usages of loop's rank.
From-SVN: r180887
Mikael Morin [Thu, 3 Nov 2011 22:59:29 +0000 (22:59 +0000)]
trans-array.c (gfc_trans_array_constructor, [...]): Rename the former to the later.
* trans-array.c (gfc_trans_array_constructor, trans_array_constructor):
Rename the former to the later. Get loop from ss.
Remove loop argument.
(gfc_add_loop_ss_code): Update call.
From-SVN: r180886
Mikael Morin [Thu, 3 Nov 2011 22:56:12 +0000 (22:56 +0000)]
trans-array.c (gfc_set_vector_loop_bounds): Get loop from ss.
* trans-array.c (gfc_set_vector_loop_bounds): Get loop from ss.
Remove loop argument.
(gfc_add_loop_ss_code): Update call.
From-SVN: r180885
Mikael Morin [Thu, 3 Nov 2011 22:54:37 +0000 (22:54 +0000)]
trans.h (struct gfc_ss): New field loop.
* trans.h (struct gfc_ss): New field loop.
* trans-array.c (set_ss_loop): New function.
(gfc_add_ss_to_loop): Call set_ss_loop.
From-SVN: r180884
Mikael Morin [Thu, 3 Nov 2011 22:50:06 +0000 (22:50 +0000)]
trans.h (struct gfc_ss_info): New field refcount.
* trans.h (struct gfc_ss_info): New field refcount.
* trans-array.c (free_ss_info): Decrement refcount. Return early if
still non-zero.
(gfc_get_array_ss, gfc_get_temp_ss, gfc_get_scalar_ss): Increment
refcount.
From-SVN: r180883
Mikael Morin [Thu, 3 Nov 2011 22:45:41 +0000 (22:45 +0000)]
trans-array.c (gfc_trans_create_temp_array): Move invariant condition out of the containing loop.
* trans-array.c (gfc_trans_create_temp_array): Move invariant condition
out of the containing loop.
From-SVN: r180882
Mikael Morin [Thu, 3 Nov 2011 22:42:58 +0000 (22:42 +0000)]
trans-array.c (gfc_conv_loop_setup, [...]): Move specloop arrays clearing from the former to the latter.
* trans-array.c (gfc_conv_loop_setup, gfc_trans_create_temp_array):
Move specloop arrays clearing from the former to the latter.
From-SVN: r180881
Mikael Morin [Thu, 3 Nov 2011 22:40:55 +0000 (22:40 +0000)]
trans-array.c (set_loop_bounds): Separate the beginning of gfc_conv_loop_setup into a function of its own.
* trans-array.c (set_loop_bounds): Separate the beginning of
gfc_conv_loop_setup into a function of its own.
(set_delta): Separate the end of gfc_conv_loop_setup into a function
of its own.
(gfc_conv_loop_setup): Call set_loop_bounds and set delta.
(set_loop_bounds, set_delta, gfc_conv_loop_setup): Make loopspec a
pointer to the specloop field from the loop struct.
From-SVN: r180880
Tobias Burnus [Thu, 3 Nov 2011 22:36:11 +0000 (23:36 +0100)]
re PR fortran/50933 (Wrongly regards BIND(C) types as incompatible)
2011-11-03 Tobias Burnus <burnus@net-b.de>
PR fortran/50933
* interface.c (gfc_compare_derived_types): Fix check for
* BIND(C).
2011-11-03 Tobias Burnus <burnus@net-b.de>
PR fortran/50933
* gfortran.dg/bind_c_dts_5.f90: New.
From-SVN: r180879
Tobias Burnus [Thu, 3 Nov 2011 22:32:37 +0000 (23:32 +0100)]
re PR fortran/50960 ([OOP] vtables not marked as constant)
2011-11-03 Tobias Burnus <burnus@net-b.de>
PR fortran/50960
* trans-decl.c (gfc_finish_var_decl): Mark PARAMETER as
* TREE_READONLY.
2011-11-03 Tobias Burnus <burnus@net-b.de>
PR fortran/50960
* gfortran.dg/module_parameter_array_refs_2.f90: New.
From-SVN: r180878
Mikael Morin [Thu, 3 Nov 2011 22:29:25 +0000 (22:29 +0000)]
trans.h (struct gfc_ss, [...]): Move field gfc_ss::where into gfc_ss_info.
* trans.h (struct gfc_ss, struct gfc_ss_info): Move field
gfc_ss::where into gfc_ss_info.
* trans-array.c (gfc_add_loop_ss_code):
Update reference chains.
* trans-stmt.c (gfc_trans_where_assign, gfc_trans_where_3): Ditto.
From-SVN: r180877
Mikael Morin [Thu, 3 Nov 2011 22:24:37 +0000 (22:24 +0000)]
trans.h (struct gfc_ss, [...]): Move field gfc_ss::useflags into gfc_ss_info.
* trans.h (struct gfc_ss, struct gfc_ss_info): Move field
gfc_ss::useflags into gfc_ss_info.
* trans-array.c (gfc_mark_ss_chain_used, gfc_trans_preloop_setup,
gfc_trans_scalarizing_loops, gfc_trans_scalarized_boundary):
Update reference chains.
* trans-expr.c (gfc_conv_procedure_call): Ditto.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Ditto.
From-SVN: r180875
Benjamin Kosnik [Thu, 3 Nov 2011 22:23:35 +0000 (22:23 +0000)]
doxygroups.cc: Add markup for namespace tr2.
2011-11-03 Benjamin Kosnik <bkoz@redhat.com>
* doc/doxygen/doxygroups.cc: Add markup for namespace tr2.
* include/tr2/bool_set: Adjust doxygen markup.
* include/tr2/dynamic_bitset: Same.
* include/tr2/type_traits: Same.
From-SVN: r180874
Mikael Morin [Thu, 3 Nov 2011 22:21:36 +0000 (22:21 +0000)]
trans.h (struct gfc_ss, [...]): Move field gfc_ss::data::info into gfc_ss_info::data and remove empty union...
* trans.h (struct gfc_ss, struct gfc_ss_info): Move field
gfc_ss::data::info into gfc_ss_info::data and remove empty union
gfc_ss::data.
* trans-array.c (gfc_free_ss, gfc_trans_create_temp_array,
gfc_trans_constant_array_constructor, gfc_trans_array_constructor,
gfc_set_vector_loop_bounds, gfc_add_loop_ss_code,
gfc_conv_ss_descriptor, gfc_trans_array_bound_check,
gfc_conv_array_index_offset, gfc_conv_scalarized_array_ref,
add_array_offset, gfc_trans_preloop_setup,
gfc_trans_scalarized_boundary, gfc_conv_section_startstride,
gfc_conv_ss_startstride, gfc_could_be_alias,
gfc_conv_loop_setup, gfc_conv_expr_descriptor,
gfc_alloc_allocatable_for_assignment, gfc_walk_array_ref):
Update reference chains and factor them where possible.
* trans-expr.c (gfc_conv_variable, gfc_conv_subref_array_arg,
gfc_conv_procedure_call, gfc_trans_subarray_assign): Updata reference
chains.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ditto.
* trans-io.c (transfer_array_component): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies,
gfc_trans_pointer_assign_need_temp): Ditto.
From-SVN: r180873
Mikael Morin [Thu, 3 Nov 2011 22:16:29 +0000 (22:16 +0000)]
trans.h (struct gfc_ss, [...]): Move member struct gfc_ss::data::temp into gfc_ss_info::data.
* trans.h (struct gfc_ss, struct gfc_ss_info): Move member struct
gfc_ss::data::temp into gfc_ss_info::data.
* trans-array.c (gfc_get_temp_ss, gfc_conv_loop_setup): Update reference
chains.
From-SVN: r180872
Mikael Morin [Thu, 3 Nov 2011 22:10:25 +0000 (22:10 +0000)]
trans.h (struct gfc_ss, [...]): Move member struct gfc_ss::data::scalar into newly created union...
* trans.h (struct gfc_ss, struct gfc_ss_info): Move member struct
gfc_ss::data::scalar into newly created union gfc_ss_info::data,
and rename subfield expr to value.
* trans-array.c (gfc_add_loop_ss_code, gfc_conv_array_index_offset,
gfc_conv_expr_descriptor): Update reference chains.
* trans-const.c (gfc_conv_constant): Ditto.
* trans-expr.c (gfc_conv_expr): Ditto.
From-SVN: r180870
Mikael Morin [Thu, 3 Nov 2011 22:04:50 +0000 (22:04 +0000)]
trans.h (struct gfc_ss, [...]): Move field string_length from the former struct to the latter.
* trans.h (struct gfc_ss, struct gfc_ss_info): Move field
string_length from the former struct to the latter.
* trans-array.c
(gfc_get_temp_ss, gfc_trans_array_constructor, gfc_add_loop_ss_code,
gfc_conv_ss_descriptor, gfc_conv_scalarized_array_ref,
gfc_conv_resolve_dependencies, gfc_conv_loop_setup,
gfc_conv_expr_descriptor): Update references to string_length and
factor common reference chains where possible.
* trans-const.c (gfc_conv_constant): Ditto.
* trans-expr.c (gfc_conv_variable, gfc_conv_subref_array_arg,
gfc_conv_expr): Ditto.
From-SVN: r180869
Mikael Morin [Thu, 3 Nov 2011 22:01:46 +0000 (22:01 +0000)]
trans.h (struct gfc_ss, [...]): Move field expr from the former struct to the latter.
* trans.h (struct gfc_ss, struct gfc_ss_info): Move field expr from
the former struct to the latter.
* trans-array.c
(gfc_get_array_ss, gfc_get_scalar_ss,
gfc_trans_constant_array_constructor, gfc_trans_array_constructor,
gfc_add_loop_ss_code, gfc_conv_ss_descriptor,
gfc_trans_array_bound_check, gfc_conv_array_index_offset,
gfc_conv_scalarized_array_ref, gfc_conv_ss_startstride,
gfc_could_be_alias, gfc_conv_resolve_dependencies,
gfc_conv_loop_setup, gfc_conv_expr_descriptor,
gfc_alloc_allocatable_for_assignment): Update references to expr and
factor common reference chains where possible.
* trans-const.c (gfc_conv_constant): Ditto.
* trans-expr.c (gfc_conv_variable, gfc_conv_procedure_call,
gfc_conv_array_constructor_expr, gfc_conv_expr,
gfc_conv_expr_reference): Ditto.
* trans-intrinsic.c (trans_this_image, gfc_conv_intrinsic_bound,
gfc_conv_intrinsic_cobound, gfc_conv_intrinsic_funcall,
gfc_add_intrinsic_ss_code): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies): Ditto.
From-SVN: r180868
Mikael Morin [Thu, 3 Nov 2011 21:55:48 +0000 (21:55 +0000)]
trans.h (struct gfc_ss_info): New struct.
* trans.h (struct gfc_ss_info): New struct.
(gfc_get_ss_info): New macro.
(struct gfc_ss): Move type field to struct gfc_ss_info.
Add an info field of type gfc_ss_info.
* trans-array.c (free_ss_info): New function.
(gfc_free_ss): Call free_ss_info.
(gfc_get_array_ss, gfc_get_temp_ss, gfc_get_scalar_ss):
Allocate gfc_ss_info field.
(gfc_get_array_ss, gfc_get_temp_ss, gfc_get_scalar_ss,
gfc_set_vector_loop_bounds, gfc_add_loop_ss_code,
gfc_conv_array_index_offset, gfc_trans_preloop_setup,
gfc_trans_scalarized_loop_boundary, gfc_conv_section_startstride,
gfc_conv_ss_startstride, gfc_conv_resolve_dependencies,
gfc_conv_loop_setup, transposed_dims, gfc_conv_expr_descriptor,
gfc_walk_elemental_function_args): Update references to type.
* trans-const.c (gfc_conv_constant): Factor common reference chains
and update reference to type.
* trans-expr.c (gfc_conv_procedure_call, gfc_trans_assignment_1):
Update reference to type.
(gfc_conv_array_constructor_expr, gfc_conv_expr,
gfc_conv_expr_reference): Ditto. Factor common reference chains.
* trans-intrinsic.c (walk_inline_intrinsic_transpose): Update references
to type
* trans-stmt.c (gfc_trans_where_assign): Ditto.
From-SVN: r180867
Mikael Morin [Thu, 3 Nov 2011 21:47:49 +0000 (21:47 +0000)]
trans.h (struct gfc_ss, [...]): Move shape field from the former struct to the latter.
* trans.h (struct gfc_ss, struct gfc_array_info): Move shape field
from the former struct to the latter.
* trans-array.c (gfc_conv_ss_startstride, gfc_conv_loop_setup):
Update field references.
* trans-expr.c (gfc_trans_subarray_assign): Update field references
and factor common reference chains.
* trans-io.c (transfer_array_component): Ditto.
From-SVN: r180866
Mikael Morin [Thu, 3 Nov 2011 21:44:56 +0000 (21:44 +0000)]
trans.h (struct gfc_array_info): Move dim and dimen fields...
* trans.h (struct gfc_array_info): Move dim and dimen fields...
(struct gfc_ss): ... here. Remove gfc_ss::data::temp::dimen field.
* trans-array.c (gfc_conv_loop_setup): Remove temp_ss dim array
initialization.
(gfc_get_temp_ss): Initialize dim and dimen.
(gfc_free_ss, gfc_get_array_ss, gfc_get_temp_ss,
gfc_set_loop_bounds_from_array_spec, get_array_ref_dim,
gfc_trans_create_temp_array, gfc_trans_constant_array_constructor,
gfc_set_vector_loop_bounds, gfc_conv_scalarized_array_ref,
gfc_trans_preloop_setup, gfc_conv_ss_startstride,
gfc_conv_resolve_dependencies, gfc_conv_loop_setup, transposed_dims,
gfc_conv_expr_descriptor, gfc_alloc_allocatable_for_assignment,
gfc_walk_array_ref): Update field references.
* trans-expr.c (gfc_conv_subref_array_arg, gfc_conv_procedure_call):
Ditto.
* trans-intrinsic.c (walk_inline_intrinsic_transpose): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies): Ditto.
From-SVN: r180865
Mikael Morin [Thu, 3 Nov 2011 21:39:11 +0000 (21:39 +0000)]
trans.h (struct gfc_ss_info, [...]): Rename the former to the latter.
* trans.h (struct gfc_ss_info, struct gfc_array_info):
Rename the former to the latter.
* trans-array.c (gfc_get_array_ss, gfc_trans_allocate_array_storage,
get_array_ref_dim, gfc_trans_create_temp_array,
gfc_trans_constant_array_constructor, gfc_set_vector_loop_bounds,
gfc_conv_array_index_offset, gfc_conv_scalarized_array_ref,
add_array_offset, gfc_trans_preloop_setup, gfc_conv_section_startstride,
gfc_conv_ss_startstride, gfc_conv_loop_setup, transposed_dims,
gfc_conv_expr_descriptor): Update all uses.
* trans-expr.c (gfc_conv_subref_array_arg, gfc_conv_procedure_call):
Ditto.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer,
walk_inline_intrinsic_transpose): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies,
gfc_trans_pointer_assign_need_temp): Ditto.
From-SVN: r180864
Mikael Morin [Thu, 3 Nov 2011 21:35:35 +0000 (21:35 +0000)]
trans-array.c (dim_ok, [...]): Rename the former to the latter.
* trans-array.c (dim_ok, transposed_dims): Rename the former to the
latter. Change argument type. Invert return value.
(gfc_conv_expr_descriptor): Update calls.
From-SVN: r180862
Mikael Morin [Thu, 3 Nov 2011 21:33:28 +0000 (21:33 +0000)]
trans-array.c (get_array_ref_dim): Change argument type and name.
* trans-array.c (get_array_ref_dim): Change argument type and name.
Obtain previous argument from the new argument in the body.
(gfc_trans_create_temp_arry, gfc_conv_loop_setup): Update calls.
From-SVN: r180861
Mikael Morin [Thu, 3 Nov 2011 21:31:12 +0000 (21:31 +0000)]
trans-array.c (gfc_set_vector_loop_bounds, [...]): Rename the former to the latter.
* trans-array.c (gfc_set_vector_loop_bounds, set_vector_loop_bounds):
Rename the former to the latter. Change type and name of argument.
Get previous argument from the new one.
(gfc_add_loop_ss_code): Update call.
From-SVN: r180860
Mikael Morin [Thu, 3 Nov 2011 21:28:26 +0000 (21:28 +0000)]
trans-array.h (gfc_trans_create_temp_array): Replace info argument with ss argument.
* trans-array.h (gfc_trans_create_temp_array): Replace info argument
with ss argument.
* trans-array.c (gfc_trans_create_temp_array): Ditto. Get info from ss.
(gfc_trans_array_constructor, gfc_conv_loop_setup): Update call to
gfc_trans_create_temp_array.
* trans-expr.c (gfc_conv_procedure_call): Ditto.
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies): Ditto.
From-SVN: r180859
Mikael Morin [Thu, 3 Nov 2011 21:24:24 +0000 (21:24 +0000)]
trans-array.c (gfc_trans_array_bound_check): Use ss argument to get name.
* trans-array.c (gfc_trans_array_bound_check): Use ss argument
to get name.
From-SVN: r180858
Mikael Morin [Thu, 3 Nov 2011 21:21:30 +0000 (21:21 +0000)]
trans-array.c (gfc_trans_array_bound_check, [...]): Rename the former to the latter.
* trans-array.c (gfc_trans_array_bound_check,
trans_array_bound_check): Rename the former to the latter.
Replace descriptor argument with ss argument. Get descriptor from ss.
(gfc_conv_array_index_offset, conv_array_index_offset): Rename the
former to the latter. Update call to trans_array_bound_check.
Replace info argument with ss argument. Get info from ss.
(gfc_conv_scalarized_array_ref): Update call to conv_array_index_offset.
(add_array_offset): Ditto
From-SVN: r180857
Mikael Morin [Thu, 3 Nov 2011 21:19:27 +0000 (21:19 +0000)]
trans-array.c (gfc_trans_constant_array_constructor, [...]): Rename the former to the latter.
* trans-array.c (gfc_trans_constant_array_constructor,
trans_constant_array_constructor): Rename the former to the latter.
Don't set the rank of the temporary for the loop. Remove then unused
loop argument.
(gfc_trans_array_constructor): Update call.
From-SVN: r180856
Mikael Morin [Thu, 3 Nov 2011 21:16:54 +0000 (21:16 +0000)]
trans-array.c (gfc_trans_scalarizing_loops): Stop loop before end marker, not after it.
* trans-array.c (gfc_trans_scalarizing_loops): Stop loop before end
marker, not after it.
From-SVN: r180855
Hans-Peter Nilsson [Thu, 3 Nov 2011 21:16:07 +0000 (21:16 +0000)]
config.host (crisv32-*-none, [...]): Remove.
* config.host (crisv32-*-none, cris-*-none): Remove.
(crisv32-*-elf): Append to tmake_file, don't just set it.
(cris-*-elf): Add missing t-fdpbit to tmake_file.
From-SVN: r180854
Mikael Morin [Thu, 3 Nov 2011 21:14:19 +0000 (21:14 +0000)]
trans-array.c (gfc_conv_loop_setup): Also skip temporary arrays.
* trans-array.c (gfc_conv_loop_setup): Also skip temporary arrays.
From-SVN: r180853
Mikael Morin [Thu, 3 Nov 2011 21:12:33 +0000 (21:12 +0000)]
trans-array.c (gfc_conv_ss_startstride): Access array bounds along array dimensions instead of loop dimensions.
* trans-array.c (gfc_conv_ss_startstride): Access array bounds along
array dimensions instead of loop dimensions.
From-SVN: r180852
Mikael Morin [Thu, 3 Nov 2011 21:09:58 +0000 (21:09 +0000)]
trans-array.c (gfc_trans_preloop_setup): Assertify one condition.
* trans-array.c (gfc_trans_preloop_setup): Assertify one condition.
From-SVN: r180851
Mikael Morin [Thu, 3 Nov 2011 21:08:25 +0000 (21:08 +0000)]
trans-array.c (gfc_walk_array_ref): Skip coarray dimensions.
* trans-array.c (gfc_walk_array_ref): Skip coarray dimensions.
From-SVN: r180850
Mikael Morin [Thu, 3 Nov 2011 21:03:56 +0000 (21:03 +0000)]
trans-array.c (get_array_ref_dim): Remove redundant condition.
* trans-array.c (get_array_ref_dim): Remove redundant condition.
From-SVN: r180849
Mikael Morin [Thu, 3 Nov 2011 21:00:41 +0000 (21:00 +0000)]
trans-array.c (gfc_trans_preloop_setup): Move common code...
* trans-array.c (gfc_trans_preloop_setup): Move common code...
(add_array_offset): ...into that new function.
From-SVN: r180848
Mikael Morin [Thu, 3 Nov 2011 20:56:19 +0000 (20:56 +0000)]
trans-array.c (gfc_trans_preloop_setup): Use loop's dimension instead of array's dimention.
* trans-array.c (gfc_trans_preloop_setup): Use loop's dimension instead
of array's dimention. Check that it is indeed the same.
From-SVN: r180847
Mikael Morin [Thu, 3 Nov 2011 20:52:14 +0000 (20:52 +0000)]
trans-array.c (gfc_trans_preloop_setup): Remove redundant assertion.
* trans-array.c (gfc_trans_preloop_setup): Remove redundant assertion.
Special case outermost loop.
From-SVN: r180846
Uros Bizjak [Thu, 3 Nov 2011 20:49:36 +0000 (21:49 +0100)]
sched-vis.c (print_value): Handle STRICT_LOW_PART.
* sched-vis.c (print_value): Handle STRICT_LOW_PART.
From-SVN: r180845
Mikael Morin [Thu, 3 Nov 2011 20:49:14 +0000 (20:49 +0000)]
trans-array.c (gfc_trans_preloop_setup): Factor loop index initialization.
* trans-array.c (gfc_trans_preloop_setup): Factor loop index
initialization.
From-SVN: r180844
Mikael Morin [Thu, 3 Nov 2011 20:46:00 +0000 (20:46 +0000)]
trans-array.c (gfc_trans_preloop_setup): Move code earlier.
* trans-array.c (gfc_trans_preloop_setup): Move code earlier.
From-SVN: r180843
Mikael Morin [Thu, 3 Nov 2011 20:28:58 +0000 (20:28 +0000)]
trans-array.c (gfc_trans_preloop_setup): Move array reference initialisation earlier.
* trans-array.c (gfc_trans_preloop_setup): Move array reference
initialisation earlier. Factor subsequent array references.
From-SVN: r180842
Uros Bizjak [Thu, 3 Nov 2011 18:39:12 +0000 (19:39 +0100)]
i386.md (lround<X87MODEF:mode><SWI248x:mode>2, [...]): Use operands[N] instead of operandN.
* config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2,
rint<mode>2, floor<mode>2, lfloor<MODEF:mode><SWI48:mode>2,
btrunc<mode>2, lwp_lwpval<mode>3): Use operands[N] instead of operandN.
From-SVN: r180840
Rainer Orth [Thu, 3 Nov 2011 18:19:54 +0000 (18:19 +0000)]
Restore arm-eabi bootstrap (PR target/50978)
PR target/50978
* config/arm/t-bpabi: New file.
* config.gcc (arm*-*-linux*): Add arm/t-bpabi to tmake_file for
arm*-*-linux-*eabi.
(arm*-*-uclinux*): Add arm/t-bpabi to tmake_file for
arm*-*-uclinux*eabi.
(arm*-*-eabi*, arm*-*-symbianelf*): Add arm/t-bpabi to tmake_file
for arm*-*-eabi*.
From-SVN: r180839
Benjamin Kosnik [Thu, 3 Nov 2011 17:50:14 +0000 (17:50 +0000)]
*: Regenerate.
2011-11-03 Benjamin Kosnik <bkoz@redhat.com>
* doc/html/*: Regenerate.
From-SVN: r180837
Michael Matz [Thu, 3 Nov 2011 17:17:07 +0000 (17:17 +0000)]
re PR bootstrap/50857 (The compiler is built with exceptions and RTTI enabled)
libcpp/
PR bootstrap/50857
* configure.ac: Check for -fno-exceptions -fno-rtti.
* configure: Regenerate.
* Makefile.in (NOEXCEPTION_FLAGS): New flag.
(ALL_CXXFLAGS): Use it.
gcc/
PR bootstrap/50857
* configure.ac: Check for -fno-exceptions -fno-rtti.
* configure: Regenerate.
* Makefile.in (NOEXCEPTION_FLAGS): New flag.
(ALL_CXXFLAGS): Use it.
From-SVN: r180833
Uros Bizjak [Thu, 3 Nov 2011 16:59:37 +0000 (17:59 +0100)]
i386.md: Use {} for multi-line preparation statements.
* config/i386/i386.md: Use {} for multi-line preparation statements.
From-SVN: r180832
Eric Botcazou [Thu, 3 Nov 2011 16:26:41 +0000 (16:26 +0000)]
sparc.md (movtf_insn_sp32_no_fpu): Consolidate into...
* config/sparc/sparc.md (movtf_insn_sp32_no_fpu): Consolidate into...
(movtf_insn_sp32): ...this.
(movtf_insn_sp64_no_fpu): Consolidate into...
(movtf_insn_sp64): ...this.
(movtf_insn_sp64_hq): Do not test TARGET_FPU.
* config/sparc/sparc.c (sparc_legitimate_address_p): Likewise.
From-SVN: r180831
Rainer Orth [Thu, 3 Nov 2011 15:42:27 +0000 (15:42 +0000)]
t-ppccomm (ecrti$(objext)): Use $<.
* config/rs6000/t-ppccomm (ecrti$(objext)): Use $<.
(ecrtn$(objext)): Likewise.
(ncrti$(objext)): Likewise.
(ncrtn$(objext)): Likewise.
From-SVN: r180830
Richard Guenther [Thu, 3 Nov 2011 15:16:57 +0000 (15:16 +0000)]
re PR middle-end/50079 (FAIL: g++.dg/init/copy7.C execution test)
2011-11-03 Richard Guenther <rguenther@suse.de>
PR middle-end/50079
* g++.dg/init/copy7.C: Remove testcase.
From-SVN: r180829
Tristan Gingold [Thu, 3 Nov 2011 15:05:35 +0000 (15:05 +0000)]
vms.c (vms_patch_builtins): Fix typo.
2011-11-03 Tristan Gingold <gingold@adacore.com>
* config/vms/vms.c (vms_patch_builtins): Fix typo.
From-SVN: r180828
Richard Guenther [Thu, 3 Nov 2011 14:46:26 +0000 (14:46 +0000)]
re PR lto/44965 (lto option code breaks file format with each added option)
2011-11-03 Richard Guenther <rguenther@suse.de>
PR lto/44965
* lto-opts.c: Re-implement.
* lto-streamer.h (lto_register_user_option): Remove.
(lto_read_file_options): Likewise.
(lto_reissue_options): Likewise.
(lto_clear_user_options): Likewise.
(lto_clear_file_options): Likewise.
* opts-global.c (post_handling_callback): Remove.
(set_default_handlers): Do not set post_handling_callback.
(decode_options): Remove LTO specific code.
* lto-wrapper.c (merge_and_complain): New function.
(run_gcc): Read all input file options and
prepend a merged set before the linker driver options.
* gcc.c (driver_post_handling_callback): Remove.
(set_option_handlers): Do not set post_handling_callback.
* opts-common.c (handle_option): Do not call post_handling_callback.
* opts.h (struct cl_option_handlers): Remove post_handling_callback.
lto/
* lto-lang.c (lto_post_options): Do not read file options.
* lto.c (lto_read_all_file_options): Remove.
(lto_init): Call lto_set_in_hooks here.
From-SVN: r180827
Richard Guenther [Thu, 3 Nov 2011 14:24:59 +0000 (14:24 +0000)]
collect2.c (main): Guard object_nbr variable with TARGET_AIX_VERSION.
2011-11-03 Richard Guenther <rguenther@suse.de>
* collect2.c (main): Guard object_nbr variable with TARGET_AIX_VERSION.
From-SVN: r180826
Martin Jambor [Thu, 3 Nov 2011 13:53:29 +0000 (14:53 +0100)]
ipa-prop.c (type_change_info): New fields offset, object, known_current_type and multiple_types_encountered.
2011-11-03 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (type_change_info): New fields offset, object,
known_current_type and multiple_types_encountered.
(extr_type_from_vtbl_ptr_store): New function.
(check_stmt_for_type_change): Use it, set multiple_types_encountered if
the result is different from the previous one.
(detect_type_change): Renamed to detect_type_change_1. New parameter
comp_type. Set up new fields in tci, build known type jump
functions if the new type can be identified.
(detect_type_change): New function.
* tree.h (DECL_CONTEXT): Comment new use.
* testsuite/g++.dg/ipa/devirt-c-1.C: Add dump scans.
* testsuite/g++.dg/ipa/devirt-c-2.C: Likewise.
* testsuite/g++.dg/ipa/devirt-c-7.C: New test.
* testsuite/g++.dg/ipa/devirt-c-8.C: Likewise.
From-SVN: r180825
Richard Guenther [Thu, 3 Nov 2011 13:13:33 +0000 (13:13 +0000)]
re PR lto/48217 (lto mishandles quotes in command line defines)
2011-11-03 Richard Guenther <rguenther@suse.de>
PR lto/48217
* lto-wrapper.c (get_options_from_collect_gcc_options): Properly
decode an encoded literal '.
From-SVN: r180822
Tristan Gingold [Thu, 3 Nov 2011 11:47:12 +0000 (11:47 +0000)]
collect2.c (main): Add support of -f (response file) on AIX.
2011-11-03 Tristan Gingold <gingold@adacore.com>
* collect2.c (main): Add support of -f (response file) on AIX.
From-SVN: r180821
Andreas Schwab [Thu, 3 Nov 2011 09:57:54 +0000 (09:57 +0000)]
* config/ia64/t-ia64 (crtbeginS.o): Fix whitespace damage.
From-SVN: r180820
Ira Rosen [Thu, 3 Nov 2011 08:44:35 +0000 (08:44 +0000)]
re PR tree-optimization/50912 (gimple assertion failure at gimple.h:1940 with -msse2)
PR tree-optimization/50912
* tree-vectorizer.h (slp_void_p): New.
(struct _slp_tree): Replace left and right with children. Update
documentation.
(struct _slp_oprnd_info): New.
(vect_get_vec_defs): Declare.
(vect_get_slp_defs): Update arguments.
* tree-vect-loop.c (vect_create_epilog_for_reduction): Call
vect_get_vec_defs instead of vect_get_slp_defs.
(vectorizable_reduction): Likewise.
* tree-vect-stmts.c (vect_get_vec_defs): Remove static, add argument.
Update call to vect_get_slp_defs.
(vectorizable_conversion): Update call to vect_get_vec_defs.
(vectorizable_assignment, vectorizable_shift,
vectorizable_operation): Likewise.
(vectorizable_type_demotion): Call vect_get_vec_defs instead of
vect_get_slp_defs.
(vectorizable_type_promotion, vectorizable_store): Likewise.
(vect_analyze_stmt): Fix typo.
* tree-vect-slp.c (vect_free_slp_tree): Update SLP tree traversal.
(vect_print_slp_tree, vect_mark_slp_stmts,
vect_mark_slp_stmts_relevant, vect_slp_rearrange_stmts,
vect_detect_hybrid_slp_stmts, vect_slp_analyze_node_operations,
vect_schedule_slp_instance): Likewise.
(vect_create_new_slp_node): New.
(vect_create_oprnd_info, vect_free_oprnd_info): Likewise.
(vect_get_and_check_slp_defs): Pass information about defs using
oprnds_info, allow any number of operands.
(vect_build_slp_tree): Likewise. Update calls to
vect_get_and_check_slp_defs. Fix comments.
(vect_analyze_slp_instance): Move node creation to
vect_create_new_slp_node.
(vect_get_slp_defs): Allow any number of operands.
From-SVN: r180819
David S. Miller [Thu, 3 Nov 2011 06:07:39 +0000 (06:07 +0000)]
Fix multilib build of libgcc on Linux/sparc.
* configure.ac: Set host_address on sparc too.
* configure: Regenerate.
* config.host: Add sparc/t-linux64 and sparc/t-softmul conditionally
based upon host_address.
* config/sparc/t-linux64: Set CRTSTUFF_T_CFLAGS unconditionally.
From-SVN: r180818
Peter Bergner [Thu, 3 Nov 2011 03:36:35 +0000 (22:36 -0500)]
rs6000.c (USE_HIDDEN_LINKONCE): New define.
* config/rs6000/rs6000.c (USE_HIDDEN_LINKONCE): New define.
(get_ppc476_thunk_name): Use it.
(rs6000_code_end): Likewise.
(macho_branch_islands): Fix typo.
Co-Authored-By: Iain Sandoe <iains@gcc.gnu.org>
From-SVN: r180814
GCC Administrator [Thu, 3 Nov 2011 00:18:00 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r180810
Doug Evans [Wed, 2 Nov 2011 22:00:20 +0000 (22:00 +0000)]
Fix thinko in previous checkin.
From-SVN: r180805
Doug Evans [Wed, 2 Nov 2011 21:45:19 +0000 (21:45 +0000)]
Forgotten in previous checkin that added timeval-utils.[ch].
* Makefile.in (CFILES): Add it.
(REQUIRED_OFILES): Add timeval-utils.$(objext).
(INSTALLED_HEADERS): Add timeval-utils.h.
(timeval-utils.$(objext)): Add rule.
From-SVN: r180803
Jason Merrill [Wed, 2 Nov 2011 21:24:56 +0000 (17:24 -0400)]
re PR c++/50930 ([C++0x] Valid brace-or-equal-initializer of non-static data member rejected)
PR c++/50930
* init.c (build_aggr_init): Don't set LOOKUP_ONLYCONVERTING
if the initializer has TARGET_EXPR_DIRECT_INIT_P.
(expand_default_init): An initializer with TARGET_EXPR_DIRECT_INIT_P
or TARGET_EXPR_LIST_INIT_P doesn't need more processing.
* tree.c (bot_manip): Propagate TARGET_EXPR_IMPLICIT_P,
TARGET_EXPR_LIST_INIT_P, TARGET_EXPR_DIRECT_INIT_P.
* call.c (convert_like_real): Set TARGET_EXPR_DIRECT_INIT_P
as appropriate on list-value-initialization.
From-SVN: r180802
Jason Merrill [Wed, 2 Nov 2011 20:52:18 +0000 (16:52 -0400)]
TREE_STRING_LENGTH comment
From-SVN: r180800
Jason Merrill [Wed, 2 Nov 2011 20:52:10 +0000 (16:52 -0400)]
* config/rs6000/t-ppccomm: Add missing \.
From-SVN: r180799
Paolo Carlini [Wed, 2 Nov 2011 20:22:53 +0000 (20:22 +0000)]
internal.h (uxstrdup, ustrchr): Return const unsigned char *.
2011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
* internal.h (uxstrdup, ustrchr): Return const unsigned char *.
From-SVN: r180796
Jason Merrill [Wed, 2 Nov 2011 20:16:56 +0000 (16:16 -0400)]
parser.c (cp_parser_decl_specifier_seq): Change "C++0x" to "C++11" in warnings.
* parser.c (cp_parser_decl_specifier_seq): Change "C++0x" to
"C++11" in warnings.
(cp_lexer_get_preprocessor_token): Likewise.
(cp_parser_binary_expression): Likewise.
From-SVN: r180795
Jason Merrill [Wed, 2 Nov 2011 20:16:43 +0000 (16:16 -0400)]
re PR c++/50810 (c++0x-compat does not warn about narrowing conversions)
PR c++/50810
gcc/c-family
* c-opts.c (c_common_handle_option): Enable -Wnarrowing as part
of -Wall; include -Wnarrowing in -Wc++0x-compat; adjust default
Wnarrowing for C++0x and C++98.
* c.opt ([Wnarrowing]): Update.
gcc/cp
* typeck2.c (check_narrowing): Adjust OPT_Wnarrowing diagnostics.
(digest_init_r): Call check_narrowing irrespective of the C++ dialect.
* decl.c (check_initializer): Likewise.
* semantics.c (finish_compound_literal): Likewise.
gcc/
* configure.ac: Add -Wno-narrowing to warning options.
libcpp/
* configure.ac: Add -Wno-narrowing to warning options.
From-SVN: r180794
Tom de Vries [Wed, 2 Nov 2011 20:15:55 +0000 (20:15 +0000)]
re PR tree-optimization/50769 (ICE: in phi_alternatives_equal, at tree-cfgcleanup.c:355 with -O2 -fno-delete-null-pointer-checks -fno-guess-branch-probability -fipa-pta)
2011-11-02 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50769
* gfortran.dg/pr50769.f90: New test.
From-SVN: r180793
Eric Botcazou [Wed, 2 Nov 2011 20:03:27 +0000 (20:03 +0000)]
re PR target/50945 (ICE on floating-point move with -msoft-float)
PR target/50945
* config/sparc/sparc.md (movsf_insn): Reindent constraints.
(movdf_insn_sp32): Likewise. Remove redundant G constraint.
(movdf_insn_sp64): Likewise.
(DFmode splitter): Do not test TARGET_FPU.
(movtf_insn_sp32): Reindent constraints.
(movtf_insn_sp32_no_fpu): Likewise.
(movtf_insn_sp64): Likewise.
(movtf_insn_sp64_hq): Likewise.
(movtf_insn_sp64_no_fpu): Likewise.
From-SVN: r180791
Richard B. Kreckel [Wed, 2 Nov 2011 18:43:42 +0000 (18:43 +0000)]
re PR libstdc++/50880 (__complex_acosh() picks wrong complex branch)
2011-11-02 Richard B. Kreckel <kreckel@ginac.de>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/50880
* include/std/complex (__complex_acosh): Fix in a better way,
use Kahan's formula.
* include/tr1/complex (__complex_acosh): Likewise.
From-SVN: r180788
Richard B. Kreckel [Wed, 2 Nov 2011 18:43:26 +0000 (18:43 +0000)]
re PR libstdc++/50880 (__complex_acosh() picks wrong complex branch)
2011-11-02 Richard B. Kreckel <kreckel@ginac.de>
Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/50880
* include/std/complex (__complex_acosh): Fix in a better way,
use Kahan's formula.
* include/tr1/complex (__complex_acosh): Likewise.
From-SVN: r180787
Paolo Carlini [Wed, 2 Nov 2011 18:04:48 +0000 (18:04 +0000)]
re PR c++/50956 (-Wcast-qual does not work)
2011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50956
* builtins.c (fold_builtin_memchr): Fix cast.
/cp
2011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50956
* typeck.c (build_const_cast_1): Fix -Wcast-qual for false
comp_ptr_ttypes_const.
/testsuite
2011-11-02 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/50956
* g++.dg/warn/Wcast-qual2.C: New.
From-SVN: r180786
Tom de Vries [Wed, 2 Nov 2011 18:01:18 +0000 (18:01 +0000)]
re PR tree-optimization/50763 (ICE: verify_gimple failed: missing PHI def with -ftree-tail-merge)
2011-11-02 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50763
* g++.dg/pr50763-3.C: New test.
From-SVN: r180785
Ian Lance Taylor [Wed, 2 Nov 2011 17:53:20 +0000 (17:53 +0000)]
syscall: Remove Linux system calls not available in older glibcs.
From-SVN: r180784
Teresa Johnson [Wed, 2 Nov 2011 17:37:20 +0000 (17:37 +0000)]
predicates.md (promotable_binary_operator): Add minus to the list of promotable operators.
* config/i386/predicates.md (promotable_binary_operator): Add minus
to the list of promotable operators.
From-SVN: r180783
Ian Lance Taylor [Wed, 2 Nov 2011 16:50:10 +0000 (16:50 +0000)]
exp/terminal: Use tcgetattr/tcsetattr rather than ioctl.
From-SVN: r180780
Tom de Vries [Wed, 2 Nov 2011 16:29:50 +0000 (16:29 +0000)]
re PR tree-optimization/50672 (ice: verify_ssa failed: no immediate_use list)
2011-11-02 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/50672
* g++.dg/pr50672.C: New test.
From-SVN: r180779
Ian Lance Taylor [Wed, 2 Nov 2011 15:59:09 +0000 (15:59 +0000)]
libgo/Makefile: Fix dependency.
From-SVN: r180778