Commit Graph

36891 Commits

Author SHA1 Message Date
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
Gabriel Dos Reis
a60af04ac8 * decl.c (grokdeclarator): Clarify diagnostic message.
From-SVN: r44852
2001-08-13 14:19:25 +00:00
Gabriel Dos Reis
2263345095 XFAIL
From-SVN: r44851
2001-08-13 14:07:18 +00:00
Gabriel Dos Reis
160fb9bc16 New testcase from PR #3816
From-SVN: r44850
2001-08-13 13:59:49 +00:00
Gabriel Dos Reis
fe45ab59ca ostream.tcc (__pad_char): Change toplevel '__fmt' to '__adjust' to avoid shadowing in nested scope.
* include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
      to '__adjust' to avoid shadowing in nested scope.

From-SVN: r44849
2001-08-13 12:59:38 +00:00
Andreas Jaeger
afea858033 unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize register %rip.
* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Don't capitalize
	register %rip.

From-SVN: r44848
2001-08-13 13:18:31 +02:00
Kriang Lerdsuwanakij
3605b283e8 decl2.c (do_nonmember_using_decl): Replace using directive with using declaration in the error message.
* decl2.c (do_nonmember_using_decl): Replace using directive
	with using declaration in the error message.

From-SVN: r44847
2001-08-13 10:03:45 +00:00
Kazu Hirata
5d0cab94d0 * jump.c: Fix formatting.
From-SVN: r44846
2001-08-13 08:27:08 +00:00
Kazu Hirata
7ba7767b1c h8300.md (zero_extendqihi2): Correct the insn length.
* config/h8300/h8300.md (zero_extendqihi2): Correct the insn
	length.

From-SVN: r44845
2001-08-13 07:47:35 +00:00
GCC Administrator
15aafd860b Daily bump.
From-SVN: r44844
2001-08-13 07:17:49 +00:00
Geoffrey Keating
353df065d4 loop.c (check_dbra_loop): Use condjump_label to compute jump_label.
* loop.c (check_dbra_loop): Use condjump_label to compute
	jump_label.

From-SVN: r44841
2001-08-13 06:35:21 +00:00
Geoffrey Keating
5fe2e41b3f rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around to better document the...
* rtl.h: Move prototypes of rtx_alloc and rtvec_alloc around
	to better document the files they're in.

From-SVN: r44840
2001-08-13 06:34:58 +00:00
Zack Weinberg
a2b498cb8a recog.h (struct insn_operand_data): Shrink 'mode' field to 16 bits.
* recog.h (struct insn_operand_data): Shrink 'mode' field
	to 16 bits.

From-SVN: r44839
2001-08-13 04:22:58 +00:00
Isamu Hasegawa
ccea0d8509 backport: regex.c (wcs_regex_compile): Use appropriate string to compare with collating element.
Merge from libc:
* regex.c (wcs_regex_compile): Use appropriate string
to compare with collating element.
Fix the padding for the alignment.

From-SVN: r44838
2001-08-12 22:23:00 -04:00
Kazu Hirata
dc297297ea gcc.c: Fix comment formatting.
* gcc.c: Fix comment formatting.
	* gccspec.c: Likewise.
	* gcov.c: Likewise.
	* gcse.c: Likewise.
	* genemit.c: Likewise.
	* gengenrtl.c: Likewise.
	* genrecog.c: Likewise.
	* gensupport.c: Likewise.
	* ggc-page.c: Likewise.
	* global.c: Likewise.
	* graph.c: Likewise.
	* ifcvt.c: Likewise.
	* integrate.c: Likewise.
	* lcm.c: Likewise.
	* libgcc2.c: Likewise.
	* loop.c: Likewise.
	* mbchar.c: Likewise.
	* optabs.c: Likewise.
	* predict.c: Likewise.
	* prefix.c: Likewise.
	* profile.c: Likewise.
	* protoize.c: Likewise.
	* real.c: Likewise.
	* recog.c: Likewise.
	* regclass.c: Likewise.
	* regmove.c: Likewise.
	* reg-stack.c: Likewise.
	* reload1.c: Likewise.
	* resource.c: Likewise.
	* rtlanal.c: Likewise.
	* rtl.c: Likewise.

From-SVN: r44837
2001-08-12 23:40:53 +00:00