- 08 Oct, 2004 15 commits
-
-
From-SVN: r88743
Joseph Myers committed -
* c-typeck.c (enum impl_conv): New. (convert_for_assignment): Use it. Take tree for function called instead of its name. Handle ObjC selectors for diagnostics at start of function. Select diagnostic text within the function using full sentences for diagnsotics. Use %qE to name functions in diagnostics. (convert_arguments, build_modify_expr, c_convert_parm_for_inlining, digest_init, c_finish_return): Update callers to convert_for_assignment. (warn_for_assignment): Remove. testsuite: * gcc.dg/assign-warn-1.c, gcc.dg/assign-warn-2.c: New tests. * gcc.dg/warn-1.c, gcc.dg/noncompile/20020213-1.c, objc.dg/method-9.m: Update expected diagnostics. From-SVN: r88741
Joseph Myers committed -
2004-10-04 Sebastian Pop <pop@cri.ensmp.fr> From-SVN: r88740
Sebastian Pop committed -
(symbian_possibly_export_base_class): Replace use of deleted TYPE_USES_VIRTUAL_BASECLASSES macro with TYPE_CONTAINS_VPTR_P. From-SVN: r88739
Nick Clifton committed -
* cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp, unmarkedp): Remove. (dfs_skip_bases, dfs_walk_all, dfs_walk_once): New. * class.c (struct find_final_overrider_data): Remove most_derived, vpath_list and vpath fields. Add path field. (dfs_find_final_ocerrider_1): Add DEPTH parameter. Adjust. (dfs_find_final_overrider): Rename to ... (dfs_find_final_overrider_pre): ... here. Adjust. (dfs_find_final_overrider_post): Adjust. (dfs_find_final_overrider_q): Fold into dfs_find_final_overrider_pre. (find_final_overrider): Adjust dfs searching. (dfs_modify_vtables): Don't mark binfo here. (modify_all_vtables): Use dfs_walk_once. (build_vtt_inits): Likwise. Use dfs_walk_all. (dfs_build_secondary_vptr_vtt_inits): Don't mark binfo here. Return dfs_skip_bases as appropriate. (dfs_fixup_binfo_vtbls): Return dfs_skip_bases as appropriate. * init.c (dfs_initialized_vtbl_ptrs): Return dfs_skip_bases as appropriate. Don't mark binfo here. (initialize_vtbl_ptrs): Use dfs_walk_once. * search.c (struct vbase_info): Remove unused struct. (access_in_type): Use dfs_walk_once. (dfs_access_in_type): Don't mark binfo here. (dfs_accessible_queue_p, dfs_accessible_p) Remove. Fold into ... (accessible_r): ... here. New. Specialize dfs_walk_once. (accessible_p): Use accessible_r. (lookup_field_queue_p): Remove. Fold into ... (lookup_field_r): ... here. Adjust. (lookup_member): Use dfs_walk_all. (dfs_walk_real, dfs_walk): Replace with ... (dfs_walk_all, dfs_walk_once): ... these. (dfs_walk_once_r, dfs_unmark_r): Workers for dfs_walk_once. (dfs_unmark, unmarkedp, markedp): Remove. (dfs_get_pure_virtuals): Don't mark binfo here. (get_pure_virtuals): Use dfs_walk_once. (dfs_debug_unmarked_p): Remove. Fold into ... (dfs_debug_mark): ... here. (note_debug_info_needed): Use dfs_walk_all. From-SVN: r88738
Nathan Sidwell committed -
m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers form all_used_regs. Update call_really_used_regs. (CALL_REALLY_USED_REGISTERS): Define. m32r.c (MUST_SAVE_REGISTER): Replace call_used_regs with call_really_used_regs. From-SVN: r88737
Kazuhiro Inaoka committed -
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg. From-SVN: r88736
Alan Modra committed -
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * libgcc2.c (__moddi3): Cast &w to UDWtype*. From-SVN: r88735
Andrew Pinski committed -
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * libgcc2.c (__moddi3): Cast &w to UDWtype*. From-SVN: r88734
Andrew Pinski committed -
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> * pt.c (tsubst_expr) <case ASM_EXPR>: Look passed the CLEANUP_POINT_EXPR to get the asm expression. From-SVN: r88733
Andrew Pinski committed -
2004-10-07 Bob Wilson <bob.wilson@acm.org> * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS, XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New. (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete. From-SVN: r88727
Bob Wilson committed -
PR fortran/17676 * resolve.c (resolve_operator): Use correct operator name in message. From-SVN: r88726
Tobias Schlüter committed -
[[Split portion of a mixed commit.]] From-SVN: r88724.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88723.2
GCC Administrator committed -
2004-10-07 J"orn Rennecke <joern.rennecke@st.com> * MAINTAINERS: Update my email address. From-SVN: r88721
J"orn Rennecke committed
-
- 07 Oct, 2004 25 commits
-
-
* tree-cfg.c (tree_block_forwards_to): Remove. * tree-flow.h: Remove the corresponding prototype. From-SVN: r88719
Kazu Hirata committed -
2004-10-07 Phil Edwards <phil@codesourcery.com> * testsuite/lib/libstdc++.exp: Update list of undefined functions. From-SVN: r88716
Phil Edwards committed -
2004-10-07 Paolo Carlini <pcarlini@suse.de> * include/bits/list.tcc (operator=): Avoid iterator postincrement. * include/bits/stl_tree.h (erase(iterator, iterator)): Likewise. From-SVN: r88715
Paolo Carlini committed -
* tree-flow-inline.h (phi_nodes): Remove an unnecessary check for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. From-SVN: r88714
Kazu Hirata committed -
2004-10-07 Benjamin Kosnik <bkoz@redhat.com> * include/tr1: New. * include/tr1/array: New. * include/Makefile.am (tr1_headers): New. (stamp-tr1): New. (install-headers): New. (allstamped): Add stamp-tr1. * include/ext/array_allocator.h: New. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * testsuite/ext/array_allocator/1.cc: New. * testsuite/ext/array_allocator/2.cc: New. From-SVN: r88711
Benjamin Kosnik committed -
From-SVN: r88710
Richard Earnshaw committed -
* io/transfer.c (finalize_transfer): Free internal streams. * io/unix.c (mem_close): Free stream object. From-SVN: r88709
Paul Brook committed -
2004-10-07 Geoffrey Keating <geoffk@apple.com> Radar 3813796 * config/rs6000/rs6000.c (rs6000_generate_compare): When flag_trapping_math is in effect, don't generate subtract instructions. Index: testsuite/ChangeLog 2004-10-07 Geoffrey Keating <geoffk@apple.com> * gcc.dg/ppc-fsel-3.c: New file. * gcc.dg/ppc-fsel-1.c: Add -fno-trapping-math, update comment. From-SVN: r88707
Geoffrey Keating committed -
* config/s390/s390-protos.h (s390_narrow_logical_operator): Add. * config/s390/s390.c (s390_narrow_logical_operator): New function. (s390_extra_constraint_str): Add 'A' constraints. (s390_const_ok_for_constraint_p): Add 'Nx' constraints. * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'A' constraint. (CONSTRAINT_LEN): Likewise. * config/s390/s390.md ("*anddi3"): Add NI alternative and splitter. ("*andsi3_zarch", "*andsi3_esa"): Likewise. ("*andhi3_zarch", "*andhi3_esa"): Likewise. ("*iordi3"): Add OI alternative and splitter. ("*iorsi3_zarch", "*iorsi3_esa"): Likewise. ("*iorhi3_zarch", "*iorhi3_esa"): Likewise. ("*xordi3"): Add XI alternative and splitter. ("*xorsi3", "*xorhi3"): Likewise. From-SVN: r88705
Ulrich Weigand committed -
* intrinsics/string_intrinsics.c (string_verify): Fix off by one error. testsuite/ * gfortran.dg/intrinsic_verify_1.f90: New test. From-SVN: r88704
Paul Brook committed -
* config/mips/mips.c (mips_function_rodata_section): New function. (TARGET_ASM_FUNCTION_RODATA_SECTION): Use it. From-SVN: r88703
Richard Sandiford committed -
From-SVN: r88699
Joseph Myers committed -
* cp-tree.h (ICS_USER_FLAG): Remove comment about obsolete flag. (DECL_MEMBER_TEMPLATE_P): New macro. (is_member_template): Remove. (class_method_index_for_fn): New function. * pt.c (build_over_call): Use DECL_MEMBER_TEMPLATE_P. * class.c (finish_struct_methods): Remove out-of-date comment. * decl.c (copy_fn_p): Use DECL_MBMER_TEMPLATE_P. * decl2.c (check_classfn): Use DECL_MEMBER_TEMPLATE_P and class_method_index_for_fn. * pt.c (is_member_template): Remove. (is_member_template_class): Likewise. (optimize_specialization_lookup_p): New function. (retrieve_specialization): Optimize lookups for members that are not member templates. (register_specialization): Adjust accordingly. (build_template_decl): Add member_template_p parameter. Set DECL_MEMBER_TEMPLATE_P. (process_partial_specialization): Adjust call to retrieve_specialization. (push_template_decl_real): Determine whether the template is a member template. (lookup_template_class): Use retrieve_specialization. (tsubst_decl): Adjust call to retrieve_specialization. (tsubst_exception_specification): New function. (tsubst): Use it. (tsubst_copy): Use DECL_MEMBER_TEMPLATE_P. (instantiate_template): Adjust call to retrieve_specialization. (regenerate_decl_from_template): Do not actually generate a new DECL. (instantiate_decl): Adjust call to retrieve_specialization. (class_method_index_for_fn): New method. From-SVN: r88697
Mark Mitchell committed -
From-SVN: r88696
Paul Brook committed -
* gfortran.fortran-torture/execute/intrinsic_mvbits.f90, gfortran.dg/ishft.f90: Add more tests. Add dg-warning in followup commit. From-SVN: r88695
Tobias Schlüter committed -
* rs6000/altivec.md (UNSPEC_VCMPBFP, UNSPEC_VCMPEQUB, UNSPEC_VCMPEQUH, UNSPEC_VCMPEQUW, UNSPEC_VCMPGEFP, UNSPEC_VCMPGTUB, UNSPEC_VCMPGTSB, UNSPEC_VCMPGTUH, UNSPEC_VCMPGTSH, UNSPEC_VCMPGTUW, UNSPEC_VCMPGTSW, UNSPEC_VCMPGTFP, UNSPEC_VSEL4SI, UNSPEC_VSEL4SF, UNSPEC_VSEL8HI, UNSPEC_VSEL16QI, UNSPEC_VCOND_V4SI, UNSPEC_VCOND_V4SF, UNSPEC_VCOND_V8HI, UNSPEC_VCOND_V16QI, UNSPEC_VCONDU_V4SI, UNSPEC_VCONDU_V8HI, UNSPEC_VCONDU_V16QI): New constant defines. (vcondv4si, vcondv4sf, vcondv8hi, vcondv16qi, vconduv4si, vconduv8hi, vconduv16qi): New patterns. * rs6000/rs6000-protos.h (rs6000_emit_vector_cond_expr): New function. * rs6000/rs6000.c (rs6000_emit_vector_cond_expr): New function. (get_vec_cmp_insn): Same. (get_vsel_insn): Same. (rs6000_emit_vector_compare): Same. (rs6000_emit_vector_select): Same. (INSN_NOT_AVAILABLE): New. From-SVN: r88692
Devang Patel committed -
PR libstdc++/17850 * configure.ac: Newlib does not provide strtold. * configure: Regenerate. From-SVN: r88691
Roger Sayle committed -
fortran/ * primary.c (match_boz_constant): Allow kind parameter suffixes. Move standard warning further to the front. testsuite/ * gfortran.fortran-torture/execute/intrinsic_mvbits.f90, gfortran.dg/ishft.f90: Add more tests. From-SVN: r88690
Tobias Schlüter committed -
PR tree-optimization/17749 * tree-tailcall.c (find_tail_calls): Check that parameter is a gimple_reg. From-SVN: r88689
Zdenek Dvorak committed -
cp/ChangeLog: * parser.c (cp_parser_asm_definition): Look passed the CLEANUP_POINT_EXPR to get the asm expression. testsuite/ChangeLog: * g++.dg/ext/asm6.C: Remove extraneous semicolon. From-SVN: r88688
Andrew Pinski committed -
From-SVN: r88686
Kazu Hirata committed -
From-SVN: r88685
Kazu Hirata committed -
From-SVN: r88682
Eric Botcazou committed -
PR c++/17115 * tree-inline.c (expand_call_inline): Do not warn for functions marked with attribute noinline. PR c++/17115 * g++.dg/warn/Winline-4.C: New test. From-SVN: r88678
Giovanni Bajo committed -
PR target/17862 * config/sparc/sparc.c (sparc_output_mi_thunk): Set current_function_uses_only_leaf_regs as well as sparc_leaf_function_p. * config/sparc/sparc.c (sparc_gimplify_va_arg): Pass 'false' instead of 0 as 4th argument to pass_by_reference. Call build_va_arg_indirect_ref instead of build_fold_indirect_ref. From-SVN: r88674
Eric Botcazou committed
-