kenner [Mon, 19 Feb 2001 14:42:55 +0000 (14:42 +0000)]
Tweak comments
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39883
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 19 Feb 2001 13:27:36 +0000 (13:27 +0000)]
* sibcall.c (call_ends_block_p): New function.
(optimize_sibling_and_tail_recursive_call): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39879
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 19 Feb 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39877
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 19 Feb 2001 05:37:28 +0000 (05:37 +0000)]
* java/io/CharArrayReader.java (CharArrayReader): Throw
IllegalArgumentException if constructor arguments are illegal.
(ready): Return false if no more characters can be read.
* java/io/ByteArrayInputStream.java (ByteArrayInputStream): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39876
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Mon, 19 Feb 2001 04:06:51 +0000 (04:06 +0000)]
* optimize.c (expand_call_inline): Don't walk subtrees of type
nodes.
* g++.old-deja/g++.other/inline19.c: Remove XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39873
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 19 Feb 2001 03:43:12 +0000 (03:43 +0000)]
* java/lang/Integer.java (getInteger): Return default argument if
property is not set. Don't call decode with null argument.
* java/lang/Long.java (getLong): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39870
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 19 Feb 2001 03:19:23 +0000 (03:19 +0000)]
Fix typo in last change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39869
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 19 Feb 2001 02:26:12 +0000 (02:26 +0000)]
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Update copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39868
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 19 Feb 2001 01:42:18 +0000 (01:42 +0000)]
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Do not output an extra newline character.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39866
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 19 Feb 2001 01:37:17 +0000 (01:37 +0000)]
2001-02-18 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Do not output an extra newline character.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39865
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 19 Feb 2001 00:10:27 +0000 (00:10 +0000)]
Remove conflict indicator
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39862
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 19 Feb 2001 00:09:28 +0000 (00:09 +0000)]
* toplev.c (note_deferral_of_defined_inlined_function): Argument
FNDECL may be unused.
* toplev.c (rest_of_compilation): Don't have CSE skip blocks or
follow jumps after first run.
If -fexpensive-optimizations rerun CSE after GCSE and iterate until
it doesn't change any jumps.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39861
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 19 Feb 2001 00:05:49 +0000 (00:05 +0000)]
* Makefile.in (rtlanal.o): Depend on hard-reg-set.h.
($HOST_PREFIX_1)rtlanal.o: Remove rules for building
(mostlyclean): Corresponding changes.
* rtlanal.c (hard-reg-set.h): Include.
(rtx_unstable_p): Do not treat the argument pointer specially
if it is not a fixed register.
(rtx_varies_p, rtx_addr_can_trap_p): Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39860
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 19 Feb 2001 00:00:08 +0000 (00:00 +0000)]
* sibcall.c (optimize_sibling_and_tail_recursive_call): Compare
against last real insn in basic block.
Rework to avoid gotos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39858
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 23:56:34 +0000 (23:56 +0000)]
* Makefile.in (gcse.o): Now includes ggc.h.
* gcse.c: Include ggc.h.
(want_to_gcse_p): Verify expression can be in SET as valid insn.
(try_replace_reg): Remove warning of uninitialize variable.
(process_insert_insn): Call invalid_insn_p to validate insn.
* recog.c (insn_invalid_p): Now global.
See if can make valid by adding CLOBBERs of SCRATCH only and do if so.
* recog.h (insn_invalid_p): New declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39857
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 23:51:21 +0000 (23:51 +0000)]
* jump.c (jump_optimize_1): Only define reversed_code #ifdef HAVE_trap.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39856
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 23:39:28 +0000 (23:39 +0000)]
* config/sparc/sparc.c (eligible_for_epilogue_delay): Don't put
assignments from FP constants sonce 'Y' output code can't handle it.
(eligible_for_sibcall_delay): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39854
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 20:56:03 +0000 (20:56 +0000)]
* flow.c (print_rtl_and_abort_fcn): Renamed from print_rtl_and_abort.
Call fancy_abort directly, passing args.
(print_rtl_and_abort): Now a macro, like fancy_abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39852
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 20:50:41 +0000 (20:50 +0000)]
* final.c (output_operand_lossage): Use internal_error, not error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39850
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Feb 2001 20:44:44 +0000 (20:44 +0000)]
* mips.c (mips_expand_prologue) Add REG_MAYBE_DEAD to
structure shift insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39848
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 18 Feb 2001 20:41:10 +0000 (20:41 +0000)]
* class.c (add_vcall_offset_vtbl_entries_1): Only add one entry
for a destructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39847
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 18 Feb 2001 20:31:44 +0000 (20:31 +0000)]
* invoke.texi (-fsquangle): Remove documentation.
(-fname-mangling-version): Likewise.
* cp-tree.h (new_abi_rtti_p): Remove.
(name_mangling_version): Likewise.
(flag_do_squangling): Likewise.
* class.c (build_rtti_vtbl_entries): Remove old ABI support.
* decl.c (grokfndecl): Likewise.
* decl2.c (name_mangling_version): Remove.
(flag_do_squangling): Likewise.
(lang_f_options): Remove `squangle'.
(unsupported_options): Add `squangle'.
(cxx_decode_option): Issue a warning about uses of
-fname-mangling-version.
(finish_file): Remove old ABI support.
* pt.c (check_explicit_specialization): Likewise.
(tsubst_decl): Likewise.
* rtti.c (init_rtti_processing): Likewise.
(build_headof): Likewise.
(get_tinfo_decl_dynamic): Likewise.
(tinfo_from_decl): Likewise.
(build_dynamic_cast_1): Likewise.
(synthesize_tinfo_var): Likewise.
* init.c (build_new): Allow enumeration types for the array-bounds
in a direct-new-declarator.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39845
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Feb 2001 20:24:10 +0000 (20:24 +0000)]
* optabs.c (expand_abs): Remove reference to
HAVE_contitional_arithmetic.
* combine.c (simplify_set): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39844
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Feb 2001 20:06:51 +0000 (20:06 +0000)]
* ifcvt.c (dead_or_predicable): Don't move code if eh regions
would be disrupted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39843
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 18 Feb 2001 19:08:00 +0000 (19:08 +0000)]
Do put the VTT parameter in DECL_ARGUMENTS.
* cp-tree.h (struct cp_language_function): Add x_vtt_parm.
(current_vtt_parm): New macro.
(struct lang_decl_flags): Add has_vtt_parm_p, remove vtt_parm.
(DECL_HAS_VTT_PARM_P): New macro.
(DECL_VTT_PARM): Remove.
(FUNCTION_FIRST_USER_PARMTYPE, FUNCTION_FIRST_USER_PARM): New macros.
* decl.c (duplicate_decls): Only copy the operator code if
appropriate.
(start_function): Set current_vtt_parm.
(lang_mark_tree): Don't mark vtt_parm.
* decl2.c (maybe_retrofit_in_chrg): Do add the VTT parm to
DECL_ARGUMENTS. Set DECL_HAS_VTT_PARM_P.
* class.c (build_clone): Maybe remove the VTT parm.
* optimize.c (maybe_clone_body): Set up the VTT parm.
* pt.c (copy_default_args_to_explicit_spec): Preserve the VTT parm.
* call.c (build_over_call): Just allow the VTT arg.
* method.c (make_thunk): Don't set DECL_VTT_PARM.
(do_build_copy_constructor): Use FUNCTION_FIRST_USER_PARM.
(synthesize_method): Use FUNCTION_FIRST_USER_PARMTYPE.
* decl.c (grokdeclarator, copy_args_p, grok_ctor_properties): Likewise.
* error.c (dump_function_decl): Likewise.
* call.c (build_user_type_conversion_1, convert_like_real): Abort
if we try to call a constructor with in-charge or VTT parms.
* method.c (skip_artificial_parms_for): New fn.
* call.c (add_function_candidate, build_over_call): Call it.
* call.c (build_new_method_call): Use current_vtt_parm.
* init.c (expand_virtual_init): Likewise.
* class.c (same_signature_p): No longer static.
* cp-tree.h: Declare it.
* search.c (look_for_overrides_r): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39841
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Feb 2001 18:40:02 +0000 (18:40 +0000)]
* config/ns32k/ns32k.h (ADJSP): Upcase arguments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39840
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Feb 2001 18:36:37 +0000 (18:36 +0000)]
* config/alpha/alpha.md (movsi_fix): Fix typo in pattern name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39838
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 18 Feb 2001 18:24:10 +0000 (18:24 +0000)]
* reload1.c (reload_cse_simplify_set): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39836
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 15:17:36 +0000 (15:17 +0000)]
* diagnostic.c (_fatal_insn): Decrement errorcount.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39834
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 14:47:39 +0000 (14:47 +0000)]
* invoke.texi (-I): Add note avoiding use for system header files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39833
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 18 Feb 2001 14:34:57 +0000 (14:34 +0000)]
* rtl.h (add_clobbers): Remove duplicate declaration.
* recog.h (added_clobbers_hard_reg_p): New declaration.
* genemit.c (struct clobber_pat): New field has_hard_reg.
(gen_insn): Record if added clobbers clobber hard reg.
(gen_split): Avoid unused warning if number of operands is 0.
(output_added_clobbers_hard_reg_p): New function.
(main): Call it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39832
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 18 Feb 2001 08:16:09 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39830
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Feb 2001 07:32:20 +0000 (07:32 +0000)]
Revert experimental hunk accidentally included in committed change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39828
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Feb 2001 07:27:59 +0000 (07:27 +0000)]
* pa.c (hppa_expand_prologue): Simplify code storing return
pointer. For large (>=8k) frames with a post_store, adjust stack
pointer by 8k-64 first rather than by 64. When testing with
VAL_14_BITS_P, always use the actual value rather than the value
negated. Add blockage to prevent scheduling of spills before
stack frame has been created.
(hppa_expand_epilogue): Simplify code loading return pointer.
Allow a slightly larger range for merge_sp_adjust_with_load case.
When testing with VAL_14_BITS_P, always use the actual value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39826
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 18 Feb 2001 07:25:25 +0000 (07:25 +0000)]
2001-02-18 Alan Modra <alan@linuxcare.com.au>
* config/pa/pa.c (pa_adjust_insn_length): Check that block move
pattern is a set before looking at operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39825
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 18 Feb 2001 06:53:19 +0000 (06:53 +0000)]
* fold-const.c (fold_binary_op_with_conditional_arg): New
function, split out from ...
(fold): ... here.
* tree.def (COND_EXPR): Document the use of VOID_TYPE for
conditional arms that throw exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39822
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 18 Feb 2001 06:03:09 +0000 (06:03 +0000)]
* print-tree.c (print_node): Do not use BLOCK_CHAIN when we're not
looking at a BLOCK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39818
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 18 Feb 2001 05:59:45 +0000 (05:59 +0000)]
* init.c (build_new): Allow enumeration types for the array-bounds
in a direct-new-declarator.
* semantics.c (finish_typeof): Resolve OFFSET_REFs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39817
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 18 Feb 2001 03:18:38 +0000 (03:18 +0000)]
* aclocal.m4 (gcc_AC_CHECK_DECL): Before attempting the test,
define HAVE_DECL_* to 1 to mask potential backup declarations.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39814
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 18 Feb 2001 00:29:00 +0000 (00:29 +0000)]
* pt.c (check_explicit_specialization): Copy TREE_PRIVATE and
TREE_PROTECTED from the template being specialized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39813
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 18 Feb 2001 00:00:29 +0000 (00:00 +0000)]
* decl2.c (build_artificial_parm): Set TREE_READONLY.
* decl.c (bad_specifiers): Allow throw specs on things with
pointer-to-function or -member-function type.
* init.c (build_default_init): Don't use a CONSTRUCTOR to initialize
a pmf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39810
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 17 Feb 2001 23:54:42 +0000 (23:54 +0000)]
* call.c (check_dtor_name): Handle template names correctly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39809
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 17 Feb 2001 23:45:54 +0000 (23:45 +0000)]
* invoke.texi (-Woverloaded-virtual): Clarify documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39807
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 17 Feb 2001 23:38:08 +0000 (23:38 +0000)]
improve comment
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39806
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 17 Feb 2001 23:07:06 +0000 (23:07 +0000)]
* reload1.c (reload_cse_simplify_set): Respect LOAD_EXTEND_OP
when replacing a memory load with a register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39805
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 17 Feb 2001 19:50:58 +0000 (19:50 +0000)]
* recog.c (validate_replace_src_1): New.
(validate_replace_src_data): Likewise.
(validate_replace_src): Use note_uses.
* rtl.h (note_uses): Declare.
* rtlanal.c (note_uses): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39804
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 17 Feb 2001 17:51:45 +0000 (17:51 +0000)]
2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
libstdc++/1734
* include/bits/std_ostream.h: Replaced usage of
_Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
* include/bits/char_traits.h: Removed non-standard
methods that cannot be used elsewhere.
libstdc++/1885
* include/bits/basic_ios.h: Uncommented #include of
bits/basic_ios.tcc
libstdc++/1897
* include/bits/codecvt.h: See next...
* include/bits/fstream.tcc: See next...
* include/bits/ostream.tcc: Add __extension__
to variable-length arrays.
libstdc++/1967
* include/bits/localefwd.h: Changed int counter type to size_t.
libstdc++/1968
* include/bits/std_fstream.h: Added typedef for __ctype_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39802
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 17 Feb 2001 15:27:34 +0000 (15:27 +0000)]
* java/util/TimerTask.java: New version from Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39801
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 17 Feb 2001 15:09:46 +0000 (15:09 +0000)]
Remerge with Classpath
(changes by Bryce McKinlay <bryce@albatross.co.nz>)
* java/io/DataInputStream.java (readBoolean): Use convertToBoolean().
(readByte): Use convertToByte().
(readChar): Use convertToChar().
(readInt): Use convertToInt().
(readLong): Use convertToLong().
(readShort): Use convertToShort().
(readUnsignedByte): Use convertToUnsignedByte().
(readUnsignedShort): Use convertToUnsignedShort().
(readUTF): Use convertToUTF().
(convertToBoolean): Resurrected.
(convertToByte): Ditto.
(convertToChar): Ditto.
(convertToInt): Ditto.
(convertToLong): Ditto.
(convertToShort): Ditto.
(convertToUnsignedByte): Ditto.
(convertToUnsignedShort): Ditto.
(convertToUTF): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39800
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 17 Feb 2001 14:24:41 +0000 (14:24 +0000)]
* HACKING: new file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39799
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 17 Feb 2001 13:59:13 +0000 (13:59 +0000)]
* java/io/DataInputStream.java: update copyright notice
* java/io/PrintWriter.java: idem
* java/io/Reader.java: idem
* java/io/StreamTokenizer.java: idem
* java/io/StringReader.java: idem
* java/lang/reflect/ReflectPermission.java: idem
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39798
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 17 Feb 2001 09:55:46 +0000 (09:55 +0000)]
* reg-stack.c (stack_def): Make field reg unsigned.
(remove_regno_note): Unsignetize parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39794
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 17 Feb 2001 08:16:41 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39793
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 17 Feb 2001 02:13:03 +0000 (02:13 +0000)]
Fix error in previous entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39790
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 17 Feb 2001 00:52:44 +0000 (00:52 +0000)]
Allow configuration of texinfo for Cygwin hosts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39787
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sat, 17 Feb 2001 00:12:44 +0000 (00:12 +0000)]
* cp-tree.h (DECL_USE_VTT_PARM): Remove.
* decl2.c (maybe_retrofit_in_chrg): Don't create it.
* optimize.c (maybe_clone_body): Don't substitute it.
* call.c (build_new_method_call): Check in_chrg instead.
* init.c (expand_virtual_init): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39785
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 23:58:28 +0000 (23:58 +0000)]
2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/21_strings/char_traits.cc: Move to ...
* testsuite/21_strings/char_traits_requirements.cc: ..here.
* testsuite/21_strings/char_traits-int_type.cc: Move to ...
* testsuite/21_strings/char_traits_typedefs.cc: ..here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39784
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 16 Feb 2001 23:28:14 +0000 (23:28 +0000)]
2001-02-16 Loren J. Rittle <ljrittle@acm.org>
* cplus-dem.c (main): Initialize style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39782
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 16 Feb 2001 22:52:29 +0000 (22:52 +0000)]
cp/
* decl.c (check_tag_decl): Make sure a typedef for an anonymous
class-type introduces at least a type-name.
testsuite/
* g++.old-deja/g++.other/decl9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39781
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Fri, 16 Feb 2001 22:31:52 +0000 (22:31 +0000)]
2001-02-15 Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c (build_instanceof): Check for arrays when trying fold to
false.
(http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00993.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39778
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 16 Feb 2001 22:30:06 +0000 (22:30 +0000)]
* call.c (convert_like_real): Create a temporary for non-lvalue.
* g++.old-deja/g++.other/init16.C: Update the test so that it does
not need <string> and also tests the initialization at runtime.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39776
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 16 Feb 2001 19:33:52 +0000 (19:33 +0000)]
Patch from Jes Sorensen for build failure.
* ia64.c (errata_emit_nops): Add VOIDmode as second argument to
shladd_operand() call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39775
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Feb 2001 19:29:49 +0000 (19:29 +0000)]
* gcse.c (hash_scan_set): If cprop, see if REG_EQUAL or REG_EQUIV.
Don't CSE a nop.
(hash_scan_insn): Clean up calls to hash_scan_set.
(compute_kill_rd): REGNO now unsigned.
(try_replace_reg): Rework to use simplify_replace_rtx.
(cprop_jump, cprop_cc0_jump): Likewise.
(cprop_insn): Call find_reg_equal_equiv_note.
Reflect changes to cprop_jump and cprop_cc0_jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39774
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Feb 2001 19:14:09 +0000 (19:14 +0000)]
* recog.c (validate_replace_rtx): Replace in operands of
ZERO_EXTRACT in SET_DEST.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39773
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Fri, 16 Feb 2001 18:26:40 +0000 (18:26 +0000)]
Use C fixincludes for UnixWare 7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39771
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Feb 2001 17:50:49 +0000 (17:50 +0000)]
* cse.c (new_label_ref): New variable.
(insert): Set it instead of recorded_label_ref.
(cse_basic_block): Set recorded_label_ref if new_label_ref use, has
CODE_LABEL for this function, and not already in REG_LABEL note.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39768
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 16 Feb 2001 17:06:06 +0000 (17:06 +0000)]
* libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
definitions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39767
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Fri, 16 Feb 2001 17:04:36 +0000 (17:04 +0000)]
2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
* resource.c (mark_referenced_resources): Fix typo in introductory
comment.
* config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Fix typo in
string constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39766
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Fri, 16 Feb 2001 17:03:55 +0000 (17:03 +0000)]
2001-02-16 Jeffrey Oldham <oldham@codesourcery.com>
* cp-tree.h: Fix typos in comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39765
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 16 Feb 2001 13:08:44 +0000 (13:08 +0000)]
fix comment typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39764
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 16 Feb 2001 13:03:10 +0000 (13:03 +0000)]
* dwarf2out.c (add_bound_info): Don't crash if SAVE_EXPR_RTL is
NULL.
(gen_subprogram_die): Don't abort on seeing a second definition if
the previous one was abstract. Don't replace an abstract instance
in the lookup table.
* dwarf2out.c (dwarf2out_abstract_function): Rename from
gen_abstract_function.
* dwarf2out.h: Declare it.
* toplev.c (note_outlining_of_inline_function): New fn.
* toplev.h: Declare it.
* integrate.c (output_inline_function): Call it.
* c-decl.c (duplicate_decls): Call it when redefining an extern
inline. Don't inline the new defn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39763
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 16 Feb 2001 12:46:21 +0000 (12:46 +0000)]
* tree.h (BLOCK_CHAIN): Use BLOCK_CHECK.
* optimize.c (remap_block): If we're compiling a clone, pass the
new block to insert_block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39761
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 16 Feb 2001 11:12:46 +0000 (11:12 +0000)]
* .gdbinit: Rename to gdbinit.in.
* gdbinit.in: New file,
* configure.in: Generate .gdbinit from gdbinit.in.
* configure: Regenerated.
* Makefile.in (distclean): Always remove .gdbinit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39759
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 16 Feb 2001 09:15:19 +0000 (09:15 +0000)]
* objc/objc-act.c (start_class): Register implemented_classes with
GC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39756
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 16 Feb 2001 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39755
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 16 Feb 2001 08:03:23 +0000 (08:03 +0000)]
* pt.c (push_template_decl_real): Don't remangle the name of a
class template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39753
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 16 Feb 2001 07:57:51 +0000 (07:57 +0000)]
* pt.c (push_template_decl_real): Don't remangle the name of a
class template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39752
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 16 Feb 2001 07:43:21 +0000 (07:43 +0000)]
* gcc.c-torture/execute/longlong.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39750
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 16 Feb 2001 07:41:08 +0000 (07:41 +0000)]
* cppfiles.c (_cpp_make_system_header): Generate a file
change callback.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39749
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 05:39:47 +0000 (05:39 +0000)]
2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config: Revert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39747
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 16 Feb 2001 04:50:38 +0000 (04:50 +0000)]
* java/util/HashSet.java (clone): Made subclass safe, use
super.clone(), not new.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39746
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 16 Feb 2001 03:56:26 +0000 (03:56 +0000)]
Fix typos
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39745
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Fri, 16 Feb 2001 03:54:02 +0000 (03:54 +0000)]
gcc/:
2001-01-20 Jim Meyering <meyering@lucent.com>
* Makefile.in (install-common): Don't depend on installdirs here.
Instead, make each of the lang.install-common targets (e.g.,
c++.install-common in cp/Make-lang.in) depend on it.
(install-driver): Depend on installdirs.
gcc/ch:
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (CHILL.install-common): Depend on `installdirs'.
(CHILL.install-info): Likewise.
gcc/cp:
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (c++.install-common): Depend on installdirs.
(c++.install-info): Likewise
(c++.install-man): Likewise
gcc/java:
2001-02-15 Jim Meyering <meyering@lucent.com>
* Make-lang.in (java.install-common): Depend on `installdirs'.
(java.install-info): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39744
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 16 Feb 2001 03:35:50 +0000 (03:35 +0000)]
* include/bits/istream.tcc: Use ios_base::iostate in place of
iostate throughout. Insert `typename' keyword where necessary.
* include/bits/ostream.tcc: Insert `typename' keyword where
necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39743
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 02:45:26 +0000 (02:45 +0000)]
2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
Define so library is compliant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39742
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 02:38:35 +0000 (02:38 +0000)]
2001-02-14 Jeffrey Oldham <oldham@codesourcery.com>
* include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
Define so library is compliant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39741
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Feb 2001 02:35:30 +0000 (02:35 +0000)]
* flow.c (tidy_fallthru_edge): Never end block on line number NOTE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39739
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 16 Feb 2001 02:30:37 +0000 (02:30 +0000)]
* function.c (assign_parms): Set RTX_UNCHANGING_P in pseudo when we
do in memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39737
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 16 Feb 2001 02:25:24 +0000 (02:25 +0000)]
* java/util/TreeMap.java (nil): Made non-final.
(clone): Create new nil node for copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39736
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 01:56:07 +0000 (01:56 +0000)]
2001-02-15 Anthony Green <green@redhat.com>
* acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
compilation.
* aclocal.m4: Regenerate.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39735
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 16 Feb 2001 01:49:40 +0000 (01:49 +0000)]
* java/util/TreeSet.java (clone): Made subclass safe, use
super.clone(), not new.
* java/util/TreeMap.java (clone): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39734
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 01:39:06 +0000 (01:39 +0000)]
2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
Include ieeefp.h for fpclass on UnixWare{2,7}.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* mkcheck.in (size_command): Do without GNU-grep when using
size from binutils.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39733
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 16 Feb 2001 01:26:14 +0000 (01:26 +0000)]
Remove old ABI support from libsupc++.
* libsupc++/cxxabi.h: Remove conditionally compiled code.
* libsupc++/exception_support.cc: Likewise.
* libsupc++/pure.cc: Likewise.
* libsupc++/tinfo.cc: Likewise.
* libsupc++/tinfo.h: Likewise.
* libsupc++/tinfo2.cc: Likewise.
* libsupc++/typeinfo: Likewise.
* libsupc++/vec.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39732
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 16 Feb 2001 01:24:14 +0000 (01:24 +0000)]
* typeck2.c (build_m_component_ref): Robustify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39731
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 16 Feb 2001 00:44:44 +0000 (00:44 +0000)]
2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
Add support for -fno-exceptions.
* include/bits/exception_support.h: Remove.
* include/bits/basic_string.h: Remove exception_support.
(string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
(string::at): Same.
(string::substr): Same.
* include/bits/basic_string.tcc (string::reserve): Replace
__LENGTHERROR with __throw_length_error.
(string::_S_create): Same.
(string::resize): Same.
(string::_M_replace): Same.
(string::replace): Same.
(string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
(string::compare): Same.
* include/bits/stl_vector.h: Remove exception_support.
* src/Makefile.am (base_headers): Remove here.
* src/Makefile.in: Regenerate.
* include/bits/stl_range_errors.h: Remove.
* include/bits/stl_deque.h: Use __throw_range_error.
* include/bits/std_deque.h: Include functexcept.h.
* include/bits/std_vector.h: Same.
* src/Makefile.am (base_headers): Remove here.
* src/Makefile.in: Regenerate.
* include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
* include/ext/bvector: Remove stl_range_errors.h
* include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
* include/bits/functexcept.h: New file.
* src/functexcept.cc: New file. Definitions for function-based
exception routines.
* src/Makefile.am (sources): Add functexcept.cc.
* src/Makefile.in: Regenerate.
* include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
__EXCEPTIONS.
* include/bits/localefwd.h: Include functexcept.h.
* include/bits/std_iosfwd.h: Same.
* include/bits/basic_ios.h: Use __throw_ios_failure instead of
throw basic_ios::failure.
* include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
Use __throw_exception_again.
(filebuf::_M_filebuf_init): Same.
* include/bits/streambuf.tcc (__copy_streambufs): Same.
* include/bits/ostream.tcc (ostream::operator<<): Same.
* include/bits/istream.tcc (istream::operator>>): Same.
* include/bits/basic_string.tcc (string::_M_mutate): Same.
(string::_S_construct): Same.
(string::_M_clone): Same.
* include/bits/locale_facets.tcc (use_facet(const locale&)): Use
__throw_bad_cast.
(num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
* src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
__throw_exception_again.
(locale::_Imp::_Imp(string, size_t): Same.
(locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
* src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
(locale::locale(const char*)): Use __throw_runtime_error.
(locale::classic): Use __throw_exception_again.
(locale::_S_normalize_category): Use __throw_runtime_error.
* src/stdexcept.cc: Remove cruft.
* libsupc++/exception_defines.h: New file.
* libsupc++/new_opnt.cc: Include exception_defines.h.
* libsupc++/vec.cc: Same.
(__cxa_vec_new2): Use __throw_exception_again.
(__cxa_vec_new3): Same.
(__cxa_vec_ctor): Same.
(__cxa_vec_delete3): Same.
(__cxa_vec_cctor): Same.
(__cxa_vec_delete2): Same.
(__cxa_vec_dtor): Same.
* libsupc++/exception_support.cc: Include exception_defines.h. Only
compile exception-handling bits if __EXCEPTIONS is defined.
Remove old ABI support.
* libsupc++/new_op.cc (new): Include exception_defines.h. Use
std::__throw_bad_alloc() instead of throw bad_alloc.
* libsupc++/Makefile.am: Add exception_defines.h.
* libsupc++/Makefile.in: Reformat.
* libsupc++/*: Format.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39730
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 15 Feb 2001 22:21:12 +0000 (22:21 +0000)]
2001-02-15 Phil Edwards <pme@sources.redhat.com>
* docs/html/configopts.html: Minor updates and typo fixes.
* docs/html/faq/index.html: Updates of the "not really bugs" list.
* docs/html/faq/index.txt: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39727
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Thu, 15 Feb 2001 19:19:50 +0000 (19:19 +0000)]
2001-02-14 Andrew Haley <aph@redhat.com>
* include/i386-signal.h (INIT_SEGV): Use a direct system call to
set the handler.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39724
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 15 Feb 2001 18:23:33 +0000 (18:23 +0000)]
* invoke.texi (--param): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39723
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 15 Feb 2001 17:17:09 +0000 (17:17 +0000)]
* config/sh/sh.h (BOOL_TYPE_SIZE): Don't define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39721
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Thu, 15 Feb 2001 14:03:14 +0000 (14:03 +0000)]
2001-02-15 Anthony Green <green@redhat.com>
* defineclass.cc: Don't include alloca.h.
(prepare_pool_entry): Convert alloca to __builtin_alloca.
* interpret.cc (run_normal): Ditto.
(continue1): Ditto.
* java/lang/natDouble.cc (parseDouble): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39719
138bc75d-0d04-0410-961f-
82ee72b054a4