1. 26 Dec, 2003 2 commits
  2. 25 Dec, 2003 12 commits
  3. 24 Dec, 2003 9 commits
  4. 23 Dec, 2003 17 commits
    • gcc-dg.exp (dg-require-profiling): New function. · b8ee7f02
      	* lib/gcc-dg.exp (dg-require-profiling): New function.
      	* lib/target-supports.exp (check_profiling_available): Likewise.
      	* g++.dg/bprob/bprob.exp: Use check_profiling_available.
      	* g77.dg/bprob/bprob.exp: Likewise.
      	* gcc.misc-tests/bprob.exp: Likewise.
      	* g++.old-deja/g++.law/profile1.C: Use dg-require-profiling.
      	* gcc.dg/20021014-1.c: Likewise.
      	* gcc.dg/nest.c: Likewise.
      
      From-SVN: r74995
      Mark Mitchell committed
    • java1.C: Use -fdollars-in-identifiers when compiling. · 7bd35dac
      	* g++.dg/lookup/java1.C: Use -fdollars-in-identifiers when
      	compiling.
      	* g++.dg/lookup/java2.C: Likewise.
      	* gcc.dg/cpp/lexident.c: Likewise.
      
      From-SVN: r74992
      Mark Mitchell committed
    • * config/ns32k/ns32k.c: Convert to ISO-C. · bfb26edd
      From-SVN: r74989
      Kazu Hirata committed
    • 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org> · 692fb023
      	* java/io/ObjectInputStream.java
      	(getField): Handle transient and non persistent fields.
      	(readClassDescriptor): Better error handling, use the right
      	class loader.
      	(readFields): Fields marked as not present in the stream
      	or not to be set are not read and set.
      	* java/io/ObjectInputStream.java
      	(readFields): Changed implementation of GetField.
      	(readClassDescriptor): Documented.
      	* java/io/ObjectOutputStream.java
      	(writeClassDescriptor): Added condition when to write class super
      	class information.
      
      From-SVN: r74985
      Guilhem Lavaux committed
    • 20020604-1.c: XFAIL on H8 if -mn is given. · f2073745
      	* gcc.c-torture/compile/20020604-1.c: XFAIL on H8 if -mn is
      	given.
      	* gcc.c-torture/compile/961203-1.c: Likewise.
      	* gcc.c-torture/compile/980506-1.c: Likewise.
      
      From-SVN: r74981
      Kazu Hirata committed
    • ia64.c (ia64_va_arg): Pass pointer for variable-sized type through convert_memory_address. · 4c494a15
      gcc:
      	* config/ia64/ia64.c (ia64_va_arg): Pass pointer for
      	variable-sized type through convert_memory_address.
      	(ia64_in_small_data_p): Always return false for FUNCTION_DECLs.
      
      gcc/testsuite:
      	* lib/gcc-dg.exp (dg-prune-output): New annotation.
      	(additional_prunes): New global.
      	(gcc-dg-prune): Handle additional per-test pruning.
      	(dg-test): Clear additional_prunes between tests.
      
      	* gcc.c-torture/compile/920625-1.c: Remove xfail.  Use
      	dg-prune-output to avoid spurious failures from assembler
      	complaining about nonexistent WAW violations.
      	* gcc.c-torture/compile/981223-1.c: Remove dg-options line.
      	Use dg-prune-output to avoid spurious failures from assembler
      	warning about Itanium B-step errata.
      
      From-SVN: r74980
      Zack Weinberg committed
    • GtkChoicePeer.java (postItemEvent): Rename to... · baba70d0
      2003-12-22  Fernando Nasser  <fnasser@redhat.com>
      
              * gnu/java/awt/peer/gtk/GtkChoicePeer.java (postItemEvent): Rename to...        (choicePostItemEvent): Change signature to more specific String object.
              * java/awt/Choice.java (add): Generate ItemEvent for the first item
              added.
              (insert): Generate ItemEvent if insertion caused
              selection to change.
              (remove): Generate ItemEvent if removal cause selection to change.
              (removeAll): Change algorithm to prevent generation of ItemEvents.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
              (connect_choice_item_selectable_hook): Change argument type.
              Fix argument value.
              Make sure resources are feed by registering callback.
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Adjust call to the
              above function.
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Ditto.
              (item_activate): Ditto.
              (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Destroy removed
              menuitem.
              (item_removed): New function.  Free resources.
              * jni/gtk-peer/gtkpeer.h (item_event_hook_info): Change member type and
              name.
              * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
              (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Obtain MethodID for
              choicePostItemEvent.
      
      From-SVN: r74979
      Fernando Nasser committed
    • * MAINTAINERS: Remove the mn10200 maintainer. · 459ac19f
      From-SVN: r74978
      Kazu Hirata committed
    • common.opt (fprofile-generate,fprofile-use): Add. · a8a5f53a
      
      	* common.opt (fprofile-generate,fprofile-use): Add.
      	* gcc.c (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov
      	* opts.c (profile_arc_flag_set, flag_profile_values_set,
      	flag_unroll_loops_set, flag_tracer_set,
      	flag_value_profile_transformations_set,
      	flag_peel_loops_set): New static variables.
      	(common_handle_option): Deal with -fprofile-generate/-fprofile-use
      	* invoke.texi (-fprofile-generate, -fprofile-use): Describe.
      
      From-SVN: r74976
      Jan Hubicka committed
    • c-common.c (flag_abi_version): Default to 2. · 57702a80
      	* c-common.c (flag_abi_version): Default to 2.
      	* c-cppbuiltin.c (c_cpp_builtins): Define __GXX_ABI_VERSION
      	uniformly for versions above 2.
      	* doc/invoke.texi: Update documentation for -fabi-version.
      
      	* cp-lang.c (cp_expr_size): Return zero for empty classes.
      
      	* cp-tree.h (warn_if_uknown_interface): Remove unused function.
      	* decl2.c (warn_if_unknown_interface): Likewise.
      
      	* g++.dg/abi/macro0.C: New test.
      	* g++.dg/abi/macro1.C: Likewise.
      	* g++.dg/abi/macro2.C: Likewise.
      
      	* g++.dg/abi/bitfield5.C: Add explicit -fabi-version=1 option.
      	* g++.dg/abi/bitfield7.C: Likewise.
      	* g++.dg/abi/dtor2.C: Likewise.
      	* g++.dg/abi/mangle11.C: Likewise.
      	* g++.dg/abi/mangle12.C: Likewise.
      	* g++.dg/abi/mangle14.C: Likewise.
      	* g++.dg/abi/mangle17.C: Likewise.
      	* g++.dg/abi/vbase10.C: Likewise.
      	* g++.dg/abi/vbase14.C: Likewise.
      	* g++.dg/template/qualttp17.C: Likewise.
      
      From-SVN: r74973
      Mark Mitchell committed
    • Copies.java, [...]: New files. · 32a2571b
      2003-12-23  Michael Koch  <konqueror@gmx.de>
      
      	* javax/print/attribute/standard/Copies.java,
      	javax/print/attribute/standard/JobImpressions.java,
      	javax/print/attribute/standard/JobMediaSheets.java,
      	javax/print/attribute/standard/JobPriority.java,
      	javax/print/attribute/standard/NumberOfDocuments.java,
      	javax/print/attribute/standard/NumberOfInterveningJobs.java,
      	javax/print/attribute/standard/NumberUp.java,
      	javax/print/attribute/standard/PagesPerMinuteColor.java,
      	javax/print/attribute/standard/PagesPerMinute.java,
      	javax/print/attribute/standard/QueuedJobCount.java: New files.
      	* Makefile.am (ordinary_java_source_files): Added new files.
      	* Makefile.in: Regenerated.
      
      From-SVN: r74971
      Michael Koch committed
    • re PR c/11995 (Error recovery problem after invalid labelled declaration in c99 mode) · 4ea49dd0
      2003-12-21  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR c/11995
              * gcc.dg/20031223-1.c: New test.
      
      From-SVN: r74970
      Andrew Pinski committed
    • 2003-12-23 Michael Koch <konqueror@gmx.de> · c36d5c04
      	* javax/print/attribute/AttributeSetUtilities.java
      	(verifyCategoryForValue): Renamed from verifyCategoryForAttribute.
      	* javax/print/attribute/HashAttributeSet.java
      	(HashAttributeSet): Call internal add methods, added missing
      	exceptions.
      	(add): Call addInternal, added exceptions to documentation.
      	(addInternal): New method.
      	(addAll): Call addAllInternal, added exception to documentation.
      	(addAllInternal): New method.
      	(clear): Added exception to documentation.
      	(remove): Likewise.
      	* javax/print/attribute/URISyntax.java
      	(serialVersionUID): Fixed value.
      
      From-SVN: r74969
      Michael Koch committed
    • re PR c++/13387 (assignment to base class corrupts subclass) · 5d027e7b
      	PR c++/13387
      	* cp-lang.c (cxx_get_alias_set): Correct logic for a base type.
      
      From-SVN: r74968
      Nathan Sidwell committed
    • rs6000.md: Change many instances of '! · 4b8a63d6
      	* config/rs6000/rs6000.md: Change many instances of '!
      	TARGET_POWERPC64' to 'TARGET_32BIT' when the pattern being guarded
      	was guarded only because it changed CR0 or the carry bit in XER.
      
      From-SVN: r74966
      Geoffrey Keating committed
    • new_allocator.h (new_allocator): Proper allocator class. · d38d4e5d
      
      2003-12-23  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/new_allocator.h (new_allocator): Proper allocator class.
      	(__new_alloc): Delete.
      	* include/ext/malloc_allocator.h (malloc_allocator): Same.
      	(__malloc_alloc): Delete.
       	* include/ext/mt_allocator.h: Same, but weakly.
       	* include/ext/debug_allocator.h: Convert to the new style.
      	* include/ext/pool_allocator.h: Use global new and delete directly.
      	* include/backward/alloc.h: Don't inject malloc_allocator, or
      	debug_allocator.
      	* testsuite/ext/allocators.cc: Minimal fixups for usage of new
      	classes.  Comment out tests with __pool_alloc for now.
      	* testsuite/performance/allocator.cc: Same.
      
      From-SVN: r74965
      Benjamin Kosnik committed
    • re PR rtl-optimization/13394 (noreturn attribute ignored on recursive invokation) · cbf6e52a
      	PR optimization/13394
      	* toplev.c (rest_of_compilation): Move call to
      	check_function_return_warnings right after the sibcall
      	optimization pass.
      
      From-SVN: r74961
      Eric Botcazou committed