]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agofinal.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
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

23 years agoDaily bump.
Jeff Law [Wed, 20 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38394

23 years agoheaders_c.cc (main): New file.
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

23 years ago[multiple changes]
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

23 years agoios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
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

23 years agoMakefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
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

23 years agoMakefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir instead of gcc_tooldir.
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

23 years ago[multiple changes]
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

23 years agoctype.cc (test01): Correct ~ operator usage.
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

23 years agoconfigure.target: Support the Hurd.
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

23 years agoctype_inline.h (is): Same.
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

23 years ago* texinfo: Remove directory from GCC.
Joseph Myers [Tue, 19 Dec 2000 19:42:23 +0000 (19:42 +0000)]
* texinfo: Remove directory from GCC.

From-SVN: r38384

23 years ago* system.h (getopt): Update prototype to match include/getopt.h.
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

23 years agoFrom Jeff Law.
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

23 years agoMore scheduler infrastructure.
Bernd Schmidt [Tue, 19 Dec 2000 17:41:20 +0000 (17:41 +0000)]
More scheduler infrastructure.

From-SVN: r38381

23 years agoFlow fixes for cond_exec on ia64
Bernd Schmidt [Tue, 19 Dec 2000 16:52:23 +0000 (16:52 +0000)]
Flow fixes for cond_exec on ia64

From-SVN: r38380

23 years agoreload1.c (reload_combine): Take multi-hard-regs into account when processing CALL_IN...
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

23 years agoinvoke.texi (-print-search-dirs): Make references to cpp refer to cpp0 instead.
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

23 years agostd_complex.h (complex<float>::operator-=): Fix thinko.
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

23 years agoDaily bump.
Jeff Law [Tue, 19 Dec 2000 08:45:45 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38376

23 years agoGregorianCalendar.java (GregorianCalendar): Constructors need to set timezone to...
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

23 years agofold-const.c (tree_expr_nonnegative_p): Treat truth values as non-negative.
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

23 years agoreload.c (push_reload): When using a dying register for the reload register in an...
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

23 years ago* config/d30v/d30v.h (EXIT_BODY): Update comment.
Joseph Myers [Tue, 19 Dec 2000 00:04:42 +0000 (00:04 +0000)]
* config/d30v/d30v.h (EXIT_BODY): Update comment.

From-SVN: r38371

23 years agoconfig.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
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

23 years agoc-common.c (STD_C9L, ADJ_STD): Define.
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

23 years agomauve.exp (test_mauve): Don't look for exceptions thrown in the test harness.
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

23 years agoRemoved additional addNotify() peer hacks.
Bryce McKinlay [Mon, 18 Dec 2000 22:17:25 +0000 (22:17 +0000)]
Removed additional addNotify() peer hacks.

From-SVN: r38367

23 years agoCOPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
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

23 years agore GNATS gcj/373: (interface inner classes are implicitly static)
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

23 years agoWindow.java (addNotify): Remove peer casting hack now that gcj/312 is fixed.
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

23 years agoFix for PRs gcj/312 and gcj/253:
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

23 years agobugs.texi: Correct copyright years.
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

23 years agoc-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).
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

23 years ago* gcc.dg/cpp/cmdlne-P.c: New test.
Neil Booth [Mon, 18 Dec 2000 19:37:18 +0000 (19:37 +0000)]
* gcc.dg/cpp/cmdlne-P.c: New test.

From-SVN: r38360

23 years ago* cppmain.c: Update print.lineno with -P.
Neil Booth [Mon, 18 Dec 2000 19:31:54 +0000 (19:31 +0000)]
* cppmain.c: Update print.lineno with -P.

From-SVN: r38359

23 years agobuiltin-abs-1.c, [...]: New tests.
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

23 years agoc-lex.c: s/change_file/file_change.
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

23 years agoconfigure.in (gcc_gxx_include_dir): Simplify.
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

23 years agoMakefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
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

23 years ago[multiple changes]
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

23 years agoMAINTAINERS: Added self as sh port co-maintainer.
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

23 years agog77install.texi: Remove obsolete parts only used for INSTALL, and DOC-G77 conditionals.
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

23 years agoc-lex.c (lex_lineno): Remove.
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

23 years agoCOPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
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

23 years agoCOPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
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

23 years agoDaily bump.
Jeff Law [Mon, 18 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38339

23 years agonatInflater.cc (inflate): Treat Z_BUF_ERROR as end-of-stream if avail_in is 0.
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

23 years agoprint-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
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

23 years agocpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool.
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

23 years agodwarf2out.c (loc_descriptor_from_tree, [...]): New case.
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

23 years agoWhitespace change
Richard Kenner [Sun, 17 Dec 2000 17:22:41 +0000 (12:22 -0500)]
Whitespace change

From-SVN: r38334

23 years agoMakefile.in (check-po): Use $(MAKE).
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

23 years agocppmain.c (check_multiline_token): New function.
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

23 years agoprotoize.c (main): Correctly set locale categories.
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

23 years ago* gcc.dg/cpp/multiline.c: New test.
Neil Booth [Sun, 17 Dec 2000 14:33:34 +0000 (14:33 +0000)]
* gcc.dg/cpp/multiline.c: New test.

From-SVN: r38330

23 years agoc-common.c (c_common_nodes_and_builtins): Create a cstring_endlink, use it.
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

23 years agoArrayList.java (data): Declare transient.
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

23 years agodiagnostic.c (finish_abort): Deleted.
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

23 years agoavr.c (out_set_stack_ptr): Update comment.
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

23 years agoHashtable.java (put): Remove `last' variable.
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

23 years agoDaily bump.
Jeff Law [Sun, 17 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38324

23 years ago* c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
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

23 years agoPOTFILES.in: Add doloop.c.
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

23 years agoPOTFILES.in: Remove files not existing anymore.
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

23 years agosyshdr1.C: Update.
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

23 years agoc-lex.c: Move main_input_filename handling to FC_ENTER.
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

23 years ago* config/c4x/c4x.md: Remove redundant @s from output patterns.
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

23 years agoc4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
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

23 years agoc4x.h (MD_INIT_BUILTINS): Add void_list_node argument to c4x_init_builtins.
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

23 years agoc4x.h (MD_INIT_BUILTINS, [...]): Define.
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

23 years agolibgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
Michael Hayes [Sat, 16 Dec 2000 22:43:58 +0000 (22:43 +0000)]
libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.

* libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
* libgcc2.c (__absvsi2): Use Wtype and DWtype.
(__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
(__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.

From-SVN: r38314

23 years agosh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0).
Alexandre Oliva [Sat, 16 Dec 2000 19:40:19 +0000 (19:40 +0000)]
sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0).

* config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
statement in do/while(0).

From-SVN: r38313

23 years agosafe-ctype.h: Make code work on all targets and not just on targets where a char...
Herman A.J. ten Brugge [Sat, 16 Dec 2000 19:12:06 +0000 (20:12 +0100)]
safe-ctype.h: Make code work on all targets and not just on targets where a char is 8 bits.

        * safe-ctype.h: Make code work on all targets and not just on
        targets where a char is 8 bits.

From-SVN: r38312

23 years agolibjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.
Tom Tromey [Sat, 16 Dec 2000 19:02:54 +0000 (19:02 +0000)]
libjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.

* lib/libjava.exp (test_libjava_from_javac): Strange quoting trick
for `.class' link case.
(bytecompile_file): Change directory outside of `catch'.

* libjava.lang/Thread_1.java: Removed.
* libjava.lang/Thread_1.out: Likewise.

* libjava.lang/N19990310_4.xfail: New file.
* libjava.lang/stub.xfail: Added new failure modes.
* libjava.lang/stringconst.xfail: New file.
* libjava.lang/PR162.xfail: New file.
* libjava.lang/Final.xfail: Removed.

From-SVN: r38311

23 years agoi386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template.
Jan Hubicka [Sat, 16 Dec 2000 19:00:57 +0000 (20:00 +0100)]
i386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template.

* i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
lshrhi3_cmpno): Remove redundant '@' from the template.

* i386.md (cmpstrsi_1): Fix type of the compare.

* genattrtab.c (attr_rtx_cost): New function.
(simplify_test_exp): Avoid overactive inlining; use temporary
obstacks for tests.

From-SVN: r38310

23 years agodiagnostic.c (finish_abort): Deleted.
Richard Kenner [Sat, 16 Dec 2000 16:23:46 +0000 (11:23 -0500)]
diagnostic.c (finish_abort): Deleted.

Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* 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.

* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
as if size were variable.

* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.

From-SVN: r38309

23 years agounix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using...
Diego Novillo [Sat, 16 Dec 2000 16:07:25 +0000 (16:07 +0000)]
unix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using Intel syntax.

2000-12-15  Diego Novillo  <dnovillo@redhat.com>

* i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
_GLOBAL_OFFSET_TABLE_ when using Intel syntax.

From-SVN: r38308

23 years agostor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT as if size were variable.
Richard Kenner [Sat, 16 Dec 2000 15:46:00 +0000 (15:46 +0000)]
stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT as if size were variable.

* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
as if size were variable.

From-SVN: r38307

23 years ago* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
Richard Kenner [Sat, 16 Dec 2000 15:43:55 +0000 (15:43 +0000)]
* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.

From-SVN: r38306

23 years agotradcpp.c: T_WARNING: New.
Neil Booth [Sat, 16 Dec 2000 10:41:56 +0000 (10:41 +0000)]
tradcpp.c: T_WARNING: New.

        * tradcpp.c: T_WARNING: New.
        (do_warning): New function.
        (finclude): Skip past the newline and increase the line number
        before calling output_line_command.
        (do_line): Skip the new line after output_line_command.  Don't
        pre-decrement the line number.

From-SVN: r38305

23 years agoDaily bump.
Jeff Law [Sat, 16 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38304

23 years agoRemove conflict marker.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 08:16:09 +0000 (08:16 +0000)]
Remove conflict marker.

From-SVN: r38303

23 years agotree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 08:06:04 +0000 (08:06 +0000)]
tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.

* tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of
IS_AGGR_TYPE.

* g++.old-deja/g++.oliva/template5.C: Remove XFAILs.

From-SVN: r38302

23 years agopt.c (unify): Handle when both ARG and PARM are BOUND_TEMPLATE_TEMPLATE_PARM.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 07:57:21 +0000 (07:57 +0000)]
pt.c (unify): Handle when both ARG and PARM are BOUND_TEMPLATE_TEMPLATE_PARM.

* pt.c (unify): Handle when both ARG and PARM are
BOUND_TEMPLATE_TEMPLATE_PARM.

* g++.old-deja/g++.pt/ttp65.C: New test.

From-SVN: r38301

23 years agopt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and DECL_TEMPLATE_PARM_P.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 07:47:22 +0000 (07:47 +0000)]
pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and DECL_TEMPLATE_PARM_P.

* pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and
DECL_TEMPLATE_PARM_P.

* g++.old-deja/g++.pt/ttp64.C: New test.

From-SVN: r38300

23 years ago* libjava.lang/instinit.out: Removed erroneous line.
Tom Tromey [Sat, 16 Dec 2000 06:45:22 +0000 (06:45 +0000)]
* libjava.lang/instinit.out: Removed erroneous line.

From-SVN: r38299

23 years ago* libjava.lang/Thread_1.out: Expect `0' active count.
Tom Tromey [Sat, 16 Dec 2000 06:41:04 +0000 (06:41 +0000)]
* libjava.lang/Thread_1.out: Expect `0' active count.

From-SVN: r38298

23 years agostub.xfail: New file.
Tom Tromey [Sat, 16 Dec 2000 05:59:45 +0000 (05:59 +0000)]
stub.xfail: New file.

* libjava.lang/stub.xfail: New file.
* libjava.lang/pr83.xfail: New file.
* libjava.lang/err8.xfail: New file.
* libjava.lang/err7.xfail: New file.
* libjava.lang/Shazam.xfail: New file.
* libjava.lang/err11.xfail: New file.

* libjava.lang/instinit2.java: Renamed class to `instinit2'.

* libjava.lang/anon3.out: Fixed typo.

* libjava.lang/Class_1.java (main): Uncommented out previously
failing code; now it works

From-SVN: r38297

23 years agolibjava.compile test fixes.
Tom Tromey [Sat, 16 Dec 2000 02:06:29 +0000 (02:06 +0000)]
libjava.compile test fixes.

* lib/libjava.exp (libjava_tcompile): New proc.
(test_libjava_from_source): Use it.
(test_libjava_from_javac): Likewise.
(find_javac): New proc.
(bytecompile_file): Use it.
(test_libjava_from_javac): Handle `xfail-gcjC' tag.  If no-exec
set, then don't link even if program has a `main'.

* libjava.compile/static_3.xfail: New file.
* libjava.compile/weirddecl.xfail: New file.
* libjava.compile/static_2.xfail: New file.
* libjava.compile/not_a_redef.xfail: New file.
* libjava.compile/inner_1.xfail: New file.
* libjava.compile/assignment_2.xfail: New file.
* libjava.compile/assignment.xfail: New file.
* libjava.compile/abstr.xfail: New file.
* libjava.compile/PR375.xfail: New file.
* libjava.compile/PR374.java: New file.
* libjava.compile/PR238.xfail: New file.
* libjava.compile/PR208.xfail: New file.
* libjava.compile/PR207.xfail: New file.

From-SVN: r38296

23 years agojcf-parse.c (jcf_parse_source): Set wfl_operator if not already set.
Tom Tromey [Sat, 16 Dec 2000 01:51:51 +0000 (01:51 +0000)]
jcf-parse.c (jcf_parse_source): Set wfl_operator if not already set.

* jcf-parse.c (jcf_parse_source): Set wfl_operator if not already
set.

From-SVN: r38295

23 years agojargrep.c: Include getopt.h if it exists.
Tom Tromey [Fri, 15 Dec 2000 18:45:09 +0000 (18:45 +0000)]
jargrep.c: Include getopt.h if it exists.

* jargrep.c: Include getopt.h if it exists.
(optind): Declare.
* configure, config.h: Rebuilt.
* configure.in: Check for getopt.h.

Co-Authored-By: Kelley Cook <kelleycook@home.com>
From-SVN: r38294

23 years agoboehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.
Andrew Haley [Fri, 15 Dec 2000 17:35:03 +0000 (17:35 +0000)]
boehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.

2000-12-14  Andrew Haley  <aph@redhat.com>

        * boehm.c (mark_reference_fields): Change test to correctly detect
        bitmap overflow.

From-SVN: r38293

23 years ago* init.c (build_new_1): Reorganize. Now with 100% fewer SAVE_EXPRs!
Jason Merrill [Fri, 15 Dec 2000 16:36:00 +0000 (11:36 -0500)]
* init.c (build_new_1): Reorganize.  Now with 100% fewer SAVE_EXPRs!

From-SVN: r38292

23 years ago* init.c (build_new_1): Don't strip quals from type.
Jason Merrill [Fri, 15 Dec 2000 16:23:26 +0000 (11:23 -0500)]
* init.c (build_new_1): Don't strip quals from type.

From-SVN: r38291

23 years ago* decl.c (pushdecl): Don't check for linkage on a non-decl.
Jason Merrill [Fri, 15 Dec 2000 16:15:52 +0000 (11:15 -0500)]
* decl.c (pushdecl): Don't check for linkage on a non-decl.

From-SVN: r38290

23 years agoResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.
Tom Tromey [Fri, 15 Dec 2000 15:49:50 +0000 (15:49 +0000)]
ResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.

* java/util/ResourceBundle.java (trySomeGetBundle): Pass class
loader to Class.forName.

From-SVN: r38289

23 years agogcc.c (cpp_options): Pass -fno-operator-names.
Jakub Jelinek [Fri, 15 Dec 2000 15:49:28 +0000 (16:49 +0100)]
gcc.c (cpp_options): Pass -fno-operator-names.

* gcc.c (cpp_options): Pass -fno-operator-names.
* cpplib.h (struct cpp_options): Add operator_names.
* cppinit.c (cpp_create_reader): Initialize it.
(initialize_builtins): If -fno-operator-names, don't add
C++ alternate operator names.
(COMMAND_LINE_OPTIONS): Add -fno-operator-names.
(cpp_handle_option): Clear operator_names.

From-SVN: r38288

23 years agocall.c (build_op_delete_call): See through ARRAY_TYPEs.
Jason Merrill [Fri, 15 Dec 2000 15:43:11 +0000 (10:43 -0500)]
call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_new_function_call): Lose space before paren in
        error message.
        (build_new_method_call): Likewise.

        * typeck2.c (build_m_component_ref): Propagate quals from datum.

From-SVN: r38287

23 years agojump.c (jump_optimize_1): Don't delete the line note after the prologue even if it...
Jason Merrill [Fri, 15 Dec 2000 15:10:30 +0000 (10:10 -0500)]
jump.c (jump_optimize_1): Don't delete the line note after the prologue even if it seems redundant.

        * jump.c (jump_optimize_1): Don't delete the line note after the
        prologue even if it seems redundant.

        * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
        on all insns used to adjust the stack.

From-SVN: r38286

This page took 0.100786 seconds and 5 git commands to generate.