Commit Graph

31470 Commits

Author SHA1 Message Date
Mark Mitchell 81dfdc485e std_cmath.h (abs): Change extern "C" declaration of `abs (double)' to ...
* include/c/bits/std_cmath.h (abs): Change extern "C" declaration
	of `abs (double)' to ...
	(fabs): this.

From-SVN: r37413
2000-11-13 00:43:39 +00:00
Mark Mitchell b5430af63f os_defines.h: Define __EXTENSIONS__.
* config/os/solaris/solaris2.7/bits/os_defines.h: Define
	__EXTENSIONS__.

From-SVN: r37412
2000-11-13 00:25:40 +00:00
Bruce Korb f6820157d1 generalize the release script a bit
From-SVN: r37411
2000-11-13 00:25:21 +00:00
Mark Mitchell 2f86842d45 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
From-SVN: r37410
2000-11-13 00:19:37 +00:00
Jakub Jelinek 0c0ba09c8c * reload1.c (set_label_offsets): Go inside of PARALLELs.
From-SVN: r37409
2000-11-12 23:52:35 +01:00
Joseph Myers 84a0e7b854 * invoke.texi: Clean up option summary.
From-SVN: r37408
2000-11-12 19:17:59 +00:00
Nick Clifton 4816b8e47a Fix comment formating, and adjust sequence of #include headers.
From-SVN: r37407
2000-11-12 18:40:22 +00:00
Marc Espie ee7692d2fd configure.in: Fix filds test.
* configure.in: Fix filds test.
	* configure: Regen.

From-SVN: r37406
2000-11-12 14:06:23 +00:00
Mark Mitchell f8c4f86051 jump.c (delete_computation): Don't assume that just becuase an instruction sets a register...
* jump.c (delete_computation): Don't assume that just becuase an
	instruction sets a register, that register is dead.

From-SVN: r37405
2000-11-12 13:01:37 +00:00
Neil Booth b528a07e0e cppexp.c: Don't worry about pfile->skipping.
* cppexp.c: Don't worry about pfile->skipping.
        * cpplib.c (struct if_stack): Make was_skipping unsigned char.
        (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
        for handled directives.
        (skip_rest_of_line): Use _cpp_lex_token after popping contexts
        and releasing lookaheads.
        (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
        (do_else, do_elif, push_conditional): Update logic.
        (do_endif): Set buffer->was_skipping rather than pfile->skipping.
        (unwind_if_stack): Inline into cpp_pop_buffer.
        (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
        * cpplex.c (_cpp_lex_token): Clear skipping on EOF.  Handle
        multiple-include optimisation.
        * cpplib.h (struct cpp_buffer): New member was_skipping.
        * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping.  This
        works because skipping == 0 in directives.
        (_cpp_release_lookahead): Renamed from release_lookahead.
        (cpp_get_token): No need to check skipping as _cpp_get_token does
        this for us.  No need to handle MI optimisation.

From-SVN: r37404
2000-11-12 11:46:21 +00:00
Jeff Law 46bdc296a8 Daily bump.
From-SVN: r37403
2000-11-12 01:45:08 -07:00
Mark Mitchell 995c461cce inclhack.def (sunos_matherr_decl): Bypass matherr declarations that use `__MATH_EXCEPTION' in their prototypes, too.
* fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
	declarations that use `__MATH_EXCEPTION' in their prototypes, too.
	* fixinc/fixincl.x: Regenerated.

From-SVN: r37402
2000-11-12 04:16:07 +00:00
Bruce Korb 56a77e1e84 avoid commenting out #endifs
From-SVN: r37401
2000-11-12 03:37:33 +00:00
Mark Mitchell 8d8523fe52 basic_file.h (__basic_file): Don't use __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined.
* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
	when _GLIBCPP_USE_WCHAR_T is not defined.

From-SVN: r37400
2000-11-12 03:27:10 +00:00
Zack Weinberg 72aaffbd37 configure.in: Don't add $outputs to all_lang_makefiles.
* configure.in: Don't add $outputs to all_lang_makefiles.  Add
	$srcdir/$s/Makefile.in if it exists.
	* configure: Regenerate.

From-SVN: r37399
2000-11-12 02:09:33 +00:00
Mark Mitchell bbdd639d33 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
From-SVN: r37398
2000-11-12 01:50:39 +00:00
Mark Mitchell 8a3d997e53 * gcc_build: Add -o option for setting the objdir to use.
From-SVN: r37397
2000-11-12 00:29:37 +00:00
Jason Merrill d96a6d1a1c function.c (assign_parms): If TREE_ADDRESSABLE is set...
* function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
        give the parm a register and then call put_var_into_stack.
        * stmt.c (expand_decl): Likewise.

cp/
        * typeck.c (mark_addressable): Don't call put_var_into_stack.

From-SVN: r37396
2000-11-11 19:11:47 -05:00
Mark Mitchell 5696467825 err-msg8.C: Avoid capricious line-number issues with error messages.
* g++.brendan/err-msg8.C: Avoid capricious line-number issues with
	error messages.

From-SVN: r37395
2000-11-11 23:59:50 +00:00
Jason Merrill 492cca2489 decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics in inlines.
* decl.c (maybe_commonize_var): Set DECL_UNINLINABLE for statics
        in inlines.

From-SVN: r37394
2000-11-11 18:50:20 -05:00
Joseph Myers 8ee322c993 * gcc.texi: Adjust wording.
From-SVN: r37393
2000-11-11 23:44:24 +00:00
Mark Mitchell b72bd9c21a p700.C: Don't typedef wchar_t.
* g++.mike/p700.C: Don't typedef wchar_t.
	* g++.mike/p784.C: Likewise.
	* g++.mike/eb101.C: Don't use __wchar_t.

From-SVN: r37392
2000-11-11 23:23:06 +00:00
Mark Mitchell 8b4c8a8695 inclhack.def (avoid_wchar_t_type): New fix.
* fixinc/inclhack.def (avoid_wchar_t_type): New fix.
	* fininc/fixincl.x: Regenerated.

From-SVN: r37391
2000-11-11 21:40:27 +00:00
Anthony Green ac51395dc0 jcf-parse.c (process_zip_dir): Add finput parameter.
2000-11-11  Anthony Green  <green@redhat.com>

	* jcf-parse.c (process_zip_dir): Add finput parameter.
	(jcf_figure_file_type): Call process_zip_dir with appropriate
	argument.

From-SVN: r37390
2000-11-11 20:19:42 +00:00
Toon Moene da909756e6 20001111.[fx]: Test premature exit from DO loop.
2000-11-11  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.f-torture/execute/20001111.[fx]: Test premature exit
	from DO loop.

From-SVN: r37389
2000-11-11 20:05:48 +00:00
Philip Blundell 0bbd37ed8c Add self to MAINTAINERS file.
From-SVN: r37388
2000-11-11 17:12:33 +00:00
Bernd Schmidt 3e5c33c0b7 New execution test.
From-SVN: r37387
2000-11-11 14:09:42 +00:00
Joseph Myers 639726baa5 * invoke.texi: Correct spelling of -foptimize-register-move.
From-SVN: r37386
2000-11-11 14:00:12 +00:00
Neil Booth 4c2b647d42 Remove CPP_PLACEMARKERs
* cppexp.c (lex): Don't handle CPP_PLACEMARKER.
	* cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
	* cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
	           Similarly.
	* cpplib.h: Remove CPP_PLACEMARKER.
	(struct lexer_state): Rename skip_newlines to next_bol.
	* cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
	Simplify prev_white handling as a result.
	(paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
	(parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
	(parse_args): Similarly.  Update argument count tests.
	(enter_macro_context): Return 2 to indicate an empty macro.
	(replace_args): Don't bother pre-expanding an empty argument.
	Handle placemarkers and ## extension during pre-expansion.
	(cpp_get_token): Handle empty macro expansions.  Don't worry
	about CPP_PLACEMARKERs.
	(_cpp_create_definition): Empty macros are now empty.
	(cpp_macro_defintion): Don't special case empty macros.
	* scan-decls.c: Don't bother with CPP_PLACEMARKERs.
	* c-lex.c: Similarly.

From-SVN: r37385
2000-11-11 13:19:01 +00:00
Jeff Law 1e8ba2a38c * release: New file.
From-SVN: r37384
2000-11-11 12:30:16 +00:00
Joseph Myers c1030c7c86 gcc.texi, [...]: Add new section discussing language standards...
* gcc.texi, invoke.texi: Add new section discussing language
	standards; link to it where appropriate; refer to ISO C instead of
	ANSI C.

From-SVN: r37383
2000-11-11 10:06:22 +00:00
Jeff Law 0babc59ad8 Daily bump.
From-SVN: r37382
2000-11-11 01:45:08 -07:00
Alexandre Oliva 3650b6953d builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY into account.
* builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
into account.

From-SVN: r37381
2000-11-11 06:04:59 +00:00
Alexandre Oliva 93a7784807 sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP modes.
* config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
modes.

From-SVN: r37380
2000-11-11 05:54:02 +00:00
Phil Edwards 585ddf9c47 codecvt.h (__iconv_adaptor): New adaptor function...
2000-11-10  Phil Edwards  <pme@sources.redhat.com>

	* include/bits/codecvt.h (__iconv_adaptor):  New adaptor function,
	  courtesy of Alexandre Oliva, to handle const/non-const signatures.
	  (codecvt::do_out):  Use.
	  (codecvt::do_in):  And here.

From-SVN: r37379
2000-11-11 00:37:45 +00:00
Rodney Brown d2ea6600c8 * Make-lang.in: Remove OUTPUT_OPTION from g77version.o target.
From-SVN: r37378
2000-11-10 13:29:53 -08:00
Toon Moene edf9f6c7a4 root.texi: Remove non-historical EGCS reference.
2000-11-10  Toon Moene  <toon@moene.indiv.nluug.nl>

	* root.texi: Remove non-historical EGCS reference.
	Set current g77 version to 0.5.26.

From-SVN: r37377
2000-11-10 20:38:05 +00:00
Toon Moene a8d0a42e36 com.c (ffecom_stabilize_aggregate_) [case RTL_EXPR]: Abort.
2000-11-10  Toon Moene  <toon@moene.indiv.nluug.nl>

	* com.c (ffecom_stabilize_aggregate_) case RTL_EXPR:
	Abort.

From-SVN: r37376
2000-11-10 20:36:15 +00:00
Nick Clifton 93ae2b3e06 Add test of unsigned long long multuiple and accumulate.
From-SVN: r37375
2000-11-10 19:27:35 +00:00
Joseph Myers 9a5a13c9bd * gcc.texi, gcov.texi: Update dates and version numbers.
From-SVN: r37374
2000-11-10 19:01:31 +00:00
Gabriel Dos Reis ca6c441841 * include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
From-SVN: r37373
2000-11-10 17:48:15 +00:00
Gabriel Dos Reis 982b8443e8 localefwd.h (_Count_ones<>::_S_halfcount, [...]): Turn into enumerators.
* include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
	_Count_ones<>::_S_count): Turn into enumerators.

From-SVN: r37372
2000-11-10 17:34:49 +00:00
Zack Weinberg 1e60838877 configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.
* configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.  Look for
	flex and bison, specifically, first in a unified build and
	then installed on the system.
	* Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@.  Rename
	LEXFLAGS to FLEXFLAGS.  Adjust ORDINARY_FLAGS_TO_PASS to
	match.

	(collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
	cppdefault.o): Remove pointless sed munging of source file
	name.

f:
	* Make-lang.in (f/fini.o, f/proj-h.o): Remove pointless sed
	munging of source file name.
	($(srcdir)/f/intdoc.texi): Break up into several rules each of
	which builds just one thing.  Don't mess with $(LANGUAGES).
	(f/ansify.o, f/intdoc.o): Remove unnecessary rules.

From-SVN: r37371
2000-11-10 17:23:09 +00:00
Bernd Schmidt 9532e31f94 Several fixes to make reload handle POST_MODIFY correctly.
From-SVN: r37370
2000-11-10 17:10:29 +00:00
Jeff Law 29e9c0c4f1 libgcc2.c (__shtab): Remove __shtab variable.
* libgcc2.c (__shtab): Remove __shtab variable.
        * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
        * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
        members.
Forgot to commit with above change.

From-SVN: r37369
2000-11-10 09:38:26 -07:00
Mark Mitchell 721de8363b * c-dump.h: New file.
From-SVN: r37368
2000-11-10 16:29:34 +00:00
Kaveh R. Ghazi 4e135bdd14 alpha.c (check_float_value): Use memcpy, not bcopy.
* alpha.c (check_float_value): Use memcpy, not bcopy.
	* arm.c (output_move_double): Likewise.
	* arm.md: Likewise.
	* m88k.c (legitimize_operand): Likewise.
	* m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
	* m88k.md: Likewise.
	* mips.c (override_options): Likewise.
	* mips.md: Likewise.
	* romp.c (output_fpops): Likewise.
	* rs6000.c (rs6000_override_options): Likewise.
	* sh.md: Likewise.
	* vax.c (check_float_value): Likewise.

	* emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
	* expmed.c (synth_mult): Likewise.
	* final.c (add_bb_string): Likewise.
	* genattr.c (main): Likewise.
	* genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
	Likewise.
	* jump.c (thread_jumps): Likewise.
	* prefix.c (save_string): Likewise.
	* real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
	* regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
	* reload1.c (reload, eliminate_regs): Likewise.

cp:
	* decl.c (grokdeclarator, save_function_data): Use memcpy, not bcopy.
	* lex.c (copy_lang_decl): Likewise.

java:
	* decl.c (copy_lang_decl): Use memcpy, not bcopy.
	* jcf-parse.c (jcf_figure_file_type): Likewise.

From-SVN: r37367
2000-11-10 16:01:28 +00:00
Joseph Myers c8abeb44a5 gcc.texi (Service): Update to reflect current practice and location of the GNU service directory.
* gcc.texi (Service): Update to reflect current practice and
	location of the GNU service directory.

From-SVN: r37366
2000-11-10 12:58:07 +00:00
Bernd Schmidt 0c478921bd Fix ia64 float extend splitter crash.
From-SVN: r37365
2000-11-10 11:43:43 +00:00
Bernd Schmidt 6fb8541812 Fix REG_INC note handling in register renamer.
From-SVN: r37364
2000-11-10 10:44:42 +00:00