1. 06 Aug, 2004 11 commits
    • expr.c (expand_expr_real_1): Remove. · caad9f81
      2004-08-06  Paolo Bonzini  <bonzini@gnu.org>
      
      	* expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove.
      	* tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove.
      	* tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove.
      	* tree.def (ENTRY_VALUE_EXPR): Remove.
      
      cp:
      2004-08-06  Paolo Bonzini  <bonzini@gnu.org>
      
      	* class.c (instantiate_type) <ENTRY_VALUE_EXPR>: Do not handle.
      
      From-SVN: r85636
      Paolo Bonzini committed
    • i386.c (ix86_expand_clrmem): Move gen_cld down to the places where it is actually needed. · 6b32b628
      	* config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to
      	the places where it is actually needed.  Don't use repz; stosb
      	for -Os with sufficiently small constant sizes.
      	For sufficiently small repz; stos{l,q} repeat counts use a sequence
      	of stos{l,q} instructions instead.
      
      From-SVN: r85635
      Jakub Jelinek committed
    • re PR tree-optimization/16807 ([lno] Weird loop unrolling) · 6797f908
      	PR tree-optimization/16807
      	* loop-iv.c (dump_iv_info): Dump invariants correctly.
      	(iv_subreg, iv_extend): Express value of invariant purely in
      	base field.
      
      From-SVN: r85634
      Zdenek Dvorak committed
    • symbian.h (CC1_SPEC): Add -fno-short-enums. · 866cf037
      	* config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums.
      	(CC1PLUS_SPEC): Define it to be the same as CC1_SPEC.
      
      	* gcc.dg/enum2.c: New test.
      	* gcc.dg/symbian3.c: Likewise.
      	* gcc.dg/symbian4.c: Likewise.
      	* gcc.dg/wchar_t-2.c: Likewise.
      
      From-SVN: r85632
      Mark Mitchell committed
    • m68k.c (post_inc_operand,pre_dec_operand): New. · 9652c531
              * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New.
              * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand,
              pre_dec_operand.
              * config/m68k/m68k.md (zero_extend*2): delay the splitting of the
              pattern until reload is finished to allow better code generation
              and split them completely into separate instrunctions.
              (*andsi3_split): New pattern.
      
      From-SVN: r85631
      Roman Zippel committed
    • Makefile.def (bfd, [...]): Mark as bootstrap module. · 3589b69e
      2004-08-06  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module.
      	(bison, byacc, flex, texinfo): Do not mark as bootstrap module.
      	(Dependencies): New section.
      	* Makefile.tpl (Dependencies): Generate from Makefile.def.
      	(configure-target-[+module+]): Depend on maybe-all-gcc
      	(all-prebootstrap): New name of all-bootstrap.  Changed throughout.
      	(toplevel profiledbootstrap): Fix dependencies.
      	* Makefile.in: Regenerate.
      
      From-SVN: r85629
      Paolo Bonzini committed
    • visibility-8.C: Add constructor and destructor tests. · ae232e45
      	* g++.dg/ext/visibility/visibility-8.C: Add constructor and
      	destructor tests.
      
      From-SVN: r85623
      Mark Mitchell committed
    • lang.c (flag_emit_class_files, [...]): Remove explicit declarations. · 9ddfe26e
      2004-08-06  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* lang.c (flag_emit_class_files, flag_filelist_file, flag_redundant,
      	flag_use_divide_subroutine, flag_use_boehm_gc, flag_store_check,
      	flag_hash_synchronization, flag_assert, flag_jni, flag_newer,
      	flag_check_references, flag_extraneous_semicolon, flag_deprecated,
      	flag_force_classes_archive_check, flag_optimize_sci,
      	flag_indirect_dispatch): Remove explicit declarations.
      	* lang.opt: Add implicit declare/define/assign.  Remove obsolete
      	final comment.
      
      From-SVN: r85622
      Kelley Cook committed
    • tree.c (handle_dll_attribute): Move here from i383/winnt.c. · b2ca3702
      	* tree.c (handle_dll_attribute): Move here from i383/winnt.c.
      	Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P.  Set
      	DECL_VISIBLITY.  Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
      	* tree.h (handle_dll_attribute): Declare.  Test
      	TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
      	* c-common.h (c_determine_visibility): Declare.
      	* c-common.c (c_determine_visibility): New function.
      	* c-decl.c (finish_decl): Use it.
      	(finish_function): Likewise.
      	* defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to
      	zero, by default.  Use #if, not	#ifdef, to test it.
      	* config/arm/arm.c (arm_attribute_table): Use
      	handle_dll_attribute.  Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with
      	#if.
      	* config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1.
      	* config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
      	to 1.
      	* config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove.
      	* config/i386/i386.c (ix86_attribute_table): Use
      	handle_dll_attribute for dllimport/dllexport.  Test
      	TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if.
      	* config/i386/winnt.c (ix86_handle_dll_attribute): Remove.
      	* config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
      	it to 1.
      	* config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it
      	with #if.
      	* config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define
      	it to 1.
      	* doc/extend.texi (dllexport): Clarify and correct documentation.
      	(dllimport): Likewise.
      	* doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention
      	handle_dll_attribute.
      
      	* decl.c (start_preparsed_function): Move determine_visibility
      	call.
      	* decl2.c (determine_visibility): Incorporate dllexport testing.
      
      	* g++.dg/ext/visibility/assign1.C: Use scan-hidden and
      	dg-require-visiblity.
      	* g++.dg/ext/visibility/fvisibility-inlines-hidden.C: Likewise.
      	* g++.dg/ext/visibility/fvisibility.C: Likewise.
      	* g++.dg/ext/visibility/memfuncts.C: Likewise.
      	* g++.dg/ext/visibility/new1.C: Likewise.
      	* g++.dg/ext/visibility/pragma.C: Likewise.
      	* g++.dg/ext/visibility/staticmemfuncts.C: Likewise.
      	* g++.dg/ext/visibility/virtual.C: Likewise.
      	* g++/dg/ext/visibility/visibility-1.C: Likewise.
      	* g++/dg/ext/visibility/visibility-2.C: Likewise.
      	* g++/dg/ext/visibility/visibility-3.C: Likewise.
      	* g++/dg/ext/visibility/visibility-4.C: Likewise.
      	* g++/dg/ext/visibility/visibility-5.C: Likewise.
      	* g++/dg/ext/visibility/visibility-6.C: Likewise.
      	* g++/dg/ext/visibility/visibility-7.C: Likewise.
      	* g++/dg/ext/visibility/visibility-8.C: New test.
      	* gcc.c-torture/compile/dll.x: Remove.
      	* gcc.dg/dll-2.c: Use dg-require-dll
      	* gcc.dg/visibility-10.c: New test.
      	* lib/gcc-dg.exp (dg-require-dll): Add Symbian to list of targets
      	supporting DLLs.
      	* testsuite/lib/scanasm.exp (scan_hidden): New function.
      	(scan_not_hidden): Likewise.
      
      From-SVN: r85621
      Mark Mitchell committed
    • g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option means that libstdc++ is needed. · 01e05466
      	* g++spec.c (lang_specific_driver): An -Xlinker or -Wl, option
      	means that libstdc++ is needed.
      
      From-SVN: r85620
      Geoffrey Keating committed
    • Daily bump. · 78701d2a
      From-SVN: r85618
      GCC Administrator committed
  2. 05 Aug, 2004 19 commits
  3. 04 Aug, 2004 10 commits
    • rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero cost. · 30a555d9
              * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero
              cost.
      
      From-SVN: r85582
      David Edelsohn committed
    • * g++.dg/tc1/dr147.C: Add reference to PR. · f1ff6bb8
      From-SVN: r85581
      Giovanni Bajo committed
    • basic-block.h (profile_staus): New global variable. · 878f99d2
      	* basic-block.h (profile_staus): New global variable.
      	* cfg.c (profile_status): Declare.
      	(check_bb_profile): Break out from ....; use profile_status
      	(dump_flow_info): ... here.
      	* cfgbuild.c (find_basic_blocks): Set profile_status.
      	* cfgexpand.c (tree_expand_cfg): Likewise.
      	* predict.c (estimate_probability): Likewise.
      	* profile.c (branch_prob): Likewise.
      	* tree-cfg.c (build_tree_cfg): Likewise.
      	(dump_function_to_file): Use check_bb_profile.
      	* tree-pretty-print (dump_bb_header): Likewise.
      	* tree-profile.c (do_tree_profiling): Cleanup.
      
      From-SVN: r85579
      Jan Hubicka committed
    • fix typo · d4794d1a
      From-SVN: r85575
      Jason Merrill committed
    • Makefile.in (RTL_BASE_H, RTL_H): Correct. · 7e7ec48e
      	* Makefile.in (RTL_BASE_H, RTL_H): Correct.
      	(BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o.
      	(genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o.
      	(read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o)
      	(genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o)
      	(genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o)
      	(genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H).
      	(ggc-none.o, errors.o): Move rule to generators section;
      	correct dependencies.
      	(min-insn-modes.o): Move rule to generators section; remove
      	unnecessary explicit command; correct dependencies.
      	(print-rtl.o, print-rtl1.o): Correct dependencies.
      	($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule.
      	(mostlyclean): Update.
      
      	* errors.c: Include bconfig.h not config.h.  Correct comment.
      	* gengtype.c, genpreds.c: Don't define NO_GENRTL_H.
      	* ggc-none.c: Include bconfig.h; not config.h or tm.h.
      	* print-rtl.c: Don't include tm_p.h.
      
      	* rtl.h: Move forward-decl of struct function down where it's
      	needed.  Include genrtl.h #ifndef GENERATOR_FILE, not
      	#ifndef NO_GENRTL_H.  Remove unnecessary #ifdef BUFSIZ statements.
      
      From-SVN: r85574
      Zack Weinberg committed
    • tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions. · b0382c67
      
      	* tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions.
      	* tree-flow.h (rewrite_ssa_into_ssa): Declaration changed.
      	* tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to
      	manipulate the duplicated ssa names.
      	* tree-ssanames.c (ssa_names_to_rewrite): New variable.
      	(marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite,
      	unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force):
      	New functions.
      	(release_ssa_name): Do not release ssa names that may have multiple
      	definitions.
      	* tree.h (release_ssa_name_force, mark_for_rewrite,
      	unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p,
      	marked_ssa_names): Declare.
      	* tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove.
      	(duplicate_blocks): Remove call to mark_defs_for_rewrite.
      	Update call to rewrite_ssa_into_ssa.
      
      Co-Authored-By: Jeff Law <law@redhat.com>
      
      From-SVN: r85572
      Zdenek Dvorak committed
    • defaults.h (TARGET_DECLSPEC): New macro. · 63c5b495
      	* defaults.h (TARGET_DECLSPEC): New macro.
      	* c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC.
      	* config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support.
      	* config/arm/symbian. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
      	* config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove
      	__declspec support.
      	(TARGET_DECLSPEC): Define.
      	* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove
      	__declspec support.
      	* config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove
      	__declspec support.
      	(TARGET_DECLSPEC): Define.
      	* config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove
      	__declspec support.
      	* config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec
      	support.
      	* doc/tm.texi (TARGET_DECLSPEC): Document.
      
      	* doc/extend.texi: Fix typo in comment.
      
      From-SVN: r85571
      Mark Mitchell committed
    • Add missing ChangeLog entry · 564076f5
      From-SVN: r85570
      Mark Mitchell committed
    • acinclude.m4: Correctly quote PKG_CHECK_MODULES. · 614c0fc2
      2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
      	    Michael Koch  <konqueror@gmx.de>
      
      	* acinclude.m4: Correctly quote PKG_CHECK_MODULES.
      	* configure.in: Replaced all usages of AC_LINK_FILES by
      	AC_CONFIG_LINKS.
      	* aclocal.m4,
      	configure: Regenerated.
      
      Co-Authored-By: Michael Koch <konqueror@gmx.de>
      
      From-SVN: r85569
      Thomas Fitzsimmons committed
    • mips-args-[23].c: Declare abort() and exit(). · 54f2f9a6
      	* gcc.dg/mips-args-[23].c: Declare abort() and exit().
      	* gcc.dg/torture/mips-hilo-[12].c: Likewise.
      
      From-SVN: r85567
      Richard Sandiford committed