1. 14 Dec, 2001 23 commits
    • config.gcc: Revamp target_cpu_default2 to strings; support new x86 variants. · e10e23ee
      	* config.gcc: Revamp target_cpu_default2 to strings;
      	support new x86 variants.
      
      From-SVN: r48007
      Jan Hubicka committed
    • config.gcc: Revamp target_cpu_default2 to strings; support new x86 variants. · f4365627
      	* config.gcc: Revamp target_cpu_default2 to strings;
      	support new x86 variants.
      	* i386.c (override_options): Default x86_cpu_string and x86_arch_string
      	properly; set prefetch_sse.
      	* i386.h (x86_prefetch_sse): Declare.
      	(TARGET_PREFETCH_SSE): New.
      	(CPP_CPU_DEFAULT_SPEC): Define according to the new macros.
      	(TARGET_CPU_DEFAULT_*): New.
      	* config/i386/i386.h (struct processor_costs): Add new members
      	  prefetch_block and simultaneous_prefetches.
      	  (PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): New.
      	* config/i386/i386.c (processor_costs structs): Add values for
      	  prefetch_block and simultaneous_prefetches.
      	* config/i386/i386.md (unspec values): Remove values for prefetch
      	  operations, which now use the PREFETCH rtx code.
      	  (prefetch_sse, prefetch_3dnow, prefetchw): Combine to use new
      	  unified prefetch support.
      
      From-SVN: r48006
      Jan Hubicka committed
    • diagnostic.c (sorry): Increment sorrycount before saving the buffer state. · 4ff8507e
              * diagnostic.c (sorry): Increment sorrycount before saving the
              buffer state.
      
      From-SVN: r48005
      Jason Merrill committed
    • class.c (get_dispatch_table): Fix java vtable layout for TARGET_VTABLE_USES_DESCRIPTORS. · eec87542
      	* class.c (get_dispatch_table): Fix java vtable layout
      	for TARGET_VTABLE_USES_DESCRIPTORS.
      	* decl.c (java_init_decl_processing): Initialize
      	alloc_no_finalizer_node, finalize_identifier_node.
      	* expr.c (class_has_finalize_method): New function.
      	(expand_java_NEW): Generate calls for finalizer-free allocation.
      	(build_invokevirtual): Fix java vtable layout for
      	TARGET_VTABLE_USES_DESCRIPTORS.
      	* java-tree.h (enum java_tree_index): New entries:
      	JTI_ALLOC_NO_FINALIZER_NODE, JTI_FINALIZE_IDENTIFIER_NODE.
      	(alloc_no_finalizer_node, finalize_deintifier_node): New macros.
      	(class_has_finalize_method): declare.
      	(HAS_FINALIZER_P): New macro.
      	* parse.y (patch_invoke): Generate calls for finalizer-free
      	allocation.
      
      From-SVN: r48004
      Hans Boehm committed
    • * i386.md (sqrt?f): Fix conditionals. · abf80f8f
      From-SVN: r48003
      Jan Hubicka committed
    • prims.cc: Some old cleanups. · 938f3777
      	* libjava/prims.cc: Some old cleanups.  The collector now
      	handles test for out of memory.
      	* libjava/prims.cc, libjava/gcj/javaprims.h:
      	(_Jv_AllocObjectNoInitNoFinalizer, _Jv_AllocObjectNoFinalizer):
      	New functions for finalizer-free allocation.
      	(jvmpi_notify_alloc): Became separate function.
      	* libjava/java/lang/Object.h, libjava/include/jvm.h: Adjust for
      	revised vtable layout on IA64.  With TARGET_VTABLE_USES_DESCRIPTORS,
      	there is only one extra descriptor.
      
      From-SVN: r48002
      Hans Boehm committed
    • config.gcc (alpha64-dec-*vms*): New case. · b6bfa876
      	* config.gcc (alpha64-dec-*vms*): New case.
      	* config/alpha/t-vms64, config/alpha/vms-crt0-64.c: New files.
      	* config/alpha/vms-psxcrt0-64.c, config/alpha/vms64.h: Likewise.
      	* config/alpha/xm-vms64.h: Likewise.
      
      From-SVN: r48001
      Douglas B Rupp committed
    • alpha.c (vms_attribute_table): Add new attributes. · c1bd46a8
      	* config/alpha/alpha.c (vms_attribute_table): Add new attributes.
      	(alpha_write_linkage): Test for null alpha_links.
      	(SECTION_VMS_GLOBAL, SECTION_VMS_INITIALIZE): New section attributes.
      	(vms_section_type_flags, vms_asm_named_section): Handle them.
      
      From-SVN: r48000
      Douglas B Rupp committed
    • i386.c (ix86_fpmath, [...]): New. · 965f5423
      Fri Dec 14 12:05:14 CET 2001  Jan Hubicka  <jh@suse.cz>
      
      	* i386.c (ix86_fpmath, ix86_fpmath_string): New.
      	(override_option): Set ix86_fpmath.
      	* i386.h (MASK_MIX_SSE_I387): Remove.
      	(TARGET_SSE_MATH): New.
      	(TARGET_MIX_SSE_I387): Use ix86_fpmath.
      	(TARGET_SWITCHES): Remove "mix-sse-i387".
      	(fpmath_unit): New enum.
      	(ix86_fpmath, ix86_fpmath_string): Declare.
      	* i386.md (swapsf): Fix condition.
      	(add?f, sub?f, mul?f, div?f, sqrt?f, min?f): Use TARGET_SSE_MATH.
      	(fp_?f_*_nosse): New.
      	(fp_*): Use TARGET_SSE_MATH.
      	* invoke.texi (-mfpmath): Document.
      	(-msse2): Add.
      
      From-SVN: r47999
      Jan Hubicka committed
    • tweak comment · 009c3281
      From-SVN: r47998
      Jason Merrill committed
    • dwarf2out.c (output_die): Print the string in the comment for a DW_FORM_strp. · a4cf1d85
              * dwarf2out.c (output_die): Print the string in the comment for
              a DW_FORM_strp.
      
      From-SVN: r47997
      Jason Merrill committed
    • * netbsd.h (COLLECT_SHARED_INIT_FUNC) · 172270b3
      (COLLECT_SHARD_FINI_FUNC): Remove redundant semicolon.
      * doc/tm.texi (COLLECT_SHARED_INIT_FUNC)
      (COLLECT_SHARD_FINI_FUNC): Use @code where appropriate.
      
      From-SVN: r47996
      Richard Earnshaw committed
    • Daily bump. · e82c2b28
      From-SVN: r47995
      GCC Administrator committed
    • regrename.c (kill_value_regno): Simplify chain removal. · 3de23727
              * regrename.c (kill_value_regno): Simplify chain removal.
              (kill_value): Kill all of HARD_REGNO_NREGS.
              (kill_set_value): Use kill_value not kill_value_regno.
              (kill_autoinc_value): Likewise.
              (copyprop_hardreg_forward): Don't collect refresh_blocks.
              Call delete_noop_moves.
      
      From-SVN: r47992
      Richard Henderson committed
    • altivec-4.c: New. · c178fe89
      2001-12-13  Aldy Hernandez  <aldyh@redhat.com>
      
      	* gcc.dg/altivec-4.c: New.
      
      From-SVN: r47991
      Aldy Hernandez committed
    • attribs.c (c_common_attribute_table): Swap decl_req and type_req for the mode attribute. · c3f23a53
              * attribs.c (c_common_attribute_table): Swap decl_req and type_req
      	for the mode attribute.
              (handle_mode_attribute): Handle types, not decls.
      
      From-SVN: r47990
      Aldy Hernandez committed
    • attribs.c (c_common_attribute_table): Swap decl_req and type_req for the mode attribute. · 803e8894
      2001-12-09  Aldy Hernandez  <aldyh@redhat.com>
      
              * attribs.c (c_common_attribute_table): Swap decl_req and type_req
      	for the mode attribute.
              (handle_mode_attribute): Handle types, not decls.
      
      From-SVN: r47989
      Aldy Hernandez committed
    • c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro. · 82d351a6
              * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
      
              Use cleanups to run base and member destructors.
              * init.c (push_base_cleanups): New function, split out from...
              (build_delete): ...here.  Lose !TYPE_HAS_DESTRUCTOR code.
              * decl.c (finish_destructor_body): Move vbase destruction code to
              push_base_cleanups.
              (begin_function_body, finish_function_body): New fns.
              (finish_function): Move [cd]tor handling and call_poplevel to
              finish_function_body.
              (pushdecl): Skip the new level.
              * semantics.c (genrtl_try_block): Don't call end_protect_partials.
              (setup_vtbl_ptr): Call push_base_cleanups.
              * method.c (synthesize_method): Call {begin,end}_function_body.
              * pt.c (tsubst_expr): Handle COMPOUND_STMT_BODY_BLOCK.
              * cp-tree.h: Declare new fns.
              * parse.y (function_body, .begin_function_body): New nonterminals.
              (fndef, pending_inline, function_try_block): Use function_body.
              (ctor_initializer_opt, function_try_block): No longer has a value.
              (base_init): Remove .set_base_init token.
              (.set_base_init, compstmt_or_error): Remove.
              * Make-lang.in (parse.c): Expect two fewer s/r conflicts.
      
      From-SVN: r47988
      Jason Merrill committed
    • c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro. · ade3dc07
              * c-common.h (COMPOUND_STMT_BODY_BLOCK): New macro.
      
              * Make-lang.in (parse.h): Separate rule, just depend on parse.c.
      
              Use cleanups to run base and member destructors.
              * init.c (push_base_cleanups): New function, split out from...
              (build_delete): ...here.  Lose !TYPE_HAS_DESTRUCTOR code.
              * decl.c (finish_destructor_body): Move vbase destruction code to
              push_base_cleanups.
              (begin_function_body, finish_function_body): New fns.
              (finish_function): Move [cd]tor handling and call_poplevel to
              finish_function_body.
              (pushdecl): Skip the new level.
              * semantics.c (genrtl_try_block): Don't call end_protect_partials.
              (setup_vtbl_ptr): Call push_base_cleanups.
              * method.c (synthesize_method): Call {begin,end}_function_body.
              * pt.c (tsubst_expr): Handle COMPOUND_STMT_BODY_BLOCK.
              * cp-tree.h: Declare new fns.
              * parse.y (function_body, .begin_function_body): New nonterminals.
              (fndef, pending_inline, function_try_block): Use function_body.
              (ctor_initializer_opt, function_try_block): No longer has a value.
              (base_init): Remove .set_base_init token.
              (.set_base_init, compstmt_or_error): Remove.
              * Make-lang.in (parse.c): Expect two fewer s/r conflicts.
      
      From-SVN: r47987
      Jason Merrill committed
    • rs6000.md (eh_set_lr_di): Change scratch constraint to base register. · 466eb3e0
      2001-12-13  Aldy Hernandez  <aldyh@redhat.com>
      
      		* config/rs6000/rs6000.md (eh_set_lr_di): Change scratch
              constraint to base register.
              (eh_set_lr_si): Same.
      
      From-SVN: r47986
      Aldy Hernandez committed
    • restore # lines · 4fc12617
      From-SVN: r47985
      Jason Merrill committed
    • expr.c (expand_expr, [...]): Don't honor flag_force_addr for modifier != EXPAND_CONST_ADDRESS... · 05c8e58b
      	* expr.c (expand_expr, case ADDR_EXPR): Don't honor
      	flag_force_addr for modifier != EXPAND_CONST_ADDRESS,
      	modifier != EXPAND_INITIALIZER and modifier != EXPAND_SUM.
      
      	* gcc.dg/20011113-1.c: New test.
      
      From-SVN: r47984
      Hans-Peter Nilsson committed
    • expr.c (copy_blkmode_from_reg): Add missing braces to eliminate warning and reformat comments. · 1ed1b4fb
      	* expr.c (copy_blkmode_from_reg): Add missing braces to eliminate
      	warning and reformat comments.
      	(expand_assignment): Don't pass EXPAND_WRITE if LHS is component.
      	(highest_pow2_factor, case INTEGER_CST): Return BIGGEST_ALIGNMENT
      	if overflow.
      
      From-SVN: r47983
      Richard Kenner committed
  2. 13 Dec, 2001 17 commits