platform/upstream/gcc.git
23 years agomknumeric_limits: Output to temporary files, and rename them at the end.
Alexandre Oliva [Fri, 22 Dec 2000 08:00:00 +0000 (08:00 +0000)]
mknumeric_limits: Output to temporary files, and rename them at the end.

* mknumeric_limits: Output to temporary files, and rename them at
the end.

From-SVN: r38443

23 years agoThrowable.java (trace_enabled): New static field.
Bryce McKinlay [Fri, 22 Dec 2000 06:19:24 +0000 (06:19 +0000)]
Throwable.java (trace_enabled): New static field.

* java/lang/Throwable.java (trace_enabled): New static field.
* java/lang/natThrowable.cc (fillInStackTrace): Do nothing if
trace_enabled not set.
* prims.cc (main_init): Turn off trace_enabled while creating
default exception objects.

From-SVN: r38442

23 years agoreload.c (update_auto_inc_notes): New, broken out from ...
Graham Stott [Fri, 22 Dec 2000 01:25:23 +0000 (01:25 +0000)]
reload.c (update_auto_inc_notes): New, broken out from ...

        * reload.c (update_auto_inc_notes): New, broken out from ...
        (find_reloads_address_1): ... use here, also correct possible
        use of uninitialised reloadnum.

From-SVN: r38441

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Fri, 22 Dec 2000 00:27:01 +0000 (00:27 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38440

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Fri, 22 Dec 2000 00:14:08 +0000 (00:14 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38439

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Fri, 22 Dec 2000 00:04:33 +0000 (00:04 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38438

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Thu, 21 Dec 2000 23:58:35 +0000 (23:58 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38437

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Thu, 21 Dec 2000 23:54:19 +0000 (23:54 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38436

23 years agofreebsd.h (LIB_SPEC): remove -kthread option.
David O'Brien [Thu, 21 Dec 2000 23:18:56 +0000 (23:18 +0000)]
freebsd.h (LIB_SPEC): remove -kthread option.

2000-12-21  David O'Brien  <obrien@FreeBSD.org>

* config/freebsd.h (LIB_SPEC): remove -kthread option.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20001220004807.C20358@redhat.com>

From-SVN: r38435

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Thu, 21 Dec 2000 23:15:18 +0000 (23:15 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38434

23 years ago* gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES.
J"orn Rennecke [Thu, 21 Dec 2000 23:05:55 +0000 (23:05 +0000)]
* gcc.c-torture/execute/20000822-1.c: Check for NO_TRAMPOLINES.

From-SVN: r38433

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Thu, 21 Dec 2000 22:52:51 +0000 (22:52 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38432

23 years agocomp-goto-1.c (uint32, sint32): Use long types if __INT_MAX__ is 32767.
J"orn Rennecke [Thu, 21 Dec 2000 22:50:12 +0000 (22:50 +0000)]
comp-goto-1.c (uint32, sint32): Use long types if __INT_MAX__ is 32767.

* gcc.c-torture/execute/comp-goto-1.c (uint32, sint32):
Use long types if __INT_MAX__ is 32767.
(main): Use cast to (sint32 *) when poking 88 into a_page.

From-SVN: r38431

23 years agoconfigure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
Benjamin Kosnik [Thu, 21 Dec 2000 22:46:27 +0000 (22:46 +0000)]
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.

2000-12-21  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS.  C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.

From-SVN: r38430

23 years agoresource.c (mark_set_resources): Use MARK_SRC_DEST for PRE_MODIFY and POST_MODIFY...
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

23 years agoacinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for...
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

23 years ago* md.texi (Looping Patterns): New node.
Michael Hayes [Thu, 21 Dec 2000 22:08:17 +0000 (22:08 +0000)]
* md.texi (Looping Patterns): New node.

From-SVN: r38427

23 years agogcc.texi, cpp.texi: Update last-updated dates.
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

23 years ago* g77install.texi: Adjust wording of an EGCS reference.
Joseph Myers [Thu, 21 Dec 2000 21:08:17 +0000 (21:08 +0000)]
* g77install.texi: Adjust wording of an EGCS reference.

From-SVN: r38425

23 years ago* BUGS, NEWS: Regenerate.
Joseph Myers [Thu, 21 Dec 2000 20:03:41 +0000 (20:03 +0000)]
* BUGS, NEWS: Regenerate.

From-SVN: r38424

23 years agovarasm.c (output_addressed_constants): Use language specific expander on unknown...
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

23 years ago* combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
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

23 years agoPropertyChangeListener.java: Extends EventListener.
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

23 years ago* java/util/zip/Deflater.java (update, init): Now private.
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

23 years agoia64 specific scheduling bits
Bernd Schmidt [Thu, 21 Dec 2000 18:26:07 +0000 (18:26 +0000)]
ia64 specific scheduling bits

From-SVN: r38419

23 years agodwarf2out.c (simple_decl_align_in_bits): new
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

23 years agopt.c (tsubst_decl): A FUNCTION_DECL has DECL_RESULT, not DECL_TEMPLATE_RESULT.
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

23 years ago* gccbug.in: Fix typo.
Joseph Myers [Thu, 21 Dec 2000 16:22:54 +0000 (16:22 +0000)]
* gccbug.in: Fix typo.

From-SVN: r38416

23 years agoNew testcase
Bernd Schmidt [Thu, 21 Dec 2000 14:37:30 +0000 (14:37 +0000)]
New testcase

From-SVN: r38415

23 years agoNew compilation test case.
Bernd Schmidt [Thu, 21 Dec 2000 13:47:09 +0000 (13:47 +0000)]
New compilation test case.

From-SVN: r38414

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

From-SVN: r38413

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

23 years agohaifa-sched.c (schedule_block): Provide empty source statement if not MD_SCHED_REORDER2.
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

23 years agoBasicMapEntry.java: Re-added.
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

23 years agoMakefile.am (sources): Remove complex.cc, complexf.cc and complexl.cc from list.
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

23 years agortl.h (REG_NON_LOCAL_GOTO): New.
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

23 years agocrash36.C: Update error lines.
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

23 years agoacinclude.m4 (SECTION_FLAGS, [...]): Fix minor thinko.
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

23 years agoavr.c (out_movsi_r_mr, [...]): Do not output undefined opcodes where source or destin...
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

23 years agoc-typeck.c (build_asm_stmt): New, broken out from ...
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

23 years agocp-tree.h: Update declarations.
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

23 years agoSupport scheduling across extended basic blocks
Bernd Schmidt [Wed, 20 Dec 2000 17:19:39 +0000 (17:19 +0000)]
Support scheduling across extended basic blocks

From-SVN: r38400

23 years agoFix ARM bootstrap problems introduced by last change
Bernd Schmidt [Wed, 20 Dec 2000 15:48:26 +0000 (15:48 +0000)]
Fix ARM bootstrap problems introduced by last change

From-SVN: r38399

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