Tom Tromey [Tue, 23 Jan 2001 20:09:17 +0000 (20:09 +0000)]
gcj.texi (Copying): New node.
* gcj.texi (Copying): New node.
Added copyright information.
From-SVN: r39208
Herman A.J. ten Brugge [Tue, 23 Jan 2001 19:31:08 +0000 (20:31 +0100)]
* c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
From-SVN: r39207
Chris Demetriou [Tue, 23 Jan 2001 19:20:14 +0000 (19:20 +0000)]
cpperror.c: Merge handlers of PEDWARN and WARNING.
* cpperror.c: Merge handlers of PEDWARN and WARNING.
Have -Werror make pedantic warnings errors, like the
rest of GCC.
Co-Authored-By: Neil Booth <neil@daikokuya.demon.co.uk>
From-SVN: r39206
Chris Demetriou [Tue, 23 Jan 2001 19:18:29 +0000 (19:18 +0000)]
configure.in: Place definition of MULTISUBDIR in libsupc++/Makefile as is done for src/Makefile.
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* configure.in: Place definition of MULTISUBDIR in
libsupc++/Makefile as is done for src/Makefile.
* configure: Regenerate.
From-SVN: r39205
Phil Edwards [Tue, 23 Jan 2001 18:36:53 +0000 (18:36 +0000)]
c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
2001-01-23 Phil Edwards <pme@sources.redhat.com>
* c-tree.texi (IDENTIFIER_LENGTH): Fix typo.
From-SVN: r39204
Jakub Jelinek [Tue, 23 Jan 2001 18:36:06 +0000 (19:36 +0100)]
integrate.h (struct inline_remap): Add compare_src, compare_mode.
* integrate.h (struct inline_remap): Add compare_src, compare_mode.
* integrate.c (expand_inline_function): Initialize them.
(subst_constants): If changing COMPARE so that both its arguments
will be VOIDmode and the comparison mode will be lost, note
compare_mode. Use the recorded compare_mode to optimize
IF_THEN_ELSE.
From-SVN: r39203
Michael Sokolov [Tue, 23 Jan 2001 18:35:56 +0000 (18:35 +0000)]
* libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.
From-SVN: r39202
Jason Merrill [Tue, 23 Jan 2001 17:22:08 +0000 (12:22 -0500)]
dwarf2out.c (new_die): Use xcalloc.
* dwarf2out.c (new_die): Use xcalloc.
(output_die): Abort rather than emit a local reference to offset 0.
From-SVN: r39201
Phil Edwards [Tue, 23 Jan 2001 17:02:28 +0000 (17:02 +0000)]
acinclude.m4: Cosmetic changes only.
2001-01-23 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Cosmetic changes only.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.target: Update documented list of changed variables.
* docs/html/install.html: Fix typo.
* docs/html/20_util/howto.html: More notes on auto_ptr.
* docs/html/27_io/howto.html: More notes on streabufs.
* docs/html/faq/index.html: Add rel_ops problem and mention the
DEC as(1) .subsection difficulty.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r39200
Andrew Haley [Tue, 23 Jan 2001 13:58:55 +0000 (13:58 +0000)]
libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy of a saved register; return NULL instead.
2001-01-17 Andrew Haley <aph@redhat.com>
* libgcc2.c (get_reg_addr): Don't abort if we haven't got a copy
of a saved register; return NULL instead.
(copy_reg): Take a pointer to a source register rather than a
frame_state.
(next_stack_level): Remember the address in the stack frame of all
saved registers.
Use the saved register pointer array as the source of the CFA.
(throw_helper): Rewrite. Unwind once rather than twice and keep
track of saved registers as we go.
From-SVN: r39199
Nathan Sidwell [Tue, 23 Jan 2001 10:44:18 +0000 (10:44 +0000)]
decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC indicates anything special about template depth.
cp:
* decl.c (grokdeclarator): Don't presume DECL_LANG_SPECIFIC
indicates anything special about template depth. Make sure we
only count the user visible template classes.
testsuite:
* g++.old-deja/g++.pt/spec37.C: New test.
From-SVN: r39198
Nathan Sidwell [Tue, 23 Jan 2001 10:36:26 +0000 (10:36 +0000)]
call.c (build_conv): Typo in comment.
cp:
* call.c (build_conv): Typo in comment.
(add_builtin_candidate): Add more explanation.
Remove extra test for ENUMERAL_TYPE in {PRE,POST}INCREMENT_EXPR.
Allow ENUMERAL_TYPEs for relops and eqops. Add both candidates
when we have enumeral types.
(add_builtin_candidates): Add more explanation. Add ENUMERAL_TYPE
candidates for relops and eqops.
(joust): Simplify control flow. Allow a non-template user
function to hide a builtin.
testsuite:
* g++.old-deja/g++.pt/overload14.C: New test.
From-SVN: r39197
Mark Mitchell [Tue, 23 Jan 2001 08:57:34 +0000 (08:57 +0000)]
ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
* ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
(GLIBCPP_CHECK_MATH_SUPPORT): Use it.
(GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
its already provided in config.target.
* aclocal.m4: Regenerated.
* configure: Likewise.
* configure.target: Set ctype_include_dir for lots of systems.
* libsupc++/Makefile.am: Explicitly include --tag disable-shared.
* libsupc++/Makefile.in: Regenerated.
From-SVN: r39196
Jeff Law [Tue, 23 Jan 2001 08:45:09 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39195
Herman A.J. ten Brugge [Tue, 23 Jan 2001 05:28:15 +0000 (06:28 +0100)]
c4x-protos.h (c4x_legitimize_reload_address): Remove.
* c4x-protos.h (c4x_legitimize_reload_address): Remove.
* c4x.c (c4x_legitimize_reload_address): Remove.
* c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Rewrite to generate correct
reload address for ldp(k) insn.
From-SVN: r39194
Jeffrey A Law [Tue, 23 Jan 2001 03:52:54 +0000 (03:52 +0000)]
pa.md (return_internal): Add a USE of the PIC register to ensure it is restored after each call.
* pa.md (return_internal): Add a USE of the PIC register to ensure
it is restored after each call.
(return expander): Corresponding changes.
From-SVN: r39193
Gabriel Dos Reis [Tue, 23 Jan 2001 02:48:27 +0000 (02:48 +0000)]
libstdc++.exp: Improve.
* testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
keyword capability.
* testsuite/README: Add comment.
From-SVN: r39192
Laurynas Biveinis [Tue, 23 Jan 2001 01:51:53 +0000 (20:51 -0500)]
[sorry, missed this the first time around] 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
[sorry, missed this the first time around]
2001-01-12 Laurynas Biveinis <lauras@softhome.net>
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
(LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
bash bug.
* aclocal.m4: regenerated.
* configure.target: set os_include_dir to config/os/djgpp under DJGPP.
* configure: regenerated.
* config/os/djgpp, config/os/djgpp/bits: new directories.
* config/os/djgpp/bits/ctype_base.h,
config/os/djgpp/bits/ctype_inline.h,
config/os/djgpp/bits/ctype_noninline.h,
config/os/djgpp/bits/os_defines.h: new files.
From-SVN: r39191
Franz Sirl [Mon, 22 Jan 2001 22:52:18 +0000 (22:52 +0000)]
20010122-1.c: New test, exercise __builtin_return_address.
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* gcc.c-torture/execute/
20010122-1.c: New test, exercise
__builtin_return_address.
From-SVN: r39189
Franz Sirl [Mon, 22 Jan 2001 22:47:25 +0000 (22:47 +0000)]
rs6000.h (INIT_EXPANDERS): Delete.
2001-01-22 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rs6000.h (INIT_EXPANDERS): Delete.
(RETURN_ADDR_RTX): Call rs6000_return_addr().
* rs6000.c (rs6000_override_options): Call *_machine_status from
here...
(rs6000_init_expanders): ...instead of here. Delete.
(rs6000_mark_machine_status): New function.
(rs6000_init_machine_status): Use xcalloc.
(rs6000_return_addr): Generate RTX for the return address.
(rs6000_ra_ever_killed): New, check if LR was ever destroyed.
(rs6000_stack_info): Use it.
From-SVN: r39188
Thomas Pfaff [Mon, 22 Jan 2001 21:29:53 +0000 (21:29 +0000)]
gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...
* gthr-win32.h: Include errno.h to get a declaration for
EINVAL and _mingw.h if the target is mingw32.
From-SVN: r39187
Andres Felipe Vargas [Mon, 22 Jan 2001 20:41:04 +0000 (15:41 -0500)]
* cpp.texi: Fix typos.
From-SVN: r39186
Richard Kenner [Mon, 22 Jan 2001 18:59:36 +0000 (18:59 +0000)]
explow.c (probe_stack_range): Ensure value passed to stack_check_libfunc is ptr_mode, not Pmode.
* explow.c (probe_stack_range): Ensure value passed to
stack_check_libfunc is ptr_mode, not Pmode.
From-SVN: r39185
Tom Tromey [Mon, 22 Jan 2001 17:32:28 +0000 (17:32 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (bin_PROGRAMS): Remove grepjar.
(EXTRA_PROGRAMS): New macro.
From-SVN: r39184
J"orn Rennecke [Mon, 22 Jan 2001 16:58:08 +0000 (16:58 +0000)]
recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND case...
* recog.c (validate_replace_rtx_1): In ZERO_EXTEND / SIGN_EXTEND
case, don't use operand_subword to calculate a SUBREG that is
wider than a word.
* rtl.texi: Comparisons yield 0 or STORE_FLAG_VALUE.
From-SVN: r39183
Nathan Sidwell [Mon, 22 Jan 2001 13:51:43 +0000 (13:51 +0000)]
cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.
cp:
* cp-tree.h (unification_kind_t): Add DEDUCE_ORDER.
(more_specialized): Add deduction parameter.
* call.c (joust): Adjust more_specialized call.
* pt.c (UNIFY_ALLOW_OUTER_MORE_CV_QUAL,
UNIFY_ALLOW_OUTER_LESS_CV_QUAL): New unify flags.
(get_bindings_order): Remove.
(get_bindings_real): Add DEDUCE parameter.
(maybe_adjust_types_for_deduction): Return extra unify flags. Do
REFERENCE_TYPE jig for DEDUCE_ORDER.
(type_unification_real): Deal with DEDUCE_ORDER. Use result of
maybe_adjust_types_for_deduction.
(more_specialized): Add DEDUCE parameter. Call get_bindings_real
directly.
(try_one_overload): Use result of maybe_adjust_types_for_deduction.
(check_cv_quals_for_unify): Use new unify qualifier flags.
(unify): Clear new unify qualifier flags.
(get_bindings_real): Add DEDUCE parameter.
(get_bindings): Adjust call to get_bindings_real.
(get_bindings_overload): Likewise.
(most_specialized_instantiation): Adjust call to
more_specialized.
testsuite:
* g++.old-deja/g++.martin/sts_partial.C: Remove XFAIL.
* g++.old-deja/g++.pt/spec35.C: New test.
* g++.old-deja/g++.pt/spec36.C: New test.
From-SVN: r39182
Herman A.J. ten Brugge [Mon, 22 Jan 2001 10:40:31 +0000 (11:40 +0100)]
c4x.c (c4x_valid_rptb_p, [...]): New functions.
* c4x.c (c4x_valid_rptb_p, c4x_label_ref_used_p): New functions.
(c4x_rptb_insert): Call c4x_valid_rptb_p to check if repeat block is
valid. If not replace it by equivalent insns.
From-SVN: r39181
Herman A.J. ten Brugge [Mon, 22 Jan 2001 10:29:14 +0000 (11:29 +0100)]
c4x.c (c4x_check_legit_addr): Only check CONST.
* c4x.c (c4x_check_legit_addr): Only check CONST. Not if CONST
contains SYMBOL_REF, LABEL_REF and CONST_INT.
(c4x_U_constraint, symbolic_address_operand): Likewise.
(c4x_immed_float_constant): Do not check if CONST_DOUBLE is in
memory.
(c4x_r11_set_p, c4x_check_laj_p): New functions.
* c4x-protos.h (c4x_check_laj_p): Add prototype.
* c4x.md (in_annul_slot_3): Do not allow auto-increment in last
anulling slot because of silicon bug.
(laj, lajv): Call c4x_check_laj_p to check for silicon bug.
From-SVN: r39180
Jeff Law [Mon, 22 Jan 2001 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39179
Alan Modra [Mon, 22 Jan 2001 07:38:18 +0000 (07:38 +0000)]
cppexp.c (parse_charconst): Change `mask' type to agree with parse_escape.
* cppexp.c (parse_charconst): Change `mask' type to agree
with parse_escape.
From-SVN: r39178
Bryce McKinlay [Mon, 22 Jan 2001 01:47:11 +0000 (01:47 +0000)]
* configure.in: Enable libgcj for linux targets.
From-SVN: r39177
Richard Henderson [Sun, 21 Jan 2001 22:33:14 +0000 (14:33 -0800)]
i386.c (ix86_asm_file_end): Disable putting pic_label_name in a linkonce section.
* config/i386/i386.c (ix86_asm_file_end): Disable putting
pic_label_name in a linkonce section.
From-SVN: r39176
Per Bothner [Sun, 21 Jan 2001 21:50:37 +0000 (13:50 -0800)]
Various fixes to allow compiling a compressed .jar/.zip archive.
From-SVN: r39175
Per Bothner [Sun, 21 Jan 2001 21:24:30 +0000 (13:24 -0800)]
Minor optimization of static ggc roots.
* jcf-parse.c (parse_roots): New static field.
(current_field, current_method, current_file_list): Replace by macros
naming fields of parse_roots.
(init_jcf_parse): Combine 3 ggc_add_tree_root calls to 1.
* class.c (class_roots): New static field.
(registered_class, fields_ident, info_ident, class_list):
New macros naming fields of parse_roots.
(build_static_field_ref): Don't register roots here.
(layout_class): Static field list replaced by macro class_list.
(init_class_processing): Call ggc_add_tree_root for 4 roots.
Initialize fields_ident and info_ident here.
From-SVN: r39174
Per Bothner [Sun, 21 Jan 2001 21:18:04 +0000 (13:18 -0800)]
jcf-parse.c (ggc_mark_jcf): New function.
* jcf-parse.c (ggc_mark_jcf): New function.
(init_jcf_parse): Register current_jcf as ggc root.
From-SVN: r39173
Per Bothner [Sun, 21 Jan 2001 20:42:13 +0000 (12:42 -0800)]
* lang.c (put_decl_node): Print method's name.
From-SVN: r39172
Per Bothner [Sun, 21 Jan 2001 20:36:46 +0000 (12:36 -0800)]
verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro.
* verify.c (VERIFICATION_ERROR_WITH_INDEX): New macro.
(verify_jvm_instructions): Use it, for better error messages on loads.
From-SVN: r39171
Per Bothner [Sun, 21 Jan 2001 20:26:37 +0000 (12:26 -0800)]
verify.c (merge_type_state): Stil may have to merge even if LABEL_VERIFIED (label).
* verify.c (merge_type_state): Stil may have to merge even if
LABEL_VERIFIED (label).
From-SVN: r39170
Per Bothner [Sun, 21 Jan 2001 20:18:31 +0000 (12:18 -0800)]
parse.y (method_header): Don't set the DECL_NAME of a FUNCTION_DECL to a EXPR_WITH_FILE_LOCATION - that...
* parse.y (method_header): Don't set the DECL_NAME of a FUNCTION_DECL
to a EXPR_WITH_FILE_LOCATION - that is just too fragile and wrong.
From-SVN: r39169
Per Bothner [Sun, 21 Jan 2001 19:08:10 +0000 (11:08 -0800)]
expr.c (pop_type_0): Only return object_ptr_type_node on mismatch if expeting an interface type.
* expr.c (pop_type_0): Only return object_ptr_type_node on mismatch
if expeting an interface type. Refines Tom's change of 2000-09-12.
From-SVN: r39168
Philipp Thomas [Sun, 21 Jan 2001 09:48:56 +0000 (09:48 +0000)]
aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was found in libintl.
2001-01-17 Philipp Thomas <pthomas@suse.de>
* aclocal.m4 (AM_WITH_NLS): Add -lintl to LIBS if gettext was
found in libintl.
* configure: Regenerate.
From-SVN: r39167
Phil Edwards [Sun, 21 Jan 2001 09:36:09 +0000 (09:36 +0000)]
configopts.html: Update for current status.
2001-01-21 Phil Edwards <pme@sources.redhat.com>
* docs/html/configopts.html: Update for current status. Fix HTML.
* docs/html/install.html: Update for current status.
From-SVN: r39166
J"orn Rennecke [Sun, 21 Jan 2001 09:19:15 +0000 (09:19 +0000)]
expmed.c (synth_mult, [...]): Guard uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
* expmed.c (synth_mult, expand_mult_highpart, expand_divmod): Guard
uses of shift_cost, shiftadd_cost and shiftsub_cost with bound checks.
From-SVN: r39165
Jeff Law [Sun, 21 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39164
Denis Chertykov [Sun, 21 Jan 2001 07:08:46 +0000 (07:08 +0000)]
avr.c (ret_cond_branch): New argument (reverse) added.
* config/avr/avr.c (ret_cond_branch): New argument (reverse) added.
If REVERSE nonzero then condition code in X must be reversed.
(encode_section_info): Optimise if/else.
(avr_function_value): Fix formatting.
* config/avr/avr.md (branch): Call to ret_cond_branch changed.
(difficult_branch): Likewise.
(rvbranch): Likewise.
(difficult_rvbranch): Likewise.
* config/avr/avr-protos.h (ret_cond_branch): Prototype changed.
* config/avr/libgcc.S: Fix comment.
From-SVN: r39163
Michael Sokolov [Sun, 21 Jan 2001 03:29:52 +0000 (03:29 +0000)]
* sdbout.c (PUT_SDB_DEF): Fix after last bogus change.
From-SVN: r39162
Michael Sokolov [Sun, 21 Jan 2001 02:26:27 +0000 (02:26 +0000)]
* cppinit.c (INO_T_EQ): Don't use #elif, fix formatting.
From-SVN: r39161
Michael Sokolov [Sun, 21 Jan 2001 01:51:42 +0000 (01:51 +0000)]
aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
* aclocal.m4 (gcc_AC_FUNC_STRSTR): New macro.
* configure.in (gcc_AC_FUNC_STRSTR): Add invokation.
* configure, config.in: Regenerate.
* Makefile.in (STRSTR, HOST_STRSTR, USE_HOST_STRSTR): New variables.
(LIBDEPS, HOST_LIBDEPS, LIBS, HOST_LIBS): Add strstr handling.
(strstr.o, $(HOST_PREFIX_1)strstr.o): New rules.
(doprint.o): New rule.
From-SVN: r39160
Michael Sokolov [Sun, 21 Jan 2001 01:13:52 +0000 (01:13 +0000)]
MAINTAINERS (Write After Approval): Add myself.
2001-01-20 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* MAINTAINERS (Write After Approval): Add myself.
From-SVN: r39159
Jakub Jelinek [Sat, 20 Jan 2001 20:39:49 +0000 (21:39 +0100)]
Move test ChangeLog entry to testsuite/ChangeLog.
From-SVN: r39158
Joseph Myers [Sat, 20 Jan 2001 19:28:00 +0000 (19:28 +0000)]
* c-typeck.c (digest_init): Handle boolean types as scalars.
From-SVN: r39157
Richard Kenner [Sat, 20 Jan 2001 17:47:45 +0000 (17:47 +0000)]
stmt.c (expand_return): Don't return anything if size is zero.
* stmt.c (expand_return): Don't return anything if size is zero.
Delete redundant assignment to BYTES.
* expr.c (move_block_from_reg): Do nothing if NREGS is zero.
From-SVN: r39156
Marek Michalkiewicz [Sat, 20 Jan 2001 16:49:01 +0000 (17:49 +0100)]
avr.h (INIT_TARGET_OPTABS): Remove most of it, was the same as the default library function names.
* config/avr/avr.h (INIT_TARGET_OPTABS): Remove most of it, was
the same as the default library function names.
* config/avr/avr.md: Document special characters after '%'.
(mulqi3, mulhi3, mulsi3): Call libgcc.S functions ourselves,
knowing which of the call-used registers are really clobbered.
(divmodqi4, udivmodqi4, divmodhi4, udivmodhi4, divmodsi4, udivmodsi4):
New. Both quotient and remainder from one libgcc.S call.
* config/avr/libgcc.S: Optimize mul/divmod for the new insns above,
clobber as few registers as possible.
* config/avr/t-avr (LIB1ASMFUNCS): Adjust for the above changes.
From-SVN: r39155
Richard Kenner [Sat, 20 Jan 2001 13:40:23 +0000 (08:40 -0500)]
Reinstall 1.245 -> 1.246 change
From-SVN: r39154
Neil Booth [Sat, 20 Jan 2001 09:34:13 +0000 (09:34 +0000)]
* gcc.dg/cpp/macro3.c,macro4.c,strp1.c: Update.
From-SVN: r39153
Neil Booth [Sat, 20 Jan 2001 09:33:01 +0000 (09:33 +0000)]
cppmacro.c (funlike_invocation_p): Don't move back up to the context of the top of the stack.
* cppmacro.c (funlike_invocation_p): Don't move back up to the
context of the top of the stack.
From-SVN: r39152
Zack Weinberg [Sat, 20 Jan 2001 09:12:08 +0000 (09:12 +0000)]
[multiple changes]
2001-01-20 Jakub Jelinek <jakub@redhat.com>
* function.c (fixup_var_refs): Move CALL_PLACEHOLDER handling...
(fixup_var_refs_insns): ...here.
* gcc.c-torture/compile/
20010118-1.c: New test.
2001-01-20 Zack Weinberg <zack@wolery.stanford.edu>
* function.c (fixup_var_refs_insns): Break up into
fixup_var_refs_insn [body of loop], fixup_var_refs_insns
[loop over entire insn list], and fixup_var_refs_insns_with_hash
[loop over hash table entries].
(fixup_var_refs): Adjust calls to fixup_var_refs_insns and/or
fixup_var_refs_insns_with_hash, to match above changes.
From-SVN: r39151
Jeff Law [Sat, 20 Jan 2001 08:45:16 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39150
Gabriel Dos Reis [Sat, 20 Jan 2001 05:09:08 +0000 (05:09 +0000)]
tests.exp: New file.
2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* testsuite/libstdc++.tests/tests.exp: New file.
* testsuite/lib/libstdc++.exp: Itou.
* testsuite/README: Itou.
From-SVN: r39149
Gabriel Dos Reis [Sat, 20 Jan 2001 00:55:09 +0000 (00:55 +0000)]
tests_flags.in: Just output the bare minimum to run tests.
2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
* tests_flags.in: Just output the bare minimum to run tests.
Let's the caller do its own arrangement.
* mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
computations.
From-SVN: r39148
Warren Levy [Sat, 20 Jan 2001 00:37:09 +0000 (00:37 +0000)]
SimpleDateFormat.java (format): Compute hour for cases HOUR_OF_DAY1_FIELD (1-24)...
* java/text/SimpleDateFormat.java (format): Compute hour for cases
HOUR_OF_DAY1_FIELD (1-24), HOUR1_FIELD (1-12), and HOUR0_FIELD (0-11)
correctly. Adjust properly from 0-23 clock hour.
Fixes failure in Mauve test java.text.SimpleDateFormat.Test (format).
From-SVN: r39147
John David Anglin [Fri, 19 Jan 2001 23:37:07 +0000 (23:37 +0000)]
Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Add MAKEOVERRIDES variable.
(libgcc.a): Likewise.
(stmp-multilib): Likewise.
(STAGE2_FLAGS_TO_PASS): Likewise.
From-SVN: r39146
Alexandre Oliva [Fri, 19 Jan 2001 22:31:21 +0000 (22:31 +0000)]
sh.c (prepare_move_operands): Use operands[0] as temporary if no_new_pseudos.
* config/sh/sh.c (prepare_move_operands) [PIC]: Use operands[0] as
temporary if no_new_pseudos.
From-SVN: r39145
Neil Booth [Fri, 19 Jan 2001 22:25:53 +0000 (22:25 +0000)]
* cppinternals.texi: Update.
From-SVN: r39144
Richard Earnshaw [Fri, 19 Jan 2001 21:42:52 +0000 (21:42 +0000)]
* arm.c (arm_init_builtins): Re-enable builtins.
From-SVN: r39143
Jason Merrill [Fri, 19 Jan 2001 21:07:21 +0000 (16:07 -0500)]
* decl2.c (flag_vtable_thunks): Also depend on ENABLE_NEW_GXX_ABI.
From-SVN: r39142
Richard Kenner [Fri, 19 Jan 2001 18:28:58 +0000 (18:28 +0000)]
rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
* rtl.texi (SET, CLOBBER): Document PARALLEL as SET_DEST possibility.
* flow.c (mark_set_1, case PARALLEL): Don't require BLKmode, allow
element to be null, and always expect an EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p, note_stores): Likewise.
* sched-deps.c (sched_analyze_1): Likewise.
* sched-rgn.c (check_live_1, update_live_1): Likewise.
From-SVN: r39141
Richard Kenner [Fri, 19 Jan 2001 18:09:17 +0000 (18:09 +0000)]
regclass.c (max_set_parallel): New variable.
* regclass.c (max_set_parallel): New variable.
(reg_scan): Take it into account in computation of max_parallel.
(reg_scan_mark_refs, case SET): Compute it.
From-SVN: r39140
Richard Kenner [Fri, 19 Jan 2001 18:04:23 +0000 (13:04 -0500)]
alias.c (rtx_equal_for_memref_p, [...]): Don't assume args are REG.
* alias.c (rtx_equal_for_memref_p, case ADDRESSOF): Don't assume
args are REG.
* expr.c (store_constructor): Don't look at MEM_ALIAS_SET unless MEM.
* function.c (assign_parms): Use INTVAL for a CONST_INT.
From-SVN: r39139
Jakub Jelinek [Fri, 19 Jan 2001 18:03:44 +0000 (19:03 +0100)]
* gcc.c-torture/execute/
20010119-1.c: New test.
From-SVN: r39138
Jason Merrill [Fri, 19 Jan 2001 17:11:15 +0000 (12:11 -0500)]
dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl for the abstract instance of an inline function.
* dwarf2out.c (gen_subprogram_die): Don't reuse the in-class decl
for the abstract instance of an inline function.
From-SVN: r39137
Alexandre Oliva [Fri, 19 Jan 2001 16:34:15 +0000 (16:34 +0000)]
Improve ChangeLog entry of previous patch
From-SVN: r39136
Alexandre Oliva [Fri, 19 Jan 2001 16:32:27 +0000 (16:32 +0000)]
reload1.c (move2add_note_store): Treat all registers about which no information is known as potential bases...
* reload1.c (move2add_note_store): Treat all registers about which
no information is known as potential bases, and treat all
registers directly or indirectly derived from it as members of the
same set of values.
(reload_cse_move2add): Adjust accordingly. Take mode and
offset of base register into account.
From-SVN: r39135
Jason Merrill [Fri, 19 Jan 2001 15:23:34 +0000 (10:23 -0500)]
tweak comments
From-SVN: r39134
Jason Merrill [Fri, 19 Jan 2001 15:12:33 +0000 (10:12 -0500)]
decl2.c (arg_assoc_class): Fix double iteration logic.
* decl2.c (arg_assoc_class): Fix double iteration logic.
* init.c (build_delete): Always call convert_force to strip cv-quals.
* decl2.c (flag_new_abi): Depend on ENABLE_NEW_GXX_ABI.
* lang-specs.h: Default ABI depends on ENABLE_NEW_GXX_ABI.
* g++spec.c: Don't look at ENABLE_NEW_GXX_ABI.
From-SVN: r39133
Nathan Sidwell [Fri, 19 Jan 2001 13:32:53 +0000 (13:32 +0000)]
search.c (get_vbase_1): Count only virtual bases.
cp:
* search.c (get_vbase_1): Count only virtual bases.
testsuite:
* g++.old-deja/g++.other/vbase5.C: New test.
From-SVN: r39132
Jakub Jelinek [Fri, 19 Jan 2001 10:35:13 +0000 (11:35 +0100)]
* gcc.c-torture/execute/
20010118-1.c: New test.
From-SVN: r39131
Nathan Sidwell [Fri, 19 Jan 2001 09:27:34 +0000 (09:27 +0000)]
class.c (duplicate_tag_error): Robustify flag clearing.
cp:
* class.c (duplicate_tag_error): Robustify flag clearing.
From-SVN: r39130
Nathan Sidwell [Fri, 19 Jan 2001 09:24:20 +0000 (09:24 +0000)]
cp-tree.h (lookup_template_class): Add complain parm.
cp:
* cp-tree.h (lookup_template_class): Add complain parm.
* decl.c (lookup_namespace_name): Adjust call to
lookup_template_class.
(make_typename_type): Likewise.
* semantics.c (finish_template_type): Likewise.
* pt.c (lookup_template_class): Add complain parm. Adjust.
(tsubst_aggr_type): Pass COMPLAIN down to lookup_template_class.
(tsubst): Likewise.
testsuite:
* g++.old-deja/g++.pt/deduct3.C: New test.
From-SVN: r39129
J"orn Rennecke [Fri, 19 Jan 2001 09:20:14 +0000 (09:20 +0000)]
alias.c (find_base_value): Recognize TRUNCATE.
* alias.c (find_base_value): Recognize TRUNCATE.
(record_set): In PLUS case, invalidate if other summand is also a
base value.
From-SVN: r39128
Nathan Sidwell [Fri, 19 Jan 2001 09:19:33 +0000 (09:19 +0000)]
pt.c (copy_default_args_to_explicit_spec): Preserve object's CV quals.
cp:
* pt.c (copy_default_args_to_explicit_spec): Preserve
object's CV quals. Reorganize.
testsuite:
* g++.old-deja/g++.pt/spec34.C: New test.
From-SVN: r39127
Jeff Law [Fri, 19 Jan 2001 08:45:14 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39126
David Billinghurst [Fri, 19 Jan 2001 07:59:23 +0000 (07:59 +0000)]
* g77.f-torture/compile/
20000601-2.f: New test.
From-SVN: r39125
Gabriel Dos Reis [Fri, 19 Jan 2001 02:52:27 +0000 (02:52 +0000)]
17_intro: Prepare testcases for new style DejaGnu framework.
2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/17_intro: Prepare testcases for new style DejaGnu
framework.
From-SVN: r39124
Per Bothner [Thu, 18 Jan 2001 22:36:23 +0000 (14:36 -0800)]
gcj.texi (Input Options): Mention .java files.
2001-01-18 Per Bothner <per@bothner.com>
* gcj.texi (Input Options): Mention .java files.
From-SVN: r39123
Nathan Sidwell [Thu, 18 Jan 2001 14:27:06 +0000 (14:27 +0000)]
Remove extraneous conflict indicator
From-SVN: r39122
Nathan Sidwell [Thu, 18 Jan 2001 14:25:03 +0000 (14:25 +0000)]
typeck.c (build_modify_expr): Say `initialization' for INIT_EXPRs.
cp:
* typeck.c (build_modify_expr): Say `initialization' for
INIT_EXPRs.
* init.c (build_default_init): Convert to enumeral type, if
needed.
testsuite:
* g++.old-deja/g++.other/init17.C: New test.
From-SVN: r39121
Richard Kenner [Thu, 18 Jan 2001 13:26:47 +0000 (08:26 -0500)]
Fix typos in previous change
From-SVN: r39120
Jakub Jelinek [Thu, 18 Jan 2001 13:24:27 +0000 (14:24 +0100)]
parse.y (nomods_initdcl0): Properly set things up for initdcl0_innards.
* parse.y (nomods_initdcl0): Properly set things up for
initdcl0_innards.
From-SVN: r39119
Richard Kenner [Thu, 18 Jan 2001 13:14:34 +0000 (13:14 +0000)]
flow.c (mark_set_1, [...]): Now case; rework to allow entry to be EXPR_LIST.
* flow.c (mark_set_1, case PARALLEL): Now case; rework to allow
entry to be EXPR_LIST.
* rtlanal.c (reg_overlap_mentioned_p): Allow PARALLEL in SET to
be an EXPR_LIST (but not null, which other code doesn't allow).
(note_stores): Properly handle PARALLEL in SET.
Recursively call for top-level PARALLEL.
* sched-deps.c (sched_analyze_1): Handle EXPR_LIST in PARALLEL in SET.
* sched-rgn.c (check_live_1, update_live_1): Likewise.
From-SVN: r39118
Richard Kenner [Thu, 18 Jan 2001 13:03:43 +0000 (13:03 +0000)]
* config.gcc (rs6000-ibm-aix*, rs6000-bull-bosx): Add rs6000/aix.h.
From-SVN: r39117
Alexandre Oliva [Thu, 18 Jan 2001 12:00:38 +0000 (12:00 +0000)]
* gcc.dg/cpp/if-2.c: Adjust for signed wchar_t.
From-SVN: r39116
Nathan Sidwell [Thu, 18 Jan 2001 09:56:46 +0000 (09:56 +0000)]
pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
cp:
* pt.c (UNIFY_ALLOW_OUTER_LEVEL): New unify flag.
(type_unification_real): Set it.
(unify): Use it.
testsuite:
* g++.old-deja/g++.pt/unify8.C: New test.
From-SVN: r39115
Nathan Sidwell [Thu, 18 Jan 2001 09:39:13 +0000 (09:39 +0000)]
decl.c (finish_destructor_body): Convert to vbase pointer here.
cp:
* decl.c (finish_destructor_body): Convert to vbase pointer here.
testsuite:
* g++.old-deja/g++.abi/vbase1.C: New test.
From-SVN: r39114
Nathan Sidwell [Thu, 18 Jan 2001 09:35:59 +0000 (09:35 +0000)]
semantics.c (begin_class_definition): Check we're not inside a template parm list.
cp:
* semantics.c (begin_class_definition): Check we're not inside a
template parm list.
testsuite:
* g++.old-deja/g++.pt/crash65.C: New test.
From-SVN: r39113
Nathan Sidwell [Thu, 18 Jan 2001 09:33:08 +0000 (09:33 +0000)]
tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of BASELINK_P.
cp:
* tree.c (walk_tree, TREE_LIST): Don't walk the TREE_PURPOSE of
BASELINK_P.
From-SVN: r39112
Jeff Law [Thu, 18 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r39111
Benjamin Kosnik [Thu, 18 Jan 2001 07:24:16 +0000 (07:24 +0000)]
mkcheck.in: Construct file names that match $objdir structure.
2001-01-17 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in: Construct file names that match $objdir structure.
* testsuite/27_io/filebuf_members-1.txt: New file.
* testsuite/27_io/ifstream_members-1.txt: New file.
* testsuite/27_io/ostream_inserter_char-1.txt: New file.
* testsuite/27_io/ios_base_members_static.cc (test02): Add test.
* testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
From-SVN: r39110
Neil Booth [Thu, 18 Jan 2001 06:34:18 +0000 (06:34 +0000)]
* gcc.dg/cpp/assembl2.S: New test case.
From-SVN: r39109
Neil Booth [Thu, 18 Jan 2001 06:32:47 +0000 (06:32 +0000)]
cpplib.c (_cpp_handle_directive): Use buffer->was_skipping, not pfile->skipping (== 0).
* cpplib.c (_cpp_handle_directive): Use buffer->was_skipping,
not pfile->skipping (== 0).
From-SVN: r39108