- 04 Mar, 2012 17 commits
-
-
From-SVN: r184897
Anthony Green committed -
fortran/ PR fortran/50981 * trans-expr.c (gfc_conv_procedure_call): Save se->ss's value. Handle the case of unallocated arrays passed to elemental procedures. testsuite/ PR fortran/50981 * gfortran.dg/elemental_optional_args_5.f03: Add array checks. From-SVN: r184896
Mikael Morin committed -
* gcc.dg/torture/pr52402.c: Add dg-require-effective-target From-SVN: r184894
Georg-Johann Lay committed -
trans.h (struct gfc_ss_info): Move can_be_null_ref component from the data::scalar subcomponent to the toplevel. fortran/ * trans.h (struct gfc_ss_info): Move can_be_null_ref component from the data::scalar subcomponent to the toplevel. * trans-expr.c (gfc_conv_expr): Update component reference. * trans-array.c (gfc_add_loop_ss_code): Ditto. (gfc_walk_elemental_function_args): Ditto. Move the conditional setting the field out of the scalar-only block. From-SVN: r184893
Mikael Morin committed -
* config/i386/constraints.md (Ya): New internal constraint. * config/i386/i386.md (zero_extendsidi2): Remove expansion. (*zero_extendsidi2_rex64): Add x,x alternative. (*zero_extendsidi2): Ditto. Add o,0 alternative. Remove flags reg clobber. Adjust corresponding splits. (zero_extend<mode>si2): Macroize expander from zero_extendhisi2 and zero_extendqisi2 expanders using SWI12 mode iterator. (zero_extend<mode>si2_and): Macroize insn from zero_extendhisi2_and and zero_extendqisi2_and. Merge corresponding splitters. (*zero_extend<mode>si2): Macroize insn from *zero_extendhisi2_movzbl and *zero_extendqisi2_movzbl. (*zero_extend*2_movzbl_and): Remove insn patterns. (zero_extendqihi2_and): Merge corresponding splitter. (*zero_extendqihi2): Rename from *zero_extendqihi2_movzbl. (*zero_extend*2_movzbl_and): Remove insn patterns. (*anddi_1): Split TYPE_IMOVX instructions. (*andsi_1): Use Ya for alternative 2. Split TYPE_IMOVX instructions. (*andhi_1): Ditto. (and->zext splitter): Add splitter pattern. (zero extend with andsi3 splitter): Adjust zero_extend pattern. From-SVN: r184891
Uros Bizjak committed -
* gcc.dg/debug/dwarf2/pr49871.c: Add dg-require-effective-target int32plus. From-SVN: r184887
Georg-Johann Lay committed -
PR fortran/36160 * error.c (gfc_widechar_display_length, gfc_wide_display_length): New functions. (print_wide_char_into_buffer): Return length written. (show_locus): Fix locus displayed when wide characters are present. From-SVN: r184884
Francois-Xavier Coudert committed -
From-SVN: r184883
Francois-Xavier Coudert committed -
From-SVN: r184882
Eric Botcazou committed -
PR libstdc++/52433 * include/debug/safe_iterator.h (_Safe_iterator): Add move constructor and move assignment operator. * testsuite/23_containers/vector/debug/52433.cc: New. From-SVN: r184880
Jonathan Wakely committed -
2012-03-04 Sandra Loosemore <sandra@codesourcery.com> gcc/ * doc/invoke.texi (C++ Dialect Options): Minor copy-edits to x86-specific text. (Debugging Options): Likewise. (Optimize Options): Likewise. (i386 and x86-64 Options): Discuss -march before -mtune, consistently with other architectures. Use official processor names with correct spelling/capitalization. Fix formatting and grammar issues. (i386 and x86-64 Windows Options): Similar cleanup here. From-SVN: r184879
Sandra Loosemore committed -
From-SVN: r184877
Jason Merrill committed -
Core 1270 * call.c (build_aggr_conv): Call reshape_init. (convert_like_real): Likewise. * typeck2.c (process_init_constructor): Clear TREE_CONSTANT if not all constant. From-SVN: r184876
Jason Merrill committed -
* mangle.c (write_nested_name): Use decl_mangling_context. (write_prefix, write_template_prefix): Likewise. From-SVN: r184875
Jason Merrill committed -
PR c++/36797 * mangle.c (write_expression): Improve diagnostic for TRAIT_EXPR. From-SVN: r184874
Jason Merrill committed -
* class.c (add_method): Always build an OVERLOAD for using-decls. * search.c (lookup_member): Handle getting an OVERLOAD for a single function. From-SVN: r184873
Jason Merrill committed -
From-SVN: r184872
GCC Administrator committed
-
- 03 Mar, 2012 13 commits
-
-
* config/sh/sh.md (abssi2): Add TARGET_SH1 condition. From-SVN: r184867
Kaz Kojima committed -
* config/sh/sh.c (sh_dwarf_register_span): Don't apply DBX_REGISTER_NUMBER. From-SVN: r184866
Kaz Kojima committed -
* config/sh/sh.c (shiftcosts): Return MAX_COST when the first operand is CONST_INT. Take COSTS_N_INSNS into account. (sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value of shiftcosts. From-SVN: r184865
Kaz Kojima committed -
PR fortran/52313 * module.c (gfc_use_module): Improve error messages. From-SVN: r184864
Francois-Xavier Coudert committed -
2012-03-03 Tobias Burnus <burnus@net-b.de> PR fortran/48820 * resolve.c (resolve_actual_arglist): Properly reset assumed_type_expr_allowed. 2012-03-03 Tobias Burnus <burnus@net-b.de> PR fortran/48820 * gfortran.dg/assumed_type_3.f90: Undo previous commit. From-SVN: r184863
Tobias Burnus committed -
optabs.c (expand_atomic_test_and_set): Honor atomic_test_and_set_trueval even when atomic_test_and_set optab is not in use. * optabs.c (expand_atomic_test_and_set): Honor atomic_test_and_set_trueval even when atomic_test_and_set optab is not in use. From-SVN: r184862
Richard Henderson committed -
From-SVN: r184860
Joseph Myers committed -
2012-03-03 H.J. Lu <hongjiu.lu@intel.com> * init.c (__gnat_adjust_context_for_raise): Also check "orq $0x0,(%esp)" for x32. * link.c (__gnat_default_libgcc_subdir): set to libx32 for x32. * gcc-interface/Makefile.in (arch): Set to x32 if MULTISUBDIR is /x32. Support x32. From-SVN: r184859
H.J. Lu committed -
2012-03-03 Tobias Burnus <burnus@net-b.de> * lang.opt (Wc-binding-type): New flag. * options.c (gfc_init_options, gfc_handle_option): Handle it. * invoke.texi (Wc-binding-type): Document it. * gfortran.h (gfc_option_t): Add warn_c_binding_type. * decl.c (verify_bind_c_sym): Handle -Wc-binding-type. * symbol.c (gfc_set_default_type, verify_bind_c_derived_type): Ditto. 2012-03-03 Tobias Burnus <burnus@net-b.de> * gfortran.dg/bind_c_dts_4.f03: Add dg-options -Wc-binding-type. * gfortran.dg/bind_c_implicit_vars.f03: Ditto. * gfortran.dg/bind_c_usage_8.f03: Ditto. * gfortran.dg/c_kind_tests_2.f03: Ditto. * gfortran.dg/class_30.f90: Remove dg-warning line. * gfortran.dg/bind_c_usage_25.f90: New. From-SVN: r184858
Tobias Burnus committed -
2012-03-03 Tobias Burnus <burnus@net-b.de> PR fortran/48820 * gfortran.dg/assumed_type_1.f90: Correct dg-error. * gfortran.dg/assumed_type_3.f90: Correct dg-error. * gfortran.dg/assumed_type_4.f90: Correct dg-error. From-SVN: r184856
Tobias Burnus committed -
From-SVN: r184854
Joseph Myers committed -
2012-03-03 Tobias Burnus <burnus@net-b.de> PR fortran/48820 * decl.c (gfc_match_decl_type_spec): Support type(*). (gfc_verify_c_interop): Allow type(*). * dump-parse-tree.c (show_typespec): Handle type(*). * expr.c (gfc_copy_expr): Ditto. * interface.c (compare_type_rank, compare_parameter, compare_actual_formal, gfc_procedure_use): Ditto. * libgfortran.h (bt): Add BT_ASSUMED. * misc.c (gfc_basic_typename, gfc_typename): Handle type(*). * module.c (bt_types): Ditto. * resolve.c (assumed_type_expr_allowed): New static variable. (resolve_actual_arglist, resolve_variable, resolve_symbol): Handle type(*). * trans-expr.c (gfc_conv_procedure_call): Ditto. * trans-types.c (gfc_typenode_for_spec, gfc_get_dtype): Ditto. 2012-03-03 Tobias Burnus <burnus@net-b.de> PR fortran/48820 * gfortran.dg/assumed_type_1.f90: New. * gfortran.dg/assumed_type_2.f90: New. * gfortran.dg/assumed_type_3.f90: New. * gfortran.dg/assumed_type_4.f90: New. From-SVN: r184852
Tobias Burnus committed -
From-SVN: r184849
GCC Administrator committed
-
- 02 Mar, 2012 10 commits
-
-
PR target/48596 PR target/48806 * config/sh/sh.c (sh_register_move_cost): Increase cost between GENERAL_REGS and FP_REGS for SImode. From-SVN: r184844
Kaz Kojima committed -
2012-03-02 Paolo Carlini <paolo.carlini@oracle.com> * include/std/limits (numeric_limits): Fix returns per C++11. * testsuite/18_support/numeric_limits/primary.cc: New. From-SVN: r184837
Paolo Carlini committed -
From-SVN: r184830
Diego Novillo committed -
PR target/49486 * config/sh/sh.md (negdi2): Add TARGET_SH1 condition. (absdi2): New expander. (*absdi2, *negabsdi2, negdi_cond): New insns and splits. * gcc.target/sh/pr49468-si.c: Skip unsupported test for SH64. * gcc.target/sh/pr49468-di.c: New. From-SVN: r184829
Oleg Endo committed -
From-SVN: r184828
Ian Lance Taylor committed -
* config/sh/sync.md (atomic_exchange<mode>): New expander. (atomic_exchange<mode>_soft): New insn. From-SVN: r184827
Oleg Endo committed -
* config/sh/sync.md: Update copyright notice dates. (atomic_compare_and_swap<mode>): Use SImode for return value instead of QImode. (atomic_compare_and_swap<mode>_soft): Likewise. From-SVN: r184826
Oleg Endo committed -
PR target/31640 * config/sh/sh.h (LOOP_ALIGN): Move logic to sh_loop_align. * config/sh/sh.c: Update copyright notice dates. (sh_loop_align): Add logic from LOOP_ALIGN. Don't disable loop alignment for TARGET_HARD_SH4. (sh_option_override): Reduce default function alignment. Set loop alignment to 4 bytes when not optimizing for size. From-SVN: r184825
Oleg Endo committed -
From Rainer Orth. From-SVN: r184823
Ian Lance Taylor committed -
This fixes an edge case in parsing summary lines. Some times, the description field is missing (e.g., 'FAIL: libstdc++/abi_check'), so the space that the pattern was looking for does not exist. I've changed it to match any whitespace, which includes '\n'. I also made it print the line that it fails to parse, in case there are other problems like this in the future. 2012-03-02 Diego Novillo <dnovillo@google.com> * testsuite-management/validate_failures.py (class TestResult): Fix match pattern for the summary line. If there is a parsing failure, show the line we failed to parse. From-SVN: r184822
Diego Novillo committed
-