Richard Henderson [Sun, 30 Jul 2000 23:54:59 +0000 (16:54 -0700)]
c90-digraph-1.c: Don't xfail.
* gcc.dg/c90-digraph-1.c: Don't xfail.
* gcc.dg/compare2.c (case 10): Xfail.
* gcc.dg/noncompile/redecl-1.c: Fix expected error message.
From-SVN: r35357
Richard Henderson [Sun, 30 Jul 2000 23:38:26 +0000 (16:38 -0700)]
genattrtab.c (struct insn_def): Add lineno member.
* genattrtab.c (struct insn_def): Add lineno member.
(struct insn_ent): Likewise.
(struct attr_desc): Likewise.
(struct delay_desc): Likewise.
(struct function_unit_op): Likewise.
(struct function_unit): Likewise.
(check_attr_value): Use message_with_line.
(check_defs): Likewise.
(expand_units): Likewise.
(check_attr_test): Take a lineno argument.
(gen_attr): Likewise.
(gen_insn): Likewise.
(gen_delay): Likewise.
(gen_unit): Likewise.
(main): Give it to them.
(convert_set_attr_alternative): Take an insn_def argument
instead of num_alt and insn_index.
(convert_set_attr): Likewise.
(write_test_expr): Protect INSN_ADDRESSES load
with INSN_ADDRESSES_SET_P.
From-SVN: r35356
Alex Samuel [Sun, 30 Jul 2000 23:37:04 +0000 (23:37 +0000)]
mangle.c (DECL_TEMPLATE_ID_P): Remove.
* mangle.c (DECL_TEMPLATE_ID_P): Remove.
(CLASSTYEP_TEMPLATE_ID_P): Check template info, and context when
ascertaining primaryness.
(G): Remove template_args.
(decl_is_template_id): New function.
(write_encoding): Use decl_is_template_id.
(write_name): Likewise. Handle type_decls. Get main variant of
type decls.
(write_nested_name): Likewise.
(write_prefix): Likewise.
(write_template_prefix): Likewise.
(write_special_name_constructor): Remove defunct production from
comment.
(write_bare_function_type): Remove comment about absent parameter.
(write_template_template_arg): Add missing grammar production to
comment.
From-SVN: r35355
Tom Tromey [Sun, 30 Jul 2000 23:19:57 +0000 (23:19 +0000)]
Container.java (remove(int)): Wrote.
* java/awt/Container.java (remove(int)): Wrote.
(remove(Component)): Wrote.
(add(Component)): Wrote.
(add(Component,int)): Wrote.
(removeAll): Wrote.
(addNotify): Set our own peer.
* java/awt/Scrollbar.java (listeners): Changed type.
(Scrollbar): Don't initialize listeners.
(addNotify): Wrote.
(setValue): Call setValues.
(setMinimum): Likewise.
(setMaxPriority): Likewise.
(setVisibleAmount): Likewise.
(setValues): Wrote.
(setUnitIncrement): Forward to peer.
(setLineIncrement): Call setUnitIncrement.
(setPageIncrement): Call setBlockIncrement.
(setBlockIncrement): Forward to peer.
(addAdjustmentListener): Rewrote.
(removeAdjustmentListener): Rewrote.
(processAdjustmentEvent): Rewrote.
(paramString): Wrote.
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Button.java.
* java/awt/Button.java: New file.
* java/awt/Toolkit.java (createLabel): Declare.
(createButton): Likewise.
(createScrollbar): Likewise.
(createContainer): Likewise.
* java/awt/Label.java (addNotify): Wrote.
(setAlignment): Call setAlignment in the peer.
(setText): Call setText in the peer.
From-SVN: r35354
Richard Henderson [Sun, 30 Jul 2000 23:05:52 +0000 (16:05 -0700)]
* flow.c (init_propagate_block_info): Use pc_set.
From-SVN: r35353
Anthony Green [Sun, 30 Jul 2000 21:50:24 +0000 (21:50 +0000)]
Test case for gcj/295.
From-SVN: r35352
Jan Hubicka [Sun, 30 Jul 2000 18:59:56 +0000 (18:59 +0000)]
* i386.md (*lea_general_[123]) New insns and splits.
(addsi3 to lea splitter): Handle other modes too.
(shlsi3 to lea splitter): Likewise.
(addhi_1_lea, shlhi_1_lea): New patterns.
(addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
From-SVN: r35351
Jan Hubicka [Sun, 30 Jul 2000 18:53:33 +0000 (18:53 +0000)]
recog.c (general_operand, [...]): Accept any mode for VOIDmode CONSTANT_P operands.
* recog.c (general_operand, nonimmediate_operand): Accept
any mode for VOIDmode CONSTANT_P operands.
From-SVN: r35350
Jan Hubicka [Sun, 30 Jul 2000 18:44:13 +0000 (18:44 +0000)]
gcse.c (try_replace_reg): Use validate_replace_rtx_subexp instead of replace_rtx.
* gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
instead of replace_rtx.
* recog.c (validate_replace_rtx_subexp): New function.
* recog.h (validate_replace_rtx_subexp): Declare.
From-SVN: r35349
Jan Hubicka [Sun, 30 Jul 2000 18:40:12 +0000 (18:40 +0000)]
combine.c (simplify_set, [...]): Use full mask instead of GET_MODE_MASK (mode) as force_to_mode argument.
* combine.c (simplify_set, make_extraction, make_compound_operation
make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
as force_to_mode argument.
From-SVN: r35348
Jan Hubicka [Sun, 30 Jul 2000 18:35:53 +0000 (18:35 +0000)]
* combine.c (if_then_else_cond): Be sure that mode fits in HOST_WIDE_INT
From-SVN: r35347
Jan Hubicka [Sun, 30 Jul 2000 18:30:05 +0000 (18:30 +0000)]
combine.c (record_promoted_value): Allow bitsize of mode to be equivalent to HOST_BITS_PER_WISE_INT.
* combine.c (record_promoted_value): Allow bitsize of mode
to be equivalent to HOST_BITS_PER_WISE_INT.
From-SVN: r35346
Jan Hubicka [Sun, 30 Jul 2000 18:26:46 +0000 (18:26 +0000)]
function.c (assign_stack_local_1, [...]): Do not call gen_mode_alignment when mode is BLKmode.
* function.c (assign_stack_local_1, assign_stack_temp_for_type):
Do not call gen_mode_alignment when mode is BLKmode.
From-SVN: r35345
Jan Hubicka [Sun, 30 Jul 2000 18:23:54 +0000 (18:23 +0000)]
* loop.c (express_from_1): Fix call of simplify_gen_binary.
From-SVN: r35344
Jan Hubicka [Sun, 30 Jul 2000 18:13:10 +0000 (18:13 +0000)]
simplify-rtx.c (simplify_relational_operation): Verify that mode == VOIDmode implies both operands to be VOIDmode.
* simplify-rtx.c (simplify_relational_operation): Verify that mode ==
VOIDmode implies both operands to be VOIDmode.
(simplify_ternary_operation): Compute properly the mode of comparison.
* combine.c (combine_simplify_rtx): Likewise.
From-SVN: r35343
Michael Hayes [Sun, 30 Jul 2000 10:35:03 +0000 (10:35 +0000)]
basic-block.h (struct loops): New field rc_order.
* basic-block.h (struct loops): New field rc_order.
* flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
(flow_loops_free): Free rc_order.
(flow_depth_first_order_compute): New parameter rc_order.
(flow_loops_find): Allocate rc_order and swap usage with
dfs_order.
From-SVN: r35342
Herman A.J. ten Brugge [Sun, 30 Jul 2000 09:12:46 +0000 (11:12 +0200)]
c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
* config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
(push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
(nodb_call, return_from_epilogue): Likewise.
(return_from_interrupt_epilogue, prologue, epilogue): Likewise.
* config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
* config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
(c4x_expand_prologue, c4x_expand_epilogue): Likewise.
(c4x_valid_type_attribute_p): Likewise.
* config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
(FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
Co-Authored-By: Michael Hayes <m.hayes@elec.canterbury.ac.nz>
From-SVN: r35341
Michael Hayes [Sun, 30 Jul 2000 08:42:57 +0000 (08:42 +0000)]
c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant and loadhi_big_constant if applicable.
* config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
and loadhi_big_constant if applicable.
* config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
and add new splitter.s
From-SVN: r35339
Michael Hayes [Sun, 30 Jul 2000 08:29:01 +0000 (08:29 +0000)]
* config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
From-SVN: r35338
Michael Hayes [Sun, 30 Jul 2000 08:25:57 +0000 (08:25 +0000)]
* config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
From-SVN: r35337
Michael Hayes [Sun, 30 Jul 2000 08:21:43 +0000 (08:21 +0000)]
* config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
From-SVN: r35336
Michael Hayes [Sun, 30 Jul 2000 08:12:12 +0000 (08:12 +0000)]
* config/c4x/libgcc.S: (divqf3): Improve accuracy.
From-SVN: r35335
Jeff Law [Sun, 30 Jul 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35334
Ovidiu Predescu [Sun, 30 Jul 2000 05:45:10 +0000 (05:45 +0000)]
Added to test Objective-C strings.
From-SVN: r35333
Alexandre Oliva [Sun, 30 Jul 2000 05:35:14 +0000 (05:35 +0000)]
configure.in (CC_FOR_TARGET, [...]): Do not override if already set in the environment or in configure.
* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
Do not override if already set in the environment or in configure.
Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.
From-SVN: r35332
Mark Mitchell [Sat, 29 Jul 2000 19:45:41 +0000 (19:45 +0000)]
Revert previous checkin.
From-SVN: r35331
Mark Mitchell [Sat, 29 Jul 2000 19:33:55 +0000 (19:33 +0000)]
Makefile.in: Generate objc parser along with the C parser.
* Makefile.in: Generate objc parser along with the C parser.
* objc/Make-lang.in: Remove generation of objc parser.
From-SVN: r35330
Nicola Pero [Sat, 29 Jul 2000 19:19:43 +0000 (19:19 +0000)]
Added libtool support for building libobjc.
From-SVN: r35329
Andreas Jaeger [Sat, 29 Jul 2000 10:36:20 +0000 (12:36 +0200)]
configure.in (mips*-*-linux*): Use mips*el to check for little endian MIPS, add tmake_file.
* configure.in (mips*-*-linux*): Use mips*el to check for little
endian MIPS, add tmake_file.
* config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
(SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
From-SVN: r35328
Jeff Law [Sat, 29 Jul 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35327
Ovidiu Predescu [Sat, 29 Jul 2000 07:11:04 +0000 (07:11 +0000)]
Removed the explicit prototypes for strlen and memcpy on 64-bit
platforms (Suggested by Rodney Brown <rdb@cup.hp.com>).
From-SVN: r35326
Warren Levy [Fri, 28 Jul 2000 23:48:19 +0000 (23:48 +0000)]
ObjectOutputStream.java (writeObject): Per spec, call NotSerializableException with just the class name.
* java/io/ObjectOutputStream.java (writeObject): Per spec, call
NotSerializableException with just the class name.
From-SVN: r35325
Richard Henderson [Fri, 28 Jul 2000 19:46:18 +0000 (12:46 -0700)]
ia64.c (ia64_print_operand): Fix typos.
* config/ia64/ia64.c (ia64_print_operand): Fix typos.
Sign extend mode size before negating.
From-SVN: r35324
Alexandre Oliva [Fri, 28 Jul 2000 18:04:21 +0000 (18:04 +0000)]
libtool.m4, [...]: New files from the libtool CVS tree multi-language branch.
2000-07-28 Alexandre Oliva <aoliva@redhat.com>
* libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: New files from
the libtool CVS tree multi-language branch.
* ltconfig, ltmain.sh: Updated.
From-SVN: r35323
Alexandre Oliva [Fri, 28 Jul 2000 17:56:27 +0000 (17:56 +0000)]
acinclude.m4: Include ../libtool.m4.
2000-07-28 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4: Include ../libtool.m4.
* aclocal.m4, configure: Rebuilt.
From-SVN: r35322
Richard Henderson [Fri, 28 Jul 2000 17:46:18 +0000 (10:46 -0700)]
cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
* cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
(cse_insn): Likewise.
(addr_affects_sp_p): Likewise.
* expr.c (move_by_pieces): Likewise.
(clear_by_pieces): Likewise.
* gcse.c (oprs_unchanged_p): Likewise.
* haifa-sched.c (sched_analyze_2): Likewise.
* recog.c (offsettable_address_p): Likewise.
* regclass.c (record_address_regs): Likewise.
* reload.c (find_reusable_reload): Likewise.
(push_reload): Likewise.
(operands_match_p): Likewise.
(decompose): Likewise.
(find_reloads_address_1): Likewise.
(find_inc_amount): Likewise.
* reload1.c (elimination_effects): Likewise.
* resource.c (mark_set_resources): Likewise.
* flow.c (attempt_auto_inc): New function; mostly broken out
of find_auto_inc.
(find_auto_inc): Split into two functions and enhanced to
generate POST_MODIFY.
* rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
* rtl.h (count_all_occurrences): Declare.
(HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
defined.
* rtlanal.c (count_all_occurrences): New function.
* tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
* config/ia64/ia64-protos.h (destination_operand): Declare.
* config/ia64/ia64.c (destination_operand): New function.
(ia64_print_operand): Handle POST_MODIFY.
(rtx_needs_barrier): Likewise.
* config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
(HAVE_POST_MODIFY_REG): Define to 1.
(MAX_REGS_PER_ADDRESS): Change to 2.
(GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
(LEGITIMATE_ADDRESS_REG): New helper macro.
(LEGITIMATE_ADDRESS_DISP): Likewise.
(PREDICATE_CODES): Add entry for destination_operand.
* config/ia64/ia64.md (all mov patterns): Use destination_operand
predicate for operand 0.
From-SVN: r35321
Richard Henderson [Fri, 28 Jul 2000 17:41:00 +0000 (10:41 -0700)]
* emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
From-SVN: r35320
Kaveh R. Ghazi [Fri, 28 Jul 2000 16:08:54 +0000 (16:08 +0000)]
dwarf2out.c: Indent #error directive.
* dwarf2out.c: Indent #error directive.
* gbl-ctors.h: Fix typo in comment.
(__do_global_ctors): Prototype.
* gcse.c (record_one_set, pre_delete): Remove unused variables.
* rs6000.c (rs6000_maybe_dead): Delete unused prototype.
(print_operand): Initialize variable `t'.
From-SVN: r35319
Aldy Hernandez [Fri, 28 Jul 2000 16:03:17 +0000 (16:03 +0000)]
removed constraints in expander.
split =rf constraints into =r,f
From-SVN: r35318
Philipp Thomas [Fri, 28 Jul 2000 13:24:20 +0000 (13:24 +0000)]
install.texi (--enable-nls): Change the description of the NLS related configure options to match the...
2000-07-28 Philipp Thomas <pthomas@suse.de>
* install.texi (--enable-nls): Change the description of the NLS
related configure options to match the current state.
(--with-included-gettext): Likewise.
(--enable-maintainer-mode): New description added.
* extend.texi (-fstrict-prototype): Add missing '.'.
From-SVN: r35317
Andrew Haley [Fri, 28 Jul 2000 13:11:45 +0000 (13:11 +0000)]
interpret.cc (continue1): Insert missing break into switch.
2000-07-26 Andrew Haley <aph@cygnus.com>
* interpret.cc (continue1): Insert missing break into switch.
From-SVN: r35316
Warren Levy [Fri, 28 Jul 2000 11:58:03 +0000 (11:58 +0000)]
ObjectStreamException.java: Made constructors protected.
* java/io/ObjectStreamException.java: Made constructors protected.
Adjusts serialVersionUID.
From-SVN: r35315
Jeff Law [Fri, 28 Jul 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35314
Tom Tromey [Fri, 28 Jul 2000 06:57:31 +0000 (06:57 +0000)]
class.c (make_class_data): Create vtable for abstract classes.
2000-07-27 Tom Tromey <tromey@cygnus.com>
Anthony Green <green@cygnus.com>
Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (make_class_data): Create vtable for abstract classes.
(get_dispatch_table): Changed to cope with abstract classes.
Co-Authored-By: Alexandre Petit-Bianco <apbianco@cygnus.com>
Co-Authored-By: Anthony Green <green@cygnus.com>
From-SVN: r35313
Jason Merrill [Fri, 28 Jul 2000 06:08:21 +0000 (02:08 -0400)]
new
From-SVN: r35312
Jason Merrill [Fri, 28 Jul 2000 06:05:11 +0000 (02:05 -0400)]
decl.c (duplicate_decls): If common_type produces a non-typedef type for a typedef, just use the old type.
* decl.c (duplicate_decls): If common_type produces a non-typedef
type for a typedef, just use the old type.
* pt.c (for_each_template_parm_r, case RECORD_TYPE): Use
TYPE_PTRMEMFUNC_P.
* cp-tree.h (TYPE_TEMPLATE_INFO): Check for TYPE_LANG_SPECIFIC.
From-SVN: r35311
Jim Wilson [Fri, 28 Jul 2000 03:43:13 +0000 (03:43 +0000)]
Fix dwarf2out abort found while compiling PlumHall on IA-64.
* dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
DECL_INITIAL (decl) == NULL_TREE.
From-SVN: r35310
Tom Tromey [Fri, 28 Jul 2000 02:54:16 +0000 (02:54 +0000)]
OutputStreamWriter.java (close): Only flush if not closed.
* java/io/OutputStreamWriter.java (close): Only flush if not
closed.
From-SVN: r35309
Alexandre Oliva [Fri, 28 Jul 2000 02:22:17 +0000 (02:22 +0000)]
Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
* Makefile.in (clean-target-libgcc): Remove gcc/libgcc.
(clean-target): Depend on it.
From-SVN: r35308
Alexandre Oliva [Fri, 28 Jul 2000 02:17:26 +0000 (02:17 +0000)]
Makefile.in (INSN_ATTR_H): New macro.
* Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
on insn-attr.h with it.
* genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
* insn-addr.h: New header.
(insn_addresses_): Renamed from insn_addresses.
(INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
INSN_ADDRESSES_NEW): New macros.
* genattrtab.c (write_test_expr): Use new macros.
* final.c (insn_addresses, init_insn_lengths): Likewise.
(align_fuzz, shorten_branches): Likewise.
(final): Likewise. Do not reject new insns if their addresses
have been added to INSN_ADDRESSES.
* config/arm/arm.c, config/avr/avr.c: Use new macros.
* config/h8300/h8300.c, config/i370/i370.c: Likewise.
* config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
* config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
* config/sh/sh.c: Likewise.
(output_branchy_insn): Use INSN_ADDRESSES_NEW.
From-SVN: r35307
Alexandre Oliva [Fri, 28 Jul 2000 02:10:47 +0000 (02:10 +0000)]
Makefile.in (FLAGS_FOR_TARGET): New macro.
* Makefile.in (FLAGS_FOR_TARGET): New macro.
(GCC_FOR_TARGET): Use it.
(CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined...
* configure.in: ... here.
(FLAGS_FOR_TARGET): Define. Add ld build dir to -L path.
(libstdcxx_flags): Define and append to CXX_FOR_TARGET.
From-SVN: r35306
Alexandre Oliva [Fri, 28 Jul 2000 01:57:07 +0000 (01:57 +0000)]
* Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
From-SVN: r35305
Andrew Cagney [Fri, 28 Jul 2000 01:46:11 +0000 (01:46 +0000)]
gcc.c (struct prefix_list): Add member priority.
* gcc.c (struct prefix_list): Add member priority.
(enum path_prefix_priority): Declare.
(add_prefix): Replace ``first'' with ``priority''. Append new
entry but keep list in priority order.
(process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
PREFIX_PRIORITY_LAST to add_prefix.
(process_command): Move include kludge - foo/stageN - to before
foo/include.
From-SVN: r35304
Alexandre Petit-Bianco [Fri, 28 Jul 2000 00:30:19 +0000 (17:30 -0700)]
[multiple changes]
2000-07-27 Tom Tromey <tromey@cygnus.com>
* parse.y (patch_method_invocation): Don't reverse the argument
list when dealing with anonymous class constructors. Fixed typo in
comment.
2000-07-27 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (build_alias_initializer_parameter_list): Reverse
crafted list when building aliases for anonymous class
constructors.
(http://gcc.gnu.org/ml/gcc-patches/2000-07/msg01146.html)
From-SVN: r35303
Warren Levy [Thu, 27 Jul 2000 23:57:07 +0000 (23:57 +0000)]
mauve-libgcj: Activated serialization tests.
* mauve-libgcj: Activated serialization tests.
* gcj/field.h (getModifiers): Mask off unknown flags.
* gnu/java/security/provider/SHA.java (munch): Reset buffer to 0 so
spurious bits don't cause discrepancies.
* java/io/ObjectOutputStream.java: Fixed typo in comment.
* java/io/ObjectStreamClass.java: Fixed typos in comments.
(lookup): Applied patch from Brian Jones <cbj@gnu.org> to optimize.
(hasClassInitializer): Call getDeclaredMethod instead of getMethod.
* java/lang/Throwable.java (serialVersionUID): New field.
* java/lang/reflect/Modifier.java (ALL_FLAGS): Preserve STRICT if used.
* java/lang/reflect/natConstructor.cc (getModifiers): Mask off
unknown flags.
* java/lang/reflect/natMethod.cc: Ditto.
* java/security/Key.java (serialVersionUID): Removed field for now.
* java/security/interfaces/DSAPrivateKey.java (serialVersionUID): Ditto.
* java/security/interfaces/DSAPublicKey.java (serialVersionUID): Ditto.
Serialization mods.
From-SVN: r35302
Mark Mitchell [Thu, 27 Jul 2000 21:10:29 +0000 (21:10 +0000)]
cp-tree.h (function_depth): Declare.
* cp-tree.h (function_depth): Declare.
(verify_stmt_tree): Likewise.
(find_tree): Likewise.
* decl.c (function_depth): Give it external linkage.
* optimize.c (optimize_function): Increment and decrement it.
* tree.c (verify_stmt_tree_r): New function.
(verify_stmt_tree): Likewise.
(find_tree_r): Likewise.
(find_tree): Likewise.
From-SVN: r35301
Joseph Myers [Thu, 27 Jul 2000 19:51:41 +0000 (13:51 -0600)]
c-decl.c (finish_function): Don't treat 'main' specially unless flag_hosted.
* c-decl.c (finish_function): Don't treat 'main' specially unless
flag_hosted. In C99 mode, return 0 from 'main' unless
DEFAULT_MAIN_RETURN is otherwise defined.
From-SVN: r35300
Joseph Myers [Thu, 27 Jul 2000 19:49:25 +0000 (13:49 -0600)]
* gcc.dg/c99-main-1.c: New test.
From-SVN: r35299
Jeff Law [Thu, 27 Jul 2000 18:50:18 +0000 (12:50 -0600)]
Fix typo.
From-SVN: r35298
Jason Merrill [Thu, 27 Jul 2000 18:22:39 +0000 (14:22 -0400)]
dwarf2out.c (gen_typedef_die): Abort if we get identical TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
* dwarf2out.c (gen_typedef_die): Abort if we get identical
TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
* typeck.c (common_type): If we're just returning one of our
arguments, don't strip typedef types.
From-SVN: r35297
Mark Mitchell [Thu, 27 Jul 2000 17:25:14 +0000 (17:25 +0000)]
Put phi nodes after NOTE_INSN_BASIC_BLOCK.
* rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
* bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
(get_prev_bb_note): Likewise.
(remove_scope_notes): Likewise.
* flow.c (commit_one_edge_insertion): Likewise.
(merge_blocks_nomove): Likewise.
(verify_flow_info): Likewise.
* gcse.c (insert_insn_end_bb): Likewise.
* reg-stack.c (emit_swap_insn): Likewise.
* ssa.c (first_insn_after_basic_block_note): New function.
(insert_phi_node): Use it.
(rename_block): Likewise.
(eliminate_phi): Likewise.
(make_regs_equivalent_over_bad_edges): Likewise.
(make_equivalent_phi_alternatives_equivalent): Likewise.
(for_each_successor_phi): Likewise.
(convert_from_ssa): Modify phi-node deletion algorithm.
From-SVN: r35296
Tom Tromey [Thu, 27 Jul 2000 16:27:42 +0000 (16:27 +0000)]
RectangularShape.java (getPathIterator): Wrote.
* java/awt/geom/RectangularShape.java (getPathIterator):
Wrote.
From-SVN: r35295
Kaveh R. Ghazi [Thu, 27 Jul 2000 15:58:01 +0000 (15:58 +0000)]
fini.c (main): Avoid automatic aggregate initialization.
* fini.c (main): Avoid automatic aggregate initialization.
* proj.h: Indent #error directive.
From-SVN: r35294
Rodney Brown [Thu, 27 Jul 2000 15:54:27 +0000 (09:54 -0600)]
expr.h (get_alias_set, [...]): Delete prototypes.
* expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
* tree.h (get_alias_set, lang_get_alias_set): Prototype.
From-SVN: r35293
Joseph Myers [Thu, 27 Jul 2000 15:49:56 +0000 (09:49 -0600)]
c-decl.c (store_parm_decls): In C99 mode...
* c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
parameters defaulting to int in an old-style function definition.
From-SVN: r35292
Joseph Myers [Thu, 27 Jul 2000 15:39:08 +0000 (09:39 -0600)]
* gcc.dg/c90-impl-int-2.c, gcc.dg/c99-impl-int-2.c: New tests.
From-SVN: r35291
Kaveh R. Ghazi [Thu, 27 Jul 2000 15:35:32 +0000 (15:35 +0000)]
c-parse.in (string): For -Wtraditional, warn about string concatenation only once per line.
* c-parse.in (string): For -Wtraditional, warn about string
concatenation only once per line.
From-SVN: r35290
Akiko Matsushita [Thu, 27 Jul 2000 15:26:05 +0000 (00:26 +0900)]
x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES for HI-UX/WE2 systems.
* pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
for HI-UX/WE2 systems.
From-SVN: r35289
Bruce Korb [Thu, 27 Jul 2000 13:29:21 +0000 (13:29 +0000)]
rely* on GCC defining the __xxx_TYPE__ macros
From-SVN: r35288
Alexandre Petit-Bianco [Thu, 27 Jul 2000 11:13:51 +0000 (11:13 +0000)]
[multiple changes]
2000-07-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (jdep_resolve_class): Don't bother checking potential
innerclass access if `decl' is NULL.
(find_in_imports_on_demand): TREE_PURPOSE of `import' contains the
WFL.
2000-07-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (find_as_inner_class): Removed 2000-07-19 patches.
* jcf-parse.c (HANDLE_INNERCLASSES_ATTRIBUTE): Local `decl' moved
outside the `if' statement, alias to innerclass removed, `decl'
used to mark the class complete.
From-SVN: r35287
Jeff Law [Thu, 27 Jul 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35286
Mark Mitchell [Thu, 27 Jul 2000 04:49:17 +0000 (04:49 +0000)]
decl.c (start_cleanup_fn): Mark the function as `inline'.
* decl.c (start_cleanup_fn): Mark the function as `inline'.
* decl2.c (get_guard): Call cp_finish_decl, not
rest_of_decl_compilation, for local guards.
* lex.c (do_identifier): Remove unused variable.
From-SVN: r35285
Andrew Cagney [Thu, 27 Jul 2000 02:19:28 +0000 (02:19 +0000)]
cpp.texi: Append a trailing full-stop to xrefs where needed.
Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
* cpp.texi: Append a trailing full-stop to xrefs where needed.
From-SVN: r35284
Dave Pitts [Thu, 27 Jul 2000 02:00:36 +0000 (02:00 +0000)]
mh-openedition.h: Added -DLE370 definition.
2000-04-27 Dave Pitts <dpitts@cozx.com>
* config/mh-openedition.h: Added -DLE370 definition.
From-SVN: r35283
Dave Pitts [Thu, 27 Jul 2000 01:55:55 +0000 (01:55 +0000)]
i370.c: Remove LONGEXTERNAL ifdef from alias_number.
* i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
routine constants.
(mvs_hash_alias): New function.
(mvs_add_alias): Change argument spacing.
(mvs_need_alias): Change aliasing criteria. Added documentation.
(mvs_get_alias): Change to use hashed name. The hashed name prevents
CSECT name collisions.
(mvs_check_alias): Likewise.
(handle_pragma): Change documentation.
* i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
mode from SImode to DImode.
(iorhi3): Changed LTORG size for insn.
From-SVN: r35282
Mark Elbrecht [Thu, 27 Jul 2000 01:48:33 +0000 (01:48 +0000)]
pexecute.c (pexecute): Change __GO32__ to __DJGPP__.
* pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
__DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
Cast program to 'char *' in errmsg_arg assignment.
(PWAIT_ERROR): Define.
(pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
to DJGPP's WIF* macros.
From-SVN: r35281
Hans-Peter Nilsson [Thu, 27 Jul 2000 01:45:41 +0000 (01:45 +0000)]
reload.c (find_reloads_toplev): Reload a paradoxical subreg of a mem if the address is a mode_dependent_address_p.
* reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
mem if the address is a mode_dependent_address_p.
From-SVN: r35280
Hans-Peter Nilsson [Thu, 27 Jul 2000 01:43:08 +0000 (01:43 +0000)]
* gcc.c-tortuer/execute/
20000726-1.c: New test.
From-SVN: r35279
Kazu Hirata [Thu, 27 Jul 2000 01:38:33 +0000 (01:38 +0000)]
h8300.c (print_operand): Print ":8" when the 'R' operand is suitable for 8-bit absolute.
* h8300.c (print_operand): Print ":8" when the 'R' operand is
suitable for 8-bit absolute.
* h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
(OK_FOR_U): Add a case for the 8-bit constant address on the
H8/300H.
From-SVN: r35278
Hans-Peter Nilsson [Thu, 27 Jul 2000 01:35:17 +0000 (01:35 +0000)]
* varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
&& ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
lack of implemented alignment.
From-SVN: r35277
Jeff Law [Thu, 27 Jul 2000 01:28:25 +0000 (19:28 -0600)]
Add Geoff K to the folks with global write permissions.
From-SVN: r35276
Geoff Keating [Thu, 27 Jul 2000 00:15:23 +0000 (00:15 +0000)]
emit-rtl.c (gen_lowpart_common): Handle cross-compiling between 64-bit and 32-bit machines.
* emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
cross-compiling between 64-bit and 32-bit machines.
From-SVN: r35275
Richard Henderson [Thu, 27 Jul 2000 00:12:52 +0000 (17:12 -0700)]
ia64.md (movqicc_astep, [...]): New.
* config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
(movhicc_astep, movhi_internal_astep): New.
(movsicc_astep, movsi_internal_astep): New.
(movdicc_astep, movdi_internal_astep): New.
(movsfcc_astep, movsf_internal_astep): New.
(movdfcc_astep, movdf_internal_astep): New.
(movxfcc_astep, movxf_internal_astep): New.
(cmovdi_internal_astep, cmovsi_internal_astep): New.
Unify the cmov[ds]i splitters.
From-SVN: r35274
Rodney Brown [Wed, 26 Jul 2000 23:29:55 +0000 (17:29 -0600)]
getcwd.c: Include string.h, stdlib.h for prototypes
* getcwd.c: Include string.h, stdlib.h for prototypes
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35273
Rodney Brown [Wed, 26 Jul 2000 23:23:24 +0000 (17:23 -0600)]
Makefile.in (rename.o, waitpid.o): Depend on config.h
* Makefile.in (rename.o, waitpid.o): Depend on config.h
* rename.c: include config.h, unistd.h
* waitpid.c: include config.h, sys/wait.h
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r35272
Rodney Brown [Wed, 26 Jul 2000 23:18:47 +0000 (23:18 +0000)]
* real.c (asctoeg): Rename `error' label to unexpected_char_error
From-SVN: r35271
Nick Clifton [Wed, 26 Jul 2000 21:39:42 +0000 (21:39 +0000)]
Remove definition of __arm__ from CPP_PREDEFINES
From-SVN: r35270
Phil Edwards [Wed, 26 Jul 2000 21:30:45 +0000 (21:30 +0000)]
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld before trying to use any of its options.
2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
before trying to use any of its options.
(CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
* aclocal.m4: Regenerate.
* configure.in: Having found GNU make, name it.
* configure: Regenerate.
* docs/install.html: Mention possible problems with caching.
* src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
* src/Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* math/Makefile.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r35269
Nick Clifton [Wed, 26 Jul 2000 20:59:32 +0000 (20:59 +0000)]
Accept SEQUENCE as well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
From-SVN: r35268
Benjamin Kosnik [Wed, 26 Jul 2000 20:55:48 +0000 (20:55 +0000)]
misc-inst.cc (std): Remove instantiations.
2000-07-26 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/misc-inst.cc (std): Remove instantiations.
* acinclude.m4: Add forward-looking bits for autoconf.
* aclocal.m4: Regenerate.
* bits/ostream.tcc (ostream::operator<<): Fix const char* case.
From-SVN: r35267
Marc Espie [Wed, 26 Jul 2000 18:15:28 +0000 (18:15 +0000)]
* parse.y: Add missing ';'.
From-SVN: r35266
Mark Mitchell [Wed, 26 Jul 2000 15:40:08 +0000 (15:40 +0000)]
parse.y (empty_parms): Use `()', not `(...)', when in the scope of `extern "C++"'.
* parse.y (empty_parms): Use `()', not `(...)', when in the scope
of `extern "C++"'.
From-SVN: r35265
Toon Moene [Wed, 26 Jul 2000 12:37:12 +0000 (14:37 +0200)]
lang-specs.h: Remove one /dev/null from tradcpp invocation.
2000-07-26 Toon Moene <toon@moene.indiv.nluug.nl>
* lang-specs.h: Remove one /dev/null from tradcpp invocation.
From-SVN: r35264
Jeff Law [Wed, 26 Jul 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35263
Benjamin Kosnik [Wed, 26 Jul 2000 06:51:38 +0000 (06:51 +0000)]
configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL.
2000-07-25 Benjamin Kosnik <bkoz@gnu.org>
* configure.in: Change AM_PROG_LIBTOOL to AC_PROG_LIBTOOL. Change
it back for current versions of maintainer-tools...
* acinclude.m4: Some cleanups...
* aclocal: Regenerated.
* configure: Regenerated.
* src/Makefile.am (CXXLINK): Add -Wl,-01 to the link line for
optimizing/adapting the hash table using GNU ld.
* src/Makefile.in: Regenerate.
* bits/std_fstream.h: Parameterize __basic_file.
* config/c_io_libio.cc: Add wchar_t methods for parameterization.
* bits/basic_file.h: Same here.
* bits/fstream.tcc: Shorten __retval to __ret.
* bits/ostream.tcc: Same.
* bits/sbuf_iter.h: Same.
* bits/sstream.tcc: Same.
* bits/streambuf.tcc: Same.
* bits/std_fstream.h: Same.
* src/string-inst.cc: Same.
* src/ios.cc: Same.
* config/c_io_libio.cc: Same.
* bits/string.tcc: Same.
* bits/std_streambuf.h: Same.
From-SVN: r35262
H.J. Lu [Wed, 26 Jul 2000 06:49:33 +0000 (06:49 +0000)]
Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio even if GLIBCPP_NEED_LIBIO is false.
2000-07-24 H.J. Lu <hjl@gnu.org>
* src/Makefile.am (LIBIO_INCLUDES): Set to -I$(top_srcdir)/libio
even if GLIBCPP_NEED_LIBIO is false. The installed glibc header
files don't include private libio header files needed by
libstdc++ v3.
* src/Makefile.in: Rebuild.
From-SVN: r35261
Alexandre Oliva [Wed, 26 Jul 2000 03:51:55 +0000 (03:51 +0000)]
* gcc.c-torture/execute/enum-2.c: New test.
From-SVN: r35260
Alexandre Oliva [Wed, 26 Jul 2000 03:50:56 +0000 (03:50 +0000)]
c-decl.c (finish_enum): Convert enumerations that fit in an `int' to `int'.
* c-decl.c (finish_enum): Convert enumerations that fit in an
`int' to `int'.
(build_enumerator): In pedantic mode, cast to `int' those that
don't.
From-SVN: r35259
Rodney Brown [Tue, 25 Jul 2000 22:29:02 +0000 (22:29 +0000)]
* config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
From-SVN: r35258
J"orn Rennecke [Tue, 25 Jul 2000 22:10:38 +0000 (22:10 +0000)]
sh.md (cmpgtdi_t): Must be split.
* sh.md (cmpgtdi_t): Must be split.
(cmpgtdi_t+1): New splitter.
From-SVN: r35257