Kazu Hirata [Mon, 18 Oct 2004 15:11:31 +0000 (15:11 +0000)]
basic-block.h (reg_set_iterator): New.
* basic-block.h (reg_set_iterator): New.
(EXECUTE_IF_SET_IN_REG_SET): Make it iterator style.
(EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise.
(EXECUTE_IF_AND_IN_REG_SET): Likewise.
* caller-save.c (save_call_clobbered_regs): Adjust to the new
style.
* cfgcleanup.c (thread_jump): Likewise.
* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
* conflict.c (conflict_graph_compute): Likewise.
* flow.c (verify_local_live_at_start, update_life_info,
initialize_uninitialized_subregs, propagate_one_insn,
init_propagate_block_info, free_propagate_block_info,
propagate_block, dump_regset): Likewise.
* global.c (global_conflicts): Likewise.
* graph.c (start_bb): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (load_mems): Likewise.
* reload1.c (compute_use_by_pseudos, order_regs_for_reload,
find_reg, finish_spills): Likewise.
* resource.c (mark_target_live_regs): Likewise.
* sched-deps.c (sched_analyze_insn): Likewise.
* sched-rgn.c (sched-rgn.c): Likewise.
* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.
From-SVN: r89226
Jeroen Frijters [Mon, 18 Oct 2004 15:07:04 +0000 (15:07 +0000)]
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/security/Security.java
(static): Use AccessController.doPrivileged to get system property.
From-SVN: r89225
Sven de Marothy [Mon, 18 Oct 2004 14:41:45 +0000 (16:41 +0200)]
2004-10-18 Sven de Marothy <sven@physto.se>
* java/nio/ByteBufferHelper.java
(putDouble): Use Double.toRawLongBits instead.
From-SVN: r89224
Mark Wielaard [Mon, 18 Oct 2004 14:13:18 +0000 (14:13 +0000)]
ExtraClassLoader.java: New.
2004-10-18 Mark Wielaard <mark@klomp.org>
Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/ExtraClassLoader.java: New.
Co-Authored-By: Andrew Haley <aph@redhat.com>
From-SVN: r89222
Andrew Haley [Mon, 18 Oct 2004 14:07:42 +0000 (14:07 +0000)]
re PR libgcj/18036 (Bad interaction between interpreter and Class.forName())
2004-10-18 Andrew Haley <aph@redhat.com>
PR java/18036:
* gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
and correct logic used to find interpreter.
From-SVN: r89221
Jeroen Frijters [Mon, 18 Oct 2004 14:05:04 +0000 (14:05 +0000)]
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/util/logging/LogManager.java
(findAncestor): Fixed IndexOutOfBoundsException.
From-SVN: r89220
Michael Koch [Mon, 18 Oct 2004 13:40:05 +0000 (13:40 +0000)]
BufferedInputStream.java: Fixed @author tag.
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/io/BufferedInputStream.java: Fixed @author tag.
(read): Simplified expression.
(read): Merged javadoc a bit more.
(read): Renamed 'remain' to 'totalBytesRead'.
* java/io/DataInputStream.java,
java/io/DataOutputStream.java,
java/io/ObjectInputStream.java,
java/io/ObjectOutputStream.java:
Reworked modifier order.
From-SVN: r89218
Jakub Jelinek [Mon, 18 Oct 2004 13:01:36 +0000 (15:01 +0200)]
i386.md (addqi_1_slp): Test for incdec_operand operand 1 instead of 2
* config/i386/i386.md (addqi_1_slp): Test for incdec_operand
operand 1 instead of 2
* gcc.c-torture/compile/
20041018-1.c: New test.
From-SVN: r89212
Michael Koch [Mon, 18 Oct 2004 12:36:27 +0000 (12:36 +0000)]
Inet4Address.java: Merged file header and javadocs.
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/net/Inet4Address.java: Merged file header and javadocs.
* java/net/Inet6Address.java: Likewise.
* java/net/InetAddress.java
(getCanonicalHostName): Create Inet4Address object instead of
InetAddress and add comment regarding IPv6.
(toString): Simplified.
From-SVN: r89211
Michael Koch [Mon, 18 Oct 2004 12:22:51 +0000 (12:22 +0000)]
[multiple changes]
2004-10-18 Michael Koch <konqueror@gmx.de>
* gnu/java/net/protocol/http/Connection.java,
java/nio/MappedByteBufferImpl.java,
java/text/RuleBasedCollator.java,
java/util/ResourceBundle.java:
Reworked import statements.
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/security/IdentityScope.java
(systemScope): Removed useless initializer.
* java/security/Policy.java
(currentPolicy): Likewise.
From-SVN: r89210
Kazu Hirata [Mon, 18 Oct 2004 12:15:45 +0000 (12:15 +0000)]
* loop-unroll.c: Fix comment typos.
From-SVN: r89209
Michael Koch [Mon, 18 Oct 2004 11:09:11 +0000 (11:09 +0000)]
System.java: Revert accidential change.
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/System.java: Revert accidential change.
From-SVN: r89208
Michael Koch [Mon, 18 Oct 2004 10:41:56 +0000 (10:41 +0000)]
Math.java, [...]: Reworked import statements, HTML in javadocs and modifier orders.
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/Math.java,
java/lang/Package.java,
java/lang/Runtime.java,
java/lang/StrictMath.java,
java/lang/System.java,
java/lang/Thread.java,
java/lang/ThreadLocal.java,
java/lang/Void.java:
Reworked import statements, HTML in javadocs and modifier orders.
From-SVN: r89207
Jeroen Frijters [Mon, 18 Oct 2004 10:23:59 +0000 (10:23 +0000)]
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/util/Timer.java
(nr): Removed useless initializer.
* java/util/logging/LogRecord.java
(lastSeqNum): Likewise.
* javax/naming/spi/NamingManager.java
(icfb, ofb): Likewise.
From-SVN: r89206
Michael Koch [Mon, 18 Oct 2004 10:14:24 +0000 (10:14 +0000)]
PlainDatagramSocketImpl.java: Reworked import statements.
2004-10-18 Michael Koch <konqueror@gmx.de>
* gnu/java/net/PlainDatagramSocketImpl.java:
Reworked import statements.
* gnu/java/security/provider/DSAParameters.java:
Fixed copyrigth years.
* java/net/JarURLConnection.java:
Fixed HTML in @author tags.
From-SVN: r89205
Michael Koch [Mon, 18 Oct 2004 09:49:16 +0000 (09:49 +0000)]
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/rmi/activation/ActivationSystem.java
(SYSTEM_PORT): Initialize with correct port number.
From-SVN: r89202
Michael Koch [Mon, 18 Oct 2004 09:46:48 +0000 (09:46 +0000)]
[multiple changes]
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/Proxy.java: Improved javadocs.
2004-10-18 Michael Koch <konqueror@gmx.de>
* java/lang/reflect/AccessibleObject.java
(checkPermission): Removed redundant final modifier.
(secureSetAccessible): Likewise.
* java/lang/reflect/Proxy.java:
Reworked import statements.
(generate): Removed redundant final modifier.
* java/lang/reflect/ReflectPermission.java:
Reorder package declaration and import statement.
2004-10-18 Jeroen Frijters <jeroen@frijters.net>
* java/lang/reflect/Proxy.java
(count): Removed useless initializer.
From-SVN: r89201
Paolo Carlini [Mon, 18 Oct 2004 08:43:17 +0000 (08:43 +0000)]
basic_string.tcc (_M_mutate): Do not reallocate unnecessarily when _M_rep() == &_S_empty_rep() and __new_size...
2004-10-18 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (_M_mutate): Do not reallocate
unnecessarily when _M_rep() == &_S_empty_rep() and __new_size
== capacity() (== 0): is ok to just leave everything unchanged.
* include/bits/basic_string.h: Minor formatting fixes.
* include/bits/basic_string.tcc: Likewise.
From-SVN: r89199
Steven Bosscher [Mon, 18 Oct 2004 06:35:09 +0000 (06:35 +0000)]
Make-lang.in (java/parse.o-warn, [...]): New rules to work around old Bison warnings.
* Make-lang.in (java/parse.o-warn, java/parse-scan.o-warn):
New rules to work around old Bison warnings.
From-SVN: r89198
Revital Eres [Mon, 18 Oct 2004 05:31:28 +0000 (05:31 +0000)]
Makefile.in (loop-unroll.o): Add VARRAY_H dependency.
2004-10-18 Revital Eres <eres@il.ibm.com>
* Makefile.in (loop-unroll.o): Add VARRAY_H dependency.
* loop-unroll.c: Include varray.h.
(struct var_to_expand, struct opt_info): Rename split_ivs_info to
opt_info and expand it to support variable expansion.
(analyze_insns_in_loop): Rename analyze_ivs_to_split and
expand it to support variable expansion.
(pt_info_start_duplication): Rename si_info_start_duplication.
(apply_opt_in_copies): Rename split_ivs_in_copies and add support
to the variable expansion optimization.
(free_opt_info): Rename free_si_info.
(analyze_insn_to_expand_var, referenced_in_one_insn_in_loop_p,
expand_var_during_unrolling, insert_var_expansion_initialization,
combine_var_copies_in_loop_exit, release_var_copies,
get_expansion): New functions.
(peel_loop_completely, unroll_loop_constant_iterations,
unroll_loop_runtime_iterations, peel_loop_simple,
unroll_loop_stupid): Change uses of struct si_info
to struct opt_info
and add uses of fvariable-expansion-in-unroller flag.
* params.def: Add parameter to restrict the number of expansions.
* params.h: (MAX_VARIABLE_EXPANSIONS): New define to restrict
the number of expansions.
* common.opt: (fvariable-expansion-in-unroller): New flag.
* doc/invoke.texi: (fvariable-expansion-in-unroller): Document.
From-SVN: r89197
Danny Smith [Mon, 18 Oct 2004 03:48:57 +0000 (03:48 +0000)]
cygming.h (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES to 0.
* config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define
__GXX_MERGED_TYPEINFO_NAMES to 0.
From-SVN: r89196
Ben Elliston [Mon, 18 Oct 2004 03:23:20 +0000 (03:23 +0000)]
ppc-sdata-1.c: Update to consider the possibility of the compiler referring to register 0 when...
* gcc.dg/ppc-sdata-1.c: Update to consider the possibility of the
compiler referring to register 0 when accessing sdata. The linker
now patches things up.
From-SVN: r89195
Hans-Peter Nilsson [Mon, 18 Oct 2004 01:56:03 +0000 (01:56 +0000)]
cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb...
* cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb,
handle barriers in a bb by checking that it points to a NULL bb.
* emit-rtl.c (emit_barrier_before): Set BLOCK_FOR_INSN to NULL.
(emit_barrier_after, emit_barrier): Ditto.
From-SVN: r89193
Joseph Myers [Mon, 18 Oct 2004 00:22:27 +0000 (01:22 +0100)]
extend.texi (Attribute Syntax): Clarify details of attributes on parameters.
* doc/extend.texi (Attribute Syntax): Clarify details of
attributes on parameters.
From-SVN: r89190
GCC Administrator [Mon, 18 Oct 2004 00:16:46 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89188.2
GCC Administrator [Mon, 18 Oct 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89187.2
Zdenek Dvorak [Sun, 17 Oct 2004 23:13:21 +0000 (01:13 +0200)]
tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Move checking out of loop.
* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Move checking out of
loop.
From-SVN: r89185
Steven Bosscher [Sun, 17 Oct 2004 22:51:35 +0000 (22:51 +0000)]
class.c (ident_subst): Always alloca buffer.
* class.c (ident_subst): Always alloca buffer.
* java-opcodes.h (LAST_AND_UNUSED_JAVA_OPCODE): Add this dummy
opcode after including javaop.def.
* jcf-dump.c (CHECK_PC_IN_RANGE): Return 0 from the arm of the
conditional expression that exits, to avoid warnings.
* verify.c (CHECK_PC_IN_RANGE): Mark the __GNUC__ definition as
a user of an extension.
* win32-host.c: Move check down to have non-empty file when
WIN32 is not defined.
* Make-lang.in (java-warn): Add STRICT_WARN.
(java/jcf-io.o-warn): Don't have Werror for this file.
* jcf-io.c (caching_stat): Add FIXME for non-POSIX scandir use.
From-SVN: r89184
Andrew Pinski [Sun, 17 Oct 2004 22:01:19 +0000 (22:01 +0000)]
revert: c-typeck.c (default_function_array_conversion): Always create &a[0] for array types.
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
Revert:
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
* c-typeck.c (default_function_array_conversion): Always create
&a[0] for array types.
(build_unary_op): Do not fold &a[x] into a + x.
From-SVN: r89183
Andrew Pinski [Sun, 17 Oct 2004 20:07:34 +0000 (20:07 +0000)]
re PR middle-end/17925 (Gotos loses their locations)
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17925
* cfgexpand.c (expand_gimple_cond_expr): Emit line notes for next basic
block if there is a goto with a locus.
From-SVN: r89182
Kazu Hirata [Sun, 17 Oct 2004 18:09:48 +0000 (18:09 +0000)]
elfos.h, [...]: Update copyright.
* config/elfos.h, config/gofast.h, config/interix.h,
config/netbsd.h, config/svr3.h, config/vxworks.h,
config/alpha/alpha-modes.def, config/alpha/alpha-protos.h,
config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md,
config/alpha/netbsd.h, config/arm/arm-modes.def,
config/arm/unknown-elf.h, config/c4x/c4x-modes.def,
config/cris/aout.h, config/frv/frv-modes.def,
config/i386/beos-elf.h, config/i386/gas.h,
config/i386/i386-coff.h, config/i386/i386-modes.def,
config/i386/linux.h, config/i386/linux64.h,
config/i386/mingw32.h, config/i386/netbsd-elf.h,
config/i386/netbsd64.h, config/i386/sco5.h,
config/i386/sol2.h, config/i386/uwin.h, config/i860/i860.md,
config/ia64/ia64-modes.def, config/ia64/itanium1.md,
config/ia64/itanium2.md, config/m68k/m68k-modes.def,
config/mips/mips-modes.def, config/mips/sdb.h,
config/mips/vr.h, config/mips/vxworks.h,
config/pa/pa-hpux10.h, config/pa/pa-hpux11.h,
config/pa/pa32-linux.h, config/rs6000/40x.md,
config/rs6000/7450.md, config/rs6000/8540.md,
config/rs6000/linuxspe.h, config/rs6000/power4.md,
config/rs6000/rs6000-modes.def, config/rs6000/rtems.h,
config/rs6000/spe.h, config/s390/2064.md, config/s390/linux.h,
config/s390/s390-modes.def, config/sh/elf.h,
config/sh/sh-modes.def, config/sh/sh64.h,
config/sparc/ultra1_2.md, config/sparc/ultra3.md,
config/stormy16/stormy16.md, config/v850/v850-protos.h,
config/vax/vax.md: Update copyright.
From-SVN: r89179
Andrew Pinski [Sun, 17 Oct 2004 17:24:59 +0000 (17:24 +0000)]
re PR tree-optimization/17529 (ICE in get_indirect_ref_operands)
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
PR c/17529
* gcc.c-torture/compile/pr17529.c: New test.
From-SVN: r89175
Kazu Hirata [Sun, 17 Oct 2004 17:19:32 +0000 (17:19 +0000)]
* expr.c (expand_expr_real_1): Remove an obsolete comment.
From-SVN: r89174
Andrew Pinski [Sun, 17 Oct 2004 17:16:27 +0000 (17:16 +0000)]
c-typeck.c (default_function_array_conversion): Always create &a[0] for array types.
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
* c-typeck.c (default_function_array_conversion): Always create
&a[0] for array types.
(build_unary_op): Do not fold &a[x] into a + x.
From-SVN: r89173
Andrew Pinski [Sun, 17 Oct 2004 17:13:38 +0000 (17:13 +0000)]
Make-lang.in (F95_ADDITIONAL_OBJS): Kill.
2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
* Make-lang.in (F95_ADDITIONAL_OBJS): Kill.
(f951): Do not depend on F95_ADDITIONAL_OBJS and don't
link it in.
From-SVN: r89172
Benjamin Kosnik [Sun, 17 Oct 2004 15:22:03 +0000 (15:22 +0000)]
mt_allocator.h (__pool::_M_get_align): New.
2004-10-17 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h (__pool::_M_get_align): New.
(__mt_alloc::allocate): Use it.
* src/mt_allocator.cc (__pool::_M_reclaim_block): Use it.
(__pool::_M_reserve_block): Simplify block allocation.
From-SVN: r89171
Dhruv Matani [Sun, 17 Oct 2004 14:46:29 +0000 (14:46 +0000)]
bitmap_allocator.h: Change unsigned int -> size_t...
2004-10-17 Dhruv Matani <dhruvbird@gmx.net>
Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h: Change unsigned int -> size_t: this
makes the code 64-bit correct and also fixes (together with using at
the beginning a bitmap 2 * size_t bytes wide) alignment issues: now
8 is guaranteed, easily tunable to 16 via _BALLOC_ALIGN_BYTES.
Fix pthread-rope7.cc fail by nulling out __mini_vector<> destructor.
* src/bitmap_allocator.cc: Change to size_t.
* config/linker-map.gnu: Adjust.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r89170
Michael Koch [Sun, 17 Oct 2004 08:29:57 +0000 (08:29 +0000)]
BindException.java, [...]: Big import statement and @author tag cleanup.
2004-10-17 Michael Koch <konqueror@gmx.de>
* java/net/BindException.java,
java/net/ConnectException.java,
java/net/ContentHandler.java,
java/net/ContentHandlerFactory.java,
java/net/DatagramPacket.java,
java/net/DatagramSocket.java,
java/net/DatagramSocketImpl.java,
java/net/DatagramSocketImplFactory.java,
java/net/FileNameMap.java,
java/net/HttpURLConnection.java,
java/net/MalformedURLException.java,
java/net/MulticastSocket.java,
java/net/NetworkInterface.java,
java/net/NoRouteToHostException.java,
java/net/PasswordAuthentication.java,
java/net/PortUnreachableException.java,
java/net/ProtocolException.java,
java/net/ServerSocket.java,
java/net/Socket.java,
java/net/SocketException.java,
java/net/SocketImpl.java,
java/net/SocketImplFactory.java,
java/net/SocketOptions.java,
java/net/SocketPermission.java,
java/net/SocketTimeoutException.java,
java/net/URI.java,
java/net/URISyntaxException.java,
java/net/URL.java,
java/net/URLDecoder.java,
java/net/URLEncoder.java,
java/net/URLStreamHandler.java,
java/net/URLStreamHandlerFactory.java,
java/net/UnknownHostException.java,
java/net/UnknownServiceException.java:
Big import statement and @author tag cleanup.
From-SVN: r89168
Michael Koch [Sun, 17 Oct 2004 08:00:11 +0000 (08:00 +0000)]
OID.java, [...]: Import statements cleaned up.
2004-10-17 Michael Koch <konqueror@gmx.de>
* gnu/java/security/OID.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/x509/X500DistinguishedName.java,
gnu/java/security/x509/X509CRL.java:
Import statements cleaned up.
From-SVN: r89166
Jakub Jelinek [Sun, 17 Oct 2004 07:15:53 +0000 (09:15 +0200)]
pointer-set.c (hash1): Use integer part of 2^64 / phi instead 2^32 / phi if long is 64-bit.
* pointer-set.c (hash1): Use integer part of 2^64 / phi
instead 2^32 / phi if long is 64-bit.
From-SVN: r89165
Giovanni Bajo [Sun, 17 Oct 2004 04:39:46 +0000 (04:39 +0000)]
re PR c++/17743 (dependent expressions in attributes)
PR c++/17743
* decl2.c (grokfield): Apply attributes also to TYPE_DECLs.
PR c++/17743
* g++.dg/ext/attrib17.C: New test.
From-SVN: r89164
GCC Administrator [Sun, 17 Oct 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89162.2
GCC Administrator [Sun, 17 Oct 2004 00:16:10 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89161.2
Joseph Myers [Sat, 16 Oct 2004 23:20:42 +0000 (00:20 +0100)]
Fix typo in last entry.
From-SVN: r89159
Joseph Myers [Sat, 16 Oct 2004 23:19:07 +0000 (00:19 +0100)]
c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE.
* c-common.c (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and
RID_PTRVALUE.
* c-parse.in (PTR_VALUE, PTR_BASE, PTR_EXTENT): Remove %token
declarations.
(reswords): Remove __ptrbase, __ptrbase__, __ptrextent,
__ptrextent__, __ptrvalue and __ptrvalue__.
(rid_to_yy): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE
entries.
From-SVN: r89158
Dale Johannesen [Sat, 16 Oct 2004 22:58:45 +0000 (22:58 +0000)]
c-common.c (c_common_get_alias_set): Use GGC for type_hash_table.
2004-10-16 Dale Johannesen <dalej@apple.com>
* c-common.c (c_common_get_alias_set): Use GGC for type_hash_table.
From-SVN: r89156
Michael Koch [Sat, 16 Oct 2004 18:32:21 +0000 (18:32 +0000)]
NIODatagramSocket.java, [...]: Reorganized import statements.
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/NIODatagramSocket.java,
gnu/java/nio/ServerSocketChannelImpl.java:
Reorganized import statements.
From-SVN: r89154
Michael Koch [Sat, 16 Oct 2004 18:27:51 +0000 (18:27 +0000)]
RMIMarshalledObjectOutputStream.java [...]: File headers and import statements cleaned up.
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/RMIMarshalledObjectOutputStream.java
gnu/java/rmi/rmic/RMIC.java,
gnu/java/rmi/server/RMIHashes.java,
gnu/java/rmi/server/RMIObjectInputStream.java,
gnu/java/rmi/server/RMIObjectOutputStream.java,
gnu/java/rmi/server/UnicastConnection.java,
gnu/java/rmi/server/UnicastConnectionManager.java,
gnu/java/rmi/server/UnicastRemoteCall.java,
gnu/java/rmi/server/UnicastServer.java,
gnu/java/rmi/server/UnicastServerRef.java,
java/rmi/MarshalledObject.java,
java/rmi/Naming.java,
java/rmi/RMISecurityManager.java,
java/rmi/Remote.java,
java/rmi/activation/Activatable.java,
java/rmi/activation/ActivationDesc.java,
java/rmi/activation/ActivationGroup.java,
java/rmi/activation/ActivationGroupDesc.java,
java/rmi/activation/ActivationGroupID.java,
java/rmi/activation/ActivationID.java,
java/rmi/activation/ActivationInstantiator.java,
java/rmi/activation/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java,
java/rmi/activation/Activator.java,
java/rmi/dgc/DGC.java,
java/rmi/dgc/Lease.java,
java/rmi/dgc/VMID.java,
java/rmi/registry/LocateRegistry.java,
java/rmi/registry/Registry.java,
java/rmi/registry/RegistryHandler.java,
java/rmi/server/LoaderHandler.java,
java/rmi/server/LogStream.java,
java/rmi/server/ObjID.java,
java/rmi/server/Operation.java,
java/rmi/server/RMIClassLoader.java,
java/rmi/server/RMIClassLoaderSpi.java,
java/rmi/server/RMIClientSocketFactory.java,
java/rmi/server/RMIFailureHandler.java,
java/rmi/server/RMIServerSocketFactory.java,
java/rmi/server/RMISocketFactory.java,
java/rmi/server/RemoteCall.java,
java/rmi/server/RemoteObject.java,
java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteServer.java,
java/rmi/server/RemoteStub.java,
java/rmi/server/ServerRef.java,
java/rmi/server/Skeleton.java,
java/rmi/server/SkeletonMismatchException.java,
java/rmi/server/UID.java,
java/rmi/server/UnicastRemoteObject.java,
java/rmi/server/Unreferenced.java:
File headers and import statements cleaned up.
From-SVN: r89153
Hans-Peter Nilsson [Sat, 16 Oct 2004 18:27:32 +0000 (18:27 +0000)]
expr.c (expr_add_location): Move declaration to before all statements.
* expr.c (expr_add_location): Move declaration to before all
statements.
* parse.y (java_expand_classes): Ditto.
* lex.c (java_peek_unicode): Ditto.
From-SVN: r89152
Michael Koch [Sat, 16 Oct 2004 18:06:03 +0000 (18:06 +0000)]
UTF_16.java, [...]: Cleanup.
2004-10-16 Michael Koch <konqueror@gmx.de>
* libjava/gnu/java/nio/charset/UTF_16.java,
libjava/gnu/java/nio/charset/UTF_16BE.java,
libjava/gnu/java/nio/charset/UTF_16LE.java,
libjava/java/nio/ByteOrder.java,
libjava/java/nio/MappedByteBuffer.java,
libjava/java/nio/channels/Channels.java,
libjava/java/nio/channels/spi/SelectorProvider.java,
libjava/java/nio/charset/Charset.java:
Cleanup.
From-SVN: r89151
Michael Koch [Sat, 16 Oct 2004 17:58:01 +0000 (17:58 +0000)]
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/nio/charset/UTF_16Encoder.java
(UTF_16Encoder): Fixed maxBytesPerChar handling.
From-SVN: r89150
Michael Koch [Sat, 16 Oct 2004 17:51:45 +0000 (17:51 +0000)]
BigDecimal.java, [...]: Reorganized import statements, removed redundant and reorganized modifiers.
2004-10-16 Michael Koch <konqueror@gmx.de>
* java/math/BigDecimal.java, java/math/BigInteger.java:
Reorganized import statements, removed redundant and
reorganized modifiers.
From-SVN: r89149
Michael Koch [Sat, 16 Oct 2004 17:48:57 +0000 (17:48 +0000)]
ExplicitBeanInfo.java: Explicitely import java.awt.Image.
2004-10-16 Michael Koch <konqueror@gmx.de>
* gnu/java/beans/ExplicitBeanInfo.java:
Explicitely import java.awt.Image.
(getIcon): Fixed off-by-one error.
From-SVN: r89148
Zdenek Dvorak [Sat, 16 Oct 2004 16:58:59 +0000 (18:58 +0200)]
re PR tree-optimization/17766 (cc1 hangs in with -O3, works with -O2)
PR tree-optimization/17766
* basic-block.h (enum dom_state): DOM_CONS_OK removed.
(dom_info_available_p): Declare.
* cfghooks.c (split_block, make_forwarder_block): Use
dom_info_available_p.
* dominance.c (compute_dom_fast_query, calculate_dominance_info,
free_dominance_info, verify_dominators): Ditto.
(dom_info_available_p): New function.
* tree-cfg.c (cleanup_control_expr_graph): Free dominance information.
(thread_jumps): Use dom_info_available_p.
* tree-complex.c (expand_complex_div_wide): Ditto.
* tree-mudflap.c (mf_build_check_statement_for): Ditto.
From-SVN: r89147
Zdenek Dvorak [Sat, 16 Oct 2004 16:49:53 +0000 (18:49 +0200)]
tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
* tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates.
(find_best_candidate): Take also important candidates into account.
(find_optimal_iv_set): Initialize important_candidates bitmap.
From-SVN: r89146
Zdenek Dvorak [Sat, 16 Oct 2004 16:45:38 +0000 (18:45 +0200)]
re PR tree-optimization/17560 (Infinite recursion in tree-scalar-evolution with -Os)
PR tree-optimization/17560
* predict.c (tree_estimate_probability): Mark irreducible
loops.
From-SVN: r89145
Zdenek Dvorak [Sat, 16 Oct 2004 16:42:31 +0000 (18:42 +0200)]
re PR rtl-optimization/17723 (gcc segfaults with -O2)
PR rtl-optimization/17723
* cfgcleanup.c (merge_memattrs): Handle case when
MEM_SIZE == NULL_RTX.
From-SVN: r89144
Benjamin Kosnik [Sat, 16 Oct 2004 13:48:34 +0000 (13:48 +0000)]
[multiple changes]
2004-10-16 Benjamin Kosnik <bkoz@redhat.com>
* include/tr1/array: Don't use layout_type.
2004-10-16 Sashan Govender <sashang@gmail.com>
* include/tr1/array (array::end const): Fix casting from iterator
to const_iterator.
From-SVN: r89139
Eric Botcazou [Sat, 16 Oct 2004 11:47:46 +0000 (13:47 +0200)]
* gcc.dg/bf-spl1.c: Use 'float' as the base type for FP types.
From-SVN: r89136
Giovanni Bajo [Sat, 16 Oct 2004 11:04:58 +0000 (11:04 +0000)]
re PR c++/10479 (alignof and sizeof (and other expressions) in attributes does not compile inside template classes)
PR c++/10479
* parser.c (cp_parser_parenthesized_expression_list): Fold
non-dependent expressions in attribute lists.
PR c++/10479
* g++.dg/ext/attrib16.C: New test.
From-SVN: r89135
Andrew Pinski [Sat, 16 Oct 2004 00:57:01 +0000 (00:57 +0000)]
toplev.c (dump_file_name): Change type to be const.
2004-10-15 Andrew Pinski <pinskia@physics.uc.edu>
* toplev.c (dump_file_name): Change type to be const.
From-SVN: r89131
GCC Administrator [Sat, 16 Oct 2004 00:16:22 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89127.2
GCC Administrator [Sat, 16 Oct 2004 00:16:17 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89126.2
Joseph Myers [Fri, 15 Oct 2004 21:32:03 +0000 (22:32 +0100)]
c-typeck.c (build_compound_expr, [...]): Don't try to use non_lvalue to stop something being a null pointer constant.
* c-typeck.c (build_compound_expr, build_c_cast): Don't try to use
non_lvalue to stop something being a null pointer constant.
From-SVN: r89120
Mark Mitchell [Fri, 15 Oct 2004 21:18:07 +0000 (21:18 +0000)]
re PR c++/17042 (Duplicated symbol in assembly output)
PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.
PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.
PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.
PR c++/17042
* g++.dg/init/dso_handle1.C: New test.
PR c++/17852
* g++.dg/parse/pragma1.C: New test.
PR c++/14667
* g++.dg/parse/typedef6.C: New test.
From-SVN: r89119
Mark Mitchell [Fri, 15 Oct 2004 21:11:50 +0000 (21:11 +0000)]
re PR c++/17042 (Duplicated symbol in assembly output)
PR c++/17042
* decl.c (declare_global_var): Use the return value from pushdecl.
PR c++/14667
* parser.c (cp_parser_simple_declaration): Do not diagnose invalid
type names if we have already found a valid type.
(cp_parser_member_declaration): Likewise.
PR c++/17852
* parser.c (cp_parser_member_specification_opt): Handle
CPP_PRAGMA.
PR c++/17042
* g++.dg/init/dso_handle1.C: New test.
PR c++/17852
* g++.dg/parse/pragma1.C: New test.
PR c++/14667
* g++.dg/parse/typedef6.C: New test.
From-SVN: r89118
Aldy Hernandez [Fri, 15 Oct 2004 19:25:59 +0000 (19:25 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Disable on powerpc-*-*spe.
From-SVN: r89113
Aldy Hernandez [Fri, 15 Oct 2004 18:50:55 +0000 (18:50 +0000)]
rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only available for TARGET_FPRS.
* config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only
available for TARGET_FPRS.
(FUNCTION_VALUE_REGNO_P): Same.
From-SVN: r89112
Geoffrey Keating [Fri, 15 Oct 2004 18:46:52 +0000 (18:46 +0000)]
invoke.texi (RS/6000 and PowerPC Options): Document -maltivec in same style as other ISA options.
* doc/invoke.texi (RS/6000 and PowerPC Options): Document
-maltivec in same style as other ISA options.
From-SVN: r89111
Ranjit Mathew [Fri, 15 Oct 2004 18:43:10 +0000 (18:43 +0000)]
parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter 'msg' to 'msgid' in function...
* parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and
rename parameter 'msg' to 'msgid' in function declaration.
(issue_warning_error_from_context): Likewise.
(yyerror): Rename parameter 'msg' to 'msgid'.
(all over): Use new quoting style for diagnostics.
* check-init.c: Use %<, %> and %q for quoting in diagnostics,
if possible, else convert `foo' to 'foo'.
* class.c: Likewise.
* decl.c: Likewise.
* expr.c: Likewise.
* jcf-io.c: Likewise.
* jcf-parse.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* parse.h: Likewise.
From-SVN: r89110
Steve Ellcey [Fri, 15 Oct 2004 17:22:41 +0000 (17:22 +0000)]
struct-layout-1_generate.c (switchfiles): Use -fno-common when on HPPA HP-UX platforms.
* gcc.dg/compat/struct-layout-1_generate.c (switchfiles): Use
-fno-common when on HPPA HP-UX platforms.
From-SVN: r89107
Jon Grimm [Fri, 15 Oct 2004 17:22:02 +0000 (17:22 +0000)]
host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ definition.
2004-10-15 Jon Grimm <jgrimm2@us.ibm.com>
* config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__
definition.
From-SVN: r89106
Jakub Jelinek [Fri, 15 Oct 2004 17:02:58 +0000 (17:02 +0000)]
struct-layout-1.h: Don't include complex.h nor stdint.h.
other/16820
* gcc.dg/compat/struct-layout-1.h: Don't include complex.h nor
stdint.h.
* gcc.dg/compat/struct-layout-1_x1.h (TX): Cast to long instead of
uintptr_t.
From-SVN: r89105
Andrew Haley [Fri, 15 Oct 2004 17:01:19 +0000 (17:01 +0000)]
Makefile.am (nat_files, [...]): New.
2004-10-15 Andrew Haley <aph@redhat.com>
* Makefile.am (nat_files, xlib_nat_files): New.
* Makefile.in: Regenerate.
From-SVN: r89104
Kazu Hirata [Fri, 15 Oct 2004 14:55:00 +0000 (14:55 +0000)]
boehm.c, [...]: Update copyright.
* boehm.c, builtins.c, java-except.h, jcf-io.c, jcf-path.c,
jcf.h, lang-specs.h, lex.c, lex.h, resource.c, win32-host.c:
Update copyright.
From-SVN: r89100
Kazu Hirata [Fri, 15 Oct 2004 14:49:30 +0000 (14:49 +0000)]
* dump.c, g++spec.c, repo.c: Update copyright.
From-SVN: r89098
Kazu Hirata [Fri, 15 Oct 2004 14:47:12 +0000 (14:47 +0000)]
bitmap.c, [...]: Update copyright.
* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
predict.def, predict.h, protoize.c, reload.h, resource.h,
rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
unwind-sjlj.c, value-prof.h: Update copyright.
From-SVN: r89097
Kazu Hirata [Fri, 15 Oct 2004 14:39:24 +0000 (14:39 +0000)]
* decl.c: Fix a comment typo.
From-SVN: r89095
Kazu Hirata [Fri, 15 Oct 2004 14:36:32 +0000 (14:36 +0000)]
* pointer-set.c, tree-vectorizer.c: Fix comment typos.
From-SVN: r89094
Andrew Pinski [Fri, 15 Oct 2004 14:30:21 +0000 (14:30 +0000)]
[multiple changes]
2004-10-13 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16301
* name-lookup.c (parse_using_directive): If we have a
error_mark_node, do not set the decl namespace associations
on it.
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/16301
* g++.dg/lookup/strong-using-4.C: New test.
From-SVN: r89093
Andrew Pinski [Fri, 15 Oct 2004 13:49:02 +0000 (13:49 +0000)]
re PR middle-end/16567 (Nested function and variable-sized structure ICE)
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16567
* gcc.c-torture/compile/nested-1.c: New test.
From-SVN: r89092
Paolo Carlini [Fri, 15 Oct 2004 10:54:57 +0000 (10:54 +0000)]
bitmap_allocator.h: Qualify ::operator delete.
2004-10-15 Paolo Carlini <pcarlini@suse.de>
* include/ext/bitmap_allocator.h: Qualify ::operator delete.
* src/bitmap_allocator.cc: Likewise.
* src/mt_allocator.cc: Use ::operator delete, not delete,
consistently with ::operator new.
* include/ext/bitmap_allocator.h (deallocate): Check for null
pointer.
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc: New.
* testsuite/testsuite_allocator.h (check_deallocate_null): Add test.
From-SVN: r89089
Dorit Naishlos [Fri, 15 Oct 2004 09:45:45 +0000 (09:45 +0000)]
vect-44.c: xfail on i?86-*-*...
* testsuite/gcc.dg/vect/vect-44.c: xfail on i?86-*-*, x86_64-*-*,
and mipsisa64*-*-* (until support for misaligned loads is added).
* testsuite/gcc.dg/vect/vect-50.c: Likewise.
* testsuite/gcc.dg/vect/vect-52.c: Likewise.
* testsuite/gcc.dg/vect/vect-54.c: Likewise.
* testsuite/gcc.dg/vect/vect-58.c: Likewise.
* testsuite/gcc.dg/vect/vect-60.c: Likewise.
* testsuite/gcc.dg/vect/vect-80.c: Likewise.
From-SVN: r89088
Paolo Bonzini [Fri, 15 Oct 2004 07:58:38 +0000 (07:58 +0000)]
re PR other/17991 (Two-process fixincludes broken: pz_mn_name_pat undefined)
2004-08-14 Paolo Bonzini <bonzini@gnu.org>
PR other/17991
* Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
Update copyright year.
* fixfixes.c (main): Call initialize_opts from fixopts.c.
* fixincl.c (initialize): Call initialize_opts from fixopts.c,
do not include code for parsing options (environment vars).
(fix_with_system): Use a search path for applyfix, so that you
can run the test suite with two-process fixincludes.
* fixopts.c: New file.
* configure.ac: Add --enable-twoprocess. Export ac_exeext
to config.h. Default to --enable-twoprocess for MinGW32.
* config.h.in: Regenerate.
* configure: Regenerate.
From-SVN: r89087
Diego Novillo [Fri, 15 Oct 2004 05:00:37 +0000 (05:00 +0000)]
tree-optimize.c (execute_one_pass): Stop timer right after executing the pass.
* tree-optimize.c (execute_one_pass): Stop timer right after
executing the pass.
From-SVN: r89086
Mark Mitchell [Fri, 15 Oct 2004 04:18:01 +0000 (04:18 +0000)]
re PR c++/17976 (Calls the dtor twice)
PR c++/17976
* decl.c (cp_finish_decl): Do not call expand_static_init more
than once for a single variable.
PR c++/17976
* g++.dg/init/dtor3.C: New test.
From-SVN: r89081
Andrew Pinski [Fri, 15 Oct 2004 04:15:43 +0000 (04:15 +0000)]
revert: re PR middle-end/17967 (Expand is considered slower? (remove_useless_stmts is considered part of expand))
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
Revert:
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/17967
Revert:
* tree-cfg.c (remove_usless_stmts_cond): Fold statement.
(remove_useless_stmts_1): Fold trees we know how to fold.
From-SVN: r89080
David Edelsohn [Fri, 15 Oct 2004 02:26:15 +0000 (02:26 +0000)]
configure.ac: Add .machine power4 directive when testing for mfcr field.
* configure.ac: Add .machine power4 directive when testing for
mfcr field.
* configure: Regenerate.
From-SVN: r89076
Geoffrey Keating [Fri, 15 Oct 2004 01:28:31 +0000 (01:28 +0000)]
* config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define.
From-SVN: r89075
Andrew Pinski [Fri, 15 Oct 2004 00:35:21 +0000 (00:35 +0000)]
tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor always.
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
* tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor
always.
From-SVN: r89074
GCC Administrator [Fri, 15 Oct 2004 00:16:48 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89072.2
GCC Administrator [Fri, 15 Oct 2004 00:16:44 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89071.2
Ben Elliston [Fri, 15 Oct 2004 00:04:54 +0000 (00:04 +0000)]
* gcc.dg/ppc-stackalign-1.c: Set dg-options to {}.
From-SVN: r89068
Daniel Jacobowitz [Thu, 14 Oct 2004 23:47:14 +0000 (23:47 +0000)]
rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS for 'f' if !TARGET_FPRS.
* config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS
for 'f' if !TARGET_FPRS.
From-SVN: r89067
Richard Henderson [Thu, 14 Oct 2004 23:30:18 +0000 (16:30 -0700)]
re PR debug/14492 (loc_descriptor_from_tree, in dwarf2out.c:9031)
PR debug/14492
* dwarf2out.c (loc_descriptor_from_tree): Handle FIX_*_EXPR.
From-SVN: r89066
Richard Henderson [Thu, 14 Oct 2004 23:20:58 +0000 (16:20 -0700)]
re PR c/17023 (ICE with nested functions in parameter declaration)
PR c/17023
* c-decl.c (store_parm_decls_oldstyle): Care for parameter type
as error_mark_node.
* c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null
instaed of current_function_decl non-null.
From-SVN: r89063
Matt Austern [Thu, 14 Oct 2004 23:15:29 +0000 (23:15 +0000)]
Speed up walk_tree by introducing a special-purpose hash table.
* pointer-set.c: New file, special-purpose hash table.
* pointer-set.h: New file.
* tree.h (struct pointer_set_t): Declare as opaque type.
(tree_walk): Last argument is pointer_set_t* now.
* tree-inline.c (WALK_SUBTREE): Convert from htab to pset.
(walk_type_fields):
(walk_tree): Convert from htab_t to pointer_set_t for keeping
track of which nodes have already been visited.
(walk_tree_without_duplicates): Convert from htab_t to pointer_set_t.
* cgraphunit.c (cgraph_create_edges): Likewise.
(cgraph_characterize_statics_local): Likewise.
* tree-dfa.c (collect_dfa_stats): Likewise.
* langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is
pointer_set_t* now.
* langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise.
* langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type
of walk_subtrees is pointer_set_t* now.
* Makefile.in (OBJS-common): add pointer-set.o
(tree-inline.o): Depends on pointer-set.h
(tree-dfa.o): Likewise
(cgraphunit.o): Likewise
* cp/Make-lang.in (pt.o): depends on pointer-set.h
* cp/cp-tree.h (cp_walk_subtrees): Last argument is pointer_set_t* now.
* cp/pt.c (struct pair_fn_data): Use pointer_set_t, not htab_t
(for_each_template_parm): Convert from htab_t to pointer_set_t.
* cp/tree.c (cp_walk_subtrees): Last argument is pointer_set_t* now.
* java/lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
pointer_set_t* now.
From-SVN: r89062
Benjamin Kosnik [Thu, 14 Oct 2004 23:03:26 +0000 (23:03 +0000)]
mt_allocator.h (__mt_alloc::deallocate): Check for null pointer.
2004-10-14 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/mt_allocator.h (__mt_alloc::deallocate): Check for
null pointer.
* include/ext/pool_allocator.h (debug_allocator::deallocate):
Check pointer value.
* include/ext/debug_allocator.h (debug_allocator::deallocate):
Throw exceptions, don't abort.
* include/ext/array_allocator.h
(array_allocator_base::deallocate): Remove unused parameters.
* testsuite/testsuite_allocator.h (check_deallocate_null): New.
* testsuite/ext/mt_allocator/check_deallocate_null.cc: New.
* testsuite/ext/mt_allocator/check_deallocate_null_thread.cc: New.
* testsuite/ext/array_allocator/check_deallocate_null.cc: New.
* testsuite/ext/debug_allocator/check_deallocate_null.cc: New.
* testsuite/ext/malloc_allocator/check_deallocate_null.cc: New.
* testsuite/ext/new_allocator/check_deallocate_null.cc: New.
* testsuite/ext/pool_allocator/check_deallocate_null.cc: New.
* testsuite/testsuite_allocator.h (check_new): Add instance argument.
* testsuite/ext/array_allocator/check_new.cc: New.
From-SVN: r89060
Geoffrey Keating [Thu, 14 Oct 2004 22:30:47 +0000 (22:30 +0000)]
darwin.h (ASM_SPEC): Delete.
2004-10-14 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin.h (ASM_SPEC): Delete.
(TARGET_ASM_FILE_START): Define.
* config/darwin.h (ASM_SPEC): Define.
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply
-mlong-double-128, it's the default. Update comment about reason
for force_cpusubtype_ALL.
* config/rs6000/darwin-vecsave.asm: Supply .machine.
* config/rs6000/darwin-world.asm: Likewise.
* config/rs6000/rs6000.c (rs6000_darwin_file_start): New.
(symbolic_operand): Delete #if 0ed code.
Index: testsuite/ChangeLog
2004-10-14 Geoffrey Keating <geoffk@apple.com>
* gcc.dg/darwin-misaligned.c: Don't supply -force_cpusubtype_ALL.
* gcc.dg/macho-lo-sum.c: Likewise.
From-SVN: r89059
Andrew Pinski [Thu, 14 Oct 2004 22:01:45 +0000 (22:01 +0000)]
stmt.c (add_case_node): Make sure that we have integer constant before calling tree_int_cst_compare.
2004-10-14 Andrew Pinski <pinskia@physics.uc.edu>
* stmt.c (add_case_node): Make sure that we have integer
constant before calling tree_int_cst_compare.
From-SVN: r89058