OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * cp-demangle.c (result_close_template_list): Remove function.
samuel [Wed, 23 Aug 2000 17:03:03 +0000 (17:03 +0000)]
* cp-demangle.c (result_close_template_list): Remove function.
(result_add_separated_char): New function.
(result_open_template_list): New macro.
(result_close_template_list): Likewise.
(demangle_prefix): Don't set template_p if the
prefix ends with a ctor name.
(demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
(demangle_type): Check for template args after substitution.
(demangle_template_args): Use result_open_template_list.

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

23 years agoDummy checkin of footer.html to force web sync.
pme [Wed, 23 Aug 2000 16:42:12 +0000 (16:42 +0000)]
Dummy checkin of footer.html to force web sync.

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

23 years ago * gcc.dg/cpp/tr-warn4.c, gcc.dg/cpp/tr-warn5.c,
ghazi [Wed, 23 Aug 2000 16:13:47 +0000 (16:13 +0000)]
* gcc.dg/cpp/tr-warn4.c, gcc.dg/cpp/tr-warn5.c,
gcc.dg/wtr-aggr-init-1.c, gcc.dg/wtr-escape-1.c,
gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-static-1.c,
gcc.dg/wtr-strcat-1.c, gcc.dg/wtr-switch-1.c,
gcc.dg/wtr-unary-plus-1.c, gcc.dg/wtr-union-init-1.c: New tests.

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

23 years agoAdded John David Anglin's name to patch for HP-UX bootstrap
aoliva [Wed, 23 Aug 2000 16:13:42 +0000 (16:13 +0000)]
Added John David Anglin's name to patch for HP-UX bootstrap

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

23 years ago* arm.c (arm_expand_prologue): Ensure that the stack-adjustment
rearnsha [Wed, 23 Aug 2000 15:15:21 +0000 (15:15 +0000)]
* arm.c (arm_expand_prologue): Ensure that the stack-adjustment
barrier can't be ignored by the alias analysis code.

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

23 years agoUpdate to pthread and addition of sys/machine.h
korbb [Wed, 23 Aug 2000 14:13:18 +0000 (14:13 +0000)]
Update to pthread and addition of sys/machine.h

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

23 years agoFixed the test for aix_pthread
korbb [Wed, 23 Aug 2000 14:08:57 +0000 (14:08 +0000)]
Fixed the test for aix_pthread

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

23 years agoFix sed script for sysv86_string fix
korbb [Wed, 23 Aug 2000 14:03:47 +0000 (14:03 +0000)]
Fix sed script for sysv86_string fix

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

23 years agoAdded a line to the test base
korbb [Wed, 23 Aug 2000 13:58:08 +0000 (13:58 +0000)]
Added a line to the test base

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

23 years ago * error.c (cp_print_error_function): Don't use embedded '\n' in
gdr [Wed, 23 Aug 2000 09:31:12 +0000 (09:31 +0000)]
* error.c (cp_print_error_function): Don't use embedded '\n' in
output_printf.

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

23 years ago* MAINTAINERS: Add self as a build machinery (*.in) maintainer.
aoliva [Wed, 23 Aug 2000 08:26:50 +0000 (08:26 +0000)]
* MAINTAINERS: Add self as a build machinery (*.in) maintainer.

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

23 years ago* simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
aoliva [Wed, 23 Aug 2000 07:59:06 +0000 (07:59 +0000)]
* simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
simplify_relational_operation() unless both operands are of
VOIDmode.
* cse.c (fold_rtx): Likewise.

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

23 years agoDaily bump.
law [Wed, 23 Aug 2000 07:45:07 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * decl.c (init_decl_processing): Remove bogus initialization.
gdr [Wed, 23 Aug 2000 06:36:15 +0000 (06:36 +0000)]
* decl.c (init_decl_processing): Remove bogus initialization.
* error.c (lang_print_error_function): Restore here.
(init_error): Initialize print_error_function.

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

23 years ago2000-08-23 Phil Edwards <pme@sourceware.cygnus.com>
pme [Wed, 23 Aug 2000 04:38:42 +0000 (04:38 +0000)]
2000-08-23  Phil Edwards  <pme@sourceware.cygnus.com>

* acconfig.h:  _GLIBCPP_USING_THREADS and some workaround types added.
* acinclude.m4:  New macro, GLIBCPP_ENABLE_WCHAR.  Set the threads
  definition as well, and some minor spelling/spacing fixes.  If
  building libio, check for certain typedefs.
* libio/_G_config.h:  Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS.
  Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types
  will never be there.
* libio/libio.h:  In the null case, _IO_lock_t can't just be void.
* src/string-inst.cc:  Use _GLIBCPP_USE_WCHAR_T.

* configure.in:  Update the cache a bit more often.

* mkcheck.in:  For check-install, also need to -I the testsuite dir.

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

23 years ago * rtlanal.c (rtx_unstable_p): The pic register is stable
wehle [Wed, 23 Aug 2000 03:54:23 +0000 (03:54 +0000)]
* rtlanal.c (rtx_unstable_p): The pic register is stable
(within one function) and the actual rtx should be used
when checking the registers.
(rtx_addr_can_trap_p): Pic memory addresses can't trap.

* alias.c (true_dependence, write_dependence_p): Fix
bug in previous patch.

* i386.c (ix86_GOT_alias_set): New.
(legitimize_pic_address): Use it.

* rtlanal.c (rtx_unstable_p): An unchanging MEM is
only stable if its address is stable.
(rtx_varies_p): An unchanging MEM can't vary if
its address doesn't vary.

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

23 years ago * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
ghazi [Wed, 23 Aug 2000 01:00:52 +0000 (01:00 +0000)]
* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.

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

23 years ago* MAINTAINERS: Add self as a build machinery (*.in) maintainer
dj [Wed, 23 Aug 2000 00:21:46 +0000 (00:21 +0000)]
* MAINTAINERS: Add self as a build machinery (*.in) maintainer

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

23 years ago2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 22 Aug 2000 23:44:23 +0000 (23:44 +0000)]
2000-08-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* src/locale-inst.cc: Add codecvt<unicode_t, wchar_t,
__enc_traits> instantiations for has_facet and use_facet.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for
testing two-byte unicode encodings converted to four-byte UCS4
encodings.

* bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift.
* testsuite/22_locale/codecvt_unicode_char.cc (test01): Add
correct state/encoding information.

* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs,
mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them
now.
Add checks for langinfo.h, nl_langinfo function call.
* libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed.

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

23 years agoForgot to commit.
law [Tue, 22 Aug 2000 23:13:12 +0000 (23:13 +0000)]
Forgot to commit.

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

23 years ago * decl2.c (arg_assoc): Revert my 2000-08-11 change.
jason [Tue, 22 Aug 2000 22:54:15 +0000 (22:54 +0000)]
    * decl2.c (arg_assoc): Revert my 2000-08-11 change.

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

23 years ago * vax.h (ASM_SPEC): Pass `-J' to assembler.
law [Tue, 22 Aug 2000 22:29:08 +0000 (22:29 +0000)]
    * vax.h (ASM_SPEC): Pass `-J' to assembler.
        * x-vax-gcc: New file for bootstrapping with gcc.
        * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
        * configure.in: Use x-vax-gcc with gcc.
        * configure: Rebuilt.

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

23 years ago * Makefile.in (error.o): Depends on diagnostic.h
gdr [Tue, 22 Aug 2000 20:26:41 +0000 (20:26 +0000)]
* Makefile.in (error.o): Depends on diagnostic.h

* cp-tree.h (problematic_instantiation_changed,
record_last_problematic_instantiation, current_instantiation,
print_instantiation_context): Declare.
(maybe_print_template_context): Remove.

* decl.c (init_decl_processing): Set print_error_function to NULL.
(lang_print_error_function): Remove, since we're using a new
machinery.

* error.c: #include diagnostic.h
(function_category): New function.
(cp_diagnostic_starter): Likewise.
(cp_diagnostic_finalizer): Likewise.
(cp_print_error_function): Likewise.
(maybe_print_instantiation_context): Likewise.
(print_instantiation_full_context): Likewise.
(print_instantiation_partial_context): Likewise.
(print_instantiation_context): Define.
(init_error): Initialize diagnostic pager and finalizer.

* pt.c (problematic_instantiation_changed): Define.
(record_last_problematic_instantiation): Likewise.
(current_instantiation): Likewise.
(maybe_print_template_context): Remove.
(print_template_context): Likewise.
(current_tinst_level): Make static to reflect Brendan Kehoe's
change of 1995-04-13.
(push_tinst_level): Call print_instantiation_context.

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

23 years ago * toplev.c (rest_of_compilation): Rebuild label notes after
amylaar [Tue, 22 Aug 2000 20:24:10 +0000 (20:24 +0000)]
* toplev.c (rest_of_compilation): Rebuild label notes after
post-reload splitting pass if new labels have been created.

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

23 years ago * diagnostic.h (output_buffer_state): New macro.
gdr [Tue, 22 Aug 2000 20:20:32 +0000 (20:20 +0000)]
* diagnostic.h (output_buffer_state): New macro.
* diagnostic.c (diagnostic_for_decl, sorry,
default_print_error_function, output_do_verbatim,
report_diagnostic, report_problematic_module): Use it.
(wrap_text): Tweak.
(output_format): Use wrap_text instead of maybe_wrap_text.

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

23 years agoUse macros to replace duplicated bodies of assembler code.
nickc [Tue, 22 Aug 2000 19:50:12 +0000 (19:50 +0000)]
Use macros to replace duplicated bodies of assembler code.

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

23 years ago * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
amylaar [Tue, 22 Aug 2000 19:39:56 +0000 (19:39 +0000)]
* config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.

* config/sh/sh.c (prepare_scc_operands): Apply force_reg to
sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
const0_rtx.

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

23 years agoBefore performing any restorative additions, test for bottom bits of IP being
nickc [Tue, 22 Aug 2000 19:37:02 +0000 (19:37 +0000)]
Before performing any restorative additions, test for bottom bits of IP being
set, rather than relying upon the RORs not matching.

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

23 years ago * calls.c (check_sibcall_argument_overlap_1): Adjust for
law [Tue, 22 Aug 2000 19:30:49 +0000 (19:30 +0000)]
    * calls.c (check_sibcall_argument_overlap_1): Adjust for
        ARGS_GROW_DOWNWARD.
        (check_sibcall_argument_overlap): Likewise.

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

23 years ago * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
dje [Tue, 22 Aug 2000 19:27:31 +0000 (19:27 +0000)]
* aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
        text_section() as appropriate instead of emitting text csect
pseudo-op directly.
(TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
(UNIQUE_SECTION): Define macro.
(ASM_OUTPUT_SECTION_NAME): Define macro.
* rs6000.c (rs6000_override_options): Disable -ffunction-sections
        on AIX if debugging and -fdata-sections always.

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

23 years ago * stl/bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro
law [Tue, 22 Aug 2000 19:24:01 +0000 (19:24 +0000)]
* stl/bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro
on _Nw since _Nw is already the number of words in the bitset.

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

23 years ago2000-08-22 Steven King <sxking@uswest.net>
bkoz [Tue, 22 Aug 2000 18:51:21 +0000 (18:51 +0000)]
2000-08-22 Steven King <sxking@uswest.net>

* config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
machinery.
(LDBL_MAX): Same here.

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

23 years ago2000-08-22 Steven King <sxking@uswest.net>
bkoz [Tue, 22 Aug 2000 18:48:57 +0000 (18:48 +0000)]
2000-08-22 Steven King <sxking@uswest.net>

* config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
machinery.
(LDBL_MAX): Same here.

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

23 years ago2000-08-22 Richard B. Kreckel <Richard.Kreckel@Uni-Mainz.DE>
bkoz [Tue, 22 Aug 2000 18:24:16 +0000 (18:24 +0000)]
2000-08-22  Richard B. Kreckel  <Richard.Kreckel@Uni-Mainz.DE>

* config/cpu/alpha/bits/atomicity.h: Change __attribute__
((unused)) to __attribute__ ((__unused__)).
* config/cpu/arm/bits/atomicity.h: Same.
* config/cpu/generic/bits/atomicity.h: Same.
* config/cpu/i386/bits/atomicity.h: Same.
* config/cpu/i486/bits/atomicity.h: Same.
* config/cpu/powerpc/bits/atomicity.h: Same.
* config/cpu/sparc/sparc32/bits/atomicity.h: Same.
* config/cpu/sparc/sparc64/bits/atomicity.h: Same.

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

23 years agofix so failures are diagnosed
jason [Tue, 22 Aug 2000 18:16:12 +0000 (18:16 +0000)]
fix so failures are diagnosed

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

23 years agotweak
jason [Tue, 22 Aug 2000 18:15:57 +0000 (18:15 +0000)]
tweak

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

23 years ago * flow.c (tidy_fallthru_edge): Update b->end properly.
rth [Tue, 22 Aug 2000 18:12:15 +0000 (18:12 +0000)]
    * flow.c (tidy_fallthru_edge): Update b->end properly.

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

23 years ago2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
bkoz [Tue, 22 Aug 2000 17:29:57 +0000 (17:29 +0000)]
2000-08-14  Levente Farkas  <lfarkas@mindmaker.hu>

* bits/basic_string.h: Fix up parameter names.

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

23 years ago2000-08-22 Brent Verner <brent@rcfile.org>
bkoz [Tue, 22 Aug 2000 17:22:38 +0000 (17:22 +0000)]
2000-08-22  Brent Verner <brent@rcfile.org>

* src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
$(top_srcdir)
* src/Makefile.in: Regenerate.

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

23 years ago * Makefile.in (OBJS): Add dependence.o.
scox [Tue, 22 Aug 2000 16:16:20 +0000 (16:16 +0000)]
* Makefile.in (OBJS): Add dependence.o.
* dependence.c: New file.

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

23 years ago* invoke.texi (SH Options): Document -m4-nofpu,
aoliva [Tue, 22 Aug 2000 14:39:31 +0000 (14:39 +0000)]
* invoke.texi (SH Options): Document -m4-nofpu,
-m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
-mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.

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

23 years ago * c-common.c (check_format_info): Give the 'some locales' warning
jsm28 [Tue, 22 Aug 2000 14:06:57 +0000 (14:06 +0000)]
* c-common.c (check_format_info): Give the 'some locales' warning
for strftime %Ey rather than the unconditional 'only last 2 digits
of year' one.

testsuite:
* gcc.dg/c90-strftime-2.c, gcc.dg/c99-strftime-1.c,
gcc.dg/c99-strftime-2.c: New tests.

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

23 years ago * alias.c (init_alias_analysis): Do not register
rth [Tue, 22 Aug 2000 08:42:46 +0000 (08:42 +0000)]
    * alias.c (init_alias_analysis): Do not register
        struct_value_incoming_rtx or static_chain_rtx as pointing
        to stack memory.

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

23 years agoNew test.
rth [Tue, 22 Aug 2000 08:41:02 +0000 (08:41 +0000)]
New test.

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

23 years ago2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 22 Aug 2000 08:19:00 +0000 (08:19 +0000)]
2000-08-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
up __enc_traits template so as to be marginally useful.
* src/codecvt.cc: And here.
* bits/char_traits: Tweak.
* bits/locale_facets.h: Tweak.
* bits/locale_facets.tcc: Tweak.
* bits/localefwd.h: Tweak.
* src/locale-inst.cc: Add use_facet/has_facet instantiations here.
* testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
* testsuite/22_locale/codecvt_char_char.cc: New file.
* testsuite/22_locale/codecvt_unicode_char.cc: New file.

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

23 years ago2000-08-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
bkoz [Tue, 22 Aug 2000 08:18:10 +0000 (08:18 +0000)]
2000-08-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

* bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
up __enc_traits template so as to be marginally useful.
* src/codecvt.cc: And here.
* bits/char_traits: Tweak.
* bits/locale_facets.h: Tweak.
* bits/locale_facets.tcc: Tweak.
* bits/localefwd.h: Tweak.
* src/locale-inst.cc: Add use_facet/has_facet instantiations here.
* testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
* testsuite/22_locale/codecvt_char_char.cc: New file.
* testsuite/22_locale/codecvt_unicode_char.cc: New file.

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

23 years ago(TYPE_RETURNS_STACK_DEPRESSED): Insert blank between
aoliva [Tue, 22 Aug 2000 08:04:21 +0000 (08:04 +0000)]
(TYPE_RETURNS_STACK_DEPRESSED): Insert blank between
`FUNCTION_TYPE_CHECK' and `(NODE)'.

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

23 years agoDaily bump.
law [Tue, 22 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * protoize.c (munge_compile_params): Fix typo and formatting buglets.
law [Tue, 22 Aug 2000 07:44:51 +0000 (07:44 +0000)]
    * protoize.c (munge_compile_params): Fix typo and formatting buglets.

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

23 years ago2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
gdr [Tue, 22 Aug 2000 06:54:54 +0000 (06:54 +0000)]
2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>

* diagnostic.h (report_problematic_module): Declare.
* diagnostic.c (report_problematic_module): New function.
(report_error_function): Tweak.

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

23 years ago * stmt.c (expand_goto_internal, fixup_gotos): Only check
kenner [Tue, 22 Aug 2000 06:24:13 +0000 (06:24 +0000)]
* stmt.c (expand_goto_internal, fixup_gotos): Only check
TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.

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

23 years ago* config-ml.in (CC, CXX): Avoid trailing whitespace.
aoliva [Tue, 22 Aug 2000 05:02:48 +0000 (05:02 +0000)]
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.

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

23 years ago2000-08-21 Mark Wielaard <mark@klomp.org>
tromey [Tue, 22 Aug 2000 04:46:51 +0000 (04:46 +0000)]
2000-08-21  Mark Wielaard  <mark@klomp.org>

* Makefile.in: Rebuilt.
* Makefile.am (java/lang/reflect/Constructor.h): Declare Class as
a `friend class'.
(java/lang/reflect/Field.h): Likewise.
(java/lang/reflect/Method.h): Likewise.
(gnu/gcj/runtime/VMClassLoader.h): Declare ClassLoader as a
`friend class'.

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

23 years ago * flow.c (calculate_global_regs_live): Mark frame pointer live
rth [Tue, 22 Aug 2000 00:44:09 +0000 (00:44 +0000)]
    * flow.c (calculate_global_regs_live): Mark frame pointer live
        everywhere before reload.

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

23 years agoFix x86-x-ia64 cross compiler build failure.
wilson [Tue, 22 Aug 2000 00:36:44 +0000 (00:36 +0000)]
Fix x86-x-ia64 cross compiler build failure.
* real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
INTEL_EXTENDED_IEEE_FORMAT.
(toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support.  Unconditionally
clear last two bytes of output FP value.

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

23 years agoFix typos spotted by Graham Stott.
wilson [Tue, 22 Aug 2000 00:04:00 +0000 (00:04 +0000)]
Fix typos spotted by Graham Stott.
* config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.

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

23 years ago * java/util/ResourceBundle.java (trySomeGetBundle): Removed
tromey [Mon, 21 Aug 2000 21:25:55 +0000 (21:25 +0000)]
* java/util/ResourceBundle.java (trySomeGetBundle): Removed
debugging prints.

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

23 years ago * unroll.c (loop_find_equiv_value): If ret is modified between
jakub [Mon, 21 Aug 2000 19:58:35 +0000 (19:58 +0000)]
* unroll.c (loop_find_equiv_value): If ret is modified between
insn and loop_start, ret might not be equivalent to reg.

* gcc.c-torture/execute/20000819-1.x: Remove.

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

23 years ago * c-common.c (init_dollar_format_checking,
jsm28 [Mon, 21 Aug 2000 19:38:35 +0000 (19:38 +0000)]
* c-common.c (init_dollar_format_checking,
maybe_read_dollar_number, finish_dollar_format_checking): New
functions.
(dollar_arguments_used, dollar_arguments_count,
dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
New variables.
(check_format_info): Support $ formats for scanf and printf width
and precision.  Always increment format_chars to advance past the
'*' of precision, not just when the format parameters are
available to check.

testsuite:
* gcc.dg/c90-printf-3.c, gcc.dg/c90-scanf-2.c,
gcc.dg/c90-scanf-3.c, gcc.dg/c90-scanf-4.c,
gcc.dg/c90-strftime-1.c, gcc.dg/c99-printf-3.c,
gcc.dg/c99-scanf-1.c, gcc.dg/c99-scanf-2.c, gcc.dg/c99-scanf-3.c,
gcc.dg/format-xopen-1.c: New tests.

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

23 years agoWarning fixes:
ghazi [Mon, 21 Aug 2000 19:21:28 +0000 (19:21 +0000)]
Warning fixes:

* mips.c (block_move_loop, expand_block_move,
function_arg_partial_nregs, save_restore_insns, function_prologue,
mips_expand_prologue, RA_MASK): Avoid using the `U' integer
constant suffix.
(function_arg_advance, function_arg): Match argument to format
specifier `%p'.

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

23 years ago * lang-specs.h: Do not process -o or run the assembler if
law [Mon, 21 Aug 2000 18:12:36 +0000 (18:12 +0000)]
    * lang-specs.h: Do not process -o or run the assembler if
        -fsyntax-only.  Use %j instead of /dev/null.

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

23 years ago * lang-specs.h: Do not process -o or run the assembler if
law [Mon, 21 Aug 2000 18:12:24 +0000 (18:12 +0000)]
    * lang-specs.h: Do not process -o or run the assembler if
        -fsyntax-only.

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

23 years ago * lang-specs.h: Do not process -o or run the assembler if
law [Mon, 21 Aug 2000 18:10:29 +0000 (18:10 +0000)]
    * lang-specs.h: Do not process -o or run the assembler if
        -fsyntax-only.

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

23 years ago* MAINTAINERS: Add self as a libiberty maintainer
dj [Mon, 21 Aug 2000 18:06:49 +0000 (18:06 +0000)]
* MAINTAINERS: Add self as a libiberty maintainer

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

23 years agoForgot to commit with last change.
law [Mon, 21 Aug 2000 18:05:49 +0000 (18:05 +0000)]
Forgot to commit with last change.

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

23 years ago * gcc.c (do_spec_1): Implement %j spec flag.
law [Mon, 21 Aug 2000 18:01:51 +0000 (18:01 +0000)]
* gcc.c (do_spec_1): Implement %j spec flag.
Remove dead comment.

* gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
        * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
        * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
        * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
      * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
writable) instead of hardcoded value.

* toplev.c (compile_file): Output to a file even if -fsyntax-only.

        * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
        MKTEMP_EACH_FILE.

         * gcc.c (cc1_options): Do not process -o or
        run the assembler if -fsyntax-only.

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

23 years agoprevent the deletion of a file before it is read on DOS
korbb [Mon, 21 Aug 2000 16:28:18 +0000 (16:28 +0000)]
prevent the deletion of a file before it is read on DOS

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

23 years agoMakefile for i?86-pc-msdosdjgpp
korbb [Mon, 21 Aug 2000 16:17:35 +0000 (16:17 +0000)]
Makefile for i?86-pc-msdosdjgpp

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

23 years ago * config/i386/i386.md (lea_general_1): Copy insn condition to split
jakub [Mon, 21 Aug 2000 15:10:42 +0000 (15:10 +0000)]
* config/i386/i386.md (lea_general_1): Copy insn condition to split
condition.
(lea_general_2, lea_general_3): Likewise.

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

23 years ago * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
ghazi [Mon, 21 Aug 2000 14:54:28 +0000 (14:54 +0000)]
* c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
warnings to user code.

* c-lex.c (readescape, yylex): Likewise.

* c-typeck.c (store_init_value, process_init_element): Likewise
(c_expand_start_case): Format.

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

23 years ago * mips/linux.h (LINK_SPEC): Use %(endian_spec).
law [Mon, 21 Aug 2000 14:35:29 +0000 (14:35 +0000)]
    * mips/linux.h (LINK_SPEC): Use %(endian_spec).

        * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
        and linker_endian_spec to endian_spec.
        (ENDIAN_SPEC): Add %{EB} and %{EL}.
        (LINK_SPEC): Remove %{EB} and %{EL}.
        (ASM_SPEC): Likewise.  Use %(endian_spec).

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

23 years ago * c-tree.h (flag_hosted): Move declaration from here...
jsm28 [Mon, 21 Aug 2000 14:30:38 +0000 (14:30 +0000)]
* c-tree.h (flag_hosted): Move declaration from here...
* c-common.h (flag_hosted): ... to here.
(flag_noniso_default_format_attributes): New declaration.
* c-decl.c (flag_noniso_default_format_attributes): New variable.
(c_decode_option): Set it appropriately for options choosing
language standard variant.
* c-common.c (init_function_format_info): Only provide default
format attributes if flag_hosted.  Only provide the gettext
formats if flag_noniso_default_format_attributes.  Update
comments.
(check_format_info): Disable treatment of %a as a scanf flag in
C99 mode.

cp:
* decl.c (flag_hosted, flag_noniso_default_format_attributes): New
variables.
* decl2.c (lang_decode_option): Disable gettext attributes for
-ansi.

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

23 years ago * c-common.c (scan_char_table): Add 'w' to flags for all formats
jsm28 [Mon, 21 Aug 2000 14:22:44 +0000 (14:22 +0000)]
* c-common.c (scan_char_table): Add 'w' to flags for all formats
except 'n'.
(check_format_info): Set 'wide' for scanf format widths.  Warn for
a zero scanf width.  Make the check for writing into a constant
object at the first level of indirection; at later levels, warn if
any type qualifiers are encountered.

testsuite:
* gcc.dg/c90-scanf-1.c, gcc.dg/c94-scanf-1.c: New tests.

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

23 years ago * reload.c (reload_inner_reg_of_subreg): New function broken out of
law [Mon, 21 Aug 2000 13:46:47 +0000 (13:46 +0000)]
    * reload.c (reload_inner_reg_of_subreg): New function broken out of
        push_reload.
        (push_reload): Use reload_inner_reg_of_subreg.
        (combine_reloads): Do not combine reloads if the input reload
        is a SUBREG in which the inner part will need reloading.

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

23 years ago * global.c (global_alloc): Avoid passing dumpfile argument to
law [Mon, 21 Aug 2000 13:42:29 +0000 (13:42 +0000)]
    * global.c (global_alloc): Avoid passing dumpfile argument to
        reload routines.
        * toplev.c (rest_of_compilation): Likewise.
        * reload.h (reload): Remove dumpfile argument.  Callers changed.
        (debug_reload, debug_reload_to_stream): Move prototypes here.
        * rtl.h  (reload): Remove dumpfile argument.
        * reload.c (debug_reload): Remove prototype.
        (debug_reload_to_stream): Likewise.
        * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
        instead.

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

23 years ago * g++.old-deja/g++.other/loop2.C: New test.
jakub [Mon, 21 Aug 2000 13:04:38 +0000 (13:04 +0000)]
* g++.old-deja/g++.other/loop2.C: New test.

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

23 years agoFix thinko.
gdr [Mon, 21 Aug 2000 11:29:16 +0000 (11:29 +0000)]
Fix thinko.

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

23 years ago * bits/std_cmath.h (std::abs): Overload for int and long.
gdr [Mon, 21 Aug 2000 10:45:26 +0000 (10:45 +0000)]
* bits/std_cmath.h (std::abs): Overload for int and long.

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

23 years ago * diagnostic.c (context_as_prefix): Export.
gdr [Mon, 21 Aug 2000 10:14:18 +0000 (10:14 +0000)]
* diagnostic.c (context_as_prefix): Export.
(need_error_newline): Remove.
(lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
(error_module_changed, record_last_error_module,
error_function_changed, record_last_error_function): New functions.
(initialize_diagnostics): Default intialize
lang_diagnostic_starter, lang_diagnostic_finalizer.
(init_output_buffer): Tweak.
(file_name_as_prefix): New function.
(announce_function, default_print_error_function,
report_error_function, set_diagnostic_context): Tweak.

cp/
* lex.c (lang_init_options): Default diagnostic message maximum
length to 80, when line-wrapping.

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

23 years ago* flow.c (init_propagate_block_info): Handle SUBREG in a jump
rearnsha [Mon, 21 Aug 2000 09:18:05 +0000 (09:18 +0000)]
* flow.c (init_propagate_block_info): Handle SUBREG in a jump
condition expression.

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

23 years ago * gcc.c-torture/compile/20000606-1.c: New test.
jakub [Mon, 21 Aug 2000 08:30:38 +0000 (08:30 +0000)]
* gcc.c-torture/compile/20000606-1.c: New test.
* gcc.c-torture/compile/20000728-1.c: New test.
* gcc.c-torture/execute/20000801-1.c: New test.
* gcc.c-torture/execute/20000801-2.c: New test.
* gcc.c-torture/execute/20000819-1.c: New test.
* gcc.c-torture/execute/20000819-1.x: XFAIL.
* gcc.dg/20000629-1.c: New test.
* gcc.dg/20000724-1.c: New test.
* gcc.dg/20000807-1.c: New test.

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

23 years agoDaily bump.
law [Mon, 21 Aug 2000 07:45:08 +0000 (07:45 +0000)]
Daily bump.

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

23 years ago * lang-specs.h: Pass -I* options to f771.
jakub [Mon, 21 Aug 2000 07:44:02 +0000 (07:44 +0000)]
* lang-specs.h: Pass -I* options to f771.

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

23 years ago2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
bkoz [Mon, 21 Aug 2000 07:11:38 +0000 (07:11 +0000)]
2000-08-20  Benjamin Kosnik  <bkoz@gnu.org>

* src/string-inst.cc: Tweak instantiations for new-gxx-abi.

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

23 years agoFixed typo in ChangeLog
green [Mon, 21 Aug 2000 06:07:51 +0000 (06:07 +0000)]
Fixed typo in ChangeLog

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

23 years agoSun Aug 20 21:02:48 2000 Anthony Green <green@redhat.com>
green [Mon, 21 Aug 2000 06:05:20 +0000 (06:05 +0000)]
Sun Aug 20 21:02:48 2000  Anthony Green  <green@redhat.com>

* java/lang/natSystem.cc (init_properties): Change sourceware
reference to sources.redhat.com.

* include/java-props.h: Add _Jv_Jar_Class_Path.
* prims.cc: Ditto.  Set it from `gij -jar file' option.

* java/lang/natSystem.cc (init_properties): Set java.class.path
from
{gij -jar file}:{CLASSPATH variable}:{-Djava.class.path= or .}

* java/util/PropertyPermission.java: Import from GNU Classpath.
* Makefile.in: Rebuilt.
* Makefile.am: Add java/util/PropertyPermission.java.
* java/lang/System.java: Add setProperty method.

* gij.cc (main): Add -jar option to execute jar files.
(help): Describe -jar option.
* prims.cc (_Jv_RunMain): Add support for jar execution mode.
* gnu/gcj/tools/Gij.java: New file.
* include/jvm.h: Add is_jar argument to _Jv_RunMain.
* gnu/gcj/runtime/FirstThread.java (main): New method.

* java/util/jar/Attributes.java: Correct comment spelling.

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

23 years ago * class.c (build_vtbl_initializer): Clear the entire
mmitchel [Mon, 21 Aug 2000 04:39:29 +0000 (04:39 +0000)]
* class.c (build_vtbl_initializer): Clear the entire
vtbl_init_data.  Start keeping track of the functions for which we
have created vcall offsets here.
(dfs_build_vcall_offset_vtbl_entries): Remove.
(build_vcall_offset_vtbl_entries): Reimplement.
(add_vcall_offset_vtbl_entries_r): New function.
(add_vcall_offset_vtbl_entries_1): Likewise.  Tweak logic for
computing when vcall offsets are necessary.

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

23 years ago * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
rth [Sun, 20 Aug 2000 22:16:32 +0000 (22:16 +0000)]
    * flow.c (merge_blocks_nomove): Don't seek back past the bb note.

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

23 years ago2000-08-20 Mark Wielaard <mark@klomp.org>
mark [Sun, 20 Aug 2000 21:51:19 +0000 (21:51 +0000)]
2000-08-20  Mark Wielaard  <mark@klomp.org>

    * java/util/zip/Adler32.java: Make private variables really private
    * java/util/zip/CRC32.java: Make private variables really private
    * java/util/zip/CheckedInputStream.java: skip() could skip to much bytes
    * java/util/zip/InflaterInputStream.java: skip() could skip to much bytes
    * java/util/zip/ZipEntry.java: setCompressedSize() didn't check input
    * java/util/zip/ZipFile.java: size() new 1.2 method
    * java/util/zip/ZipInputStream.java: Use createZipEntry not new ZipEntry.
    since 1.2 available() always returns just 1 or 0 when closed

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

23 years ago2000-08-20 Zack Weinberg <zack@wolery.cumb.org>
zack [Sun, 20 Aug 2000 21:36:18 +0000 (21:36 +0000)]
2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>

* cppinit.c (cpp_init): Set global flag when called.
(cpp_reader_init): Bomb out if cpp_init hasn't been called.

Sun Aug 20 01:41:35 MSD 2000 Dennis Chernoivanov <cdi@sparc.spb.su>

        * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
        before `process_directive' so that newlines won't be missed
        for directives.
        (cpp_printf): Increment `print->lineno' when newline is emitted.

        * cppmain.c (cb_ident): Likewise.
        (cb_define): Likewise.
        (cb_undef): Likewise.
        (cb_include): Likewise.
        (cb_def_pragma): Likewise.
        (dump_macros_helper): Likewise.

* gcc.dg/cpp/pragma-1.c: New test.
* gcc.dg/cpp/pragma-2.c: New test.

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

23 years ago * java/util/jar/JarFile.java: Don't call
green [Sun, 20 Aug 2000 19:40:25 +0000 (19:40 +0000)]
    * java/util/jar/JarFile.java: Don't call
        java.util.zip.ZipFile.getEntry twice.  From Mark Wielaard
        <mark@klomp.org>.

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

23 years ago * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
rth [Sun, 20 Aug 2000 19:03:03 +0000 (19:03 +0000)]
    * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
        assigned before a loop.

        * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
        (ashrsi3, lshrsi3): Likewise.

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

23 years agoOops. Forgot some notes.
green [Sun, 20 Aug 2000 17:54:56 +0000 (17:54 +0000)]
Oops.  Forgot some notes.

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

23 years agoSun Aug 20 09:51:48 2000 Anthony Green <green@redhat.com>
green [Sun, 20 Aug 2000 17:49:12 +0000 (17:49 +0000)]
Sun Aug 20 09:51:48 2000  Anthony Green  <green@redhat.com>

        * java/net/URLClassLoader.java: Find the JarEntry via the JarFile.

        * java/net/JarURLConnection.java: getEntry doesn't take any
        arguments.  Return null if element is null.

        * java/util/zip/ZipFile.java (getInputStream): Read the compressed
        size from the archive, not the inflated size.

        * java/util/jar/JarFile.java (getEntry): Don't recurse.  Call
        java.util.zip.ZipFile.getEntry.

        * gij.cc (help): Change sourceware reference to
        sources.redhat.com.

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

23 years ago * parse.y (check_abstract_method_definitions): Now return `int'.
tromey [Sun, 20 Aug 2000 16:28:48 +0000 (16:28 +0000)]
* parse.y (check_abstract_method_definitions): Now return `int'.
Check implemented interfaces.  Fixes PR gcj/305.

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

23 years ago * parse.y (patch_switch_statement): Disallow `long' in switch
tromey [Sun, 20 Aug 2000 16:24:31 +0000 (16:24 +0000)]
* parse.y (patch_switch_statement): Disallow `long' in switch
expressions.  Fixes PR gcj/310.

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

23 years ago * c-lang.c: #include diagnostic.h
gdr [Sun, 20 Aug 2000 14:57:16 +0000 (14:57 +0000)]
* c-lang.c: #include diagnostic.h
(c_tree_printer): New function.
(lang_init): Initialize lang_printer.

* Makefile.in (c-lang.o): Depends on diagnostic.h

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

23 years ago * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
gdr [Sun, 20 Aug 2000 09:50:12 +0000 (09:50 +0000)]
* c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.

* diagnostic.c (default_diagnostic_starter,
default_diagnostic_finalizer): New functions.
(diagnostic_for_asm, diagnostic_for_decl): Tweak.
(pedwarn, pedwarn_with_file_and_line, error,
error_with_file_and_line, fatal, warning,
warning_with_file_and_line): Adjust call to report_diagnostic.
(report_diagnostic): Rework.
(set_diagnostic_context): New function.

* diagnostic.h (struct diagnostic_context): New data structure.
(diagnostic_message, diagnostic_argument_list,
diagnostic_file_location, diagnostic_line_location,
diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
(set_diagnostic_context): Declare.
(report_diagnostic): Change prototype.

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

23 years ago * fix-header.c (read_scan_file): Initialize cpplib.
neil [Sun, 20 Aug 2000 08:33:52 +0000 (08:33 +0000)]
* fix-header.c (read_scan_file): Initialize cpplib.

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

23 years ago * fix-header.c (main): Initialize cpplib.
neil [Sun, 20 Aug 2000 08:28:45 +0000 (08:28 +0000)]
* fix-header.c (main): Initialize cpplib.

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