2010-02-22 Richard Guenther <rguenther@suse.de>
PR lto/43045
* tree-inline.c (declare_return_variable): Use the type of
the call stmt lhs if available.
* gfortran.dg/lto/20100222-1_0.f03: New testcase.
* gfortran.dg/lto/20100222-1_1.c: Likewise.
From-SVN: r156966
If a pass occurs in several pass lists, like pass_cleanup_eh which occurs in
both all_small_ipa_passes and all_passes, make sure all instances of it are
considered for replacement/insertion when ref_pass_instance_number is zero,
not just the instance in the first pass list.
From-SVN: r156961
2010-02-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42749
* tree-tailcall.c (adjust_return_value_with_ops): Drop update
parameter. Do arithmetic in the original type.
(update_accumulator_with_ops): Likewise.
(adjust_accumulator_values): Adjust.
* gcc.c-torture/compile/pr42749.c: New testcase.
From-SVN: r156960
2010-02-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.md ("movqi"): Re-add the mem->mem alternative.
(QI to BLKmode splitter): New splitter.
From-SVN: r156959
2010-02-22 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (initial_ix86_tune_features): Turn on
X86_TUNE_INTER_UNIT_MOVES for m_ATOM.
From-SVN: r156957
2010-02-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43072
* dependency.c (gfc_full_array_ref_p): Check for contiguous by
checking the rest of the dimensions for elements.
2010-02-22 Paul Thomas <pault@gcc.gnu.org>
PR fortran/43072
* gfortran.dg/internal_pack_6.f90: Number of 'packs' now zero.
* gfortran.dg/internal_pack_9.f90: New test.
From-SVN: r156949
Fix PR c++/42824
gcc/cp/ChangeLog:
PR c++/42824
* pt.c (lookup_template_class): Better support of specialization
of member of class template implicit instantiation.
gcc/testsuite/ChangeLog:
PR c++/42824
* g++.dg/template/memclass4.C: New test.
From-SVN: r156939
gcc/
2010-02-20 David S. Miller <davem@davemloft.net>
* configure.ac: Test if linker and assembler properly support
GOTDATA_OP relocations.
* configure: Rebuild.
* config.in: Likewise.
* config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New.
(movsi_lo_sum_pic): Use %gdop_*() relocs if available.
(movsi_high_pic): Likewise.
(movdi_lo_sum_pic): Likewise.
(movdi_high_pic): Likewise.
(movsi_pic_gotdata_op): New pattern.
(movdi_pic_gotdata_op): Likewise.
* config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2,
emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load.
From-SVN: r156933
2010-02-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36932
PR fortran/36933
PR fortran/43072
PR fortran/43111
* dependency.c (gfc_check_argument_var_dependency): Use enum
value instead of arithmetic vaue for 'elemental'.
(check_data_pointer_types): New function.
(gfc_check_dependency): Call check_data_pointer_types.
* trans-array.h : Change fourth argument of
gfc_conv_array_parameter to boolean.
* trans-array.c (gfc_conv_array_parameter): A contiguous array
can be a dummy but it must not be assumed shape or deferred.
Change fourth argument to boolean. Array constructor exprs will
always be contiguous and do not need packing and unpacking.
* trans-expr.c (gfc_conv_procedure_call): Clean up some white
space and change fourth argument of gfc_conv_array_parameter
to boolean.
(gfc_trans_arrayfunc_assign): Change fourth argument of
gfc_conv_array_parameter to boolean.
* trans-io.c (gfc_convert_array_to_string): The same.
* trans-intrinsic.c (gfc_conv_intrinsic_loc): The same.
2010-02-20 Paul Thomas <pault@gcc.gnu.org>
PR fortran/36932
PR fortran/36933
* gfortran.dg/dependency_26.f90: New test.
PR fortran/43072
* gfortran.dg/internal_pack_7.f90: New test.
PR fortran/43111
* gfortran.dg/internal_pack_8.f90: New test.
From-SVN: r156926
* ipa-struct-reorg.c (make_field_acc_node, gen_cluster, peel_field):
Use XCNEW instead of xcalloc.
(add_access_to_acc_sites, create_new_var_node, add_alloc_site): Use
XNEW instead of xmalloc.
(get_fields): Use XNEWVEC instead of xmalloc.
From-SVN: r156905
PR debug/43084
* ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't
populate vars array.
(create_new_general_access): For debug stmts just reset value.
(get_stmt_accesses): For accesses within debug stmts just record them
using add_access_to_acc_sites instead of preventing the peeling or
counting them as accesses.
* gcc.dg/pr43084.c: New test.
From-SVN: r156904
2010-02-19 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42916
* tree-vect-slp.c (vect_slp_analyze_bb): Count only real
instructions.
* gcc.dg/pr42916.c: New testcase.
From-SVN: r156898
2010-02-19 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42944
* tree-ssa-alias.c (call_may_clobber_ref_p_1): Massage
test for aliasing with errno.
From-SVN: r156890
2010-02-18 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run_doxygen: Add shortnames option.
* doc/Makefile.am (doc-man-doxygen): Use it.
(doc-html-doxygen): Use it.
(doc-xml-doxygen): Use it, but default to NO.
(doc-pdf-dblatex): Add.
* doc/Makefile.in: Regenerate.
* doc/doxygen/user.cfg.in: Update filelist.
* include/bits/locale_facets.h: Fix markup warning.
From-SVN: r156887