Commit Graph

30977 Commits

Author SHA1 Message Date
Jakub Jelinek
4c646291f1 alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
	* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
	sure linker can relax even the delay slot mov %g1,%o7, fix output
	formating.

From-SVN: r36912
2000-10-17 23:45:23 +02:00
Kazu Hirata
07e0fe3dae h8300.md: Remove an unnecessary zero_extend expander that is used when not optimizing.
2000-10-17  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.md: Remove an unnecessary zero_extend
	expander that is used when not optimizing.  Output a tab after
	each assembly insns.

From-SVN: r36911
2000-10-17 20:17:35 +00:00
Chandrakala Chavva
10501d8f2f Added new option --target-help.
From-SVN: r36910
2000-10-17 16:07:51 -04:00
Graham Stott
c330e9c1e2 i386.md (testqi_1): Add missing operand prefix for operand 0.
* config/i386/i386.md (testqi_1): Add missing operand prefix
 	for operand 0.
 	* config/i386/i386-protos.h: Add missing prototype.

From-SVN: r36909
2000-10-17 19:12:43 +00:00
Graham Stott
343bf72840 * i386.md (testqi_1): Add missing operand prefix for operand 0.
From-SVN: r36908
2000-10-17 19:05:40 +00:00
Graham Stott
6ea15a909f * i386-protos.h: Add missing prototype.
From-SVN: r36907
2000-10-17 19:01:14 +00:00
Diego Novillo
69ac483175 unix.h (ASM_OUTPUT_MI_THUNK): Symbol _GLOBAL_OFFSET_TABLE should not have a $ prefix when using -mintel-syntax.
2000-10-17  Diego Novillo  <dnovillo@cygnus.com>

	* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
	_GLOBAL_OFFSET_TABLE should not have a $ prefix when
	using -mintel-syntax.

From-SVN: r36906
2000-10-17 14:47:47 -04:00
Joseph Myers
b691cb00a8 c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
* c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
	(format_types): Use it for printf.
	(maybe_read_dollar_number): Add parameter for the kind of format
	involved.  Warn for multiple use for arguments if this is
	inappropriate for the kind of format involved.
	(check_format_info_main): Update calls to maybe_read_dollar_number.

testsuite:
	* gcc.dg/format-xopen-1.c: Update comments; adjust for checking
	for multiple use of arguments with scanf formats; add tests for
	multiple use of arguments.

From-SVN: r36905
2000-10-17 19:16:15 +01:00
J. David Anglin
948eab23d0 inclhack.def (hpux_maxint): Also apply fix to values.h.
* inclhack.def (hpux_maxint): Also apply fix to values.h.
        * fixincl.x: Rebuilt.

From-SVN: r36904
2000-10-17 10:35:12 -06:00
Alexandre Oliva
1651ab853f genrecog.c (write_switch): Return the first condition that needs a label.
* genrecog.c (write_switch): Return the first condition that needs a
label.

From-SVN: r36903
2000-10-17 14:27:53 +00:00
Benjamin Kosnik
a911742751 via Alexandre Oliva <aoliva@redhat.com>
2000-10-17  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	via Alexandre Oliva  <aoliva@redhat.com>
	* libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
	* libsupc++/Makefile.in: Regenerate.
	* src/Makefile.am: Duplicate code.
	* src/Makefile.in: Regenerate.

	* acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
	* aclocal.m4: Regenerate.
	* configure.in: And here.
	* configure: Regenerate.

	* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
	test for SECTION_LDFLAGS.

From-SVN: r36902
2000-10-17 10:12:23 +00:00
Bernd Schmidt
2683ed8d12 Improved sequence point warnings
From-SVN: r36901
2000-10-17 09:34:21 +00:00
Benjamin Kosnik
9ece379a8a Shadow headers would work if libsupc++ was strict about namespaces.
2000-10-16  Benjamin Kosnik  <bkoz@gnu.org>

	Shadow headers would work if libsupc++ was strict about namespaces.
	This only possible if g++ maps std::size_t -> size_t. (Hint hint.)
	* include/c_std/assert.h: Add guards.
	* include/c_std/bits/std_climits.h: Correct typo.
	* include/c_std/ctype.h: Remove #error.

	* libio/libioP.h: Break up extern "C" bits around includes.
	* libio/libio.h: Only include C headers, or else _C_legacy namespaces
	will be nested.
	* libio/libioP.h: Same here.

From-SVN: r36900
2000-10-17 08:25:08 +00:00
Jeff Law
030d2f3414 Daily bump.
From-SVN: r36899
2000-10-17 01:45:08 -06:00
Joseph Myers
652469d0ab decl.c (WINT_TYPE): Define.
* decl.c (WINT_TYPE): Define.
	(init_decl_processing): Create types unsigned_ptrdiff_type_node,
	c_size_type_node, signed_size_type_node and wint_type_node.

From-SVN: r36898
2000-10-17 08:00:06 +01:00
Joseph Myers
74ff46299b c-common.h (warn_missing_format_attribute): New variable.
* c-common.h (warn_missing_format_attribute): New variable.
	* c-decl.c (warn_missing_format_attribute): New variable.
	(c_decode_option): Decode -Wmissing-format-attribute and
	-Wno-missing-format-attribute.
	* c-common.c (check_function_format): If
	-Wmissing-format-attribute, give a warning where a vprintf or
	vscanf function is called by a function without its own printf or
	scanf attribute.
	* toplev.c (documented_lang_options): Add
	-Wmissing-format-attribute.
	* invoke.texi: Document -Wmissing-format-attribute.

cp:
	* decl2.c (warn_missing_format_attribute): New variable.
	(lang_decode_option): Decode -Wmissing-format-attribute.

testsuite:
	* gcc.dg/format-miss-1.c: New test.

From-SVN: r36897
2000-10-17 07:52:06 +01:00
Marc Espie
1d3b0e2c19 invoke.texi (-shared): Insist on requiring code generation flags to be used along with -shared...
2000-10-17  Marc Espie <espie@openbsd.org>

	* invoke.texi (-shared): Insist on requiring code generation flags
	to be used along with -shared, and document the subtle failure that
	may occur otherwise.

From-SVN: r36896
2000-10-17 05:20:14 +00:00
J. David Anglin
1c2171710d * pa.md (return_internal): Move use' after return'.
From-SVN: r36895
2000-10-16 22:43:58 -06:00
Michael Meissner
a5e1b54847 Only create gcc/configargs.h if gcc build directory is present
From-SVN: r36894
2000-10-17 03:00:51 +00:00
Anthony Green
8e7ab3ff22 decl.c (init_decl_processing): Call init_class_processing before anything else.
* decl.c (init_decl_processing): Call init_class_processing before
	anything else.

From-SVN: r36892
2000-10-16 23:45:07 +01:00
Jakub Jelinek
a5ad11e16e * gcc.c-torture/execute/20001013-1.c: New test.
From-SVN: r36891
2000-10-16 21:55:27 +02:00
Kazu Hirata
f2a9645f10 h8300.c: Include ggc.h.
2000-10-16  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.c: Include ggc.h.

From-SVN: r36890
2000-10-16 19:20:38 +00:00
Mark Mitchell
634790f4bd typeck.c (qualify_type): Remove.
* typeck.c (qualify_type): Remove.
	(composite_pointer_type): Fix handling of conversions to `cv void*'.

From-SVN: r36889
2000-10-16 18:41:49 +00:00
Mark Mitchell
ebd5daee50 Replace with URL for FSF service directory
From-SVN: r36888
2000-10-16 17:50:49 +00:00
Diego Novillo
c1f9de5a73 unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using appropriate assembler dialect.
2000-10-13  Diego Novillo  <dnovillo@cygnus.com>

	* config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
	appropriate assembler dialect.

From-SVN: r36887
2000-10-16 12:52:47 -04:00
Theodore Papadopoulo
11f3dc8922 * machmode.def: Correct comment.
From-SVN: r36886
2000-10-16 10:38:49 -06:00
Rodney Brown
47c10e9bf9 print-rtl.c (print_rtx_head): Constify.
* print-rtl.c (print_rtx_head): Constify.
        * rtl.h (print_rtx_head): Similarly.

From-SVN: r36885
2000-10-16 10:24:54 -06:00
Rodney Brown
0952f89b95 pa-protos.h (output_64bit_and, [...]): Constify char * return value.
* config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
        Constify char * return value.
        * config/pa/pa/pa.c
        (output_64bit_and, output_64bit_ior): Constify char * return value.
        (pa_can_combine_p): Make static.
        (function_arg): Decorate unused `named' argument. Fix comment typo.
        (function_arg_partial_nregs): Decorate unused `named' argument.

From-SVN: r36884
2000-10-16 10:20:23 -06:00
Joseph Myers
6d2e14543b c-common.c (format_check_results): New structure.
* c-common.c (format_check_results): New structure.
	(finish_dollar_format_checking): Adjust to take a
	format_check_results * parameter.
	(check_format_info, check_format_info_recurse,
	check_format_info_main): Split check_format_info into three
	functions, the main checking going in check_format_info_main.
	Recurse when any reduction of the format string argument towards a
	string literal is done; go down both branches of a conditional
	expression.  Don't warn for extra format arguments or empty format
	strings if they only occur in some branches of a conditional
	expression.

testsuite:
	* gcc.dg/format-branch-1.c: New test.

From-SVN: r36883
2000-10-16 17:16:57 +01:00
Diego Novillo
406df25cbe i386.md (*movsi_or): Switch operand order for intel syntax.
2000-10-15  Diego Novillo  <dnovillo@cygnus.com>

	* i386.md (*movsi_or): Switch operand order for intel syntax.

From-SVN: r36882
2000-10-16 12:09:38 -04:00
Matthias Klose
be1db8737b config.if: Search libstdc++-v3/configure.in for INTERFACE, when configured for libstdc++-v3.
* config.if: Search libstdc++-v3/configure.in for INTERFACE,
        when configured for libstdc++-v3.

From-SVN: r36881
2000-10-16 10:00:43 -06:00
Kazu Hirata
4d231df749 h8300.c: Remove obstack.
2000-10-16  Kazu Hirata  <kazu@hxi.com>

	* config/h8300/h8300.c: Remove obstack.

From-SVN: r36880
2000-10-16 13:55:24 +00:00
Joseph Myers
1df1abe2b0 * README, lib/file-format.exp: Remove EGCS references.
From-SVN: r36879
2000-10-16 11:00:23 +01:00
Jakub Jelinek
5514386120 rtlanal.c (may_trap_p): Check operand modes of COMPARE.
* rtlanal.c (may_trap_p): Check operand modes of COMPARE.
	* gcc.dg/20001013-1.c: New test.

From-SVN: r36878
2000-10-16 09:46:09 +02:00
Jeff Law
392e6b81c3 Daily bump.
From-SVN: r36877
2000-10-16 01:45:09 -06:00
Jakub Jelinek
50e29dd80f iostream.cc (ostream::operator<<(double n)): Initialize new fields wide and i18n of struct printf_info.
* iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]:
	Initialize new fields wide and i18n of struct printf_info.
	(ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]:
	Likewise.

From-SVN: r36876
2000-10-16 09:41:01 +02:00
Phil Edwards
60ade93537 configopts.html: Remove libgcc-rebuild; HTML formatting.
2000-10-15  Phil Edwards  <pme@sources.redhat.com>

	* docs/configopts.html:  Remove libgcc-rebuild; HTML formatting.

From-SVN: r36875
2000-10-16 00:20:42 +00:00
Phil Edwards
d6efb49c78 Dummy checkin of footer.html to force web update.
From-SVN: r36874
2000-10-16 00:19:27 +00:00
Joseph Myers
d79d42daae c90-printf-2.c, [...]: Determine the type for intmax_t in the compiler using __typeof__ and the type...
* gcc.dg/c90-printf-2.c, gcc.dg/c90-scanf-2.c: Determine the type
	for intmax_t in the compiler using __typeof__ and the type rules
	for conditional expressions.

From-SVN: r36873
2000-10-15 21:30:17 +01:00
Benjamin Kosnik
1fd2f51018 Makefile.am (toolexeclibdir): Add support fo VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
2000-10-13  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
            Mark Harig  <markh@landmark.com>

	* src/Makefile.am (toolexeclibdir): Add support fo
	VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
	* src/Makefile.in: Regenerate.
	* libsupc++/Makefile.am: Same.
	(glibcppinstalldir): Adjust.
	* libsupc++/Makefile.in: Regenerate.
	* Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
	* Makefile.in: Regenerate.
	* docs/configopts.html: Add descriptions of flags.

Co-Authored-By: Mark Harig <markh@landmark.com>

From-SVN: r36872
2000-10-15 08:45:33 +00:00
Jeff Law
4ccd4a7633 Daily bump.
From-SVN: r36871
2000-10-15 01:45:07 -06:00
Joseph Myers
2f6256e7dc * PROBLEMS: Remove.
From-SVN: r36869
2000-10-14 18:20:53 +01:00
Kaveh R. Ghazi
bb12da9db1 * Makefile.in (parse.c, parse.h): Fix think-o in last patch.
From-SVN: r36868
2000-10-14 14:55:31 +00:00
Joseph Myers
f4d48ea9b1 * gperf-2.7-19981006.pat: Remove.
From-SVN: r36867
2000-10-14 10:56:48 +01:00
Joseph Myers
e8beb82190 * gcc.texi (Contributing): Update.
From-SVN: r36866
2000-10-14 09:23:17 +01:00
Jeff Law
f1f60a6cb3 Daily bump.
From-SVN: r36865
2000-10-14 01:45:08 -06:00
Alexandre Petit-Bianco
a93eddcf62 [multiple changes]
2000-10-11  Rodney Brown  <RodneyBrown@mynd.com>

        * java-tree.h: Constify current_encoding.
        * lang.c: Constify current_encoding.

2000-10-10  Jeff Sturm  <jeff.sturm@appnet.com>

        * jvgenmain.c (class_mangling_suffix): Omit `.'.
        (main): Use `$' when NO_DOLLAR_IN_LABEL is not set, otherwise `.'.

2000-10-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * expr.c (java_lang_expand_expr): Reinstall 1999-08-14 Anthony's
        patch. Fixes gcj/340.

(http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00374.html)

From-SVN: r36864
2000-10-13 14:06:45 -07:00
Alexandre Oliva
f58e0b0ca7 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
From-SVN: r36863
2000-10-13 19:28:07 +00:00
Marek Michalkiewicz
08f8127676 avr.c (output_movhi, [...]): Fix loading constants 1 and 2 to NO_LD_REGS.
* config/avr/avr.c (output_movhi, output_movsisf): Fix loading
	constants 1 and 2 to NO_LD_REGS.

From-SVN: r36862
2000-10-13 21:30:15 +04:00
Kaveh R. Ghazi
4b9454025b Makefile.in (c-parse.c, tradcif.c): Create atomically.
* Makefile.in (c-parse.c, tradcif.c): Create atomically.

	* objc/Make-lang.in (objc-parse.c): Likewise.

cp:
	* Makefile.in (parse.c, parse.h): Create atomically.

java:
	* Make-lang.in (parse.c, parse-scan.c): Create atomically.

	* Makefile.in (parse.c, parse-scan.c): Likewise.

From-SVN: r36861
2000-10-13 16:16:30 +00:00