1. 15 Dec, 2001 26 commits
    • calls.c (emit_call_1): If ECF_SP_DEPRESSED, pretend have adjusted for rounded_stack_size. · f79a65c0
      	* calls.c (emit_call_1): If ECF_SP_DEPRESSED, pretend have adjusted
      	for rounded_stack_size.
      
      From-SVN: r48049
      Richard Kenner committed
    • c-typeck.c, [...]: Use "built-in" and "bit-field" spellings in messages. · b0287a90
      	* c-typeck.c, config/i386/i386.h, config/mcore/mcore.h,
      	config/ns32k/ns32k.h, config/rs6000/sysv4.h, fold-const.c,
      	toplev.c, cppinit.c, cppmacro.c, gcc.c: Use "built-in" and
      	"bit-field" spellings in messages.
      	* po/gcc.pot: Regenerate.
      
      ch:
      	* expr.c: Use "built-in" spelling in messages.
      
      From-SVN: r48048
      Joseph Myers committed
    • gcc.c, [...]: Use American spelling in messages. · 1737c953
      	* gcc.c, config/fr30/fr30.c, config/v850/v850-c.c, toplev.c: Use
      	American spelling in messages.
      	* po/gcc.pot: Regenerate.
      
      ch:
      	* decl.c, parse.c, typeck.c: Use American spelling in messages.
      
      cp:
      	* lang-options.h: Use American spelling in messages.
      
      From-SVN: r48047
      Joseph Myers committed
    • acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model on linux by default. · 56deb74c
      
      2001-12-15  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
      	on linux by default.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      From-SVN: r48046
      Benjamin Kosnik committed
    • h8300.md: Adjust whitespacing. · 7fcd4787
      	* config/h8300/h8300.md: Adjust whitespacing.  Remove
      	constraints from expanders.  Replace \@ with @.
      
      From-SVN: r48045
      Kazu Hirata committed
    • regrename.c (copyprop_hardreg_forward): Do not keep register value data live… · 22c56562
      regrename.c (copyprop_hardreg_forward): Do not keep register value data live across abnormal call or eh egdes.
      
      * regrename.c (copyprop_hardreg_forward): Do not keep register
      value data live across abnormal call or eh egdes.
      
      From-SVN: r48043
      Ulrich Weigand committed
    • expr.c (highest_pow2_factor, [...]): Return BIGGEST_ALIGNMENT for 0. · 3a531a8b
      	* expr.c (highest_pow2_factor, case INTEGER_CST): Return
      	BIGGEST_ALIGNMENT for 0.
      
      From-SVN: r48042
      Richard Kenner committed
    • predict.def (PRED_NORETURN, [...]): Make probabilities match reality. · dcfcd436
      	* predict.def (PRED_NORETURN, PRED_OPCODE_POSITIVE, PRED_OPCODE_NONEQUAL,
      	PRED_ERROR_RETURN): Make probabilities match reality.
      
      From-SVN: r48041
      Jan Hubicka committed
    • configure.in: Check for ld. · 275b60d6
      	* configure.in: Check for ld.
      	(HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
      	* configure, config.in: Rebuilt.
      	* config.gcc: Add crtbeginT.o to extra_parts where needed.
      	* config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
      	frame unwinding on Linux.
      	* config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
      	frame unwinding.
      	* config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
      	(LINK_EH_SPEC): Define.
      	* config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
      	* config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
      	* config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
      	iterate further if pc falls into current library, but fde was not
      	found.
      	* config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
      	if using glibc.
      	(LINK_EH_SPEC): Define.
      	* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
      	Use crtbeginT.o for -static.
      	(LINK_EH_SPEC): Define.
      	* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
      	* Makefile.in (crtbeginT.o): Add rule.
      	* gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
      	If neither -static-libgcc nor -shared-libgcc is passed and -shared,
      	use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
      	If none of the above switches are passed, use -lgcc -lgcc_eh.
      	(init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
      	* mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
      	creating libgcc_s.so, put them into separate libgcc_eh.a instead.
      	* unwind-dw2-fde.c: Don't include any headers if this file
      	is included from other .c file.
      	* unwind-dw2-fde-glibc.c: New file.
      	* crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
      	Use it instead of EH_FRAME_SECTION_NAME where appropriate.
      
      From-SVN: r48039
      Jakub Jelinek committed
    • java-tree.h (otable_methods, [...]): New field/global tree definitions. · 861ef928
      gcc/java:
      
      	* java-tree.h (otable_methods, otable_decl, otable_syms_decl,
      	otable_type, otable_ptr_type, method_symbol_type,
      	method_symbols_array_type, method_symbols_array_ptr_type): New
      	field/global tree definitions.
      	(flag_indirect_dispatch): New flag.
      	* decl.c (java_init_decl_processing): Initialize new otable and
      	otable_syms type nodes and decls. Add new field "index" to
      	method_type_node.
      	* class.c (build_method_symbols_entry): New function.
      	(make_method_value): Set "index" to to method's vtable index for
      	virtual methods when indirect-dispatch is not used.
      	(make_class_data): For indirect-dispatch, dont emit the dtable_decl,
      	and set vtable_method_count to -1. Set otable and otable_syms field
      	if indirect-dispatch is used and there was something to put in them.
      	(build_method_symbols_entry): New function.
      	(emit_offset_symbol_table): New function.
      	* expr.c (get_offset_table_index): New function.
      	(build_invokevirtual): Build array reference to otable at the index
      	returned by get_offset_table_index, and use the result as the vtable
      	offset.
      	(build_invokeinterface): Similar.
      	* jcf-parse.c (yyparse): If indirect-dispatch, call
      	emit_offset_symbol_table at the end of compilation, after all classes
      	have been generated.
      	* jvspec.c: Don't pass findirect-dispatch to jvgenmain.
      	* lang.c (flag_indirect_dispatch): Define.
      	(lang_f_options): Add indirect-dispatch flag.
      
      libjava:
      
      	* include/jvm.h (_Jv_VTable::idx_to_offset): New method.
      	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
      	_Jv_MakeVTable and _Jv_LinkOffsetTable if needed.
      	* java/lang/Class.h (_Jv_Method): Add "index" field.
      	(_Jv_MethodSymbol): New struct type.
      	(_Jv_LinkOffsetTable, _Jv_LayoutVTableMethods, _Jv_SetVTableEntries,
      	_Jv_MakeVTable): Friends.
      	(otable, otable_syms): New Class fields.
      	* java/lang/natClass.cc (_Jv_LinkOffsetTable): New function.
      	(isVirtualMethod): New static function.
      	(_Jv_LayoutVTableMethods): New function.
      	(_Jv_SetVTableEntries): New function.
      	(_Jv_MakeVTable): New function.
      
      From-SVN: r48038
      Bryce McKinlay committed
    • Daily bump. · ed86a83d
      From-SVN: r48036
      GCC Administrator committed
    • Collections drop from Classpath: · d9fd7154
      2001-12-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
      	* java/util/BitSet.java (and): Fix off-by-one bug, don't skip part of
      	the bitset.
      	(andNot): Likewise.
      	(xor): Likewise.
      
      2001-12-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
      	* java/util/LinkedList.java (LinkedListItr.add): Don't skip the next
      	entry.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/TreeMap.java (removeNode): Fix bug in node removal.
      
      2001-12-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
      	* java/util/AbstractCollection.java (containsAll): Use size of the
      	correct collection for loop bound.
      	* java/util/AbstractList.java (iterator.next): Increment pos after
      	calling get on backing list.
      	(listIterator.next): Likewise.
      	* java/util/LinkedList.java (addLastEntry): Don't increment size before
      	checking for size == 0.
      	(addFirstEntry): Rearrange to match addLastEntry.
      	(add): Do not increment size before inserting the new entry.
      
      	* java/util/AbstractCollection.java (addAll): Use size of the
      	correct collection for loop bound.
      
      2001-12-15  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
      
      	* java/util/AbstractSet.java (removeAll): Fix scoping thinko.
      	* java/util/HashMap.java (putAllInternal): Set size here.
      	* java/util/Hashtable.java (putAllInternal): New method. Copy contents
      	of a map efficiently without calling put() or putAll().
      	(Hashtable (map)): Use putAllInternal.
      	(clone): Likewise.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/Collections.java:
      	* java/util/Vector.java:
      	* java/util/WeakHashMap.java: Fix spelling errors.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/AbstractCollection.java (removeAllInternal),
      	(retainAllInternal): Add hooks for use by ArrayList.
      	* java/util/AbstractList.java: Minor code updates. Fix some
      	scoping.
      	* java/util/AbstractMap.java: ditto
      	* java/util/ArrayList.java (readObject, writeObject): ditto
      	(removeAllInternal, retainAllInternal): Optimize.
      	* java/util/Arrays.java: ditto
      	* java/util/Collections.java: ditto. Change order of parameters
      	to equals(Object, Object) to match specs.
      	* java/util/Dictionary.java: Improve javadoc.
      	(Dictionary): Add explicit constructor.
      	* java/util/HashMap.java: Improve javadoc. Rearrange methods to
      	follow order in JDK. Cleanups related to recent code migration to
      	AbstractMap. Fix some scoping.
      	(entrySet): Cache the result.
      	(modCount): Ensure that this is updated correctly.
      	* java/util/HashSet.java: Improve javadoc. Fix some scoping.
      	(init): Add hooks for LinkedHashSet.
      	(map): Use "" instead of Boolean.TRUE in backing map. Use
      	package-private API where possible for less overhead.
      	(readObject, writeObject): Fix serialization.
      	* java/util/Hashtable.java: Improve javadoc. Fix some scoping.
      	(entrySet, keySet, values): Cache the result.
      	(modCount): Ensure that this is updated correctly.
      	(contains, remove): Fix NullPointer checking to match specs.
      	(class Enumeration): Make more like HashIterator.
      	* java/util/IdentityHashMap.java: Minor code updates.
      	(modCount): Ensure that this is updated correctly.
      	(readObject, writeObject): Fix serialization.
      	* java/util/LinkedHashMap.java: Minor code updates. Cleanups
      	related to recent code migration to AbstractMap.
      	* java/util/LinkedHashSet.java: New file.
      	* java/util/LinkedList.java:
      	(readObject, writeObject): Fix serialization.
      	* java/util/Makefile.am: List recently added files.
      	* java/util/Stack.java: Minor code updates.
      	* java/util/TreeMap.java: Improve javadoc. Overhaul the class to
      	be more efficient. Fix some scoping. Rearrange the methods.
      	(nil): Ensure that this can be thread-safe, and make it a static
      	final. Initialize it to be more useful as a sentinal node.
      	(Node): Specify color in constructor.
      	(deleteFixup, insertFixup): Improve comments and algorithm.
      	(fabricateTree): Redesign with less overhead.
      	(lowestGreaterThan): Add parameter first to make SubMap easier.
      	(removeNode): Patch hole where nil was being modified. Choose
      	predecessor instead of successor so in-place swap works.
      	(class VerifyResult, verifyTree, verifySub, verifyError): Remove
      	this dead code after verifying the class works.
      	(class SubMap): Rewrite several algorithms to avoid problems with
      	comparing nil.
      	* java/util/TreeSet.java: Improve javadoc. Fix some scoping.
      	(clone): Fix ClassCastException when cloning subSet().
      	(readObject, writeObject): Fix serialization.
      	* java/util/WeakHashMap.java: Improve javadoc. Fix some scoping.
      	(NULL_KEY): Make it compare as null, for ease elsewhere.
      	(Class WeakEntry): Rename from Entry, to avoid shadowing
      	Map.Entry. Add missing toString.
      	(modCount): Ensure that this is updated correctly.
      	(clear, containsValue, keySet, putAll, values, WeakHashMap(Map)):
      	Add missing methods and constructor.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/ArrayList.java (checkBoundExclusive),
      	(checkBoundInclusive): Rename from range??clusive, to match
      	AbstractList.
      	* java/util/LinkedList.java (checkBoundsExclusive),
      	(checkBoundsInclusive): ditto
      	* java/util/Vector.java (checkBoundExclusive),
      	(checkBoundInclusive): Move bounds checking into common methods.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/AbstractList.java:
      	(modCount): Make sure it is updated in all needed places.
      	* java/util/ArrayList.java: Improve javadoc. Implements
      	RandomAccess. Add serialVersionUID. Reorder methods.
      	(modCount): Make sure it is updated in all needed places.
      	(rangeExclusive, rangeInclusive): Add common methods for bounds
      	check.
      	(isEmpty): Add missing method.
      	* java/util/Collections.java: (class SynchronizedList): Make
      	package visible.
      	* java/util/ConcurrentModificationException.java: Improve
      	javadoc.
      	* java/util/EmptyStackException.java: Improve javadoc.
      	* java/util/LinkedList.java: Improve javadoc.
      	(modCount): Make sure it is updated in all needed places.
      	(rangeExclusive, rangeInclusive): Add common methods for bounds
      	check.
      	* java/util/NoSuchElementException.java: Improve javadoc.
      	* java/util/Stack.java: Improve javadoc. Fix synchronization
      	issues.
      	(modCount): Make sure it is updated in all needed places.
      	* java/util/Vector.java: Improve javadoc. Fix synchronization
      	issues. Implements RandomAccess. Reorder methods.
      	(modCount): Make sure it is updated in all needed places.
      	(setSize): Fix according to specifications: this does not dictate
      	the backing array size.
      	(removeAll, retainAll): Faster implementations.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/BitSet.java: Improve javadoc.
      	(cardinality(), clear(), clear(int, int), flip(int)),
      	(flip(int, int), get(int, int), intersects(BitSet), isEmpty()),
      	(nextClearBit(int), nextSetBit(int), set(int, boolean)),
      	(set(int, int), set(int, int, boolean)): Add new JDK 1.4 methods.
      	(clone): Fix so subclasses clone correctly.
      
      2001-12-15  Eric Blake  <ebb9@email.byu.edu>
      
      	* java/util/AbstractCollection.java: Improve javadoc.
      	(AbstractCollection()): Make constructor protected.
      	(equals(Object, Object), hashCode(Object)): Add utility methods.
      	* java/util/AbstractList.java: Improve javadoc.
      	(AbstractList()): Make constructor protected.
      	(indexOf(Object)): Call listIterator(), not listIterator(int).
      	(iterator()): Follow Sun's requirement to not use listIterator(0).
      	(listIterator(int)): Make AbstractListItr anonymous.
      	(subList(int, int)): Add support for RandomAccess.
      	(SubList.add(int, Object), SubList.remove(Object)): Fix bug with
      	modCount tracking.
      	(SubList.addAll(Collection)): Add missing method.
      	(SubList.listIterator(int)): Fix bugs in indexing, modCount
      	tracking.
      	(class RandomAccessSubList): Add new class.
      	* java/util/AbstractMap.java: Improve javadoc.
      	(keys, values, KEYS, VALUES, ENTRIES): Consolidate common map
      	fields.
      	(AbstractMap()): Make constructor protected.
      	(equals(Object, Object), hashCode(Object)): Add utility methods.
      	(equals(Object)): Change algorithm to
      	entrySet().equals(m.entrySet()), as documented by Sun.
      	(keySet(), values()): Cache the collections.
      	* java/util/AbstractSequentialList.java: Improve javadoc.
      	(AbstractSequentialList()): Make constructor protected.
      	* java/util/AbstractSet.java: Improve javadoc.
      	(AbstractSet()): Make constructor protected.
      	(removeAll(Collection)): Add missing method.
      	* java/util/Arrays.java: Improve javadoc, rearrange method orders.
      	(defaultComparator): Remove, in favor of
      	Collections.compare(Object, Object, Comparator).
      	(binarySearch, equals, sort): Fix natural order comparison of
      	floats and doubles. Also improve Object comparison - when
      	comparator is null, use natural order.
      	(fill, sort): Add missing checks for IllegalArgumentException.
      	(sort, qsort): Fix sorting bugs, rework the code for more
      	legibility.
      	(mergeSort): Inline into sort(Object[], int, int, Comparator).
      	(class ArrayList): Rename from ListImpl, and make compatible with
      	JDK serialization. Add methods which more efficiently override
      	those of AbstractList.
      	* java/util/Collections: Improve javadoc.
      	(isSequential(List)): Add and use a method for deciding between
      	RandomAccess and sequential algorithms on lists.
      	(class Empty*, class Synchronized*, class Unmodifiable*): Make
      	compliant with JDK serializability.
      	(class Singleton*, class CopiesList, class RevereseComparator),
      	(class UnmodifiableMap.UnmodifiableEntrySet),
      	(class *RandomAccessList): New classes for serial compatibility.
      	(class Empty*, class Singleton*, class CopiesList): Add methods
      	which more efficiently override those of Abstract*.
      	(search): Inline into binarySearch(List, Object, Comparator).
      	(binarySearch): Make sequential search only do log(n) comparisons,
      	instead of n.
      	(copy(List, List)): Do bounds checking before starting.
      	(indexOfSubList, lastIndexOfSubList, list, replaceAll, rotate),
      	(swap):	Add new JDK 1.4 methods.
      	(binarySearch, max, min, sort): Allow null comparator to represent
      	natural ordering.
      	(reverse(List)): Avoid unnecessary swap.
      	(shuffle(List, Random)): Do shuffle in-place for RandomAccess
      	lists.
      	(SingletonList.get): Fix logic bug.
      	(SingletonMap.entrySet): Make the entry immutable, and cache the
      	returned set.
      	(SynchronizedCollection, SynchronizedMap, UnmodifiableCollection),
      	(UnmodifiableMap): Detect null pointer in construction.
      	(SynchronizedMap, UnmodifiableMap): Cache collection views.
      	* java/util/BasicMapEntry: Improve javadoc.
      
      From-SVN: r48035
      Bryce McKinlay committed
    • Clean up initialization and simplfy caching of underlying "C" locale objects. · def9790d
      
      2001-12-14  Benjamin Kosnik  <bkoz@redhat.com>
      
      	Clean up initialization and simplfy caching of underlying "C"
      	locale objects.
      	* src/localename.cc (locale::_Impl::_Impl(string, size_t):
      	Unconditionally create __clocale object for all named locales,
      	including "C" and "POSIX".
      	* config/locale/c_locale_generic.cc
      	(locale::facet::_S_create_c_locale): Always set __cloc to zero.
      	* config/locale/c_locale_gnu.cc: Always delete.
      	* include/bits/localefwd.h (locale::facet::_S_c_locale): New.
      	* src/locale.cc (locale::classic()): Initialize
      	locale::facet::_S_c_locale.
      	(locale::facet::_S_c_locale): Define.
      
      	* include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
      	specialization.
      	* src/locale.cc: Add definition here.
      	* config/os/gnu-linux/bits/ctype_inline.h: Tweak.
      	* config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
      	* include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
      	Adjust ctors, dtors.
      	(ctype<char>::_M_toupper): Remove const&.
      	(ctype<char>::_M_tolower): Remove const&.
      	(ctype<char>::_M_ctable): Remove const&.
      
      	* include/bits/locale_facets.h (collate): Clean up initialization
      	of _M_c_locale_collate in ctors and dtors.
      	* config/locale/collate_members_gnu.cc: Always use extended
      	functions.
      
      	* include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
      	(messages_byname): Same.
      	* config/locale/messages_members_generic.h (messages::~messages):
      	Remove.
      	* config/locale/messages_members_gnu.h: Same.
      
      	* include/bits/localefwd.h: Clean. Move dtor definitions to
      	* src/locale.cc: Here.
      	* testsuite/22_locale/facet.cc: Fix spelling.
      
      	Named locale support for ctype<wchar_t>.
              * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
              ctype_members_* bits.
              * aclocal.m4: Regenerate.
              * configure: Regenerate.
              * src/Makefile.am (sources): Add ctype.cc.
              * src/Makefile.in: Regenerate.
              * config/locale/ctype_members_generic.cc: New file.
              * config/locale/ctype_members_gnu.cc: New file.
              * src/locale.cc: Remove ctype<wchart_t> definitions.
      
      From-SVN: r48034
      Benjamin Kosnik committed
    • builtins.c (expand_builtin_memcmp): Mark parameter with ATTRIBUTE_UNUSED. · 88f92c0f
      	* builtins.c (expand_builtin_memcmp): Mark parameter with
      	ATTRIBUTE_UNUSED.
      	* cfgcleanup.c (insns_match_p): Likewise.
      	* regrename.c (mode_change_ok): Likewise.
      	* gcc.c (execute): Const-ify.
      
      From-SVN: r48033
      Kaveh R. Ghazi committed
    • c-parse.in (typename): Do not split attributes. · d3b4cd6f
      	* c-parse.in (typename): Do not split attributes.
              Remove unsupported attributes warning.
      
              * c-decl.c (groktypename): Apply attributes.
      
      From-SVN: r48032
      Aldy Hernandez committed
    • * testsuite/gcc.dg/20011214-1.c: New. · cdf89524
      From-SVN: r48031
      Aldy Hernandez committed
    • ia64.c (spill_restore_mem): Mark iterator initialization as possibly dead. · 892a4e60
              * config/ia64/ia64.c (spill_restore_mem): Mark iterator
              initialization as possibly dead.
      
      From-SVN: r48030
      Richard Henderson committed
    • regrename.c (mode_change_ok): New. · 8610ba70
              * regrename.c (mode_change_ok): New.
              (find_oldest_value_reg): Use it.
      
      From-SVN: r48029
      Richard Henderson committed
    • regrename.c (struct value_data): Add max_value_regs. · 752ae914
              * regrename.c (struct value_data): Add max_value_regs.
              (init_value_data): Initialize it.
              (kill_value): Kill values that overlap the dying register.
              (set_value_regno): New.
              (kill_set_value, kill_autoinc_value, copy_value): Use it.
              (copyprop_hardreg_forward_1): Kill earlyclobber operands
              before looking at inputs.
      
      From-SVN: r48028
      Richard Henderson committed
    • rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Handle DECL_WEAK for function descriptors. · ebd97b96
              * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Handle
              DECL_WEAK for function descriptors.
              * config/rs6000/xcoff.h (HANDLE_PRAGMA_WEAK): Define if assembler
              weak support present.
              (ASM_WEAKEN_LABEL): Same.
      
      From-SVN: r48027
      David Edelsohn committed
    • h8300.md (anonymous pattern): Add a missing mode. · 103c41c1
      	* config/h8300/h8300.md (anonymous pattern): Add a missing
      	mode.
      
      From-SVN: r48026
      Kazu Hirata committed
    • h8300.c (h8300_adjust_insn_length): Fix a comment typo. · e32815aa
      	* config/h8300/h8300.c (h8300_adjust_insn_length): Fix a
      	comment typo.
      
      From-SVN: r48025
      Kazu Hirata committed
    • h8300.c (h8300_handle_eightbit_data_attribute): Remove the initialization requierment. · 64378c91
      	* config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
      	Remove the initialization requierment.
      	(h8300_handle_tiny_data_attribute): Likewise.
      
      From-SVN: r48024
      Kazu Hirata committed
    • h8300.md (udivqi3): Remove. · 05fb1639
      	* config/h8300/h8300.md (udivqi3): Remove.
      	(divqi3): Likewise.
      	(udivhi3): Likewise.
      	(divhi3): Likewise.
      	(umodqi3): Likewise.
      	(modqi3): Likewise.
      	(umodhi3): Likewise.
      	(modhi3): Likewise.
      	(udivmodqi3): New.
      	(divmodqi3): Likewise.
      	(udivmodhi3): Likewise.
      	(divmodhi3): Likewise.
      
      From-SVN: r48023
      Kazu Hirata committed
    • cfgcleanup.c (flow_find_cross_jump): Replace tests for note by active_insn_p;… · 08f7f057
      cfgcleanup.c (flow_find_cross_jump): Replace tests for note by active_insn_p; count conditional jump as instruction.
      
      	* cfgcleanup.c (flow_find_cross_jump): Replace tests for note
      	by active_insn_p; count conditional jump as instruction.
      
      From-SVN: r48022
      Jan Hubicka committed
  2. 14 Dec, 2001 14 commits
    • cygwin.h (I386_PE_STRIP_ENCODING): Handle '*' at SYM_NAME[0] or SYM_NAME[3]. · aa28f076
      * config/i386/cygwin.h (I386_PE_STRIP_ENCODING): Handle '*'
      at SYM_NAME[0] or SYM_NAME[3].
      (STRIP_NAME_ENCODING): Don't check for leading '*'.
      
      Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>
      
      From-SVN: r48020
      DJ Delorie committed
    • Added changes to support -### (previously ok'ed by R. Henderson). · 99f78cdd
      Added changes to prevent -save-temps from clobbering the
      input file (previously ok'ed by R. Henderson).
      
      2001-12-14  Ira Ruben	<ira@apple.com>
      
      	Add -### option (displays driver-generated commands without
      	executing and quotes all arguments).
      	* doc/invoke.texi: Add -###.
      	* gcc.c (verbose_only_flag) - New flag.
      	* (execute): If -### write quoted arguments and return.
      	* (display_help): Print meaning of -###.
      	* (process_command): Handle -###.
      
      2001-12-14  Ira Ruben	<ira@apple.com>
      
      	Fix to no allow -save-temps to clobber user's source file.
      	* gcc.c: Add static globals input_stat and input_stat_set.
      	(do_spec_1): For 'g', 'u', 'U' case with save_temps_flag
      	set, check that user's input file is not overwritten.
      	(set_input): Reset input_stat_set for each new file.
      
      From-SVN: r48019
      Ira Ruben committed
    • gcj.texi: Markup for man page generation. · f1727481
      	* gcj.texi: Markup for man page generation. Document missing
      	options printed by <tool> --help.
      	Terminate description of gij's -ms option with a dot.
      	* Make-lang.in ($(srcdir)/java/*.1): New targets.
      	(java.generated-manpages java.install-man, java.uninstall,
      	java-maintainer-clean) Updated.
      
      From-SVN: r48016
      Matthias Klose committed
    • texi2pod.pl: Merge changes from binutils' texi2pod.pl. · 3da33af3
      2001-12-12  Matthias Klose  <doko@debian.org>
      
      	* texi2pod.pl: Merge changes from binutils' texi2pod.pl. Allows
      	generation of more than one man page from one source.
      	Add '-' to set of valid chars for an identifier.
      	Let -D option accept flags of the form <flag>=<value>.
      	Use \s+ for whitespace detection in '@c man' lines.
      	Handle @set and @clear independent of $output.
      	Substitute all @value{}'s in a line.
      
      From-SVN: r48015
      Matthias Klose committed
    • config-lang.in: Update copyright notice · 449d2be3
      	* config-lang.in: Update copyright notice
      
      	* layout.adb: Remove commented out code.
      
      	* mdllfile.ads: Update copyright notice. Fix header format.
      
      	* sem_case.ads: Likewise.
      
      	* sem_ch3.adb: Minor reformatting.
      
      From-SVN: r48014
      Geert Bosch committed
    • For PR libgcj/5103: · 1808372b
      	* libjava.jni/cxxtest.out: New file.
      	* libjava.jni/cxxtest.cc: New file.
      	* libjava.jni/cxxtest.java: New file.
      	* libjava.jni/jni.exp (gcj_jni_test_one): If there is no .c file,
      	assume there is a .cc file.
      
      From-SVN: r48012
      Tom Tromey committed
    • * predict.c (estimate_probability): Fix LOOP_EXIT heuristic. · 27b2c32e
      From-SVN: r48010
      Jan Hubicka committed
    • combine.c (record_dead_and_set_regs): Use regs_invalidated_by_call. · 29655d3d
      	* combine.c (record_dead_and_set_regs): Use
      	regs_invalidated_by_call.  Don't note stores for CALL_INSNs.
      
      From-SVN: r48009
      Zack Weinberg committed
    • builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and __builtin_fsqrt to __builtin_sqrt. · dc6f4158
      2001-12-14  Roger Sayle <roger@eyesopen.com>
      
      	* builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
      	__builtin_fsqrt to __builtin_sqrt.
      	* builtins.c (expand_builtin_mathfn,expand_builtin): Same.
      	* doc/extend.texi: Simplify documentation to match patch.
      f:
      	* com-rt.def: Use __builtin_sqrt instead of __builtin_fsqrt.
      	* com.c (ffecom_init_0): Same, and fixed enumeration usage.
      libstdc++-v3:
      	* acconfig.h: Test for __builtin_sqrt instead of
      	__builtin_fsqrt.
      	* acinclude.m4: Same.
      	* include/c_shadow/bits/std_cmath.h: Same.
      	* aclocal.m4: Regenerated.
      	* config.h.in: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r48008
      Andreas Jaeger committed
    • 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