- 15 Oct, 2009 9 commits
-
-
* 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 26 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 -
PR debug/41695 * dwarf2out.c (dwarf2out_var_location): Always clear last_postcall_label when changing last_label. * gcc.dg/debug/dwarf2/pr41695.c: New test. From-SVN: r152760
Jakub Jelinek committed -
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Add -E. (process_command): Handle -E as done with -c and -S. Do not add the target executable suffix to the output file when -E is used. (main): Adjust error message accordingly. From-SVN: r152758
Pascal Obry committed -
From-SVN: r152754
Uros Bizjak committed -
* gcc.target/i386/i386.exp (check_effective_target_ms_hook_prologue): New procedure. * gcc.target/i386/ms_hook_prologue.c: Check for ms_hook_prologue effective target. From-SVN: r152753
Uros Bizjak committed -
PR c++/39866 * call.c (print_z_candidates): Don't print deleted candidates. (print_z_candidate): Note deleted candidates. From-SVN: r152752
Jason Merrill committed -
re PR c++/40092 ([c++0x] expansion pattern fails with error about derived template instead of actual template) PR c++/40092 * tree.c (cp_tree_equal): Add test for TEMPLATE_PARM_PARAMETER_PACK equality. From-SVN: r152751
Larry Evans committed -
* gcc.dg/guality/pr41616-1.c: Drop -O2. * gcc.dg/guality/pr41447-1.c: Likewise. Name main. From-SVN: r152750
Alexandre Oliva committed -
PR debug/41343 PR debug/41447 PR debug/41264 PR debug/41338 * tree.c (tree_node_structure_for_code): DEBUG_EXPR_DECL uses decl with rtl. (tree_code_size): Likewise. From-SVN: r152749
Alexandre Oliva committed -
* gfortran.dg/complex_intrinsic_8.f90: New test. From-SVN: r152748
Kaveh R. Ghazi committed -
* builtins.c (fold_builtin_1): Support complex "arc" functions. * real.h (HAVE_mpc_arc): Define. testsuite: * gcc.dg/torture/builtin-math-6.c: Test complex "arc" functions. * lib/target-supports.exp (check_effective_target_mpc_arc): New. From-SVN: r152746
Kaveh R. Ghazi committed -
* config/sh/sh.c (TARGET_BUILTIN_DECL): Define. (struct builtin_description): Add fndecl field. (bdesc): Remove const qualifier. Update initializer. (sh_media_init_builtins): Remove const qualifier for d. Record the result of add_builtin_function to the fndecl field. (sh_builtin_decl): New. (sh_media_builtin_decl): New. From-SVN: r152745
Kaz Kojima committed -
From-SVN: r152744
GCC Administrator committed -
PR target/38948 * gcc.dg/torture/pr38948.c: New test. From-SVN: r152741
Hans-Peter Nilsson committed -
PR target/38948 * config/cris/cris.h (SECONDARY_RELOAD_CLASS): Handle reload requests between special registers. From-SVN: r152740
Hans-Peter Nilsson committed
-
- 13 Oct, 2009 5 commits
-
-
2009-10-13 Steve Ellcey <sje@cup.hp.com> * gfortran.dg/vect/fast-math-pr38968.f90: Add timeout. From-SVN: r152735
Steve Ellcey committed -
From-SVN: r152733
Eric Botcazou committed -
From-SVN: r152730
Rainer Orth committed -
PR tree-optimization/41377 * tree-eh.c (unsplit_eh): Propagate degenerate PHIs. (cleanup_empty_eh_merge_phis): New change_region parameter; pass it on to redirect_eh_edge_1. Update callers. (cleanup_empty_eh_unsplit): Don't require an existing EH label at the destination block. From-SVN: r152728
Richard Henderson committed -
2009-10-13 Janus Weil <janus@gcc.gnu.org> PR fortran/41581 * decl.c (encapsulate_class_symbol): Add new component '$size'. * resolve.c (resolve_allocate_expr): Move CLASS handling to gfc_trans_allocate. (resolve_class_assign): Replaced by gfc_trans_class_assign. (resolve_code): Remove calls to resolve_class_assign. * trans.c (gfc_trans_code): Use new function gfc_trans_class_assign. * trans-expr.c (get_proc_ptr_comp): Fix a memory leak. (gfc_conv_procedure_call): For CLASS dummies, set the $size component. (gfc_trans_class_assign): New function, replacing resolve_class_assign. * trans-stmt.h (gfc_trans_class_assign): New prototype. * trans-stmt.c (gfc_trans_allocate): Use correct size when allocating CLASS variables. Do proper initialization. Move some code here from resolve_allocate_expr. 2009-10-13 Janus Weil <janus@gcc.gnu.org> PR fortran/41581 * gfortran.dg/class_allocate_2.f03: Modified. * gfortran.dg/class_allocate_3.f03: New test case. From-SVN: r152715
Janus Weil committed
-