platform/upstream/gcc.git
22 years agoacinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and include all required...
Loren J. Rittle [Mon, 10 Jun 2002 20:52:12 +0000 (20:52 +0000)]
acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and include all required headers for test against older POSIX standard.

* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT_ancilliary): Reorder and
include all required headers for test against older POSIX standard.
(GLIBCPP_CHECK_SETRLIMIT): Likewise.
(ac_setrlimit): Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/testsuite_hooks.cc: Reorder and include all
required headers for use against older POSIX standard.

From-SVN: r54452

22 years agoi386.c (ix86_osf_output_function_prologue): Remove prototype and function.
Eric Christopher [Mon, 10 Jun 2002 20:00:54 +0000 (20:00 +0000)]
i386.c (ix86_osf_output_function_prologue): Remove prototype and function.

2002-06-10  Eric Christopher  <echristo@redhat.com>

* config/i386/i386.c (ix86_osf_output_function_prologue): Remove
prototype and function.
(TARGET_ASM_FUNCTION_PROLOGUE): Remove OSF version.
(call_insn_operand): Remove half pic references.
(legitimate_address_p): Ditto.
* config/i386/i386.h: Remove half pic defines.

From-SVN: r54451

22 years agoFix typo in comment.
Richard Henderson [Mon, 10 Jun 2002 19:35:27 +0000 (12:35 -0700)]
Fix typo in comment.

From-SVN: r54450

22 years agoextend.texi (Return Address): Add note explaining the side- effects of inlining on...
Eric Christopher [Mon, 10 Jun 2002 19:12:10 +0000 (19:12 +0000)]
extend.texi (Return Address): Add note explaining the side- effects of inlining on __builtin_return_address.

2002-06-10  Eric Christopher  <echristo@redhat.com>

* doc/extend.texi (Return Address): Add note explaining the side-
effects of inlining on __builtin_return_address.

From-SVN: r54449

22 years agoMakefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.
Tom Tromey [Mon, 10 Jun 2002 18:54:31 +0000 (18:54 +0000)]
Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.

* Makefile.in (LANGHOOKS_DEF_H): Include langhooks-def.h.
(c-common.o): Depend on langhooks.h.

From-SVN: r54448

22 years agocpphash.h (_cpp_read_logical_line_trad, [...]): Update prototypes.
Neil Booth [Mon, 10 Jun 2002 17:20:30 +0000 (17:20 +0000)]
cpphash.h (_cpp_read_logical_line_trad, [...]): Update prototypes.

* cpphash.h (_cpp_read_logical_line_trad,
_cpp_expansions_different_trad): Update prototypes.
* cpplex.c (continue_after_nul): New.
* cppmain.c: Include cpphash.h.
(scan_translation_unit_trad): New.
(cpp_preprocess_file): Call it.
* cpptrad.c (_cpp_read_logical_line_trad): Take new parameter
overlay.
(_cpp_expansions_different_trad): Update prototype.

From-SVN: r54446

22 years agoFix cfi generation for SH[1-4]:
J"orn Rennecke [Mon, 10 Jun 2002 17:15:13 +0000 (17:15 +0000)]
Fix cfi generation for SH[1-4]:

* sh.c (frame_insn): New function.
(output_stack_adjust): Add parameter emit_fn.  All callers changed.
(push): Now returns rtx.  Use frame_insn.
(sh_expand_prologue): Clear RTX_FRAME_RELATED_P for second push
of a DF register.
* sh.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define.

From-SVN: r54445

22 years agogc_locks.h (GC_test_and_set): Support Linux/mips.
H.J. Lu [Mon, 10 Jun 2002 17:10:21 +0000 (17:10 +0000)]
gc_locks.h (GC_test_and_set): Support Linux/mips.

* include/private/gc_locks.h (GC_test_and_set): Support
Linux/mips.
(GC_TEST_AND_SET_DEFINED): Likewise.

* include/private/gcconfig.h (DYNAMIC_LOADING): Defined for
Linux/mips.
(DATAEND): Likewise.
(LINUX_STACKBOTTOM): Likewise.
(STACKBOTTOM): Removed for Linux/mips.

From-SVN: r54444

22 years agoMakefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h, and gtype-desc.c.
Zack Weinberg [Mon, 10 Jun 2002 16:58:36 +0000 (16:58 +0000)]
Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h, and gtype-desc.c.

* Makefile.in (STAGESTUFF): Add s-gtype, gt-*.h, gtype-*.h,
and gtype-desc.c.
(mostlyclean): Delete specs.h, options.h, gencheck.h here...
(distclean): ... not here.  But do delete all testsuite/*.log,
testsuite/*.sum files here.  Delete mkheaders.  Delete
po/*.gmo and the testsuite directory in a split tree build.

From-SVN: r54443

22 years agoalias.c (static_reg_base_value): New to hold RTL for items allocated once per functio...
Jeff Law [Mon, 10 Jun 2002 16:32:45 +0000 (10:32 -0600)]
alias.c (static_reg_base_value): New to hold RTL for items allocated once per function for the aliasing code.

* alias.c (static_reg_base_value): New to hold RTL for
items allocated once per function for the aliasing code.
(init_alias_once_per_function): Initialize static_reg_base_value.
(init_alias_analysis): Avoid throw-away allocations of RTL by
using pre-computed values in static_reg_base_value.
* function.c (prepare_function_start): Call
init_alias_once_per_function appropriately.
* rtl.h (init_alias_once_per_function): Declare.
* caller-save (init_caller_save): Restructure slightly to
avoid lots of silly RTL generation.
* expr.c (init_expr_once): Likewise.
* reload1.c (reload_cse_regs_1): Allocate throw-away register
RTL object here.  Pass it into children.
(reload_cse_simplify_operands): Use passed-in register RTL
object.
(reload_cse_simplify): Pass through throw-away register
RTL object.

From-SVN: r54442

22 years agoMakefile.in (ssa.o): Add dependency on $(RTL_H), which was missing.
Daniel Berlin [Mon, 10 Jun 2002 13:37:24 +0000 (13:37 +0000)]
Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing.

2002-06-10  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.in (ssa.o): Add dependency on $(RTL_H), which was missing.

From-SVN: r54440

22 years agogcc.c (process_command): Avoid assignment to read-only location.
Richard Sandiford [Mon, 10 Jun 2002 12:27:55 +0000 (12:27 +0000)]
gcc.c (process_command): Avoid assignment to read-only location.

* gcc.c (process_command): Avoid assignment to read-only location.
Fix sizeof calculation.

From-SVN: r54439

22 years agoDaily bump.
GCC Administrator [Mon, 10 Jun 2002 07:23:14 +0000 (07:23 +0000)]
Daily bump.

From-SVN: r54438

22 years agocpphash.h (struct cpp_macro): Put comments on their own lines.
Neil Booth [Mon, 10 Jun 2002 06:03:13 +0000 (06:03 +0000)]
cpphash.h (struct cpp_macro): Put comments on their own lines.

* cpphash.h (struct cpp_macro): Put comments on their own lines.
(_cpp_expansions_different_trad): New.
* cppmacro.c (warn_of_redefinition): Fix for traditional case.
* cpptrad.c (canonicalize_text): New.
(scan_out_logical_line): Handle no arguments correctly.
(save_replacement_text): Commit memory when finished.
(_cpp_expansions_different_trad): New.

From-SVN: r54432

22 years agoDon't use RTL inlining. Fix for PR java/6820.
Bryce McKinlay [Mon, 10 Jun 2002 05:11:42 +0000 (05:11 +0000)]
Don't use RTL inlining. Fix for PR java/6820.

* lang.c (LANG_HOOKS_POST_OPTIONS): Define.
(flag_really_inline): New.
(java_decode_option): Set flag_really_inline if -finline-functions
is seen.
(java_post_options): New function. Turn off inlining unless
flag_really_inline is set.

From-SVN: r54430

22 years agoconfigure.host: Disable hash synchronization and slow_pthread_self for cygwin.
Bryce McKinlay [Mon, 10 Jun 2002 03:50:41 +0000 (03:50 +0000)]
configure.host: Disable hash synchronization and slow_pthread_self for cygwin.

* configure.host: Disable hash synchronization and slow_pthread_self
for cygwin.

From-SVN: r54428

22 years agogjavah.c (throwable_p): Accept argument as either a classname or signature fragment.
Bryce McKinlay [Mon, 10 Jun 2002 03:47:36 +0000 (03:47 +0000)]
gjavah.c (throwable_p): Accept argument as either a classname or signature fragment.

* gjavah.c (throwable_p): Accept argument as either a classname or
signature fragment. Create null-terminated classname string for super
when calling itself recursively.
(decode_signature_piece): Skip first character from class name
signature when calling throwable_p.

From-SVN: r54427

22 years agoAdd more cscope data files
Zack Weinberg [Mon, 10 Jun 2002 02:36:06 +0000 (02:36 +0000)]
Add more cscope data files

From-SVN: r54426

22 years agoFixes to make treelang worg with PCH gengtype.c changes.
Tim Josling [Mon, 10 Jun 2002 00:56:49 +0000 (00:56 +0000)]
Fixes to make treelang worg with PCH gengtype.c changes.

From-SVN: r54425

22 years agoMake configure.in check that languages specified were found.
Tim Josling [Sun, 9 Jun 2002 23:33:49 +0000 (23:33 +0000)]
Make configure.in check that languages specified were found.

From-SVN: r54418

22 years agoMakefile.in (install-driver): Install driver as $(target_alias)-gcc-$(version).
Geoffrey Keating [Sun, 9 Jun 2002 23:20:08 +0000 (23:20 +0000)]
Makefile.in (install-driver): Install driver as $(target_alias)-gcc-$(version).

* Makefile.in (install-driver): Install driver as
$(target_alias)-gcc-$(version).
* gcc.c (spec_version): Make const.
(process_command): Handle -V and -b by using exec.
* doc/invoke.texi (Target Options): Restore -V option,
update docs for -b option.

From-SVN: r54417

22 years agoForgot to commit on Friday.
Jeff Law [Sun, 9 Jun 2002 22:45:01 +0000 (16:45 -0600)]
Forgot to commit on Friday.

From-SVN: r54416

22 years agoDoc fixes for treelang, in gcc/doc directory.
Tim Josling [Sun, 9 Jun 2002 22:40:14 +0000 (22:40 +0000)]
Doc fixes for treelang, in gcc/doc directory.

From-SVN: r54415

22 years ago* config/cris/cris.c: Include ggc.h
Hans-Peter Nilsson [Sun, 9 Jun 2002 20:44:26 +0000 (20:44 +0000)]
* config/cris/cris.c: Include ggc.h

From-SVN: r54413

22 years agocpphash.h (_cpp_push_text_context): Update.
Neil Booth [Sun, 9 Jun 2002 20:04:17 +0000 (20:04 +0000)]
cpphash.h (_cpp_push_text_context): Update.

* cpphash.h (_cpp_push_text_context): Update.
(_cpp_arguments_ok): New.
* cppmacro.c (_cpp_arguments_ok): New, split out from...
(collect_args): ...here.
(_cpp_push_text_context): Change inputs.
* cpptrad.c (struct fun_macro, maybe_start_funlike, save_argument,
replace_args_and_push): New.
(lex_identifier, _cpp_lex_identifier_trad, scan_parameters):
Don't use IS macros directly.
(scan_out_logical_line): Handle function-like macro argument
collection.
(push_replacement_text): Update.
(replacement_length): Remove.
(_cpp_create_trad_definition): Don't skip whitespace before
checking for '('.

From-SVN: r54412

22 years agoavr.c (avr_mcu_types): Update for new devices.
Marek Michalkiewicz [Sun, 9 Jun 2002 18:06:10 +0000 (20:06 +0200)]
avr.c (avr_mcu_types): Update for new devices.

* config/avr/avr.c (avr_mcu_types): Update for new devices.
* config/avr/avr.h (TARGET_SWITCHES, AVR_MEGA): Add -mshort-calls.
(LINK_SPEC, CRT_BINUTILS_SPECS): Update for new devices.
* config/avr/avr.md ("type" and "length" attributes): New type
"xcall", length 1 or 2 if AVR_MEGA.  Use in all patterns that
output a single "call" or "rcall" insn depending on device size.
* config/avr/t-avr (MULTILIB_MATCHES): Update for new devices.

From-SVN: r54410

22 years ago- Add PROCESSOR_DEFAULT64 changelog entry.
David Edelsohn [Sun, 9 Jun 2002 17:25:49 +0000 (13:25 -0400)]
- Add PROCESSOR_DEFAULT64 changelog entry.

From-SVN: r54409

22 years ago- Add PROCESSOR_DEFAULT64 as well.
David Edelsohn [Sun, 9 Jun 2002 17:24:45 +0000 (13:24 -0400)]
- Add PROCESSOR_DEFAULT64 as well.

From-SVN: r54408

22 years agoencoding.c (objc_layout_structure_next_member): Remove unused variable.
Andreas Jaeger [Sun, 9 Jun 2002 16:46:01 +0000 (18:46 +0200)]
encoding.c (objc_layout_structure_next_member): Remove unused variable.

* encoding.c (objc_layout_structure_next_member): Remove unused
variable.

From-SVN: r54406

22 years ago{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3 synonym for 630.
David Edelsohn [Sun, 9 Jun 2002 15:05:09 +0000 (15:05 +0000)]
{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3 synonym for 630.

        * config/rs6000/{aix43.h,aix5.1} (ASM_CPU_SPEC): Add power3
        synonym for 630.  Add power4.  Remove embedded processors.  Use -m604
        assembler option.
        (CPP_CPU_SPEC): Add power3 and power4.
        (PROCESSOR_DEFAULT): Change to 604e.
        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Similar additions.
        (CPP_CPU_SPEC): Similar additions.
        (enum process_type): Add POWER4.
        (RTX_COSTS): Add POWER4.
        (CPP_CPU_SPEC): Similar additions.
        * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define.
        * config/rs6000/rs6000.c (rs6000_override_options): Add power4.
        (rs6000_adjust_cost): Add 603, 604, 604e, 620, 630, Power4 to
        branch adjustment.
        (rs6000_issue_rate): Add Power4.
        * config/rs6000/rs6000.md (cpu attr): Add power4.
        (iu compare): Remove 604, 604e, 620, 630.
        Add basic Power4 scheduling information.
        (mfcr/mtcrf): Change type attribute to cr_logical.

From-SVN: r54405

22 years agoDaily bump.
GCC Administrator [Sun, 9 Jun 2002 07:20:22 +0000 (07:20 +0000)]
Daily bump.

From-SVN: r54404

22 years agogengtype.h (error_at_line): Use PARAMS, not VPARAMS.
Kaveh R. Ghazi [Sun, 9 Jun 2002 02:40:08 +0000 (02:40 +0000)]
gengtype.h (error_at_line): Use PARAMS, not VPARAMS.

* gengtype.h (error_at_line): Use PARAMS, not VPARAMS.  Add
ATTRIBUTE_PRINTF_2.
* gengtype-lex.l: Fix format specifier warning.

From-SVN: r54394

22 years agogenautomata.c: Don't include ctype.h or limits.h.
Kaveh R. Ghazi [Sun, 9 Jun 2002 02:12:21 +0000 (02:12 +0000)]
genautomata.c: Don't include ctype.h or limits.h.

* genautomata.c: Don't include ctype.h or limits.h.  Use ISSPACE,
not isspace.
* gengtype-lex.l: Don't include ctype.h and use ISSPACE/ISIDNUM in
lieu of isspace/IDchar.
* gengtype.c: Likewise for ctype.h and ISALNUM vs isalnum.
* read-rtl.c: Likewise for ctype.h.  Don't define ISDIGIT or
ISSPACE.

From-SVN: r54392

22 years ago* configure.in (vax-*-netbsd*): Re-enable gas.
Jason Thorpe [Sun, 9 Jun 2002 01:34:39 +0000 (01:34 +0000)]
* configure.in (vax-*-netbsd*): Re-enable gas.

From-SVN: r54391

22 years agoMakefile.in (LIBCPP_OBJS): Take out version.o.
Zack Weinberg [Sun, 9 Jun 2002 00:26:31 +0000 (00:26 +0000)]
Makefile.in (LIBCPP_OBJS): Take out version.o.

* Makefile.in (LIBCPP_OBJS): Take out version.o.
* cpphash.h (cpp_reader): Take out print_version member.
* cppinit.c: (cpp_handle_option): Don't do anything with
-version.  Just set help_only for --version, --target-help.
Just set verbose option for -v.
(cpp_post_options): Don't print a version string.

From-SVN: r54390

22 years agoavr.c (TARGET_SECTION_TYPE_FLAGS): New.
Marek Michalkiewicz [Sat, 8 Jun 2002 20:38:15 +0000 (22:38 +0200)]
avr.c (TARGET_SECTION_TYPE_FLAGS): New.

* config/avr/avr.c (TARGET_SECTION_TYPE_FLAGS): New.
(avr_section_type_flags): New, handle .noinit* sections.

From-SVN: r54389

22 years agonetbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define and include netbsd_entry_point.
Jason Thorpe [Sat, 8 Jun 2002 17:51:28 +0000 (17:51 +0000)]
netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define and include netbsd_entry_point.

* config/sh/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): Define
and include netbsd_entry_point.
(SUBTARGET_LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
(NETBSD_ENTRY_POINT): Define.

From-SVN: r54388

22 years agosh.h (SUBTARGET_EXTRA_SPECS): Define empty if not already defined.
Jason Thorpe [Sat, 8 Jun 2002 17:47:20 +0000 (17:47 +0000)]
sh.h (SUBTARGET_EXTRA_SPECS): Define empty if not already defined.

* config/sh/sh.h (SUBTARGET_EXTRA_SPECS): Define empty
if not already defined.
(EXTRA_SPECS): Add SUBTARGET_EXTRA_SPECS.

From-SVN: r54387

22 years agoavr.c (avr_regs_to_save): No need to save any registers in a noreturn function.
Marek Michalkiewicz [Sat, 8 Jun 2002 17:25:43 +0000 (19:25 +0200)]
avr.c (avr_regs_to_save): No need to save any registers in a noreturn function.

* config/avr/avr.c (avr_regs_to_save): No need to save any registers
in a noreturn function.
(avr_output_function_prologue, avr_output_function_epilogue):
Correct function size calculation.  Do not crash on empty function.
(avr_output_function_epilogue): No need for epilogue after a BARRIER.

From-SVN: r54386

22 years agonetbsd.h (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.
Jason Thorpe [Sat, 8 Jun 2002 17:23:40 +0000 (17:23 +0000)]
netbsd.h (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.

* config/mips/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
netbsd_link_spec and netbsd_entry_point.
(LINK_SPEC): Use %(netbsd_link_spec).
(NETBSD_ENTRY_POINT): Define.

From-SVN: r54385

22 years agojcf-path.c (jcf_path_init): Allocate 1 more byte for string.
H.J. Lu [Sat, 8 Jun 2002 16:34:39 +0000 (16:34 +0000)]
jcf-path.c (jcf_path_init): Allocate 1 more byte for string.

2002-06-08  H.J. Lu  (hjl@gnu.org)

* jcf-path.c (jcf_path_init): Allocate 1 more byte for string.

From-SVN: r54384

22 years agonetbsd-elf.h (LINK_ARCH32_SPEC): Only specify linker emulation.
Jason Thorpe [Sat, 8 Jun 2002 16:31:14 +0000 (16:31 +0000)]
netbsd-elf.h (LINK_ARCH32_SPEC): Only specify linker emulation.

* config/sparc/netbsd-elf.h (LINK_ARCH32_SPEC): Only specify
linker emulation.
(LINK_ARCH64_SPEC): Likewise.
(LINK_SPEC, NETBSD_ENTRY_POINT): Define.
(SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.

From-SVN: r54382

22 years ago[multiple changes]
Benjamin Kosnik [Sat, 8 Jun 2002 15:14:56 +0000 (15:14 +0000)]
[multiple changes]

2002-06-08  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/backwards/strstream_members.cc: New.

2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/backwards/strstream: Format.
* src/strstream.cc: Format.

2002-06-08  Andreas Schwab  <schwab@suse.de>

* src/strstream.cc (strstreambuf::overflow): Set _M_buf,
_M_buf_size and _M_buf_size_opt to the new buffer and size.

From-SVN: r54375

22 years ago* lists.c (free_list): Fix typo in comment.
Marc Espie [Sat, 8 Jun 2002 14:10:01 +0000 (14:10 +0000)]
* lists.c (free_list):  Fix typo in comment.

From-SVN: r54374

22 years agolcm.c (optimize_mode_switching): Add unused attribute for variable.
Andreas Jaeger [Sat, 8 Jun 2002 14:06:55 +0000 (16:06 +0200)]
lcm.c (optimize_mode_switching): Add unused attribute for variable.

* lcm.c (optimize_mode_switching): Add unused attribute for
variable.

* sched-deps.c (sched_analyze): Remove unused variable.

From-SVN: r54372

22 years agoctype_noninline.h: Tweak format.
Benjamin Kosnik [Sat, 8 Jun 2002 14:03:03 +0000 (14:03 +0000)]
ctype_noninline.h: Tweak format.

2002-06-08  Benjamin Kosnik  <bkoz@redhat.com>

* config/os/generic/bits/ctype_noninline.h: Tweak format.

From-SVN: r54371

22 years ago* diagnostic.def: Don't capitalize diagnostic descriptors.
Gabriel Dos Reis [Sat, 8 Jun 2002 11:25:28 +0000 (11:25 +0000)]
* diagnostic.def: Don't capitalize diagnostic descriptors.

From-SVN: r54370

22 years agonetbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point.
Jason Thorpe [Sat, 8 Jun 2002 07:31:42 +0000 (07:31 +0000)]
netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point.

* config/m68k/netbsd-elf.h (EXTRA_SPECS): Add netbsd_entry_point.
(LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
(NETBSD_ENTRY_POINT): Define.

From-SVN: r54368

22 years agoDaily bump.
GCC Administrator [Sat, 8 Jun 2002 07:17:41 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r54367

22 years agonetbsd-elf.h (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.
Jason Thorpe [Sat, 8 Jun 2002 06:38:02 +0000 (06:38 +0000)]
netbsd-elf.h (LINK_SPEC): Define as NETBSD_LINK_SPEC_ELF.

* config/i386/netbsd-elf.h (LINK_SPEC): Define as
NETBSD_LINK_SPEC_ELF.
(SUBTARGET_EXTRA_SPECS): Add netbsd_entry_point.
(NETBSD_ENTRY_POINT): Define.
* config/i386/netbsd64.h (LINK_SPEC): Use %(netbsd_link_spec).
(SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and
netbsd_entry_point.
(NETBSD_ENTRY_POINT): Define.

From-SVN: r54362

22 years agonetbsd.h (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.
Jason Thorpe [Sat, 8 Jun 2002 06:13:35 +0000 (06:13 +0000)]
netbsd.h (SUBTARGET_EXTRA_SPECS): Add netbsd_link_spec and netbsd_entry_point.

* config/alpha/netbsd.h (SUBTARGET_EXTRA_SPECS): Add
netbsd_link_spec and netbsd_entry_point.
(LINK_SPEC): Use %(netbsd_link_spec).
(NETBSD_ENTRY_POINT): Define.

From-SVN: r54361

22 years agonetbsd-elf.h (LINK_SPEC): Rename to...
Jason Thorpe [Sat, 8 Jun 2002 06:07:11 +0000 (06:07 +0000)]
netbsd-elf.h (LINK_SPEC): Rename to...

* config/netbsd-elf.h (LINK_SPEC): Rename to...
(NETBSD_LINK_SPEC_ELF): ...this.  Use %(netbsd_entry_point)
to specify program entry point.

From-SVN: r54360

22 years agoemit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
Jeff Law [Sat, 8 Jun 2002 01:51:22 +0000 (19:51 -0600)]
emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.

* emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
* combine.c (move_deaths): Use regno_reg_rtx for hard regs rather
than creating a new register.
(distribute_notes): Likewise.
* df.c (df_reg_use_gen): Likewise.
(df_reg_clobber_gen): Likewise.
(df_ref_record): Likewise.
* expr.c (use_regs): Likewise.
* flow.c (propagate_one_insn): Likewise.
(mark_set_1): Likewise.
(mark_used_reg): Likewise.
* reload.c (emit_reload_insns): Likewise.

From-SVN: r54358

22 years agosimplify-rtx.c (simplify_gen_relational): Simplify RTL of the form (ne (comp x y...
Roger Sayle [Fri, 7 Jun 2002 23:50:31 +0000 (23:50 +0000)]
simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form (ne (comp x y) 0) into (comp x y) where comp is a...

* simplify-rtx.c (simplify_gen_relational): Simplify RTL of the form
(ne (comp x y) 0) into (comp x y) where comp is a comparison code.
Simplify (eq (comp x y) 0) into (revcomp x y) if the sense of the
comparison code comp can be reversed.

From-SVN: r54357

22 years agofold-const.c (fold): Place both integer and real constants last in comparisons.
Roger Sayle [Fri, 7 Jun 2002 23:42:53 +0000 (23:42 +0000)]
fold-const.c (fold): Place both integer and real constants last in comparisons.

* fold-const.c (fold) [EQ_EXPR]:  Place both integer and real
constants last in comparisons.  Optimize (x+1.0)>0.0 into the
equivalent x > -1.0 when -ffast-math.

* gcc.dg/20020607-2.c: New test case.

From-SVN: r54356

22 years agoconfig.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
Jason Thorpe [Fri, 7 Jun 2002 23:31:05 +0000 (23:31 +0000)]
config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.

* config.gcc (mips*-*-netbsd*): Add mips/t-netbsd to ${tmake_file}.
* config/mips/t-netbsd: New file.

From-SVN: r54353

22 years agocppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W options their own entries.
Zack Weinberg [Fri, 7 Jun 2002 22:24:30 +0000 (22:24 +0000)]
cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W options their own entries.

* cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W
options their own entries.
(parse_option): Clarify comment.
(cpp_handle_option): Remove 'ignore' parameter and OPT_W
special case.  Replace if/strcmp chain for -W options with
use of new OPT_* entries for them.
(cpp_handle_options): Update to match.
* cpplib.h: Remove last parameter to cpp_handle_option from prototype.
* c-decl.c, cp/decl2.c: Update call to cpp_handle_option.

From-SVN: r54352

22 years agolocale-inst.cc (__codecvt_abstract_base): Put inside _GLIBCPP_USE_WCHAR_T ifdef.
Steve Ellcey [Fri, 7 Jun 2002 22:06:38 +0000 (22:06 +0000)]
locale-inst.cc (__codecvt_abstract_base): Put inside _GLIBCPP_USE_WCHAR_T ifdef.

* src/locale-inst.cc (__codecvt_abstract_base):
Put inside _GLIBCPP_USE_WCHAR_T ifdef.
* include/bits/istream.tcc (basic_istream): Ditto.
(ws) Ditto.
(operator>>) Ditto.
* include/bits/ostream.tcc (basic_ostream): Ditto.
(endl): Ditto.
(ends): Ditto.
(flush): Ditto.
(operator<<): Ditto.

From-SVN: r54351

22 years agotest for PR 6950
Jason Merrill [Fri, 7 Jun 2002 21:32:57 +0000 (17:32 -0400)]
test for PR 6950

From-SVN: r54350

22 years agomkcheck.in: Link against local testsuite library.
Phil Edwards [Fri, 7 Jun 2002 20:25:04 +0000 (20:25 +0000)]
mkcheck.in: Link against local testsuite library.

2002-06-07  Phil Edwards  <pme@gcc.gnu.org>

* mkcheck.in:  Link against local testsuite library.
* testsuite/testsuite_hooks.h (__set_testsuite_memlimit):  Move null
implementation out...
* testsuite/testsuite_hooks.cc:  ...to here.

From-SVN: r54349

22 years agogengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
Akim Demaille [Fri, 7 Jun 2002 19:19:42 +0000 (21:19 +0200)]
gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.

2002-06-07  Akim Demaille  <akim@epita.fr>

* gengtype-yacc.y (optionseqopt): Add the ending `;' to the action.
Whitespace changes.

From-SVN: r54348

22 years agosched-deps.c (free_deps): Avoid calling free_INSN_LIST_list on empty lists.
Jeff Law [Fri, 7 Jun 2002 18:00:44 +0000 (12:00 -0600)]
sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list on empty lists.

        * sched-deps.c (free_deps): Avoid calling free_INSN_LIST_list
        on empty lists.

From-SVN: r54347

22 years ago* gensupport.c: Fix misspelling.
Matt Kraai [Fri, 7 Jun 2002 17:59:18 +0000 (17:59 +0000)]
* gensupport.c: Fix misspelling.

From-SVN: r54346

22 years agoconfigure.in: Add --enable-__cxa_atexit.
H.J. Lu [Fri, 7 Jun 2002 17:14:56 +0000 (17:14 +0000)]
configure.in: Add --enable-__cxa_atexit.

2002-06-07  H.J. Lu  (hjl@gnu.org)

* configure.in: Add --enable-__cxa_atexit.
* configure: Regenerated.
* config.in: Likewise.

* defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
not defined.

2002-06-07  H.J. Lu  (hjl@gnu.org)

* decl2.c (flag_use_cxa_atexit): Set to DEFAULT_USE_CXA_ATEXIT.

From-SVN: r54345

22 years ago* diagnostic.c (diagnostic_build_prefix): Fix initialization.
Gabriel Dos Reis [Fri, 7 Jun 2002 16:35:52 +0000 (16:35 +0000)]
* diagnostic.c (diagnostic_build_prefix): Fix initialization.

From-SVN: r54343

22 years ago* gcc.c-torture/compile/20020604-1.c: New test.
Jakub Jelinek [Fri, 7 Jun 2002 16:28:57 +0000 (18:28 +0200)]
* gcc.c-torture/compile/20020604-1.c: New test.

From-SVN: r54342

22 years ago* config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.
Jason Thorpe [Fri, 7 Jun 2002 16:12:43 +0000 (16:12 +0000)]
* config/mips/netbsd.h (CACHE_FLUSH_FUNC): Define.

From-SVN: r54340

22 years agocppexp.c (num_equality_op): Use a temporary variable to work around gcc 3.0.4 bug.
Jason Merrill [Fri, 7 Jun 2002 13:29:17 +0000 (09:29 -0400)]
cppexp.c (num_equality_op): Use a temporary variable to work around gcc 3.0.4 bug.

        * cppexp.c (num_equality_op): Use a temporary variable to work
        around gcc 3.0.4 bug.

From-SVN: r54339

22 years ago* diagnostic.c (diagnostic_build_prefix): Tidy.
Gabriel Dos Reis [Fri, 7 Jun 2002 13:00:43 +0000 (13:00 +0000)]
* diagnostic.c (diagnostic_build_prefix): Tidy.

From-SVN: r54337

22 years agoDaily bump.
GCC Administrator [Fri, 7 Jun 2002 07:17:30 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r54336

22 years agocpptrad.c (struct block, [...]): New.
Neil Booth [Fri, 7 Jun 2002 06:26:32 +0000 (06:26 +0000)]
cpptrad.c (struct block, [...]): New.

* cpptrad.c (struct block, BLOCK_HEADER_LEN, BLOCK_LEN,
scan_parameters, save_replacement_text, replacement_length): New.
(scan_out_logical_line): Take a macro and save parameters if
non-NULL.
(_cpp_logical_line_trad): Update.
(_cpp_create_trad_definition): Update to handle function-like
macros.
* cpplex.c (new_buff): Update.
(struct dummy, DEFAULT_ALIGNMENT, CPP_ALIGN): Move...
* cpphash.h: ...here.
(CPP_ALIGN2, _cpp_save_parameter): New.
* cppmacro.c (save_parameter): Rename, export.
(parse_params): Update.

From-SVN: r54331

22 years agommix.c: Remove extra broken prototype for mmix_init_machine_status.
Andreas Jaeger [Fri, 7 Jun 2002 05:21:47 +0000 (07:21 +0200)]
mmix.c: Remove extra broken prototype for mmix_init_machine_status.

* config/mmix/mmix.c: Remove extra broken prototype for
mmix_init_machine_status.

From-SVN: r54330

22 years ago* gengtype.c: Add comments before all the routines.
Geoffrey Keating [Fri, 7 Jun 2002 02:15:39 +0000 (02:15 +0000)]
* gengtype.c: Add comments before all the routines.

From-SVN: r54329

22 years agoconfig.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32 from and add t-sh64 to ${tmake...
Jason Thorpe [Fri, 7 Jun 2002 00:58:44 +0000 (00:58 +0000)]
config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32 from and add t-sh64 to ${tmake_file}.

* config.gcc (sh5*-*-netbsd*): Remove sh/t-netbsd-sh5-32
from and add t-sh64 to ${tmake_file}.
(sh64*-*-netbsd*): Add t-sh64 to ${tmake_file}.
* config/sh/t-netbsd-sh5 (LIB1ASMFUNCS): Remove.
* config/sh/t-netbsd-sh5-32: Remove.
* config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Use
MULTILIB_ENDIAN.
(MULTILIB_DIRNAMES): Define.

From-SVN: r54328

22 years agoi386.md (and promoting splitters): Disable QI to SImode promoting when doing so chang...
Jan Hubicka [Thu, 6 Jun 2002 21:20:43 +0000 (23:20 +0200)]
i386.md (and promoting splitters): Disable QI to SImode promoting when doing so changes immediate to be 32bit.

* i386.md (and promoting splitters): Disable QI to SImode promoting
when doing so changes immediate to be 32bit.

* rtl.h (emit_*_scope): Declare.
* emit-rtl.c (emit_*_scope): New global functions.
(try_split): Copy scope.
* ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
noce_try_flag_inc, noce_try_store_flag_mask, noce_try_cmove,
noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
noce_process_if_block, find_cond_trap): Copy scopes.
* recog.c (peephole2_optimize): likewise.

From-SVN: r54327

22 years ago* h8300.h (OK_FOR_U): Fix thinko exposed by flag checking.
Jeff Law [Thu, 6 Jun 2002 21:13:42 +0000 (15:13 -0600)]
* h8300.h (OK_FOR_U): Fix thinko exposed by flag checking.

From-SVN: r54323

22 years agonatFileDescriptorWin32.cc (open): Disable Win32 file locking, just like the Sun JVM...
Adam Megacz [Thu, 6 Jun 2002 20:39:37 +0000 (20:39 +0000)]
natFileDescriptorWin32.cc (open): Disable Win32 file locking, just like the Sun JVM does.

2002-06-06  Adam Megacz <adam@xwt.org>

        * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
        locking, just like the Sun JVM does.

From-SVN: r54322

22 years ago* gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'".
J"orn Rennecke [Thu, 6 Jun 2002 20:08:13 +0000 (20:08 +0000)]
* gengtype-lex.l (INITIAL): New rule for "'"("\\".|[^\\])"'".

From-SVN: r54321

22 years agoMakefile.in (TEXI_GCCINSTALL_FILES): Define.
Rainer Orth [Thu, 6 Jun 2002 20:03:04 +0000 (20:03 +0000)]
Makefile.in (TEXI_GCCINSTALL_FILES): Define.

* Makefile.in (TEXI_GCCINSTALL_FILES): Define.
($(docdir)/gccinstall.info): New target.
(info): Depend on it.
(gccinstall.dvi): New target.
(dvi): Depend on it.
* doc/.cvsignore: Ignore new info files.
* doc/install.texi (@setfilename): Reflect new info filename.

From-SVN: r54319

22 years agosh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P on an UNSPEC.
J"orn Rennecke [Thu, 6 Jun 2002 15:14:39 +0000 (15:14 +0000)]
sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P on an UNSPEC.

* sh.c (machine_dependent_reorg): Don't set RTX_UNCHANGING_P
on an UNSPEC.

From-SVN: r54318

22 years ago* src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.
Ulrich Weigand [Thu, 6 Jun 2002 12:51:23 +0000 (12:51 +0000)]
* src/s390/sysv.S: Save/restore %r6.  Add DWARF-2 unwind info.

From-SVN: r54317

22 years agohashtab.h (htab): Rearrange new members for backward compatibility.
DJ Delorie [Thu, 6 Jun 2002 12:42:06 +0000 (08:42 -0400)]
hashtab.h (htab): Rearrange new members for backward compatibility.

* hashtab.h (htab): Rearrange new members for backward
compatibility.
(htab_create): Don't use a macro that requires other headers.

From-SVN: r54316

22 years agoFixed regression in the ObjC compiler which was failing on simple C code
Nicola Pero [Thu, 6 Jun 2002 09:27:22 +0000 (09:27 +0000)]
Fixed regression in the ObjC compiler which was failing on simple C code
due to missing language hooks

From-SVN: r54315

22 years agoDefine some laguage hooks which were missing - LANG_HOOKS_GET_ALIAS_SET
Nicola Pero [Thu, 6 Jun 2002 09:25:48 +0000 (09:25 +0000)]
Define some laguage hooks which were missing - LANG_HOOKS_GET_ALIAS_SET
and LANG_HOOKS_SAFE_FROM_P

From-SVN: r54314

22 years agoUpdate last commit.
Loren J. Rittle [Thu, 6 Jun 2002 07:43:09 +0000 (07:43 +0000)]
Update last commit.

From-SVN: r54311

22 years agoMakefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
Loren J. Rittle [Thu, 6 Jun 2002 07:32:57 +0000 (07:32 +0000)]
Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.

* src/Makefile.am (AUTOMAKE_OPTIONS): Use cygnus-style generation.
* include/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Likewise.
* src/Makefile.in: Regenerate (explicitly with --cygnus option).
* testsuite/Makefile.in: Likewise.

From-SVN: r54310

22 years agoDaily bump.
GCC Administrator [Thu, 6 Jun 2002 07:21:30 +0000 (07:21 +0000)]
Daily bump.

From-SVN: r54309

22 years agoemit-rtl.c (get_first_nonnote_insn, [...]): New functions.
John David Anglin [Thu, 6 Jun 2002 06:37:37 +0000 (06:37 +0000)]
emit-rtl.c (get_first_nonnote_insn, [...]): New functions.

* emit-rtl.c (get_first_nonnote_insn, get_last_nonnote_insn): New
functions.
* rtl.h (get_first_nonnote_insn, get_last_nonnote_insn): Declare.
* avr/avr.c (avr_output_function_epilogue): Use above to determine
function size.
* pa/pa.c (pa_output_function_prologue): Likewise.

From-SVN: r54304

22 years agointegrate.c (subst_constants): Handle 'B' RTL format.
David S. Miller [Thu, 6 Jun 2002 04:13:45 +0000 (21:13 -0700)]
integrate.c (subst_constants): Handle 'B' RTL format.

2002-06-05  David S. Miller  <davem@redhat.com>

* integrate.c (subst_constants): Handle 'B' RTL format.

From-SVN: r54302

22 years agoIndex: include/ChangeLog
Geoffrey Keating [Thu, 6 Jun 2002 03:23:27 +0000 (03:23 +0000)]
Index: include/ChangeLog

Index: include/ChangeLog
* hashtab.h (htab_create): Restore prototype for backward
compatibility.
(htab_try_create): Likewise.

Index: libiberty/ChangeLog
* hashtab.c (htab_create): New stub function for backward
compatibility.
(htab_try_create): Likewise.

From-SVN: r54300

22 years ago* error.c (cp_error_at): Fix typo.
Gabriel Dos Reis [Thu, 6 Jun 2002 03:20:10 +0000 (03:20 +0000)]
* error.c (cp_error_at): Fix typo.

From-SVN: r54299

22 years agovarasm.c (make_decl_rtl): Fix comment for removed halfpic.c.
Eric Christopher [Thu, 6 Jun 2002 03:05:37 +0000 (03:05 +0000)]
varasm.c (make_decl_rtl): Fix comment for removed halfpic.c.

2002-06-05  Eric Christopher  <echristo@redhat.com>

* varasm.c (make_decl_rtl): Fix comment for removed
halfpic.c.

From-SVN: r54298

22 years agoMakefile.in: Remove missed halfpic bits.
Eric Christopher [Thu, 6 Jun 2002 01:51:15 +0000 (01:51 +0000)]
Makefile.in: Remove missed halfpic bits.

2002-06-05  Eric Christopher  <echristo@redhat.com>

* Makefile.in: Remove missed halfpic bits.

From-SVN: r54297

22 years agotoplev.c: Remove half-pic.
Eric Christopher [Thu, 6 Jun 2002 01:25:16 +0000 (01:25 +0000)]
toplev.c: Remove half-pic.

2002-06-05  Eric Christopher  <echristo@redhat.com>

* toplev.c: Remove half-pic.
* config/mips/mips.c: Ditto.
* config/mips/mips.h: Ditto. Remove unused defines.
* config/mips/openbsd.h: Update comment to reflect above.
* config/mips/mips.md: Remove half-pic constraints.
* halfpic.h: Delete.
* halfpic.c: Ditto.

From-SVN: r54296

22 years agoMakefile.am (libgcj_convenience.la): Revert the last change.
H.J. Lu [Wed, 5 Jun 2002 22:15:05 +0000 (22:15 +0000)]
Makefile.am (libgcj_convenience.la): Revert the last change.

2002-06-05  H.J. Lu  (hjl@gnu.org)

* Makefile.am (libgcj_convenience.la): Revert the last change.
(libgcj.la): Likewise.
* Makefile.in: Regenerated.

From-SVN: r54295

22 years agopa.h (EXTRA_CONSTRAINT, T case): Further refine so that it rejects (mem (lo_sum ...
Jeff Law [Wed, 5 Jun 2002 20:35:23 +0000 (14:35 -0600)]
pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it rejects (mem (lo_sum (reg) (unspec)))...

        * pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
        rejects (mem (lo_sum (reg) (unspec))), but will allow
        (mem (lo_sum (reg) (symbol_ref)) for PA2.0.

From-SVN: r54294

22 years agocpphash.h (_cpp_create_definition): Update prototype.
Neil Booth [Wed, 5 Jun 2002 20:27:12 +0000 (20:27 +0000)]
cpphash.h (_cpp_create_definition): Update prototype.

* cpphash.h (_cpp_create_definition): Update prototype.
(_cpp_push_text_context, _cpp_create_trad_definition): New.
( cpp_lex_identifier_trad): New.
(_cpp_set_trad_context): New.
* cppinit.c (cpp_finish_options): Don't conditionalize builtins.
* cpplib.c (SEEN_EOL): Update.
(lex_macro_node): Update for -traditional.
(cpp_push_buffer, _cpp_pop_buffer): Similarly.
* cppmacro.c (_cpp_create_definition): Split into
create_iso_definition() and _cpp_create_trad_definition().
(warn_of_redefinition): Update prototype; handle traditional
macros.
(_cpp_push_text_context): New.
* cpptrad.c (skip_whitespace, push_replacement_text): New.
(lex_identifier): Call ht_lookup with correct start.
(_cpp_lex_identifier_tradm _cpp_create_trad_definition,
_cpp_set_trad_context): New.
(scan_out_logical_line): Update to handle changing contexts.

From-SVN: r54293

22 years agoconfig.gcc (sh-*-elf*, [...]): Unify.
J"orn Rennecke [Wed, 5 Jun 2002 19:52:07 +0000 (19:52 +0000)]
config.gcc (sh-*-elf*, [...]): Unify.

gcc:
* config.gcc (sh-*-elf*,  sh64*-*-elf*): Unify.
(shl*-*-elf*): Add.
* config/sh/t-be (MULTILIB_ENDIAN): Set.
* config/sh/t-le (MULTILIB_ENDIAN): Likewise.
* t-sh (MULTILIB_ENDIAN): Set.
(MULTILIB_OPTIONS): Use it.
* t-sh64 (MULTILIB_OPTIONS): Likewise.
(MULTILIB_DIRNAMES): Likewise.
bfd:
* config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations.
ld:
configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.

From-SVN: r54292

22 years agotoplev.h (report_error_function): Remove.
Gabriel Dos Reis [Wed, 5 Jun 2002 19:35:45 +0000 (19:35 +0000)]
toplev.h (report_error_function): Remove.

* toplev.h (report_error_function): Remove.

* diagnostic.h (location_t): New datatype.
(text_info): Likewise.
(diagnostic_info): Likewise.
(output_prefix): New macro.
(diagnostic_last_function_changed): Likewise.
(diagnostic_set_last_function): Likewise.
(diagnostic_last_module_changed): Likewise.
(diagnostic_set_last_module): Likewise.
(report_diagnostic): Now macro.
(diagnostic_set_info): Declare.

* diagnostic.c (report_problematic_module): Rename to
diagnostic_repor_current_module.
(set_diagnostic_context): Remove.
(count_error): Rename to diagnostic_error_count.
(error_function_changed): Remove.
(record_last_error_function): Likewise.
(error_module_changed): Likewise.
(record_last_error_module): Likewise.
(context_as_prefix): Rename to diagnostic_build_prefix.
(flush_diagnostic_buffer): Rename to diagnostic_flush_buffer.
(diagnostic_set_info): New function.

* objc/objc-act.c: #include diagnostic.h
(error_with_ivar): Adjust call to count_error.
(warn_with_method): Likewise.
* objc/Make-lang.in (objc-act.o): Depend on diagnostic.h

cp/
2002-06-04  Gabriel Dos Reis  <gdr@codesourcery.com>

* error.c (cp_diagnostic_starter): Adjust call.
(maybe_print_instantiation_context): Change prototype to take a
'diagnostic_info *'.
(print_instantiation_full_context): Likewise.
(print_instantiation_partial_context): Likewise.
(cp_diagnostic_starter): Likewise.
(cp_diagnostic_finalizer): Likewise.
(cp_print_error_function): Likewise.
(cp_printer): Take a secondary parameter as a 'text_info *'.
Remove output_state savings.  Adjust calls.

f/
2002-06-04  Gabriel Dos Reis  <gdr@codesourcery.com>

* bad.c (ffebad_start_): Adjust call to count_error.
* Make-lang.in (f/bad.o): Depend on diagnostic.h
* bad.c: #include diagnostic.h

From-SVN: r54291

22 years agof2cext.c (alarm_): Mark parameter(s) with attribute `unused'.
Kaveh R. Ghazi [Wed, 5 Jun 2002 19:07:11 +0000 (19:07 +0000)]
f2cext.c (alarm_): Mark parameter(s) with attribute `unused'.

* f2cext.c (alarm_): Mark parameter(s) with attribute `unused'.
* libF77/h_len.c (h_len): Likewise.
* libF77/i_len.c (i_len): Likewise.
* libI77/rsli.c (i_ungetc): Likewise.
* libU77/date_.c (G77_date_y2kbuggy_0): Likewise.
* libU77/fputc_.c (G77_fputc_0): Likewise.
* libU77/vxtidate_.c (G77_vxtidate_y2kbuggy_0): Likewise.
* libU77/vxttime_.c (G77_vxttime_0): Likewise.

From-SVN: r54289