gcc.git
22 years ago* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.
Richard Kenner [Wed, 28 Nov 2001 14:37:58 +0000 (14:37 +0000)]
* tree.h (TREE_VIA_PROTECTED): Update to show can be in TREE_VEC.

From-SVN: r47419

22 years agotree.h: Add missing checks on some macros; make formatting more consistent.
Richard Kenner [Wed, 28 Nov 2001 12:33:03 +0000 (12:33 +0000)]
tree.h: Add missing checks on some macros; make formatting more consistent.

* tree.h: Add missing checks on some macros; make formatting more
consistent.

From-SVN: r47416

22 years agostor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top level; only add...
Richard Kenner [Wed, 28 Nov 2001 12:21:07 +0000 (12:21 +0000)]
stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top level; only add to pending_sizes if find it.

* stor-layout.c (put_pending_size): Look for SAVE_EXPR if not at top
level; only add to pending_sizes if find it.

From-SVN: r47415

22 years agoRemove blank line.
Richard Kenner [Wed, 28 Nov 2001 12:18:37 +0000 (07:18 -0500)]
Remove blank line.

From-SVN: r47414

22 years ago* langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.
Richard Kenner [Wed, 28 Nov 2001 12:13:50 +0000 (12:13 +0000)]
* langhooks.c (lhd_safe_from_p): Add ATTRIBUTE_UNUSED.

From-SVN: r47413

22 years agodf.c (iterate_dataflow_sbitmap, [...]): Add casts to remove warnings.
Richard Kenner [Wed, 28 Nov 2001 12:10:38 +0000 (12:10 +0000)]
df.c (iterate_dataflow_sbitmap, [...]): Add casts to remove warnings.

* df.c (iterate_dataflow_sbitmap, iterate_dataflow_bitmap):
Add casts to remove warnings.

From-SVN: r47412

22 years agoMakefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
Arnaud Charlet [Wed, 28 Nov 2001 12:01:20 +0000 (07:01 -0500)]
Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.

* Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
(FLAGS_TO_PASS): Add STAGE_PREFIX.
(SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
to STAGE_PREFIX.

From-SVN: r47411

22 years agoRemove extra blank
Richard Kenner [Wed, 28 Nov 2001 11:56:51 +0000 (06:56 -0500)]
Remove extra blank

From-SVN: r47410

22 years ago* Makefile.in (OBJS): Sort alphabetically.
Richard Kenner [Wed, 28 Nov 2001 11:55:41 +0000 (11:55 +0000)]
* Makefile.in (OBJS): Sort alphabetically.

From-SVN: r47409

22 years agoprint-rtl.c (print_rtx): If RTX code is bad, just say so.
Richard Kenner [Wed, 28 Nov 2001 11:52:21 +0000 (11:52 +0000)]
print-rtl.c (print_rtx): If RTX code is bad, just say so.

* print-rtl.c (print_rtx): If RTX code is bad, just say so.
Also minor cleanups.

From-SVN: r47408

22 years agoAdd missing hunk, due to reject I've missed in my previous commit.
Jan Hubicka [Wed, 28 Nov 2001 10:16:40 +0000 (10:16 +0000)]
Add missing hunk, due to reject I've missed in my previous commit.

From-SVN: r47407

22 years agocse.c (true_dependence_in_rtx): New function.
Jan Hubicka [Wed, 28 Nov 2001 09:47:25 +0000 (10:47 +0100)]
cse.c (true_dependence_in_rtx): New function.

* cse.c (true_dependence_in_rtx): New function.
(invalidate): Use it.

* c-common.h (GOTO_FAKE_P): New macro.
* tree-inline.c (GOTO_FAKE_P): Set.
* c-tree.texi (GOTO_FAKE_P): Document.

* varasm.c (assemble_variable): Set reloc to 3 for error_mark
containing pointers.
(output_addressed_constants): Check for local/external relocations.
* elfos.h (SELECT_SECTION): Classify data section.
* tm.texi (SELECT_SECTION): Update documentation.

* cfganal.c (flow_dfs_compute_reverse_add_bb): set visited bit.
(flow_dfs_compute_reverse_execute): Add only unvisited blocks.

From-SVN: r47405

22 years agoDaily bump.
GCC Administrator [Wed, 28 Nov 2001 08:16:14 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r47403

22 years ago2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
Benjamin Kosnik [Wed, 28 Nov 2001 07:40:12 +0000 (07:40 +0000)]
2001-11-28  Benjamin Kosnik  <bkoz@redhat.com>
    Jakub Jelinek  <jakub@redhat.com>

* config/locale/moneypunct_members_gnu.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
for ia64, others.
* config/locale/numpunct_members_gnu.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Same.

From-SVN: r47402

22 years agolocale_facets.tcc: Formatting tweaks.
Benjamin Kosnik [Wed, 28 Nov 2001 06:53:29 +0000 (06:53 +0000)]
locale_facets.tcc: Formatting tweaks.

2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc: Formatting tweaks.

* testsuite/23_containers/map_operators.cc: Don't xfail.
* testsuite/23_containers/set_operators.cc: Same.
* testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
* testsuite/backward/header_deque_h.cc: Same.

From-SVN: r47401

22 years agolocale_facets.tcc: Formatting tweaks.
Benjamin Kosnik [Wed, 28 Nov 2001 06:35:00 +0000 (06:35 +0000)]
locale_facets.tcc: Formatting tweaks.

2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc: Formatting tweaks.

* testsuite/23_containers/map_operators.cc: Don't xfail.
* testsuite/23_containers/set_operators.cc: Same.

From-SVN: r47400

22 years agoNumeric facets cleanup.
Benjamin Kosnik [Wed, 28 Nov 2001 06:29:55 +0000 (06:29 +0000)]
Numeric facets cleanup.

2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>

Numeric facets cleanup.
* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
+ and - signs.
(__num_base::_M_zero): Add
(__num_base::_M_e): Add.
(__num_base::_M_E): Add.
* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
(num_get::_M_extract_float): New.
(num_get::_M_extract_int): New.
* src/locale.cc (num_get::_M_extract): Remove.

* include/bits/locale_facets.tcc (num_put::_M_insert_float):
Simplify, use _M_insert.
(num_put::do_put(bool)): Simplify, remove __pad.
(__pad): Remove.
(__pad_output): Change to __pad.
* include/bits/ostream.tcc: And here.
* src/locale-inst: Remove instantiations.

* include/bits/locale_facets.h: Move helper functions in to class
num_put.
(num_put::_M_insert_float): Same, for __output_integer.
(num_put::_M_insert_int): Same, for __output_float.
(num_put::_M_insert): New.
(__num_base): Add.
(__num_base::_S_format_float): Move
__build_float_format into class __num_base.
(__num_base::_S_format_int): Move __build_int_format into class
__num_base.
* include/bits/locale_facets.tcc (__group_digits): Change to
(__add_grouping): This.
* src/locale-inst.cc: And here. Tweak instantiations.
* src/misc-inst.cc: Remove instantiations.

* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
for new calling conventions, move to...
* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
signature to make it useful for both ostream and num_put.
(__pad_numeric): Remove.
* src/misc-inst.cc: Remove instantiations.
* src/locale-inst.cc: Same.

* include/bits/locale_facets.h (_Numeric_get): Remove.
  (_Numeric_put): Remove.
(num_get::get(short)): Remove.
(num_get::get(int)): Remove.
(num_get::do_get(short)): Remove.
(num_get::do_get(int)): Remove.
* include/bits/istream.tcc (istream::operator>>(short)): Fix as
per DR 118.
(istream::operator>>(int)): Same.

* include/bits/locale_facets.h (_Format_cache): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.
* src/locale-inst.cc: Same.
* include/bits/ostream.tcc: Same.
* src/ios.cc (ios_base::imbue): Remove here as well.

* testsuite/22_locale/num_get.cc: New file.
* testsuite/22_locale/num_get_members_char.cc: New file.
* testsuite/22_locale/num_get_members_wchar_t.cc: New.
* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
* testsuite/22_locale/num_put.cc: New file.
* testsuite/22_locale/num_put_members_char.cc: New file.
* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
* testsuite/27_io/ostream_inserter_arith.cc: Fix.
* testsuite/27_io/istream_extractor_arith.cc: Fix.

From-SVN: r47399

22 years agobasic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size blocking...
Loren J. Rittle [Wed, 28 Nov 2001 05:17:59 +0000 (05:17 +0000)]
basic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size blocking policy to reduce fragmentation and enhance...

2001-11-27  Loren J. Rittle  <ljrittle@acm.org>
            Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
        Enforce allocation size blocking policy to reduce
        fragmentation and enhance performance with common malloc
        implementations.

Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r47398

22 years agoNumeric facets cleanup.
Benjamin Kosnik [Wed, 28 Nov 2001 04:07:11 +0000 (04:07 +0000)]
Numeric facets cleanup.

2001-11-27  Benjamin Kosnik  <bkoz@redhat.com>

Numeric facets cleanup.
* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
+ and - signs.
(__num_base::_M_zero): Add
(__num_base::_M_e): Add.
(__num_base::_M_E): Add.
* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
(num_get::_M_extract_float): New.
(num_get::_M_extract_int): New.
* src/locale.cc (num_get::_M_extract): Remove.

* include/bits/locale_facets.tcc (num_put::_M_insert_float):
Simplify, use _M_insert.
(num_put::do_put(bool)): Simplify, remove __pad.
(__pad): Remove.
(__pad_output): Change to __pad.
* include/bits/ostream.tcc: And here.
* src/locale-inst: Remove instantiations.

* include/bits/locale_facets.h: Move helper functions in to class
num_put.
(num_put::_M_insert_float): Same, for __output_integer.
(num_put::_M_insert_int): Same, for __output_float.
(num_put::_M_insert): New.
(__num_base): Add.
(__num_base::_S_format_float): Move
__build_float_format into class __num_base.
(__num_base::_S_format_int): Move __build_int_format into class
__num_base.
* include/bits/locale_facets.tcc (__group_digits): Change to
(__add_grouping): This.
* src/locale-inst.cc: And here. Tweak instantiations.
* src/misc-inst.cc: Remove instantiations.

* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
for new calling conventions, move to...
* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
signature to make it useful for both ostream and num_put.
(__pad_numeric): Remove.
* src/misc-inst.cc: Remove instantiations.
* src/locale-inst.cc: Same.

* include/bits/locale_facets.h (_Numeric_get): Remove.
  (_Numeric_put): Remove.
(num_get::get(short)): Remove.
(num_get::get(int)): Remove.
(num_get::do_get(short)): Remove.
(num_get::do_get(int)): Remove.
* include/bits/istream.tcc (istream::operator>>(short)): Fix as
per DR 118.
(istream::operator>>(int)): Same.

* include/bits/locale_facets.h (_Format_cache): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.
* src/locale-inst.cc: Same.
* include/bits/ostream.tcc: Same.
* src/ios.cc (ios_base::imbue): Remove here as well.

* testsuite/22_locale/num_get.cc: New file.
* testsuite/22_locale/num_get_members_char.cc: New file.
* testsuite/22_locale/num_get_members_wchar_t.cc: New.
* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
* testsuite/22_locale/num_put.cc: New file.
* testsuite/22_locale/num_put_members_char.cc: New file.
* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
* testsuite/27_io/ostream_inserter_arith.cc: Fix.
* testsuite/27_io/istream_extractor_arith.cc: Fix.

From-SVN: r47397

22 years agodefaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Also provide defaults when we have OBJECT...
Kaveh R. Ghazi [Wed, 28 Nov 2001 02:39:21 +0000 (02:39 +0000)]
defaults.h (UNALIGNED_SHORT_ASM_OP, [...]): Also provide defaults when we have OBJECT_FORMAT_ROSE.

* defaults.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
UNALIGNED_DOUBLE_INT_ASM_OP): Also provide defaults when we have
OBJECT_FORMAT_ROSE.

From-SVN: r47396

22 years agocris.c: Tweak spacing for prototypes.
Hans-Peter Nilsson [Wed, 28 Nov 2001 02:37:44 +0000 (02:37 +0000)]
cris.c: Tweak spacing for prototypes.

* config/cris/cris.c: Tweak spacing for prototypes.
(LOSE_AND_RETURN): New macro.
(cris_operand_lossage): New function.
(cris_print_index, cris_print_base): Use cris_operand_lossage
rather than fatal_insn.
(cris_print_operand, cris_print_operand_address): Use
LOSE_AND_RETURN rather than fatal_insn and internal_error.
(cris_output_addr_const): Use LOSE_AND_RETURN and
output_operand_lossage rather than fatal_insn and internal_error
for valid but unexpected rtx expressions.

* config/cris/cris.c (cris_split_movdx): Don't call alter_subreg
for a SUBREG in src or dest, abort instead.

From-SVN: r47395

22 years ago* gcc.dg/20011127-1.c: New test.
Hans-Peter Nilsson [Wed, 28 Nov 2001 02:36:03 +0000 (02:36 +0000)]
* gcc.dg/20011127-1.c: New test.

From-SVN: r47394

22 years agotop level:
Zack Weinberg [Wed, 28 Nov 2001 01:37:24 +0000 (01:37 +0000)]
top level:

2001-11-27  DJ Delorie <dj@redhat.com>
    Zack Weinberg  <zack@codesourcery.com>

When build != host, create libiberty for the build machine.

* Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace
CONFIG_ARGUMENTS.
(ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR):
New variables.
(ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables
and rules.
(all.normal): Depend on ALL_BUILD_MODULES.
(CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS.
(all-build-libiberty): Depend on configure-build-libiberty.

* configure: Calculate and substitute proper value for
ALL_BUILD_MODULES.
* configure.in: Create the build subdirectory.
Calculate and substitute TARGET_CONFIGARGS (formerly
CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new).

libiberty:
2001-11-27  Zack Weinberg  <zack@codesourcery.com>

* _doprnt.c: Moved here from gcc/doprint.c.  Adjust to build
in libiberty context.  Fix typo in leading comment.
* configure.in: Fix various AC_DEFINEs so autoheader works.
If any of vprintf, vsprintf, vfprintf is missing from libc,
then AC_REPLACE_FUNCS(_doprnt).

From-SVN: r47393

22 years agopasses.texi: Remove reference to c-dump.c.
Bryce McKinlay [Wed, 28 Nov 2001 00:45:26 +0000 (00:45 +0000)]
passes.texi: Remove reference to c-dump.c.

* doc/passes.texi: Remove reference to c-dump.c. Update tree inlining
doc.

From-SVN: r47392

22 years agoexplanations.html: New section, empty for now.
Phil Edwards [Wed, 28 Nov 2001 00:02:04 +0000 (00:02 +0000)]
explanations.html: New section, empty for now.

2001-11-27  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/explanations.html:  New section, empty for now.
* docs/html/17_intro/howto.html:  Cleanup.  Move unrelated link...
* docs/html/23_containers/howto.html:  ...to here.  Break up and
rewrap threading discussion to emphasize warning.  Move malloc text...
* docs/html/ext/howto.html:  ...to here.  New section.  Describe
allocators and __USE_MALLOC effects.
* docs/html/ext/sgiexts.html:  Mention their code.

From-SVN: r47391

22 years agogcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than preprocessor define.
Jakub Jelinek [Tue, 27 Nov 2001 22:53:09 +0000 (23:53 +0100)]
gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than preprocessor define.

* gcc.c (ASM_DEBUG_SPEC): Use conditional expression rather than
preprocessor define.  If only DBX_DEBUGGING_INFO or only
DWARF2_DEBUGGING_INFO is supported for the target, provide
appropriate definitions.

From-SVN: r47390

22 years ago* Makefile.in: Forgotten commit.
Neil Booth [Tue, 27 Nov 2001 22:47:42 +0000 (22:47 +0000)]
* Makefile.in: Forgotten commit.

From-SVN: r47389

22 years agocpphash.c (_cpp_init_hashtable): Update.
Neil Booth [Tue, 27 Nov 2001 22:31:34 +0000 (22:31 +0000)]
cpphash.c (_cpp_init_hashtable): Update.

* cpphash.c (_cpp_init_hashtable): Update.
* cpphash.h (struct spec_nodes): Remove n_L.
* cpplex.c (_cpp_lex_direct): Check for prefix L separately.

* Makefile.in: Update, and add c-objc-common.o dependencies.
* c-lang.c: Remove unnecessary includes.
(c_init): Move bulk of code to c_objc_common_init, and call it.
(c_tree_printer, c_missing_noreturn_ok_p, c_disregard_inline_limits,
inline_forbidden_p, c_cannot_inline_tree_fn): Move to
c-objc-common.c.
* c-objc-common.c: New.  Mostly pulled from c-lang.c.
* c-tree.h (c_disregard_inline_limits, c_cannot_inline_fn,
c_objc_common_init, c_missing_noreturn_ok_p): New.
* toplev.c: Update comment.
* doc/passes.texi: Update.
* objc/ojbc-act.c (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN,
LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS,
LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Override.
(objc_init): Update to use c_objc_common_init.

From-SVN: r47388

22 years agounroll.c (loop_iterations): Move last change ...
Richard Henderson [Tue, 27 Nov 2001 22:09:10 +0000 (14:09 -0800)]
unroll.c (loop_iterations): Move last change ...

        * unroll.c (loop_iterations): Move last change ...
        * doloop.c (doloop_modify_runtime): ... here.

From-SVN: r47387

22 years agounroll.c (loop_iterations): Detect one situation in which we overestimate the number...
Corey Minyard [Tue, 27 Nov 2001 18:30:40 +0000 (18:30 +0000)]
unroll.c (loop_iterations): Detect one situation in which we overestimate the number of iterations.

        * unroll.c (loop_iterations): Detect one situation in which we
        overestimate the number of iterations.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r47386

22 years agore PR other/3968 (COLLECT_GCC_OPTIONS empty)
Rainer Orth [Tue, 27 Nov 2001 17:31:38 +0000 (17:31 +0000)]
re PR other/3968 (COLLECT_GCC_OPTIONS empty)

* gcc.c (set_collect_gcc_options): New function, split out from
main.
Ignore elided switches.
(do_spec): Invoke before executing command.
(do_spec_1): Likewise.
Fixes PR other/3968.

* gcc.c (set_input): Export.
Move declaration ...
gcc.h (set_input): ... here.

java:
* jvspec.c (jvgenmain_spec): Cannot use %umain, breaks
ASM_FINAL_SPEC.
(lang_specific_pre_link): Use set_input to set input_filename.
Append `main' here.
* jvgenmain.c (usage): Append literal `main' to CLASSNAME.
(main): Fix definition.
Strip `main' from classname.
Fixes PR java/227.

From-SVN: r47385

22 years ago* config/cris/cris.h (INT_ASM_OP): Remove.
Hans-Peter Nilsson [Tue, 27 Nov 2001 16:38:54 +0000 (16:38 +0000)]
* config/cris/cris.h (INT_ASM_OP): Remove.

From-SVN: r47384

22 years ago* Makefile.in (stamp-tool_src_dir): Use symbolic link.
Andreas Jaeger [Tue, 27 Nov 2001 16:17:56 +0000 (17:17 +0100)]
* Makefile.in (stamp-tool_src_dir): Use symbolic link.

From-SVN: r47382

22 years agosol2.h (WINT_TYPE): Redefine.
Rainer Orth [Tue, 27 Nov 2001 16:13:22 +0000 (16:13 +0000)]
sol2.h (WINT_TYPE): Redefine.

* config/i386/sol2.h (WINT_TYPE): Redefine.
(WINT_TYPE_SIZE): Likewise.

From-SVN: r47381

22 years agocollect2.c: Check HAVE_DUP2 instead of NO_DUP2.
Kaveh R. Ghazi [Tue, 27 Nov 2001 15:36:24 +0000 (15:36 +0000)]
collect2.c: Check HAVE_DUP2 instead of NO_DUP2.

* collect2.c: Check HAVE_DUP2 instead of NO_DUP2.
(dup2): Make static and add prototype.
* m68k/plexus.h: Don't define NO_DUP2.
* configure.in (AC_CHECK_FUNCS): Add dup2.
* config.in, configure: Regenerate.

From-SVN: r47379

22 years agoaix.h (REG_SIZE): Don't #undef.
Kaveh R. Ghazi [Tue, 27 Nov 2001 15:32:18 +0000 (15:32 +0000)]
aix.h (REG_SIZE): Don't #undef.

* ia64/aix.h (REG_SIZE): Don't #undef.
* sparc.h (REG_SIZE): Delete.
* flow.c (mark_used_regs): Don't use REG_SIZE.
* regs.h (REG_SIZE): Delete.

From-SVN: r47378

22 years agogcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT -> PREFERRED_DEBUGGING_TYPE.
Andreas Schwab [Tue, 27 Nov 2001 15:08:38 +0000 (15:08 +0000)]
gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT -> PREFERRED_DEBUGGING_TYPE.

* gcc.c: Fix typo PREFERRED_DEBUGGING_FORMAT ->
PREFERRED_DEBUGGING_TYPE.

From-SVN: r47377

22 years agoMakefile.in (c-lang.o): Depends on langhooks-def.h.
Richard Kenner [Tue, 27 Nov 2001 14:31:29 +0000 (14:31 +0000)]
Makefile.in (c-lang.o): Depends on langhooks-def.h.

* Makefile.in (c-lang.o): Depends on langhooks-def.h.
(expr.o, varasm.o): Depends on langhooks.h.
* c-common.c (c_safe_from_p): Always declare.
(c_expand_expr): Refine when declared.
* c-lang.c (c-common.h): Now include.
(LANG_HOOKS_SAFE_FROM_P): Define new hook.
(c_init): Don't set lang_safe_from_expr.
* expr.c (langhooks.h): Now include.
(lang_safe_from_p): No longer define.
(safe_from_p): Use lang hook.
(expand_expr): Set IGNORE if VOID_TYPE result of VIEW_CONVERT_EXPR too.
(expand_expr, case VIEW_CONVERT_EXPR): Pass ro_modifier down.
* expr.h (lang_expand_constant, lang_safe_from_p): Delete.
* langhooks-def.h (lhd_return_tree, lhd_safe_from_p): New decls.
(LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
* langhooks.c (lhd_return_tree, lhd_safe_from_p): New functions.
* langhooks.h (struct lang_hooks): New fields expand_constant
and safe_from_p.
* output.h (output_constant): Size arg is HOST_WIDE_INT.
* stmt.c (expand_decl_init): No longer need to expand constant
for CONST_DECL.
* stor-layout.c (put_pending_size): Don't check for SAVE_EXPR.
* toplev.c (lang_expand_constant): Delete var.
* tree.c (save_expr): Don't put another SAVE_EXPR around simple
operations on SAVE_EXPR.
* varasm.c (langhooks.h): Now include.
(compare_constant_1): Use lang_hooks, not lang_expand_constant.
(record_constant_1, output_addressed_constants): Likewise.
(initializer_constant_valid_p, output_constant): Likewise.
(output_constant_def): Process no-defer of string constant.
(output_addressed_constants, case ADDR_EXPR): Use handled_component_p.
(output_constant): Strip more conversions.
Track our size and pad for the rest.
(array_size_for_constructor): Remove code for non-byte STRING_CST.
(output_constructor): SIZE now HOST_WIDE_INT.
* cp/Make-lang.in (cp-lang.o): Depends on c-common.h.
* cp/cp-lang.c (c-common.h): Include.
(LANG_HOOKS_EXPAND_CONSTANT, LANG_HOOKS_SAFE_FROM_P): New hooks.
* cp/decl.c (cxx_init_decl_processing): Don't set lang_safe_from_p.
* cp/expr.c (init_cplus_expand): Don't set lang_expand_constant.

From-SVN: r47376

22 years agoifcvt.c (noce_try_store_flag_constants): Test for overflow in computing DIFF.
Richard Henderson [Tue, 27 Nov 2001 09:07:59 +0000 (01:07 -0800)]
ifcvt.c (noce_try_store_flag_constants): Test for overflow in computing DIFF.

        * ifcvt.c (noce_try_store_flag_constants): Test for overflow
        in computing DIFF.

From-SVN: r47374

22 years agoMakefile.in: Regenerate Ada dependencies.
Laurent Guerby [Tue, 27 Nov 2001 08:45:41 +0000 (08:45 +0000)]
Makefile.in: Regenerate Ada dependencies.

2001-11-27  Laurent Guerby  <guerby@acm.org>

* Makefile.in: Regenerate Ada dependencies.

From-SVN: r47373

22 years agoDaily bump.
GCC Administrator [Tue, 27 Nov 2001 08:16:19 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r47371

22 years agoNew test.
Richard Henderson [Tue, 27 Nov 2001 08:02:21 +0000 (00:02 -0800)]
New test.

From-SVN: r47370

22 years ago* cppfiles.c (read_include_file): Add comment.
Zack Weinberg [Tue, 27 Nov 2001 07:42:10 +0000 (07:42 +0000)]
* cppfiles.c (read_include_file): Add comment.

From-SVN: r47369

22 years agoNew test.
Richard Henderson [Tue, 27 Nov 2001 01:55:42 +0000 (17:55 -0800)]
New test.

From-SVN: r47368

22 years agomore minimal-toc tweaking of output_mi_thunk.
David Edelsohn [Tue, 27 Nov 2001 01:35:23 +0000 (20:35 -0500)]
more minimal-toc tweaking of output_mi_thunk.

From-SVN: r47367

22 years ago* toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.
Richard Henderson [Tue, 27 Nov 2001 00:32:00 +0000 (16:32 -0800)]
* toplev.c (rest_of_compilation): Call free_bb_for_insn before exit.

From-SVN: r47365

22 years agosysv4.h (DBX_DEBUGGING_INFO): Undef.
Richard Henderson [Tue, 27 Nov 2001 00:14:41 +0000 (16:14 -0800)]
sysv4.h (DBX_DEBUGGING_INFO): Undef.

        * config/ia64/sysv4.h (DBX_DEBUGGING_INFO): Undef.
        * config/ia64/aix.h (PREFERRED_DEBUGGING_TYPE): Remove
        commented out override.

From-SVN: r47364

22 years agocppfiles.c (stack_include_file): Don't optimize zero-length files.
Neil Booth [Mon, 26 Nov 2001 23:44:54 +0000 (23:44 +0000)]
cppfiles.c (stack_include_file): Don't optimize zero-length files.

* cppfiles.c (stack_include_file): Don't optimize zero-length
files.
(read_include_file): NUL-terminate read files.
* cpplex.c (handle_newline, skip_escaped_newlines,
get_effective_char, skip_whitespace, parse_identifier,
parse_identifier_slow, parse_number, parse_string,
_cpp_lex_direct): Optimize for the fact that buffers are guaranteed
NUL-terminated.
* cpplib.c (destringize_and_run, cpp_define, handle_assertion):
Be sure buffers are NUL terminated.
* cppmacro.c (warn_of_redefinition): Kill compile warning.

* c-common.c: Include tree-inline.h.
(c_language): Move separate definitions here.
(c_common_init_options, c_common_post_options): New.
(c_common_lang_init): Rename c_common_init.
* c-common.h (c_common_lang_init): Similarly.
(c_common_init_options, c_common_post_options): New.
* c-lang.c (c_post_options): Move body to c_common_post_options.
(c_init_options): Use c_common_init_options.
(c_init): Update.
* langhooks.def: Rearrange.
* langhooks.h: Rearrange, and improve comments.
* toplev.c (do_compile): New function.
(toplev_main): Use it.
(lang_independent_f_options, parse_options_and_default_flags,
process_options): Remove trailing periods.
* Makefile.in: Update.
cp: * decl2.c (c_language): Move to c-common.c.
* lex.c (cxx_post_options, cxx_init_options): Use c-common.c
functions.
(cxx_init): Update.
objc: * objc-act.c (objc_post_options, objc_init_options): Use c-common.c
functions.
(ojbc_init): Update.

From-SVN: r47362

22 years ago* config/alpha/alpha.md (unop): Add 0 offset for some gas versions.
Richard Henderson [Mon, 26 Nov 2001 22:56:52 +0000 (14:56 -0800)]
* config/alpha/alpha.md (unop): Add 0 offset for some gas versions.

From-SVN: r47361

22 years ago* MAINTAINERS (write-after-approval): Add self.
Ziemowit Laski [Mon, 26 Nov 2001 22:35:45 +0000 (22:35 +0000)]
* MAINTAINERS (write-after-approval): Add self.

From-SVN: r47360

22 years agoexpr.c (store_constructor): Actually use the value computed if WORD_REGISTER_OPERATIONS.
DJ Delorie [Mon, 26 Nov 2001 22:29:46 +0000 (17:29 -0500)]
expr.c (store_constructor): Actually use the value computed if WORD_REGISTER_OPERATIONS.

* expr.c (store_constructor): Actually use the value computed
if WORD_REGISTER_OPERATIONS.

From-SVN: r47359

22 years agoMake-lang.in (gnatbind, [...]): Depend on CONFIG_H and prefix.o.
Richard Henderson [Mon, 26 Nov 2001 22:20:28 +0000 (14:20 -0800)]
Make-lang.in (gnatbind, [...]): Depend on CONFIG_H and prefix.o.

        * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd,
        gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys,
        gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o.

From-SVN: r47358

22 years agoelfos.h (SELECT_SECTION): Don't check TREE_READONLY for CONSTRUCTOR.
Richard Henderson [Mon, 26 Nov 2001 22:16:56 +0000 (14:16 -0800)]
elfos.h (SELECT_SECTION): Don't check TREE_READONLY for CONSTRUCTOR.

        * config/elfos.h (SELECT_SECTION): Don't check TREE_READONLY
        for CONSTRUCTOR.

From-SVN: r47357

22 years agors6000.c (output_mi_thunk): Handle minimal-toc and call correct function on AIX.
David Edelsohn [Mon, 26 Nov 2001 21:43:48 +0000 (21:43 +0000)]
rs6000.c (output_mi_thunk): Handle minimal-toc and call correct function on AIX.

        * rs6000.c (output_mi_thunk): Handle minimal-toc and call
        correct function on AIX.

From-SVN: r47355

22 years agoMakefile.in (stamp-h): Depend on Makefile for proper serialization.
DJ Delorie [Mon, 26 Nov 2001 21:24:43 +0000 (16:24 -0500)]
Makefile.in (stamp-h): Depend on Makefile for proper serialization.

* Makefile.in (stamp-h): Depend on Makefile for proper
serialization.
(*-subdir): Depend on config.h for proper serialization.

Co-Authored-By: Daniel Jacobowitz <drow@mvista.com>
From-SVN: r47354

22 years agoFix typo.
DJ Delorie [Mon, 26 Nov 2001 20:03:21 +0000 (15:03 -0500)]
Fix typo.

From-SVN: r47353

22 years agoconfigure.in: Check for alloca.h (for regex.c and putenv.c).
DJ Delorie [Mon, 26 Nov 2001 20:02:19 +0000 (15:02 -0500)]
configure.in: Check for alloca.h (for regex.c and putenv.c).

* configure.in: Check for alloca.h (for regex.c and putenv.c).
* configure: Regenerate.
* config.h: Add HAVE_ALLOCA_H.

From-SVN: r47352

22 years agotoplev.c (process_options): Don't force flag_optimize_sibling_calls to zero just...
Alexandre Oliva [Mon, 26 Nov 2001 19:40:21 +0000 (19:40 +0000)]
toplev.c (process_options): Don't force flag_optimize_sibling_calls to zero just because exceptions are enabled.

* toplev.c (process_options): Don't force
flag_optimize_sibling_calls to zero just because exceptions are
enabled.

From-SVN: r47351

22 years agodf.h (transfer_function_sbitmap): Use PARAMS around argument list in function prototypes.
Jeffrey A Law [Mon, 26 Nov 2001 19:36:09 +0000 (19:36 +0000)]
df.h (transfer_function_sbitmap): Use PARAMS around argument list in function prototypes.

        * df.h (transfer_function_sbitmap): Use PARAMS around argument
        list in function prototypes.
        (transfer_function_bitmap): Likewise.

From-SVN: r47350

22 years agostormy16.h: Remove DEFAULT_VTABLE_THUNKS.
Loren J. Rittle [Mon, 26 Nov 2001 19:24:09 +0000 (19:24 +0000)]
stormy16.h: Remove DEFAULT_VTABLE_THUNKS.

        * config/stormy16/stormy16.h: Remove DEFAULT_VTABLE_THUNKS.
        * config/i386/netbsd-elf.h: Likewise.

From-SVN: r47349

22 years ago* doc/trouble.texi: Remove outdated RS/6000 comments.
David Edelsohn [Mon, 26 Nov 2001 18:33:44 +0000 (18:33 +0000)]
* doc/trouble.texi: Remove outdated RS/6000 comments.

From-SVN: r47348

22 years agolinux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for GC_FREEBSD_THREADS.
Loren J. Rittle [Mon, 26 Nov 2001 17:40:34 +0000 (17:40 +0000)]
linux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for GC_FREEBSD_THREADS.

* linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
case for GC_FREEBSD_THREADS.
* configure.in (*-*-freebsd*): Clarify warning.
* configure: Rebuilt.

From-SVN: r47347

22 years ago* call.c (joust): Remove COND_EXPR hack.
Jason Merrill [Mon, 26 Nov 2001 13:11:15 +0000 (08:11 -0500)]
* call.c (joust): Remove COND_EXPR hack.

From-SVN: r47346

22 years ago* final.c (walk_alter_subreg): Fix return value.
Jan Hubicka [Mon, 26 Nov 2001 13:02:16 +0000 (14:02 +0100)]
* final.c (walk_alter_subreg): Fix return value.

From-SVN: r47345

22 years agosparc.c (sparc_absnegfloat_split_legitimate): Do not call alter_subreg.
Jan Hubicka [Mon, 26 Nov 2001 10:38:27 +0000 (11:38 +0100)]
sparc.c (sparc_absnegfloat_split_legitimate): Do not call alter_subreg.

* sparc.c (sparc_absnegfloat_split_legitimate): Do not call
alter_subreg.
* sparc.md (post-reload splitters): Do not call alter_subreg.
* cfgrtl.c (purge_dead_edges): Fix typo in previous fix.

From-SVN: r47339

22 years ago* regclass.c (choose_hard_reg_mode): Handle vector arguments.
Aldy Hernandez [Mon, 26 Nov 2001 10:18:47 +0000 (10:18 +0000)]
* regclass.c (choose_hard_reg_mode): Handle vector arguments.

From-SVN: r47338

22 years agoDaily bump.
GCC Administrator [Mon, 26 Nov 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r47335

22 years agoFix for PR libgcj/2024, plus other class name cleanups:
Tom Tromey [Mon, 26 Nov 2001 06:40:06 +0000 (06:40 +0000)]
Fix for PR libgcj/2024, plus other class name cleanups:

* include/jvm.h (_Jv_VerifyFieldSignature,
_Jv_VerifyMethodSignature, _Jv_VerifyClassName,
_Jv_VerifyIdentifier, _Jv_ClassNameSamePackage): Moved from ...
* include/java-interp.h: ... here.
* defineclass.cc (UTF8_PEEK): No longer conditional on
interpreter.
(_Jv_VerifyOne): Likewise.
(_Jv_VerifyFieldSignature): Likewise.
(_Jv_VerifyMethodSignature): Likewise.
(is_identifier_start): Likewise.
(is_identifier_part): Likewise.
(_Jv_VerifyIdentifier): Likewise.
(_Jv_VerifyClassName): Likewise.
(_Jv_VerifyClassName): Likewise.
(_Jv_ClassNameSamePackage): Likewise.
(_Jv_VerifyClassName): Fail if class name is too long.
* java/lang/natClassLoader.cc (_Jv_NewArrayClass): Disallow array
of void.
* java/lang/natClass.cc (forName): Check syntax of class name.
Include IllegalArgumentException.h.

From-SVN: r47334

22 years agosearch.c (lookup_base_r): Declare bk in variable declaration space.
Aldy Hernandez [Mon, 26 Nov 2001 02:00:10 +0000 (02:00 +0000)]
search.c (lookup_base_r): Declare bk in variable declaration space.

     * cp/search.c (lookup_base_r): Declare bk in variable declaration
     space.

From-SVN: r47333

22 years agofinal.c: (insn_lengths): Make it an int *, so that large jump tables don't overflow.
Alan Modra [Mon, 26 Nov 2001 00:46:40 +0000 (00:46 +0000)]
final.c: (insn_lengths): Make it an int *, so that large jump tables don't overflow.

* final.c: (insn_lengths): Make it an int *, so that large jump
tables don't overflow.

From-SVN: r47331

22 years agoverify.cc (_Jv_BytecodeVerifier::branch_prepass): Use java_opcode as type for switch.
Tom Tromey [Sun, 25 Nov 2001 19:48:19 +0000 (19:48 +0000)]
verify.cc (_Jv_BytecodeVerifier::branch_prepass): Use java_opcode as type for switch.

* verify.cc (_Jv_BytecodeVerifier::branch_prepass): Use
java_opcode as type for switch.
[op_wide]: Likewise.
(_Jv_BytecodeVerifier::verify_instructions_0): Likewise.
[op_invokevirtual]: Likewise.
* include/java-insns.h (java_opcode): Give enum a name.

From-SVN: r47330

22 years agore PR libgcj/4583 (problems BigDecimal(double) ctor.)
Tom Tromey [Sun, 25 Nov 2001 19:32:28 +0000 (19:32 +0000)]
re PR libgcj/4583 (problems BigDecimal(double) ctor.)

Fix for PR libgcj/4583:
* java/math/BigDecimal.java (BigDecimal(double)): Rewrote.
(BigDecimal(String)): Likewise.

From-SVN: r47329

22 years agoMakefile.in: Fix non-portable use of `$<' in z_log.c's rule.
Toon Moene [Sun, 25 Nov 2001 19:12:50 +0000 (20:12 +0100)]
Makefile.in: Fix non-portable use of `$<' in z_log.c's rule.

2001-11-25  Toon Moene  <toon@moene.indiv.nluug.nl>

* libF77/Makefile.in: Fix non-portable use of `$<' in z_log.c's rule.

From-SVN: r47328

22 years agoc-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
Joseph Myers [Sun, 25 Nov 2001 18:54:12 +0000 (18:54 +0000)]
c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.

* c-format.c (FMT_FLAG_DOLLAR_GAP_POINTER_OK): New.
(format_types): Use it for scanf.
(dollar_arguments_pointer_p): New.
(init_dollar_format_checking): Store details of which arguments
are pointers.
(maybe_read_dollar_number): Reallocate dollar_arguments_pointer_p.
(finish_dollar_format_checking): Take extra parameter
pointer_gap_ok.  Treat unused arguments differently if
pointer_gap_ok and the unused arguments are pointers.
(check_format_info_main): Pass extra argument to
finish_dollar_format_checking.
* doc/invoke.texi (-Wno-format-extra-args): Document behavior when
unused arguments are present between used arguments with operand
numbers.

testsuite:
* gcc.dg/format/strfmon-1.c: Update comments.  Adjust examples
from Austin Group draft 7.
* gcc.dg/format/xopen-1.c: Update comments.  Add tests for gaps in
scanf format arguments.
* gcc.dg/format/no-exargs-2.c: New test.

From-SVN: r47327

22 years agodf.c: Add prototypes for hybrid_search_bitmap and hybrid_search_sbitmap.
Daniel Berlin [Sun, 25 Nov 2001 17:22:55 +0000 (17:22 +0000)]
df.c: Add prototypes for hybrid_search_bitmap and hybrid_search_sbitmap.

2001-11-25  Daniel Berlin  <dan@cgsoftware.com>

* df.c: Add prototypes for hybrid_search_bitmap and
hybrid_search_sbitmap.
(hybrid_search_bitmap): New function.
(hybrid_search_sbitmap): New function.
(iterative_dataflow_sbitmap): Change to use hybrid_search_sbitmap.
(iterative_dataflow_bitmap): Ditto.

From-SVN: r47326

22 years ago* gcc.dg/cpp/fpreprocessed.c: New test.
Neil Booth [Sun, 25 Nov 2001 16:48:40 +0000 (16:48 +0000)]
* gcc.dg/cpp/fpreprocessed.c: New test.

From-SVN: r47325

22 years agom68hc11.md (peephole2): New peephole2 to optimize address computations.
Stephane Carrez [Sun, 25 Nov 2001 16:45:22 +0000 (17:45 +0100)]
m68hc11.md (peephole2): New peephole2 to optimize address computations.

* config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
address computations.

From-SVN: r47323

22 years agom68hc11.c (d_register_operand): Must accept register b (low part of d).
Stephane Carrez [Sun, 25 Nov 2001 16:36:31 +0000 (17:36 +0100)]
m68hc11.c (d_register_operand): Must accept register b (low part of d).

* config/m68hc11/m68hc11.c (d_register_operand): Must accept
register b (low part of d).

From-SVN: r47321

22 years agom68hc11.h (FUNCTION_PROFILER): Fix label name passed to mcount.
Stephane Carrez [Sun, 25 Nov 2001 16:28:14 +0000 (17:28 +0100)]
m68hc11.h (FUNCTION_PROFILER): Fix label name passed to mcount.

* config/m68hc11/m68hc11.h (FUNCTION_PROFILER): Fix label name
passed to mcount.

From-SVN: r47319

22 years agore PR c++/3145 (virtual inheritance still creates wrong code)
Nathan Sidwell [Sun, 25 Nov 2001 13:21:45 +0000 (13:21 +0000)]
re PR c++/3145 (virtual inheritance still creates wrong code)

cp:
PR g++/3145
* class.c (build_vbase_pointer): Remove.
(build_vbase_path): Remove.
(build_base_path): New function.
* cp-tree.h (base_access, base_kind): New enumerations.
(build_base_path): Declare.
(convert_pointer_to_real): Remove.
(convert_pointer_to): Remove.
(lookup_base): Declare.
(convert_pointer_to_vbase): Remove.
* call.c (build_scoped_method_call): Use lookup_base &
build_base_path instead of convert_pointer_to_real,
get_base_distance & get_binfo.
(build_over_call): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_pointer_force): Likewise.
(build_up_reference): Likewise.
(convert_pointer_to_real): Remove.
(convert_pointer_to): Remove.
* init.c (dfs_initialize_vtbl_ptrs): Use build_base_path
instead of convert_pointer_to_vbase & build_vbase_path.
(emit_base_init): Use build_base_path instead of
convert_pointer_to_real.
(expand_virtual_init): Lose unrequired conversions.
(resolve_offset_ref): Use lookup_base and build_base_path
instead of convert_pointer_to.
* rtti.c (build_dynamic_cast_1): Use lookup_base &
build_base_path instead of get_base_distance & build_vbase_path.
* search.c (get_vbase_1): Remove.
(get_vbase): Remove.
(convert_pointer_to_vbase): Remove.
(lookup_base_recursive): New function.
(lookup_base): New function.
* typeck.c (require_complete_type): Use lookup_base &
build_base_path instead of convert_pointer_to.
(build_component_ref): Likewise.
(build_x_function_call): Likewise.
(get_member_function_from_ptrfunc): Likewise.
(build_component_addr): Likewise.
* typeck2.c (build_scoped_ref): Likewise.
testsuite:
* g++.dg/abi/vbase8-4.C: New test.

From-SVN: r47316

22 years agosysdep.c (rts_get_*): Fix style.
Laurent Guerby [Sun, 25 Nov 2001 13:09:31 +0000 (13:09 +0000)]
sysdep.c (rts_get_*): Fix style.

2001-11-25  Laurent Guerby  <guerby@acm.org>

* sysdep.c (rts_get_*): Fix style.

From-SVN: r47315

22 years agovms-ld.c, vms-cc.c: New files.
Douglas B Rupp [Sun, 25 Nov 2001 11:30:17 +0000 (06:30 -0500)]
vms-ld.c, vms-cc.c: New files.

* config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.
* config/alpha/x-vms: New file, to compile the above.
* config.gcc (alpha*-dec-vms*): Add x-vms.

From-SVN: r47312

22 years agoDaily bump.
GCC Administrator [Sun, 25 Nov 2001 08:16:11 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r47310

22 years ago* gcc.c-torture/execute/20011121-1.c: New test.
Ian Lance Taylor [Sun, 25 Nov 2001 06:30:44 +0000 (06:30 +0000)]
* gcc.c-torture/execute/20011121-1.c: New test.

From-SVN: r47309

22 years ago* genextract.c (main): Set ro_loc for peepholes.
Hans-Peter Nilsson [Sat, 24 Nov 2001 22:57:28 +0000 (22:57 +0000)]
* genextract.c (main): Set ro_loc for peepholes.

From-SVN: r47308

22 years agofix-header.c (main): Move inf_buffer termination and inf_limit calculation to after...
Douglas B Rupp [Sat, 24 Nov 2001 22:17:58 +0000 (17:17 -0500)]
fix-header.c (main): Move inf_buffer termination and inf_limit calculation to after read.

* fix-header.c (main): Move inf_buffer termination and inf_limit
calculation to after read.

From-SVN: r47307

22 years agoxm-vms.h (FILE_TYPE): Remove undef and baggage.
Douglas B Rupp [Sat, 24 Nov 2001 22:12:17 +0000 (17:12 -0500)]
xm-vms.h (FILE_TYPE): Remove undef and baggage.

* config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
(__UNIX_FOPEN): Define.

From-SVN: r47306

22 years agoxm-vms.h (FILE_TYPE): Remove undef and baggage.
Douglas B Rupp [Sat, 24 Nov 2001 22:03:23 +0000 (17:03 -0500)]
xm-vms.h (FILE_TYPE): Remove undef and baggage.

* config/alpha/xm-vms.h (FILE_TYPE): Remove undef and baggage.
(__UNIX_FOPEN): Define.

From-SVN: r47305

22 years agore PR fortran/3957 (g77 -pipe -xf77-cpp-input sends output to stdout.)
Toon Moene [Sat, 24 Nov 2001 21:36:56 +0000 (22:36 +0100)]
re PR fortran/3957 (g77 -pipe -xf77-cpp-input sends output to stdout.)

2001-11-24  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/3957
* lang-specs.h: Correct !pipe conditional in tradcpp0 invocation.

From-SVN: r47304

22 years agofunction.c (assign_stack_temp_for_type): Clear alias set before setting new one.
Richard Kenner [Sat, 24 Nov 2001 21:18:15 +0000 (21:18 +0000)]
function.c (assign_stack_temp_for_type): Clear alias set before setting new one.

* function.c (assign_stack_temp_for_type): Clear alias set before
setting new one.

From-SVN: r47303

22 years agomaint.cfg.in, [...]: Revert previous changes.
Joseph Myers [Sat, 24 Nov 2001 10:46:50 +0000 (10:46 +0000)]
maint.cfg.in, [...]: Revert previous changes.

* docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
changes.

From-SVN: r47301

22 years agoDaily bump.
GCC Administrator [Sat, 24 Nov 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r47299

22 years agors6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX format.
David Edelsohn [Sat, 24 Nov 2001 06:44:11 +0000 (06:44 +0000)]
rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX format.

        * rs6000.c (print_operand, case 'v'): Use HOST_WIDE_INT_PRINT_HEX
        format.
        * rs6000.md (cmptf): Fix typo.

From-SVN: r47298

22 years ago* Fix typo in cmptf pattern.
David Edelsohn [Sat, 24 Nov 2001 03:30:33 +0000 (22:30 -0500)]
* Fix typo in cmptf pattern.

From-SVN: r47297

22 years agoMakefile.am (doxygen-maint): The script isn't executable in CVS.
Phil Edwards [Sat, 24 Nov 2001 03:28:27 +0000 (03:28 +0000)]
Makefile.am (doxygen-maint): The script isn't executable in CVS.

2001-11-23  Phil Edwards  <pme@gcc.gnu.org>

* Makefile.am (doxygen-maint):  The script isn't executable in CVS.
* Makefile.in:  Regenerated.
* docs/doxygen/TODO:  New file listing doxygen work to be done.
* docs/doxygen/run_doxygen:  Fix up man pages.
* docs/doxygen/user.cfg.in:  Insert maint-only toggles.
* docs/doxygen/maint.cfg.in:  Copy from user.cfg and turn toggles on.
* include/bits/stl_construct.h:  Use new hooks for internal functions.

* docs/html/17_intro/TODO:  Small updates.
* docs/html/faq/index.html:  Likewise.
* docs/html/faq/index.txt:  Regenerated.

* include/bits/stl_alloc.h:  Doxygenate, reindent comments, remove
SGI-isms and wrappers.
(simple_alloc, debug_alloc):  Uglify class names.
(__default_alloc_template):  Uglify "threads" template parameter and
update corresponding macros.
* include/backward/alloc.h:  Bring up to date.

From-SVN: r47296

22 years ago* gcc.c-torture/execute/ieee/20011123-1.c: New test.
Jeffrey A Law [Fri, 23 Nov 2001 22:58:51 +0000 (22:58 +0000)]
* gcc.c-torture/execute/ieee/20011123-1.c: New test.

From-SVN: r47295

22 years agore PR libf2c/4930 (Taking the log of a certain complex number hangs in run time library)
Toon Moene [Fri, 23 Nov 2001 21:47:22 +0000 (22:47 +0100)]
re PR libf2c/4930 (Taking the log of a certain complex number hangs in run time library)

2001-11-23  Toon Moene  <toon@moene.indiv.nluug.nl>

PR libf2c/4930
* libF77/Makefile.in: Compile z_log.c with -ffloat-store.

From-SVN: r47294

22 years agofix typo
Jason Merrill [Fri, 23 Nov 2001 19:00:14 +0000 (14:00 -0500)]
fix typo

From-SVN: r47293

22 years agovterminate.cc (__verbose_terminate_handler): Add leading underscores.
Jason Merrill [Fri, 23 Nov 2001 17:36:43 +0000 (12:36 -0500)]
vterminate.cc (__verbose_terminate_handler): Add leading underscores.

        * src/vterminate.cc (__verbose_terminate_handler): Add leading
        underscores.

From-SVN: r47292

22 years agoChangeLog, [...]: Fix spelling errors.
Joseph Myers [Fri, 23 Nov 2001 16:29:02 +0000 (16:29 +0000)]
ChangeLog, [...]: Fix spelling errors.

* ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html,
docs/html/23_containers/howto.html,
docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
docs/html/27_io/binary_iostreams_kuehl.txt,
docs/html/ext/sgiexts.html, docs/html/faq/index.html,
docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
include/bits/basic_file.h, include/bits/locale_facets.h,
include/bits/locale_facets.tcc, include/bits/std_sstream.h,
include/ext/ropeimpl.h, include/ext/stl_rope.h,
libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
configure.target, ChangeLog-2000: Fix spelling errors.

From-SVN: r47291