Commit Graph

42718 Commits

Author SHA1 Message Date
Roland McGrath
83248d496d config.gcc (alpha*-*-gnu*): New target configuration.
* config.gcc (alpha*-*-gnu*): New target configuration.
        * config/alpha/gnu.h: New file for it.
        * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.

From-SVN: r52332
2002-04-15 13:44:35 -07:00
Loren J. Rittle
a2b3412ca3 aclocal.m4 (gcc_version_trigger): Use robust path construction.
* aclocal.m4 (gcc_version_trigger): Use robust path construction.
	* configure: Rebuilt.

From-SVN: r52331
2002-04-15 20:42:28 +00:00
Richard Henderson
8fe2d85392 linux.h, [...] (CPP_PREDEFINES): Define __gnu_linux__, not gnu_linux.
* config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
        config/i386/linux-aout.h, config/i386/linux-oldld.h,
        config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
        config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
        config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
        config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
        config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
        Define __gnu_linux__, not gnu_linux.
        * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.

From-SVN: r52329
2002-04-15 13:35:31 -07:00
Mark Mitchell
07cdae91c9 MAINTAINERS: Remove chill maintainers.
* MAINTAINERS: Remove chill maintainers.
	* Makefile.in (CHILLFLAGS): Remove.
	(CHILL_LIB): Remove.
	(TARGET_CONFIGDIRS): Remove libchill.
	(CHILL_FOR_TARGET): Remove.
	(BASE_FLAGS_TO_PASS): Don't pass CHILLFLAGS, CHILL_FOR_TARGET, or
	CHILL_LIB.
	(CONFIGURE_TARGET_MODULES): Remove configure-target-libchill.
	(CHECK_TARGET_MODULES): Likewise.
	(INSTALL_TARGET_MODULES): Likewise.
	(CLEAN_TARGET_MODULES): Likewise.
	(configure-target-libchill): Remove.
	(all-target-libchill): Remove.
	* configure.in (target_libs): Remove target-libchill.
	Do not compute CHILL_FOR_TARGET.
	* libchill: Remove directory.

	Remove Chill front end.
	* gcc.c (default_compilers): Remove Chill entries.
	* ch: Remove directory.
	* doc/frontends.texi: Remove information about Chill.
	* doc/sourcebuild.texi: Likewise.
	* doc/standards.texi: Likewise.

	* testsuite/lib/chill.exp: Remove.

	* g77.texi: Remove Chill reference.

	* gcc_release (build_tarfiles): Do not build Chill tarfiles.
	(CHILL_DIRS): Remove.

From-SVN: r52327
2002-04-15 20:19:23 +00:00
Douglas B Rupp
41823c5eb7 vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
* config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
	(LONGLONG_STANDALONE): Define.

From-SVN: r52323
2002-04-15 06:53:36 -04:00
David S. Miller
eb29ddb63f sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.
2002-04-15  David S. Miller  <davem@redhat.com>

	* config/sparc/sparc.c (sparc_emit_float_lib_cmp):
	Call emit_library_call with LCT_NORMAL.
	(sparc_initialize_trampoline): Use LCT_foo instead of
	magic constant in emit_library_call invocations.
	(sparc64_initialize_trampoline): Likewise.
	(sparc_profile_hook): Likewise.
	* config/sparc/sparc.md: Likewise.

	* config/sparc/sparc.c (sparc_extra_constraint_check):
	Fix type of argument 'c'.
	* config/sparc/sparc-protos.h (sparc_extra_constraint_check):
	Likewise.

From-SVN: r52321
2002-04-15 03:11:16 -07:00
Bryce McKinlay
10aa83c7df re PR java/6085 (gcj SEGVs on complicated inner class structures)
Fix for PR java/6085:
        * parse.y (patch_method_invocation): Always use build_access_to_thisn
        to get enclosing "this" argument for inner-class constructor
        invocation. Pass correct arguments to build_access_to_thisn.

From-SVN: r52318
2002-04-15 10:25:29 +01:00
GCC Administrator
fe55a037f6 Daily bump.
From-SVN: r52317
2002-04-15 07:16:53 +00:00
Mark Wielaard
8be46a7d82 natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
* java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
        * java/net/natSocketImpl.cc (close): Likewise.

From-SVN: r52312
2002-04-15 03:21:00 +00:00
Mark Wielaard
ad8849afb5 Connection.java (usingProxy): return false.
2002-04-14  Mark Wielaard <mark@klomp.org>

        * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.

From-SVN: r52310
2002-04-15 03:15:23 +00:00
Adam King
ddfb5e0b69 natDouble.cc (parseDouble): Allow a number to end with the f/F/d/D modifiers.
2002-04-13  Adam King <aking@dreammechanics.com>

        * java/lang/natDouble.cc (parseDouble): Allow a number to end with
        the f/F/d/D modifiers.

From-SVN: r52308
2002-04-15 03:11:12 +00:00
Gabriel Dos Reis
bd6bec6be2 diagnostic.h (output_buffer_state): Redefine.
* diagnostic.h (output_buffer_state): Redefine.
	(output_format_decoder): New macro.
	(output_prefixing_rule): Likewise.
	(output_line_cutoff): Likewise.
	(diagnostic_format_decoder): Adjust.
	(diagnostic_prefixing_rule): Likewise.
	(diagnostic_line_cutoff): Likewise.
	(diagnostic_state): Likewise.
	(diagnostic_kind_count): Likewise.
	(diagnostic_buffer): Now a macro.

	* diagnostic.c (diagnostic_buffer): Remove definition.
	(output_is_line_wrapping): Adjust.
	(set_real_maximum_length): Likewise.
	(output_set_maximum_length): Likewise.
	(init_output_buffer): Likewise.
	(lhd_print_error_function): Likewise.
	(output_do_verbatim): Likewise.

cp/
	* error.c (cxx_print_error_function): Adjust call to macros.

From-SVN: r52307
2002-04-14 23:35:36 +00:00
Mark Wielaard
f20c0d98a7 re PR libgcj/6302 (http URLConnection does not support HTTP/1.1 (and chunked transfer encoding))
* libjava.mauve/xfails: Expect failures for PR libgcj/6302 and
        libgcj/6298.

From-SVN: r52305
2002-04-14 22:37:56 +00:00
Jakub Jelinek
0f490a2bde class.c (layout_virtual_bases): Do all dsize computation on trees.
* class.c (layout_virtual_bases): Do all dsize computation on trees.

	* g++.dg/other/big-struct.C: New test.

From-SVN: r52304
2002-04-14 22:55:48 +02:00
Neil Booth
ebef4e8ca7 cpperror.c (print_location): Don't print include chain if line == 0.
* cpperror.c (print_location): Don't print include chain
	if line == 0.
	(cpp_begin_message): Update to use DL_ macros.
	(cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
	cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
	cpp_notice, cpp_notice_from_errno): Remove.
	(cpp_error, cpp_error_with_line): Update to take a diagnostic
	level.
	(cpp_errno): New.
	* cppexp.c (CPP_ICE): Remove.
	(SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
	lex, integer_overflow, _cpp_parse_expr): Update.
	* cppfiles.c (read_include_file, find_include_file,
	handle_missing_header, _cpp_read_file, remap_filename): Update.
	* cpphash.h (enum error_type): Remove.
	(_cpp_begin_message): Update.
	* cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
	cpp_handle_option, cpp_post_options): Update.
	* cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
	skip_whitespace, parse_identifier, parse_slow, parse_string,
	_cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
	cpp_interpret_charconst): Update.
	* cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
	lex_macro_node, do_undef, glue_header_name, parse_include,
	do_include_common, read_flag, do_line, do_linemarker, do_ident,
	cpp_register_pragma, do_pragma_once, do_pragma_system_header,
	do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
	do_elif, do_endif, parse_answer, parse_assertion, do_assert,
	_cpp_pop_buffer, do_diagnostic): Update.
	* cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
	DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
	(cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
	cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
	cpp_notice, cpp_notice_from_errno): Remove.
	(cpp_error, cpp_error_with_line): Update to take a diagnostic
	level.
	(cpp_errno): New.
	* cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
	collect_args, enter_macro_context, save_parameter, parse_params,
	_cpp_create_definition, check_trad_stringification,
	cpp_macro_definition): Update.
	* cppmain.c (cpp_preprocess_file): Update.
	* fix-header.c (read_scan_file): Update.

From-SVN: r52302
2002-04-14 18:42:47 +00:00
Andreas Schwab
c19a385911 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
From-SVN: r52299
2002-04-14 16:00:18 +00:00
Mark Wielaard
5a230810c7 re PR libgcj/6293 (PipedInputStream.close() does not notify writer (Mauve test))
* libjava.mauve/xfails: Expect failures for PR libgcj/6293,
	libgcj/6295, libgcj/6296 and libgcj/6297.

From-SVN: r52297
2002-04-14 15:03:31 +00:00
Jeroen Dobbelaere
10fdbed6ec * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r52296
2002-04-14 10:27:33 -04:00
David Billinghurst
4b27e132f1 f77-edit-i-in.f: Use internal buffer in place of scratch file.
2002-04-12  David Billinghurst <David.Billinghurst@riotinto.com>

	* g77.dg/f77-edit-i-in.f: Use internal buffer in place
	of scratch file.

From-SVN: r52294
2002-04-14 13:46:24 +00:00
Jason Merrill
85b7def6e0 typeck.c (get_member_function_from_ptrfunc): Don't do gratuitious division and multiplication on ptrmemfunc_vbit_in_delta...
* typeck.c (get_member_function_from_ptrfunc): Don't do
        gratuitious division and multiplication on
        ptrmemfunc_vbit_in_delta targets.

From-SVN: r52293
2002-04-14 09:14:52 -04:00
David Billinghurst
cf56e373c4 re PR c/6277 (Failure of test gcc.dg/i386-387-1.c on cygwin)
2002-04-14  David Billinghurst <David.Billinghurst@riotinto.com>

	PR c/6277
	* gcc.dg/i386-387-1.c:  Allow optional leading underscore
	in scan-assembler function name

From-SVN: r52292
2002-04-14 11:52:25 +00:00
GCC Administrator
8bc879161c Daily bump.
From-SVN: r52290
2002-04-14 07:17:01 +00:00
Mark Mitchell
77660a9a05 gnu.h (CPP_PREDEFINES): Define __gnu_hurd__, not gnu_hurd.
* config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
	not gnu_hurd.

From-SVN: r52286
2002-04-13 22:10:56 +00:00
Hans-Peter Nilsson
e0ff1ded8f * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
From-SVN: r52283
2002-04-13 20:16:13 +00:00
Joel Sherrill
2341c7ea03 t-elf: Enable v8 multilibs.
2002-04-13	Joel Sherrill <joel@OARcorp.com>

	* config/sparc/t-elf: Enable v8 multilibs.  Impacts
	sparc-elf and sparc-rtems targets.

From-SVN: r52281
2002-04-13 19:47:57 +00:00
Toon Moene
1dbdda4e57 news.texi: Deprecate frontend version number; update list of fixed bugs.
2002-04-13  Toon Moene  <toon@moene.indiv.nluug.nl>

	* news.texi: Deprecate frontend version number;
	update list of fixed bugs.

From-SVN: r52280
2002-04-13 19:41:29 +00:00
Mark Mitchell
d29350c02f linux.h: Define __gnu_linux__ wherever __linux__ is defined...
* alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
	defined, and __gnu_hurd__ wherever __GNU__ is defined.
	* arm/linux-elf.h: Likewise.
	* cris/aout.h: Likewise.
	* cris/linux.h: Likewise.
	* i370/linux.h: Likewise.
	* i386/gnu.h: Likewise.
	* i386/linux-aout.h: Likewise.
	* i386/linux-oldld.h: Likewise.
	* i386/linux.h: Likewise.
	* i386/linux64.h: Likewise.
	* ia64/linux.h: Likewise.
	* m68k/linux-aout.h: Likewise.
	* m68k/linux.h: Likewise.
	* mips/linux.h: Likewise.
	* pa/pa-linux.h: Likewise.
	* pj/linux.h: Likewise.
	* rs6000/sysv4.h: Likewise.
	* s390/linux.h: Likewise.
	* sh/linux.h: Likewise.
	* sparc/linux-aout.h: Likewise.
	* sparc/linux.h: Likewise.
	* sparc/linux64.h: Likewise.
	* xtensa/linux.h: Likewise.

From-SVN: r52279
2002-04-13 19:21:08 +00:00
Hans-Peter Nilsson
1aa65134e4 980628-4.x, [...]: xfail powerpc-*-* hosted on i[34567]86-*-*.
* g77.f-torture/execute/980628-4.x,
	g77.f-torture/execute/980628-5.x,
	g77.f-torture/execute/980628-6.x, g77.f-torture/execute/alpha2.x,
	g77.f-torture/execute/auto0.x, g77.f-torture/execute/auto1.x,
	g77.f-torture/compile/alpha1.x: xfail powerpc-*-* hosted on
	i[34567]86-*-*.

From-SVN: r52273
2002-04-13 12:05:53 +00:00
David S. Miller
791b23feaf 20020413-1.c: New test.
2002-04-13  David S. Miller  <davem@redhat.com>

	* gcc.c-torture/execute/20020413-1.c: New test.

From-SVN: r52272
2002-04-13 03:32:46 -07:00
Richard Sandiford
4fb0780208 * gcc.dg/asm-6.c,
* g++.dg/ext/asm1.C: New tests.

From-SVN: r52270
2002-04-13 09:33:01 +00:00
Richard Sandiford
fc55285160 stmt.c (check_unique_operand_names): Expect operand names to be strings rather than identifiers.
* stmt.c (check_unique_operand_names): Expect operand names to
	be strings rather than identifiers.  Use simple_cst_equal to
	compare them.
	(resolve_operand_name_1): Make same identifier to string change here.
	* c-parse.in (asm_operand): Convert a named operand into a string.
	* cp/parse.y (asm_operand): Likewise.

From-SVN: r52269
2002-04-13 09:29:03 +00:00
GCC Administrator
c882522104 Daily bump.
From-SVN: r52268
2002-04-13 07:16:56 +00:00
Mark Mitchell
0481bc2173 re PR c++/5373 (Statement expressions broken in C++)
PR c++ 5373.
	* g++.dg/parse/stmtexpr1.C: New test.

	PR c++/5373.
	* semantics.c (finish_expr_stmt): Remember the type of the
	expression before any conversions are performed.

From-SVN: r52264
2002-04-13 07:10:12 +00:00
Andreas Schwab
1d405c5eba * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
From-SVN: r52262
2002-04-13 01:59:10 +00:00
Mark Mitchell
9928a3d53a re PR c++/5189 (g++ -c bug.cpp crashed on simple stupid file)
PR c++/5189.
	* call.c (add_template_candidate_real): Do not treat member
	templates as copy constructors.

	PR c++/5189.
	* g++.dg/template/copy1.C: New test.

From-SVN: r52260
2002-04-13 01:33:23 +00:00
Mark Mitchell
c740732f62 Revert these changes:
2002-04-06  Mark Mitchell  <mark@codesourcery.com>

	PR c++/5571
	* stor-layout.c (layout_decl): Reset the RTL for the decl.

	* decl.c (duplicate_decls): Do not copy the RTL for a variable
	declaration if the old variable had an incomplete type and the new
	variable does not.
	(complete_vars): Do not call layout_decl for completed variables.

From-SVN: r52258
2002-04-13 01:25:27 +00:00
Richard Henderson
21b1475254 * gcc.c-torture/execute/20020406-1.c (DUPFFnew): Use calloc.
From-SVN: r52255
2002-04-12 16:55:05 -07:00
DJ Delorie
0a1e123a75 Missed this entry in last commit
From-SVN: r52253
2002-04-12 19:17:54 -04:00
Richard Henderson
3fc602a055 config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
* config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
        (sparc*-*-solaris): Clean up header files.
        * configure.in (AS_SPARC64_FLAG): Error out if can't find it
        and plan on generating 64-bit code.
        * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
        * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
        * config/sparc/sol2-sld-64.h: Rename ...
        * config/sparc/sol2-bi.h: ... here.  Remove the bits that checked
        for AS_SPARC64_FLAG not defined.
        * config/sparc/sol2-gld-bi.h: New.
        * config/sparc/sol2-sld.h: Remove.
        * config/sparc/sol26-sld.h: New.
        * config/sparc/sol2.h: Tidy comments.
        * doc/install.texi: Document sparc-solaris configury changes.

From-SVN: r52251
2002-04-12 16:02:45 -07:00
Richard Henderson
2f15e255ed recog.c (offsettable_address_p): Match the logic in adjust_address.
* recog.c (offsettable_address_p): Match the logic in adjust_address.

        * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
        in 64-bit mode only.  Use only for 32-bit or MEDLOW.

From-SVN: r52250
2002-04-12 15:47:34 -07:00
Steve Ellcey
ef290537a3 * gcc/libstdc++-v3/config/os/hpux/bits/os_defines.h
(strtoll, strtoull): In 64 bit mode HP-UX (IA64 and HPPA)
	does not define strtoll or strtoull, but does define strtol
	and strtoul which are the same since in 64 bit mode
	sizeof(long) == sizeof(long long).

From-SVN: r52247
2002-04-12 22:31:27 +00:00
Rainer Orth
cc8475cbc3 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
From-SVN: r52246
2002-04-12 22:25:08 +00:00
Jeff Law
ef1b885812 Fix typo in ChangeLog entry.
From-SVN: r52244
2002-04-12 15:52:46 -06:00
Jeff Law
6f133a4aeb pa.c (pa_can_combine_p): Call insn_extract before calling constrain_operands.
* pa.c (pa_can_combine_p): Call insn_extract before calling
	constrain_operands.

From-SVN: r52242
2002-04-12 15:43:17 -06:00
Geoffrey Keating
869b8e4d40 20020412-1.c: New file, renamed from gcc.c-torture/execute/20020307-2.c.
* gcc.c-torture/execute/20020412-1.c: New file, renamed from
	gcc.c-torture/execute/20020307-2.c.

From-SVN: r52241
2002-04-12 20:41:58 +00:00
Douglas B Rupp
2d424b9fa3 * config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
From-SVN: r52239
2002-04-12 15:56:00 -04:00
Douglas B Rupp
1329e60058 i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
* config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
	(TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
	(DEFAULT_PCC_STRUCT_RETURN): Define as 0.
	* config/i386/t-interix (USER_H): Remove.

From-SVN: r52237
2002-04-12 15:47:45 -04:00
Phil Edwards
b963aad8ed std_bitset.h: Doxygenate std::bitset<>.
2002-04-12  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_bitset.h:  Doxygenate std::bitset<>.  Clean up
	trailing spaces, indentation, and macro names.  Make exception
	messages more informative.

From-SVN: r52233
2002-04-12 19:15:59 +00:00
DJ Delorie
0339d2395b integrate.c (compare_blocks): Make comparisons safe for when sizeof(int) < sizeof(char *).
* integrate.c (compare_blocks): Make comparisons safe for when
sizeof(int) < sizeof(char *).
(find_block): Likewise.

From-SVN: r52232
2002-04-12 14:37:56 -04:00
Jan Hubicka
cc4d5fec87 rs6000.c (call_operand): Allow LINK and COUNT registers.
2002-04-12  Jan Hubicka  <jh@suse.cz>
            David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
        registers.
        (symbol_ref_operand): New.
        * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
        * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>

From-SVN: r52231
2002-04-12 12:57:47 -04:00