1. 24 Oct, 2007 11 commits
    • mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe MIPS-specific implementation details. · a1c6b246
      gcc/
      	* config/mips/mips.h (MOVE_MAX): Use UNITS_PER_WORD and describe
      	MIPS-specific implementation details.
      	(MIPS_MAX_MOVE_BYTES_PER_LOOP_ITER): New macro.
      	(MIPS_MAX_MOVE_BYTES_STRAIGHT): Likewise.
      	(MOVE_RATIO): Define to MIPS_MAX_MOVE_BYTES_STRAIGHT / UNITS_PER_WORD
      	for targets with movmemsi.
      	(MOVE_BY_PIECES_P): Define.
      	* config/mips/mips.c (MAX_MOVE_REGS, MAX_MOVE_BYTES): Delete.
      	(mips_block_move_loop): Add a bytes_per_iter argument.
      	(mips_expand_block_move): Use MIPS_MAX_MOVE_BYTES_STRAIGHT.
      	Update call to mips_block_move_loop.
      
      From-SVN: r129605
      Richard Sandiford committed
    • array (_M_instance): Align naturally. · 32e520ab
      2007-10-24  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1_impl/array (_M_instance): Align naturally.
      	* testsuite/ext/array_allocator/1.cc: Use ext/vstring,
      	more solid than our current basic_string vs alignment.
      	* testsuite/ext/array_allocator/2.cc: Likewise.
      	* testsuite/ext/array_allocator/3.cc: Likewise.
      
      From-SVN: r129604
      Paolo Carlini committed
    • comment typo · 51035976
      From-SVN: r129603
      Jason Merrill committed
    • re PR debug/33868 (Gross memory usage of var-tracking) · e56f9152
              PR debug/33868
              * var-tracking.c (variable_union): Don't break after one loop
              * iteration
              but only when a difference is found.
              (dump_variable): Also print DECL_UID.
      
      From-SVN: r129602
      Michael Matz committed
    • Fogot to commit ipa-struct-reorg.c ipa-struct-reorg.h. · 32154c89
      From-SVN: r129601
      Olga Golovanevsky committed
    • ipa-type-escape.h: Expose function is_array_access_through_pointer_and_index. · e1dc98b2
      2007-10-24  Olga Golovanevsky  <olga@il.ibm.com>
      
            * ipa-type-escape.h: Expose function
            is_array_access_through_pointer_and_index.
            * ipa-type-escape.c
            (is_array_access_through_pointer_and_index):
            Add three new parameters. Add support of
            POINTER_PLUS_EXPR tree code.
      
      2007-10-24  Olga Golovanevsky  <olga@il.ibm.com>
      
            * ipa-struct-reorg.c, ipa-struct-reorg.h: New files.
            * tree-pass.h: Add pass_ipa_struct_reorg.
            * common.opt: Add ipa-struct-reorg flag.
            * Makefile.in: Add ipa-strcut-reorg.o compilation.
            * passes.c: Add pass pass_ipa_struct_reorg.
            * params.h:  Add STRUCT_REORG_COLD_STRUCT_RATIO.
            * params.def: Add PARAM_STRUCT_REORG_COLD_STRUCT_RATIO.
      
      From-SVN: r129600
      Olga Golovanevsky committed
    • re PR tree-optimization/33804 (ICE in vect_transform_stmt, at… · 712f1172
      re PR tree-optimization/33804 (ICE in vect_transform_stmt, at tree-vect-transform.c:6131 with -ftree-vectorize)
      
      	PR tree-optimization/33804
      	* tree-vect-transform.c (vectorizable_operation): Remove the
      	checks that the vectorization is worthwhile from the transformation
      	phase.
      
      From-SVN: r129599
      Ira Rosen committed
    • tree-vect-analyze.c (vect_build_slp_tree): Return false if vectype cannot be… · 20e545c3
      tree-vect-analyze.c (vect_build_slp_tree): Return false if vectype cannot be determined for the scalar type.
      
      	* tree-vect-analyze.c (vect_build_slp_tree): Return false if
      	vectype cannot be determined for the scalar type.
      	(vect_analyze_slp_instance): Likewise.
      	* tree-vect-transform.c (vect_model_reduction_cost): Change the
      	return type to bool. Return false if vectype cannot be determined 
      	for the scalar type.
      	(vect_get_constant_vectors): Return false if vectype cannot be
      	determined for the scalar type.
      	(get_initial_def_for_induction, vect_get_vec_def_for_operand,
      	get_initial_def_for_reduction, vect_create_epilog_for_reduction,
      	vectorizable_reduction): Likewise.
      
      From-SVN: r129598
      Ira Rosen committed
    • PR c++/25950 (DR 391) · 6f4fd536
              PR c++/25950 (DR 391)
              * call.c (struct conversion): Remove check_copy_constructor_p.
              (reference_binding): Always bind a reference directly to a
              compatible class rvalue.  Pass down LOOKUP_NO_TEMP_BIND during
              temporary creation.
              (check_constructor_callable): Remove.
              (convert_like_real): Don't call it.
              (initialize_reference): Don't call check_constructor_callable.
              (standard_conversion): Check LOOKUP_NO_CONVERSION instead of
              LOOKUP_CONSTRUCTOR_CALLABLE.  Don't require a temporary for base
              conversions if LOOKUP_NO_TEMP_BIND.
              (implicit_conversion): Pass through LOOKUP_NO_TEMP_BIND.
              (build_user_type_conversion_1): Pass through LOOKUP_NO_TEMP_BIND for
              second conversion.
              * cp-tree.h (LOOKUP_CONSTRUCTOR_CALLABLE): Remove.
      
      From-SVN: r129596
      Jason Merrill committed
    • re PR fortran/33849 (Fix misleading error message "GENERIC non-INTRINSIC… · d72702e2
      re PR fortran/33849 (Fix misleading error message "GENERIC non-INTRINSIC procedure not allowed as an actual argument")
      
      2007-10-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR forrtran/33849
      	gfortran.dg/generic_actual_arg.f90: Fix dg-error message.
      
      From-SVN: r129595
      Jerry DeLisle committed
    • Daily bump. · 6a8204bb
      From-SVN: r129593
      GCC Administrator committed
  2. 23 Oct, 2007 13 commits
  3. 22 Oct, 2007 13 commits
    • invoke.texi (Optimization Options): In the summary... · 7d95b692
      	* doc/invoke.texi (Optimization Options): In the summary, show
      	that the value for options -falign-jumps, -falign-labels,
      	-falign-loops, -falign-functions, -fsched-stalled-insns, and
      	-fsched-stalled-insns-dep is optional.  In the summary, show that
      	-fsched-stalled-insns takes an optional argument and that
      	-fparallelize-loops takes an argument.  Add opindex for several
      	optimization options, and fix typos in the opindex commands for
      	several others.  In the descriptions for -fsched-stalled-insns
      	and -fsched-stalled-insns-dep, show the options with and without
      	values.
      
      From-SVN: r129565
      Janis Johnson committed
    • re PR fortran/33849 (Fix misleading error message "GENERIC non-INTRINSIC… · 8d6d0e8e
      re PR fortran/33849 (Fix misleading error message "GENERIC non-INTRINSIC procedure not allowed as an actual argument")
      
      2007-10-22  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/33849
      	* resolve.c (resolve_actual_arglist): Fix error message text.
      
      From-SVN: r129564
      Jerry DeLisle committed
    • MAINTAINERS (Fortran maintainer): Remove myself. · def14a3c
      2007-10-22  Steven G. Kargl  <kargl@gcc.gnu.org>
      
              * MAINTAINERS (Fortran maintainer): Remove myself.
      
      From-SVN: r129562
      Steven G. Kargl committed
    • re PR fortran/31244 (data initialization with more than 2**32 elements) · f2112868
      2007-10-22  Steven G. Kargl  <kargl@gcc.gnu.org>
      
              PR fortran/31244
              * gfortran.h (gfc_data_value): Change repeat from unsigned int
              to mpz_t.
              * decl.c(top_val_list): Remove msg variable.  Use mpz_t for
              repeat count.
              * resolve.c (values):  Change left from unsigned int to mpz_t.
              (next_data_value): Change for mpz_t.
              (check_data_variable): Change ??? to FIXME in a comment.  Use
              "mpz_t left".
              (resolve_data ): Use "mpz_t left".
      
      From-SVN: r129561
      Steven G. Kargl committed
    • jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function. · 61c9bbb7
      	* include/jvm.h (_Jv_SetGCFreeSpaceDivisor): Declare new function.
      	* boehm.cc (_Jv_SetGCFreeSpaceDivisor): Define it.
      
      From-SVN: r129560
      David Daney committed
    • avr.c (avr_mcu_types): Remove ATmega603 which was never produced. · 0c71b454
      	* config/avr/avr.c (avr_mcu_types): Remove ATmega603 which was never
      	produced.
      	* config/avr/avr.h (LINK_SPEC): Likewise.
      	(CRT_BINUTILS_SPECS): Likewsie.
      	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
      
      From-SVN: r129557
      Eric B. Weddington committed
    • re PR rtl-optimization/33644 (ICE in local_cprop_pass with -ftrapv for crafty) · 9ed7b221
      	PR rtl-optimization/33644
      	* cfgcleanup.c: Do not include dce.h.
      	* cfgrtl.c (delete_insn_chain_and_edges): Resurrect.
      	* combine.c (distribute_notes): Delete REG_LIBCALL_ID case.
      	* dce.c (something_changed): Delete.
      	(libcall_dead_p): New predicate.
      	(delete_unmarked_insns): Use it to delete dead libcalls.
      	Deal with REG_LIBCALL and REG_RETVAL notes.
      	(prescan_libcall_for_dce): New function.
      	(prescan_insns_for_dce): Use it to deal with libcalls.
      	(mark_reg_dependencies): Do nothing special for libcalls.
      	(dce_process_block): Likewise.
      	(fast_dce): Delete unused local variable.
      	(run_fast_dce): Do not return a value.
      	* dce.h (struct df): Delete.
      	(run_fast_dce): Adjust prototype.
      	* optabs.c (libcall_id): Delete.
      	(maybe_encapsulate_block): Do not emit REG_LIBCALL_ID notes.
      	(emit_no_conflict_block): Do not look for REG_LIBCALL_ID notes.
      	* reload1.c (reload): Delete REG_LIBCALL_ID case.
      	* rtl.h (delete_insn_chain_and_edges): Resurrect prototype.
      	* see.c (see_update_relevancy): Look for REG_LIBCALL and REG_RETVAL
      	notes instead of REG_LIBCALL_ID notes.
      	* reg-notes.def (LIBCALL_ID): Delete.
      	* Makefile.in (see.o): Add dce.h dependency.
      	(cfgcleanup.o): Remove dce.h dependency.
      
      From-SVN: r129556
      Eric Botcazou committed
    • re PR c++/33372 (segfault on incomplete code in openmp mode) · 6e684eee
      	PR c++/33372
      	* semantics.c (finish_omp_clauses): Check !type_dependent_expression_p
      	before checking if its type is integral.
      
      	* g++.dg/gomp/pr33372-1.C: New test.
      	* g++.dg/gomp/pr33372-2.C: New test.
      	* g++.dg/gomp/pr33372-3.C: New test.
      
      From-SVN: r129555
      Jakub Jelinek committed
    • re PR c++/33620 (internal compiler error: canonical types differ for identical… · 5818c8e4
      re PR c++/33620 (internal compiler error: canonical types differ for identical types const QList<QStringList> and const QList<QStringList>)
      
              PR c++/33620
              * class.c (finish_struct_bits): Copy TYPE_ATTRIBUTES.
              * pt.c (apply_late_template_attributes): Splice out dependent
              attributes from DECL_ATTRIBUTES.
      
              * decl.c (cxx_maybe_build_cleanup): Use build_address.
      
      From-SVN: r129553
      Jason Merrill committed
    • re PR tree-optimization/33855 (Segfault in verify_ssa/execute_function_todo with -O) · 22a5d013
              PR tree-optimization/33855
      
              * tree-ssa-phiopt.c (cond_store_replacement): Handle
              * COMPLEX_TYPE
              and VECTOR_TYPE.
      
              * gcc.c-torture/compile/pr33855.c: New testcase.
      
      From-SVN: r129551
      Michael Matz committed
    • re PR tree-optimization/33854 (ICE in vectorizable_conversion, at tree-vect-transform.c:3374) · 174f8765
      	PR tree-optimization/33854
      	* tree-vect-analyze.c (vect_determine_vectorization_factor): Add
      	FLOAT_EXPR to the list of promotion operations.
      
      From-SVN: r129549
      Ira Rosen committed
    • re PR target/29473 (-masm=intel combined with -march=athlon64 has some issues.) · 9ad5e54f
      	PR target/29473
      	PR target/29493
      	* config/i386/i386.c (output_pic_addr_const): Support Intel asm syntax.
      	(print_reg): Print register prefix only with AT&T asm syntax. 
      	Support pc_rtx for RIP register.
      	(print_operand_address): Use print_reg()'s pc_rtx support for RIP
      	relative addressing.  Always print segment register prefix with AT&T
      	asm syntax and never with Intel asm syntax.
      	(print_operand): Suppress 'XXX PTR' prefix for BLKmode operands. 
      	Fix prefix for 16-byte XFmode operands.
      	(output_addr_const_extra): Support Intel asm syntax.
      	(x86_file_start): Don't use register prefix with Intel asm syntax.
      	* config/i386/i386.md ("*zero_extendqihi2_movzbl"): Fix typo.
      	("return_internal_long"): Fix Intel asm syntax output.
      	("set_got_rex64"): Support Intel asm syntax.
      	("set_rip_rex64"): Likewise.
      	("set_got_offset_rex64"): Likewise.
      	("*sibcall_1_rex64_v"): Print register prefix only with AT&T asm
      	syntax.
      	("*tls_global_dynamic_64"): Likewise.
      	("*tls_local_dynamic_base_64"): Likewise.
      	("*load_tp_si")("*load_tp_di"): Likewise.
      	("*add_tp_si")("*add_tp_di"): Likewise.
      	("*tls_dynamic_lea_64"): Likewise.
      	("*sibcall_value_1_rex64_v"): Likewise.
      	("stack_tls_protect_set_si"): Likewise.
      	("stack_tls_protect_set_di"): Likewise.
      	("stack_tls_protect_test_si"): Likewise.
      	("stack_tls_protect_test_di"): Likewise.
      	* config/i386/mmx.md ("*mov<mode>_internal_rex64"): Fix Intel asm
      	syntax output.
      	("*movv2sf_internal_rex64"): Likewise.
      	* config/i386/cpuid.h (__cpuid): Support Intel asm syntax.
      	(__get_cpuid_max): Likewise.
      
      From-SVN: r129548
      Rask Ingemann Lambertsen committed
    • Daily bump. · cc6c53a3
      From-SVN: r129545
      GCC Administrator committed
  4. 21 Oct, 2007 3 commits