1. 18 Jul, 2005 6 commits
    • ctype_members.cc (do_is(mask, wchar_t)): Speed-up for the common case of mask ==… · 39a72a91
      ctype_members.cc (do_is(mask, wchar_t)): Speed-up for the common case of mask == ctype_base::space...
      
      2005-07-18  Paolo Carlini  <pcarlini@suse.de>
      
      	* config/locale/gnu/ctype_members.cc (do_is(mask, wchar_t)):
      	Speed-up for the common case of mask == ctype_base::space;
      	otherwise, exit the loop earlier if the mask is one of the
      	elementary ones.
      
      From-SVN: r102137
      Paolo Carlini committed
    • re PR c++/22263 (explicit instantiation fails to emit symbols defined later) · eba839f9
      	PR c++/22263
      	* cp-tree.h (instantiate_decl): Change prototype.
      	* decl2.c (mark_used): Adjust accordingly.
      	* pt.c (do_decl_instantiation): Likewise.
      	(instantiate_class_member): Likewise.
      	(instantiate_decl): Rename undefined_ok as expl_inst_class_mem_p.
      	Clear DECL_INTERFACE_KNOWN for an explicitly instantiated template
      	that has no definition available.
      	(instantiate_pending_templates): Adjust call to instantiate_decl.
      
      	PR c++/22263
      	* g++.dg/template/explicit7.C: New test.
      
      From-SVN: r102133
      Mark Mitchell committed
    • i386.c (ix86_expand_branch, [...]): Handle TImode in 64-bit mode the same as DImode in 32-bit mode. · 28356f52
      gcc/
      2005-07-18  Jan Beulich  <jbeulich@novell.com>
      
      	* config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc,
      	ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode
      	in 64-bit mode the same as DImode in 32-bit mode.
      	(ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr,
      	ix86_split_lshr): Likewise. Rename to no longer refer to a specific
      	mode. Add new mode parameter.
      	* config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'.
      	* config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3,
      	x86_64_shift_adj): New expanders.
      	(*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1,
      	*ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New
      	insns.
      	Respective new splitters. Use renamed shift splitter helpers in 32-bit
      	DImode shift splitters.
      	* config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr,
      	ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new
      	mode parameter.
      
      From-SVN: r102129
      Jan Beulich committed
    • i386.md (movdi_extzv_1): New. · 422edd6f
      gcc/
      2005-07-18  Jan Beulich  <jbeulich@novell.com>
      
      	* i386.md (movdi_extzv_1): New.
      	(zero_extendhidi2): Combine alternatives and never force use of
      	REX64 prefix.
      	(zero_extendqidi2): Likewise. Don't restrict input selection.
      
      From-SVN: r102128
      Jan Beulich committed
    • Daily bump. · ba9bb602
      [[Split portion of a mixed commit.]]
      
      From-SVN: r102126.2
      GCC Administrator committed
    • nan_inf_fmt.f90: Change case of field width of 8 to +Inf and -Inf. · 74792af7
      2005-07-17  Jerry DeLisle  <jvdelisle@verizon.net>
          * gfortran.fortran-torture/execute/nan_inf_fmt.f90: Change case of field
          width of 8 to +Inf and -Inf.
      
      From-SVN: r102124
      Jerry DeLisle committed
  2. 17 Jul, 2005 15 commits
  3. 16 Jul, 2005 17 commits
    • tree-ssa-structalias.c (need_to_solve): Need to check for preds, too. · b6e0bdbd
      2005-07-16  Daniel Berlin  <dberlin@dberlin.org>
      
      	* tree-ssa-structalias.c (need_to_solve): Need to check for preds,
      	too.
      
      From-SVN: r102100
      Daniel Berlin committed
    • Makefile.in: Added rules for ipa-pure-const.c... · ea900239
      2005-07-16  Danny Berlin <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c,
      	ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
      	ipa-type-escape.h, tree-promote-statics.c
      	* ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
      	ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
      	tree-promote-statics.c: new files.
      	* alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
      	nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
      	int nonlocal_set_p, mark_constant_function): Deleted.
      	(rest_of_handle_cfg): Removed call to mark_constant_function.
              (nonoverlapping_component_refs_p): Added calls to support
      	type based aliasing.
              * tree-ssa-alias.c (may_alias_p,
      	compute_flow_insensitive_aliasing): Ditto.
      	* calls.c (flags_from_decl_or_type): Removed reference to
      	cgraph_rtl_info.
      	(flags_from_decl_or_type): Support ECF_POINTER_NO_CAPTURE attribute.
      	* c-common.c (handle_pointer_no_capture_attribute): New function
      	and added pointer_no_capture attribute.
            	* c-typeck.c (convert_arguments): Make builtins tolerant of having
      	too many arguments.  This is necessary for Spec 2000.
      	* cgraph.h (const_function, pure_function): Removed.
      	* common.opt: Added "fipa-pure-const", "fipa-reference",
      	"fipa-type-escape", and "ftree-promote-static".
      	* opts.c: Ditto.
      	* passes.c: Added ipa and tree-promote-statics passes.
      	* timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
      	TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
      	* tree.h: Support ECF_POINTER_NO_CAPTURE attribute.
      	* tree-dfa.c (referenced_var_lookup_if_exists): New function.
      	* tree-flow.h: Added exposed sra calls and addition of
      	reference_vars_info field for FUNCTION_DECLS.
      	* tree-pass.h: Added passes.
      	* tree-sra.c: (sra_init_cache): New function.
      	(sra_insert_before, sra_insert_after) Made public.
      	(type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p
      	and made public.
      	* tree-ssa-alias.c (dump_alias_stats): Added stats for type based
      	aliasing. (may_alias_p): Added code to use type escape analysis to
      	improve alias sets.
      	* tree-ssa-operands.c (add_call_clobber_ops): Added parameter and
      	code to prune clobbers of static variables based on information
      	produced in ipa-reference pass.  Changed call clobbering so that
      	statics are not marked as clobbered if the call does not clobber
      	them.
      
      
      2005-07-16  Danny Berlin <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* gcc.dg/tree-ssa/ssa-dce-2.c: Changed dg-options to run at -O2
      	since pure const detection cannot run at -O1 in c compiler.
      	* gcc.dg/tree-ssa/20030714-1.c Changed scanning patterns because we
      	can now optimize this case properly.
      	* gcc.dg/tree-ssa/sra-2.c: Changed to -O3 and removed xfail
      	because we now pass.
      	* gcc.dg/vect/vect-92.c: Removed out of bounds array access.
      
      Co-Authored-By: Kenneth Zadeck <zadeck@naturalbridge.com>
      
      From-SVN: r102098
      Daniel Berlin committed
    • makemake.tcl (emit_package_rule): Emit command to create target directory. · 8f59c51b
      	* scripts/makemake.tcl (emit_package_rule): Emit command to create
      	target directory.
      	* Makefile.am (%.lo): Don't create it here.
      	* sources.am, Makefile.in: Regenerated.
      
      From-SVN: r102096
      Andreas Schwab committed
    • install.texi (*-*-solaris2*): Document recommended version of GNU binutils and… · 2c00bd42
      install.texi (*-*-solaris2*): Document recommended version of GNU binutils and mention GNU linker problem on...
      
      	* doc/install.texi (*-*-solaris2*): Document recommended version
      	of GNU binutils and mention GNU linker problem on Solaris 10.
      
      From-SVN: r102094
      Eric Botcazou committed
    • re PR c/22421 (problems with -Wformat and bit-fields) · 0b359b01
      	PR c/22421
      	* c-decl.c (c_build_bitfield_integer_type): New function.
      	(finish_struct): Call it.
      	* c-pretty-print.c (pp_c_type_specifier): Handle bit-field types.
      
      testsuite:
      	* gcc.dg/format/bitfld-1.c: New test.
      
      From-SVN: r102091
      Joseph Myers committed
    • c-typeck.c (digest_init): Call 'convert_for_assignment' before returning. · 8fcef540
      	* c-typeck.c (digest_init): Call 'convert_for_assignment'
      	before returning.
      
      From-SVN: r102090
      Kaveh R. Ghazi committed
    • call.c (diagnostic_fn_t): New. · 72e78bf3
      	* call.c (diagnostic_fn_t): New.
      	(build_temp, convert_like_real): Use diagnostic_fn_t.
      
      From-SVN: r102089
      Kaveh R. Ghazi committed
    • Makefile.in (WARN_CFLAGS): New. · 87fbb651
      	* Makefile.in (WARN_CFLAGS): New.
      	(.c.o): Add $(WARN_CFLAGS).
      	* aclocal.m4: Include ../config/warnings.m4.
      	* configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
      	ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
      	ACX_PROG_CC_WARNINGS_ARE_ERRORS.
      	* fixopts.c (initialize_opts): Fix old-style definintion.
      
      	* configure: Regenerate.
      
      From-SVN: r102088
      Kaveh R. Ghazi committed
    • cfg.c (update_bb_profile_for_threading): Fix profile updating. · 84fc24e8
      
      	* cfg.c (update_bb_profile_for_threading): Fix profile updating.
      	(scale_bbs_frequencies_int): Watch roundoff errors.
      	* predict.c (return_prediction): Initialize return_stmt.
      
      From-SVN: r102087
      Jan Hubicka committed
    • all files: Update FSF address. · 866c78db
      2005-07-16  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* all files: Update FSF address.
      
      From-SVN: r102084
      Kelley Cook committed
    • all files: Update FSF address. · 539df155
      2005-07-16  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* all files: Update FSF address.
      
      From-SVN: r102083
      Kelley Cook committed
    • Major merge with Classpath. · b0fa81ee
      	Removed many duplicate files.
      	* HACKING: Updated.x
      	* classpath: Imported new directory.
      	* standard.omit: New file.
      	* Makefile.in, aclocal.m4, configure: Rebuilt.
      	* sources.am: New file.
      	* configure.ac: Run Classpath configure script.  Moved code around
      	to support.  Disable xlib AWT peers (temporarily).
      	* Makefile.am (SUBDIRS): Added 'classpath'
      	(JAVAC): Removed.
      	(AM_CPPFLAGS): Added more -I options.
      	(BOOTCLASSPATH): Simplified.
      	Completely redid how sources are built.
      	Include sources.am.
      	* include/Makefile.am (tool_include__HEADERS): Removed jni.h.
      	* include/jni.h: Removed (in Classpath).
      	* scripts/classes.pl: Updated to look at built classes.
      	* scripts/makemake.tcl: New file.
      	* testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Added
      	-I options.
      	(gcj_jni_invocation_compile_c_to_binary): Likewise.
      
      From-SVN: r102082
      Tom Tromey committed
    • ChangeLog.gcj, [...]: Added. · ea54b293
      	* ChangeLog.gcj, Makefile.in, aclocal.m4, config.guess,
      	config.sub, configure, ltmain.sh, doc/Makefile.in,
      	doc/api/Makefile.in, examples/Makefile.in, external/Makefile.in,
      	external/sax/Makefile.in, external/w3c_dom/Makefile.in,
      	include/Makefile.in, include/config.h.in, include/jni.h,
      	lib/Makefile.in, native/Makefile.in, native/fdlibm/Makefile.in,
      	native/jni/Makefile.in, native/jni/classpath/Makefile.in,
      	native/jni/gtk-peer/Makefile.in, native/jni/java-io/Makefile.in,
      	native/jni/java-lang/Makefile.in, native/jni/java-net/Makefile.in,
      	native/jni/java-nio/Makefile.in, native/jni/java-util/Makefile.in,
      	native/jni/xmlj/Makefile.in, native/target/Makefile.in,
      	native/target/Linux/Makefile.in,
      	native/target/generic/Makefile.in, resource/Makefile.in,
      	scripts/Makefile.in: Added.
      	* native/fdlibm/.cvsignore, native/jni/xmlj/.cvsignore,
      	native/jni/java-util/.cvsignore, native/jni/classpath/.cvsignore,
      	native/jni/java-net/.cvsignore, native/jni/java-io/.cvsignore,
      	native/jni/.cvsignore, native/jni/java-lang/.cvsignore,
      	native/jni/gtk-peer/.cvsignore, native/jni/java-nio/.cvsignore,
      	native/testsuite/.cvsignore, native/.cvsignore,
      	native/vmi/.cvsignore, native/target/.cvsignore,
      	native/target/generic/.cvsignore, native/target/Linux/.cvsignore,
      	include/.cvsignore, doc/api/.cvsignore,
      	doc/www.gnu.org/faq/.cvsignore,
      	doc/www.gnu.org/downloads/.cvsignore,
      	doc/www.gnu.org/docs/.cvsignore, doc/www.gnu.org/.cvsignore,
      	doc/www.gnu.org/events/.cvsignore,
      	doc/www.gnu.org/announce/.cvsignore, doc/.cvsignore,
      	resource/.cvsignore, external/w3c_dom/.cvsignore,
      	external/sax/.cvsignore, external/.cvsignore,
      	java/util/.cvsignore, .cvsignore, test/java.net/.cvsignore,
      	test/java.io/.cvsignore, test/.cvsignore,
      	test/java.util/.cvsignore, test/gnu.java.lang.reflect/.cvsignore,
      	test/java.lang.reflect/.cvsignore, examples/.cvsignore,
      	lib/.cvsignore, gnu/classpath/.cvsignore, gnu/test/.cvsignore,
      	compat/java.net/.cvsignore, compat/.cvsignore, vm/.cvsignore,
      	vm/reference/.cvsignore, scripts/.cvsignore: Updated.
      
      From-SVN: r102079
      Tom Tromey committed
    • Initial revision · 37d375fd
      From-SVN: r102075
      Tom Tromey committed
    • Initial revision · f911ba98
      From-SVN: r102074
      Tom Tromey committed
    • re PR c++/22204 ([repo] internal compiler error: Segmentation fault) · 6f4434b3
      	PR c++/22204
      	* repo.c (repo_emit_p): Robustify.
      
      	PR c++/22204
      	* g++.dg/rtti/repo1.C: New test.
      
      From-SVN: r102073
      Mark Mitchell committed
    • Daily bump. · 88b52242
      [[Split portion of a mixed commit.]]
      
      From-SVN: r102071.2
      GCC Administrator committed
  4. 15 Jul, 2005 2 commits