- 19 Oct, 2009 1 commit
-
-
From-SVN: r152970
GCC Administrator committed
-
- 18 Oct, 2009 1 commit
-
-
From-SVN: r152964
GCC Administrator committed
-
- 17 Oct, 2009 25 commits
-
-
2009-10-17 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> PR middle-end/41738 * optabs.c (expand_binop): Make mode of shift count expression mode of shift count not target. Remove indent nit. From-SVN: r152961
Andy Hutchinson committed -
* tree-nested.c (convert_nonlocal_reference_stmt) <GIMPLE_COND>: New case. Force using values to replace references within the statement. (convert_local_reference_stmt): Likewise. From-SVN: r152960
Eric Botcazou committed -
* gimple-low.c (lower_stmt) <GIMPLE_CALL>: If the call is noreturn, remove a subsequent GOTO or RETURN statement. From-SVN: r152959
Eric Botcazou committed -
2009-10-17 Andy Hutchinson <hutchinsonandy@aim.com> * config/avr.md (*movqi): Add zero as equally preferable constraint as general register. (*movhi): Ditto. From-SVN: r152958
Andy Hutchinson committed -
2009-10-17 Janus Weil <janus@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/41608 * decl.c (gfc_match_data_decl): Add BT_CLASS for undefined type and empty type errors. * parse.c (gfc_build_block_ns): Only set recursive if parent ns has a proc_name. PR fortran/41629 PR fortran/41618 PR fortran/41587 * gfortran.h : Add class_ok bitfield to symbol_attr. * decl.c (build_sym): Set attr.class_ok if dummy, pointer or allocatable. (build_struct): Use gfc_try 't' to carry errors past the call to encapsulate_class_symbol. (attr_decl1): For a CLASS object, apply the new attribute to the data component. * match.c (gfc_match_select_type): Set attr.class_ok for an assigned selector. * resolve.c (resolve_fl_variable_derived): Check a CLASS object is dummy, pointer or allocatable by testing the class_ok and the use_assoc attribute. 2009-10-17 Janus Weil <janus@gcc.gnu.org> Paul Thomas <pault@gcc.gnu.org> PR fortran/41629 * gfortran.dg/class_6.f90: New test. PR fortran/41608 PR fortran/41587 * gfortran.dg/class_7.f90: New test. PR fortran/41618 * gfortran.dg/class_8.f90: New test. Co-Authored-By: Paul Thomas <pault@gcc.gnu.org> From-SVN: r152955
Janus Weil committed -
From-SVN: r152954
Eric Botcazou committed -
2009-10-17 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (lto_input_location): Try to reuse previous maps. From-SVN: r152953
Richard Guenther committed -
2009-10-17 Richard Guenther <rguenther@suse.de> * gcc.dg/lto/20091017-1_0.c: New testcase. * gcc.dg/lto/20091017-1_1.c: Likewise. From-SVN: r152952
Richard Guenther committed -
From-SVN: r152951
Joseph Myers committed -
From-SVN: r152950
Joseph Myers committed -
From-SVN: r152938
Eric Botcazou committed -
2009-10-17 Richard Guenther <rguenther@suse.de> * lto-streamer-in.c (input_gimple_stmt): Fixup FIELD_DECL operands in COMPONENT_REFs. From-SVN: r152937
Richard Guenther committed -
From-SVN: r152936
Eric Botcazou committed -
* gcc-interface/utils.c (convert): When converting to a padded type with an inner type of self-referential size, pad the expression before doing the unchecked conversion. From-SVN: r152935
Eric Botcazou committed -
* gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Make sure the element type is consistent. From-SVN: r152934
Eric Botcazou committed -
* targhooks.c (default_libcall_value): Don't use LIBCALL_VALUE macro if not defined. Change type of second argument to const_rtx. (default_function_value): Call gcc_unreachable if FUNCTION_VALUE macro not defined. * targhooks.h (default_libcall_value): Update prototype. * target.h (struct gcc_target): Change type of second argument of libcall_value to const_rtx. * config/arm/arm.c (arm_libcall_value): Change type of second argument to const_rtx. (arm_libcall_uses_aapcs_base): Change type of argument to const_rtx. * doc/tm.texi (TARGET_LIBCALL_VALUE): Revise documentation. From-SVN: r152933
Anatoly Sokolov committed -
From-SVN: r152932
Eric Botcazou committed -
libgomp/: PR libgomp/41418 * configure.ac: Set FC to "no" if $GFORTRAN starts with "no" or a hyphen (happens with fortran language disabled). * configure: Regenerate. From-SVN: r152931
Ralf Wildenhues committed -
PR debug/40521 * debug.h (struct gcc_debug_hooks): Add assembly_start hook. * cgraphunit.c (cgraph_optimize): Call it. * dwarf2out.c (dwarf2out_init): Move .cfi_sections printing into... (dwarf2out_assembly_start): ... here. New hook. (dwarf2out_debug_hooks): Add dwarf2out_assembly_start. * debug.c (do_nothing_debug_hooks): Do nothing for assembly_start hook. * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_assembly_start. (vmsdbgout_assembly_start): New hook. From-SVN: r152930
Jakub Jelinek committed -
From-SVN: r152929
Alexandre Oliva committed -
* print-rtl.c (print_rtx): Print locators in asm_operands and asm_input. From-SVN: r152928
Alexandre Oliva committed -
PR debug/41535 * sched-deps.c (depl_on_debug_p): New. (attach_dep_link): Reject debug deps before nondebug deps. (add_to_deps_list): Insert debug deps after nondebug deps. (sd_lists_empty_p): Stop at first nonempty list. Disregard debug deps. (sd_add_dep): Do not reject debug deps. (add_insn_mem_dependence): Don't count debug deps. (remove_from_deps): Likewise. (sched_analyze_2): Set up mem deps on debug insns. (sched_analyze_insn): Record reg uses for deps on debug insns. * haifa-sched.c (schedule_insn): Reset deferred debug insn. Don't try_ready nondebug insn after debug insn. * ddg.c (create_ddg_dep_from_intra_loop_link, create_ddg_dep_no_link): Don't reject debug deps. From-SVN: r152927
Alexandre Oliva committed -
PR c++/38888 * error.c (dump_template_bindings): Wrap argument packs in {}. From-SVN: r152925
Jason Merrill committed -
PR c++/38798 * parser.c (CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS): New. (cp_parser_type_specifier): Don't try to parse a class-specifier or enum-specifier in that case. (cp_parser_trailing_type_id): New. (cp_parser_late_return_type_opt): Call it. (cp_parser_type_id_1): Add is_trailing_return parm. (cp_parser_type_specifier_seq): Likewise. From-SVN: r152924
Jason Merrill committed -
From-SVN: r152923
GCC Administrator committed
-
- 16 Oct, 2009 13 commits
-
-
2009-10-16 Richard Guenther <rguenther@suse.de> * lto-symtab.c (merge_incomplete_and_complete_type): Remove. (maybe_merge_incomplete_and_complete_type): Likewise. (lto_symtab_merge): Do not call them. Do not warn for complete vs. incomplete compatible types. (lto_symtab_merge_decls_2): Simplify. * gimple.c (gimple_force_type_merge): Remove. (gimple_types_compatible_p): Make it static. * gimple.h (gimple_force_type_merge): Remove. (gimple_types_compatible_p): Likewise. From-SVN: r152920
Richard Guenther committed -
2009-10-16 Janus Weil <janus@gcc.gnu.org> PR fortran/41719 * resolve.c (resolve_ordinary_assign): Reject intrinsic assignments to polymorphic variables. 2009-10-16 Janus Weil <janus@gcc.gnu.org> PR fortran/41719 * gfortran.dg/class_5.f03: New test case. * gfortran.dg/typebound_operator_2.f03: Fixing invalid test case. * gfortran.dg/typebound_operator_4.f03: Ditto. From-SVN: r152919
Janus Weil committed -
2009-10-16 Benjamin Kosnik <bkoz@redhat.com> * include/c_compatibility/stdatomic.h: Include cstdatomic if __cplusplus. From-SVN: r152918
Benjamin Kosnik committed -
* gcc-interface/ada-tree.h (TYPE_FAT_POINTER_P): Swap with... (TYPE_IS_FAT_POINTER_P): ...this. (TYPE_THIN_POINTER_P): Rename into... (TYPE_IS_THIN_POINTER_P): ...this. (TYPE_FAT_OR_THIN_POINTER_P): Rename into... (TYPE_IS_FAT_OR_THIN_POINTER_P): ...this. (TYPE_IS_PADDING_P): Change definition, move old one to... (TYPE_PADDING_P): ...this. * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes. (get_unpadded_type): Likewise. (gnat_to_gnu_component_type): Likewise. (gnat_to_gnu_param): Likewise. (relate_alias_sets): Likewise. (make_packable_type): Likewise. (maybe_pad_type): Likewise. (gnat_to_gnu_field): Likewise. (is_variable_size): Likewise. (annotate_object): Likewise. (validate_size): Likewise. (set_rm_size): Likewise. (make_type_from_size): Likewise. (rm_size): Likewise. * gcc-interface/misc.c (gnat_print_type): Likewise. (gnat_get_alias_set): Likewise. * gcc-interface/trans.c (Identifier_to_gnu): Likewise. (Attribute_to_gnu): Likewise. (call_to_gnu): Likewise. (gnat_to_gnu): Likewise. (add_decl_expr): Likewise. (convert_with_check): Likewise. (addressable_p): Likewise. (maybe_implicit_deref): Likewise. (protect_multiple_eval): Likewise. (gnat_stabilize_reference_1): Likewise. * gcc-interface/utils.c (gnat_pushdecl): Likewise. (finish_record_type): Likewise. (rest_of_record_type_compilation): Likewise. (create_type_decl): Likewise. (gnat_types_compatible_p): Likewise. (build_template): Likewise. (convert_vms_descriptor64): Likewise. (convert_vms_descriptor32): Likewise. (build_unc_object_type_from_ptr): Likewise. (update_pointer_to): Likewise. (convert_to_fat_pointer): Likewise. (convert_to_fat_pointer): Likewise. (convert): Likewise. (remove_conversions): Likewise. (maybe_unconstrained_array): Likewise. (unchecked_convert): Likewise. (handle_vector_type_attribute): Likewise. * gcc-interface/utils2.c (build_binary_op): Likewise. (build_unary_op): Likewise. (build_allocator): Likewise. From-SVN: r152917
Eric Botcazou committed -
* exp_dbug.ads: Adjust type names in comments. * gcc-interface/decl.c (maybe_pad_type): Remove NAME_TRAILER parameter, add new IS_COMPONENT_TYPE parameter. Adjust. Remove dead code. (gnat_to_gnu_entity): Adjust for above change. (gnat_to_gnu_component_type): Likewise. (gnat_to_gnu_field): Likewise. * gcc-interface/trans.c (call_to_gnu): Likewise. Do not unnecessarily call max_size. * gcc-interface/utils.c (finish_record_type): Remove obsolete code. * gcc-interface/gigi.h (maybe_pad_type): Adjust prototype. From-SVN: r152916
Eric Botcazou committed -
* dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Cast DWARF2_ADDR_SIZE to int to avoid signed vs. unsigned warnings. From-SVN: r152915
Jakub Jelinek committed -
* g++.dg/ipa/iinline-1.C: Use dg-add-options bind_pic_locally. * g++.dg/other/first-global.C: Likewise. * g++.dg/parse/attr-externally-visible-1.C: Likewise. * g++.dg/torture/pr40323.C: Likewise. * g++.dg/tree-ssa/nothrow-1.C: Likewise. * gcc.dg/inline-33.c: Likewise. * gcc.dg/ipa/ipa-1.c: Likewise. * gcc.dg/ipa/ipa-2.c: Likewise. * gcc.dg/ipa/ipa-3.c: Likewise. * gcc.dg/ipa/ipa-4.c: Likewise. * gcc.dg/ipa/ipa-5.c: Likewise. * gcc.dg/ipa/ipa-7.c: Likewise. * gcc.dg/ipa/ipacost-2.c: Likewise. * gcc.dg/tree-ssa/inline-3.c: Likewise. * gcc.dg/tree-ssa/local-pure-const.c: Likewise. * gfortran.dg/whole_file_5.f90: Likewise. * gfortran.dg/whole_file_6.f90: Likewise. From-SVN: r152911
Kaveh R. Ghazi committed -
2009-10-16 Richard Guenther <rguenther@suse.de> PR tree-optimization/41728 * tree-ssa-dom.c (optimize_stmt): Mark the stmt modified if fold_stmt did anything. * gcc.c-torture/compile/pr41728.c: New testcase. From-SVN: r152910
Richard Guenther committed -
2009-10-16 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (message): New variable. (check): New function. (parse_table_entry, translate, write_resolution,add_output_files, exec_lto_wrapper,claim_file_handler, onload): Use check instead of assert. (cleanup_handler): Use check instead of assert. Remove the arguments file if it exists. From-SVN: r152906
Rafael Avila de Espindola committed -
2009-10-16 Richard Guenther <rguenther@suse.de> PR lto/41598 * gcc.dg/lto/20091016-1_0.c: New testcase. * gcc.dg/lto/20091016-1_1.c: Likewise. * gcc.dg/lto/20091016-1_a.h: Likewise. From-SVN: r152904
Richard Guenther committed -
2009-10-16 Richard Guenther <rguenther@suse.de> PR lto/41715 * lto-streamer-in.c (lto_input_tree_ref): Revert last change. (maybe_fixup_handled_component): New function. (input_gimple_stmt): Fixup mismatched decl replacements. lto/ * lto.c (lto_fixup_tree): Revert last change. * gfortran.dg/lto/20091015-1_0.f: New testcase. * gfortran.dg/lto/20091015-1_1.f: Likewise. * gfortran.dg/lto/20091015-1_2.f: Likewise. From-SVN: r152903
Richard Guenther committed -
2009-10-16 Richard Guenther <rguenther@suse.de> PR lto/41713 * lto-streamer-out.c (lto_output_tree_ref): Handle DEBUG_EXPR_DECL the same as VAR_DECL. * gfortran.dg/lto/20091016-1_0.f90: New testcase. From-SVN: r152902
Richard Guenther committed -
2009-10-16 Joel Sherrill <joel.sherrill@oarcorp.com> * s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t * s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown. From-SVN: r152900
Joel Sherrill committed
-