- 16 Oct, 2009 21 commits
-
-
* 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 -
gimple.c (iterative_hash_gimple_type): For integer types also hash their minimum and maximum values and the string flag. 2009-10-16 Richard Guenther <rguenther@suse.de> * gimple.c (iterative_hash_gimple_type): For integer types also hash their minimum and maximum values and the string flag. For array types hash their domain and the string flag. From-SVN: r152899
Richard Guenther committed -
2009-10-16 Richard Guenther <rguenther@suse.de> * gimple.c (gimple_types_compatible_p): Restrict completing types to record or unions. Simplify completion. Do not merge records or unions with different TYPE_STRUCTURAL_EQUALITY_P tag. (iterative_hash_gimple_type): Restrict non-recursing into pointer targets for records and unions. From-SVN: r152898
Richard Guenther committed -
PR debug/41717 * cfgexpand.c (expand_debug_expr): Handle CONJ_EXPR. * dwarf2out.c (mem_loc_descriptor): Don't handle POST_INT/POST_DEC/POST_MODIFY like SUBREG. For SUBREG punt if it is not lowpart subreg or if inner mode isn't MODE_INT. * gcc.dg/debug/pr41717.c: New test. From-SVN: r152897
Jakub Jelinek committed -
2009-10-16 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/s390/s390.c (s390_z10_optimize_cmp): Skip notes when investigating previous or next insns. From-SVN: r152896
Andreas Krebbel committed -
2009-10-15 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/40654 PR libstdc++/40826 * src/atomic.cc (atomic_flag_test_and_set_explicit): Add static_cast from base to derived. (atomic_flag_clear_explicit): Same. * include/bits/atomic_2.h (__atomic2::atomic_flag): Public derivation. Remove value type constructor. * include/bits/atomic_0.h (__atomic0::atomic_flag): Same. * include/std/future (_Future_state): Use ATOMIC_FLAG_INIT to initialized the atomic_flag member. From-SVN: r152895
Benjamin Kosnik committed -
From-SVN: r152894
Jerry DeLisle committed -
From-SVN: r152893
Eric Botcazou committed -
2009-10-16 Wolfgang Gellerich <gellerich@de.ibm.com> * config/s390/s390.md (atype): Added missing values. From-SVN: r152891
Wolfgang Gellerich committed -
2009-10-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/41648 PR fortran/41656 * trans-expr.c (select_class_proc): Convert the expression for the vindex, carried on the first member of the esym list. * gfortran.h : Add the vindex field to the esym_list structure. and eliminate the class_object field. * resolve.c (check_class_members): Remove the setting of the class_object field. (vindex_expr): New function. (get_class_from_expr): New function. (resolve_class_compcall): Call the above to find the ultimate class or derived component. If derived, do not generate the esym list. Add and expression for the vindex to the esym list by calling the above. (resolve_class_typebound_call): The same. 2009-10-16 Paul Thomas <pault@gcc.gnu.org> PR fortran/41648 * gfortran.dg/dynamic_dispatch_4.f03 : New test. PR fortran/41656 * gfortran.dg/dynamic_dispatch_5.f03 : New test. From-SVN: r152890
Paul Thomas committed -
From-SVN: r152888
Daniel Gutson committed -
From-SVN: r152887
GCC Administrator committed
-
- 15 Oct, 2009 19 commits
-
-
PR target/41702 * pa.md (casesi): Use sign extended index in call to gen_casesi64p. (casesi64p): Update pattern to reflect above. From-SVN: r152882
John David Anglin committed -
From-SVN: r152877
Daniel Gutson committed -
2009-10-15 Steve Ellcey <sje@cup.hp.com> PR rtl-optimization/41697 * sel-sched-ir.h (_eligible_successor_edge_p): Check successor count. From-SVN: r152872
Steve Ellcey committed -
From-SVN: r152869
H.J. Lu committed -
From-SVN: r152867
Michael Meissner committed -
2009-10-15 H.J. Lu <hongjiu.lu@intel.com> * config/i386/linux.h (ASM_SPEC): Add --32. From-SVN: r152865
H.J. Lu committed -
* lib/target-supports.exp (add_options_for_bind_pic_locally): New. * gcc.dg/tree-ssa/ipa-cp-1.c: Bind pic locally. From-SVN: r152857
Kaveh R. Ghazi committed -
From-SVN: r152855
Steven G. Kargl committed -
2009-10-15 Steven G. Kargl <kargl@gcc.gnu.org> * intrinsic.texi: Explicitly state that ETIME and DTIME take REAL(4) arguments. Fix nearby typographically errors where /leq was used instead of \leq. From-SVN: r152854
Steven G. Kargl committed -
* dwarf2out.c (dwarf_tag_name): Handle DW_TAG_rvalue_reference_type and DW_TAG_template_alias. (dwarf_attr_name): Handle DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr, DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by, DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded, DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required, DW_AT_GNU_shared_locks_required and DW_AT_GNU_odr_signature. (dwarf_form_name): Handle DW_FORM_sec_offset, DW_FORM_exprloc, DW_FORM_flag_present and DW_FORM_ref_sig8. (output_signature): Only print name on the first byte. (output_die): Likewise for dw_val_class_data8. * include/dwarf2.h (DW_LANG_Python): Add comment that it is a DWARF 4 addition. From-SVN: r152853
Jakub Jelinek committed -
2009-10-15 Alexander Monakov <amonakov@ispras.ru> * doc/invoke.texi: Clarify that most optimizations are not enabled without -O. From-SVN: r152852
Alexander Monakov committed -
2009-10-15 Richard Guenther <rguenther@suse.de> PR lto/41668 * gimple.c (compare_type_names_p): Handle anonymous names differently based on new mode argument. (gimple_types_compatible_p): For structs also compare the tags. (iterative_hash_type_name): Rename to ... (iterative_hash_name): ... this. Hash all names. (iterative_hash_gimple_type): Fix hashing the struct tag of pointer targets. Hash field decl names. From-SVN: r152851
Richard Guenther committed -
2009-10-15 Richard Guenther <rguenther@suse.de> PR lto/41669 * gimple.c (gimple_get_alias_set): Avoid recursing on invalid type topology. * gcc.dg/lto/20091015-1_0.c: New testcase. * gcc.dg/lto/20091015-1_1.c: Likewise. * gcc.dg/lto/20091015-1_2.c: Likewise. * gcc.dg/lto/20091015-1_a.h: Likewise. * gcc.dg/lto/20091015-1_b.h: Likewise. From-SVN: r152850
Richard Guenther committed -
2009-10-15 Steve Ellcey <sje@cup.hp.com> * gcc.dg/torture/pr41555.c: Add -std=c99 option. From-SVN: r152848
Steve Ellcey committed -
2009-10-15 Andrew Pinski <andrew_pinski@playstation.sony.com> * config/spu/spu.c (get_branch_target): Use extract_asm_operands. From-SVN: r152847
Andrew Pinski committed -
2009-10-15 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (resolution_file): New. (free_1): Update comment. (free_2): Free resolution_file. (write_resolution): Write resolution to specified file. Use the syms array from the symbol table. (all_symbols_read_handler): Delay call to free_1 past call to write_resolution. (process_option): Add a -resolution option. From-SVN: r152846
Rafael Avila de Espindola committed -
* libgnuintl.h (_INTL_MAY_RETURN_STRING_ARG, gettext, dgettext) (dcgettext, ngettext, dngettext, dcngettext): Backport changes from current gettext to provide GCC format_arg attributes. From-SVN: r152842
Jim Blandy committed -
2009-10-15 Richard Guenther <rguenther@suse.de> * tree.c (free_lang_data_in_decl): Free DECL_FCONTEXT. From-SVN: r152841
Richard Guenther committed -
option-defaults.h (OPTION_DEFAULT_SPECS): Don't add --with-tune{,-32,-64} configured default for -mtune if... * config/rs6000/option-defaults.h (OPTION_DEFAULT_SPECS): Don't add --with-tune{,-32,-64} configured default for -mtune if explicit -mcpu is used. From-SVN: r152799
Jakub Jelinek committed
-