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
Anthony Green
2274b9b3fe
Fix botch in last commit.
...
From-SVN: r52230
2002-04-12 14:51:37 +00:00
Andreas Schwab
93215a1b43
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
2002-04-12 14:41:01 +00:00
Anthony Green
9fef1fe3e4
Add --extdirs support.
...
From-SVN: r52227
2002-04-12 14:28:50 +00:00
Anthony Green
395cb21141
Install libgcj.jar as libgcj-VERSION.jar.
...
From-SVN: r52226
2002-04-12 14:28:10 +00:00
Eric Norum
1d80248e2f
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
2002-04-12 13:35:03 +00:00
Richard Kenner
fa06ab5c42
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
2002-04-12 08:33:24 -04:00
Richard Kenner
fa1591cb15
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
2002-04-12 08:17:59 -04:00
J"orn Rennecke
12e85a0e1d
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
2002-04-12 13:14:33 +01:00
Hans-Peter Nilsson
1ab3e58a2f
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
2002-04-12 11:31:25 +00:00
Richard Sandiford
4b72e8edac
* g++.dg/ext/attrib5.C,
...
* g++.dg/lookup/struct1.C: New tests.
From-SVN: r52215
2002-04-12 10:59:33 +00:00