Commit Graph

55181 Commits

Author SHA1 Message Date
Michael Koch 5bd1d00e5c ResolutionSyntax.java, [...]: Fixed typo (s/then/than/).
2003-12-27  Michael Koch  <konqueror@gmx.de>

	* javax/print/attribute/ResolutionSyntax.java,
	javax/print/attribute/SetOfIntegerSyntax.java,
	javax/print/attribute/Size2DSyntax.java,
	javax/print/attribute/standard/Copies.java,
	javax/print/attribute/standard/JobImpressions.java,
	javax/print/attribute/standard/JobMediaSheets.java,
	javax/print/attribute/standard/NumberOfDocuments.java,
	javax/print/attribute/standard/NumberOfInterveningJobs.java,
	javax/print/attribute/standard/PagesPerMinute.java,
	javax/print/attribute/standard/PagesPerMinuteColor.java,
	javax/print/attribute/standard/QueuedJobCount.java:
	Fixed typo (s/then/than/).

From-SVN: r75171
2003-12-27 14:21:08 +00:00
Kazu Hirata 8d531ab9b1 i386-interix.h: Remove uses of "register" specifier in declarations of arguments and local...
* config/i386/i386-interix.h: Remove uses of "register"
	specifier in declarations of arguments and local variables.
	* config/i386/i386.c: Likewise.
	* config/i386/i386elf.h: Likewise.
	* config/i386/ptx4-i.h: Likewise.
	* config/i386/sysv4.h: Likewise.

From-SVN: r75170
2003-12-27 05:56:16 +00:00
GCC Administrator 632e19ec05 Daily bump.
From-SVN: r75047
2003-12-27 00:16:07 +00:00
Guilhem Lavaux a4dc20a946 Naming.java (lookup): Check if the first character of the filename returned by URL.getFile() is a '/'...
2003-12-27  Guilhem Lavaux  <guilhem@kaffe.org>

	* java/rmi/Naming.java (lookup): Check if the first character of the
	filename returned by URL.getFile() is a '/', only if it is the case
	we cut this first character and call the registry with the good name.
	(bind): Likewise.
	(rebind): Likewise.

From-SVN: r75044
2003-12-26 23:23:55 +00:00
Guilhem Lavaux 45d51d7e37 BufferedReader.java (BufferedReader): Throw IllegalArgumentException when size <= 0.
2003-12-26  Guilhem Lavaux  <guilhem@kaffe.org>
	    Mark Wielaard  <mark@klomp.org>

	* java/io/BufferedReader.java (BufferedReader):
	Throw IllegalArgumentException when size <= 0.
	(mark): Document and better exception message for negative
	readLimit IllegalArgumentException.
	(read(char[],int,int)): Throw IndexOutOfBoundsException
	if offset and count are not valid regarding buf.
	(skip): Throw IllegalArgumentException when count is negative.

Co-Authored-By: Mark Wielaard <mark@klomp.org>

From-SVN: r75041
2003-12-26 22:10:19 +00:00
Fariborz Jahanian 3364872d40 rs6000.c (legitimate_offset_address_p): Do not restrict DFmode and TFmode to word alignment.
2003-12-26  Fariborz Jahanian <fjahanian@apple.com>
            Geoffrey Keating <geoffk@apple.com>
            David Edelsohn <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (legitimate_offset_address_p): Do not
        restrict DFmode and TFmode to word alignment.
        * config/rs6000/rs6000.md (movdf_hardfloat64): Use 'o' constraint
        for ld/std and order before mr.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
Co-Authored-By: Geoffrey Keating <geoffk@apple.com>

From-SVN: r75040
2003-12-26 17:07:07 -05:00
Guilhem Lavaux 88f2e10376 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
* java/io/FileInputStream.java
	(FileInputStream(String)): Call FileInputStream(File).
	(FileInputStream(File)): Check whether the argument is a directory.

From-SVN: r75039
2003-12-26 21:11:03 +00:00
Andrew Pinski 06fc4e4186 darwin.h (LINK_COMMAND_SPEC): Arrange -fprofile-generate to imply -lgcov.
2003-12-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * config/darwin.h (LINK_COMMAND_SPEC): Arrange
        -fprofile-generate to imply -lgcov.

From-SVN: r75038
2003-12-26 11:13:35 -08:00
Michael Koch 65ae26660a Makefile.am (rmi_java_source_files): Added gnu/java/rmi/server/RMIVoidValue.java.
2003-12-26  Michael Koch  <konqueror@gmx.de>

	* Makefile.am (rmi_java_source_files):
	Added gnu/java/rmi/server/RMIVoidValue.java.
	* Makefile.in: Regenerated.

From-SVN: r75037
2003-12-26 16:25:57 +00:00
Kazu Hirata 8825ae5045 h8300.md (ldm_h8300s_2_normal): Use HImode for addresses.
* config/h8300/h8300.md (ldm_h8300s_2_normal): Use HImode for
	addresses.

From-SVN: r75036
2003-12-26 16:15:24 +00:00
Guilhem Lavaux 38910ebb1b 2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
Mark Wielaard  <mark@klomp.org>

	* gnu/java/rmi/server/UnicastConnectionManager.java
	(startScavenger): Set the client connection manager to daemon
	state because it may block clients until TIMEOUT is reached
	when they are exiting.

	* gnu/java/rmi/RMIVoidValue.java: New file for a class representing
	a void return.

	* gnu/java/rmi/server/UnicastRemoteCall.java
	(DummyOutputStream): Add a boolean before each written field to
	know whether it is a primitive.
	(releaseOutputStream): Flush parameters at write time.

	* gnu/java/rmi/server/UnicastServerRef.java
	(incomingMessageCall): Return a RMIVoidValue if no value is to be
	returned.

	* gnu/java/rmi/server/UnicastServer.java
	(incomingMessageCall): Do not write a returned object if it is
	a RMIVoidValue.

Co-Authored-By: Mark Wielaard <mark@klomp.org>

From-SVN: r75033
2003-12-26 16:13:01 +00:00
Kaveh R. Ghazi 4d42522958 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
From-SVN: r75030
2003-12-26 01:54:43 +00:00
GCC Administrator 590a23507c Daily bump.
From-SVN: r75028
2003-12-26 00:16:07 +00:00
Kazu Hirata a98dd5bb2d * config/m32r/m32r.md: Remove a constraint from a splitter.
From-SVN: r75026
2003-12-25 21:58:13 +00:00
Andrew Pinski 19a4e5b7e2 parse.y (catch_clause_parameter): Fix typo.
2003-12-25  Andrew Pinski  <pinskia@physics.uc.edu>

        * parse.y (catch_clause_parameter): Fix typo.

From-SVN: r75025
2003-12-25 13:01:17 -08:00
Andreas Tobler 365fc27612 ltdl.c (HAVE_DYLD): Remove ifdef conditional for darwin.
2003-12-25  Andreas Tobler  <a.tobler@schweiz.ch>

	* libltdl/ltdl.c (HAVE_DYLD): Remove ifdef conditional for
	darwin. Fixed by fixinclude now.

From-SVN: r75024
2003-12-25 20:33:06 +01:00
Michael Koch d9a81e87b6 ServerSocket.java bind (): If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as address to...
2003-12-25  Michael Koch  <konqueror@gmx.de>

	* java/net/ServerSocket.java bind():
	If InetSocketAddress.getAddress() returns "null" use "0.0.0.0" as
	address to bind to.

From-SVN: r75023
2003-12-25 17:31:13 +00:00
Andrew Pinski ac2b322259 PR c++/13268, c++/13339
PR c++/13268, c++/13339
        * class.c (add_method): Return early when method is error_mark_node.
        * pt.c (tsubst_friend_function): Return early when new_friend is
        error_mark_node.

From-SVN: r75022
2003-12-25 08:28:50 -08:00
Andrew Pinski 5a6159ddb9 PR C++/13429, C/11944
2003-12-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR C++/13429, C/11944
        * c-common.c (c_build_qualified_type): Return early when type is
        error_mark_node.
        (c_apply_type_quals_to_decl): Likewise.

From-SVN: r75021
2003-12-25 08:21:34 -08:00
Andrew Pinski df9fe6e576 re PR java/13404 (ICE when Missing identifier on catch clause)
2003-12-25  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/13404
        * parse.y: (catch_clause_parameter): Return early if $3, aka
        formal_parameter, is null.

From-SVN: r75020
2003-12-25 08:08:25 -08:00
Kazu Hirata d6b4baa4a5 alpha-modes.def: Fix comment formatting.
* config/alpha/alpha-modes.def: Fix comment formatting.
	* config/alpha/alpha.c: Likewise.
	* config/alpha/alpha.h: Likewise.
	* config/alpha/elf.h: Likewise.
	* config/alpha/lib1funcs.asm: Likewise.
	* config/alpha/openbsd.h: Likewise.
	* config/alpha/vms-cc.c: Likewise.
	* config/alpha/vms-crt0-64.c: Likewise.
	* config/alpha/vms-crt0.c: Likewise.
	* config/alpha/vms-ld.c: Likewise.
	* config/alpha/vms-psxcrt0-64.c: Likewise.
	* config/alpha/vms-psxcrt0.c: Likewise.
	* config/alpha/vms.h: Likewise.
	* config/arc/arc.c: Likewise.
	* config/arm/aof.h: Likewise.
	* config/arm/arm-modes.def: Likewise.
	* config/arm/arm.c: Likewise.
	* config/arm/arm.h: Likewise.
	* config/arm/arm.md: Likewise.
	* config/arm/linux-elf.h: Likewise.
	* config/arm/vxworks.h: Likewise.
	* config/avr/avr.c: Likewise.
	* config/avr/avr.h: Likewise.

From-SVN: r75019
2003-12-25 15:17:37 +00:00
Kazu Hirata 3bbc2af6e7 elf.h: Fix comment formatting.
* config/xtensa/elf.h: Fix comment formatting.
	* config/xtensa/xtensa-protos.h: Likewise.
	* config/xtensa/xtensa.c: Likewise.
	* config/xtensa/xtensa.h: Likewise.

From-SVN: r75018
2003-12-25 04:49:32 +00:00
Andrew Pinski be88628621 atomicity.h (__exchange_and_add): Fix output constraint.
* config/cpu/i386/atomicity.h (__exchange_and_add): Fix output
        constraint.

From-SVN: r75017
2003-12-24 20:27:58 -08:00
Andrew Pinski a51c409779 re PR libstdc++/13480 (bits/atomicity.h:56: warning: read-write constraint does not allow a register)
2003-12-24  Andrew Pinski  <pinskia@physics.uc.edu>

        PR libstdc++/13480
        * config/cpu/i486/atomicity.h: Split up read-write memory operand.

From-SVN: r75016
2003-12-24 18:04:06 -08:00
GCC Administrator 015fde0ae5 Daily bump.
From-SVN: r75014
2003-12-25 00:16:06 +00:00
Kazu Hirata 2c338472ba avr.c: Fix comment formatting.
* config/avr/avr.c: Fix comment formatting.
	* config/avr/avr.md: Likewise.

From-SVN: r75011
2003-12-24 22:12:32 +00:00
Kazu Hirata baac771ac4 re PR target/12721 (ICE when building a cross compiler for avr-elf)
PR target/12721.
	* config/avr/avr.c: Include ggc.h.
	(tmp_reg_rtx): Declare with GTY.
	(zero_reg_rtx): Likewise.
	(ldi_reg_rtx): Remove.
	(avr_override_options): Initialize zero_reg_rtx and
	ldi_reg_rtx.
	(avr_init): Remove.
	Include gt-avr.h.
	* config/avr/avr.h (LDI_REG_REGNO): Remove.
	Remove externs for tmp_reg_rtx, zero_reg_rtx, and ldi_reg_rtx.

From-SVN: r75010
2003-12-24 20:39:30 +00:00
David Edelsohn 2dcfc29d81 * doc/md.texi: Document PowerPC vector register constraint letter.
From-SVN: r75009
2003-12-24 11:19:16 -05:00
Mark Mitchell 8f23fc8185 calls.c (expand_call): Recognize calls to "sqrt" and create corresponding notes.
* calls.c (expand_call): Recognize calls to "sqrt" and create
	corresponding notes.

	* g++.dg/bprob/bprob.exp: Load target-supports.exp
	* g77.dg/bprob/bprob.exp: Likewise.
	* gcc.misc-tests/bprob.exp: Likewise.
	* gcc.dg/builtins-18.c: Use builtins-config.h.  Do not test float
	variants on systems where the library does not provide that
	functionality.
	* gcc.dg/builtins-20.c: Use builtins-config.h.
	* gcc.dg/builtins-config.h: New file.

From-SVN: r75003
2003-12-24 06:52:27 +00:00
Kaveh R. Ghazi ac5fe3fe51 mips.c (override_options): Use `inform' instead of `warning' for -g -mabi=32 and native assembler.
* config/mips/mips.c (override_options): Use `inform' instead
	of `warning' for -g -mabi=32 and native assembler.

	* config/mips/t-iris6 (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS):
	Don't pass -Wno-error.

From-SVN: r75002
2003-12-24 03:59:59 +00:00
David Edelsohn 8deb9aee94 function.c (assign_parms): Update max_parm_reg and parm_reg_stack_loc when adding new parm reg.
* function.c (assign_parms): Update max_parm_reg and
        parm_reg_stack_loc when adding new parm reg.

From-SVN: r75001
2003-12-23 21:22:37 -05:00
Kelley Cook 2ab127f3ef gnat_ug.texi: Force a CVS commit by updating copyright.
2003-12-23  Kelley Cook  <kcook@gcc.gnu.org>

	* gnat_ug.texi: Force a CVS commit by updating copyright.
	* gnat_ug_vxw.texi: Regenerate.
	* gnat_ug_wnt.texi: Regenerate.
	* gnat_ug_vms.texi: Regenerate.
	* gnat_ug_unx.texi: Regenerate.

From-SVN: r75000
2003-12-24 00:16:53 +00:00
GCC Administrator c4a239e926 Daily bump.
From-SVN: r74998
2003-12-24 00:16:08 +00:00
Mark Mitchell def66b107c Makefile.in (OBJS-common): Remove dwarfout.o.
* Makefile.in (OBJS-common): Remove dwarfout.o.
	(dwarfout.o): Remove.
	* common.opt: Remove -gdwarf, -gdwarf+.
	* defaults.h (PREFERRED_DEBUGGING_TYPE): Do not check for
	DWARF_DEBUGGING_INFO.
	* dwarf2out.c: Fix typo in comment.
	* dwarfout.c: Remove.
	* opts.c (common_handle_option): Remove OPT_gdwarf, OPT_gdwarf_.
	* toplev.c (process_options): Remove check for
	DWARF_DEBUGGING_INFO.
	* config/elfos.h (DWARF_DEBUGGING_INFO): Do not #define it or
	#undef it.
	* config/netware.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/ptx4.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/vxworks.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/alpha/unicosmk.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/arc/arc.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/i386/sco5.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/i386/x86-64.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/m32r/m32r.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/mcore/mcore-elf.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/sparc/linux64.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/sparc/liteelf.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/sparc/sol26-sld.h (DWARF_DEBUGGING_INFO): Likewise.
	* config/sparc/sp86x-elf.h (DWARF_DEBUGGING_INFO): Likewise.
	* doc/invoke.texi: Do not mention -gdwarf, -gdwarf-1, -gdwarf-1+,
	or -gdwarf+.
	* doc/tm.texi: Likewise.

From-SVN: r74996
2003-12-24 00:14:25 +00:00
Mark Mitchell b8ee7f0279 gcc-dg.exp (dg-require-profiling): New function.
* 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
2003-12-23 23:55:06 +00:00
Mark Mitchell 7bd35dac24 java1.C: Use -fdollars-in-identifiers when compiling.
* 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
2003-12-23 22:41:27 +00:00
Kazu Hirata bfb26eddf5 * config/ns32k/ns32k.c: Convert to ISO-C.
From-SVN: r74989
2003-12-23 22:32:54 +00:00
Guilhem Lavaux 692fb023ef 2003-12-23 Guilhem Lavaux <guilhem@kaffe.org>
* 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
2003-12-23 22:06:01 +00:00
Kazu Hirata f2073745a8 20020604-1.c: XFAIL on H8 if -mn is given.
* 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
2003-12-23 20:36:59 +00:00
Zack Weinberg 4c494a15bb ia64.c (ia64_va_arg): Pass pointer for variable-sized type through convert_memory_address.
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
2003-12-23 20:25:49 +00:00
Fernando Nasser baba70d019 GtkChoicePeer.java (postItemEvent): Rename to...
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
2003-12-23 19:24:00 +00:00
Kazu Hirata 459ac19fa5 * MAINTAINERS: Remove the mn10200 maintainer.
From-SVN: r74978
2003-12-23 18:48:46 +00:00
Jan Hubicka a8a5f53add common.opt (fprofile-generate,fprofile-use): Add.
* 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
2003-12-23 17:55:33 +00:00
Mark Mitchell 57702a80e8 c-common.c (flag_abi_version): Default to 2.
* 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
2003-12-23 16:53:53 +00:00
Michael Koch 32a2571b0c Copies.java, [...]: New files.
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
2003-12-23 11:55:30 +00:00
Andrew Pinski 4ea49dd051 re PR c/11995 (Error recovery problem after invalid labelled declaration in c99 mode)
2003-12-21  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c/11995
        * gcc.dg/20031223-1.c: New test.

From-SVN: r74970
2003-12-23 02:33:00 -08:00
Michael Koch c36d5c04b1 2003-12-23 Michael Koch <konqueror@gmx.de>
* 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
2003-12-23 10:21:31 +00:00
Nathan Sidwell 5d027e7b03 re PR c++/13387 (assignment to base class corrupts subclass)
PR c++/13387
	* cp-lang.c (cxx_get_alias_set): Correct logic for a base type.

From-SVN: r74968
2003-12-23 09:02:12 +00:00
Geoffrey Keating 4b8a63d6c2 rs6000.md: Change many instances of '!
* 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
2003-12-23 08:12:41 +00:00
Benjamin Kosnik d38d4e5d18 new_allocator.h (new_allocator): Proper allocator class.
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
2003-12-23 07:24:57 +00:00