Michael Hayes [Thu, 21 Dec 2000 22:15:22 +0000 (22:15 +0000)]
resource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and POST_MODIFY cases.
* resource.c (mark_set_resources): Use MARK_SRC_DEST for
PRE_MODIFY and POST_MODIFY cases.
* rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
From-SVN: r38429
Joseph Myers [Thu, 21 Dec 2000 22:08:39 +0000 (22:08 +0000)]
acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web...
* acinclude.m4, configure.in, mkcheck.in,
testsuite/21_strings/ctor_copy_dtor.cc,
testsuite/21_strings/inserters_extractors.cc,
testsuite/23_containers/map_operators.cc,
testsuite/23_containers/vector_element_access.cc,
testsuite/25_algorithms/lower_bound.cc,
testsuite/27_io/ifstream_members.cc,
testsuite/27_io/istream_extractor_arith.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/ofstream_members.cc,
testsuite/27_io/ostream_inserter_char.cc,
testsuite/27_io/ostream_inserter_other.cc,
testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
Change sourceware.cygnus.com and sources.redhat.com URLs for
libstdc++ web pages and list archives to point to gcc.gnu.org
* aclocal.m4, configure: Regenerate.
From-SVN: r38428
Michael Hayes [Thu, 21 Dec 2000 22:08:17 +0000 (22:08 +0000)]
* md.texi (Looping Patterns): New node.
From-SVN: r38427
Joseph Myers [Thu, 21 Dec 2000 21:24:28 +0000 (21:24 +0000)]
gcc.texi, cpp.texi: Update last-updated dates.
* gcc.texi, cpp.texi: Update last-updated dates.
f:
* g77install.texi, g77.texi: Update last-updated dates for
installation information and the manual as a whole.
* bugs.texi, news.texi: Update copyright years in the comments at
the top of the file.
From-SVN: r38426
Joseph Myers [Thu, 21 Dec 2000 21:08:17 +0000 (21:08 +0000)]
* g77install.texi: Adjust wording of an EGCS reference.
From-SVN: r38425
Joseph Myers [Thu, 21 Dec 2000 20:03:41 +0000 (20:03 +0000)]
* BUGS, NEWS: Regenerate.
From-SVN: r38424
Chandrakala Chavva [Thu, 21 Dec 2000 19:25:22 +0000 (14:25 -0500)]
varasm.c (output_addressed_constants): Use language specific expander on unknown nodes.
* varasm.c (output_addressed_constants): Use language specific
expander on unknown nodes.
From-SVN: r38423
Graham Stott [Thu, 21 Dec 2000 18:49:56 +0000 (18:49 +0000)]
* combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
From-SVN: r38422
Tom Tromey [Thu, 21 Dec 2000 18:39:43 +0000 (18:39 +0000)]
PropertyChangeListener.java: Extends EventListener.
* java/beans/PropertyChangeListener.java: Extends EventListener.
* java/beans/VetoableChangeListener.java: Extends EventListener.
From-SVN: r38421
Tom Tromey [Thu, 21 Dec 2000 18:39:19 +0000 (18:39 +0000)]
* java/util/zip/Deflater.java (update, init): Now private.
From-SVN: r38420
Bernd Schmidt [Thu, 21 Dec 2000 18:26:07 +0000 (18:26 +0000)]
ia64 specific scheduling bits
From-SVN: r38419
DJ Delorie [Thu, 21 Dec 2000 18:20:39 +0000 (13:20 -0500)]
dwarf2out.c (simple_decl_align_in_bits): new
* dwarf2out.c (simple_decl_align_in_bits): new
(field_byte_offset): Try both the type align and the
decl align, use whichever works, preferring the type align.
From-SVN: r38418
Jason Merrill [Thu, 21 Dec 2000 17:50:10 +0000 (12:50 -0500)]
pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not DECL_TEMPLATE_RESULT.
* pt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not
DECL_TEMPLATE_RESULT.
* search.c (lookup_field_r): Call lookup_fnfields_1, not
lookup_fnfields_here.
* parse.y (typename_sub2): Return the TYPE_DECL, not the type.
* call.c (build_object_call): Also allow conversions that return
reference to pointer to function.
(add_conv_candidate): Handle totype being ref to ptr to fn.
(build_field_call): Also allow members of type reference to function.
Lose support for calling pointer to METHOD_TYPE fields.
* error.c (dump_expr): Handle *_CAST_EXPR.
* typeck2.c (build_scoped_ref): Always convert to the naming class.
* tree.c (break_out_cleanups): Lose.
* cp-tree.h: Remove prototype.
* typeck.c (build_component_ref): Don't break_out_cleanups.
(build_compound_expr): Likewise.
* semantics.c (finish_expr_stmt): Likewise.
From-SVN: r38417
Joseph Myers [Thu, 21 Dec 2000 16:22:54 +0000 (16:22 +0000)]
* gccbug.in: Fix typo.
From-SVN: r38416
Bernd Schmidt [Thu, 21 Dec 2000 14:37:30 +0000 (14:37 +0000)]
New testcase
From-SVN: r38415
Bernd Schmidt [Thu, 21 Dec 2000 13:47:09 +0000 (13:47 +0000)]
New compilation test case.
From-SVN: r38414
Jeff Law [Thu, 21 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38413
Benjamin Kosnik [Thu, 21 Dec 2000 07:19:41 +0000 (07:19 +0000)]
Makefile.in (gcc_gxx_target_include_dir): Use instead of build_tooldir and libstdcxx_incdir.
2000-12-20 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (gcc_gxx_target_include_dir): Use instead of
build_tooldir and libstdcxx_incdir.
From-SVN: r38412
Robert Lipe [Thu, 21 Dec 2000 05:00:08 +0000 (05:00 +0000)]
haifa-sched.c (schedule_block): Provide empty source statement if not MD_SCHED_REORDER2.
* haifa-sched.c (schedule_block): Provide empty source statement
if not MD_SCHED_REORDER2.
From-SVN: r38411
Bryce McKinlay [Thu, 21 Dec 2000 02:00:15 +0000 (02:00 +0000)]
BasicMapEntry.java: Re-added.
* java/util/BasicMapEntry.java: Re-added.
* java/util/HashMap.java (Entry): Extend BasicMapEntry.
(putAll): Test for BasicMapEntry.
* java/util/Hashtable.java (Entry): Extend BasicMapEntry.
(putAll): Test for BasicMapEntry.
Change references from `HashMap.Entry' to `Entry' in various places.
* Makefile.am: Add BasicMapEntry.java.
* Makefile.in: Rebuilt.
From-SVN: r38410
Gabriel Dos Reis [Thu, 21 Dec 2000 01:28:58 +0000 (01:28 +0000)]
Makefile.am (sources): Remove complex.cc, complexf.cc and complexl.cc from list.
* src/Makefile.am (sources): Remove complex.cc, complexf.cc and
complexl.cc from list.
* src/Makefile.in: Regenerate.
* src/complex.cc: Remove.
* src/complexf.cc: Likewise.
* src/complexl.cc: Likewise.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c
(EXTRA_DIST): Remove csqrt.c and csqrtf.c.
* libmath/Makefile.in: Regenerate.
* libmath/complex-stub.h: Remove.
* libmath/csqrt.c: Likewise.
* libmath/sqrtf.c: Likewise.
* libmath/sqrtl.c: Likewise.
* libmath/mathconf.h: Remove <complex.h> and "complex-stub.h"
#inclusion.
* include/bits/std_complex.h (sqrt<>): Define primary template.
(complex<>): Remove sqrt friend declarations.
* configure.in: Initialize with src/ios.cc.
* configure: Regenerate.
* acinclude.m4: Remove check for csqrt* and <complex.h>
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r38409
Richard Henderson [Thu, 21 Dec 2000 01:11:31 +0000 (17:11 -0800)]
rtl.h (REG_NON_LOCAL_GOTO): New.
* rtl.h (REG_NON_LOCAL_GOTO): New.
* rtl.c (reg_note_name): Update.
* stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
* builtins.c (expand_builtin_longjmp): Likewise.
* flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
not emit an edge.
From-SVN: r38408
Richard Henderson [Wed, 20 Dec 2000 22:01:05 +0000 (14:01 -0800)]
crash36.C: Update error lines.
* g++.old-deja/g++.pt/crash36.C: Update error lines.
* g++.old-deja/g++.robertl/eb109.C: Likewise.
From-SVN: r38407
Phil Edwards [Wed, 20 Dec 2000 21:37:57 +0000 (21:37 +0000)]
acinclude.m4 (SECTION_FLAGS, [...]): Fix minor thinko.
2000-12-20 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS): Fix minor thinko.
* aclocal.m4: Regenerate.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* include/bits/istream.tcc: Fix clause reference in comment.
From-SVN: r38406
Marek Michalkiewicz [Wed, 20 Dec 2000 18:49:22 +0000 (19:49 +0100)]
avr.c (out_movsi_r_mr, [...]): Do not output undefined opcodes where source or destination register overlaps...
* config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
Do not output undefined opcodes where source or destination register
overlaps with modified pointer register. Handle (X + d) addresses.
* config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
in alternatives with memory operand.
From-SVN: r38405
Richard Henderson [Wed, 20 Dec 2000 18:18:24 +0000 (10:18 -0800)]
c-typeck.c (build_asm_stmt): New, broken out from ...
* c-typeck.c (build_asm_stmt): New, broken out from ...
(c_expand_asm_operands): ... here. Just do rtl expansion.
(c_expand_return): Return the new stmt node.
(c_start_case, do_case): Likewise.
* c-common.c (c_expand_expr_stmt): Likewise.
* c-common.h: Update declarations.
* c-tree.h: Likewise.
* c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
* c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
(nested_function, notype_nested_function): Likewise.
(compstmt): Return the compound statement not the binding level.
(lineno_labeled_stmt): Simplify.
(lineno_stmt, lineno_label): Set STMT_LINENO.
(stmt, label): Return the new stmt node.
From-SVN: r38402
Richard Henderson [Wed, 20 Dec 2000 18:16:47 +0000 (10:16 -0800)]
cp-tree.h: Update declarations.
* cp-tree.h: Update declarations.
* decl.c (finish_case_label): Return the new stmt node.
* semantics.c (finish_goto_stmt): Likewise.
(finish_expr_stmt, finish_return_stmt): Likewise.
(finish_break_stmt, finish_continue_stmt): Likewise.
(finish_asm_stmt): Likewise.
* parse.y (already_scoped_stmt): Set STMT_LINENO.
(compstmt, implicitly_scoped_stmt, stmt): Likewise.
(simple_if, simple_stmt): Return the new stmt node.
(save_lineno): New.
From-SVN: r38401
Bernd Schmidt [Wed, 20 Dec 2000 17:19:39 +0000 (17:19 +0000)]
Support scheduling across extended basic blocks
From-SVN: r38400
Bernd Schmidt [Wed, 20 Dec 2000 15:48:26 +0000 (15:48 +0000)]
Fix ARM bootstrap problems introduced by last change
From-SVN: r38399
Alexandre Oliva [Wed, 20 Dec 2000 09:03:23 +0000 (09:03 +0000)]
final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
* final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
* tm.texi: Document it.
From-SVN: r38395
Jeff Law [Wed, 20 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38394
Benjamin Kosnik [Wed, 20 Dec 2000 08:39:55 +0000 (08:39 +0000)]
headers_c.cc (main): New file.
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r38393
Benjamin Kosnik [Wed, 20 Dec 2000 08:24:40 +0000 (08:24 +0000)]
[multiple changes]
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38392
Benjamin Kosnik [Wed, 20 Dec 2000 08:04:41 +0000 (08:04 +0000)]
ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38391
Benjamin Kosnik [Wed, 20 Dec 2000 07:02:41 +0000 (07:02 +0000)]
Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
instead of gcc_tooldir.
From-SVN: r38390
Benjamin Kosnik [Wed, 20 Dec 2000 06:50:19 +0000 (06:50 +0000)]
Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
2000-12-19 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
instead of gcc_tooldir.
From-SVN: r38389
Benjamin Kosnik [Tue, 19 Dec 2000 22:55:07 +0000 (22:55 +0000)]
[multiple changes]
2000-12-19 Benjamin Kosnik <bkoz@fillmore.constant.com>
* configure.in: Don't turn on long long by default.
* configure: Regenerate.
* include/c/bits/std_cstdio.h: Remove c++config.h include.
* src/locale.cc: Formatting tweaks.
* testsuite/22_locale/ctype.cc (char<unsigned char>): Provide
member functions.
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38388
Benjamin Kosnik [Tue, 19 Dec 2000 20:10:41 +0000 (20:10 +0000)]
ctype.cc (test01): Correct ~ operator usage.
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38387
Mark Kettenis [Tue, 19 Dec 2000 20:02:13 +0000 (20:02 +0000)]
configure.target: Support the Hurd.
2000-12-19 Mark Kettenis <kettenis@gnu.org>
* configure.target: Support the Hurd.
From-SVN: r38386
Benjamin Kosnik [Tue, 19 Dec 2000 19:49:00 +0000 (19:49 +0000)]
ctype_inline.h (is): Same.
2000-12-19 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
* config/os/generic/bits/ctype_inline.h (is): Non-table based
implementation.
* testsuite/22_locale/ctype_char_members.cc (test01): Use binary
operator correctly.
(test01): Check 'A' for alnum, upper, alpha.
From-SVN: r38385
Joseph Myers [Tue, 19 Dec 2000 19:42:23 +0000 (19:42 +0000)]
* texinfo: Remove directory from GCC.
From-SVN: r38384
John David Anglin [Tue, 19 Dec 2000 18:30:36 +0000 (18:30 +0000)]
* system.h (getopt): Update prototype to match include/getopt.h.
From-SVN: r38383
John David Anglin [Tue, 19 Dec 2000 18:19:56 +0000 (18:19 +0000)]
From Jeff Law.
* pa.c (basereg_operand): Simplify.
From-SVN: r38382
Bernd Schmidt [Tue, 19 Dec 2000 17:41:20 +0000 (17:41 +0000)]
More scheduler infrastructure.
From-SVN: r38381
Bernd Schmidt [Tue, 19 Dec 2000 16:52:23 +0000 (16:52 +0000)]
Flow fixes for cond_exec on ia64
From-SVN: r38380
Catherine Moore [Tue, 19 Dec 2000 16:10:19 +0000 (16:10 +0000)]
reload1.c (reload_combine): Take multi-hard-regs into account when processing CALL_INSN_FUNCTION_USAGE.
* reload1.c (reload_combine): Take multi-hard-regs into account
when processing CALL_INSN_FUNCTION_USAGE.
From-SVN: r38379
Joseph Myers [Tue, 19 Dec 2000 13:25:28 +0000 (13:25 +0000)]
invoke.texi (-print-search-dirs): Make references to cpp refer to cpp0 instead.
* invoke.texi (-print-search-dirs): Make references to cpp refer
to cpp0 instead.
From-SVN: r38378
Gabriel Dos Reis [Tue, 19 Dec 2000 11:21:14 +0000 (11:21 +0000)]
std_complex.h (complex<float>::operator-=): Fix thinko.
* include/bits/std_complex.h (complex<float>::operator-=): Fix
thinko.
From-SVN: r38377
Jeff Law [Tue, 19 Dec 2000 08:45:45 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38376
Warren Levy [Tue, 19 Dec 2000 07:48:54 +0000 (07:48 +0000)]
GregorianCalendar.java (GregorianCalendar): Constructors need to set timezone to a valid non-null value.
* java/util/GregorianCalendar.java (GregorianCalendar): Constructors
need to set timezone to a valid non-null value. Partial fix for
PR 331.
From-SVN: r38375
Kaveh R. Ghazi [Tue, 19 Dec 2000 01:17:20 +0000 (01:17 +0000)]
fold-const.c (tree_expr_nonnegative_p): Treat truth values as non-negative.
* fold-const.c (tree_expr_nonnegative_p): Treat truth values as
non-negative.
testsuite:
* gcc.dg/compare3.c: New test.
From-SVN: r38374
J"orn Rennecke [Tue, 19 Dec 2000 00:42:31 +0000 (00:42 +0000)]
reload.c (push_reload): When using a dying register for the reload register in an in-out reload...
* reload.c (push_reload): When using a dying register for the reload
register in an in-out reload, use outmode if wider than inmode.
From-SVN: r38373
Joseph Myers [Tue, 19 Dec 2000 00:04:42 +0000 (00:04 +0000)]
* config/d30v/d30v.h (EXIT_BODY): Update comment.
From-SVN: r38371
Joseph Myers [Mon, 18 Dec 2000 23:58:21 +0000 (23:58 +0000)]
config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
* config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
* tm.texi (EXIT_BODY): Update documentation.
* config/freebsd.h, config/netware.h, config/arm/coff.h,
config/arm/conix-elf.h, config/arm/unknown-elf.h,
config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
commented out) and associated comments.
f:
* com.c [VMS]: Remove definition of BSTRING.
From-SVN: r38370
Joseph Myers [Mon, 18 Dec 2000 23:50:58 +0000 (23:50 +0000)]
c-common.c (STD_C9L, ADJ_STD): Define.
* c-common.c (STD_C9L, ADJ_STD): Define.
(printf_length_specs, scanf_length_specs): Mark "ll" as standard
STD_C9L.
(T99_LL): Rename to T9L_LL.
(T99_ULL): Rename to T9L_ULL.
(print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
instead of T99_LL and T99_ULL.
(check_format_info_main): Use ADJ_STD on all format standard
versions being compared.
* c-common.h: Declare warn_long_long.
* c-tree.h: Don't declare warn_long_long.
cp:
* cp-tree.h: Don't declare warn_long_long.
testsuite:
* gcc.dg/format-warnll-1.c: New test.
From-SVN: r38369
Tom Tromey [Mon, 18 Dec 2000 23:13:05 +0000 (23:13 +0000)]
mauve.exp (test_mauve): Don't look for exceptions thrown in the test harness.
* libjava.mauve/mauve.exp (test_mauve): Don't look for exceptions
thrown in the test harness.
(test_mauve_sim): Likewise.
From-SVN: r38368
Bryce McKinlay [Mon, 18 Dec 2000 22:17:25 +0000 (22:17 +0000)]
Removed additional addNotify() peer hacks.
From-SVN: r38367
Joseph Myers [Mon, 18 Dec 2000 21:47:20 +0000 (21:47 +0000)]
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
gcc:
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
gcc/f:
* g77.texi: Update GPL copy not to refer to years 19@var{yy}.
include:
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
From-SVN: r38366
Bryce McKinlay [Mon, 18 Dec 2000 21:23:02 +0000 (21:23 +0000)]
re GNATS gcj/373: (interface inner classes are implicitly static)
Fix for PR gcj/373:
* parse.y (create_class): Set ACC_STATIC if class is declared in an
interface.
From-SVN: r38365
Bryce McKinlay [Mon, 18 Dec 2000 21:20:31 +0000 (21:20 +0000)]
Window.java (addNotify): Remove peer casting hack now that gcj/312 is fixed.
* java/awt/Window.java (addNotify): Remove peer casting hack now
that gcj/312 is fixed.
From-SVN: r38364
Bryce McKinlay [Mon, 18 Dec 2000 21:15:52 +0000 (21:15 +0000)]
Fix for PRs gcj/312 and gcj/253:
* parse.y (valid_ref_assignconv_cast_p): Load classes for source and
dest if they arn't already.
* class.c (layout_class): Call maybe_layout_super_class on
superinterfaces also, but only if compiling from bytecode.
From-SVN: r38363
Toon Moene [Mon, 18 Dec 2000 20:59:48 +0000 (21:59 +0100)]
bugs.texi: Correct copyright years.
2000-12-18 Toon Moene <toon@moene.indiv.nluug.nl>
* bugs.texi: Correct copyright years.
* g77.texi: Likewise.
* news.texi: Likewise.
From-SVN: r38362
Neil Booth [Mon, 18 Dec 2000 20:38:35 +0000 (20:38 +0000)]
c-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).
* c-lex.c (cb_file_change): Treat in_system_header as strictly
boolean (0 or 1).
From-SVN: r38361
Neil Booth [Mon, 18 Dec 2000 19:37:18 +0000 (19:37 +0000)]
* gcc.dg/cpp/cmdlne-P.c: New test.
From-SVN: r38360
Neil Booth [Mon, 18 Dec 2000 19:31:54 +0000 (19:31 +0000)]
* cppmain.c: Update print.lineno with -P.
From-SVN: r38359
Joseph Myers [Mon, 18 Dec 2000 19:01:41 +0000 (19:01 +0000)]
builtin-abs-1.c, [...]: New tests.
* gcc.c-torture/execute/builtin-abs-1.c,
gcc.c-torture/execute/builtin-abs-2.c: New tests.
From-SVN: r38358
Neil Booth [Mon, 18 Dec 2000 19:00:26 +0000 (19:00 +0000)]
c-lex.c: s/change_file/file_change.
* c-lex.c: s/change_file/file_change.
* cpplib.h: Similarly.
* cppmain.c: Similarly.
* fix-header.c: Similarly.
* cppfiles.c (stack_include_file): Pass the buffer location and
size to cpp_push_buffer. Generate the file_change callback,
so that sysp is already set.
* cpphash.h: Add _cpp_do_file_change.
* cpplib.c (do_line): Set buffer->sysp directly. Generate the
file_change callback after setting sysp.
(_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
here.
(cpp_push_buffer): Don't generate a callback. Clear sysp.
(cpp_pop_buffer): Clean up logic.
From-SVN: r38357
Benjamin Kosnik [Mon, 18 Dec 2000 18:12:45 +0000 (18:12 +0000)]
configure.in (gcc_gxx_include_dir): Simplify.
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (gcc_gxx_include_dir): Simplify.
(libstdcxx_incdir): Export.
* configure: Regenerate.
* Makefile.in (PREPROCESSOR_DEFINES): Add in
GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
(libstdcxx_incdir): Add.
* cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
From-SVN: r38356
Benjamin Kosnik [Mon, 18 Dec 2000 18:08:07 +0000 (18:08 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
(libstdcxx_incdir): Pass down.
* config.if: Remove expired bits for cxx_interface, add stub.
(libstdcxx_incdir): Add variable for g++ include directory.
* configure.in (gxx_include_dir): Use it.
From-SVN: r38355
Benjamin Kosnik [Mon, 18 Dec 2000 18:03:08 +0000 (18:03 +0000)]
[multiple changes]
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Set os_include_dir for cross_compiles.
* configure: Regenerate.
* configure.target (l_glibcpp_cxxflags): Don't try to be clever
when assigning ATOMICITYH. Only special case the special cases...
2000-12-15 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (gxx_target_include_dir): Install target-dependent
include files in a target-dependent place.
* configure: Regenerate.
* src/Makefile.am: Add in support here.
* src/Makefile.in: Regenerate.
From-SVN: r38354
Alexandre Oliva [Mon, 18 Dec 2000 17:01:21 +0000 (17:01 +0000)]
MAINTAINERS: Added self as sh port co-maintainer.
* MAINTAINERS: Added self as sh port co-maintainer. Removed entry
with old-email address from ``Write After Approval''.
From-SVN: r38353
Joseph Myers [Mon, 18 Dec 2000 12:16:41 +0000 (12:16 +0000)]
g77install.texi: Remove obsolete parts only used for INSTALL, and DOC-G77 conditionals.
* g77install.texi: Remove obsolete parts only used for INSTALL,
and DOC-G77 conditionals. Update last-update-install date.
From-SVN: r38343
Neil Booth [Mon, 18 Dec 2000 10:16:26 +0000 (10:16 +0000)]
c-lex.c (lex_lineno): Remove.
* c-lex.c (lex_lineno): Remove.
(init_c_lex, c_lex): Remove lex_lineno.
(cb_change_file): Update lineno correctly, both before calling
push_srcloc and before leaving the function.
(cb_def_pragma): Set lineno before outputting diagnostics.
From-SVN: r38342
Joseph Myers [Mon, 18 Dec 2000 09:14:00 +0000 (09:14 +0000)]
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
* docs/html/17_intro/COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
From-SVN: r38341
Joseph Myers [Mon, 18 Dec 2000 09:12:19 +0000 (09:12 +0000)]
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
From-SVN: r38340
Jeff Law [Mon, 18 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38339
Bryce McKinlay [Mon, 18 Dec 2000 01:00:23 +0000 (01:00 +0000)]
natInflater.cc (inflate): Treat Z_BUF_ERROR as end-of-stream if avail_in is 0.
* java/util/zip/natInflater.cc (inflate): Treat Z_BUF_ERROR as
end-of-stream if avail_in is 0.
From-SVN: r38338
Richard Kenner [Sun, 17 Dec 2000 23:47:48 +0000 (23:47 +0000)]
print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
* print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
Use print_node_brief to print bounds.
From-SVN: r38337
Neil Booth [Sun, 17 Dec 2000 22:40:32 +0000 (22:40 +0000)]
cpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool.
* cpplib.h (struct cpp_reader): Remove references to string_pool
and temp_string_pool.
* cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
ident_pool in place.
* cpplex.c (parse_number, unescaped_terminator_p, parse_string,
save_comment, cpp_token_as_text): Similarly.
* cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
* cppmacro.c (make_number_token, builtin_macro, lock_pools,
unlock_pools, stringify_arg, paste_tokens): Similarly.
From-SVN: r38336
Richard Kenner [Sun, 17 Dec 2000 17:45:19 +0000 (17:45 +0000)]
dwarf2out.c (loc_descriptor_from_tree, [...]): New case.
* dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
(loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
(loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
From-SVN: r38335
Richard Kenner [Sun, 17 Dec 2000 17:22:41 +0000 (12:22 -0500)]
Whitespace change
From-SVN: r38334
Richard Earnshaw [Sun, 17 Dec 2000 15:31:16 +0000 (15:31 +0000)]
Makefile.in (check-po): Use $(MAKE).
* Makefile.in (check-po): Use $(MAKE).
(risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
From-SVN: r38333
Neil Booth [Sun, 17 Dec 2000 14:46:34 +0000 (14:46 +0000)]
cppmain.c (check_multiline_token): New function.
* cppmain.c (check_multiline_token): New function.
(scan_buffer): Use it.
(cb_change_file): Restructure to avoid warning.
* cpperror.c (print_location): Initialize col.
From-SVN: r38332
Philipp Thomas [Sun, 17 Dec 2000 14:35:05 +0000 (14:35 +0000)]
protoize.c (main): Correctly set locale categories.
2000-12-14 Philipp Thomas <pthomas@suse.de>
* protoize.c (main): Correctly set locale categories.
* gcc.c (main): Likewise.
* cppmain.c (general_init): Likewise.
* toplev.c (main): Likewise.
* gcov.c (main): Likewise.
* collect2.c (main): Likewise.
From-SVN: r38331
Neil Booth [Sun, 17 Dec 2000 14:33:34 +0000 (14:33 +0000)]
* gcc.dg/cpp/multiline.c: New test.
From-SVN: r38330
Kaveh R. Ghazi [Sun, 17 Dec 2000 13:58:53 +0000 (13:58 +0000)]
c-common.c (c_common_nodes_and_builtins): Create a cstring_endlink, use it.
* c-common.c (c_common_nodes_and_builtins): Create a
cstring_endlink, use it. Rename int_ftype_string_string to
int_ftype_cstring_cstring, string_ftype_string_int to
string_ftype_cstring_int, and string_ftype_string_string to
string_ftype_cstring_cstring. Prefer sizetype_endlink and
int_endlink to manually recreating them. Fix the prototype
set for __builtin_strspn/__builtin_strcspn.
From-SVN: r38329
Bryce McKinlay [Sun, 17 Dec 2000 11:51:14 +0000 (11:51 +0000)]
ArrayList.java (data): Declare transient.
* java/util/ArrayList.java (data): Declare transient.
(serialPersistantFields): Removed.
(readObject): Use defaultReadObject(), not readFields().
(writeObject): Use defaultWriteObject(), not writeFields().
From-SVN: r38328
Richard Kenner [Sun, 17 Dec 2000 10:52:11 +0000 (05:52 -0500)]
diagnostic.c (finish_abort): Deleted.
* diagnostic.c (finish_abort): Deleted.
(fatal): Add code from fninish_abort.
(error_recursion, fancy_abort): Call fatal, not finish_abort.
(trim_filename): Remove leading "../".
* diagnostic.h (finish_abort): Deleted.
* toplev.c (crash_signal): Call fatal, not finish_abort.
From-SVN: r38327
Marek Michalkiewicz [Sun, 17 Dec 2000 10:38:37 +0000 (11:38 +0100)]
avr.c (out_set_stack_ptr): Update comment.
* config/avr/avr.c (out_set_stack_ptr): Update comment.
(print_operand): Add support for %~ and %o.
From-SVN: r38326
Jeff Sturm [Sun, 17 Dec 2000 09:15:51 +0000 (09:15 +0000)]
Hashtable.java (put): Remove `last' variable.
2000-12-17 Jeff Sturm <jeff.sturm@commerceone.com>
* java/util/Hashtable.java (put): Remove `last' variable.
Link new entry to head of list.
* java/util/HashMap.java (put): Ditto.
From-SVN: r38325
Jeff Law [Sun, 17 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r38324
Herman A.J. ten Brugge [Sun, 17 Dec 2000 08:18:35 +0000 (09:18 +0100)]
* c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
From-SVN: r38323
Philipp Thomas [Sun, 17 Dec 2000 06:30:40 +0000 (06:30 +0000)]
POTFILES.in: Add doloop.c.
2000-12-17 Philipp Thomas <pthomas@suse.de>
* POTFILES.in: Add doloop.c.
From-SVN: r38322
Philipp Thomas [Sun, 17 Dec 2000 05:20:43 +0000 (05:20 +0000)]
POTFILES.in: Remove files not existing anymore.
2000-12-17 Philipp Thomas <pthomas@suse.de>
* POTFILES.in: Remove files not existing anymore.
Add a note at the top that trailing spaces aren't allowed.
From-SVN: r38321
Neil Booth [Sun, 17 Dec 2000 00:22:02 +0000 (00:22 +0000)]
syshdr1.C: Update.
* g++.old-deja/g++.other/syshdr1.C: Update.
* gcc.dg/cpp/lineflags.c: Remove temporarily.
From-SVN: r38320
Neil Booth [Sun, 17 Dec 2000 00:13:54 +0000 (00:13 +0000)]
c-lex.c: Move main_input_filename handling to FC_ENTER.
* c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
* cpperror.c (print_containing_files): Get right line number.
(print_location): Output column of 1 if 0.
* cppfiles.c (stack_include_file): cpp_push_buffer handles
the callback.
* cpphash.h (_cpp_do_file_change): No longer external.
* cpplib.c (do_file_change): Now local to cpplib.c.
(do_line): Fake a buffer stack for preprocessed files.
(cpp_push_buffer): Create a file_change callback. Handle faked
buffers.
(cpp_pop_buffer): Similarly.
* cpplib.h: BUF_FAKE: New buffer type.
* cppmain.c: Update to handle correct file renaming where a
#line is the first line of the main file, and produce only
the renamed file, not the original file, as output.
From-SVN: r38319
Michael Hayes [Sat, 16 Dec 2000 23:51:06 +0000 (23:51 +0000)]
* config/c4x/c4x.md: Remove redundant @s from output patterns.
From-SVN: r38318
Michael Hayes [Sat, 16 Dec 2000 23:41:44 +0000 (23:41 +0000)]
c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
* config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
* config/c4x/c4x.c (c4x_init_pragma): New function.
(c_lex_func): New variable.
(c4x_parse_pragma): Use c_lex_func.
Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38317
Michael Hayes [Sat, 16 Dec 2000 23:28:20 +0000 (23:28 +0000)]
c4x.h (MD_INIT_BUILTINS): Add void_list_node argument to c4x_init_builtins.
* config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
to c4x_init_builtins.
* config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
* config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
(c4x_output_ascii): Fix.
Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38316
Michael Hayes [Sat, 16 Dec 2000 23:13:15 +0000 (23:13 +0000)]
c4x.h (MD_INIT_BUILTINS, [...]): Define.
* config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
* config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
(c4x_expand_builtin): Likewise.
* config/c4x/c4x.c (c4x_init_builtins): New function.
(c4x_expand_builtin): Likewise.
* config/c4x/c4x.md (floatunsqihf2): New pattern.
(*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
(fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
(*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
(*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38315