Commit Graph

27627 Commits

Author SHA1 Message Date
Bruce Korb
7d7f30cfa0 use install-bin and install-sh in fixinc's makefile
From-SVN: r33423
2000-04-25 23:03:49 +00:00
Alexandre Petit-Bianco
932207025a re GNATS gcj/181 (gcj crashes on inner classes/interfaces definition/usage.)
Mon Apr 24 14:59:36 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (end_class_declaration): Reset the interface number
        counter.

(This fixes the Java PR #181:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00207.html)

From-SVN: r33422
2000-04-25 15:14:53 -07:00
Nick Clifton
b36f4ed354 Define FUNCTION_ATTRIBUTE_INLINABLE_P, a target macro to allow functions with
target specific attributes to be inlined.

From-SVN: r33421
2000-04-25 21:10:26 +00:00
Kaveh Ghazi
119d24d17a acconfig.h (ENABLE_STD_NAMESPACE, [...]): Delete entries.
* acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
        ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
        ENABLE_GC_ALWAYS_COLLECT): Delete entries.

        * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
        ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
        ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
        for these macros.  Clean up spacing and linewraps.

From-SVN: r33420
2000-04-25 20:30:16 +00:00
Zack Weinberg
c5a047348d [multiple changes]
2000-04-25  Zack Weinberg  <zack@wolery.cumb.org>

	* cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
	commentary.

2000-04-25  Neil Booth  <NeilB@earthling.net>

	Restore previous patch, plus the following fixes:

	* cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
	flags, not CPP_OPEN_PAREN.
	* cpplex.c (expand_token_space, init_token_list,
	cpp_free_token_list): Put the dummy token at list->tokens[-1].
	(_cpp_lex_line, _cpp_lex_file): token list is 0-based.

From-SVN: r33419
2000-04-25 19:32:36 +00:00
Jakub Jelinek
e0075d846d * execute/va-arg-20.c: New test.
From-SVN: r33418
2000-04-25 21:09:01 +02:00
Alexandre Oliva
5ed1279917 * config/i386/freebsd.h (INT_ASM_OP): Define.
From-SVN: r33417
2000-04-25 17:10:04 +00:00
Gabriel Dos Reis
dd14242439 ir.texi: Correct typo.
2000-04-25  Gabriel Dos Reis  <gdr@codesourcery.com>

        * ir.texi: Correct typo.

From-SVN: r33416
2000-04-25 16:56:38 +00:00
Alexandre Petit-Bianco
dc87bfdef1 MethodFailure4.java: New file.
2000-04-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* libjava.compile/MethodFailure4.java: New file.
	* libjava.compile/MethodFailure4.out: New file.

From-SVN: r33415
2000-04-25 15:04:48 +00:00
Jan Hubicka
424a02db69 * loop.c (strength_reduce): Fix typo in the last checkin.
From-SVN: r33413
2000-04-25 12:57:41 +00:00
Richard Kenner
65e14bf592 stor-layout.c (finalize_record_size): Simplify to use existing functions.
* stor-layout.c (finalize_record_size): Simplify to use existing
	functions.
	(compute_record_mode): No longer static.
	* tree.h (compute_record_mode): New declaration.

From-SVN: r33412
2000-04-25 08:15:25 -04:00
Neil Booth
05183359da * Revert previous patch until build failure cause determined.
From-SVN: r33411
2000-04-25 11:57:57 +00:00
Richard Kenner
ac79db28f4 Fix comment
From-SVN: r33410
2000-04-25 07:21:13 -04:00
Richard Henderson
865f50c5a9 combine.c (combine_instructions): Add missing argument to try_combine.
* combine.c (combine_instructions): Add missing argument
        to try_combine.

From-SVN: r33408
2000-04-25 03:54:40 -07:00
Richard Henderson
9d9e5c09bd toplev.c (rest_of_compilation): Delay sibcall optimization until after emit_eh_context.
* toplev.c (rest_of_compilation): Delay sibcall optimization
        until after emit_eh_context.

From-SVN: r33407
2000-04-25 03:13:17 -07:00
Jeff Law
c387f62898 Daily bump.
From-SVN: r33406
2000-04-25 01:45:07 -06:00
Loren J. Rittle
f7f8b18003 mkcheck.in: Report compiler version used for test.
2000-04-24  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in: Report compiler version used for test.  Find
        the built _G_config.h instead of any old installed version.

From-SVN: r33405
2000-04-25 07:41:28 +00:00
Loren J. Rittle
f4dad842c7 ctype.cc (do_toupper): Remove dependence on non-portable/non-existent lookup table.
2000-04-24  Loren J. Rittle  <ljrittle@acm.org>

        * config/generic/ctype.cc (do_toupper): Remove dependence on
        non-portable/non-existent lookup table.
        (do_tolower): Same.

From-SVN: r33404
2000-04-25 07:32:50 +00:00
Felix Natter
45ce1b3498 howto.html: Add bits.
2000-04-24  Felix Natter <fnatter@gmx.net>

	* docs/17_intro/howto.html: Add bits.
	* docs/17_intro/porting-howto.html: New file.

From-SVN: r33403
2000-04-25 06:42:25 +00:00
Benjamin Kosnik
5d89258ae5 [multiple changes]
2000-04-24  Nathan Myers  <ncm@cantrip.org>

	* src/string-inst.cc: More fixing.

2000-04-24  Benjamin Kosnik  <bkoz@gnu.org>

	* bits/stl_iterator.h: Pedantic fixing.
	* bits/std_sstream.h: And here.
	* bits/string.tcc: And here.

2000-04-24  Felix Natter <fnatter@gmx.net>

	* docs/17_intro/howto.html: Add bits.
	* docs/17_intro/porting-howto.html: New file.

2000-04-24  Branko Cibej  <branko.cibej@hermes.si>

        * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
        @libinst_wstring_la@ to libinst-wstring.la when specializing for
        wchar_t, to empty string otherwise.
        * src/Makefile.am: (EXTRA_LTLIBRARIES): New.
        (sources): Remove $(string_sources) and $(wstring_sources).
        (libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
        (libstdc___la_DEPENDENCIES): New.
        (libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.

From-SVN: r33402
2000-04-25 06:39:48 +00:00
Martin v. Löwis
d872905426 New test case.
From-SVN: r33401
2000-04-25 06:01:42 +00:00
Alexandre Petit-Bianco
f2760b279a parse.y (lookup_field_wrapper): Search for final local aliases.
2000-04-19  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (lookup_field_wrapper): Search for final local aliases.
	(resolve_expression_name): Let lookup_field_wrapper search for
	final local aliases. Force the value of `name' if one is found.
	(qualify_ambiguous_name): CONVERT_EXPR is enough to now we have
	an expression name. Fixed comments.

From-SVN: r33400
2000-04-24 23:01:09 -07:00
Martin v. Löwis
c1b177ec68 * decl.c (grokdeclarator): Reject VLAs as members.
From-SVN: r33399
2000-04-25 05:59:26 +00:00
Nick Clifton
aabb6c7408 Do not try to combine a sequence of insns when the second insn has been
replaced by a note.

From-SVN: r33398
2000-04-25 00:40:36 +00:00
Gabriel Dos Reis
a04678ca56 call.c (standard_conversion): Accept conversion between COMPLEX_TYPEs
2000-04-24  Gabriel Dos Reis  <gdr@codesourcery.com>

        * call.c (standard_conversion): Accept conversion between
        COMPLEX_TYPEs

        * cvt.c (ocp_convert): Handle conversion to COMPLEX_TYPE

From-SVN: r33396
2000-04-25 00:11:34 +00:00
Mumit Khan
b633b6c094 gcc.c (load_specs): New static function.
* gcc.c (load_specs): New static function.
        (read_specs): Use it.

From-SVN: r33395
2000-04-24 17:57:46 -06:00
Mumit Khan
03bf1c28ac gcc.c (lookup_compiler): Make multiple passes for case insensitive filesystems.
* gcc.c (lookup_compiler): Make multiple passes for case
        insensitive filesystems.

From-SVN: r33393
2000-04-24 17:35:43 -06:00
Alexandre Petit-Bianco
dfb99c83a6 parse.y (source_start_java_method): Deleted unecessary code.
2000-04-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (source_start_java_method): Deleted unecessary code.
        (patch_method_invocation): Fixed comment.

From-SVN: r33392
2000-04-24 16:27:39 -07:00
Kaveh R. Ghazi
4feeaae33e hashtab.c (hash_pointer, eq_pointer): Make definition static to match prototype.
* hashtab.c (hash_pointer, eq_pointer): Make definition static to
       match prototype.
       (htab_expand): Cast the return value of xcalloc.

From-SVN: r33391
2000-04-24 22:29:09 +00:00
Neil Booth
9c603af2ac cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
* cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
	* cpphash.h (_cpp_check_directive): new.
	* cpplex.c (handle_newline, cpp_free_token_list,
	init_trigraph_map, trigraph_ok, trigraph_replace,
	backslash_start, skip_block_comment, skip_line_comment,
	skip_whitespace, parse_name, parse_number, parse_string,
	copy_comment, _cpp_lex_line, spell_char, spell_string,
	spell_comment, spell_name, spell_other, _cpp_lex_file,
	_cpp_output_list): new.
	(expand_name_space): take length argument.
	(init_token_list): add comment list initialisation.
	(cpp_scan_line): use auto_expand_name_space.  PREV_WHITESPACE
	instead of HSPACE_BEFORE.

	* cpplib.c (_cpp_check_directive): new
	* cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
	DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
	(HSPACE_BEFORE): delete.
	(TTYPE_TABLE): rearrange.
	(struct cpp_toklist): update.

From-SVN: r33390
2000-04-24 22:07:36 +00:00
Kaveh R. Ghazi
91029a2953 aclocal.m4 (gcc_AC_HEADER_STRING, [...]): Use the three argument form of AC_DEFINE.
* aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
	gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
	argument form of AC_DEFINE.

	* configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
	HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
	WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
	HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
	HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.

	* acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.

From-SVN: r33389
2000-04-24 21:20:14 +00:00
Kaveh R. Ghazi
3c9a2b5561 Makefile.in (GCC_FOR_TARGET, [...]): Use -isystem, not -I, for including system headers.
* Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
        deduced.h): Use -isystem, not -I, for including system headers.

From-SVN: r33388
2000-04-24 20:12:12 +00:00
Nick Clifton
aaceac0baa Fix bug building libgcc:
Do not generate small add insn if the source register is eliminable.

From-SVN: r33387
2000-04-24 18:48:41 +00:00
Zack Weinberg
ac09f4822b decl2.c (finish_file): Remove double setup for accounting compile time.
* decl2.c (finish_file): Remove double setup for accounting
	compile time.

From-SVN: r33386
2000-04-24 18:42:22 +00:00
Kaveh R. Ghazi
f6cbf6727d configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant call to AC_MSG_RESULT.
* configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
       call to AC_MSG_RESULT.

From-SVN: r33385
2000-04-24 18:23:19 +00:00
Martin v. Löwis
9762e8a456 invoke.texi: Correct grammatical errors...
* invoke.texi: Correct grammatical errors, document
	-fno-gnu-keywords as identical to -fno-asm for C++.

From-SVN: r33384
2000-04-24 18:03:42 +00:00
Kaveh R. Ghazi
99e757d510 aclocal.m4: (GCC_HEADER_STRING...
* aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
        GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
        GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
        AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
        EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.

        * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
        GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
        GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
        GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
        new macros names.

From-SVN: r33383
2000-04-24 17:45:50 +00:00
Magnus Fromreide
be961d574a sstream: New file.
* sstream: New file.
	* Makefile.in (HEADERS): Add it.

From-SVN: r33380
2000-04-24 17:31:57 +00:00
Mumit Khan
a2702aa12b c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2000-04-24  Mumit Khan  <khan@xraylith.wisc.edu>

	* c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
	(pop_alignment): Likewise.
	(handle_pragma_token): Likewise.

From-SVN: r33379
2000-04-24 17:24:45 +00:00
Robert Lipe
e60a8c2604 Respective ChangeLogs for common, cp/, java/
Respective ChangeLogs for common, cp/, java/
        * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
        * cp-tree.h (lang_type): Member `language' now ENUM_BITFIELD.
        * parse.h (_jdep): Member `kind' now ENUM_BITFIELD.

From-SVN: r33378
2000-04-24 16:17:04 +00:00
Jeff Sturm
448415dcae natFirstThread.cc (run): Initialize class before calling main.
* gnu/gcj/runtime/natFirstThread.cc (run): Initialize class before
	calling main.

From-SVN: r33377
2000-04-24 15:07:16 +00:00
Hiroyuki Machida
5fb7c24702 combine.c (try_combine): Update reg_nonzero_bits of newi2pat before newpat.
* combine.c (try_combine): Update reg_nonzero_bits of
        newi2pat before newpat.

From-SVN: r33376
2000-04-24 02:46:15 -06:00
Jan Hubicka
ce7de04c2b loop.c (strength_reduce): Simplify test to INSN_P.
* loop.c (strength_reduce): Simplify test to INSN_P.
	(record_giv): Attempt to simplify the add value, use CONSTANT_P
	expressions instead of CONST_INT.
	(express_from_1): Likewise.

From-SVN: r33375
2000-04-24 08:23:08 +00:00
Mark Mitchell
da668e9c92 regs.h (reg_n_max): Don't declare.
* regs.h (reg_n_max): Don't declare.
	* flow.c (reg_n_max): Don't define.
	* regclass.c (renumber): Don't initialize to zero.
	(regno_allocated): Likewise.
	(reg_n_max): Define.
	(allocate_reg_info): Don't initialize unnecessarily.

From-SVN: r33374
2000-04-24 07:48:12 +00:00
Jeff Law
214701e2c3 Daily bump.
From-SVN: r33373
2000-04-24 01:45:07 -06:00
Mark Mitchell
18a94a2f75 hashtab.h (hash_pointer): Declare.
* hashtab.h (hash_pointer): Declare.
	(eq_pointer): Likewise.

	* hashtab.c (hash_pointer): New function.
	(eq_pointer): Likewise.
	(htab_hash_pointer): New variable.
	(htab_eq_pointer): Likewise.

From-SVN: r33372
2000-04-24 07:29:11 +00:00
Benjamin Kosnik
7d78e330d1 new.cc (set_new_handler): Needs to be in std::.
2000-04-23  Benjamin Kosnik  <bkoz@cygnus.com>

	* new.cc (set_new_handler): Needs to be in std::.

From-SVN: r33371
2000-04-24 06:59:16 +00:00
Jeffrey A Law
605fba2bca genattrtab.c (find_attr): Initialize unsigned_p, func_units_p and blockage_p in the newly allocated attribute.
* genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
        and blockage_p in the newly allocated attribute.

From-SVN: r33370
2000-04-24 00:45:30 -06:00
Mark Mitchell
6dfbb90977 cp-tree.h (lang_decl): Remove pretty_function_p.
* cp-tree.h (lang_decl): Remove pretty_function_p.
	(DECL_PRETTY_FUNCTION_P): Use TREE_LANG_FLAG_0, not a bit in the
	language-specific node.
	* decl.c (cp_make_fname_decl): Use build_decl, not
	build_lang_decl, to build the variables.
	(grokvardecl): Don't call build_lang_decl for local variables in
	templates.
	(grokdeclarator): Don't call build_lang_decl for local type
	declarations in templates.
	* lex.c (retrofit_lang_decl): Use ggc_alloc_obj to allocated
	zero'd memory, rather than calling memset.
	* pt.c: Include hashtab.h.
	(local_specializations): New variable.
	(retrieve_local_specialization): Use it.
	(register_local_specialization): Likewise.
	(tsubst_decl): Don't assume local variables have
	DECL_LANG_SPECIFIC.
	(instantiate_decl): Set up local_specializations.
	* Makefile.in (HTAB_H): New variable.

From-SVN: r33369
2000-04-24 06:41:16 +00:00
Mark Mitchell
b51024fc89 * sort.c (sort_pointers): Fix endianness bugs.
From-SVN: r33368
2000-04-24 05:52:07 +00:00