OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years agogcc:
jsm28 [Wed, 10 Jan 2001 10:54:02 +0000 (10:54 +0000)]
gcc:
* gcc.texi: Define macro gcctabopt.
* invoke.texi: Add manpage sections BUGS and AUTHOR.  Use
@command, @env and @option in some places where appropriate.  Use
@gcctabopt where appropriate.  Put URLs and email addresses inside
@w.

contrib:
* texi2pod.pl: Handle @gcctabopt and @env in tables.  Handle
@command.  Format URLs and email addresses in bold.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38863 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * java/math/BigDecimal.java (divide): Fixed comment.
warrenl [Wed, 10 Jan 2001 10:26:34 +0000 (10:26 +0000)]
* java/math/BigDecimal.java (divide): Fixed comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38862 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Fix for PR libgcj/1596:
warrenl [Wed, 10 Jan 2001 09:38:08 +0000 (09:38 +0000)]
Fix for PR libgcj/1596:
* java/math/BigDecimal.java (divide): Check newScale for validity.
Ensure that BigInteger.pow() is called with a non-negative value.
(setScale (int)): New public method.
(setScale (int,int)): New public method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38861 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
law [Wed, 10 Jan 2001 08:45:10 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38860 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c (cpp_options): Set MD file name from output
neil [Wed, 10 Jan 2001 08:18:10 +0000 (08:18 +0000)]
    * gcc.c (cpp_options): Set MD file name from output
        filename, if specified.
        (suffix_subst): New static variable.
        (do_spec): Clear it.
        (do_spec_1, case '.'): Handle new `%.suffix' spec.
        Clear it.
        (give_switch): Handle suffix_subst.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38859 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-10 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 10 Jan 2001 08:10:59 +0000 (08:10 +0000)]
2001-01-10  Phil Edwards  <pme@sources.redhat.com>

* invoke.texi:  Fix another typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38858 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-10 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 10 Jan 2001 07:54:07 +0000 (07:54 +0000)]
2001-01-10  Phil Edwards  <pme@sources.redhat.com>

* invoke.texi:  Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38857 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-lang.c (lang_hooks): Update.
neil [Wed, 10 Jan 2001 07:51:11 +0000 (07:51 +0000)]
    * c-lang.c (lang_hooks): Update.
        (lang_decode_option): Remove.
        (lang_init_options): Rename c_init_options.
        * toplev.c (main): Use lang_hooks for lang_init_options
        and lang_decode_option.
        * toplev.h (lang_hooks): Add 2 new hooks.
        * tree.h: Remove lang_init_options and lang_decode_option.
        * cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
        * cp/decl2.c: Similarly.
        * cp/lex.c (lang_init_options): Rename cxx_init_options.
        (lang_hooks): Update.
        * f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
        for consistency.
        (lang_init_options): Rename ffe_init_options.
        (lang_hooks): Update.
        (lang_decode_option): Remove.
        * java/lang.c (lang_init_options): Rename java_init_options.
        (lang_decode_option): Rename java_decode_option.
        (lang_hooks): Update.
        * objc/objc-act.c (lang_init_options): Rename objc_init_options.
        (lang_decode_option): Rename objc_decode_option.
        (lang_hooks): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38856 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoChange from using {save|restore}_machine_status to {init|mark|free}_machine_status
nickc [Wed, 10 Jan 2001 05:29:14 +0000 (05:29 +0000)]
Change from using {save|restore}_machine_status to {init|mark|free}_machine_status

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38855 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
law [Wed, 10 Jan 2001 04:35:07 +0000 (04:35 +0000)]
    * pa32-regs.h (CONDITIONAL_REGISTER_USAGE): When generating pic code,
        PIC_OFFSET_TABLE_REGNUM_SAVED is a call_used register.
        * pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38854 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * objc/lang-options.h: Remove bogus reference to
law [Wed, 10 Jan 2001 04:32:04 +0000 (04:32 +0000)]
    * objc/lang-options.h: Remove bogus reference to
        Java trademark.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38853 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/20000419-2.c: Move to "special" subdirectory.
law [Wed, 10 Jan 2001 04:19:31 +0000 (04:19 +0000)]
* gcc.dg/20000419-2.c: Move to "special" subdirectory.
        * gcc.dg/special/20000419-2.c: New file. Identical to above.
        * gcc.dg/special/special.exp: New test driver which will check
        for alias support for the above test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38852 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
gdr [Wed, 10 Jan 2001 02:48:08 +0000 (02:48 +0000)]
2001-01-10  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

        * tests_flags.in (check_directory): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38851 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 10 Jan 2001 02:47:50 +0000 (02:47 +0000)]
2001-01-09  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (get_shift_alg): Use a struct shift_info to
return the result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38850 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago*** empty log message ***
alehotsky [Wed, 10 Jan 2001 02:34:14 +0000 (02:34 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38849 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de>
gdr [Wed, 10 Jan 2001 02:30:57 +0000 (02:30 +0000)]
2001-01-09  Peter Schmid<schmid@snake.iap.physik.tu-darmstadt.de>
        * include/bits/std_complex.h: Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38848 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
gerald [Wed, 10 Jan 2001 02:08:16 +0000 (02:08 +0000)]
* config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
code path:) Remove magic constants and restructure to handle
ctype.h bit mask layout changes more gracefully.  (Make fast
code path:) Use __maskrune (), if available.
(is): Remove special case for digit and xdigit masks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38847 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago*** empty log message ***
alehotsky [Wed, 10 Jan 2001 01:14:28 +0000 (01:14 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38846 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoRemove unintentional merge indicators.
oldham [Wed, 10 Jan 2001 00:51:39 +0000 (00:51 +0000)]
Remove unintentional merge indicators.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38845 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Wed, 10 Jan 2001 00:49:22 +0000 (00:49 +0000)]
2001-01-09  Jeffrey Oldham  <oldham@codesourcery.com>

* g++.old-deja/g++.ext/instantiate2.C: ERROR line should fail for
mips.
* g++.old-deja/g++.ext/instantiate3.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38844 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-common.c (enum format_type): Add format_type_error.
jsm28 [Tue, 9 Jan 2001 22:51:05 +0000 (22:51 +0000)]
* c-common.c (enum format_type): Add format_type_error.
(decode_format_type): New function.
(decl_attributes): Use it.
(format_kind_info): Adjust comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38843 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 David O'Brien <obrien@BSDi.com>
obrien [Tue, 9 Jan 2001 22:10:53 +0000 (22:10 +0000)]
2001-01-09  David O'Brien  <obrien@BSDi.com>
* config.gcc (*-*-gnu*, i[34567]86-*-elf*, i[34567]86-*-linux*libc1,
i[34567]86-*-linux*, i[34567]86-*-moss*): Specify needed platform specific
files in tm_file.
* config/i386/gnu.h: Don't include required platform specific .h files,
tm.h will do it instead.
* config/i386/i386elf.h: Likewise.
* config/i386/linux.h: Likewise.
* config/i386/moss.h: Likewise.
* config/mips/gnu.h: Likewise.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20010107030000.A24090@redhat.com>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38842 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago 2001-01-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Tue, 9 Jan 2001 20:46:11 +0000 (20:46 +0000)]
2001-01-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config.gcc (powerpc-*-beos*): Include ${tm_file} and rs6000/aix.h.
(rs6000-ibm-aix3.[01]*): Likewise.
(rs6000-ibm-aix3.2.[456789]*, powerpc-ibm-aix3.2.[456789]*): Likewise.
(rs6000-ibm-aix4.[12]*, powerpc-ibm-aix4.[12]*): Likewise.
(rs6000-ibm-aix4.[3456789]*, powerpc-ibm-aix4.[3456789]*): Likewise.
(rs6000-ibm-aix[56789].*, powerpc-ibm-aix[56789].*): Likewise.
(powerpc-*-sysv*): Include {tm_file}. svr4.h and rs6000/sysv4.h.
(powerpc-*-eabiaix*): Likewise.
(powerpc-*-eabisim*): Likewise.
(powerpc-*-elf*): Likewise.
(powerpc-*-eabi*): Likewise.
(powerpc-*-rtems*): Likewise.
(powerpc-*-linux*libc1): Likewise.
(powerpc-*-linux*): Likewise.
(powerpc-wrs-vxworks*): Likewise.
(powerpcle-wrs-vxworks*): Likewise.
(powerpcle-*-sysv*): Likewise.
(powerpcle-*-elf*): Likewise.
(powerpcle-*-eabisim*): Likewise.
(powerpcle-*-eabi*): Likewise.
(powerpcle-*-solaris2*): Likewise.
* config/rs6000/aix31.h: Delete includes.
* config/rs6000/aix3newas.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/rs6000/aix43.h: Likewise.
* config/rs6000/beos.h: Likewise.
* config/rs6000/rtems.h: Likewise.
* config/rs6000/sysv4.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38841 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 9 Jan 2001 20:17:02 +0000 (20:17 +0000)]
2001-01-09  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (function_prologue): Fix code for a
monitor function.  Support H8/S.
(function_epilogue): Do not output pop for a monitor function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38840 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 Kazu Hirata <kazu@hxi.com>
kazu [Tue, 9 Jan 2001 20:02:35 +0000 (20:02 +0000)]
2001-01-09  Kazu Hirata  <kazu@hxi.com>

* config/h8300/h8300.c (get_shift_alg): Remove an argument cpu.
Change an argument mode of machine_mode to shift_mode of
shift_mode.  Remove an extra error check.
(emit_a_shift): Adopt to the new calling prototype of
get_shift_alg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38839 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agooops - omitted from previous delta
nickc [Tue, 9 Jan 2001 19:38:25 +0000 (19:38 +0000)]
oops - omitted from previous delta

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38838 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
mrs [Tue, 9 Jan 2001 18:55:41 +0000 (18:55 +0000)]
* Makefile.in (CONFIGURE_TARGET_MODULES): Pass back configuration
failures of subdirectories.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38837 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoSWitch use if {save|restore}_machine_status with {init|free}_machine_status
nickc [Tue, 9 Jan 2001 18:07:51 +0000 (18:07 +0000)]
SWitch use if {save|restore}_machine_status with {init|free}_machine_status

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38836 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
rth [Tue, 9 Jan 2001 17:45:12 +0000 (17:45 +0000)]
    * sched-int.h (struct deps): Add max_reg, reg_last_in_use; merge
        reg_last_uses, reg_last_sets, reg_last_clobbers into struct deps_reg.
        * sched-deps.c (sched_analyze_1): Update uses of struct deps.
        (sched_analyze_2, sched_analyze_insn): Likewise.
        (sched_analyze, init_deps): Likewise.
        (free_deps): Likewise.  Iterate with EXECUTE_IF_SET_IN_REG_SET.
        * sched-rgn.c (propagate_deps): Likewise.  Remove max_reg argument.
        (compute_block_backward_dependences): Update propagate_deps call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38835 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* gcc.c (process_command): Set switches[n_switches].ordering to 0.
dj [Tue, 9 Jan 2001 16:35:53 +0000 (16:35 +0000)]
* gcc.c (process_command): Set switches[n_switches].ordering to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38834 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cppinit.c (OPT_MD, OPT_MMD): Restore.
neil [Tue, 9 Jan 2001 14:45:44 +0000 (14:45 +0000)]
    * cppinit.c (OPT_MD, OPT_MMD): Restore.
        (cpp_handle_option): Handle them.
        (cpp_post_options): Ensure one of -M or -MM is specified with
        any other -M? option.
        (init_dependency_output): Suppress output with -MG.
        * cpp.texi: Update.
        * invoke.texi: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38833 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* sh.md (reload_outsf): Generate recognizable patterns for
aoliva [Tue, 9 Jan 2001 14:23:50 +0000 (14:23 +0000)]
* sh.md (reload_outsf): Generate recognizable patterns for
TARGET_SH3E.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38832 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocp:
nathan [Tue, 9 Jan 2001 11:37:07 +0000 (11:37 +0000)]
cp:
* class.c (handle_using_decl): Reject using of constructor name
of sourcing class. Allow injecting of a method with same name as
nested class. Fixup error messages.
testsuite:
* g++.old_deja/g++.pt/using8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38831 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-09 Oskar Liljeblad <osk@hem.passagen.se>
warrenl [Tue, 9 Jan 2001 11:21:12 +0000 (11:21 +0000)]
2001-01-09  Oskar Liljeblad <osk@hem.passagen.se>

Fix for PR libgcj/1338:
* java/io/StreamTokenizer.java (nextToken): Handle // and /* before
commentChar.  Fixed typos in comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38830 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ChangLog: Edited wrong ChangeLog.
neil [Tue, 9 Jan 2001 10:58:19 +0000 (10:58 +0000)]
* ChangLog: Edited wrong ChangeLog.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38829 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-lang.c (lang_hooks): Update.
neil [Tue, 9 Jan 2001 10:54:01 +0000 (10:54 +0000)]
    * c-lang.c (lang_hooks): Update.
        (lang_init): Rename c_init.
        (lang_finish): Remove.
        * toplev.c (compile_file): Use lang_hooks for lang_init ()
        and lang_finish ().
        * toplev.h (lang_hooks): Add init () and finish ().
        * tree.h (lang_init, lang_finish): Remove.
        * cp/tree.h (lang_init, lang_finish): Remove.
        * cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
        * cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
        lang_hooks): New.
        (lang_init, lang_finish): Remove.
        * f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
        (lang_hooks): Update.
        * java/lang.c (lang_init): Rename java_init.
        (lang_finish): Remove.
        (lang_hooks): Update.
        * objc/objc-act.c (lang_init): Rename objc_init.
        (lang_finish): Remove.
        (lang_hoooks): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38828 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cppfiles.c (_cpp_execute_include): Move `len` initialisation
grahams [Tue, 9 Jan 2001 10:51:42 +0000 (10:51 +0000)]
    * cppfiles.c (_cpp_execute_include): Move `len` initialisation
        after `ptr` is initialised.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38827 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cppfiles.c (_cpp_execute_include): Move `len` initialisation
grahams [Tue, 9 Jan 2001 10:43:47 +0000 (10:43 +0000)]
* cppfiles.c (_cpp_execute_include): Move `len` initialisation
after `ptr` is initialised.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38826 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl2.c (lang_decode_option): Handle -Wformat=2.
jsm28 [Tue, 9 Jan 2001 10:37:02 +0000 (10:37 +0000)]
* decl2.c (lang_decode_option): Handle -Wformat=2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38825 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/format/attr-2.c, gcc.dg/format/attr-3.c: New tests.
jsm28 [Tue, 9 Jan 2001 10:35:21 +0000 (10:35 +0000)]
* gcc.dg/format/attr-2.c, gcc.dg/format/attr-3.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38824 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
aoliva [Tue, 9 Jan 2001 10:31:32 +0000 (10:31 +0000)]
* config/sh/sh.h (STATIC_CHAIN_REGNUM): Change from r13 to r3.
(INITIALIZE_TRAMPOLINE): Adjust accordingly.
* config/sh/sh.c (sh_expand_prologue): Use r1 as temporary for
stack adjusts, instead of r3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38823 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * flow.c (flow_loop_scan): Break out of ...
m.hayes [Tue, 9 Jan 2001 10:25:44 +0000 (10:25 +0000)]
* flow.c (flow_loop_scan): Break out of ...
(flow_loops_find) ... here.
* basic-block.h (flow_loop_scan): New.
(LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES): Add.
(LOOP_EDGES, LOOP_EXITS_DOMS, LOOP_ALL): Redefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38822 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
aoliva [Tue, 9 Jan 2001 09:30:43 +0000 (09:30 +0000)]
* cppinit.c (cpp_cleanup): NULLify macro_buffer and zero
macro_buffer_len.
* cppmacro.c (cpp_macro_definition): Reset macro_buffer_len when
realloc()ing macro_buffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38821 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
aoliva [Tue, 9 Jan 2001 09:28:07 +0000 (09:28 +0000)]
* hwint.h (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Use long long
if it's wider than long and the target's long is wider than the
host's.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38820 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
law [Tue, 9 Jan 2001 08:45:11 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38819 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Remove support for using UWIN as a host machine.
mmitchel [Tue, 9 Jan 2001 08:32:01 +0000 (08:32 +0000)]
Remove support for using UWIN as a host machine.
* configure.in: Issue an error message.
* configure: Regenerated.
* config.gcc: Remove xm_* UWIN configury.
* config/i386/xm-uwin.h: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38818 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * include/c_std/bits/std_ctime.h: Undefine difftime.
robertl [Tue, 9 Jan 2001 07:42:45 +0000 (07:42 +0000)]
    * include/c_std/bits/std_ctime.h: Undefine difftime.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38817 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Fix for PR libgcj/1411:
warrenl [Tue, 9 Jan 2001 07:07:51 +0000 (07:07 +0000)]
Fix for PR libgcj/1411:
* Makefile.am: Removed java/util/natTimeZone.cc.
* Makefile.in: Rebuilt.
* gnu/gcj/text/LocaleData_en_US.java (zoneStringsDefault): Added
missing localized timezone names.
* java/lang/System.java (getDefaultTimeZoneId): New private method.
* java/lang/natSystem.cc (getSystemTimeZone): New private method.
(init_properties): Set user.timezone property.
* java/text/DateFormatSymbols.java (zoneStringsDefault): Added
default timezone names; removed non-standard ones.  Use standard
ID names per JCL.
* java/util/Date.java (toGMTString): Removed zoneGMT variable.
(UTC): Ditto.
* java/util/TimeZone.java: Add standard ID names per JCL; removed
non-standard ones.
(getDefaultTimeZoneId): Removed.
(zoneGMT): Removed.
(getDefaultTimeZoneId): Removed.
* java/util/natTimeZone.cc: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38816 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoUse init/mark/free machine status functions.
nickc [Tue, 9 Jan 2001 03:10:13 +0000 (03:10 +0000)]
Use init/mark/free machine status functions.
Fix compile time warnings building varasm.o
Define USER_LABEL_PREFIX, undefine ASM_OUTPUT_LABELREF

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38815 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* src/gen-num-limits.cc (signal_adapter): New template function.
aoliva [Tue, 9 Jan 2001 03:01:56 +0000 (03:01 +0000)]
* src/gen-num-limits.cc (signal_adapter): New template function.
(signal_handler): Use it, instead of signal.
(traps<T>): Likewise.  Install SIGTRAP handler too.  Don't
require both tests to trap to set trap_flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38814 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
law [Tue, 9 Jan 2001 02:40:18 +0000 (02:40 +0000)]
* sched-rgn.c (BITSET_ADD, BITSET_REMOVE, bitset_member): Cast
1 to unsigned HOST_WIDE_INT before left shift.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38813 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.c-torture/execute/ieee/mzero2.x: Adjust statement of
law [Tue, 9 Jan 2001 01:11:34 +0000 (01:11 +0000)]
* gcc.c-torture/execute/ieee/mzero2.x: Adjust statement of
where a failure is expected.
* gcc.c-torture/execute/ieee/rbug.x: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38812 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix memory leak
nickc [Tue, 9 Jan 2001 01:08:53 +0000 (01:08 +0000)]
Fix memory leak

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38811 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 8 Jan 2001 23:51:57 +0000 (23:51 +0000)]
2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
initialize mbstate_t member, name offset data members *off, not pos.
* include/bits/fstream.tcc (filebuf::filebuf): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38809 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoIn gcc/java:
bryce [Mon, 8 Jan 2001 23:28:56 +0000 (23:28 +0000)]
In gcc/java:
* class.c (make_class_data): Push initial value for "arrayclass".
* decl.c (init_decl_processing): Add new class field "arrayclass".

In libjava:
* java/lang/Class.h (_Jv_InitClass): Use __builtin_expect.
(_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass.
(_Jv_GetArrayClass): New inline function.
(arrayclass): New field.
* prims.cc (_Jv_NewObjectArray): Use _Jv_GetArrayClass. Don't use
_Jv_GetArrayElementFromElementType.
(_Jv_NewPrimArray): Ditto.
(_Jv_PrimClass constructor): Initialize "depth", "ancestors", and
"idt" for completeness. Initialze "arrayclass" using _Jv_NewArrayClass.
Set Modifier::ABSTRACT.
* java/lang/natClassLoader.cc (_Jv_NewClass): Initialize "arrayclass".
(_Jv_NewArrayClass): Renamed from _Jv_FindArrayClass. Now void.
Now synchronized. Array classes are now referenced from
elementClass->arrayclass. Don't use _Jv_FindClassInCache.
Set array classes' accessibility flags correctly. Optimize so that
all array classes share the same IDT.
* java/lang/reflect/natArray.cc (newInstance): Use _Jv_GetArrayClass.
* java/lang/reflect/natMethod.cc (_Jv_GetTypesFromSignature): Ditto.
* java/lang/natClass.cc (_getFields): Increment offset. Prevent fields
in superclasses from overwriting classes own fields.
(_Jv_IsAssignableFrom): Check for NULL source idt instead of calling
Modifier::isAbstract().
(null_idt): New static field.
(_Jv_PrepareConstantTimeTables): Optimize case where class implements
no interfaces.
(_Jv_IndexOf): Made inline.
* boehm.cc (_Jv_MarkObj): Mark "arrayclass" field.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38808 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago Fix for PR java/1586:
tromey [Mon, 8 Jan 2001 22:55:15 +0000 (22:55 +0000)]
Fix for PR java/1586:
* Makefile.in: Rebuilt.
* Makefile.am (AUTOMAKE_OPTIONS): Added no-dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38807 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c (simplejump_p): Revert last change.
rth [Mon, 8 Jan 2001 18:52:50 +0000 (18:52 +0000)]
    * jump.c (simplejump_p): Revert last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38806 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cppinit.c (init): Rename init_library.
neil [Mon, 8 Jan 2001 18:52:09 +0000 (18:52 +0000)]
    * cppinit.c (init): Rename init_library.
        (cpp_create_reader): Update.
        * gcc.c (cpp_options): If -o given, use it as the target of
        any -M options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38805 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Mon, 8 Jan 2001 17:53:52 +0000 (17:53 +0000)]
2001-01-08  Benjamin Kosnik  <bkoz@redhat.com>

reported by Chris G. Demetriou <cgd@sibyte.com>
* configure.in: Change -linux-* to -linux*.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38804 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.c (arm_arch5e): New variable.
rearnsha [Mon, 8 Jan 2001 15:33:06 +0000 (15:33 +0000)]
* arm.c (arm_arch5e): New variable.
(all_cores): XScale is a 5TE device.
(arm_override_options): Set arm_arch5e.
(arm_init_builtins): __builtin_prefetch is in arch5e.
* arm.h (arm_arch5e): Declare it.

* arm.h (PREDICATE_CODES): Add arm_hard_register_operand.

* arm.md (define_constants): Add defines for UNSPEC and
UNSPEC_VOLATILE insns.  Update all users.
(define_constants): Add constants for IP_REGNUM, SP_REGNUM, PC_REGNUM.
* arm.c (multi_register_push, note_invalid_constants)
(emit_multi_reg_push, emit_sfm, expand_prologue): Use constants.
* arm.h (SP_REGNUM, IP_REGNUM, PC_REGNUM): Delete defines.
(STACK_POINTER_REGNUM): Define in terms of SP_REGNUM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38803 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c (jump_optimize_1): Use reversed_comparison_code
hubicka [Mon, 8 Jan 2001 15:16:40 +0000 (15:16 +0000)]
* jump.c (jump_optimize_1): Use reversed_comparison_code
instead of can_reverse_comparison_p.
(jump_back_p): Likewise.
(invert_exp_1): Likewise.
(thread_jumps): Likewise.
* simplify-rtx.c (simplify_unary_operation): Likewise.
(simplify_ternary_operation): Likewise.
* cse.c (find_comparison_args): Convert to use
can_reverse_comparison_p.
(record_jump_equiv): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38802 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocp:
nathan [Mon, 8 Jan 2001 14:41:03 +0000 (14:41 +0000)]
cp:
* cp-tree.h (lang_decl_flags): Rename defined_in_class to
initialized_in_class.
(DECL_DEFINED_IN_CLASS_P): Rename to ...
(DECL_INITIALIZED_IN_CLASS_P): ... here, to reflect true meaning.
* decl.c (duplicate_decls): Preseve DECL_INITIALIZED_IN_CLASS_P.
(cp_finish_decl): Adjust for DECL_INITIALIZED_IN_CLASS_P.
* pt.c (check_default_tmpl_args): Adjust for
DECL_INITIALIZED_IN_CLASS_P.
(instantiate_class_template): Likewise.
(instantiate_decl): Check DECL_INITIALIZED_IN_CLASS_P.

* class.c (finish_struct): Constify saved_filename.
testsuite:
* g++.old_deja/g++.pt/instantiate12.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38801 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago* arm.h (HARD_REGNO_RENAME_OK): Delete.
rearnsha [Mon, 8 Jan 2001 14:32:53 +0000 (14:32 +0000)]
* arm.h (HARD_REGNO_RENAME_OK): Delete.
(EPILOGUE_USES): Define.
(INITIAL_ELIMINATION_OFFSET): Current prologue code does not
automatically stack the LR if it isn't live.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38800 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
hubicka [Mon, 8 Jan 2001 12:47:15 +0000 (12:47 +0000)]
* i386.c (ix86_expand_int_movcc): Take care to reverse fp conditions
properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38799 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocp:
nathan [Mon, 8 Jan 2001 11:45:22 +0000 (11:45 +0000)]
cp:
* class.c (duplicate_tag_error): Adjust diagnostic.
(finish_struct): Locally set location to start of struct.
* decl.c (fixup_anonymous_aggr): Use cp_error_at.
testsuite:
* g++.old-deja/g++.benjamin/15309-1.C: Expect diagnostic at
start of structs.
* g++.old-deja/g++.benjamin/15309-2.C: Likewise.
* g++.old-deja/g++.brendan/crash17.C: Likewise.
* g++.old-deja/g++.brendan/crash29.C: Likewise.
* g++.old-deja/g++.brendan/crash48.C: Likewise.
* g++.old-deja/g++.brendan/ns1.C: Likewise.
* g++.old-deja/g++.brendan/warnings1.C: Likewise.
* g++.old-deja/g++.bugs/900205_04.C: Likewise.
* g++.old-deja/g++.bugs/900514_03.C: Likewise.
* g++.old-deja/g++.eh/spec6.C: Likewise.
* g++.old-deja/g++.jason/crash3.C: Likewise.
* g++.old-deja/g++.law/ctors11.C: Likewise.
* g++.old-deja/g++.law/ctors17.C: Likewise.
* g++.old-deja/g++.law/ctors5.C: Likewise.
* g++.old-deja/g++.law/ctors9.C: Likewise.
* g++.old-deja/g++.mike/ambig1.C: Likewise.
* g++.old-deja/g++.mike/net22.C: Likewise.
* g++.old-deja/g++.mike/p3538a.C: Likewise.
* g++.old-deja/g++.mike/p3538b.C: Likewise.
* g++.old-deja/g++.mike/virt3.C: Likewise.
* g++.old-deja/g++.niklas/t128.C: Likewise.
* g++.old-deja/g++.other/anon4.C: Likewise.
* g++.old-deja/g++.other/using1.C: Likewise.
* g++.old-deja/g++.other/warn3.C: Likewise.
* g++.old-deja/g++.pt/t37.C: Likewise.
* g++.old-deja/g++.robertl/eb69.C: Likewise.
* g++.old-deja/g++.robertl/eb71.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38798 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoOops, wrong email on previous changelog
nathan [Mon, 8 Jan 2001 11:33:46 +0000 (11:33 +0000)]
Oops, wrong email on previous changelog

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38797 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agocp:
nathan [Mon, 8 Jan 2001 11:30:22 +0000 (11:30 +0000)]
cp:
* decl.c (struct binding_level): Adjust class_shadowed comments
to reflect reality.
(push_class_level_binding): Ajust comments to reflect reality.
Set IDENTIFIER_CLASS_VALUE when replacing an existing binding.
Don't set TREE_VALUE on the class_shadowed list.
testsuite:
* g++.old-deja/g++.other/lookup16.C: Remove XFAIL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38796 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoDaily bump.
law [Mon, 8 Jan 2001 08:45:09 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38795 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * Makefile.am: Use the new "-M -MF" option for generating dependencies
bryce [Mon, 8 Jan 2001 07:55:25 +0000 (07:55 +0000)]
* Makefile.am: Use the new "-M -MF" option for generating dependencies
from the c++ compiler.
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38794 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libjava.compile/SuperConstr.java: New test case.
bryce [Mon, 8 Jan 2001 02:13:32 +0000 (02:13 +0000)]
* libjava.compile/SuperConstr.java: New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38793 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * decl2.c (grokfield): Don't accept `asm' specifiers for
mmitchel [Mon, 8 Jan 2001 01:58:54 +0000 (01:58 +0000)]
* decl2.c (grokfield): Don't accept `asm' specifiers for
non-static data members.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38792 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * ggc-page.c (max_alignment): New structure.
mmitchel [Mon, 8 Jan 2001 01:38:53 +0000 (01:38 +0000)]
* ggc-page.c (max_alignment): New structure.
(MAX_ALIGNMENT): New macro.
(init_ggc): Use it to round up the sizes in the
extra_order_size_table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38791 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago 2001-01-07 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Mon, 8 Jan 2001 01:07:31 +0000 (01:07 +0000)]
2001-01-07  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/rs6000/rs6000.h (EPILOGUE_USES): New, mark link register
after reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38790 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago001-01-07 Anthony Green <green@redhat.com>
green [Mon, 8 Jan 2001 00:27:51 +0000 (00:27 +0000)]
001-01-07  Anthony Green  <green@redhat.com>

* Makefile.am (texinfo): Add texinfo target for generating texinfo
        documentation.
* Makefile.in: Rebuilt.

* scripts/TexinfoDoclet.java: New file.

* doc/java-applet.texi, doc/java-lang-reflect.texi,
doc/java-awt-color.texi, doc/java-lang.texi,
doc/java-awt-datatransfer.texi, doc/java-math.texi,
        doc/java-awt-event.texi, doc/java-net.texi,
doc/java-awt-geom.texi, doc/java-security-spec.texi,
doc/java-awt-image.texi, doc/java-security.texi,
doc/java-awt-peer.texi, doc/java-sql.texi, doc/java-awt.texi,
doc/java-text.texi, doc/java-beans-beancontext.texi,
        doc/java-util-jar.texi, doc/java-beans.texi,
doc/java-util-zip.texi, doc/java-io.texi, doc/java-util.texi,
doc/java-lang-ref.texi: New files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38789 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * builtins.def (BUILT_IN_FPRINTF): New entry.
ghazi [Sun, 7 Jan 2001 23:15:47 +0000 (23:15 +0000)]
* builtins.def (BUILT_IN_FPRINTF): New entry.

* c-common.c (c_expand_builtin_fprintf): New function.
(init_function_format_info): Handle __builtin_fprintf.
(c_common_nodes_and_builtins): Declare fprintf/__builtin_fprintf.
(c_expand_builtin): Handle BUILT_IN_FPRINTF.

* c-decl.c (duplicate_decls): Adjust comment.

* extend.texi (fprintf): Document new builtin.

testsuite:
* gcc.c-torture/execute/stdio-opt-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38788 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * expr.c (cplus_expand_expr): Don't reset `target'.
ghazi [Sun, 7 Jan 2001 23:03:53 +0000 (23:03 +0000)]
* expr.c (cplus_expand_expr): Don't reset `target'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38787 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c (simplejump_p): Recognize any single_set jump
rth [Sun, 7 Jan 2001 22:50:50 +0000 (22:50 +0000)]
    * jump.c (simplejump_p): Recognize any single_set jump
        of the proper form.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38786 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
rth [Sun, 7 Jan 2001 21:55:10 +0000 (21:55 +0000)]
    * config/t-linux (SHLIB_INSTALL): Double quote slibdir;
        fix typo in rm -f.
        * config/t-aix43 (SHLIB_INSTALL): Likewise.
        * config/alpha/t-osf4 (SHLIB_INSTALL): Likewise.
        (SHLIB_LINK): Create links for the soname.
        * config/mips/t-iris6: Likewise.
        * config/sparc/t-slibgcc: Likewise.
        * config/sparc/t-slibgcc-sld: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38785 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * configure.in (slibdir): Accept an --with-slibdir option.
rth [Sun, 7 Jan 2001 21:48:30 +0000 (21:48 +0000)]
    * configure.in (slibdir): Accept an --with-slibdir option.
        Use "test" not "[" in configure.  Default to $(libdir).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38784 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * config/i386/i386.c (constant_call_address_operand): Accept
jakub [Sun, 7 Jan 2001 21:30:22 +0000 (21:30 +0000)]
* config/i386/i386.c (constant_call_address_operand): Accept
(const (plus (symbol_ref) (const_int))).
* config/i386/i386.h (PREDICATE_CODES): Add CONST for
constant_call_address_operand.

* gcc.c-torture/compile/20010107-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38783 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
m.hayes [Sun, 7 Jan 2001 20:54:35 +0000 (20:54 +0000)]
* libgcc2.h (W_TYPE_SIZE): Fix case where MIN_UNITS_PER_WORD == 1
and LONG_LONG_TYPE_SIZE > 32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38782 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix bug in URLConnection and correct javadoc annotations in StringBuffer.
green [Sun, 7 Jan 2001 20:01:46 +0000 (20:01 +0000)]
Fix bug in URLConnection and correct javadoc annotations in StringBuffer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38781 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c (reversed_comparison_code_parts): Fix typo introduced by
gerald [Sun, 7 Jan 2001 19:09:44 +0000 (19:09 +0000)]
* jump.c (reversed_comparison_code_parts): Fix typo introduced by
the previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38780 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c (reversed_comparison_code_parts, reversed_comparison_code):
hubicka [Sun, 7 Jan 2001 18:39:19 +0000 (18:39 +0000)]
* jump.c (reversed_comparison_code_parts, reversed_comparison_code):
New.
(can_reverse_comparison_p): Rewrite to use reversed_comparison_code.
(reverse_condition_maybe_unordered): Abort on unsigned comparisons.
* rtl.h (reversed_comparison_code_parts, reversed_comparison_code):
Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38779 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * fix-header.c (read_scan_file): s/pfile/scan_in/.
neil [Sun, 7 Jan 2001 17:42:22 +0000 (17:42 +0000)]
    * fix-header.c (read_scan_file): s/pfile/scan_in/.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38778 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-lang.c (c_post_options): Call cpp_post_options.
neil [Sun, 7 Jan 2001 15:17:07 +0000 (15:17 +0000)]
    * c-lang.c (c_post_options): Call cpp_post_options.
        * cppmain.c (main): Similarly.
        * fix-header.c (read_scan_file): Similarly.
        * cp/decl2.c (cxx_post_options): Similarly.
        * objc/objc-act.c (objc_post_options): Similarly.
        * cppinit.c (cpp_start_read): Move option consistency checks
        to cpp_post_options.  Don't call init_dependency_output.
        If needed, add default target and main file dependency.
        (OPT_MD, OPT_MMD): Remove.
        (OPT_MF): New.
        (cpp_handle_option): Update for OPT_* changes.
        (cpp_post_options): New.
        (init_dependency_output): Command line -MF overrides environment
        variables.  Don't set default target etc.  Suppress output
        if dependencies are going to stdout.
        (print_help): Update.
        * cpplib.h (cpp_post_options): New.
        * gcc.c (cpp_options): Update for -MD, -MMD, -MF.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38777 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * jump.c (comparison_dominates_p): Support unordered compares.
hubicka [Sun, 7 Jan 2001 13:45:33 +0000 (13:45 +0000)]
* jump.c (comparison_dominates_p): Support unordered compares.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38776 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * simplify-rtx.c (simplify_relational_operation): Always simplify
hubicka [Sun, 7 Jan 2001 13:40:09 +0000 (13:40 +0000)]
* simplify-rtx.c (simplify_relational_operation): Always simplify
ORDERED and UNORDERED when FLAG_FAST_MATH.  Handle properly UNLE
and UNGE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38775 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * combine.c (combine_simplify_rtx): Recognize the unordered compares.
hubicka [Sun, 7 Jan 2001 13:37:32 +0000 (13:37 +0000)]
* combine.c (combine_simplify_rtx): Recognize the unordered compares.
(nonzero_bits): Likewise.
(simplify_comparison): Likewise.
(num_sign_bit_copies): Likewise; return more sane value depending
on STORE_FLAG_VALUE.
(known_cond): Do not assume EQ to be always true for equivalent
operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38774 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * cse.c (fold_rtx): Handle unordered comparisons.
hubicka [Sun, 7 Jan 2001 13:32:59 +0000 (13:32 +0000)]
* cse.c (fold_rtx): Handle unordered comparisons.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38773 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * rtlanal.c (set_of_1): New static function.
hubicka [Sun, 7 Jan 2001 13:06:43 +0000 (13:06 +0000)]
* rtlanal.c (set_of_1): New static function.
(reg_set_last_1, reg_set_p_1, reg_set_reg, reg_set_flag,
 reg_set_last_unknown, reg_set_last_value, reg_set_last_first_regno,
 reg_set_last_last_regno): Remove.
(set_of): New global function.
(set_of_data): New structure.
(reg_set_p, reg_set_last): Revamp for set_of.
* rtl.h (set_of): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38772 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
jsm28 [Sun, 7 Jan 2001 11:26:15 +0000 (11:26 +0000)]
* c-common.c (c_common_nodes_and_builtins): Add _Exit builtin.
* extend.texi: Document _Exit builtin.

testsuite:
* gcc.c-torture/execute/builtin-noret-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38771 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * (initialize, initialize_builtins,
neil [Sun, 7 Jan 2001 11:15:13 +0000 (11:15 +0000)]
    * (initialize, initialize_builtins,
        initialize_dependency_output, initialize_standard_includes):
        Rename s/initialize/init. Update.
        (init_dependency_output): Move to after
        cpp_handle_options, the correct location temporally at least.
        (opt_comp): Move next to init (), its caller.  Fix prototype.
        (init): Make "initialized" local scope.
        (cpp_create_reader): Always call init ().
        (cpp_start_read): Update.
        (output_deps): New function, broken out of cpp_finish.
        (cpp_finish): Break out output_deps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38770 138bc75d-0d04-0410-961f-82ee72b054a4

20 years agoFix typo.
aoliva [Sun, 7 Jan 2001 11:14:39 +0000 (11:14 +0000)]
Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38769 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * collect2.c (COFF specific stuff): Revert 12-06 patch
rth [Sun, 7 Jan 2001 10:46:09 +0000 (10:46 +0000)]
    * collect2.c (COFF specific stuff): Revert 12-06 patch
        to prototype system functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38768 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * gcc.dg/format/format.h: New file.
jsm28 [Sun, 7 Jan 2001 10:44:59 +0000 (10:44 +0000)]
* gcc.dg/format/format.h: New file.
* gcc.dg/format/array-1.c, gcc.dg/format/attr-1.c,
gcc.dg/format/branch-1.c, gcc.dg/format/c90-printf-1.c,
gcc.dg/format/c90-printf-2.c, gcc.dg/format/c90-printf-3.c,
gcc.dg/format/c90-scanf-1.c, gcc.dg/format/c90-scanf-2.c,
gcc.dg/format/c90-scanf-3.c, gcc.dg/format/c90-scanf-4.c,
gcc.dg/format/c90-strftime-1.c, gcc.dg/format/c90-strftime-2.c,
gcc.dg/format/c94-printf-1.c, gcc.dg/format/c94-scanf-1.c,
gcc.dg/format/c99-printf-1.c, gcc.dg/format/c99-printf-2.c,
gcc.dg/format/c99-printf-3.c, gcc.dg/format/c99-scanf-1.c,
gcc.dg/format/c99-scanf-2.c, gcc.dg/format/c99-scanf-3.c,
gcc.dg/format/c99-strftime-1.c, gcc.dg/format/c99-strftime-2.c,
gcc.dg/format/diag-1.c, gcc.dg/format/errmk-1.c,
gcc.dg/format/ext-1.c, gcc.dg/format/ext-2.c,
gcc.dg/format/ext-3.c, gcc.dg/format/ext-4.c,
gcc.dg/format/ext-5.c, gcc.dg/format/miss-1.c,
gcc.dg/format/miss-2.c, gcc.dg/format/no-exargs-1.c,
gcc.dg/format/no-y2k-1.c, gcc.dg/format/nonlit-1.c,
gcc.dg/format/nonlit-2.c, gcc.dg/format/nonlit-3.c,
gcc.dg/format/sec-1.c, gcc.dg/format/strfmon-1.c,
gcc.dg/format/va-1.c, gcc.dg/format/warnll-1.c,
gcc.dg/format/xopen-1.c, gcc.dg/format/z-1.c: Include "format.h"
instead of declaring standard types, macros and functions in each
test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38767 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * hard-reg-set.h: Add multiple include guard.
m.hayes [Sun, 7 Jan 2001 10:38:29 +0000 (10:38 +0000)]
* hard-reg-set.h: Add multiple include guard.
* basic-block.h (struct loop): Add `sink' field.
* loop.h: Include sbitmap.h, hard-reg-set.h, and basic-block.h.
(emit_iv_add_mult): Delete.
(loop_iv_add_mult_hoist, loop_iv_add_mult_sink): Define.
(loop_iv_add_mult_emit_before, loop_insn_sink): Define.
(unroll_loop): Remove end_insert_before argument.
* loop.c (loop_givs_rescan): Remove end_insert_before argument.
(maybe_eliminate_biv_1): Likewise.
(emit_iv_add_mult): Delete.
(gen_add_mult, loop_regs_update): New.
(loop_insn_emit_after, loop_insn_emit_before): New.
(loop_insn_sink, loop_insn_sink_or_swim): New.
(emit_iv_add_mult): Delete.
(scan_loop): Set loop->sink.
(loop_givs_reduce): Use loop_insn_sink and its ilk.
(loop_givs_rescan, strength_reduce, check_dbra_loop): Likewise.
(maybe_eliminate_biv_1): Likewise.
(maybe_eliminate_biv_1): Add basic block argument.
* unroll.c (unroll_loop): Remove end_insert_before argument.
(find_splittable_regs): Likewise.
(find_splittable_regs): Use loop_insn_sink and its ilk.
(find_splittable_givs, final_biv_value, final_giv_value): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38766 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * loop.h (loop_insn_hoist): New prototype.
m.hayes [Sun, 7 Jan 2001 10:03:39 +0000 (10:03 +0000)]
* loop.h (loop_insn_hoist): New prototype.
* loop.c (loop_insn_hoist, loop_insn_emit_before): New.
(move_movables, loop_givs_rescan): Use loop_insn_hoist.
(check_dbra_loop, load_mems): Likewise.
* unroll.c (unroll_loop, find_splittable_regs): Likewise.
(find_splittable_givs): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38765 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * loop.c (emit_iv_add_mult): Use single_set to examine new insn.
m.hayes [Sun, 7 Jan 2001 09:59:09 +0000 (09:59 +0000)]
* loop.c (emit_iv_add_mult): Use single_set to examine new insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38764 138bc75d-0d04-0410-961f-82ee72b054a4

20 years ago * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.
rth [Sun, 7 Jan 2001 09:53:21 +0000 (09:53 +0000)]
    * sched-rgn.c (is_cfg_nonregular): Fix thinko's last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38763 138bc75d-0d04-0410-961f-82ee72b054a4