- 07 Oct, 2004 32 commits
-
-
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 -
2004-10-06 Eric Christopher <echristo@redhat.com> * config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf attribute. From-SVN: r88671
Eric Christopher committed -
PR target/17770 * config/mips/mips.md (mov_<load>l): Remove hazard=none attribute. From-SVN: r88670
Richard Sandiford committed -
PR rtl-optimization/17791 * loop-doloop.c (doloop_modify): Take number of iterations as argument. (doloop_optimize): Extend or shorten the number of iterations when changing mode of counter register. * loop-iv.c (lowpart_subreg): Export. * rtl.h (lowpart_subreg): Declare. From-SVN: r88668
Zdenek Dvorak committed -
From-SVN: r88666
Christian Ehrhardt committed -
re PR tree-optimization/17806 (compiler error: in verify_loop_structure, at cfgloop.c:1491 , works -O2, breaks with -O3) PR tree-optimization/17806 * cfghooks.c (split_edge): Update IRREDUCIBLE_LOOP flags. * cfgloopmanip.c (loop_split_edge_with): Updating of IRREDUCIBLE_LOOP flags moved to split_edge. From-SVN: r88665
Zdenek Dvorak committed -
From-SVN: r88662
Christian Ehrhardt committed -
PR middle-end/17835 * expmed.c (expand_sdiv_pow2): Force a stack adjustment before tentatively building the conditional move sequence. From-SVN: r88661
Eric Botcazou committed -
PR target/16815 * function.c (assign_parm_setup_block_p): Tighten BLOCK_REG_PADDING check. * config/pa/pa.h (BLOCK_REG_PADDING): Define in terms of function_arg_padding. From-SVN: r88660
Richard Sandiford committed -
PR bootstrap/17857 * Makefile.in (stmp-fixproto): Pass FIX_HEADER=build/... to fixproto. From-SVN: r88659
Richard Sandiford committed -
* MAINTAINERS (Language Front Ends Maintainers): New. Move entries belonging to this category. From-SVN: r88658
Kazu Hirata committed -
* hooks.c (hook_int_void_1, hook_void_int): Remove. * hooks.h: Remove the corresponding prototypes. From-SVN: r88657
Kazu Hirata committed -
PR fortran/17678 * trans-array.c (gfc_trans_deferred_array): Leave use associated variables alone. testsuite/ * gfortran.dg/use_allocated_1.f90: New test. From-SVN: r88655
Paul Brook committed -
[[Split portion of a mixed commit.]] From-SVN: r88653.2
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r88652.2
GCC Administrator committed
-
- 06 Oct, 2004 8 commits
-
-
2004-10-06 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17849 * gfortran.fortran-torture/compile/nested.f90: New test 2004-10-06 Andrew Pinski <pinskia@physics.uc.edu> PR middle-end/17849 * tree-nested.c (walk_stmt_info): Add changed field. (convert_nonlocal_reference): Set changed to when we change a decl to unnested decl. <case ADDR_EXPR>: Instead of checking if the immediate part of the ADDR_EXPR changed, check the field changed. Use recompute_tree_invarant_for_addr_expr instead of unsetting TREE_INVARIANT. (convert_local_reference): Set changed to when we change a decl to unnested decl. <case ADDR_EXPR>: Instead of checking if the immediate part of the ADDR_EXPR changed, check the field changed. Also call recompute_tree_invarant_for_addr_expr on the ADDR_EXPR. From-SVN: r88650
Andrew Pinski committed -
From-SVN: r88647
Tobias Schlüter committed -
* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove. * dwarf2out.c (dwarf2out_init): Remove references to DWARF2_GENERATE_TEXT_SECTION_LABEL. * system.h: Poison DWARF2_GENERATE_TEXT_SECTION_LABEL. * doc/tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove. From-SVN: r88631
Kazu Hirata committed -
* c-typeck.c (convert_arguments): Take expression for called function rather than its name. Handle ObjC selectors directly rather than relying on warn_for_assignment to do so. Call warning directly rather than warn_for_assignment. Use %qE in diagnostics. Say "argument" rather than "arg" in diagnostics. (build_function_call): Update call to convert_arguments. testsuite: * gcc.dg/Wconversion-2.c, gcc.dg/func-args-1.c: New tests. From-SVN: r88630
Joseph Myers committed -
2004-10-06 Andrew Pinski <pinskia@physics.uc.edu> PR debug/17787 * dbxout.c (dbxout_symbol): Really handle RECORD, UNION, and ENUMs specially instead of just saying we do. From-SVN: r88629
Andrew Pinski committed -
2004-10-06 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread. (GLIBCXX_CONFIGURE_TESTSUITE): Use it. * configure: Regenerated. * testsuite/Makefile.am (CLEANFILES): Add TEST for check-performance executables. (stamp_thread): New. (all-local): Use it. * testsuite/Makefile.in: Regenerate. * scripts/create_testsuite_files: Filter thread tests. * testsuite/thread/pthread1.cc: Remove macro conditionals: this file will only be run by thread enabled configurations. * testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef. * testsuite/thread/pthread6.cc: Same. * testsuite/thread/pthread5.cc: Same. * testsuite/thread/pthread4.cc: Same. * testsuite/thread/pthread3.cc: Same. * testsuite/thread/pthread2.cc: Same. * testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard. * testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to... * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here. * testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to... * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here. * testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to... * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here. * testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to... * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here. From-SVN: r88628
Benjamin Kosnik committed -
2004-10-05 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17368 * semantics.c (finish_asm_stmt): Asm expressions need cleanup also. 2004-10-06 Andrew Pinski <pinskia@physics.uc.edu> PR c++/17368 * g++.dg/ext/asm6.C: New test. From-SVN: r88627
Andrew Pinski committed -
2004-10-06 Eric Christopher <echristo@redhat.com> * dwarf2.h: Sync with include/elf/dwarf2.h From-SVN: r88626
Eric Christopher committed
-