]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 years agoxtensa.c (xtensa_build_va_list): Use lang_hooks.types.make_type instead of make_node...
Bob Wilson [Wed, 5 Jun 2002 18:55:19 +0000 (18:55 +0000)] 
xtensa.c (xtensa_build_va_list): Use lang_hooks.types.make_type instead of make_node; set up __va_list_tag type decl.

        * config/xtensa/xtensa.c (xtensa_build_va_list): Use
        lang_hooks.types.make_type instead of make_node; set up
        __va_list_tag type decl.
        (xtensa_builtin_saveregs): Remove broken use of
        RTX_UNCHANGING_P and unnecessary use of MEM_IN_STRUCT_P
        for saved registers; add varargs alias set.

From-SVN: r54288

21 years ago*** empty log message ***
Neil Booth [Wed, 5 Jun 2002 18:33:25 +0000 (18:33 +0000)] 
*** empty log message ***

From-SVN: r54287

21 years agognu.h: Undef TARGET_OS_CPP_BUILTINS.
Neil Booth [Wed, 5 Jun 2002 17:01:31 +0000 (17:01 +0000)] 
gnu.h: Undef TARGET_OS_CPP_BUILTINS.

config:
* alpha/gnu.h: Undef TARGET_OS_CPP_BUILTINS.
* i386/beos-elf.h: Use TARGET_OS_CPP_BUILTINS rather than
CPP_PREDEFINES and part of CPP_SPEC.
i386/freebsd-aout.h, i386/gas.h, i386/gnu.h, i386/linux-aout.h,
i386/linux.h, i386/moss.h, i386/xm-vsta.h: Similarly.

From-SVN: r54286

21 years agoctype_noninline.h (do_toupper,do_tolower): Call external symbol.
David Edelsohn [Wed, 5 Jun 2002 14:51:59 +0000 (14:51 +0000)] 
ctype_noninline.h (do_toupper,do_tolower): Call external symbol.

        * config/os/aix/bits/ctype_noninline.h (do_toupper,do_tolower):
        Call external symbol.

From-SVN: r54284

22 years ago* reg-stack.c (reg_to_stack): Do not call find_basic_blocks.
Jan Hubicka [Wed, 5 Jun 2002 13:23:16 +0000 (15:23 +0200)] 
* reg-stack.c (reg_to_stack): Do not call find_basic_blocks.

From-SVN: r54282

22 years agoDaily bump.
GCC Administrator [Wed, 5 Jun 2002 07:25:55 +0000 (07:25 +0000)] 
Daily bump.

From-SVN: r54278

22 years ago* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.
Alan Modra [Wed, 5 Jun 2002 03:56:27 +0000 (03:56 +0000)] 
* config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Define.

From-SVN: r54272

22 years agoUse ## for comment.
H.J. Lu [Wed, 5 Jun 2002 00:19:30 +0000 (17:19 -0700)] 
Use ## for comment.

From-SVN: r54271

22 years ago* gengtype-yacc.y: Make sure all rules end with a semicolon.
Zack Weinberg [Wed, 5 Jun 2002 00:08:00 +0000 (00:08 +0000)] 
* gengtype-yacc.y: Make sure all rules end with a semicolon.

From-SVN: r54270

22 years agoxtensa.c (xtensa_init_machine_status): Fix typo in function prototype and include...
Bob Wilson [Tue, 4 Jun 2002 23:41:42 +0000 (23:41 +0000)] 
xtensa.c (xtensa_init_machine_status): Fix typo in function prototype and include "ggc.h" header.

        * config/xtensa/xtensa.c (xtensa_init_machine_status): Fix
        typo in function prototype and include "ggc.h" header.

From-SVN: r54269

22 years agoMakefile.am (libgcj_convenience.la): New target.
H.J. Lu [Tue, 4 Jun 2002 22:52:52 +0000 (22:52 +0000)] 
Makefile.am (libgcj_convenience.la): New target.

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

* Makefile.am (libgcj_convenience.la): New target.
(libgcj.la): Depend on libgcj_convenience.la.
* Makefile.in: Regenerated.

From-SVN: r54268

22 years agoalpha.c (mode_mask_operand): Simplify without ifdefs.
Richard Henderson [Tue, 4 Jun 2002 22:46:00 +0000 (15:46 -0700)] 
alpha.c (mode_mask_operand): Simplify without ifdefs.

        * config/alpha/alpha.c (mode_mask_operand): Simplify without ifdefs.
        (print_operand) ['U']: Likewise.
        (alpha_expand_unaligned_store): Correct constants for 32-bit cross.
        (alpha_expand_unaligned_store_words): Likewise.
        (alpha_expand_builtin_vector_binop): Fix typo.
        (enum alpha_builtin, code_for_builtin): Add remaining ext, ins, msk,
        umulh, and cix insns.
        (one_arg_builtins): Add cix builtins.
        (two_arg_builtins): Add ext, ins, msk, umulh builtins.
        (alpha_expand_builtin): Fix typo in arity.
        * config/alpha/alpha.md (UNSPEC_CTLZ, UNSPEC_CTPOP): New.
        (builtin_extbl, builtin_extwl, builtin_extll, builtin_extwh,
        builtin_extlh, builtin_insbl, builtin_inswl, builtin_insll,
        builtin_insql, builtin_inswh, builtin_inslh, builtin_insqh,
        builtin_mskbl, builtin_mskwl, builtin_mskll, builtin_mskql,
        builtin_mskwh, builtin_msklh, builtin_mskqh, builtin_cttz,
        builtin_ctlz, builtin_ctpop): New.
        * doc/extend.texi (Alpha Built-in Functions): Update.

        * gcc.dg/alpha-base-1.c: Add ext/ins/msk/umulh cases.
        * gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: Use -mcpu=ev67.
        * gcc.dg/alpha-cix-1.c, gcc.dg/alpha-cix-2.c: New.

From-SVN: r54267

22 years agogengtype.c (write_gc_root): Don't unnecessarily prevent global variable-length arrays...
Geoffrey Keating [Tue, 4 Jun 2002 22:25:29 +0000 (22:25 +0000)] 
gengtype.c (write_gc_root): Don't unnecessarily prevent global variable-length arrays being roots.

* gengtype.c (write_gc_root): Don't unnecessarily prevent
global variable-length arrays being roots.

From-SVN: r54266

22 years agoconfig.gcc (powerpc-*-darwin*): Set config_gtfiles.
Geoffrey Keating [Tue, 4 Jun 2002 22:20:43 +0000 (22:20 +0000)] 
config.gcc (powerpc-*-darwin*): Set config_gtfiles.

* config.gcc (powerpc-*-darwin*): Set config_gtfiles.
* configure.in (config_gtfiles): New variable.
(all_gtfiles): Initialise from config_gtfiles.
* configure: Regenerate.

From-SVN: r54265

22 years ago* jcf-write.c (perform_relocations): Optmize a goto to a goto.
Tom Tromey [Tue, 4 Jun 2002 22:09:43 +0000 (22:09 +0000)] 
* jcf-write.c (perform_relocations): Optmize a goto to a goto.

From-SVN: r54264

22 years agogcj.texi (Input Options): Fixed typo.
Michael Koch [Tue, 4 Jun 2002 22:00:42 +0000 (22:00 +0000)] 
gcj.texi (Input Options): Fixed typo.

2002-06-04  Michael Koch  <konqueror@gmx.de>

* gcj.texi (Input Options): Fixed typo.

From-SVN: r54263

22 years agoconfigure.in (--with-newlib): New option: Check ${with_newlib} instead of ${with_cros...
H.J. Lu [Tue, 4 Jun 2002 21:01:44 +0000 (21:01 +0000)] 
configure.in (--with-newlib): New option: Check ${with_newlib} instead of ${with_cross_host} for newlib.

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

* configure.in (--with-newlib): New option:
Check ${with_newlib} instead of ${with_cross_host} for newlib.
(HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
Linux.
* configure: Regenerated.

From-SVN: r54262

22 years agojava-tree.h, [...]: Remove all #if JAVA_USE_HANDLES blocks...
Zack Weinberg [Tue, 4 Jun 2002 20:32:08 +0000 (20:32 +0000)] 
java-tree.h, [...]: Remove all #if JAVA_USE_HANDLES blocks...

* java-tree.h, class.c, expr.c, jcf-parse.c, parse.y,
typeck.c, verify.c: Remove all #if JAVA_USE_HANDLES blocks,
all mention of CLASS_TO_HANDLE_TYPE or HANDLE_TO_CLASS_TYPE,
and all now-pointless local variables.  Rename other local
variables to reflect their not being handles.

* java-tree.h, jcf-dump.c, jcf-io.c: Remove all
#if JCF_USE_STDIO blocks.

* parse.y: Add missing semicolon at end of rule.

From-SVN: r54261

22 years agore PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentExcep...
Tom Tromey [Tue, 4 Jun 2002 19:39:02 +0000 (19:39 +0000)] 
re PR libgcj/6389 (System.getProperty("") should always throw an IllegalArgumentException)

* libjava.compile/T20020604.java: New file.

For PR libgcj/6389:
* libjava.mauve/xfails: Now passes System.getProperty test.

For PR java/1343 and PR java/6336:
* libjava.compile/PR1343.java: New file.

For PR java/5913:
* libjava.compile/PR5913.xfail: Removed.

From-SVN: r54259

22 years ago* java/util/natTimeZone.cc: Include <stdio.h>.
Tom Tromey [Tue, 4 Jun 2002 19:30:20 +0000 (19:30 +0000)] 
* java/util/natTimeZone.cc: Include <stdio.h>.

From-SVN: r54258

22 years agolibstdc++-v3-dg.exp (libstdc++-v3_target_compile): Search correct multilib testsuite...
Rainer Orth [Tue, 4 Jun 2002 18:44:35 +0000 (18:44 +0000)] 
libstdc++-v3-dg.exp (libstdc++-v3_target_compile): Search correct multilib testsuite dir for libv3test.

* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
Search correct multilib testsuite dir for libv3test.

From-SVN: r54256

22 years ago2002-06-04 Paolo Carlini <pcarlini@unitus.it>
Paolo Carlini [Tue, 4 Jun 2002 18:20:38 +0000 (20:20 +0200)] 
2002-06-04  Paolo Carlini  <pcarlini@unitus.it>
    Gaby Dos Reis  <gdr@codesourcery.com>

* include/bits/basic_string.tcc
(basic_string::_S_construct(forward_iterator_tag):
Fix typo in null pointer check.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test04.

Co-Authored-By: Gabriel Dos Reis <gdr@codesourcery.com>
From-SVN: r54255

22 years agobeos-elf.h, [...] (CPP_SPEC): Remove cpp_cpu.
Neil Booth [Tue, 4 Jun 2002 18:07:44 +0000 (18:07 +0000)] 
beos-elf.h, [...] (CPP_SPEC): Remove cpp_cpu.

config/i386:
* beos-elf.h, cygwin.h, djgpp.h, gas.h, gnu.h, i386-interix.h,
i386-interix3.h, i386elf.h, linux-aout.h, linux.h, linux64.h,
mingw32.h, netbsd-elf.h, netbsd.h, netbsd64.h, rtemself.h,
sco5.h, sol2.h, sysv3.h, sysv4.h, sysv5.h, uwin.h, vxi386.h,
win32.h (CPP_SPEC): Remove cpp_cpu.
* i386.h (TARGET_CPU_CPP_BUILTINS): Use.
(CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Die!

From-SVN: r54254

22 years ago* config/ia64/ia64.c (gen_thread_pointer): Fix variable name.
Janis Johnson [Tue, 4 Jun 2002 18:03:45 +0000 (18:03 +0000)] 
* config/ia64/ia64.c (gen_thread_pointer): Fix variable name.

From-SVN: r54253

22 years agosched-int.h (struct deps): New field libcall_block_tail_insn.
Jeff Law [Tue, 4 Jun 2002 17:46:14 +0000 (11:46 -0600)] 
sched-int.h (struct deps): New field libcall_block_tail_insn.

        * sched-int.h (struct deps): New field libcall_block_tail_insn.
        * sched_deps.c (init_deps): Initialize libcall_block_tail_insn.
        * sched_deps.c (sched_analyze_insn): If libcall_block_tail_insn
        is set, then mark the current insn as being part of a libcall
        scheduling group.
        (sched_analyze): Set and clear libcall_block_tail_insn appropriately.

        * haifa-sched.c (schedule_block): Do not count USE or CLOBBER
        insns against the issue rate.

From-SVN: r54251

22 years agoTue Jun 4 19:29:42 CEST 2002 Jan Hubicka <jh@suse.cz>
Jan Hubicka [Tue, 4 Jun 2002 17:32:59 +0000 (19:32 +0200)] 
Tue Jun  4 19:29:42 CEST 2002  Jan Hubicka  <jh@suse.cz>

* cfglayout.c (duplicate_insn_chain): Kill NOTE_INSN_RANGE notes.
* final.c (final_scan_insn): Likewise.
* ggc-common.c (ggc_mark_rtx_children_1): Likewise; use
NOTE_EXPECTED_VALUE instead of NOTE_RANGE.
* haifa-sched.c (unlink_other_notes): Likeewise.
(reemit_notes): Likewise.
* print-rtl.c (print_rtx): Likewise.
* sched-deps (sched-analyze): Likewise.
* rtl.c (note_insn_name): Likewise.
* rtl.h (NOTE_RANGE_INFO, NOTE_LIVE_INFO): Kill.
(enum insn_note): Kill NOTE_INSN_RANGE_*, NOTE_INSN_LIVE.
(RANGE_*): Kill.

From-SVN: r54250

22 years ago* varasm.c (mark_constants): Handle RTX format 'B'.
Jason Thorpe [Tue, 4 Jun 2002 16:22:49 +0000 (16:22 +0000)] 
* varasm.c (mark_constants): Handle RTX format 'B'.

From-SVN: r54247

22 years ago2002-06-04 Paolo Carlini <pcarlini@unitus.it>
Paolo Carlini [Tue, 4 Jun 2002 13:38:07 +0000 (15:38 +0200)] 
2002-06-04  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/money_get_members_char.cc
(test02): Add decimal point to long double constants.
* testsuite/22_locale/money_get_members_wchar_t.cc
(test02): Likewise.
* testsuite/22_locale/money_put_members_char.cc
(test02, test03, test06): Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc:
(test02, test03, test06): Likewise.
* testsuite/22_locale/num_get_members_char.cc:
(test02, test01): Likewise; suffix long long constants with LL.
* testsuite/22_locale/num_get_members_wchar_t.cc:
(test02, test01): Likewise.
* testsuite/22_locale/num_put_members_char.cc:
(test02, test01): Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc:
(test02, test01): Likewise.

From-SVN: r54243

22 years agocpphash.h (FIRST, [...]): New.
Neil Booth [Tue, 4 Jun 2002 13:07:06 +0000 (13:07 +0000)] 
cpphash.h (FIRST, [...]): New.

* cpphash.h (FIRST, LAST, CUR, RLIMIT): New.
(struct cpp_context): Add traditional fields.
* cppmacro.c (paste_all_tokens, push_ptoken_context,
push_token_context, cpp_get_token, _cpp_backup_tokens): Update.
* cpptrad.c (skip_comment, lex_identifier,
_cpp_read_logical_line_trad, scan_out_logical_line): Update.

From-SVN: r54242

22 years agogbl-ctors.h: Fix formatting.
Kazu Hirata [Tue, 4 Jun 2002 11:30:46 +0000 (11:30 +0000)] 
gbl-ctors.h: Fix formatting.

* gbl-ctors.h: Fix formatting.
* gcc.c: Likewise.
* gccspec.c: Likewise.
* gcov.c: Likewise.
* gcov-io.h: Likewise.
* gcse.c: Likewise.
* ggc-common.c: Likewise.
* ggc.h: Likewise.
* ggc-page.c: Likewise.
* ggc-simple.c: Likewise.
* global.c: Likewise.
* graph.h: Likewise.
* gthr-dce.h: Likewise.
* gthr.h: Likewise.
* gthr-posix.h: Likewise.
* gthr-rtems.h: Likewise.
* gthr-solaris.h: Likewise.
* gthr-win32.h: Likewise.

From-SVN: r54240

22 years agoMake-lang.in (gnatbind): Readd rule that has been lost in last patch.
Andreas Jaeger [Tue, 4 Jun 2002 10:55:49 +0000 (12:55 +0200)] 
Make-lang.in (gnatbind): Readd rule that has been lost in last patch.

* Make-lang.in (gnatbind): Readd rule that has been lost in last
patch.

From-SVN: r54239

22 years agoDaily bump.
GCC Administrator [Tue, 4 Jun 2002 07:18:23 +0000 (07:18 +0000)] 
Daily bump.

From-SVN: r54237

22 years agoMerge from pch-branch up to tag pch-commit-20020603.
Geoffrey Keating [Tue, 4 Jun 2002 07:11:05 +0000 (07:11 +0000)] 
Merge from pch-branch up to tag pch-commit-20020603.

From-SVN: r54232

22 years agoaltivec-2.c: Remove test for invalid vector type V2DF.
Aldy Hernandez [Tue, 4 Jun 2002 06:01:17 +0000 (06:01 +0000)] 
altivec-2.c: Remove test for invalid vector type V2DF.

2002-06-04  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-2.c: Remove test for invalid vector type V2DF.

From-SVN: r54231

22 years ago* config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
Jason Thorpe [Tue, 4 Jun 2002 05:02:44 +0000 (05:02 +0000)] 
* config.gcc (sh5-*-netbsd*, sh5l*-*-netbsd*)
(sh64-*-netbsd*, sh64l*-*-netbsd*): New targets.
* config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN)
(TARGET_VERSION_CPU): Define according to the
default target.
(TARGET_VERSION): Use TARGET_VERSION_ENDIAN and
TARGET_VERSION_CPU.
(TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_LP64
if TARGET_SHMEDIA64.
(LINK_DEFAULT_CPU_EMUL): Define according to the
default target.
(SUBTARGET_LINK_EMUL_SUFFIX): Define.
(SUBTARGET_LINK_SPEC): Define.
(LINK_SPEC): Use SH_LINK_SPEC.
(ASM_SPEC): Remove.
(TARGET_DEFAULT): Use TARGET_CPU_DEFAULT.
(FUNCTION_PROFILER): Add cases for TARGET_SHMEDIA32
and TARGET_SHMEDIA64 which abort, for now.
* config/sh/t-netbsd-sh5: New file.
* config/sh/t-netbsd-sh5-32: New file.
* config/sh/t-netbsd-sh5-64: New file.

From-SVN: r54230

22 years agoalpha.c (reg_or_const_int_operand): New.
Richard Henderson [Tue, 4 Jun 2002 04:06:38 +0000 (21:06 -0700)] 
alpha.c (reg_or_const_int_operand): New.

        * config/alpha/alpha.c (reg_or_const_int_operand): New.
        (some_operand, input_operand): Accept CONST_VECTOR.
        (alpha_extra_constraint): Add 'W'.
        (alpha_expand_zap_mask): New.
        (alpha_expand_builtin_vector_binop): New.
        (enum alpha_builtin): New.
        (zero_arg_builtins, one_arg_builtins, two_arg_builtins): New.
        (alpha_init_builtins, alpha_expand_builtin): New.
        (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): New.
        * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): New.
        (PREDICATE_CODES): Update.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md (UNSPEC_CMPBGE, UNSPEC_ZAP,
        UNSPEC_AMASK, UNSPEC_IMPLVER, UNSPEC_PERR, UNSPECV_RPCC): New.
        (movv8qi, movv8qi_fix, movv8qi_nofix): New.
        (movv4hi, movv4hi_fix, movv4hi_nofix): New.
        (movv2si, movv2si_fix, movv2si_nofix): New.
        (uminv8qi3, sminv8qi3, uminv4hi3, sminv4hi3): New.
        (umaxv8qi3, smaxv8qi3, umaxv4hi3, smaxv4hi3): New.
        (builtin_cmpbge, builtin_extql, builtin_extqh, builtin_zap,
        builtin_zap_1, builtin_zapnot, builtin_zapnot_1, builtin_amask,
        builtin_implver, builtin_rpcc, builtin_minub8, builtin_minsb8,
        builtin_minuw4, builtin_minsw4, builtin_maxub8, builtin_maxsb8,
        builtin_maxuw4, builtin_maxsw4, builtin_perr, builtin_pklb,
        pklb, builtin_pkwb, pkwb, builtin_unpkbl, unpkbl,
        builtin_unpkbw, unpkbw): New.
        * doc/extend.texi (Alpha Built-in Functions): New.

        * gcc.dg/alpha-base-1.c, gcc.dg/alpha-base-2.c: New.
        * gcc.dg/alpha-max-1.c, gcc.dg/alpha-max-2.c: New.

From-SVN: r54229

22 years agocrtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAM...
Richard Henderson [Tue, 4 Jun 2002 02:55:28 +0000 (19:55 -0700)] 
crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

        * crtstuff.c (__EH_FRAME_BEGIN__): Conditionalize on
        USE_EH_FRAME_REGISTRY, not EH_FRAME_SECTION_NAME.

From-SVN: r54228

22 years ago* config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.
Richard Henderson [Tue, 4 Jun 2002 02:36:36 +0000 (19:36 -0700)] 
* config/alpha/alpha-protos.h: Eliminate unneeded ifdefs.

From-SVN: r54227

22 years agoalpha.c (reg_or_0_operand): Use CONST0_RTX.
Richard Henderson [Tue, 4 Jun 2002 02:28:40 +0000 (19:28 -0700)] 
alpha.c (reg_or_0_operand): Use CONST0_RTX.

        * config/alpha/alpha.c (reg_or_0_operand): Use CONST0_RTX.
        (const0_operand): New.
        (reg_or_fp0_operand, fp0_operand): Remove.
        * config/alpha/alpha.h (PREDICATE_CODES): Update.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.md: Replace all uses of reg_or_fp0_operand
        and fp0_operand with reg_or_0_operand and const0_operand.

From-SVN: r54226

22 years ago* alias.c (nonoverlapping_memrefs_p): Fix off by one error.
Dan Nicolaescu [Tue, 4 Jun 2002 02:25:57 +0000 (02:25 +0000)] 
* alias.c (nonoverlapping_memrefs_p): Fix off by one error.

From-SVN: r54225

22 years agomain.c (f_setarg, f_setsig): Prototype.
Kaveh R. Ghazi [Tue, 4 Jun 2002 02:25:48 +0000 (02:25 +0000)] 
main.c (f_setarg, f_setsig): Prototype.

* libF77/main.c (f_setarg, f_setsig): Prototype.
* libI77/lread.c (quad_read): Delete.
* libI77/uio.c: Include config.h.
* libI77/wref.c (wrt_E): Cast isdigit arg to unsigned char.
* libU77/dtime_.c (clk_tck): Move to the scope where it is used.
* libU77/etime_.c (clk_tck): Likewise.

From-SVN: r54224

22 years agolbitbits.c (lbit_cshift): disambiguate expressions with parentheses.
Kaveh R. Ghazi [Tue, 4 Jun 2002 02:24:26 +0000 (02:24 +0000)] 
lbitbits.c (lbit_cshift): disambiguate expressions with parentheses.

* libF77/lbitbits.c (lbit_cshift): disambiguate expressions
with parentheses.
* libF77/qbitbits.c (qbit_cshift): Likewise.
* libI77/inquire.c (f_inqu): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/rsne.c (x_rsne): Likewise.

From-SVN: r54223

22 years ago* Makefile.in (s-libe77): Add WARN_CFLAGS.
Kaveh R. Ghazi [Tue, 4 Jun 2002 02:22:19 +0000 (02:22 +0000)] 
* Makefile.in (s-libe77): Add WARN_CFLAGS.

From-SVN: r54222

22 years agogcse.c (cprop_jump): Use single_set to get the pattern from the setcc argument.
Roger Sayle [Tue, 4 Jun 2002 00:50:42 +0000 (00:50 +0000)] 
gcse.c (cprop_jump): Use single_set to get the pattern from the setcc argument.

* gcse.c (cprop_jump): Use single_set to get the pattern
from the setcc argument.

From-SVN: r54221

22 years agodiagnostic.h (diagnostic_count): Move from output_buffer to diagnostic_context.
Gabriel Dos Reis [Mon, 3 Jun 2002 19:08:59 +0000 (19:08 +0000)] 
diagnostic.h (diagnostic_count): Move from output_buffer to diagnostic_context.

* diagnostic.h (diagnostic_count): Move from output_buffer to
diagnostic_context.
(diagnostic_kind_count): Adjust definition.

From-SVN: r54218

22 years agoexcept.c (except.c): Do not rebuild CFG.
Jan Hubicka [Mon, 3 Jun 2002 18:16:50 +0000 (20:16 +0200)] 
except.c (except.c): Do not rebuild CFG.

* except.c (except.c): Do not rebuild CFG.
* toplev.c (rest_of_compilation): Recompute CFG after sibcall
optimization.

From-SVN: r54217

22 years agoconfigure.in: Support cross-compiling.
Geoffrey Keating [Mon, 3 Jun 2002 17:59:29 +0000 (17:59 +0000)] 
configure.in: Support cross-compiling.

* configure.in: Support cross-compiling.
* configure: Regenerate.
* aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
(gcc_AC_EXAMINE_OBJECT): New.
(fastjar_AC_COMPILE_C_BIGENDIAN): New.

From-SVN: r54216

22 years agoPlease nitpicker.
Marc Espie [Mon, 3 Jun 2002 11:48:54 +0000 (11:48 +0000)] 
Please nitpicker.

From-SVN: r54215

22 years agointegrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
Jan Hubicka [Mon, 3 Jun 2002 10:03:18 +0000 (12:03 +0200)] 
integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.

* integrate.c (copy_insn_list): Properly pace the INSN_SCOPE copies.
* toplev.c: Include cfglahout.h
* Makefile.in (toplev.c): Add dependnecy.

From-SVN: r54212

22 years agoDaily bump.
GCC Administrator [Mon, 3 Jun 2002 07:17:48 +0000 (07:17 +0000)] 
Daily bump.

From-SVN: r54211

22 years agoi386.h (TARGET_CPU_CPP_BUILTINS): New.
Neil Booth [Mon, 3 Jun 2002 06:15:25 +0000 (06:15 +0000)] 
i386.h (TARGET_CPU_CPP_BUILTINS): New.

* config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): New.
(CPP_CPU32_SPEC, CPP_CPU64_SPEC): Kill.
(CPP_CPUCOMMON_SPEC): Rename CPP_CPU_SPEC.

From-SVN: r54206

22 years agoFix typo in previous correction.
Jason Thorpe [Mon, 3 Jun 2002 05:57:14 +0000 (05:57 +0000)] 
Fix typo in previous correction.

From-SVN: r54205

22 years agoCheck in file mistakenly omitted when sh*-*-netbsdelf* targets were added.
Jason Thorpe [Mon, 3 Jun 2002 05:27:06 +0000 (05:27 +0000)] 
Check in file mistakenly omitted when sh*-*-netbsdelf* targets were added.

Check in file mistakenly omitted when sh*-*-netbsdelf*
targets were added.  Update ChangeLog entry:

2002-05-30  Jason Thorpe  <thorpej@wasabisystems.com>

* config.gcc (sh[123456789l]*-*-*): Set cpu_type to sh.
(sh-*-netbsdelf*)
(shl*-*-netbsdelf*): New targets.
* config/sh/netbsd-elf.h: New file.
* config/sh/t-netbsd.h: New file.

From-SVN: r54203

22 years agoatomicity.h (__exchange_and_add): Fix inline assembly for old assemblers.
Marc Espie [Mon, 3 Jun 2002 05:26:00 +0000 (05:26 +0000)] 
atomicity.h (__exchange_and_add): Fix inline assembly for old assemblers.

* config/cpu/m68k/bits/atomicity.h(__exchange_and_add):  Fix inline
assembly for old assemblers.

From-SVN: r54202

22 years agostl_bvector.h (swap(_Bit_reference,_Bit_reference)): Move/rename...
Phil Edwards [Mon, 3 Jun 2002 05:03:50 +0000 (05:03 +0000)] 
stl_bvector.h (swap(_Bit_reference,_Bit_reference)): Move/rename...

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

* include/bits/stl_bvector.h (swap(_Bit_reference,_Bit_reference)):
Move/rename...
(vector<bool>::swap(reference,reference)): ...to this.

From-SVN: r54201

22 years agoTODO: Update.
Phil Edwards [Mon, 3 Jun 2002 04:45:03 +0000 (04:45 +0000)] 
TODO: Update.

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

* docs/doxygen/TODO:  Update.
* docs/doxygen/user.cfg.in (SORT_MEMBER_DOCS):  Set to off, now that
some class members are in 14882 order.
* docs/html/ext/howto.html:  3.1 is in the past now, not the future.

* include/std/std_bitset.h:  Update comment.
* src/bitset.cc:  Update comments, clean up spacing.

* src/Makefile.am (sources):  Alphabetize for convenience.
* src/Makefile.in:  Regenerate.

From-SVN: r54200

22 years agonetbsd.h: Update copyright years.
Jason Thorpe [Mon, 3 Jun 2002 04:42:02 +0000 (04:42 +0000)] 
netbsd.h: Update copyright years.

* config/ns32k/netbsd.h: Update copyright years.
(TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
* config/ns32k/ns32k.h (CPP_PREDEFINES): Remove.
(TARGET_CPU_CPP_BUILTINS): Define.

From-SVN: r54199

22 years agostl_deque.h, [...]: Reformat to (mostly) match C++STYLE.
Phil Edwards [Mon, 3 Jun 2002 04:34:19 +0000 (04:34 +0000)] 
stl_deque.h, [...]: Reformat to (mostly) match C++STYLE.

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

* include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h:  Reformat to (mostly) match C++STYLE.
Reorder to match 14882.  Doxygen blocks for all public members.

From-SVN: r54198

22 years agoemit-rtl.c: Likewise.
Kazu Hirata [Mon, 3 Jun 2002 01:13:17 +0000 (01:13 +0000)] 
emit-rtl.c: Likewise.

* emit-rtl.c: Likewise.
* errors.h: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.

From-SVN: r54197

22 years agoelf.h: Fix formatting.
Kazu Hirata [Mon, 3 Jun 2002 00:51:37 +0000 (00:51 +0000)] 
elf.h: Fix formatting.

* config/h8300/elf.h: Fix formatting.
* config/h8300/rtems.h: Likewise.

From-SVN: r54196

22 years ago* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.
Jason Thorpe [Mon, 3 Jun 2002 00:28:12 +0000 (00:28 +0000)] 
* config/rs6000/netbsd.h (DRAFT_V4_STRUCT_RET): Remove.

From-SVN: r54194

22 years agoreverted erroneous checkin
Tom Tromey [Sun, 2 Jun 2002 23:19:01 +0000 (23:19 +0000)] 
reverted erroneous checkin

From-SVN: r54193

22 years agofixincl.x: Rebuilt.
Tom Tromey [Sun, 2 Jun 2002 23:17:30 +0000 (23:17 +0000)] 
fixincl.x: Rebuilt.

* fixinc/fixincl.x: Rebuilt.
* fixinc/inclhack.def (thread_keyword): Match `*__thread'.

From-SVN: r54192

22 years agoi370.h (TARGET_CPU_CPP_BUILTINS): Use.
Neil Booth [Sun, 2 Jun 2002 22:27:32 +0000 (22:27 +0000)] 
i370.h (TARGET_CPU_CPP_BUILTINS): Use.

config/i370:
* i370.h (TARGET_CPU_CPP_BUILTINS): Use.
* linux.h: Use TARGET_OS_CPP_BUILTINS rather than CPP_PREDEFINES.
* mvs.h: Similarly.
* oe.h: Similarly.

From-SVN: r54191

22 years agofinal.c (final): Allow notes to not have computed addresses; kill no longer needed...
Jan Hubicka [Sun, 2 Jun 2002 22:23:45 +0000 (00:23 +0200)] 
final.c (final): Allow notes to not have computed addresses; kill no longer needed STACK_REGS ifdef.

* final.c (final):  Allow notes to not have computed addresses;
kill no longer needed STACK_REGS ifdef.

From-SVN: r54190

22 years ago* gcse.c (bypass_conditional_jumps): Fix typo last change.
Richard Henderson [Sun, 2 Jun 2002 22:16:54 +0000 (15:16 -0700)] 
* gcse.c (bypass_conditional_jumps): Fix typo last change.

From-SVN: r54189

22 years agoloop.c (emit_prefetch_instructions): Properly place the address computation.
Jan Hubicka [Sun, 2 Jun 2002 21:09:54 +0000 (23:09 +0200)] 
loop.c (emit_prefetch_instructions): Properly place the address computation.

* loop.c (emit_prefetch_instructions): Properly place the address computation.

* basic-block.h (basic_block_for_insn, BLOCK_FOR_INSN): Kill.
(set_block_for_insn): Turn into macro.
* cfgbuild.c (find_basic_block): Do not clear basic_block_for_insn.
* cfglayout.c (insn_scopes): Kill.
(scope_to_insns_initialize): Do not use insn_scopes.
(scope_to_insns_finalize): Likewise.
(duplicate_insn_chain): Likewise.
(cfg_layout_initialize, cfg_layout_finalize): Do not turn scopes to notes.
* cfgrtl.c (basic_block_for_insn): Kill.
(delete_insn_and_edges, delete_insn_chain_and_edges): Simplify.
(create_basic_block_structure): Use reorder_insns.
(compute_bb_for_insn): Do not use basic_block_for_insn.
(merge_blocks_nomove): Likewise.
(update_bb_for_insn): Likewise.
(verify_flow_info): Likewise.
(set_block_for_insn): Kill.
* combine.c (try_combine): Update gen_rtx_INSN call.
* emit-rtl.c (gen_label_rtx): Update gen_rtx_CODE_LABEL call.
(mark_insn_raw, make_jump_insn_raw, make_call_insn_raw): Clear
scopes and BBs.
(add_insn_after, add_insn_before, remove_insn, reorder_insns): Simplify.
(emit_note_before, emit_note_after, emit_line_note_after, emit_note):
Clear BB.
(emit_insns_after): Simplify.
(emit_copy_of_insn_after): Copy scope.
* final.c (final_start_function): Lower scopes.
* flow.c (check_function_return_warnings): Do not rely on deleted insn.
* integrate.c (copy_insn_list): Cope scopes.
* jump.c (duplicate_loop_exit_test): LIkewise; simplify.
* loop.c (loop_optimize): Do not care block notes.
* print-rtl.c (print_rtx): Print BB.
* recog.c (apply_change_group): Simplify.
* rtl.c (copy_rtx): Handle 'B'.
* rtl.def (INSN, CALL_INSN, JUMP_INSN, NOTE): Add extra fields.
* rtl.h (Field accessors): Update indexes.
* sched-ebb.c (schedule_ebbs): Do not lower notes.
* sched-rgn.c (schedule_insns): Likewise.
* toplev.c (rest_of_compilation): Lower notes.
* unroll.c (unroll_loop): Do not care scoping notes.
(copy_loop_body): Copy scopes.

From-SVN: r54188

22 years agoelf.h: Use TARGET_OS_CPP_BUILTINS rather than SUBTARGET_SPEC.
Neil Booth [Sun, 2 Jun 2002 21:00:50 +0000 (21:00 +0000)] 
elf.h: Use TARGET_OS_CPP_BUILTINS rather than SUBTARGET_SPEC.

config/h8300:
* elf.h: Use TARGET_OS_CPP_BUILTINS rather than
SUBTARGET_SPEC.
* rtems.h: Similarly.
* h8300.h (CPP_PREDEFINES, CPP_SPEC, SUBTARGET_CPP_SPEC,
EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove.
(TARGET_CPU_CPP_BUILTINS): Use.

From-SVN: r54187

22 years agoalias.c: Include target.h.
Richard Henderson [Sun, 2 Jun 2002 20:50:32 +0000 (13:50 -0700)] 
alias.c: Include target.h.

        * alias.c: Include target.h.
        (mark_constant_function): Use targetm.binds_local_p instead
        of checking TREE_PUBLIC ourselves.
        * Makefile.in (alias.o): Add TARGET_H.

        * gcc.c-torture/execute/pure-1.c: Don't mark any of the
        test functions static.

From-SVN: r54186

22 years ago* c-lex.c: Update copyright and file description.
Neil Booth [Sun, 2 Jun 2002 20:13:46 +0000 (20:13 +0000)] 
* c-lex.c: Update copyright and file description.

From-SVN: r54185

22 years ago* ChangeLog: Credit Zack appropriately.
Neil Booth [Sun, 2 Jun 2002 20:09:05 +0000 (20:09 +0000)] 
* ChangeLog: Credit Zack appropriately.

From-SVN: r54184

22 years agoloop-3c.x: Remove, the test should pass now.
Andreas Jaeger [Sun, 2 Jun 2002 19:54:02 +0000 (21:54 +0200)] 
loop-3c.x: Remove, the test should pass now.

* gcc.c-torture/execute/loop-3c.x: Remove, the test should pass
now.

From-SVN: r54183

22 years ago* config/fr30/fr30.h: Update to new CPP macros.
Neil Booth [Sun, 2 Jun 2002 19:47:10 +0000 (19:47 +0000)] 
* config/fr30/fr30.h: Update to new CPP macros.

From-SVN: r54182

22 years ago* config/dsp16xx/dsp16xx.h: Update to new CPP macros.
Neil Booth [Sun, 2 Jun 2002 19:39:09 +0000 (19:39 +0000)] 
* config/dsp16xx/dsp16xx.h: Update to new CPP macros.

From-SVN: r54181

22 years agoc-common.c (c_common_init): Override cpplib's default warn_long_long setting.
Neil Booth [Sun, 2 Jun 2002 19:37:34 +0000 (19:37 +0000)] 
c-common.c (c_common_init): Override cpplib's default warn_long_long setting.

* c-common.c (c_common_init): Override cpplib's default
warn_long_long setting.
* c-lex.c (lex_number): Replace with interpret_integer,
interpret_float, narrowest_unsigned_type and
narrowest_signed_type, taking advantage of the new
cpplib functionality.
* cpperror.c (_cpp_begin_message): If a warning is turned
into an error, avoid printing "warning:".
* cppexp.c (cpp_num_sign_extend): New.
* cppinit.c: Update comment.
* cpplib.h (cpp_num_sign_extend): New.
* tree.h: Update comment.
testsuite:
* gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-suffix-1.c,
gcc.dg/cpp/paste4.c, gcc.dg/cpp/sysmac2.c:
Update for mofified diagnostics.
* gcc.dg/c99-intconst-1.c: No longer fail.

From-SVN: r54180

22 years agodiagnostic.h (struct diagnostic_context): Add new member internal_error.
Gabriel Dos Reis [Sun, 2 Jun 2002 19:06:30 +0000 (19:06 +0000)] 
diagnostic.h (struct diagnostic_context): Add new member internal_error.

* diagnostic.h (struct diagnostic_context):  Add new member
internal_error.
(internal_error_function): Remove declaration.
* diagnostic.c (internal_error_function): Remove definition..
(internal_error): Adjust use.
ada/
* misc.c (gnat_init): Adjust setting of internal_error_function.

From-SVN: r54179

22 years agortl.h (CC0_P): New.
Richard Henderson [Sun, 2 Jun 2002 18:38:04 +0000 (11:38 -0700)] 
rtl.h (CC0_P): New.

        * rtl.h (CC0_P): New.
        * gcse.c (cprop_jump): Use it with single_set.  Tweak dump text.
        (cprop_insn): Allow any mode register; use CC0_P.  CSE out single_set.
        (bypass_block): Save old dest block for dump text.
        (bypass_conditional_jumps): Allow any mode register; use CC0_P.
        Allow only true SET insns, not single_set.

From-SVN: r54178

22 years ago* gcc.dg/uninit-A.c: Remove xfail markers.
Richard Henderson [Sun, 2 Jun 2002 18:11:21 +0000 (11:11 -0700)] 
* gcc.dg/uninit-A.c: Remove xfail markers.

From-SVN: r54177

22 years agodiagnostic.c (diagnostic_finish): Rename to output_flush.
Gabriel Dos Reis [Sun, 2 Jun 2002 17:36:29 +0000 (17:36 +0000)] 
diagnostic.c (diagnostic_finish): Rename to output_flush.

* diagnostic.c (diagnostic_finish): Rename to output_flush.
(clear_disgnostic_info): Rename to output_clear_data.  Use
false
instead of 0 for boolean value.
Adjust function call throughout.

From-SVN: r54176

22 years agocfgrtl.c (commit_one_edge_insertion): Fix warning.
Jan Hubicka [Sun, 2 Jun 2002 17:18:58 +0000 (19:18 +0200)] 
cfgrtl.c (commit_one_edge_insertion): Fix warning.

* cfgrtl.c (commit_one_edge_insertion): Fix warning.
* gcse.c (bypass_conditional_jumps): CSE out single_set call.

From-SVN: r54175

22 years agore PR java/5913 (Core dump for String constant instanceof)
Tom Tromey [Sun, 2 Jun 2002 16:38:05 +0000 (16:38 +0000)] 
re PR java/5913 (Core dump for String constant instanceof)

Fix for PR java/5913:
* parse.y (patch_binop): Call patch_string on op1.

From-SVN: r54174

22 years agoFix for PR java/1343, PR java/6336:
Tom Tromey [Sun, 2 Jun 2002 16:33:01 +0000 (16:33 +0000)] 
Fix for PR java/1343, PR java/6336:

* parse.y (make_nested_class_name): Remove extraneous `else'; fix
formatting.  Changed return type.
(anonymous_class_counter): Moved to top of file.
(maybe_make_nested_class_name): Append number to class name for
function-local classes.

From-SVN: r54173

22 years agodfe.c (s_rdfe, s_wdfe): Wrap parentheses around assignment used as truth value.
Kaveh R. Ghazi [Sun, 2 Jun 2002 14:34:31 +0000 (14:34 +0000)] 
dfe.c (s_rdfe, s_wdfe): Wrap parentheses around assignment used as truth value.

* libI77/dfe.c (s_rdfe, s_wdfe): Wrap parentheses around
assignment used as truth value.
* libI77/due.c (s_rdue, s_wdue): Likewise.
* libI77/endfile.c (f_end): Likewise.
* libI77/iio.c (s_rsfi, s_wsfi): Likewise.
* libI77/lread.c (ERR, l_C, nmL_getc, s_rsle): Likewise.
* libI77/lwrite.c (l_g, l_put): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/rsfe.c (s_rsfe): Likewise.
* libI77/rsne.c (hash, mk_hashtab, nl_init, getname, getdimen,
x_rsne, s_rsne): Likewise.
* libI77/sue.c (s_rsue, s_wsue): Likewise.
* libI77/wref.c (wrt_E, wrt_F): Likewise.
* libI77/wsfe.c (s_wsfe): Likewise.
* libI77/wsle.c (s_wsle): Likewise.
* libI77/wsne.c (s_wsne): Likewise.

From-SVN: r54172

22 years agod30v.h (CPP_PREDEFINES): Replace with
Neil Booth [Sun, 2 Jun 2002 14:11:33 +0000 (14:11 +0000)] 
d30v.h (CPP_PREDEFINES): Replace with

* d30v.h (CPP_PREDEFINES): Replace with
(TARGET_CPU_CPP_BUILTINS): New.

From-SVN: r54171

22 years ago* config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.
Roger Sayle [Sun, 2 Jun 2002 13:18:15 +0000 (13:18 +0000)] 
* config/alpha/alpha.h [ASM_OUTPUT_LABELREF]: Fix typo.

From-SVN: r54170

22 years agomain.c (main): Avoid implicit int.
Kaveh R. Ghazi [Sun, 2 Jun 2002 13:01:12 +0000 (13:01 +0000)] 
main.c (main): Avoid implicit int.

* libF77/main.c (main): Avoid implicit int.
* libI77/dfe.c (y_rsk, y_getc, c_dfe): Likewise.
* libI77/due.c (c_due): Likewise.
* libI77/err.c (f__canseek, f__nowreading, f__nowwriting):
Likewise.
* libI77/fmt.c (op_gen, ne_d, e_d, pars_f, type_f, en_fio):
Likewise.
* libI77/iio.c (z_getc, z_rnew, c_si, z_wnew): Likewise.
* libI77/lread.c (t_getc, c_le, l_read): Likewise.
* libI77/lwrite.c (l_write): Likewise.
* libI77/open.c (fk_open): Likewise.
* libI77/rdfmt.c (rd_ed, rd_ned): Likewise.
* libI77/rsfe.c (xrd_SL, x_getc, x_endp, x_rev): Likewise.
* libI77/rsne.c (t_getc, x_rsne): Likewise.
* libI77/sfe.c (c_sfe): Likewise.
* libI77/sue.c (c_sue): Likewise.
* libI77/uio.c (do_us): Likewise.
* libI77/wref.c (wrt_E, wrt_F): Likewise.
* libI77/wrtfmt.c (wrt_L, w_ed, w_ned): Likewise.

From-SVN: r54169

22 years agordfmt.c (rd_I): Delete unused variable(s).
Kaveh R. Ghazi [Sun, 2 Jun 2002 12:59:22 +0000 (12:59 +0000)] 
rdfmt.c (rd_I): Delete unused variable(s).

* libI77/rdfmt.c (rd_I): Delete unused variable(s).
* libU77/access_.c (G77_access_0): Likewise.
* libU77/chdir_.c (G77_chdir_0): Likewise.
* libU77/chmod_.c (G77_chmod_0): Likewise.
* libU77/ctime_.c (G77_ctime_0): Likewise.
* libU77/link_.c (G77_link_0): Likewise.
* libU77/lstat_.c (G77_lstat_0): Likewise.
* libU77/rename_.c (G77_rename_0): Likewise.
* libU77/stat_.c (G77_stat_0): Likewise.
* libU77/symlnk_.c (G77_symlnk_0): Likewise.
* libU77/unlink_.c (G77_unlink_0): Likewise.

From-SVN: r54168

22 years agoinquire.c (f_inqu): Avoid ambiguous else clauses.
Kaveh R. Ghazi [Sun, 2 Jun 2002 12:57:28 +0000 (12:57 +0000)] 
inquire.c (f_inqu): Avoid ambiguous else clauses.

* libI77/inquire.c (f_inqu): Avoid ambiguous else clauses.
* libI77/lread.c (l_C, l_L): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rsne.c (x_rsne): Likewise.
* libI77/wref.c (wrt_F): Likewise.

From-SVN: r54167

22 years agogetenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
Kaveh R. Ghazi [Sun, 2 Jun 2002 12:54:28 +0000 (12:54 +0000)] 
getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.

* libF77/getenv_.c (G77_getenv_0): Avoid signed/unsigned warning.
* libF77/system_.c (G77_system_0): Likewise.
* libI77/open.c (f_open): Likewise.
* libI77/rdfmt.c (rd_Z): Likewise.
* libI77/uio.c (do_us, do_ud): Likewise.

From-SVN: r54166