R. Kelley Cook [Tue, 19 Oct 2004 22:00:48 +0000 (22:00 +0000)]
CRLF fixup
From-SVN: r89297
Eric Botcazou [Tue, 19 Oct 2004 20:57:30 +0000 (22:57 +0200)]
* gcc.dg/smod-1.c: Pass -mtune=i486 only on x86.
From-SVN: r89289
Andrew Pinski [Tue, 19 Oct 2004 20:52:22 +0000 (20:52 +0000)]
tree-cfg.c (group_case_labels): Look at the second to last case statement for combing with the default case.
2004-10-19 Andrew Pinski <pinskia@physics.uc.edu>
* tree-cfg.c (group_case_labels): Look at the second to last
case statement for combing with the default case.
From-SVN: r89288
Richard Henderson [Tue, 19 Oct 2004 19:21:41 +0000 (12:21 -0700)]
Testcase for PR 17962.
From-SVN: r89285
Richard Henderson [Tue, 19 Oct 2004 19:15:31 +0000 (12:15 -0700)]
re PR target/17962 (small fp vector uses sse/mmx vectors and is not aligned)
PR 17962
* stor-layout.c (layout_type): Set TYPE_ALIGN for vectors.
From-SVN: r89284
Ulrich Weigand [Tue, 19 Oct 2004 17:47:54 +0000 (17:47 +0000)]
gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.
* include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
Add prototype.
From-SVN: r89283
Richard Henderson [Tue, 19 Oct 2004 17:43:31 +0000 (10:43 -0700)]
builtins.c (expand_builtin_memmove): If fold_builtin_memmove succeeds, only expand the result.
* builtins.c (expand_builtin_memmove): If fold_builtin_memmove
succeeds, only expand the result.
From-SVN: r89282
Richard Henderson [Tue, 19 Oct 2004 17:24:46 +0000 (10:24 -0700)]
re PR middle-end/17885 (gimplifing of volatile &a->)
PR middle-end/17885
* tree.c (recompute_tree_invarant_for_addr_expr): Always poll address
of INDIRECT_REF.
From-SVN: r89280
Kazu Hirata [Tue, 19 Oct 2004 15:38:25 +0000 (15:38 +0000)]
tree-cfg.c (thread_jumps): Use a do-while loop instead of a loop with goto.
* tree-cfg.c (thread_jumps): Use a do-while loop instead of a
loop with goto.
From-SVN: r89276
Kazu Hirata [Tue, 19 Oct 2004 14:43:56 +0000 (14:43 +0000)]
expr.c (expand_assignment): Remove the last argument.
* expr.c (expand_assignment): Remove the last argument.
Change the return type to void.
* expr.h: Update the prototype of expand_assignment.
* function.c (assign_parm_setup_reg): Update a call to
expand_assignment.
* stmt.c (expand_asm_expr): Likewise.
From-SVN: r89275
Kazu Hirata [Tue, 19 Oct 2004 13:13:35 +0000 (13:13 +0000)]
MAINTAINERS: Remove from Write After Approval those that are already maintainers.
* MAINTAINERS: Remove from Write After Approval those that are
already maintainers.
From-SVN: r89274
Kazu Hirata [Tue, 19 Oct 2004 12:51:05 +0000 (12:51 +0000)]
expr.c (expand_expr_real_1): Remove unnecessary assignments to temp.
* expr.c (expand_expr_real_1) <MODIFY_EXPR>: Remove
unnecessary assignments to temp. Return const0_rtx.
From-SVN: r89273
Paolo Bonzini [Tue, 19 Oct 2004 12:40:31 +0000 (12:40 +0000)]
re PR c++/18047 (Wrong precedence between equality (==, !=) and < operators)
2004-10-19 Paolo Bonzini <bonzini@gnu.org>
PR c++/18047
* parser.c (enum cp_parser_prec): Give relational expressions
a higher precedence than equality expressions.
2004-10-19 Paolo Bonzini <bonzini@gnu.org>
PR c++/18047
* g++.dg/parse/expr3.C: New test.
From-SVN: r89272
Kaz Kojima [Tue, 19 Oct 2004 11:05:34 +0000 (11:05 +0000)]
* config/sh/sh.c (sh5_schedule_saves): Fix typo.
From-SVN: r89271
Sebastian Pop [Tue, 19 Oct 2004 09:27:04 +0000 (11:27 +0200)]
* MAINTAINERS: Update my email address.
From-SVN: r89270
Paolo Carlini [Tue, 19 Oct 2004 08:56:32 +0000 (08:56 +0000)]
list_sort_search.cc: Include <ext/new_allocator.h>.
2004-10-19 Paolo Carlini <pcarlini@suse.de>
* testsuite/performance/20_util/allocator/list_sort_search.cc:
Include <ext/new_allocator.h>.
* testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
From-SVN: r89269
Kelley Cook [Tue, 19 Oct 2004 00:21:03 +0000 (00:21 +0000)]
configure.ac (powerpc-*-darwin*): Require assembler to support .machine directive.
2004-10-18 Kelley Cook <kcook@gcc.gnu.org>
* configure.ac (powerpc-*-darwin*): Require assembler to support
.machine directive.
* configure: Regenerate.
From-SVN: r89264
GCC Administrator [Tue, 19 Oct 2004 00:16:15 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89262.2
GCC Administrator [Tue, 19 Oct 2004 00:16:11 +0000 (00:16 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r89261.2
Kazu Hirata [Mon, 18 Oct 2004 23:56:18 +0000 (23:56 +0000)]
sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited word to right.
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting
the currently visited word to right.
From-SVN: r89259
Kazu Hirata [Mon, 18 Oct 2004 23:54:36 +0000 (23:54 +0000)]
reload1.c (ior_hard_reg_set): Remove.
* reload1.c (ior_hard_reg_set): Remove.
(finish_spills): Use IOR_HARD_REG_SET instead of
ior_hard_reg_set.
From-SVN: r89258
Kazu Hirata [Mon, 18 Oct 2004 23:51:07 +0000 (23:51 +0000)]
sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting the currently visited word to right.
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting
the currently visited word to right.
From-SVN: r89257
Kaz Kojima [Mon, 18 Oct 2004 23:12:20 +0000 (23:12 +0000)]
ffi.c (ffi_prep_closure): Set T bit in trampoline for the function returning a structure pointed with R2.
* src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for
the function returning a structure pointed with R2.
* src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to
the structure return value if T bit set. Emit position
independent code and EH data if PIC.
From-SVN: r89254
Eric Botcazou [Mon, 18 Oct 2004 22:45:01 +0000 (00:45 +0200)]
re PR middle-end/18045 (signed integer remainder for power of 2 broken)
PR middle-end/18045
* expmed.c (expand_smod_pow2): Handle modes whose size
is greater than that of HOST_WIDE_INT.
From-SVN: r89253
Ziemowit Laski [Mon, 18 Oct 2004 22:28:09 +0000 (22:28 +0000)]
c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative.
[gcc/ChangeLog]
2004-10-18 Ziemowit Laski <zlaski@apple.com>
* c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative.
[gcc/testsuite/ChangeLog]
2004-10-18 Ziemowit Laski <zlaski@apple.com>
* objc.dg/method-14.m: New test.
From-SVN: r89252
Eric Botcazou [Mon, 18 Oct 2004 22:06:36 +0000 (00:06 +0200)]
re PR middle-end/17813 (ada bootstrap failure on i486-linux)
PR middle-end/17813
* dojump.c (discard_pending_stack_adjust): New function.
(clear_pending_stack_adjust): Call it.
* expr.h (discard_pending_stack_adjust): Declare it.
* explow.c (emit_stack_save): Emit pending stack adjustments
before saving the stack pointer.
(emit_stack_restore): Discard pending stack adjustments before
restoring the stack pointer.
Co-Authored-By: Roger Sayle <roger@eyesopen.com>
From-SVN: r89251
Andrew Pinski [Mon, 18 Oct 2004 22:03:15 +0000 (22:03 +0000)]
pr17529.c: Fix test for non x86.
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu>
* gcc.c-torture/compile/pr17529.c: Fix test for non x86.
Also xfail as the patch was reverted.
From-SVN: r89249
Richard Henderson [Mon, 18 Oct 2004 22:01:51 +0000 (15:01 -0700)]
c-common.c (handle_mode_attribute): Allow scalar->vector type changes yet.
* c-common.c (handle_mode_attribute): Allow scalar->vector
type changes yet.
From-SVN: r89248
Andrew Pinski [Mon, 18 Oct 2004 21:54:11 +0000 (14:54 -0700)]
Fix typo.
From-SVN: r89247
Matthias Klose [Mon, 18 Oct 2004 21:47:21 +0000 (21:47 +0000)]
* gnatvsn.ads: Set gnat library version to 4.0.
From-SVN: r89246
Kazu Hirata [Mon, 18 Oct 2004 21:18:23 +0000 (21:18 +0000)]
expr.c (expand_expr_real_1): Don't request a value to expand_assignment.
* expr.c (expand_expr_real_1) [MODIFY_EXPR]: Don't request a
value to expand_assignment.
From-SVN: r89245
Kazu Hirata [Mon, 18 Oct 2004 21:16:53 +0000 (21:16 +0000)]
tree-cfg.c (cleanup_tree_cfg): Don't iterate on thread_jumps.
* tree-cfg.c (cleanup_tree_cfg): Don't iterate on
thread_jumps.
(thread_jumps): Iterate until no new forwarder block arises.
From-SVN: r89244
Kazu Hirata [Mon, 18 Oct 2004 21:14:34 +0000 (21:14 +0000)]
tree-cfg.c (tree_forwarder_block_p): Don't set forwardable.
* tree-cfg.c (tree_forwarder_block_p): Don't set forwardable.
(thread_jumps): Use forwardable as cache of
tree_forwarder_block_p throughout the function.
From-SVN: r89243
Andreas Krebbel [Mon, 18 Oct 2004 19:58:01 +0000 (19:58 +0000)]
cfg.c (dump_flow_info): Remove redundant dump of reg life info.
2004-10-18 Andreas Krebbel <krebbel1@de.ibm.com>
* cfg.c (dump_flow_info): Remove redundant dump of reg life info.
From-SVN: r89240
Andrew Pinski [Mon, 18 Oct 2004 19:38:47 +0000 (19:38 +0000)]
re PR middle-end/16973 (Differences between addresses of labels broken)
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/16973
* gcc.dg/pr16973.c: New test.
From-SVN: r89238
Andrew Pinski [Mon, 18 Oct 2004 19:29:52 +0000 (19:29 +0000)]
re PR middle-end/15014 (labels after are removed even though they are used)
2004-10-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/15014
PR middle-end/16973
* tree-cfg.c (remove_bb): If we have a label expression in the
basic block and the label we have taken the address, move the
label expression to the basic block which is previous in the
linked list.
(tree_verify_flow_info): Fix printing out the label name of the
problematic label expression.
From-SVN: r89237
David Edelsohn [Mon, 18 Oct 2004 18:47:38 +0000 (14:47 -0400)]
Note PR rtl-optimization/18002.
From-SVN: r89236
Pat Haugen [Mon, 18 Oct 2004 18:46:06 +0000 (18:46 +0000)]
simplify-rtx.c (mode_signbit_p): Externalize function...
2004-10-18 Pat Haugen <pthaugen@us.ibm.com>
* simplify-rtx.c (mode_signbit_p): Externalize function...
* rtl.h (mode_signbit_p): ... to here.
* combine.c (simplify_shift_const): Recognize PLUS signbit as
canonical form of XOR signbit and move to outer op.
From-SVN: r89235
Diego Novillo [Mon, 18 Oct 2004 18:01:10 +0000 (18:01 +0000)]
tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi.
* tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi.
Update all callers.
* tree-ssa.c (replace_immediate_uses): Call bsi_for_stmt.
Don't call fold_stmt more than once, use bsi_replace.
From-SVN: r89234
Diego Novillo [Mon, 18 Oct 2004 17:39:47 +0000 (17:39 +0000)]
re PR tree-optimization/17656 (internal compiler error: in replace_immediate_uses, at tree-ssa.c:1041)
PR tree-optimization/17656
* tree-ssa.c (replace_immediate_uses): When replacing a
constant, if the call to fold_stmt produced a different
statement, get an appropriate statement pointer by scanning
STMT's basic block.
PR tree-optimization/17656
* testsuite/gcc.c-torture/compile/pr17656.c: New test.
From-SVN: r89233
Nathan Sidwell [Mon, 18 Oct 2004 17:21:36 +0000 (17:21 +0000)]
cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call.
cp:
* cp-tree.h (UNIQUELY_DERIVED_FROM_P): Adjust lookup_base call.
(ACCESSIBLY_UNIQUELY_DERIVED_P): Remove.
(PUBLICLY_UNIQUELY_DERIVED_P): Adjust lookup_base call.
(enum base_access): Reorganize.
(accessible_base_p, accessible_p): Add consider_local_p parameter.
* call.c (standard_conversion): Update comment about
DERIVED_FROM_P.
(enforce_access): Adjust accessible_p call.
(build_over_call): Adjust accessible_base_p call.
* class.c (convert_to_base): Adjust lookup_base call.
(build_vtbl_ref_1): Likewise.
(warn_about_ambiguous_bases): Likewise. Add early exit.
* cvt.c (convert_to_pointer_force) Adjust lookup_base call.
* search.c (accessible_base_p): Add consider_local_p parameter.
(lookup_base): Pass consider_local_p to accessible_base_p call.
(friend_accessible_p): Check whether scope is a class member.
Remove unnecessary class template check.
(accessible_p): Add consider_local_p parameter. Use it.
(adjust_result_of_qualified_name_lookup): Adjust lookup_base call.
* tree.c (maybe_dummy_object): Likewise.
* typeck.c (comp_except_type): Use PUBLICLY_UNIQUELY_DERIVED_P.
(build_class_member_access_expr): Adjust lookup_base call.
* typeck2.c (binfo_or_else): Likewise.
* rtti.c (build_dynamic_cast_1): Access can consider friendship
and current scope.
testsuite:
* g++.dg/eh/shadow1.C: New.
From-SVN: r89232
Richard Henderson [Mon, 18 Oct 2004 16:44:50 +0000 (09:44 -0700)]
* pointer-set.c (hash1): Don't use libm functions in fallback case.
From-SVN: r89231
H.J. Lu [Mon, 18 Oct 2004 16:06:10 +0000 (09:06 -0700)]
Correct date.
From-SVN: r89229
H.J. Lu [Mon, 18 Oct 2004 15:52:51 +0000 (15:52 +0000)]
re PR bootstrap/17684 (/usr/ccs/bin/ld: Can't create libgcc_s.sl)
2004-11-18 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/17684
* Makefile.in (clean): Remove libgcc_s$(SHLIB_EXT).1.stage?.
(stage1-start): Remove and copy libunwind.a and
libunwind*$(SHLIB_EXT) instead of libunwind*.
(stage2-start): Likewise.
(stage3-start): Likewise.
(stage4-start): Likewise.
(stageprofile-start): Likewise.
(stagefeedback-start): Likewise.
* config/alpha/t-osf4 (SHLIB_LINK): Use a temporary file for
the shared library to be created and don't remove the existing
shared library.
* config/arm/t-netbsd (SHLIB_LINK): Likewise.
* config/i386/t-nwld (SHLIB_LINK): Likewise.
* config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise.
* config/pa/t-hpux-shlib (SHLIB_LINK): Likewise.
* config/sh/t-linux (SHLIB_LINK): Likewise.
* config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise.
* config/t-slibgcc-darwin (SHLIB_LINK): Likewise.
* config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise.
* config/t-slibgcc-sld (SHLIB_LINK): Likewise.
* mklibgcc.in (libgcc-stage-start): Also move "*${objext}s"
files.
From-SVN: r89227
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