David S. Miller [Mon, 15 Apr 2002 10:11:16 +0000 (03:11 -0700)]
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
Bryce McKinlay [Mon, 15 Apr 2002 09:25:29 +0000 (10:25 +0100)]
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
GCC Administrator [Mon, 15 Apr 2002 07:16:53 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52317
Mark Wielaard [Mon, 15 Apr 2002 03:21:00 +0000 (03:21 +0000)]
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
Mark Wielaard [Mon, 15 Apr 2002 03:15:23 +0000 (03:15 +0000)]
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
Adam King [Mon, 15 Apr 2002 03:11:12 +0000 (03:11 +0000)]
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
Gabriel Dos Reis [Sun, 14 Apr 2002 23:35:36 +0000 (23:35 +0000)]
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
Mark Wielaard [Sun, 14 Apr 2002 22:37:56 +0000 (22:37 +0000)]
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
Jakub Jelinek [Sun, 14 Apr 2002 20:55:48 +0000 (22:55 +0200)]
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
Neil Booth [Sun, 14 Apr 2002 18:42:47 +0000 (18:42 +0000)]
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
Andreas Schwab [Sun, 14 Apr 2002 16:00:18 +0000 (16:00 +0000)]
* config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
From-SVN: r52299
Mark Wielaard [Sun, 14 Apr 2002 15:03:31 +0000 (15:03 +0000)]
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
Jeroen Dobbelaere [Sun, 14 Apr 2002 14:27:33 +0000 (14:27 +0000)]
* config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
From-SVN: r52296
David Billinghurst [Sun, 14 Apr 2002 13:46:24 +0000 (13:46 +0000)]
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
Jason Merrill [Sun, 14 Apr 2002 13:14:52 +0000 (09:14 -0400)]
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
David Billinghurst [Sun, 14 Apr 2002 11:52:25 +0000 (11:52 +0000)]
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
GCC Administrator [Sun, 14 Apr 2002 07:17:01 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52290
Mark Mitchell [Sat, 13 Apr 2002 22:10:56 +0000 (22:10 +0000)]
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
Hans-Peter Nilsson [Sat, 13 Apr 2002 20:16:13 +0000 (20:16 +0000)]
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
From-SVN: r52283
Joel Sherrill [Sat, 13 Apr 2002 19:47:57 +0000 (19:47 +0000)]
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
Toon Moene [Sat, 13 Apr 2002 19:41:29 +0000 (21:41 +0200)]
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
Mark Mitchell [Sat, 13 Apr 2002 19:21:08 +0000 (19:21 +0000)]
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
Hans-Peter Nilsson [Sat, 13 Apr 2002 12:05:53 +0000 (12:05 +0000)]
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
David S. Miller [Sat, 13 Apr 2002 10:32:46 +0000 (03:32 -0700)]
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
Richard Sandiford [Sat, 13 Apr 2002 09:33:01 +0000 (09:33 +0000)]
* gcc.dg/asm-6.c,
* g++.dg/ext/asm1.C: New tests.
From-SVN: r52270
Richard Sandiford [Sat, 13 Apr 2002 09:29:03 +0000 (09:29 +0000)]
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
GCC Administrator [Sat, 13 Apr 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52268
Mark Mitchell [Sat, 13 Apr 2002 07:10:12 +0000 (07:10 +0000)]
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
Andreas Schwab [Sat, 13 Apr 2002 01:59:10 +0000 (01:59 +0000)]
* config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
From-SVN: r52262
Mark Mitchell [Sat, 13 Apr 2002 01:33:23 +0000 (01:33 +0000)]
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
Mark Mitchell [Sat, 13 Apr 2002 01:25:27 +0000 (01:25 +0000)]
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
Richard Henderson [Fri, 12 Apr 2002 23:55:05 +0000 (16:55 -0700)]
* gcc.c-torture/execute/
20020406-1.c (DUPFFnew): Use calloc.
From-SVN: r52255
DJ Delorie [Fri, 12 Apr 2002 23:17:54 +0000 (19:17 -0400)]
Missed this entry in last commit
From-SVN: r52253
Richard Henderson [Fri, 12 Apr 2002 23:02:45 +0000 (16:02 -0700)]
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
Richard Henderson [Fri, 12 Apr 2002 22:47:34 +0000 (15:47 -0700)]
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
Steve Ellcey [Fri, 12 Apr 2002 22:31:27 +0000 (22:31 +0000)]
* 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
Rainer Orth [Fri, 12 Apr 2002 22:25:08 +0000 (22:25 +0000)]
* config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
From-SVN: r52246
Jeff Law [Fri, 12 Apr 2002 21:52:46 +0000 (15:52 -0600)]
Fix typo in ChangeLog entry.
From-SVN: r52244
Jeff Law [Fri, 12 Apr 2002 21:43:17 +0000 (15:43 -0600)]
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
Geoffrey Keating [Fri, 12 Apr 2002 20:41:58 +0000 (20:41 +0000)]
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
Douglas B Rupp [Fri, 12 Apr 2002 19:56:00 +0000 (15:56 -0400)]
* config/i386/i386-interix.h (CPP_PREDEFINES): Handle __declspec.
From-SVN: r52239
Douglas B Rupp [Fri, 12 Apr 2002 19:47:45 +0000 (15:47 -0400)]
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
Phil Edwards [Fri, 12 Apr 2002 19:15:59 +0000 (19:15 +0000)]
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
DJ Delorie [Fri, 12 Apr 2002 18:37:56 +0000 (14:37 -0400)]
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
Jan Hubicka [Fri, 12 Apr 2002 16:57:47 +0000 (18:57 +0200)]
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
Anthony Green [Fri, 12 Apr 2002 14:51:37 +0000 (14:51 +0000)]
Fix botch in last commit.
From-SVN: r52230
Andreas Schwab [Fri, 12 Apr 2002 14:41:01 +0000 (14:41 +0000)]
ia64.h (ASM_SPEC): Moved from here ...
* config/ia64/ia64.h (ASM_SPEC): Moved from here ...
* config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
overrides the definition in config/svr4.h.
From-SVN: r52228
Anthony Green [Fri, 12 Apr 2002 14:28:50 +0000 (14:28 +0000)]
Add --extdirs support.
From-SVN: r52227
Anthony Green [Fri, 12 Apr 2002 14:28:10 +0000 (14:28 +0000)]
Install libgcj.jar as libgcj-VERSION.jar.
From-SVN: r52226
Eric Norum [Fri, 12 Apr 2002 13:35:03 +0000 (13:35 +0000)]
rtems.h, [...] (*-rtems*): Cleanup pass to move common definitions to config/rtems.h and make the targets...
2002-04-12 Eric Norum <eric.norum@usask.ca>
* config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
config/v850/rtems.h (*-rtems*): Cleanup pass to move common
definitions to config/rtems.h and make the targets more similar.
From-SVN: r52225
Richard Kenner [Fri, 12 Apr 2002 12:33:24 +0000 (12:33 +0000)]
expr.c (expand_assigment): Remove duplicate conversions #ifdef POINTERS_EXTEND_UNSIGNED.
* expr.c (expand_assigment): Remove duplicate conversions #ifdef
POINTERS_EXTEND_UNSIGNED.
(store_constructor, expand_expr, case COMPONENT_REF): Likewise.
(store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
From-SVN: r52223
Richard Kenner [Fri, 12 Apr 2002 12:17:59 +0000 (12:17 +0000)]
emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET not specified.
* emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
not specified.
From-SVN: r52221
J"orn Rennecke [Fri, 12 Apr 2002 12:14:33 +0000 (12:14 +0000)]
sh.c (calc_live_regs, [...]): Use of PR_MEDIA_REG / PR_REG depends on TARGET_SHMEDIA, not TARGET_SH5.
* sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
depends on TARGET_SHMEDIA, not TARGET_SH5.
From-SVN: r52220
Hans-Peter Nilsson [Fri, 12 Apr 2002 11:31:25 +0000 (11:31 +0000)]
function.c (fixup_var_refs_1): For paradoxical (subreg VAR), replace VAR, don't try the subreg.
* function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
For paradoxical (subreg VAR), replace VAR, don't try the subreg.
From-SVN: r52217
Richard Sandiford [Fri, 12 Apr 2002 10:59:33 +0000 (10:59 +0000)]
* g++.dg/ext/attrib5.C,
* g++.dg/lookup/struct1.C: New tests.
From-SVN: r52215
J"orn Rennecke [Fri, 12 Apr 2002 10:55:32 +0000 (10:55 +0000)]
sh.c (broken_move): Constant 0.
* sh.c (broken_move): Constant 0. / 1. load is OK if there is
no r0 clobber.
From-SVN: r52214
Richard Sandiford [Fri, 12 Apr 2002 10:55:27 +0000 (10:55 +0000)]
decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
with an explicit one.
(follow_tag_typedef): New.
(lookup_tag): Use it to extract the tag of an explicit typedef.
(xref_tag): Likewise.
From-SVN: r52213
Jason Merrill [Fri, 12 Apr 2002 10:35:30 +0000 (06:35 -0400)]
fix whitespace
From-SVN: r52210
Andrew Haley [Fri, 12 Apr 2002 09:08:17 +0000 (09:08 +0000)]
typeck.c (type_after_usual_arithmetic_conversions): If two types have the same variant, return immediately.
2002-04-11 Andrew Haley <aph@redhat.com>
* typeck.c (type_after_usual_arithmetic_conversions):
If two types have the same variant, return immediately.
When two floating-point operands are the same precision:
convert to float if one of the operands is float;
if neither operand is one of the standard types, return the type
of the first operand.
From-SVN: r52209
Loren J. Rittle [Fri, 12 Apr 2002 08:33:13 +0000 (08:33 +0000)]
SyncGlobal.java, [...]: New test case.
* libjava.lang/SyncGlobal.java, libjava.lang/SyncGlobal.out:
New test case.
From-SVN: r52207
Andreas Schwab [Fri, 12 Apr 2002 08:27:54 +0000 (08:27 +0000)]
* config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
From-SVN: r52206
Richard Henderson [Fri, 12 Apr 2002 07:52:05 +0000 (00:52 -0700)]
re PR bootstrap/4191 (GCC does not build for d30v-elf - needs tweaking for crtstuff.c changes)
PR bootstrap/4191
* config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
* flow.c (mark_used_reg): Manage reg_cond_dead properly for
modes spanning multiple hard regs.
* recog.c (peephole2_optimize): Rebuild jump labels as needed.
From-SVN: r52205
GCC Administrator [Fri, 12 Apr 2002 07:17:27 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52203
Richard Henderson [Fri, 12 Apr 2002 05:42:23 +0000 (22:42 -0700)]
fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/fstream.tcc (basic_filebuf<>::open): Fix & ordering.
* include/bits/ostream.tcc (basic_ostream<>::operator<<(long)): Same.
(basic_ostream<>::operator<<(long long)): Same.
From-SVN: r52198
John David Anglin [Fri, 12 Apr 2002 02:30:52 +0000 (02:30 +0000)]
pa.c (pa_output_function_prologue): Don't accumulate the total number of code bytes when using TARGET_64BIT...
* pa.c (pa_output_function_prologue): Don't accumulate the total
number of code bytes when using TARGET_64BIT, or gas, SOM and not
the portable runtime.
(output_deferred_plabels): Handle 64bit plabels.
(output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
generating pic code using the GAS assembler for object formats that
are not SOM (ie., ELF32 and ELF64).
(output_millicode_call): Check attribute type if attribute length is 28.
Likewise use $PIC_pcrel$0. Only call get_attr_length and
dbr_sequence_length once.
(output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
dbr_sequence_length once.
* pa.h (TARGET_SOM): Define if not defined.
* pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
with GAS and not SOM.
(jump, call_internal_reg, call_value_internal_reg): Likewise.
* som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
From-SVN: r52196
David O'Brien [Fri, 12 Apr 2002 01:18:38 +0000 (01:18 +0000)]
freebsd.h (NO_IMPLICIT_EXTERN_C, [...]): Give value.
2002-04-11 David O'Brien <obrien@FreeBSD.org>
* config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
(DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
(USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
elfos.h and dbxelf.h values are fine now.
* config/i386/freebsd.h, config/alpha/freebsd.h
(DEFAULT_PCC_STRUCT_RETURN): Define to 0.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020411175216.B11442@redhat.com>
From-SVN: r52194
Bryce McKinlay [Fri, 12 Apr 2002 01:14:33 +0000 (01:14 +0000)]
configure.host: Set can_unwind_signal on hosts which support it.
* configure.host: Set can_unwind_signal on hosts which support it.
Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
* configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
exceptions and can_unwind_signal isn't set.
* configure: Rebuilt.
From-SVN: r52193
David O'Brien [Fri, 12 Apr 2002 01:08:20 +0000 (01:08 +0000)]
aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__ or set Acpu or Amachine.
2002-04-11 David O'Brien <obrien@FreeBSD.org>
* config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
or set Acpu or Amachine. Reformat.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
(LINK_SPEC): Do not need to undef.
* config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
* config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
* config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
(ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
(LINK_SPEC): Do not need to undef.
(DONT_USE_BUILTIN_SETJMP): Do not define.
* config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
(CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
(DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
Remove trailing spaces.
* config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
__ELF__, or set Acpu or Amachine. Reformat.
(ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
define.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020411160138.A11250@redhat.com>
From-SVN: r52191
David O'Brien [Fri, 12 Apr 2002 00:54:42 +0000 (00:54 +0000)]
config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match all other *-*-freebsd* targets.
2002-04-11 David O'Brien <obrien@FreeBSD.org>
* config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
all other *-*-freebsd* targets.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020411174756.A11442@redhat.com>
From-SVN: r52189
Richard Henderson [Thu, 11 Apr 2002 23:43:02 +0000 (16:43 -0700)]
* config.gcc (alpha*-*-linux*ecoff): Detect and reject.
From-SVN: r52188
Richard Henderson [Thu, 11 Apr 2002 23:27:45 +0000 (16:27 -0700)]
* config/linker-map.gnu: Add __gxx_personality_sj0.
From-SVN: r52187
David O'Brien [Thu, 11 Apr 2002 23:25:54 +0000 (23:25 +0000)]
config.gcc (alpha*-*-openbsd, [...]): Include {cpu}/{cpu}.h thru tm_file.
2002-04-11 David O'Brien <obrien@FreeBSD.org>
* config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
Include {cpu}/{cpu}.h thru tm_file.
(alpha*-*-linux*ecoff): Remove target.
* config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
(LINK_SPEC): Remove, is not OS independent.
* config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
(LINK_SPEC): Do not need to #undef any longer.
* config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
any longer.
* config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
__ELF__.
(LINK_SPEC): Moved here from alpha/elf.h.
* config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
SUB_CPP_PREDEFINES.
* config/alpha/linux-ecoff.h: Remove.
* config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
(CPP_SPEC): Define _POSIX_SOURCE as needed.
(CPP_SUBTARGET_SPEC): Do not define.
(LINK_SPEC): Do not need to #undef any longer.
* config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
* config/alpha/vms.h: Likewise.
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020411152309.A11121@redhat.com>
Message-ID: <
20020411160159.B11250@redhat.com>
Jason R Thorpe <thorpej@wasabisystems.com>
Message-ID: <
20020411161434.I4954@dr-evil.shagadelic.org>
From-SVN: r52186
Tom Tromey [Thu, 11 Apr 2002 22:23:43 +0000 (22:23 +0000)]
* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
From-SVN: r52183
Richard Sandiford [Thu, 11 Apr 2002 21:33:31 +0000 (21:33 +0000)]
extend.texi: Remove old claim that typedefs cannot have an alignment attribute.
* doc/extend.texi: Remove old claim that typedefs cannot have
an alignment attribute.
From-SVN: r52180
DJ Delorie [Thu, 11 Apr 2002 21:23:35 +0000 (17:23 -0400)]
i2002-04-11 DJ Delorie <dj@redhat.com>
* Makefile.in, configure.in: Sync with binutils, entries
follow...
2002-02-01 Mo DeJong <supermo@bayarea.net>
* Makefile.in: Add all-tix to deps for all-snavigator
so that tix is built when building snavigator.
2002-01-11 Steve Ellcey <sje@cup.hp.com>
* configure.in (ia64*-*-hpux*): New target for IA64 HP-UX,
ld and gdb are not supported.
2002-01-07 Mark Salter <msalter@redhat.com>
* configure.in: Remove target-bsp and target-cygmon from arm builds.
Allow target-libgloss to be built for arm, strongarm, and xscale.
2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.in (FLAGS_FOR_TARGET): Remove -nostdinc and -isystem
options for i[3456]86-pc-linux* native builds.
2001-11-20 Nick Clifton <nickc@cambridge.redhat.com>
* Makefile.in (do-proto-toplev): Use msgfmt to generate .gmo
files from .po files for a distribution.
2001-09-03 Jeff Holcomb <jeffh@redhat.com>
* configure.in: Enable libstdc++-v3 for h8300 targets.
2001-06-19 Alan Modra <amodra@bigpond.net.au>
* Makefile.in (VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get
version from bfd/.
Fri Jun 8 11:14:02 2001 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (VER): When present, extract the version number from
the file version.in.
2001-05-24 Tom Rix <trix@redhat.com>
* configure.in : enable ld for aix
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* mh-s390pic: New file.
* mt-s390pic: New file.
2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config.guess: Add linux target for S/390.
2000-11-07 Philip Blundell <pb@futuretv.com>
* Makefile.in (ETC_SUPPORT): Also add configbuild.* and configdev.*.
2000-11-03 Philip Blundell <pb@futuretv.com>
* Makefile.in (ETC_SUPPORT): Add configure.texi and associated info
files.
2001-01-15 Ben Elliston <bje@redhat.com>
* configure.in (host_tools): Add sid.
Always configure cgen.
2000-11-24 Nick Clifton <nickc@redhat.com>
* configure.in (c4x, c5x, tic54x): Move after ARM targets.
2000-08-20 Doug Evans <dje@casey.transmeta.com>
* Makefile.in (ALL_MODULES): Add all-cgen.
(CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily.
(all-cgen): New target.
(all-opcodes,all-sim): Depend on all-cgen.
* configure.in (host_tools): Add cgen.
Only configure cgen if --enable-cgen-maint.
From-SVN: r52179
Jakub Jelinek [Thu, 11 Apr 2002 21:04:09 +0000 (23:04 +0200)]
re PR rtl-optimization/6177 (ia64 ICE with single-element complex array in LAPACK)
PR optimization/6177
* expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
bitpos is 0 and bitsize CONCAT size.
* gcc.c-torture/execute/
20020411-1.c: New test.
From-SVN: r52178
Jakub Jelinek [Thu, 11 Apr 2002 20:56:29 +0000 (22:56 +0200)]
re PR c/6223 (internal compiler error in Wine-
20020310)
PR c/6223
* combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
* gcc.dg/
20020411-1.c: New test.
From-SVN: r52176
Toon Moene [Thu, 11 Apr 2002 19:49:56 +0000 (21:49 +0200)]
lio.h: Treat INTEGER*1 as signed char.
2002-04-11 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/lio.h: Treat INTEGER*1 as signed char.
From-SVN: r52172
David O'Brien [Thu, 11 Apr 2002 18:11:53 +0000 (18:11 +0000)]
freebsd.h: Minor reformatting.
2002-04-10 David O'Brien <obrien@FreeBSD.org>
* config/alpha/freebsd.h: Minor reformatting.
(CPP_SPEC): Define ELF and add cpp_subtarget.
(ASM_SPEC): No longer needed.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <
20020410.203814.
109035383.davem@redhat.com>
From-SVN: r52170
Richard Henderson [Thu, 11 Apr 2002 17:24:28 +0000 (10:24 -0700)]
sparc.md (movdi_insn_sp32): Add o/J alternative.
* config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
(movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
(dimode mem/zero splitter): New.
From-SVN: r52168
Richard Sandiford [Thu, 11 Apr 2002 16:39:41 +0000 (16:39 +0000)]
Revert previous patch.
From-SVN: r52166
Adam King [Thu, 11 Apr 2002 15:57:56 +0000 (15:57 +0000)]
jvm.h (_Jv_ThrowBadArrayIndex, [...]): Mark as noreturn.
2002-04-11 Adam King <aking@dreammechanics.com>
Tom Tromey <tromey@redhat.com>
* include/jvm.h (_Jv_ThrowBadArrayIndex,
_Jv_ThrowNullPointerException): Mark as noreturn.
* win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
and _Jv_free. Correctly invoke GetTempPath(). Indentation
fixes.
Co-Authored-By: Tom Tromey <tromey@redhat.com>
From-SVN: r52164
Hans-Peter Nilsson [Thu, 11 Apr 2002 15:04:38 +0000 (15:04 +0000)]
cris.c (cris_override_options): Tweak error message for PIC not implemented.
* config/cris/cris.c (cris_override_options): Tweak error message
for PIC not implemented.
* config/cris/cris.h: Tweak comments related to parameter-passing.
* t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
From-SVN: r52161
Richard Sandiford [Thu, 11 Apr 2002 14:17:56 +0000 (14:17 +0000)]
* g++.dg/ext/attrib5.C: New test.
From-SVN: r52160
Richard Sandiford [Thu, 11 Apr 2002 14:16:26 +0000 (14:16 +0000)]
decl.c (duplicate_decls): Don't try to unify an implicit typedef with an explicit one.
* decl.c (duplicate_decls): Don't try to unify an implicit typedef
with an explicit one.
(lookup_tag): Extract the tag of an explicit typedef.
From-SVN: r52159
GCC Administrator [Thu, 11 Apr 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r52153
Richard Henderson [Thu, 11 Apr 2002 01:06:33 +0000 (18:06 -0700)]
except.c (add_ehl_entry): Allow duplicates after landing pad creation.
* except.c (add_ehl_entry): Allow duplicates after landing pad
creation.
From-SVN: r52149
Janis Johnson [Wed, 10 Apr 2002 22:12:19 +0000 (22:12 +0000)]
* g77.f-torture/execute/6177.f: New test.
From-SVN: r52147
Jakub Jelinek [Wed, 10 Apr 2002 21:49:26 +0000 (23:49 +0200)]
re PR middle-end/6247 (Konqueror miscompilation on IA-32)
PR middle-end/6247
* g++.dg/opt/cleanup1.C: New test.
* g++.dg/opt/const1.C: New test.
From-SVN: r52146
Tom Tromey [Wed, 10 Apr 2002 20:36:04 +0000 (20:36 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/Thread.h): Mark
_Jv_AttachCurrentThreadAsDaemon as friend.
* gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
* gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
* java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
function.
* java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
* jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
(_Jv_JNI_InvokeFunctions): Added
_Jv_JNI_AttachCurrentThreadAsDaemon.
(_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
(JNI_GetDefaultJavaVMInitArgs): Likewise.
(JNI_CreateJavaVM): Likewise.
(_Jv_JNI_AttachCurrentThread): Likewise.
(_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
(_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
(_Jv_JNIFunctions): Initialize new fields.
(_Jv_JNI_NewDirectByteBuffer): New function.
(_Jv_JNI_GetDirectBufferAddress): Likewise.
(_Jv_JNI_GetDirectBufferCapacity): Likewise.
* include/jni.h (JNI_VERSION_1_4): New macro.
(JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
(_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
(JNINativeInterface::NewDirectByteBuffer): New field.
(JNINativeInterface::GetDirectBufferAddress): New field.
(JNINativeInterface::GetDirectBufferCapacity): New field.
(_Jv_JNIEnv::NewDirectByteBuffer): New method.
(_Jv_JNIEnv::GetDirectBufferAddress): New method.
(_Jv_JNIEnv::GetDirectBufferCapacity): New method.
From-SVN: r52144
David Edelsohn [Wed, 10 Apr 2002 20:28:21 +0000 (20:28 +0000)]
* config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
From-SVN: r52142
Toon Moene [Wed, 10 Apr 2002 19:49:52 +0000 (21:49 +0200)]
c-decl.c (c_init_decl_processing): Move generation of decls for g77_integer_type_node and friends from here ...
2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
* c-decl.c (c_init_decl_processing): Move generation of
decls for g77_integer_type_node and friends from here ...
* c-common.c (c_common_nodes_and_builtins): ... to here.
From-SVN: r52141
Ulrich Weigand [Wed, 10 Apr 2002 17:56:02 +0000 (17:56 +0000)]
reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM is only used as frame pointer when...
* reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
is only used as frame pointer when frame_pointer_needed is true.
From-SVN: r52140
Lars Brinkhoff [Wed, 10 Apr 2002 17:47:24 +0000 (17:47 +0000)]
* gcc.c-torture/execute/
20020406-1.c: Declare malloc.
From-SVN: r52138
Richard Earnshaw [Wed, 10 Apr 2002 14:06:38 +0000 (14:06 +0000)]
re PR target/817 (ARM compiler generates out-of-range accesses to constant pool data)
PR target/817
* arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses two words.
(movdf_hard_insn): Similarly. Also, ADR instruction can span
1k bytes.
(movdf_soft_insn): Similarly.
(movxf_hard_insn): Adjust neg_pool_range attribute to allow
for the fact that the pool entry uses three words.
From-SVN: r52132
Jason Merrill [Wed, 10 Apr 2002 12:18:44 +0000 (08:18 -0400)]
init.c (build_member_call): For now, don't convert to intermediate base if it would cause an error.
* init.c (build_member_call): For now, don't convert to
intermediate base if it would cause an error.
From-SVN: r52129
Richard Sandiford [Wed, 10 Apr 2002 10:36:50 +0000 (10:36 +0000)]
mips.c (mips_va_arg): When using the struct version of the EABI va_list...
* config/mips/mips.c (mips_va_arg): When using the struct version
of the EABI va_list, allow arguments in the register save area to
take up less room than a stack argument.
From-SVN: r52125
Nathan Sidwell [Wed, 10 Apr 2002 09:40:18 +0000 (09:40 +0000)]
re PR c++/5507 (Overzealous implicit typename warning)
cp:
PR c++/5507
* decl.c (make_typename_type): Remove implicit typenameness.
testsuite:
PR c++/5507
* g++.dg/template/typename2.C: New test.
From-SVN: r52124
GCC Administrator [Wed, 10 Apr 2002 07:17:16 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r52122
Richard Henderson [Wed, 10 Apr 2002 07:11:32 +0000 (00:11 -0700)]
expr.c (expand_expr): Don't force into registers if EXPAND_INITIALIZER.
* expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
if EXPAND_INITIALIZER.
From-SVN: r52118