1. 08 Jul, 2004 3 commits
  2. 07 Jul, 2004 37 commits
    • 20020210-1.c: xfail with optimization. · b49fcebd
      2004-07-07  Eric Christopher  <echristo@redhat.com>
      
      	* gcc.c-torture/compile/20020210-1.c: xfail with optimization.
      
      From-SVN: r84243
      Eric Christopher committed
    • jvm.h (namespace jcj): Declare verbose_class_flag · 0bd24153
      
      	* include/jvm.h (namespace jcj):  Declare verbose_class_flag
      	* java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
      	(initializeClass):  If verbose_class_flag, print message.
      	* gij.cc (main):  Handle -verbose:class flag.
      
      From-SVN: r84242
      Per Bothner committed
    • function.c (assign_parm_find_data_types): Call FUNCTION_ARG_PASS_BY_REFERENCE only if it's defined. · 6b70713d
      * function.c (assign_parm_find_data_types): Call
      FUNCTION_ARG_PASS_BY_REFERENCE only if it's defined.
      
      From-SVN: r84241
      Alexandre Oliva committed
    • abi.html: Updates for 3.4.1 release. · f83295c8
      
      2004-07-07  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* docs/html/abi.html: Updates for 3.4.1 release. Add summary of
      	-Weffc++ issues.
      
      From-SVN: r84240
      Benjamin Kosnik committed
    • tree-cfg (group_case_labels): Remove case labels that have the same target as the default case. · 31e9eea2
      	* tree-cfg (group_case_labels): Remove case labels that have the
      	same target as the default case.
      
      From-SVN: r84239
      Steven Bosscher committed
    • 931004-12.x: Xfail on powerpc-*-darwin*. · 192c02b6
      2004-07-07  Andrew Pinski  <apinski@apple.com>
      
              * gcc.c-torture/execute/931004-12.x: Xfail on powerpc-*-darwin*.
      
      From-SVN: r84238
      Andrew Pinski committed
    • tree-inline.c (optimize_inline_calls): Set DECL_INLINED_FNS regardless of… · d205c8fd
      tree-inline.c (optimize_inline_calls): Set DECL_INLINED_FNS regardless of DECL_LANG_SPECIFIC being present or not.
      
      	* tree-inline.c (optimize_inline_calls): Set DECL_INLINED_FNS
      	regardless of DECL_LANG_SPECIFIC being present or not.
      	* tree.h (DECL_NUM_STMTS): Purge.
      
      From-SVN: r84237
      Steven Bosscher committed
    • configure: Regenerate with the right autoconf. · 41e622a8
      2004-07-07  Andrew Pinski  <apinski@apple.com>
      
              * configure: Regenerate with the right autoconf.
      
      From-SVN: r84236
      Andrew Pinski committed
    • re PR libstdc++/16401 (ostringstream in gcc 3.4.x very slow for big data) · 9f9000d1
      2004-07-07  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/16401
      	* include/bits/sstream.tcc (overflow): When reallocating _M_string
      	use an exponential grow policy.
      	* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
      	* testsuite/performance/27_io/stringbuf_overflow.cc: New.
      
      From-SVN: r84235
      Paolo Carlini committed
    • * g++.dg/init/call1.C: XFAIL. · f4f58d94
      From-SVN: r84234
      Mark Mitchell committed
    • ifcvt.c (total_bb_rtx_cost): New function. · 25291055
              * ifcvt.c (total_bb_rtx_cost): New function.
              (find_if_case_1): Compare rtx_cost of basic block to cost of
              BRANCH_COST insns.
              (find_if_case_2): Same.
      
      From-SVN: r84233
      David Edelsohn committed
    • re PR target/10567 (-fno-delayed-branch not honored in back-end) · 951661a1
      	PR target/10567
      	* config/sparc/sparc.c (load_pic_register): Honor flag_delayed_branch.
      	(output_return): Likewise.
      	(output_sibcall): Abort if !flag_delayed_branch.
      	(sparc_function_ok_for_sibcall): Return 0 if !flag_delayed_branch.
      	(emit_and_preserve): New function.
      	(sparc_output_mi_thunk): Use it.  Honor flag_delayed_branch.  Emit an
      	indirect jump to the thunked-to function if !flag_delayed_branch.
      	* config/sparc/sparc.md (delayed_branch): New attribute.
      	(load_pcrel_sym): Honor flag_delayed_branch.  Use above
      	attribute to compute the length of the insn.
      	(goto_handler_and_restore): Likewise.
      
      From-SVN: r84232
      Eric Botcazou committed
    • re PR tree-optimization/15777 (Fold does not always fold sub trees) · 5f7b2156
      2004-07-07  Andrew Pinski  <apinski@apple.com>
      
              PR tree-optimization/15777
              * fold-const.c (fold_single_bit_test): Fold the x^1 expression.
      
      From-SVN: r84231
      Andrew Pinski committed
    • expr.c (expand_expr_real_1): Fix formating. · 3a18db48
      
      	* expr.c (expand_expr_real_1): Fix formating.
      	BUFFER_REF and IN_EXPR are dead.
      	* fold-const.c (non_lvalue): BUFFER_REF is dead.
      	* tree-inline.c (estimate_num_insns_1): Likewise.
      	* tree-pretty-print.c (dump_generic_node): BUFFER_REF,
      	IN_EXPR, SET_LE_EXPR, and CARD_EXPR are dead.
      	* tree.def (BUFFER_REF, IN_EXPR, SET_LE_EXPR, CARD_EXPR): Kill.
      cp/ChangeLog:
      	* class.c (instantiate_type): BUFFER_REF is dead.
      	* lex.c (init_operators): IN_EXPR is dead.
      
      From-SVN: r84230
      Andrew Pinski committed
    • re PR c++/16334 (No warning about use of overloading extension) · 4fe2a1a7
              PR c++/16334
              * call.c (build_new_op): Give overload warnings for built-in
              candidates.
      
      From-SVN: r84229
      Jason Merrill committed
    • * MAINTAINERS: Add self as a profile feedback maintainer. · 051822f6
      From-SVN: r84228
      Jan Hubicka committed
    • collect2.c (dump_file): Don't call cplus_demangle if HAVE_LD_DEMANGLE is defined. · d594623a
      2004-07-07  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* collect2.c (dump_file): Don't call cplus_demangle if
      	HAVE_LD_DEMANGLE is defined.
      	(main): Pass "--demangle" to ld if no_demangle is not 0 and
      	HAVE_LD_DEMANGLE is defined. Don't set current_demangling_style
      	if HAVE_LD_DEMANGLE is defined.
      
      	* configure.ac (--with-demangler-in-ld): Added
      	(HAVE_LD_DEMANGLE): Define if ld supports --demangle when
      	--with-demangler-in-ld is used.
      	* config.in: Regenerated.
      	* configure: Likewise.
      
      From-SVN: r84227
      H.J. Lu committed
    • rs6000.c (struct processor_costs): Add new fields for simple floating point operations "fp"... · f0517163
      
      	* config/rs6000/rs6000.c (struct processor_costs): Add new fields
      	for simple floating point operations "fp", double precision
      	multiplication "dmul", and single and double precision division
      	"sdiv" and "ddiv".  Update all CPU variant tables as appropriate.
      	(ppc630_cost): New table split from ppc620_cost, to distinguish
      	differences in floating point latencies.
      	(rs6000_override_options): Use ppc630_cost for PROCESSOR_PPC630.
      	(rs6000_rtx_costs): Add support for single and double precision
      	floating point addition, subtraction, multiplication, division,
      	fused-multiply-add, fused-multiply-sub, negation, absolute value
      	and negative absolute value.  Tweak MEM case to use prefered idiom.
      
      From-SVN: r84226
      Roger Sayle committed
    • tree-flow-inline.h (may_propagate_copy): Move... · 63b88252
              * tree-flow-inline.h (may_propagate_copy): Move...
              * tree-ssa-copy.c (may_propagate_copy): ... here.  Fail if we
              attempt to copy between types requiring conversion.
              * tree-flow.h (may_propagate_copy): Update decl.
              * tree-ssa-dom.c (cprop_operand): Tidy redundant tests.
      
      From-SVN: r84225
      Richard Henderson committed
    • i386.c (override_options): Don't set x86_prefetch_sse from -mtune= option. · 6c4918da
      	* config/i386/i386.c (override_options): Don't set x86_prefetch_sse
      	from -mtune= option.
      
      From-SVN: r84223
      Jakub Jelinek committed
    • builtins.c: Rename movstr*, except for movstrict*, to movmem* and clrstr* to clrmem*. · 70128ad9
      gcc/ChangeLog:
      * builtins.c: Rename movstr*, except for movstrict*, to
      movmem* and clrstr* to clrmem*.
      * expr.c: Likewise.
      * expr.h: Likewise.
      * genopinit.c: Likewise.
      * integrate.c: Likewise.
      * local-alloc.c: Likewise.
      * optabs.c: Likewise.
      * optabs.h: Likewise.
      * config/alpha/alpha.h: Likewise.
      * config/alpha/alpha.md: Likewise.
      * config/arm/arm-protos.h: Likewise.
      * config/arm/arm.c: Likewise.
      * config/arm/arm.md: Likewise.
      * config/avr/avr.md: Likewise.
      * config/c4x/c4x.c: Likewise.
      * config/c4x/c4x.md: Likewise.
      * config/frv/frv.md: Likewise.
      * config/i386/i386-protos.h: Likewise.
      * config/i386/i386.c: Likewise.
      * config/i386/i386.h: Likewise.
      * config/i386/i386.md: Likewise.
      * config/i860/i860.c: Likewise.
      * config/i860/i860.md: Likewise.
      * config/ip2k/ip2k.md: Likewise.
      * config/ip2k/libgcc.S: Likewise.
      * config/ip2k/t-ip2k: Likewise.
      * config/m32r/m32r.c: Likewise.
      * config/m32r/m32r.md: Likewise.
      * config/mcore/mcore.md: Likewise.
      * config/mips/mips.c: Likewise.
      * config/mips/mips.md: Likewise.
      * config/ns32k/ns32k.c: Likewise.
      * config/ns32k/ns32k.h: Likewise.
      * config/ns32k/ns32k.md: Likewise.
      * config/pa/pa.c: Likewise.
      * config/pa/pa.md: Likewise.
      * config/pdp11/pdp11.h: Likewise.
      * config/pdp11/pdp11.md: Likewise.
      * config/rs6000/rs6000.c: Likewise.
      * config/rs6000/rs6000.md: Likewise.
      * config/s390/s390-protos.h: Likewise.
      * config/s390/s390.c: Likewise.
      * config/s390/s390.md: Likewise.
      * config/sh/lib1funcs.asm: Likewise.
      * config/sh/sh.c: Likewise.
      * config/sh/sh.md: Likewise.
      * config/sh/t-sh: Likewise.
      * config/sparc/sparc.h: Likewise.
      * config/vax/vax.md: Likewise.
      * config/xtensa/xtensa.c: Likewise.
      * config/xtensa/xtensa.md: Likewise.
      * doc/invoke.texi: Likewise.
      * doc/md.texi: Likewise.
      * doc/rtl.texi: Likewise.
      gcc/testsuite/ChangeLog:
      * gcc.c-torture/execute/builtins/mempcpy-2.c: Rename movstr*,
      except for movstrict*, to movmem* and clrstr* to clrmem*.
      
      From-SVN: r84222
      Alexandre Oliva committed
    • re PR target/16407 (Unaligned access to local variables) · 48b2e0a7
      	PR target/16407
      	* config/mips/mips-protos.h (mips_declare_common_object): Declare.
      	* config/mips/mips.c (mips_declare_common_object): New function,
      	mostly split out from...
      	(mips_output_aligned_decl_common): ...here.
      	* config/mips/mips.h (ASM_OUTPUT_LOCAL): Remove in favor of...
      	(ASM_OUTPUT_ALIGNED_LOCAL): ...this new definition.
      	* config/mips/iris6.h (ASM_OUTPUT_ALIGNED_LOCAL): Undefine this
      	rather than ASM_OUTPUT_LOCAL.  Call mips_declare_common_object.
      
      From-SVN: r84219
      Richard Sandiford committed
    • re PR middle-end/16392 (function.c:3192: error: `stack_args_size' undeclared) · 477eff96
      	PR c/16392
      	* function.c (assign_parms): Fix typo from previous change.
      
      From-SVN: r84217
      John David Anglin committed
    • re PR c++/16276 ([3.4 only] G++ generates local references to linkonce sections) · 4681c505
      2004-07-07  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR c++/16276
      	* rtti.c (emit_tinfo_decl): Turn off DECL_ONE_ONLY if typeinfo
      	is not public.
      
      From-SVN: r84215
      H.J. Lu committed
    • configure.host: Enable hash synchronization on Darwin. · 0e497b6c
      2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
      
      	* configure.host: Enable hash synchronization on Darwin.
      	* sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
      	';', since this is a comment on Darwin.
      	(compare_and_swap_release): Likewise.
      
      From-SVN: r84214
      Andreas Tobler committed
    • re PR c++/15815 (Update #pragma interface and #pragma implementation documentation.) · fc72b380
              PR c++/15815
              * doc/extend.texi (C++ Interface): Correct information and
              discourage use.
      
      From-SVN: r84210
      Jason Merrill committed
    • re PR target/16130 (Gcc 3.4 ICE on valid code) · 25069b42
      2004-07-07  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR target/16130
      	PR target/16142
      	PR target/16143
      	* config/ia64/ia64.c (ia64_dfa_new_cycle): Reset DFA state for asm
      	insn.
      
      From-SVN: r84202
      Vladimir Makarov committed
    • re PR c++/1679 (c++ -v -save-temps -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem… · 767dec6b
      re PR c++/1679 (c++ -v -save-temps -DHAVE_CONFIG_H -I. -I. -I. -I./.. -isystem /usr/local/X11/include -DNDEBUG -O2 -g -W -Wall -trigraphs  -c HelpCB.C)
      
      PR target/1679.
      * config/m32r/m32r.c (m32r_function_symbol): New function: Generate a symbol
        name RTX with the correct m32r specific flags	set.
        (block_move_call): Use new function to generate correct symbol.
      * config/m32r/m32r-protos.h: Add prototype for new funcion.
      * config/m32r/m32r.h (INITIALIZE_TRAMPOLINE): Use the new function.
      
      From-SVN: r84200
      Kazuhiro Inaoka committed
    • tree.h (TYPE_BINFO_OFFSET, [...]): Remove. · 604a3205
      	* tree.h (TYPE_BINFO_OFFSET, TYPE_BINFO_VTABLE,
      	TYPE_BINFO_VIRTUALS, TYPE_BINFO_BASETYPES,
      	TYPE_BINFO_BASETYPE): Remove.
      	(BINFO_BASETYPES, BINFO_N_BASETYPES, BINFO_BASETYPE): Rename
      	to ...
      	(BINFO_BASE_BINFOS, BINFO_N_BASE_BINFOS, BINFO_BASE_BINFO): ...
      	here.
      	(BINFO_BASEACCESSES, BINFO_BASEACCESS): Rename to ...
      	(BINFO_BASE_ACCESSES, BINFO_BASE_ACCESS): ... here.
      	(BINFO_INHERITANCE_CHAIN): Redocument as it is actually used.
      	(struct tree_binfo): Rename base_types to base_binfos.
      	* alias.c (record_component_aliases): Adjust BINFO macros.
      	* dbxout.c (dbxout_type): Likewise.
      	* dwarf2out.c (gen_member_die): Likewise.
      	* sdbout.c (sdbout_one_type): Likewise.
      	* tree-dump.c (deque_and_dump): Likewise.
      	* config/i386/i386.c (classify_argument,
      	contains_128bit_aligned_vector_p): Likewise.
      
      	* cp/cp-tree.h (CLASSTYPE_N_BASECLASSES): Remove.
      	* cp/class.c (build_primary_vtable, check_bases,
      	determine_primary_base, finish_struct_bits,
      	maybe_warn_about_overly_private_class, dfs_find_final_overrider_q,
      	get_basefndecls, warn_hidden, walk_subobject_offsets,
      	build_base_fields, create_vtable_ptr, propagate_binfo_offsets,
      	layout_virtual_bases, end_of_class, warn_about_ambiguous_bases,
      	finish_struct_1, get_vfield_name, contains_empty_class_p,
      	dump_class_hierarchy_r, finish_vtbls, build_vtt_inits,
      	dfs_ctor_vtable_bases_queue_p, accumulate_vtbl_inits,
      	add_vcall_offset_vtbl_entries_r, cp_fold_obj_type_ref): Adjust
      	BINFO macros.
      	* cp/decl.c (xref_basetypes): Likewise.
      	* cp/dump.c (cp_dump_tree): Likewise.
      	* cp/error.c (dump_expr): Likewise.
      	* cp/init.c (sort_mem_initializers, expand_member_init,
      	push_base_cleanups): Likewise.
      	* cp/method.c (do_build_copy_constructor, do_build_assign_reg,
      	synthesize_exception_spec): Likewise.
      	* cp/name-lookup.c (arg_assoc_class):
      	* cp/pt.c (instantiate_class_template, tsubst,
      	get_template_base_recursive):
      	* cp/ptree.c (cxx_print_type):
      	* cp/rtti.c (get_psuedo_ti_init, get_pseudo_ti_desc): Likewise.
      	* cp/search.c (lookup_base_r, dynamic_cast_base_recurse,
      	dfs_access_in_type, access_in_type, lookup_field_queue_p,
      	bfs_walk, dfs_walk_real, look_for_overrides, markedp, unmarkedp,
      	marked_pushdecls_p, unmarked_pushdecls_p, dfs_debug_markedp,
      	dfs_debug_unmarkedp, dfs_check_overlap, dfs_no_overlap_yet,
      	binfo_for_vtable, copied_binfo, original_binfo): Likewise
      	* cp/tree.c (copy_base_binfos, make_binfo): Likewise.
      	* cp/typeck.c (commmon_base_type): Likewise
      	* cp/typeck2.c (process_init_constructor): Likewise
      
      	* java/java-tree.h (CLASSTYPE_SPUER): Adjust BINFO macros.
      	(TYPE_NVIRTUALS, TYPE_VTABLE): Likewise.
      	* java/class.c (set_super_info, class_depth, interface_of_p,
      	maybe_add_interface, add_interface, make_class_data,
      	layout_class, add_miranda_methods): Adjust BINFO macros.
      	* java/expr.c (can_widen_reference_to, lookup_field): Likewise.
      	* java/jcf-write.c (generate_classfile): Likewise.
      	* java/parse.y (patch_anonymous_class,
      	check_inner_circular_reference, check_circular_reference,
      	java_complete_class, check_abstract_method_definitions,
      	java_check_abstract_method_definitions,
      	check_interface_throws_clauses, java_check_abstract_methods,
      	lookup_java_interface_method2,
      	find_applicable_accessible_methods_list): Likewise.
      	* java/typeck.c (find_method_in_interface): Likewise.
      	* java/verify.c (merge_types): Likewise.
      
      From-SVN: r84198
      Nathan Sidwell committed
    • (fr30_setup_incoming_varargs): Change arguments to match · 6b66447a
      TARGET_SETUP_INCOMING_VARARGS prototype.
      
      From-SVN: r84197
      Nick Clifton committed
    • Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS. · 874a4e75
      2004-07-07  Matthias Klose  <doko@debian.org>
      
              * Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.
              * Makefile.in: Regenerate.
      
      From-SVN: r84196
      Matthias Klose committed
    • * vec.h: Fix the example use. · 2272d9cf
      From-SVN: r84195
      Nathan Sidwell committed
    • langhooks-def.h (LANG_HOOKS_GIMPLE_BEFORE_INLINING): Remove. · 84936f6f
              * langhooks-def.h (LANG_HOOKS_GIMPLE_BEFORE_INLINING): Remove.
              * langhooks.h (struct lang_hooks): Remove gimple_before_inlining.
              * tree-inline.c (copy_body_r, setup_one_parameter,
              initialize_inlined_parameters, expand_call_inline,
              declare_inline_vars): Don't check it.
              (expand_calls_inline): Remove old version, rename new version
              from gimple_expand_calls_inline.
              * tree-optimize.c (execute_gimple): Remove.
              (pass_gimple): Don't run anything.
      
      From-SVN: r84190
      Richard Henderson committed
    • os-dep.c (GC_task_self): Declare as static and remove the second declaration. · 634330f5
      2004-07-06  Andrew Pinski  <apinski@apple.com>
      
              * os-dep.c (GC_task_self): Declare as static
              and remove the second declaration.
      
      From-SVN: r84188
      Andrew Pinski committed
    • re PR libstdc++/15928 (libstdc++ in 3.4.x 3.5 doesn't cross-compile for djgpp) · 185fca74
      
      2004-07-06  Anssi Hannula  <anssi.hannula@mbnet.fi>
      
      	PR libstdc++/15928
      	* crossconfig.m4: Add in bits for djgpp.
      	* configure: Regenerate.
      
      From-SVN: r84185
      Anssi Hannula committed
    • Daily bump. · 314fbb7b
      [[Split portion of a mixed commit.]]
      
      From-SVN: r84183.2
      GCC Administrator committed
    • Daily bump. · 19de4fbd
      [[Split portion of a mixed commit.]]
      
      From-SVN: r84182.2
      GCC Administrator committed