Commit Graph

37162 Commits

Author SHA1 Message Date
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
Kazu Hirata
f0d1c3bd39 tm.texi (ENCODE_SECTION_INFO): Add documentation on how a tree representing a constant is passed to the macro.
* doc/tm.texi (ENCODE_SECTION_INFO): Add documentation on how
	a tree representing a constant is passed to the macro.

From-SVN: r44836
2001-08-12 23:34:50 +00:00
Richard Henderson
d9f6800d4a rs6000.c (rs6000_elf_asm_out_constructor): New.
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor): New.
        (rs6000_elf_asm_out_destructor): New.                                           * config/rs6000/sysv4.h (CTORS_SECTION_ASM_OP): Remove.
        (DTORS_SECTION_ASM_OP): Remove.                                                 (TARGET_ASM_CONSTRUCTOR, TARGET_ASM_DESTRUCTOR): New.
        (ASM_OUTPUT_INT): Don't hack TARGET_RELOCATABLE for constructors.

From-SVN: r44835
2001-08-12 14:17:43 -07:00
David Edelsohn
6ba5747268 Revert Rainer Orth's Java and gcc.c patch.
From-SVN: r44834
2001-08-12 16:36:22 -04:00
Richard Henderson
270fc29ba6 rs6000.c (rs6000_elf_section_type_flags): Fix thinko wrt TARGET_RELOCATABLE.
* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Fix
        thinko wrt TARGET_RELOCATABLE.

From-SVN: r44832
2001-08-12 10:47:39 -07:00
Gabriel Dos Reis
fabafb4127 *** empty log message ***
From-SVN: r44831
2001-08-12 13:30:32 +00:00
Gabriel Dos Reis
fb294125bb BOGUS
From-SVN: r44830
2001-08-12 13:27:29 +00:00
Gabriel Dos Reis
542d5f94e4 ERROR
From-SVN: r44829
2001-08-12 13:23:29 +00:00
Gabriel Dos Reis
a39652f9db dg-bogus
From-SVN: r44828
2001-08-12 13:21:52 +00:00
Gabriel Dos Reis
644a7320f8 Fix thinko
From-SVN: r44827
2001-08-12 13:17:19 +00:00
Gabriel Dos Reis
dfa8224914 Fix thinko in regexp
From-SVN: r44826
2001-08-12 13:11:01 +00:00
Gabriel Dos Reis
4e982a225f Testcase from PR #3625
From-SVN: r44825
2001-08-12 13:04:39 +00:00
Neil Booth
21c38ecb89 * fix-header.c (cb_file_change): Update prototype.
From-SVN: r44824
2001-08-12 09:49:44 +00:00
Gabriel Dos Reis
fe91fda81a testcase from PR #3406
From-SVN: r44823
2001-08-12 08:53:34 +00:00
Gabriel Dos Reis
1910ae1527 Testcase from PR #3381
From-SVN: r44822
2001-08-12 08:26:01 +00:00
Gabriel Dos Reis
e7e0c3d412 Testcase from PR #3351
From-SVN: r44821
2001-08-12 08:15:30 +00:00
Gabriel Dos Reis
370df4c801 Testcase from PR #3350
From-SVN: r44820
2001-08-12 08:08:42 +00:00
Gabriel Dos Reis
4c8c7b0ddf Testecase from PR #3336
From-SVN: r44819
2001-08-12 08:04:34 +00:00
GCC Administrator
ce55d248ca Daily bump.
From-SVN: r44817
2001-08-12 07:16:09 +00:00
Andrew Cagney
b0e9bc8cc3 Oops, fix check-in date.
From-SVN: r44816
2001-08-12 02:06:34 +00:00
Zack Weinberg
94aca34298 toplev.c (set_float_handler): Make static.
* toplev.c (set_float_handler): Make static.
	* toplev.h: Don't prototype set_float_handler.

	* simplify-rtx.c: Don't include setjmp.h.
	(simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
	New functions.
	(simplify_unary_operation, simplify_binary_operation): Use them,
	via do_float_handler.

	* fold-const.c: Don't include setjmp.h.
	(exact_real_inverse_1): New function.
	(exact_real_inverse): Use it, via do_float_handler.

	* varasm.c: Don't include setjmp.h.
	(assemble_real_1): New function.
	(assemble_real): Use it, via do_float_handler.
	Call internal_error if we get a trap here.

	* c-parse.in, cse.c, cselib.c, ch/lex.c, config/i386/i386.c,
	config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.

	* java/lex.h: Don't include setjmp.h.  Don't define
	SET_FLOAT_HANDLER or prototype set_float_handler.

From-SVN: r44815
2001-08-12 01:56:10 +00:00
Zack Weinberg
31cdd4996b defaults.h: Define PREFERRED_STACK_BOUNDARY to STACK_BOUNDARY if not already defined.
* defaults.h: Define PREFERRED_STACK_BOUNDARY to
	STACK_BOUNDARY if not already defined.

	* calls.c, function.c, reload1.c, explow.c: Don't default
	PREFERRED_STACK_BOUNDARY.  Remove all #if/#ifdef on
	PREFERRRED_STACK_BOUNDARY and/or STACK_BOUNDARY.

	* explow.c (allocate_dynamic_stack_space): Change unsafe #if
	to run-time test.

	* doc/tm.texi: Document that STACK_BOUNDARY is required;
	clarify difference between it and PREFERRED_STACK_BOUNDARY.

From-SVN: r44814
2001-08-12 01:46:15 +00:00
Neil Booth
2b2202656c cppmacro.c (enter_macro_context): Push macro expansions even if empty.
* cppmacro.c (enter_macro_context): Push macro expansions even
	if empty.

From-SVN: r44813
2001-08-11 22:20:20 +00:00
Franz Sirl
d0101753fe rs6000.c: Include integrate.h to silence warning.
2001-08-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
	* config/rs6000/rs6000.c: Include integrate.h to silence warning.
	(rs6000_elf_section_type_flags): Actually return a value.

From-SVN: r44812
2001-08-11 21:27:05 +00:00
Ulrich Weigand
994fe6604b Coding style cleanup.
From-SVN: r44811
2001-08-11 21:09:37 +00:00
Ulrich Weigand
f314b9b168 Bring s390 backend back in sync with branch.
From-SVN: r44810
2001-08-11 20:56:12 +00:00
Richard Henderson
dddba20582 rtl.h (REG_EH_RETHROW): Remove.
* rtl.h (REG_EH_RETHROW): Remove.
        * rtl.c (reg_note_name): Update.
        * combine.c (distribute_notes): Don't check for it.

From-SVN: r44809
2001-08-11 13:45:09 -07:00
Gabriel Dos Reis
f6a91eb09f New test from PR #3242
From-SVN: r44808
2001-08-11 20:35:58 +00:00
Gabriel Dos Reis
598f25beb6 New test from PR #3230
From-SVN: r44807
2001-08-11 20:21:55 +00:00
Richard Henderson
ab61c93f12 * combine.c (distribute_notes): Place REG_SETJMP.
From-SVN: r44806
2001-08-11 13:16:12 -07:00