Skip to content
Snippets Groups Projects
  1. Nov 26, 2004
  2. Nov 25, 2004
    • Andrew Pinski's avatar
      parts of PR rtl-opt/18463, rtl-opt/17647 · b7ca416f
      Andrew Pinski authored
      2004-11-25  Andrew Pinski <pinskia@physics.uc.edu>
      
              parts of PR rtl-opt/18463, rtl-opt/17647
              * cse.c (canon_for_address): New function.
              (find_best_addr): Call canon_for_address before getting the
              address's cost when checking if we should take that address.
      
      From-SVN: r91308
      b7ca416f
    • Kazu Hirata's avatar
      tree-phinodes.c (add_phi_arg): Take "tree" instead of "tree *" as the first argument. · d2e398df
      Kazu Hirata authored
      	* tree-phinodes.c (add_phi_arg): Take "tree" instead of
      	"tree *" as the first argument.
      	* tree-flow.h: Update the prototype of add_phi_arg.
      	* lambda-code.c, tree-cfg.c, tree-into-ssa.c,
      	tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa-pre.c,
      	tree-ssa-threadupdate.c, tree-ssa.c, tree-tailcall.c,
      	tree-vectorizer.c: Update all call sites of add_phi_arg.
      
      From-SVN: r91307
      d2e398df
    • Nathan Sidwell's avatar
      bitmap.c (bitmap_malloc_alloc, [...]): Remove. · 9f8e7478
      Nathan Sidwell authored
      	* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
      	* bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
      	(BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
      	(BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.
      
      From-SVN: r91306
      9f8e7478
    • Andrew MacLeod's avatar
      re PR tree-optimization/18587 (build_v_may_defs and build_vuses can be improved when adding) · e288e2f5
      Andrew MacLeod authored
      2004-11-25  Andrew Macleod  <amacleod@redhat.com>
      
      	PR tree-optimization/18587
      	* tree-flow-inline.h (mark_call_clobbered, mark_non_addressable): Flag
      	call clobbered caches as invalid.
      	* tree-ssa-operands.c (ssa_call_clobbered_cache_valid): New.  Flag
      	indicating whether the call clobbered operand cache is valid.
      	(ssa_ro_call_cache_valid): New.  Flag indicating whether the pure/const
      	call operand cache is valid.
      	(clobbered_v_may_defs, clobbered_vuses, ro_call_vuses): New.
      	cached list of operands for cached call virtual operands.
      	(clobbered_aliased_loads, clobbered_aliased_stores,
      	ro_call_aliased_load): New.  flags caching whether alias bits are to be
      	set in call stmt's.  */
      	(fini_ssa_operands): Remove call operand caches if present.
      	(get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands):
      	Pass stmt annotation to add_stmt_operand.
      	(get_call_expr_operands): Add call clobbered variables first.
      	(add_stmt_operand): Take stmt annotation rather than stmt as a param.
      	(add_call_clobber_ops, add_call_read_ops): Use the call operand cache
      	if it is valid, otherise fill the cache.
      	* tree-ssa-operands.h (ssa_clobbered_cache_valid): Declare extern.
      
      	* tree-flow.h (struct var_ann_d): Add in_vuse_list and in_v_may_def_list
      	bits.
      	* tree-ssa-operands.c (cleanup_v_may_defs): New.  Clear the in_list bits
      	for the v_may_def elements and empty the operand build array.
      	(finalize_ssa_vuses): Use cleanup_v_may_defs and remove redundant VUSES
      	by checking the in_v_may_def_list bit.
      	(append_v_may_def, append_vuse): Use the in_list bit rather than
      	scanning the array for duplicates.
      
      From-SVN: r91305
      e288e2f5
    • Bryce McKinlay's avatar
      ResourceBundle.java (BundleKey): Don't implement Cloneable. · 5257260c
      Bryce McKinlay authored
      2004-11-25  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* java/util/ResourceBundle.java (BundleKey): Don't implement
      	Cloneable.
      	(BundleKey.clone): Removed.
      	(getBundle): Copy BundleKey using constructor, not clone().
      
      From-SVN: r91304
      5257260c
    • Ulrich Weigand's avatar
      s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF displacements are not short. · 227a39fa
      Ulrich Weigand authored
      	* config/s390/s390.c (s390_short_displacement): UNSPEC_GOTNTPOFF
      	displacements are not short.
      
      From-SVN: r91303
      227a39fa
    • Ulrich Weigand's avatar
      s390.c (legitimize_pic_address): Use s390_load_address to load addresses. · 6aea2f6d
      Ulrich Weigand authored
      	* config/s390/s390.c (legitimize_pic_address): Use s390_load_address
      	to load addresses.
      
      From-SVN: r91302
      6aea2f6d
    • Mark Mitchell's avatar
      re PR c++/18001 (Badly formatted error message (quotation problem)) · 5ae9ba3e
      Mark Mitchell authored
      	PR c++/18001
      	* c-common.h (lvalue_use): Move here from c-ctypeck.c.
      	(lvalue_or_else): Declare.
      	* c-common.c (lvalue_or_else): Move here from c-typeck.c.
      	* c-typeck.c (lvalue_use): Remove.
      	(lvalue_or_else): Remove.
      
      	PR c++/18556
      	* toplev.c (check_global_declarations): Set DECL_IGNORED_P on
      	unemitted variables with static storage duration.
      
      	PR c++/18445
      	* class.c (instantiate_type): Treat NON_DEPENDENT_EXPRs with
      	unknown_type as non matching.  Tidy up.
      	* pt.c (build_non_dependent_expr): Do not build a
      	NON_DEPENDENT_EXPR for a VAR_DECL.
      
      	PR c++/18001
      	* cp-tree.h (lvalue_or_else): Remove declaration.
      	* tree.c (lvalue_or_else): Remove.
      	* typeck.c (build_unary_op): Adjust call to lvalue_or_else.
      	(build_modify_expr): Likewise.
      
      	PR c++/18625
      	* decl.c (duplicate_decls): Return error_mark_node on error, as
      	specified.
      
      	PR c++/18466
      	* decl.c (grokvardecl): Keep track of whether or not a there was
      	explicit qualification.
      	* name-lookup.c (set_decl_namespace): Complain about explicit
      	qualification of a name within its own namespace.
      
      	PR c++/18545
      	* typeck.c (check_return_expr): Robustify.
      
      	PR c++/18445
      	* g++.dg/template/crash28.C: Likewise.
      
      	PR c++/18001
      	* g++.dg/expr/unary2.C: Adjust lvalue messages.
      	* g++.dg/ext/lvaddr.C: Likewise.
      	* g++.dg/opt/pr7503-3.C: Likewise.
      
      	PR c++/18466
      	* g++.dg/parse/qualified3.C: New test.
      	* g++.old-deja/g++.other/friend7.C: Remove bogus qualification.
      
      	PR c++/18545
      	* g++.dg/expr/return1.C: New test.
      
      From-SVN: r91301
      5ae9ba3e
    • Kriang Lerdsuwanakij's avatar
      Friend class name lookup 3/n, PR c++/3332 · 87c465f5
      Kriang Lerdsuwanakij authored
      	Friend class name lookup 3/n, PR c++/3332
      	* name-lookup.c (push_inner_scope, pop_inner_scope): New functions.
      	(lookup_type_scope): Don't deal with name from user declaration
      	specially.
      	* name-lookup.h (push_inner_scope, pop_inner_scope): Add declarations.
      	* parser.c (cp_parser_class_specifier): Use push_inner_scope and
      	pop_inner_scope.
      
      	* g++.dg/lookup/friend3.C: New test.
      	* g++.dg/lookup/friend4.C: Likewise.
      	* g++.dg/lookup/friend5.C: Likewise.
      
      From-SVN: r91300
      87c465f5
    • Kriang Lerdsuwanakij's avatar
      Friend class name lookup 2/n, PR c++/14513, c++/15410 · 29ef83de
      Kriang Lerdsuwanakij authored
      	Friend class name lookup 2/n, PR c++/14513, c++/15410
      	* name-lookup.c (lookup_name_real): Simplify.
      	(lookup_type_scope): Add SCOPE parameter.  Handle friend class
      	lookup.
      	* name-lookup.h (tag_scope): New enum type.
      	(lookup_type_scope): Adjust declaration.
      	* decl.c (lookup_and_check_tag, xref_tag, xref_tag_from_type):
      	Change bool parameter GLOBALIZED to TAG_SCOPE parameter SCOPE.
      	(start_enum): Likewise.  Add assertion test that NAME is
      	IDENTIFIER_NODE.  Use anonymous name for dummy ENUMERAL_TYPE in
      	case of error.
      	* cp-tree.h (xref_tag, xref_tag_from_type): Adjust declarations.
      	* parser.c (cp_parser_elaborated_type_specifier,
      	cp_parser_class_head): Adjust call to xref_tag.
      	* pt.c (lookup_template_class, instantiate_class_template):
      	Likewise.
      	* rtti.c (init_rtti_processing, build_dynamic_cast_1,
      	tinfo_base_init, emit_support_tinfos): Likewise.
      
      	* g++.dg/lookup/friend2.C: New test.
      	* g++.dg/template/friend31.C: Likewise.
      
      From-SVN: r91299
      29ef83de
    • Arnaud Charlet's avatar
      Resync. · 3c13948a
      Arnaud Charlet authored
      From-SVN: r91298
      3c13948a
    • Arnaud Charlet's avatar
      g-socthi-mingw.ads, [...]: Remove C_Read and C_Write from internal... · 670d2c11
      Arnaud Charlet authored
      g-socthi-mingw.ads, [...]: Remove C_Read and C_Write from internal implementation unit GNAT.Sockets.Thin...
      
      	* g-socthi-mingw.ads, g-socthi-vms.ads: Remove C_Read and C_Write from
      	internal implementation unit GNAT.Sockets.Thin,
      	as their usage for sockets is non-portable (using the read and write
      	functions from the system runtime library is fine on UNIX but won't
      	work under Windows).
      
      	* mingw32.h: Update copyright notice.
      
      From-SVN: r91297
      670d2c11
    • Arnaud Charlet's avatar
      ada-tree.h: Minor reformatting of previous change to avoid lines longer than 79 characters. · 061fd2bf
      Arnaud Charlet authored
      	* ada-tree.h: Minor reformatting of previous change to avoid lines
      	longer than 79 characters.
      
      From-SVN: r91296
      061fd2bf
    • Benjamin Kosnik's avatar
      ChangeLog: Remove duplicate lines. · 792db14a
      Benjamin Kosnik authored
      2004-11-24  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* ChangeLog: Remove duplicate lines.
      
      From-SVN: r91295
      792db14a
    • Kelley Cook's avatar
      libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. · 767f726e
      Kelley Cook authored
      2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.
      	* boehm-gc/configure: Regenerate.
      	* libffi/configure: Regenerate.
      	* libgfortran/configure: Regenerate.
      	* libjava/configure: Regenerate.
      	* libobjc/configure: Regenerate.
      	* libstdc++-v3/configure: Regenerate.
      	* zlib/configure: Regenerate.
      
      From-SVN: r91293
      767f726e
    • Kelley Cook's avatar
      Makefile.am: Revert previous. · b269c22b
      Kelley Cook authored
      2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am: Revert previous.
      	* acinclude.m4: Restore.
      	* aclocal.m4, configure, Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r91292
      b269c22b
    • Gerald Pfeifer's avatar
      tree-cfg.c (tree_verify_flow_info): Do not terminate error() message with \n. · 6ade0959
      Gerald Pfeifer authored
      	* tree-cfg.c (tree_verify_flow_info): Do not terminate error()
      	message with \n.
      
      From-SVN: r91291
      6ade0959
    • Olivier Hainque's avatar
      tb-gcc.c: GCC infrastructure based implementation of __gnat_backtrace. · e850e1f4
      Olivier Hainque authored
      	* tb-gcc.c: GCC infrastructure based implementation of
      	__gnat_backtrace.
      
      From-SVN: r91290
      e850e1f4
    • Arnaud Charlet's avatar
      Complete previous check-in: add Style_Check_Xtra_Parens. · 62b63164
      Arnaud Charlet authored
      From-SVN: r91289
      62b63164
    • Michael Koch's avatar
      Makefile.am: Added most of javax.print again. · bef638f4
      Michael Koch authored
      2004-11-25  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am: Added most of javax.print again.
      	* Makefile.in: Regenerated.
      
      From-SVN: r91288
      bef638f4
    • Nathan Sidwell's avatar
      altivec.md (VIshort): New mode macro. · aba5fb01
      Nathan Sidwell authored
      	* config/rs6000/altivec.md (VIshort): New mode macro.
      	(altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace
      	with ...
      	(altivec_vaddu<VI_char>s): ... this.
      	(altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace
      	with ...
      	(altivec_vadds<VI_char>s): ... this.
      	(altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace
      	with ...
      	(altivec_vsubu<VI_char>s): ... this.
      	(altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace
      	with ...
      	(altivec_vsubs<VI_char>s): ... this.
      	(altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace
      	with ...
      	(altivec_vavgu<VI_char>): ... this.
      	(altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace
      	with ...
      	(altivec_vavgs<VI_char>): ... this.
      	(altivec_vmsumubm, altivec_vmsumuhm): Replace with ...
      	(altivec_vmsumu<VI_char>m): ... this.
      	(altivec_vmsummbm, altivec_vmsummhm): Replace
      	with ...
      	(altivec_vmsumm<VI_char>m): ... this.
      	(altivec_vandc): Remove.
      	(*andc<mode>3): Renamed to ...
      	(andc<mode>3): ... here. Swap operand 1 and 2 numbering.
      	(altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace
      	with ...
      	(altivec_vrl<VI_char>): ... this.
      	(altivec_vslb, altivec_vslh, altivec_vslw): Replace
      	with ...
      	(altivec_vsl<VI_char>): ... this.
      	(altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace
      	with ...
      	(altivec_vsr<VI_char>): ... this.
      	(altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace
      	with ...
      	(altivec_vsra<VI_char>): ... this.
      	(altivec_vsum4sbs, altivec_vsum4shs): Replace with ...
      	(altivec_vsum4s<VI_char>s): ... this.
      	(altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace
      	with ...
      	(altivec_vperm_<mode>): ... this.
      	(altivec_vsel_4sf): Rename to ...
      	(altivec_vsel_v4sf): ... here.
      	(altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace
      	with ...
      	(altivec_vsel_<mode>): ... this.
      	(altivec_vsldoi_4si, altivec_vsldoi_8hi,
      	altivec_vsldoi_16qi): Rename to ...
      	(altivec_vsldoi_v4si, altivec_vsldoi_v8hi,
      	altivec_vsldoi_v16qi): ... here.
      	(altivec_vsldoi_4sf): Rename to ...
      	(altivec_vsldoi_v4sf): ... here.
      	(altivec_predicate_v4si, altivec_predicate_v8hi,
      	altivec_predicate_v16qi): Replace with ...
      	(altivec_predicate_<mode>): ... this.
      	(altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace
      	with ...
      	(altivec_lve<VI_char>x): ... this.
      	(altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace
      	with ...
      	(altivec_stve<VI_char>x): ... this.
      	(absv16qi2, absv8hi2, absv4si2): Replace
      	with ...
      	(abs<mode>2): ... this.
      	(altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace
      	with ...
      	(altivec_abss_<mode>): ... this.
      	(vec_realign_load_v16qi, vec_realign_load_v8hi,
      	vec_realign_load_v4si): Replace with ...
      	(vec_realign_load_<mode>): ... this.
      	* config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked
      	insn names.
      	(rs6000_expand_ternop_builtin): Likewise.
      
      From-SVN: r91287
      aba5fb01
    • Michael Koch's avatar
      Makefile.am: Added most of javax.print again. · 8f9bd776
      Michael Koch authored
      2004-11-25  Michael Koch  <konqueror@gmx.de>
      
      	* Makefile.am: Added most of javax.print again.
      	* Makefile.in: Regenerated.
      
      From-SVN: r91286
      8f9bd776
    • Andrew Haley's avatar
      Add missing file from gcj-abi-2-dev-branch merge · fbd8fb2d
      Andrew Haley authored
      From-SVN: r91285
      fbd8fb2d
    • Andrew Haley's avatar
      Add missing file from gcj-abi-2-dev-branch merge. · e0966a17
      Andrew Haley authored
      From-SVN: r91284
      e0966a17
    • Andrew Haley's avatar
      gcc.c (process_command): Don't supply -v to linker. · b1df6376
      Andrew Haley authored
      2004-11-25  Andrew Haley  <aph@redhat.com>
      
              * gcc.c (process_command): Don't supply -v to linker.
      
      From-SVN: r91283
      b1df6376
    • Joseph Myers's avatar
      darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic. · 597cdf4f
      Joseph Myers authored
      	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
      	instead of `%s' in diagnostic.
      
      cp:
      	* g++spec.c, lex.c: Avoid ` as left quote in diagnostics.
      
      fortran:
      	* f95-lang.c, gfortranspec.c, trans-decl.c: Avoid ` as left quote
      	in diagnostics.
      
      java:
      	* gjavah.c, jcf-dump.c, jv-scan.c, jvspec.c: Avoid ` as left quote
      	in diagnostics.
      
      From-SVN: r91282
      597cdf4f
    • Nathan Sidwell's avatar
      basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust. · cc175e7c
      Nathan Sidwell authored
      	* basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
      	(FREE_REG_SET): Adjust.
      	* bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
      	* bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
      	(BITMAP_ALLOC): ... here.
      	(BITMAP_OBSTACK_FREE): Rename to ...
      	(BITMAP_FREE): Don't check for NULL bitmap here.
      	* tree-ssa-pre.c (value_insert_into_set_bitmap,
      	bitmap_set_new): Use new names.
      
      From-SVN: r91281
      cc175e7c
    • Nathan Sidwell's avatar
      bt-load.c (migrate_btr_defs): Remove unneeded NULL check. · d0397fd9
      Nathan Sidwell authored
      	* bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
      	* df.c (df_free): Likewise.
      	* ra-build.c (ra_build_free, ra_build_free_all): Likewise.
      	* tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise.
      
      From-SVN: r91280
      d0397fd9
    • Nathan Sidwell's avatar
      basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ... · 04389919
      Nathan Sidwell authored
      	* basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
      	(ALLOC_REG_SET): ... here.
      	(FREE_REG_SET): Adjust.
      	(XMALLOC_REG_SET, XFREE_REG_SET): Remove.
      	* bb-reorder.c (fix_crossing_conditional_branches): Adjust.
      	* cfglayout.c (cfg_layout_duplicate_bb): Adjust.
      	* cfgrtl.c (rtl_split_block, rtl_split_edge,
      	safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
      	* flow.c (update_life_info, calculate_global_regs_live,
      	allocate_bb_life_data, init_propagate_block_info): Adjust.
      	* global.c (build_insn_chain): Adjust.
      	* ifcvt.c (dead_or_predicable): Adjust.
      	* loop-iv.c (simplify_using_initial_values): Adjust.
      	* recog.c (peephole2_optimize): Adjust.
      	* sched-deps.c (init_deps_global): Adjust.
      
      From-SVN: r91279
      04389919
    • Richard Henderson's avatar
      verify-glue.c (vfy_init_name, [...]): Use ANSI declaration form. · eb9744a7
      Richard Henderson authored
              * verify-glue.c (vfy_init_name, vfy_clinit_name, vfy_object_type,
              vfy_string_type, vfy_throwable_type): Use ANSI declaration form.
      
      From-SVN: r91278
      eb9744a7
    • Tom Tromey's avatar
      verify.c (defer_merging): Don't use C++-style comment. · 6a4877c4
      Tom Tromey authored
      	* verify.c (defer_merging): Don't use C++-style comment.
      	* verify.h (java_opcode): Added java_opcode_end.
      	* class.c (build_class_ref): Remove C++ comment and old FIXME.
      
      From-SVN: r91277
      6a4877c4
    • Tom Tromey's avatar
      verify-impl.c (vfy_push_type): Removed bogus "return". · 528d9c63
      Tom Tromey authored
      	* verify-impl.c (vfy_push_type): Removed bogus "return".
      	(initialize_stack): Use vfy_alloc and vfy_free.
      	(verify_instructions_0): Likewise.
      
      From-SVN: r91276
      528d9c63
    • Ralf Corsepius's avatar
      config.gcc (avr-*-rtems*): Fix typo. · 91ff9507
      Ralf Corsepius authored
      2004-11-25  Ralf Corsepius <ralf.corsepius@rtems.org>
      
      	* config.gcc (avr-*-rtems*): Fix typo.
      
      From-SVN: r91274
      91ff9507
    • J"orn Rennecke's avatar
      sh.c (sh_output_mi_thunk): Do not call regset_release_memory. · f04e1b1b
      J"orn Rennecke authored
      2004-11-25  J"orn Rennecke <joern.rennecke@st.com>
      
      	* sh.c (sh_output_mi_thunk): Do not call regset_release_memory.
      
      From-SVN: r91273
      f04e1b1b
    • John David Anglin's avatar
      fc6fdbf3
    • Jeff Law's avatar
      tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce the number of... · 0bab1c88
      Jeff Law authored
      tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce the number of queries to random elements in the ai->written_vars bitmap.
      
              * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce
              the number of queries to random elements in the ai->written_vars
              bitmap.
      
      From-SVN: r91271
      0bab1c88
Loading