Commit Graph

37305 Commits

Author SHA1 Message Date
Andreas Schwab
2e0aa8179f std_limits.h [...]: Define appropriate long double limits for m68k extended floating point.
* include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
	Define appropriate long double limits for m68k extended floating
	point.
	(__glibcpp_f32_digits10): Corrected, off by one.
	(__glibcpp_f80_digits10): Likewise.
	(__glibcpp_f128_digits10): Likewise.
	* config/os/gnu-linux/bits/os_defines.h
	(__glibcpp_long_double_bits) [__mc68000__]: Define to 96.

From-SVN: r44924
2001-08-15 15:57:41 +00:00
Jan Hubicka
6ad48e84df predict.c (struct block_info_def): Remove nvisited.
* predict.c (struct block_info_def): Remove nvisited.
	(propagate_freq): Use EDGE_DFS_BACK to detect irreducible regions.
	(estimate_bb_frequencies): Call mark_dfs_back_edges.

	* i386.c (ix86_agi_depdendant): Lea causes AGI only on the Pentium
	(ix86_adjust_cost): Teach scheduler that latency to load operand can
	be masked.

From-SVN: r44921
2001-08-15 12:28:46 +00:00
Jan Hubicka
cc10816d2d * predict.def: Update hitrates.
From-SVN: r44920
2001-08-15 11:24:17 +00:00
Richard Henderson
fd7e958f94 * except.c (TYPE_HASH): Cast to size_t, not HOST_WIDE_INT.
From-SVN: r44919
2001-08-15 00:23:08 -07:00
GCC Administrator
d0420460b5 Daily bump.
From-SVN: r44917
2001-08-15 07:16:16 +00:00
David Billinghurst
c384918318 g77-dg.exp: Use prune.exp for common procedures
2001-08-14  David Billinghurst <David.Billinghurst@riotinto.com>

	* lib/g77-dg.exp:  Use prune.exp for common procedures
	(g77-dg-prune): Replace prune_g77_output with prune_gcc_output
	* lib/g77.exp: (g77-dg-prune) Remove

From-SVN: r44916
2001-08-15 05:59:41 +00:00
Zack Weinberg
61688c33b0 Add cscope(1) databases
From-SVN: r44915
2001-08-15 04:52:54 +00:00
Zack Weinberg
f6084f99fc config.sub: Merge from master sources, rev 1.218.
* config.sub: Merge from master sources, rev 1.218.
	* config.guess: Merge from master sources, rev 1.209.

From-SVN: r44914
2001-08-15 04:27:14 +00:00
Richard Henderson
b5d1cbd2fa class.c, cp-tree.h (build_vfn_ref): Remove.
* class.c, cp-tree.h (build_vfn_ref): Remove.
        * call.c, rtti.c: Replace all refernces with build_vtbl_ref.

From-SVN: r44913
2001-08-14 16:51:27 -07:00
Gabriel Dos Reis
1489e3241e numeric_limits.cc: Add more tests.
* testsuite/18_support/numeric_limits.cc: Add more tests.
      * include/bits/std_limits.h (numeric_limits<char>::max): Fix
      typo.

From-SVN: r44911
2001-08-14 23:34:04 +00:00
Jeffrey A Law
abb788ba5b flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG note from its associated jump.
* flow.c (commit_one_edge_insertion): Don't separate a LOOP_BEG
	note from its associated jump.

From-SVN: r44910
2001-08-14 17:30:16 -06:00
Ulrich Weigand
d9b761a9a1 Define __s390__ also on 64-bit S/390 targets.
From-SVN: r44909
2001-08-14 23:28:00 +00:00
Ulrich Weigand
241a88aac5 Don't define FFETARGET_32bit_longs for 64-bit S/390.
From-SVN: r44908
2001-08-14 23:19:27 +00:00
Ulrich Weigand
354953125e Added atomicity.h header for s390.
From-SVN: r44907
2001-08-14 23:16:57 +00:00
Gabriel Dos Reis
8e0bcac8f3 * include/bits/std_limits.h: Fix thinko.
From-SVN: r44901
2001-08-14 21:06:48 +00:00
Nick Clifton
095bb2765d Handle nested functions which take variable arguments
From-SVN: r44898
2001-08-14 20:49:22 +00:00
Gerald Pfeifer
98999d8b49 install.texi (Specific, avr): Fix markup.
* doc/install.texi (Specific, avr): Fix markup.
	(Specific, c4x): Ditto.

From-SVN: r44896
2001-08-14 20:18:14 +00:00
Matt Kraai
b213a5ca6d * predict.c (dump_prediction): Change bool' parameter to int'.
From-SVN: r44895
2001-08-14 20:03:03 +00:00
Gabriel Dos Reis
c895acf211 Makefile.in (OBJS): Add rtl-error.o
* Makefile.in (OBJS): Add rtl-error.o
	(rtl-error.o): New rule.
	(diagnostic.o): Adjust dependency.
	diagnostic.c (file_and_line_for_asm, diagnostic_for_asm,
	error_for_asm, _fatal_insn, _fatal_insn_not_found,
	warning_for_asm): Move to...
	rtl-error.c: ...here.  New file.

From-SVN: r44894
2001-08-14 19:22:48 +00:00
Richard Henderson
ddee9e8d0d dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame if USING_SJLJ_EXCEPTIONS.
* dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame
        if USING_SJLJ_EXCEPTIONS.

From-SVN: r44893
2001-08-14 12:12:34 -07:00
Steve Ellcey
eb20f66836 tlink.c (scan_linker_output): Check string for unsatisfied in addition to undefined and unresolved.
* tlink.c (scan_linker_output): Check string for unsatisfied in
        addition to undefined and unresolved.

From-SVN: r44892
2001-08-14 11:01:48 -04:00
Graham Stott
540ceb67e0 * libgcc2.c (*): Replace EH_FRAME_SECTION with EH_FRAME_SECTION_NAME.
From-SVN: r44891
2001-08-14 14:06:10 +00:00
Jan Hubicka
2d515d60b3 genattrtab.c (simplify_test_exp_in_temp): New function.
* genattrtab.c (simplify_test_exp_in_temp): New function.
        (simplify_test_exp): Avoid explicit use of temporary obstack.
        (simplify_cond, insert_right_side, evaluate_eq_attr,
        simplify_and_tree, simplify_or_tree, eliminate_known_true):
        Use simplify_test_exp_in_temp.
        (optimize_attrs): Iterate until expression stabilizes.

From-SVN: r44890
2001-08-14 13:01:20 +00:00
Benjamin Kosnik
3119bd48cc Makefile.am: Consolidate target rules.
2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Consolidate target rules. Don't clean stamp
	files. Tweak target build directory stamp.
	* include/Makefile.in: Regenerate.

From-SVN: r44889
2001-08-14 08:46:37 +00:00
Benjamin Kosnik
843312be57 Makefile.am: Consolidate target rules.
2001-08-14  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am: Consolidate target rules. Don't clean stamp
	files. Tweak target build directory stamp.
	* include/Makefile.in: Regenerate.

2

From-SVN: r44888
2001-08-14 08:42:19 +00:00
GCC Administrator
c104edca38 Daily bump.
From-SVN: r44886
2001-08-14 07:16:18 +00:00
Peter Schmid
abfc6eb13b stubs.c: Fix PR/3988, replace _GBLICPP_HAVE_LOGL with HAVE_LOGL
2001-08-14  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

	* libstdc++-v3/libmath/stubs.c: Fix PR/3988, replace
	_GBLICPP_HAVE_LOGL with HAVE_LOGL

From-SVN: r44884
2001-08-14 06:50:58 +00:00
Benjamin Kosnik
4e10943dda configure.in (libtool_VERSION): Add.
2001-08-13  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in (libtool_VERSION): Add.
	(VERSION): Change to
	(release_VERSION): This.
	* configure: Regenerate.
	* src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
	libtool_VERSION.
	* src/Makefile.in: Regenerate.

	* intl/Makefile.am: Remove.
	* intl/Makefile.in: Remove.
	* intl: Remove.
	* Makefile.am (SUBDIRS): Remove intl.
	* po/Makefile.am (DISTFILES): Add string_literals.cc
	(MSGFMT): Add.
	* po/string_literals.cc: Add.
	* po/POTFILES.in: Fix path.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
	* aclocal.m4: Regenerate.
	* configure.in: Remove AC_OUTPUT of intl/Makefile.

	* include/backward/backward_warning.h: Clarify message.

	* testsuite_flags.in (--cxxflags): Use same debug flags for
	library and testsuite.

	* include/Makefile.am (c_compatibility): Remove.
	* include/Makefile.in: Regenerate.

From-SVN: r44880
2001-08-14 01:24:30 +00:00
Ulrich Weigand
881e8e2949 Remove s390x __LONG_MAX__ special case from glimits.h;
define __LONG_MAX__ in CPP_PREDEFINES instead.

From-SVN: r44879
2001-08-14 00:53:23 +00:00
Andrew Cagney
d80dedbe52 floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix name.
* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
name.

From-SVN: r44878
2001-08-14 00:31:41 +00:00
Mark Mitchell
9f3c078ea9 configure.in (LIMITS_INC_SRCDIR): New variable.
* configure.in (LIMITS_INC_SRCDIR): New variable.
	* configure.target (LIMITSH): New variable.
	* porting.texi: Discuss numeric limits.
	* config/cpu/generic/bits/limits.h: New file.
	* config/cpu/i386/bits/limits.h: New file.
	* include/Makefile.am: Install bits/limits.h.
	* include/bits/c++config: Include bits/limits.h.

From-SVN: r44877
2001-08-13 22:26:11 +00:00
Richard Henderson
f22db2ef6d unknown-elf.h (CTOR_LIST_BEGIN, [...]): Remove.
* config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
        (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
        * config/arm/conix-elf.h: Likewise.

From-SVN: r44874
2001-08-13 15:05:16 -07:00
Geoffrey Keating
51610b0a5a svr4.h (LINK_SPEC): Don't do -Wl, here, it is done in gcc.c.
* config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
	in gcc.c.
	* config/rs6000/sysv4.h (LINK_SPEC): Likewise.

From-SVN: r44873
2001-08-13 21:43:42 +00:00
Geoffrey Keating
eb296bd9be gcse.c (hash_scan_set): Expressions that are set as part of jump instructions are not available.
* gcse.c (hash_scan_set): Expressions that are set as part of
	jump instructions are not available.

From-SVN: r44872
2001-08-13 21:42:10 +00:00
Tom Tromey
586b870d4f SampleModel.java (getPixel): Set correct array element.
* java/awt/image/SampleModel.java (getPixel): Set correct array
	element.  From Chris Meyer.

From-SVN: r44871
2001-08-13 21:38:07 +00:00
Ulrich Weigand
7ee20eba4a Fixed HOST_WIDE_INT type mismatch.
From-SVN: r44870
2001-08-13 21:25:39 +00:00
Richard Henderson
02c9b1ca81 xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
* config/rs6000/xcoff.h (EH_FRAME_IN_DATA_SECTION): New.
        * defaults.h (EH_FRAME_SECTION_NAME): Respect it.
        * doc/tm.texi (Exception Region Output): Document it.

From-SVN: r44869
2001-08-13 14:14:01 -07:00
Mark Mitchell
63d6f87a6d call.c (build_over_call): Mark COMPOUND_EXPRs generated for empty class assignment as having side-effects...
* call.c (build_over_call): Mark COMPOUND_EXPRs generated for
	empty class assignment as having side-effects to avoid
	spurious warnings.

From-SVN: r44868
2001-08-13 21:07:22 +00:00
H.J. Lu
7db1993723 libstdc++-v3-dg.exp (libstdc++-v3-copy-files): New.
2001-08-13  H.J. Lu  (hjl@gnu.org)

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-copy-files):
	New. Copy files.
	(libstdc++-v3-init ): Use it.

From-SVN: r44866
2001-08-13 13:43:13 -07:00
Geoffrey Keating
99e2a354fd sysv4.h (PREFERRED_DEBUGGING_TYPE): Use DWARF2 instead of stabs by default.
* config/rs6000/sysv4.h (PREFERRED_DEBUGGING_TYPE): Use
	DWARF2 instead of stabs by default.

From-SVN: r44865
2001-08-13 19:17:05 +00:00
Alexandre Petit-Bianco
11cdfad624 Matrix4f.java: New file.
2001-08-12  Alexandre Petit-Bianco  <apbianco@redhat.com>

	* libjava.lang/Matrix4f.java: New file.
	* libjava.lang/Matrix4f.out: New file.

(http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00737.html)

From-SVN: r44864
2001-08-13 11:06:22 -07:00
David Edelsohn
2fc1c679ff * config/rs6000/rs6000.c: Include optabs.h.
From-SVN: r44863
2001-08-13 14:05:43 -04:00
David Edelsohn
710fdaadee eabi.asm: Define 64-bit versions of FPR save/restore routines.
* config/rs6000/eabi.asm: Define 64-bit versions of FPR
        save/restore routines.
        * ginclude/ppc-asm.h: Define 64-bit FUNC_* macros.

From-SVN: r44862
2001-08-13 13:37:17 -04:00
Jason Merrill
3d146acbef * lib/scanasm.exp (scan-assembler*): Use expr instead of concat.
From-SVN: r44861
2001-08-13 13:31:44 -04:00
Andreas Jaeger
1675749548 gcc.c (init_spec): Revert last patch by Theodore Papadopoulo, the english is correct.
* gcc.c (init_spec): Revert last patch by Theodore Papadopoulo,
	the english is correct.

From-SVN: r44860
2001-08-13 18:41:20 +02:00
Zack Weinberg
e78d8e5137 expr.h: Split out optab- and libfunc-related code to...
* expr.h: Split out optab- and libfunc-related code to...
	* optabs.h, libfuncs.h: ... these new headers.

	* Makefile.in (CONFIG_H, EXPR_H): Take out insn-codes.h.
	(OPTABS_H): New.
	(various .o rules): Add $(OPTABS_H) and/or libfuncs.h to
	dependencies.
	* mkconfig.sh: Don't include insn-codes.h from config.h.

	* reload.h: Use #ifdef GCC_INSN_CODES_H to decide whether
	enum insn_code is available.  Move reload_in_optab and
	reload_out_optab array declarations to optabs.h.
	* regmove.c (gen_add3_insn): Move to optabs.c, export from
	there, prototype in expr.h.
	* gencodes.c: Cleanup: zap global variables, don't use
	printf where puts will do, don't bother defining MAX_INSN_CODE
	which nothing uses, let CODE_FOR_nothing get its value implicitly.

	* genemit.c, genopinit.c: Include optabs.h in generated file.
	* genoutput.c: Include insn-codes.h in generated file.
	* builtins.c, caller-save.c, combine.c, doloop.c, explow.c,
	expmed.c, expr.c, function.c, ifcvt.c, loop.c, optabs.c, profile.c,
	reload1.c, simplify-rtx.c, stmt.c, unroll.c, config/alpha/alpha.c,
	config/arm/arm.c, config/c4x/c4x.c, config/clipper/clipper.c,
	config/i386/i386.c, config/ia64/ia64.c, config/mn10300/mn10300.c,
	config/pj/pj.c, config/sh/sh.c, config/sparc/sparc.c:
	Include optabs.h.
	* builtins.c, calls.c, dwarf2out.c, except.c, expr.c, function.c,
	optabs.c, stmt.c, config/c4x/c4x.c, config/clipper/clipper.c,
	config/m88k/m88k.c, config/sparc/sparc.c:
	Include libfuncs.h.
	* reload.c: Include expr.h and optabs.h before reload.h.
	* config/alpha/alpha.c: Include tree.h before reload.h.
	* config/pa/pa.c: Include expr.h, optabs.h, libfuncs.h,
	and reload.h in that order.
	* config/sparc/sparc.c: Include debug.h.
	* recog.c: Include insn-codes.h.

cp:
	* Make-lang.in (cp/except.o): Add libfuncs.h to dependencies.
	* except.c: Include libfuncs.h.
java:
	* Make-lang.in (java/decl.o): Update dependencies.
	* decl.c: Include libfuncs.h, don't include toplev.h.

From-SVN: r44858
2001-08-13 15:56:51 +00:00
Andreas Jaeger
050e4ca284 config.gcc: Use t-slibgcc-elf to build shared libgcc_s on s390*linux.
* config.gcc: Use t-slibgcc-elf to build shared libgcc_s on
	s390*linux.

From-SVN: r44856
2001-08-13 17:33:12 +02:00
Theodore Papadopoulo
dd49a9ecc4 dwarf2out.c (output_cfa_loc): Fix typo in comment.
* dwarf2out.c (output_cfa_loc): Fix typo in comment.
     * gcc.c (init_spec): Fix typo in comment.
     * varasm.c (data_section): Fix typo in comment.

From-SVN: r44855
2001-08-13 17:14:54 +02:00
Jan Hubicka
e961606cfd * analyze_brprob: Update for changes in gcc debug output.
From-SVN: r44854
2001-08-13 14:34:11 +00:00
Jan Hubicka
d195b46f39 predict.c (dump_prediction): New argument "USED".
* predict.c (dump_prediction): New argument "USED".
	(combine_predictions_for_insn): Determine the used heuristics,
	output the case no heuristic applied.
	* predict.def (PRED_DS_THEORY, PRED_NO_HEURISTIC): New.

From-SVN: r44853
2001-08-13 14:32:06 +00:00