- 16 Oct, 2009 3 commits
-
-
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 25 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 -
2009-10-14 Benjamin Kosnik <bkoz@redhat.com> * doc/xml/authors.xml: Update. * doc/xml/manual/intro.xml: Move test section... * doc/xml/manual/appendix_porting.xml: ...here. * doc/xml/manual/diagnostics.xml: Edit. * doc/xml/manual/using.xml: Break out exception section. * doc/xml/manual/using_exceptions.xml: New. * doc/html: Regenerate. From-SVN: r152797
Benjamin Kosnik committed -
2009-10-14 Paolo Carlini <paolo.carlini@oracle.com> * config/abi/pre/gnu.ver: Export the _S_construct<> helpers. From-SVN: r152796
Paolo Carlini committed -
* config/h8300/h8300.c (F): New. (Fpa): New. (h8300_emit_stack_adjustment): Call them. (push): Likewise. (h8300_push_pop): Likewise. (h8300_expand_prologue): Likewise. * config/h8300/h8300.h (DWARF2_DEBUGGING_INFO): Define. (MUST_USE_SJLJ_EXCEPTIONS): Define. (INCOMING_RETURN_ADDR_RTX): Define. (INCOMING_FRAME_SP_OFFSET): Define. (DWARF_CIE_DATA_ALIGNMENT): Define. From-SVN: r152795
DJ Delorie committed -
basic_string.h (operator+=(initializer_list<>), [...]): Forward to the append overload taking a const CharT* pointer and a size... 2009-10-14 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/basic_string.h (operator+=(initializer_list<>), append(initializer_list<>)): Forward to the append overload taking a const CharT* pointer and a size, thus avoiding instantiating unnecessarily in the built library the overload taking a pair of iterators. (operator=(initializer_list<>), assign(initializer_list<>)): Likewise for assign. (insert(iterator, initializer_list<>): Likewise for insert. From-SVN: r152794
Paolo Carlini committed -
From-SVN: r152793
GCC Administrator committed -
2009-10-14 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/c++config: Do not disable extern templates for string in plain parallel-mode and in profile-mode; add comment explaining _GLIBCXX_EXTERN_TEMPLATE == -1. * testsuite/ext/profile/mutex_extensions.cc: Adjust dg-error line. From-SVN: r152790
Paolo Carlini committed
-
- 14 Oct, 2009 12 commits
-
-
2009-10-14 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/c++config: Do not disable extern templates for string in plain parallel-mode and in profile-mode; add comment explaining _GLIBCXX_EXTERN_TEMPLATE == -1. From-SVN: r152789
Paolo Carlini committed -
* stor-layout.c (place_field): Don't emit -Wpadded warnings for fields in builtin structs. (finalize_record_size): Likewise. * obj-c++.dg/layout-1.mm: Don't xfail dg-bogus on lp64, change line from 1 to 0. * obj-c++.dg/bitfield-1.mm: Likewise. * obj-c++.dg/bitfield-4.mm: Likewise. From-SVN: r152780
Jakub Jelinek committed -
re PR lto/41173 ([LTO] internal error: builtin function to __builtin_spe_mtspefscr already processed) 2009-10-14 Richard Guenther <rguenther@suse.de> PR lto/41173 * gcc.dg/lto/20091014-1_0.c: New testcase. From-SVN: r152778
Richard Guenther committed -
2009-10-14 Daniel Gutson <dgutson@codesourcery.com> gcc/ * config/arm/neon.md (neon_vshll_n<mode>): Checking Bounds fixed. gcc/testsuite/ * gcc.target/arm/neon/vfp-shift-a2t2.c: New test case. From-SVN: r152777
Daniel Gutson committed -
2009-10-14 Richard Guenther <rguenther@suse.de> * gimple.c (gtc_ob): New global. (struct type_pair_d): Replace pointers with type UIDs. (type_pair_hash): Adjust. (type_pair_eq): Likewise. (lookup_type_pair): Likewise. Allocate from an obstack. (gimple_force_type_merge): Adjust. (gimple_types_compatible_p): Likewise. (free_gimple_type_tables): Free the obstack. From-SVN: r152776
Richard Guenther committed -
PR testsuite/41707 * g++.dg/plugin/attribute_plugin-test-1.C: Expect the first warning on line 0 instead of 1. From-SVN: r152773
Jakub Jelinek committed -
* tree-parloops.c (separate_decls_in_region_debug_bind): Drop debug stmts setting DEBUG_EXPR_DECLs. * cfgexpand.c (expand_debug_expr): Ignore zero-length bitfields. Don't crash if mode1 is VOIDmode. From-SVN: r152772
Jakub Jelinek committed -
2009-09-26 Vladimir Makarov <vmakarov@redhat.com> * params.def (PARAM_IRA_LOOP_RESERVED_REGS): New. * params.h (IRA_LOOP_RESERVED_REGS): New * tree-pass.h (pass_subregs_of_mode_init, pass_subregs_of_mode_finish): Remove. * passes.c (pass_subregs_of_mode_init, pass_subregs_of_mode_finish): Remove. (pass_reginfo_init): Move before loop optimizations. * config/i386/i386.h (STACK_REG_COVER_CLASS): Define. * common.opt (fira-loop-pressure): New. * toplev.h (flag_ira_loop_pressure): New. * rtl.h (init_subregs_of_mode, finish_subregs_of_mode): New externals. * reginfo.c (init_subregs_of_mode, finish_subregs_of_mode): Make external and void type functions. (gate_subregs_of_mode_init, pass_subregs_of_mode_init, pass_subregs_of_mode_finish): Remove. * ira-costs.c (init_costs): Call init_subregs_of_mode. * regmove.c: Include ira.h. (regmove_optimize): Call ira_set_pseudo_classes after IRA based register pressure calculation in loops. * loop-invariant.c: Include REGS_H and ira.h. (struct loop_data): New members max_reg_pressure, regs_ref, and regs_live. (struct invariant): New member orig_regno. (curr_loop): New variable. (find_exits): Initialize regs_ref and regs_live. (create_new_invariant): Initialize orig_regno. (get_cover_class_and_nregs): New. (get_inv_cost): Make aregs_needed an array. Use regs_needed as an array. Add code for flag_ira_loop_pressure. (gain_for_invariant): Make new_regs an array. Add code for flag_ira_loop_pressure. (best_gain_for_invariant): Ditto. (set_move_mark): New parameter gain. Use it for debugging output. (find_invariants_to_move): Make regs_needed and new_regs an array. Add code for flag_ira_loop_pressure. (move_invariant_reg): Set up orig_regno. (move_invariants): Set up reg classes for pseudos for flag_ira_loop_pressure. (free_loop_data): Clear regs_ref and regs_live. (curr_regs_live, curr_reg_pressure, regs_set, n_regs_set, get_regno_cover_class, change_pressure, mark_regno_live, mark_regno_death, mark_reg_store, mark_reg_clobber, mark_reg_death, mark_ref_regs, calculate_loop_reg_pressure): New. (move_loop_invariants): Calculate pressure. Initialize curr_loop. * ira.c (ira): Call ira_set_pseudo_classes after IRA based register pressure calculation in loops if new regs were added. Call finish_subregs_of_mode. * opts.c (decode_options): Set up flag_ira_loop_pressure. * Makefile.in (loop-invariant.o): Add ira.h. (regmove.o): Ditto. * doc/invoke.texi (-fira-loop-pressure, ira-loop-reserved-regs): Describe. * doc/tm.texi (STACK_REG_COVER_CLASS): Describe. From-SVN: r152770
Vladimir Makarov committed -
2009-10-14 Richard Guenther <rguenther@suse.de> * lto-symtab.c (lto_symtab_compatible): Fold in ... (lto_symtab_merge): ... here. Rewrite both to take the prevailing and a to-be-merged entry and to queue diagnostics properly. (lto_symtab_resolve_replaceable_p): New predicate for symbol resolution. (lto_symtab_resolve_can_prevail_p): Likewise. (lto_symtab_resolve_symbols): Rewrite. Fold in code that handles merging commons by choosing the largest decl. Fold in code that gives ODR errors. (lto_symtab_merge_decls_2): Simplify a lot. Emit queued diagnostics here. (lto_symtab_merge_decls_1): Re-structure. Deal with the case of no prevailing decl here. Diagnose mismatches in object types here. Drop all but the prevailing decls. (lto_symtab_prevailing_decl): Return the single prevailing decl. * lto-streamer-in.c (lto_input_tree_ref): Deal with VIEW_CONVERT_EXPRs in decl slots. Unshare the tree in this case. lto/ * lto.c (lto_fixup_tree): In case the prevailing decl is not compatible with the one we replace wrap it around a VIEW_CONVERT_EXPR. From-SVN: r152768
Richard Guenther committed -
2009-10-14 Richard Guenther <rguenther@suse.de> PR lto/41521 * lto-streamer-in.c (input_bb): Replace debug stmts with nops instead of dropping them. * gfortran.dg/lto/pr41521_0.f90: New testcase. * gfortran.dg/lto/pr41521_1.f90: Likewise. From-SVN: r152767
Richard Guenther committed -
* gcc/doc/extended.texi: Replace the dash character with @minus{} in situations where it is being used as a minus symbol. * gcc/doc/tm.texi: Likewise. * gcc/doc/invoke.texi: Likewise. * gcc/doc/md.texi: Likewise. From-SVN: r152765
Nick Clifton committed -
PR preprocessor/41543 * input.h (BUILTINS_LOCATION): Change to 1 from 2. Assert BUILTINS_LOCATION < RESERVED_LOCATION_COUNT. * tree.c: Include intl.h. (expand_location): Handle BUILTINS_LOCATION. * Makefile.in (tree.o): Depend on intl.h. * include/line-map.h (RESERVED_LOCATION_COUNT): Define. * line-map.c (linemap_init): Initialize highest_location and highest_line to RESERVED_LOCATION_COUNT-1 instead of 0. * gcc.dg/debug/dwarf2/pr41543.c: New test. From-SVN: r152761
Jakub Jelinek committed
-