Commit Graph

32425 Commits

Author SHA1 Message Date
Tom Tromey
465c091ce9 * java/util/zip/Deflater.java (update, init): Now private.
From-SVN: r38420
2000-12-21 18:39:19 +00:00
Bernd Schmidt
2130b7fb30 ia64 specific scheduling bits
From-SVN: r38419
2000-12-21 18:26:07 +00:00
DJ Delorie
5f446d2172 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
2000-12-21 13:20:39 -05:00
Jason Merrill
477f6664a4 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
2000-12-21 12:50:10 -05:00
Joseph Myers
e98df22a4f * gccbug.in: Fix typo.
From-SVN: r38416
2000-12-21 16:22:54 +00:00
Bernd Schmidt
710916e625 New testcase
From-SVN: r38415
2000-12-21 14:37:30 +00:00
Bernd Schmidt
dd16cb7c95 New compilation test case.
From-SVN: r38414
2000-12-21 13:47:09 +00:00
Jeff Law
beed66d59e Daily bump.
From-SVN: r38413
2000-12-21 01:45:08 -07:00
Benjamin Kosnik
9d680205ed 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
2000-12-21 07:19:41 +00:00
Robert Lipe
01c70ab016 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
2000-12-21 05:00:08 +00:00
Bryce McKinlay
f387d86265 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
2000-12-21 02:00:15 +00:00
Gabriel Dos Reis
1228c7b6bd 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
2000-12-21 01:28:58 +00:00
Richard Henderson
4b01bd1658 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
2000-12-20 17:11:31 -08:00
Richard Henderson
1e248ee387 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
2000-12-20 14:01:05 -08:00
Phil Edwards
4c07386b32 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
2000-12-20 21:37:57 +00:00
Marek Michalkiewicz
dfaf5abf0f 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
2000-12-20 21:49:22 +03:00
Richard Henderson
64094f6a65 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
2000-12-20 10:18:24 -08:00
Richard Henderson
3e4d04a1ba 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
2000-12-20 10:16:47 -08:00
Bernd Schmidt
18e720b324 Support scheduling across extended basic blocks
From-SVN: r38400
2000-12-20 17:19:39 +00:00
Bernd Schmidt
fd7bcd6f05 Fix ARM bootstrap problems introduced by last change
From-SVN: r38399
2000-12-20 15:48:26 +00:00
Alexandre Oliva
99c8c61c83 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
2000-12-20 09:03:23 +00:00
Jeff Law
f4665e9ba4 Daily bump.
From-SVN: r38394
2000-12-20 01:45:08 -07:00
Benjamin Kosnik
6abd2230b9 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
2000-12-20 08:39:55 +00:00
Benjamin Kosnik
713c16f860 [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
2000-12-20 08:24:40 +00:00
Benjamin Kosnik
49caba3beb 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
2000-12-20 08:04:41 +00:00
Benjamin Kosnik
ae75b1773b 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
2000-12-20 07:02:41 +00:00
Benjamin Kosnik
1eddfef1b0 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
2000-12-20 06:50:19 +00:00
Benjamin Kosnik
205c6f1709 [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
2000-12-19 22:55:07 +00:00
Benjamin Kosnik
f9ecb28c17 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
2000-12-19 20:10:41 +00:00
Mark Kettenis
36efdf10e5 configure.target: Support the Hurd.
2000-12-19  Mark Kettenis  <kettenis@gnu.org>

        * configure.target: Support the Hurd.

From-SVN: r38386
2000-12-19 20:02:13 +00:00
Benjamin Kosnik
62f4333a68 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
2000-12-19 19:49:00 +00:00
Joseph Myers
c387606fe8 * texinfo: Remove directory from GCC.
From-SVN: r38384
2000-12-19 19:42:23 +00:00
John David Anglin
051a55e097 * system.h (getopt): Update prototype to match include/getopt.h.
From-SVN: r38383
2000-12-19 10:30:36 -08:00
John David Anglin
b088998d29 From Jeff Law.
* pa.c (basereg_operand): Simplify.

From-SVN: r38382
2000-12-19 11:19:56 -07:00
Bernd Schmidt
79c2ffde68 More scheduler infrastructure.
From-SVN: r38381
2000-12-19 17:41:20 +00:00
Bernd Schmidt
288c2c9e63 Flow fixes for cond_exec on ia64
From-SVN: r38380
2000-12-19 16:52:23 +00:00
Catherine Moore
6a69653af2 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
2000-12-19 11:10:19 -05:00
Joseph Myers
3c0b797012 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
2000-12-19 13:25:28 +00:00
Gabriel Dos Reis
0a9419ccca std_complex.h (complex<float>::operator-=): Fix thinko.
* include/bits/std_complex.h (complex<float>::operator-=): Fix
      thinko.

From-SVN: r38377
2000-12-19 11:21:14 +00:00
Jeff Law
ecbe3dd5d1 Daily bump.
From-SVN: r38376
2000-12-19 01:45:45 -07:00
Warren Levy
1889cf4a71 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
2000-12-19 07:48:54 +00:00
Kaveh R. Ghazi
9d2dc7da92 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
2000-12-19 01:17:20 +00:00
J"orn Rennecke
d0b6af711c 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
2000-12-19 00:42:31 +00:00
Joseph Myers
3173ca6431 * config/d30v/d30v.h (EXIT_BODY): Update comment.
From-SVN: r38371
2000-12-19 00:04:42 +00:00
Joseph Myers
9e9b9afe4c 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
2000-12-18 23:58:21 +00:00
Joseph Myers
20d380b15d 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
2000-12-18 23:50:58 +00:00
Tom Tromey
e2ef2bf880 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
2000-12-18 23:13:05 +00:00
Bryce McKinlay
be36b6d0dd Removed additional addNotify() peer hacks.
From-SVN: r38367
2000-12-18 22:17:25 +00:00
Joseph Myers
2cb5082c1e 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
2000-12-18 21:47:20 +00:00
Bryce McKinlay
6d003d5c8f 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
2000-12-18 21:23:02 +00:00