- 30 Oct, 2009 9 commits
-
-
2009-10-30 Jerry Quinn <jlquinn@optonline.net> * libsupc++/tinfo.cc (operator=(const type_info&)): Revert 153734. * libsupc++/typeinfo (type_info::name()): Likewise. * libsupc++/tinfo2.cc (before): Likewise. 2009-10-30 Jerry Quinn <jlquinn@optonline.net> * mangle.c (mangle_type_string_for_rtti): Revert 153734. (needs_fake_anon): Likewise. (write_name): Likewise. (write_nested_name): Likewise. * cp-tree.h (mangle_type_string_for_rtti): Likewise. (get_anonymous_namespace): Likewise. * name-lookup.c (get_anonymous_namespace_name): Likewise. * rtti.c (tinfo_name): Likewise. (tinfo_base_init): Likewise. From-SVN: r153742
Jerry Quinn committed -
2009-10-30 Robert Dewar <dewar@adacore.com> * sem_res.adb (Resolve_Type_Conversion): Avoid false positive when converting non-static subtype to "identical" static subtype. 2009-10-30 Ed Schonberg <schonberg@adacore.com> * usage.adb: Add -gnatw.i switch. 2009-10-30 Vincent Celier <celier@adacore.com> * xsnamest.adb: Update comments with regards to the template files snames.*.tmpl From-SVN: r153741
Arnaud Charlet committed -
2009-10-30 Bob Duff <duff@adacore.com> * s-fileio.adb (Errno_Message): Suppress VMS-specific warning. 2009-10-30 Ed Schonberg <schonberg@adacore.com> * sem_case.adb (Check_Choices): Add explanatory message when there are missing alternatives when the required range of alternatives is given by the base type of the case expression or discriminant in a variant part. * opt.ads: New flag Warn_On_Overlap, to enable warnings on potentially dangerous overlap between actuals in a call, activated by -gnatw.i * sem_warn.adb (Set_Dot_Warning_Switch): set flag. (Warn_On_Overlapping_Actuals): use new flag. * gnat_ugn.texi: Document -gnatw.i, warning on overlapping actuals 2009-10-30 Robert Dewar <dewar@adacore.com> * exp_aggr.adb, exp_ch9.adb: Minor reformatting From-SVN: r153740
Arnaud Charlet committed -
* arm.md (QHSI): New mode iterator. (movqi): If generating for thumb, then truncate any immediate to 8 bits. * thumb2.md (thumb2_movsi_shortim and peephole2 generator): Replace with... (thumb2_mov<mode>_shortim and peephole2 generator): ... iterator based version. From-SVN: r153739
Richard Earnshaw committed -
Fix PR c++/41863 gcc/cp/ChangeLog: PR c++/41863 * pt.c (iterative_hash_template_arg): articifial parms don't have DECL_PARM_INDEX set. Do not hash it. gcc/testsuite/ChangeLog: PR c++/41863 * g++.dg/template/sizeof12.C: New test. From-SVN: r153735
Dodji Seketeli committed -
2009-10-28 Jerry Quinn <jlquinn@optonline.net> * mangle.c (mangle_type_string_for_rtti): Revert r149964. (needs_fake_anon): Likewise. (write_name): Likewise. (write_nested_name): Likewise. * cp-tree.h (mangle_type_string_for_rtti): Likewise. (get_anonymous_namespace): Likewise. * name-lookup.c (get_anonymous_namespace_name): Likewise. * rtti.c (tinfo_name): Insert '*' in front of private names. (tinfo_base_init): Use it. 2009-10-28 Jerry Quinn <jlquinn@optonline.net> * libsupc++/tinfo.cc (operator=(const type_info&)): Compare by pointer if name begins with '*'. * libsupc++/typeinfo (type_info::name()): Likewise. * libsupc++/tinfo2.cc (before): Likewise. From-SVN: r153734
Jerry Quinn committed -
2009-10-29 Paolo Carlini <paolo.carlini@oracle.com> Douglas Gregor <doug.gregor@gmail.com> PR libstdc++/40925 (again) * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, const _T2&), pair<_T1, _T2>::pair(const _T1&, _U2&&)): Add, to deal correctly with move-only types in the presence of "null pointers". * testsuite/20_util/pair/40925.cc: Extend. Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com> From-SVN: r153733
Paolo Carlini committed -
From-SVN: r153732
Eric Botcazou committed -
From-SVN: r153731
GCC Administrator committed
-
- 29 Oct, 2009 23 commits
-
-
2009-10-29 Paolo Carlini <paolo.carlini@oracle.com> * include/std/type_traits (__is_int_or_cref): Remove. (__is_convertible_helper): Fix per C++0x and simplify (the hack to suppress warnings isn't necessary anymore). * testsuite/20_util/is_convertible/requirements/typedefs.cc: New. * testsuite/20_util/is_convertible/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_convertible/value.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error line numbers. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. From-SVN: r153728
Paolo Carlini committed -
2009-10-29 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/20_util/pair/40925.cc: Minor comment fix. From-SVN: r153727
Paolo Carlini committed -
2009-10-29 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/40925 * include/bits/stl_pair.h (pair<_T1, _T2>::pair(_U1&&, _U2&&)): Use enable_if to remove it from the overload set when either _U1 is not convertible to _T1 or _U2 is not convertible to _T2. (pair<>::pair(_U1&&, _Arg0&&, _Args&&...)): Remove. 2009-10-29 Douglas Gregor <doug.gregor@gmail.com> PR libstdc++/40925 * testsuite/20_util/pair/40925.cc: Add. From-SVN: r153725
Paolo Carlini committed -
2009-10-29 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libgfortran/41711 * libgfortran.h: Define larger sizes for BOZ conversion buffers. * io/write.c (extract_uint): Include case where size is 10 if integer is large enough. (write_int): Rename to write_boz. (write_boz): Factor out extract_uint and delete the conversion function. (btoa_big): New binary conversion function. (otoa_big): New octal conversion function. (ztoa_big): New hexidecimal conversion function. (write_b): Modify to use new function. (write_o): Likewise. (write_z): Likewise. From-SVN: r153724
Jerry DeLisle committed -
From-SVN: r153723
Eric Botcazou committed -
* gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Do not create integer types with precision 0. From-SVN: r153722
Eric Botcazou committed -
* gcc-interface/decl.c (array_type_has_nonaliased_component): Swap parameters and rewrite comments. For a derived type, return the setting of its parent type. (gnat_to_gnu_entity): Do an alias set copy for derived types if they are composite. Adjust calls to above function. From-SVN: r153721
Eric Botcazou committed -
* gcc-interface/trans.c (Attribute_to_gnu) <Attr_Object_Size>: Do not return the RM size for padded types. From-SVN: r153720
Eric Botcazou committed -
gcc/ChangeLog: PR debug/41700 * dwarf2out.c (dwarf2_debug_hooks): Add entries for new hook (two locations in the source). (store_vcall_insn): New function. (lookup_vcall_insn): New function. (dwarf2out_virtual_call_token): Use store_vcall_insn. (dwarf2out_copy_call_info): New function. (dwarf2out_virtual_call): Use lookup_vcall_insn. * emit-rtl.c (try_split): Call copy_call_info debug hook. * debug.h (struct gcc_debug_hooks): Add copy_call_info hook. * debug.c (do_nothing_debug_hooks): Add dummy entry for new hook. (debug_nothing_rtx_rtx): New dummy hook. * dbxout.c (dbx_debug_hooks): Add dummy entry for new hook. (xcoff_debug_hooks): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. From-SVN: r153719
Cary Coutant committed -
2009-10-29 David Daney <ddaney@caviumnetworks.com> * doc/invoke.texi (mmcount-ra-address): Document new command line option. * config/mips/mips.opt (mmcount-ra-address): New option. * config/mips/mips-protos.h (mips_function_profiler): Declare new function. * config/mips/mips.c (struct mips_frame_info): Add ra_fp_offset member. (mips_for_each_saved_gpr_and_fpr): Set ra_fp_offset. (mips_function_profiler): Moved from FUNCTION_PROFILER, and rewritten. * config/mips/mips.h (FUNCTION_PROFILER): Body of macro moved to mips_function_profiler. 2009-10-29 David Daney <ddaney@caviumnetworks.com> * gcc.target/mips/mips.exp (mips_option_groups): Add mcount-ra-address. * gcc.target/mips/mmcount-ra-address-1.c: New test. * gcc.target/mips/mmcount-ra-address-2.c: New test. * gcc.target/mips/mmcount-ra-address-3.c: New test. From-SVN: r153717
David Daney committed -
2009-10-29 Steve Ellcey <sje@cup.hp.com> PR middle-end/37565 PR target/38018 * doc/tm.texi (OVERRIDE_OPTIONS): Update. (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. * optc-gen.awk (cl_target_option_restore): Include call to targetm.override_options_after_change. * target-def.h (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. * target.h (override_options_after_change): New. * c-common.c (parse_optimize_options): Call targetm.override_options_after_change. * config/ia64/ia64.c (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): New. (ia64_override_options_after_change): New. (ia64_override_options) Add call to above. From-SVN: r153714
Steve Ellcey committed -
* tree-ssa-math-opts.c (execute_convert_to_rsqrt): Remove. (gate_convert_to_rsqrt): Ditto. (pass_convert_to_rsqrt): Ditto. * tree-pass.h (pass_convert_to_rsqrt): Don't declare. * passes.c (init_optimization_passes): Don't add pass_convert_to_rsqrt to pass list. * config/i386/i386.c (ix86_emit_swdivsf): Change evaluation order. testsuite/ * gcc.target/i386/sse-recip.c: Use fabsf instead of != . * gcc.target/i386/sse-recip-vec.c: Ditto. * gcc.target/i386/brokensqrt.c: New test. From-SVN: r153713
Michael Matz committed -
From-SVN: r153707
Uros Bizjak committed -
2009-10-29 Tobias Burnus <burnus@net-b.de> PR fortran/41777 * trans-expr.c * (gfc_conv_procedure_call,gfc_conv_expr_reference): Use for generic EXPR_FUNCTION the attributes of the specific function. 2009-10-29 Tobias Burnus <burnus@net-b.de> PR fortran/41777 gfortran.dg/associated_target_3.f90: New testcase. From-SVN: r153706
Tobias Burnus committed -
2009-10-28 Robert Dewar <dewar@adacore.com> * sem_type.adb: Minor reformatting 2009-10-28 Arnaud Charlet <charlet@adacore.com> * exp_ch9.adb (Build_Task_Proc_Specification): Generate a different suffix for task type bodies. 2009-10-28 Ed Schonberg <schonberg@adacore.com> * exp_aggr.adb (Convert_Aggr_In_Allocator): Do not look for a finalization list if the designated type requires no control actions, to prevent a useless semantic dependence on ada.tags. From-SVN: r153705
Arnaud Charlet committed -
2009-10-29 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/arm.c (find_best_start): Fix type of remainder to be unsigned . From-SVN: r153704
Ramana Radhakrishnan committed -
2009-10-29 Paolo Carlini <paolo.carlini@oracle.com> * include/decimal/decimal: Minor formatting and uglification fixes. From-SVN: r153702
Paolo Carlini committed -
2009-10-29 Paolo Carlini <paolo.carlini@oracle.com> * include/decimal/decimal: Minor formatting and uglification fixes. * include/decimal/decimal.h: Likewise. From-SVN: r153701
Paolo Carlini committed -
2009-10-29 Rafael Avila de Espindola <espindola@google.com> * gfortran.dg/lto/pr41764_0.f: New. From-SVN: r153700
Rafael Avila de Espindola committed -
2009-10-29 Martin Jambor <mjambor@suse.cz> PR tree-optimization/41775 * tree-sra.c (build_ref_for_offset): Unshare *expr if not NULL. (generate_subtree_copies): Do not unshare agg. (load_assign_lhs_subreplacements): Do not unshare rhs. (sra_modify_assign): Do not unshare exprs. (propagate_subacesses_accross_link): Renamed to propagate_subaccesses_across_link. * testsuite/g++.dg/torture/pr41775.C: New testcase. From-SVN: r153699
Martin Jambor committed -
* arm.c (count_insns_for_constant): Rework to support counting for thumb2 immediates as well. (find_best_start): Split out from arm_gen_constant. (arm_gen_constant): Rework to support XOR with immediate. From-SVN: r153698
Richard Earnshaw committed -
2009-10-29 Chao-ying Fu <fu@mips.com> * config/mips/mips.c (mips_emit_unary, mips_force_unary): New functions. (mips_expand_synci_loop): Use the length rtx to control the synci loop from the begin rtx that points to the first byte of the cache line. From-SVN: r153696
Chao-ying Fu committed -
From-SVN: r153694
GCC Administrator committed
-
- 28 Oct, 2009 8 commits
-
-
From-SVN: r153689
Janne Blomqvist committed -
2009-10-28 Rafael Avila de Espindola <espindola@google.com> * lto-plugin.c (all_symbols_read_handler): Use LDPL_FATAL instead of LDPL_ERROR From-SVN: r153687
Rafael Avila de Espindola committed -
2009-10-28 Rafael Avila de Espindola <espindola@google.com> * doc/invoke.texi: Rename -use-linker-plugin -fuse-linker-plugin. From-SVN: r153686
Rafael Avila de Espindola committed -
2009-10-28 Rafael Avila de Espindola <espindola@google.com> * trans-common.c (create_common): Set TREE_PUBLIC to false on fake variables. 2009-10-28 Rafael Avila de Espindola <espindola@google.com> * dbxout.c (dbxout_common_check): Accept non public trees. * dwarf2out.c (fortran_common): Accept non public trees. From-SVN: r153685
Rafael Avila de Espindola committed -
2009-10-28 Rafael Avila de Espindola <espindola@google.com> * common.opt (fuse-linker-plugin): New option. * gcc.c (LINK_COMMAND_SPEC, main): Rename use-linker-plugin to fuse-linker-plugin. * opts.c (common_handle_option): Ignore OPT_fuse_linker_plugin. From-SVN: r153683
Rafael Avila de Espindola committed -
Core issue 812, 861 * name-lookup.c (set_decl_namespace): Deal properly with inline namespaces. (qualified_lookup_using_namespace): Overhaul. * pt.c (print_candidates): Handle getting an OVERLOAD. change lookup algorithm From-SVN: r153682
Jason Merrill committed -
From-SVN: r153681
Jason Merrill committed -
2009-10-28 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/39715 * config/arm/arm.md (cstoresi4): Use gen_cstoresi_ltu_thumb1. (gen_cstoresi_ltu_thumb1): New splitter. 2009-10-28 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/39715 * gcc.target/arm/thumb-ltu.c: New. From-SVN: r153678
Paolo Bonzini committed
-