- 12 Jun, 2010 7 commits
-
-
gcc/ * config.gcc (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*): Add crtfastmath.o to extra_parts. * config/mips/crtfastmath.c: New. * config/mips/linux.h (ENDFILE_SPEC): New. libgcc/ * config.host (mips64*-*-linux*, mips*-*-linux*): Add mips/t-crtfm to tmake_file. Add crtfastmath.o to extra_parts. * config/mips/t-crtfm: New. From-SVN: r160655
Kazu Hirata committed -
2010-06-12 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (gcc_type_for_interval): Do not pass old_type in parameter. (gcc_type_for_value): Update call to gcc_type_for_interval. (compute_type_for_level_1): Renamed compute_type_for_level. Update call to gcc_type_for_interval. From-SVN: r160649
Sebastian Pop committed -
* trans-decl.c (gfc_build_intrinsic_function_decls): Fix return type. * trans-intrinsic.c (gfc_conv_intrinsic_fdate): Fix argument type. (gfc_conv_intrinsic_ttynam): Likewise. (gfc_conv_intrinsic_trim): Likewise. From-SVN: r160648
Francois-Xavier Coudert committed -
2010-06-12 Janus Weil <janus@gcc.gnu.org> PR fortran/40117 * decl.c (match_procedure_in_type): Allow procedure lists (F08). 2010-06-12 Janus Weil <janus@gcc.gnu.org> PR fortran/40117 * gfortran.dg/typebound_proc_4.f03: Modified error message. * gfortran.dg/typebound_proc_14.f03: New. * gfortran.dg/typebound_proc_15.f03: New. From-SVN: r160646
Janus Weil committed -
From-SVN: r160644
GCC Administrator committed -
* common.opt (Wstrict-aliasing=, Wstrict-overflow=, fabi-version=, flto-compression-level=, ftree-parallelize-loops=): Add RejectNegative. testsuite: * gcc.dg/opts-1.c: New test. From-SVN: r160640
Joseph Myers committed -
* opts-common.c: Include options.h. (integral_argument): Move from opts.c. (decode_cmdline_option): New. Based on read_cmdline_option. * opts.c (integral_argument): Move to opts-common.c. (read_cmdline_option): Move most contents to decode_cmdline_option. Use %qs in diagnostics. * opts.h (CL_ERR_DISABLED, CL_ERR_MISSING_ARG, CL_ERR_WRONG_LANG, CL_ERR_UINT_ARG, struct cl_decoded_option, integral_argument, decode_cmdline_option): New. testsuite: * gcc.dg/funroll-loops-all.c: Update expected error. From-SVN: r160639
Joseph Myers committed
-
- 11 Jun, 2010 32 commits
-
-
PR target/44481 * config/i386/i386.md (UNSPEC_PARITY): New unspec. (paritydi2_cmp): Use UNSPEC_PARITY unspec insted of parity RTX. (partiysi2_cmp): Ditto. (*partiyhi2_cmp): Ditto. (*parityqi2_cmp): Remove. testsuite/ChangeLog: PR target/44481 * gcc.target/i386/pr44481.c: New test. From-SVN: r160638
Uros Bizjak committed -
* bitmap.h (+bmp_iter_next_bit): New. (bmp_iter_set, bmp_iter_and, bmp_iter_and_compl): Use it. From-SVN: r160637
Jan Hubicka committed -
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the computed cost. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r160636
Sandra Loosemore committed -
From-SVN: r160633
Eric Botcazou committed -
PR rtl-optimization/42461 * gcc.dg/pr42461.c: Compile at -O2 instead of -O. From-SVN: r160632
Eric Botcazou committed -
2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> c-family/ * c-common.c (conversion_warning): Warn at expression location. From-SVN: r160631
Manuel López-Ibáñez committed -
From-SVN: r160630
Alexandre Oliva committed -
From-SVN: r160629
Francois-Xavier Coudert committed -
* mathbuiltins.def: Add builtins that do not directly correspond to a Fortran intrinsic, with new macro OTHER_BUILTIN. * f95-lang.c (gfc_init_builtin_functions): Define OTHER_BUILTIN. * trans-intrinsic.c (gfc_intrinsic_map_t): Remove code_{r,c}{4,8,10,16} fields. Add {,complex}{float,double,long_double}_built_in fields. (gfc_intrinsic_map): Adjust definitions of DEFINE_MATH_BUILTIN, DEFINE_MATH_BUILTIN_C and LIB_FUNCTION accordingly. Add definition of OTHER_BUILTIN. (real_compnt_info): Remove unused struct. (builtin_decl_for_precision, builtin_decl_for_float_kind): New functions. (build_round_expr): Call builtin_decl_for_precision instead of series of if-else. (gfc_conv_intrinsic_aint): Call builtin_decl_for_float_kind instead of a switch. (gfc_build_intrinsic_lib_fndecls): Match {real,complex}{4,8,10,16}decl into the C-style built_in_decls. (gfc_get_intrinsic_lib_fndecl): Do not hardcode floating-point kinds. (gfc_conv_intrinsic_lib_function): Go through all the extended gfc_intrinsic_map. (gfc_trans_same_strlen_check): Call builtin_decl_for_float_kind instead of a switch. (gfc_conv_intrinsic_abs): Likewise. (gfc_conv_intrinsic_mod): Likewise. (gfc_conv_intrinsic_sign): Likewise. (gfc_conv_intrinsic_fraction): Likewise. (gfc_conv_intrinsic_nearest): Likewise. (gfc_conv_intrinsic_spacing): Likewise. (gfc_conv_intrinsic_rrspacing): Likewise. (gfc_conv_intrinsic_scale): Likewise. (gfc_conv_intrinsic_set_exponent): Likewise. From-SVN: r160628
Francois-Xavier Coudert committed -
* config/i386/i386.md (unspec): New define_c_enum. (unspecv): Ditto. From-SVN: r160627
Uros Bizjak committed -
* include/cpplib.h (struct cpp_callbacks): Add user_builtin_macro callback. (enum cpp_builtin_type): Add BT_FIRST_USER and BT_LAST_USER. (cpp_macro_definition): Remove const qual from second argument. * macro.c (enter_macro_context): Call user_builtin_macro callback for NODE_BUILTIN !NODE_USED macros. (warn_of_redefinition): Likewise. Remove const qual from second argument. (cpp_macro_definition): Likewise. * pch.c (write_macdef, save_macros): Call user_builtin_macro callback for NODE_BUILTIN !NODE_USED macros. * c-family/c-cppbuiltin.c: Include cpp-id-data.h. (lazy_hex_fp_values, lazy_hex_fp_value_count): New variables. (lazy_hex_fp_value): New function. (builtin_define_with_hex_fp_value): Provide definitions lazily. * Makefile.in (c-family/c-cppbuiltin.o): Depend on $(CPP_ID_DATA_H). From-SVN: r160626
Jakub Jelinek committed -
2010-06-11 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/44483 * tree-if-conv.c (bb_predicate_s): New struct. (bb_predicate_p): New. (bb_has_predicate): New. (bb_predicate): New. (set_bb_predicate): New. (bb_predicate_gimplified_stmts): New. (set_bb_predicate_gimplified_stmts): New. (add_bb_predicate_gimplified_stmts): New. (init_bb_predicate): New. (free_bb_predicate): New. (is_predicated): Use bb_predicate. (add_to_predicate_list): Use bb_predicate and set_bb_predicate. (predicate_bbs): Same. Gimplify the condition of the basic blocks before processing their successors. (clean_predicate_lists): Removed. (find_phi_replacement_condition): Use bb_predicate. (process_phi_nodes): Renamed ifconvert_phi_nodes. Avoid useless computations. (insert_gimplified_predicates): New. (combine_blocks): Call insert_gimplified_predicates. (tree_if_conversion): Call free_bb_predicate instead of clean_predicate_lists. * gcc.dg/tree-ssa/pr44483.c: New. From-SVN: r160625
Sebastian Pop committed -
2010-06-11 Paul Brook <paul@codesourcery.com> gcc/testsuite/ * g++.dg/other/arm-neon-1.C: New test. From-SVN: r160623
Paul Brook committed -
2010-06-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/42051 PR fortran/43896 * trans-expr.c (gfc_conv_derived_to_class): Handle array-valued functions with CLASS formal arguments. 2010-06-11 Paul Thomas <pault@gcc.gnu.org> PR fortran/42051 PR fortran/43896 * gfortran.dg/class_23.f03: New test. From-SVN: r160622
Paul Thomas committed -
2010-06-11 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/shared_ptr.h (hash<shared_ptr>): Add. * include/bits/shared_ptr_base.h (hash<__shared_ptr>): Likewise. * include/bits/unique_ptr.h (hash<unique_ptr>): Likewise. * testsuite/20_util/shared_ptr/hash/1.cc: New. * testsuite/20_util/unique_ptr/hash/1.cc: Likewise. From-SVN: r160621
Paolo Carlini committed -
2010-06-11 Jonathan Wakely <jwakely.gcc@gmail.com> * doc/xml/manual/appendix_contributing.xml: Indent code examples to match original C++STYLE document. Fix typos and syntax errors. Add some basic docbook markup. * doc/html/*: Regenerate. From-SVN: r160620
Jonathan Wakely committed -
2010-10-11 Paul Brook <paul@codesourcery.com> * doc/invoke.texi: Document ARM -mcpu=cortex-m4. * config/arm/arm.c (all_architectures): Change v7e-m default to cortexm4. * config/arm/arm-cores.def: Add cortex-m4. * config/arm/arm-tune.md: Regenerate. From-SVN: r160618
Paul Brook committed -
2010-06-11 Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/44268 * doc/xml/manual/abi.xml: Fix libgcc version for hppa-linux. From-SVN: r160617
Jonathan Wakely committed -
* ipa-pure-const.c (special_builtlin_state): New function. (check_call): Use it instead of special casign BUILT_IN_RETURN. (propagate_pure_const): Use it. * gcc.dg/ipa/pure-const-2.c: New testcase. From-SVN: r160615
Jan Hubicka committed -
From-SVN: r160614
Jan Hubicka committed -
2010-06-11 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/tuple (_Swallow_assign::operator=): Add const. (ignore): Replace anonymous namespace member with const instance. From-SVN: r160613
Jonathan Wakely committed -
* df-problems.c (df_live_scratch): Convert to bitmap_head. (df_live_alloc): Initialize df_live_scratch when initializing problem_data. (df_live_transfer_function): Update uses of df_live_scratch. (df_live_free): Free problem_data; clear df_live_scratch before releasing the obstack. (df_md_free): Free problem data. From-SVN: r160612
Jan Hubicka committed -
* doc/invoke.texi (Wsuggest-attribute): Document. (Wmissing-noreturn): Remove. * ipa-pure-const.c (warn_function_noreturn): New function. * opts.c (decode_options): Set warn_suggest_attribute_noreturn on warn_missing_noreturn. * common.opt (Wsuggest-attribute=noreturn): New. * tree-flow.h (warn_function_noreturn): Declare. * tree-cfg.c (execute_warn_function_noreturn): Use warn_function_noreturn. (gate_warn_function_noreturn): New. (pass_warn_function_noreturn): Update. From-SVN: r160606
Jan Hubicka committed -
2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> * c-typeck.c (handle_warn_cast_qual): Add loc parameter. Improve warning message. (build_c_cast): Pass location to handle_warn_cast_qual. From-SVN: r160601
Manuel López-Ibáñez committed -
* config/i386/i386.md (pro_epilogue_adjust_stack_1) <TYPE_ALU>: Assert that operand 0 == operand 1. Use x86_maybe_negate_const_int to output insn mnemonic. (pro_epilogue_adjust_stack_rex64) <TYPE_ALU>: Ditto. From-SVN: r160600
Uros Bizjak committed -
gcc/ChangeLog: Fix bootstap on mips * dwarf2out.c (is_naming_typedef_dec): Built-in TYPE_DECLs cannot be naming typedefs. gcc/testsuite/ChangeLog: Fix MIPS bootstrap * g++.dg/other/typedef4.C: New test. From-SVN: r160599
Dodji Seketeli committed -
2010-06-11 Kai Tietz <kai.tietz@onevision.com> * system.h (helper_const_non_const_cast): New inline for gcc version <= 4.0. (CONST_CAST2): For gcc version <= 4.0 use new helper to do const/non-const casting. From-SVN: r160598
Kai Tietz committed -
From-SVN: r160595
Jan Beulich committed -
2010-06-11 Shujing Zhao <pearly.zhao@oracle.com> * cp-tree.h (expr_list_kind): New type. (impl_conv_rhs): New type. (build_x_compound_expr_from_list, convert_for_initialization): Adjust prototype. (typeck.c (convert_arguments): Use impl_conv_rhs and emit the diagnostics for easy translation. Change caller. (convert_for_initialization): Use impl_conv_rhs and change caller. (build_x_compound_expr_from_list): Use expr_list_kind and emit the diagnostics for easy translation. Change caller. * decl.c (bad_spec_place): New enum. (bad_specifiers): Use it and emit the diagnostics for easy translation. Change caller. * pt.c (coerce_template_parms): Put the diagnostics in full sentence. From-SVN: r160591
Shujing Zhao committed -
2010-06-10 Janus Weil <janus@gcc.gnu.org> PR fortran/44207 * resolve.c (conformable_arrays): Handle allocatable components. 2010-06-10 Janus Weil <janus@gcc.gnu.org> PR fortran/44207 * gfortran.dg/allocate_alloc_opt_7.f90: New test. From-SVN: r160589
Janus Weil committed -
From-SVN: r160588
GCC Administrator committed -
2010-06-10 Steven G. Kargl <kargl@gcc.gnu.org> * resolve.c (resolve_operator): Fix whitespace. From-SVN: r160584
Steven G. Kargl committed
-
- 10 Jun, 2010 1 commit
-
-
* configure.ac: Set SYSTEMSPEC so that -allow_stack_execute is not passed to the linker for -dynamiclib or -bundle on darwin. * configure: Regenerate. From-SVN: r160583
Peter O'Gorman committed
-