Commit Graph

33177 Commits

Author SHA1 Message Date
Michael Sokolov
0d5d970bca com.c: Don't explicitly include any time headers...
* com.c: Don't explicitly include any time headers, the right ones are
	already included by proj.h.

From-SVN: r39214
2001-01-23 23:04:35 +00:00
Richard Henderson
eff01bb615 varasm.c (UNIQUE_SECTION): Move default implementation ...
* varasm.c (UNIQUE_SECTION): Move default implementation ...
        * defaults.h: ... here.

From-SVN: r39213
2001-01-23 14:29:30 -08:00
Bryce McKinlay
7c01b2b5a8 configure.in: Enable libgcj on several additional platforms.
* configure.in: Enable libgcj on several additional platforms.

In gcc/java:
	* config-lang.in: Disable java by default.

From-SVN: r39212
2001-01-23 22:17:31 +00:00
Franz Sirl
608ab80216 rs6000.h (rs6000_return_addr): Move prototype from here...
2001-01-23  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.h (rs6000_return_addr): Move prototype from here...
        * rs6000-protos.h (rs6000_return_addr): ...to here.
        (rs6000_init_expanders): Delete prototype.

From-SVN: r39211
2001-01-23 22:03:48 +00:00
Nick Clifton
371e300b1d Replace , with \, inside @gccoptlist macros.
Document %B and %j and %. and %v3 and %M and %{S*&T} spec switches.

From-SVN: r39210
2001-01-23 21:35:15 +00:00
Benjamin Kosnik
3637cfac02 configure.target: Just use os_include_dir always.
2001-01-23  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.target: Just use os_include_dir always.
	* configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
	Link atomicity files and ctype files here.
	* configure: Regenerate.
	* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
	(GLIBCPP_ENABLE_ATOMICITY): Remove.
	* aclocal.m4: Regenerate.

From-SVN: r39209
2001-01-23 20:58:23 +00:00
Tom Tromey
80261b56ed gcj.texi (Copying): New node.
* gcj.texi (Copying): New node.
	Added copyright information.

From-SVN: r39208
2001-01-23 20:09:17 +00:00
Herman A.J. ten Brugge
4a1f52a8d3 * c4x.c (c4x_r11_set_p): Calculate rtx code correctly.
From-SVN: r39207
2001-01-23 19:31:08 +00:00
Chris Demetriou
c933c209dd 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
2001-01-23 19:20:14 +00:00
Chris Demetriou
c8f33f223b 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
2001-01-23 11:18:29 -08:00
Phil Edwards
3fb74b82af 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
2001-01-23 18:36:53 +00:00
Jakub Jelinek
96e60f0c1a 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
2001-01-23 19:36:06 +01:00
Michael Sokolov
909b968ecb * libU77/sys_clock_.c: #include <sys/param.h> for the clock tick rate.
From-SVN: r39202
2001-01-23 18:35:56 +00:00
Jason Merrill
3f4907a608 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
2001-01-23 12:22:08 -05:00
Phil Edwards
9b8fd32cca 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
2001-01-23 17:02:28 +00:00
Andrew Haley
44f715c8ed 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
2001-01-23 13:58:55 +00:00
Nathan Sidwell
92ecdfb74c 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
2001-01-23 10:44:18 +00:00
Nathan Sidwell
4cff6abe40 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
2001-01-23 10:36:26 +00:00
Mark Mitchell
20b11783a3 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
2001-01-23 08:57:34 +00:00
Jeff Law
27902296e0 Daily bump.
From-SVN: r39195
2001-01-23 01:45:09 -07:00
Herman A.J. ten Brugge
eb253d90de 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
2001-01-23 05:28:15 +00:00
Jeffrey A Law
2caa0ddfc9 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
2001-01-22 20:52:54 -07:00
Gabriel Dos Reis
152353171a libstdc++.exp: Improve.
* testsuite/lib/libstdc++.exp: Improve.  Add support for @xxx#
        keyword capability.

        * testsuite/README: Add comment.

From-SVN: r39192
2001-01-23 02:48:27 +00:00
Laurynas Biveinis
56c1d2ee9b [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
2001-01-22 20:51:53 -05:00
Franz Sirl
6aace5d426 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
2001-01-22 22:52:18 +00:00
Franz Sirl
71f123ca19 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
2001-01-22 22:47:25 +00:00
Thomas Pfaff
5dab7f92ce 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
2001-01-22 16:29:53 -05:00
Andres Felipe Vargas
586964a732 * cpp.texi: Fix typos.
From-SVN: r39186
2001-01-22 20:41:04 +00:00
Richard Kenner
f5f5363f77 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
2001-01-22 13:59:36 -05:00
Tom Tromey
a09b9232cd Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (bin_PROGRAMS): Remove grepjar.
	(EXTRA_PROGRAMS): New macro.

From-SVN: r39184
2001-01-22 17:32:28 +00:00
J"orn Rennecke
44e4159d60 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
2001-01-22 16:58:08 +00:00
Nathan Sidwell
62e4a75853 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
2001-01-22 13:51:43 +00:00
Herman A.J. ten Brugge
0bbcfbafc8 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
2001-01-22 10:40:31 +00:00
Herman A.J. ten Brugge
5078f5eb76 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
2001-01-22 10:29:14 +00:00
Jeff Law
1a938e38a0 Daily bump.
From-SVN: r39179
2001-01-22 01:45:08 -07:00
Alan Modra
6dc0d1649d 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
2001-01-22 07:38:18 +00:00
Bryce McKinlay
d340e0ac39 * configure.in: Enable libgcj for linux targets.
From-SVN: r39177
2001-01-22 01:47:11 +00:00
Richard Henderson
c7f0da1dcf 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
2001-01-21 14:33:14 -08:00
Per Bothner
a4796c8062 Various fixes to allow compiling a compressed .jar/.zip archive.
From-SVN: r39175
2001-01-21 13:50:37 -08:00
Per Bothner
b5c4fed92c 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
2001-01-21 13:24:30 -08:00
Per Bothner
3432b91b65 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
2001-01-21 13:18:04 -08:00
Per Bothner
2c36c7fd96 * lang.c (put_decl_node): Print method's name.
From-SVN: r39172
2001-01-21 12:42:13 -08:00
Per Bothner
9c0c88ac0d 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
2001-01-21 12:36:46 -08:00
Per Bothner
230cbd5f4f 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
2001-01-21 12:26:37 -08:00
Per Bothner
e6b6db0dd8 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
2001-01-21 12:18:31 -08:00
Per Bothner
b57300bcff 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
2001-01-21 11:08:10 -08:00
Philipp Thomas
380a627a15 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
2001-01-21 09:48:56 +00:00
Phil Edwards
0505b0467f 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
2001-01-21 09:36:09 +00:00
J"orn Rennecke
02a65aef50 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
2001-01-21 09:19:15 +00:00
Jeff Law
625b1acd10 Daily bump.
From-SVN: r39164
2001-01-21 01:45:07 -07:00