platform/upstream/gcc.git
23 years agostd_cwctype.h: Include std_cwchar.h for wint_t.
Benjamin Kosnik [Thu, 4 Jan 2001 04:21:42 +0000 (04:21 +0000)]
std_cwctype.h: Include std_cwchar.h for wint_t.

2001-01-03  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.

* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.

From-SVN: r38679

23 years agoc-decl.c (grokdeclarator): Give zero-length arrays size zero.
Richard Henderson [Thu, 4 Jan 2001 01:14:16 +0000 (17:14 -0800)]
c-decl.c (grokdeclarator): Give zero-length arrays size zero.

        * c-decl.c (grokdeclarator): Give zero-length arrays size zero.
        Remove dead code.
        * c-typeck.c (push_init_level): Move checks for flexible array
        members and zero length arrays ...
        (pop_init_level): ... here.  Silently discard empty initializations.
        Remove dead code.
        * varasm.c (output_constructor): Update for sizeof change to
        zero-length arrays.

        * extend.texi (Zero Length): Clarify semantics.

        * gcc.dg/940510-1.c: Update expected error wording.
        * gcc.dg/array-2.c, gcc.dg/array-3.c, gcc.dg/array-4.c: New.

From-SVN: r38678

23 years agoconfigure.in (tm.h): Include isns-codes.h last.
Alexandre Oliva [Wed, 3 Jan 2001 23:47:05 +0000 (23:47 +0000)]
configure.in (tm.h): Include isns-codes.h last.

* configure.in (tm.h): Include isns-codes.h last.
* configure: Rebuilt.

From-SVN: r38677

23 years agoalpha.md (addvsi3, addvdi3): New.
Richard Henderson [Wed, 3 Jan 2001 22:52:42 +0000 (14:52 -0800)]
alpha.md (addvsi3, addvdi3): New.

        * config/alpha/alpha.md (addvsi3, addvdi3): New.
        (negvsi2, negvdi2, subvsi3, subvdi3, mulvsi3, mulvdi3): New.

From-SVN: r38676

23 years agoUpdate the second copyright notice. Point to it from the first.
Alexandre Oliva [Wed, 3 Jan 2001 22:45:56 +0000 (22:45 +0000)]
Update the second copyright notice.  Point to it from the first.

From-SVN: r38675

23 years agotradcpp.c (main): Make sure finclude() is called with a valid indepth value while...
Franz Sirl [Wed, 3 Jan 2001 22:26:05 +0000 (22:26 +0000)]
tradcpp.c (main): Make sure finclude() is called with a valid indepth value while handling -include.

2001-01-03  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* tradcpp.c (main): Make sure finclude() is called with a valid
indepth value while handling -include.

From-SVN: r38674

23 years agogencodes.c (output_predicate_decls): New function.
Alexandre Oliva [Wed, 3 Jan 2001 21:13:29 +0000 (21:13 +0000)]
gencodes.c (output_predicate_decls): New function.

* gencodes.c (output_predicate_decls): New function.
(main): Call it.
* machmode.h (GET_MODE_MASK): Arrange for it to be defined
even if it is not the first time machmode.h is #included.
* config/sh/sh.c (fpul_operand): Declare MODE argument.
* tm.texi (PREDICATE_CODES): Document predicate declarations.
* gcc.texi (Copyright): Added 2001.

From-SVN: r38673

23 years agoc-common.c (c_common_lang_init): New function.
Joseph Myers [Wed, 3 Jan 2001 20:56:22 +0000 (20:56 +0000)]
c-common.c (c_common_lang_init): New function.

* c-common.c (c_common_lang_init): New function.  Warn if format
warning options which only have effects when used with -Wformat
are used without -Wformat.
* c-common.h (c_common_lang_init): Declare.
* c-lang.c (lang_init): Call c_common_lang_init.
* objc/objc-act.c (lang_init): Call c_common_lang_init.

cp:
* lex.c (lang_init): Call c_common_lang_init.

From-SVN: r38672

23 years agoconfigure.in: Check for the mktemp command.
Joseph Myers [Wed, 3 Jan 2001 20:39:09 +0000 (20:39 +0000)]
configure.in: Check for the mktemp command.

* configure.in: Check for the mktemp command.
* configure: Regenerate.
* gccbug.in: Use a separate temporary file $TEMP0 for one use of
$TEMP.  Create temporary files with mktemp, if available at
configure time; otherwise use set -C.  Remove temporary files
before exit.

From-SVN: r38671

23 years agoScrollPane.java (setBlockIncrement): Throw error.
Tom Tromey [Wed, 3 Jan 2001 20:34:44 +0000 (20:34 +0000)]
ScrollPane.java (setBlockIncrement): Throw error.

* java/awt/ScrollPane.java (setBlockIncrement): Throw error.
(getViewportSize): Insets include scrollbar size.
(doLayout): Finished.
(getScrollPosition): Wrote.
* java/awt/peer/ScrollPanePeer.java (setBlockIncrement): Removed.

From-SVN: r38670

23 years ago* gcc_update: Add cpp.1 to the list of generated files.
Joseph Myers [Wed, 3 Jan 2001 20:18:18 +0000 (20:18 +0000)]
* gcc_update: Add cpp.1 to the list of generated files.

From-SVN: r38669

23 years agotexi2pod.pl: Handle @option and @env.
Joseph Myers [Wed, 3 Jan 2001 20:15:01 +0000 (20:15 +0000)]
texi2pod.pl: Handle @option and @env.

contrib:
* texi2pod.pl: Handle @option and @env.

gcc:
* configure.in: Require at least texinfo 4.0.  Check for whether
Pod::Man is sufficiently recent to regenerate GCC manpages.
* configure:  Regenerate.
* Makefile.in (TEXI2POD): Call perl explicitly rather than relying
on #!.
(GENERATED_MANPAGES): Define.
(generated-manpages): New target.  Depend on cpp.1 as well as
gcov.1.
(install-man): Depend on $(GENERATED_MANPAGES) (defined by
configure to generated-manpages or empty) rather than on the
manpages directly.  Remove execute permission from installed
gcov.1 as well as cpp.1.
* cpp.1, gcov.1: Regenerate.

From-SVN: r38668

23 years agotarget-supports.exp (check_alias_available): Modified to indicate aliases not support...
Jeffrey Oldham [Wed, 3 Jan 2001 18:22:23 +0000 (18:22 +0000)]
target-supports.exp (check_alias_available): Modified to indicate aliases not supported if only weak aliases are supported.

2001-01-03  Jeffrey Oldham  <oldham@codesourcery.com>

* lib/target-supports.exp (check_alias_available): Modified to
indicate aliases not supported if only weak aliases are supported.

From-SVN: r38667

23 years ago* snapshot: Update to account for java libraries.
Mike Stump [Wed, 3 Jan 2001 18:13:43 +0000 (18:13 +0000)]
* snapshot: Update to account for java libraries.

From-SVN: r38666

23 years agoupdate copyrights
Kaveh Ghazi [Wed, 3 Jan 2001 16:54:46 +0000 (16:54 +0000)]
update copyrights

From-SVN: r38665

23 years agobuiltins.c (expand_builtin_strncmp): Use host_integerp and tree_low_cst.
Kaveh R. Ghazi [Wed, 3 Jan 2001 16:48:15 +0000 (16:48 +0000)]
builtins.c (expand_builtin_strncmp): Use host_integerp and tree_low_cst.

* builtins.c (expand_builtin_strncmp): Use host_integerp and
tree_low_cst.  Allow using cmpstrsi in more cases.

testsuite:
* gcc.c-torture/execute/string-opt-8.c: Add more testcases.
Turn on cmpstrsi checks for __pj__ and __i370__.

From-SVN: r38664

23 years agoacinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
Benjamin Kosnik [Wed, 3 Jan 2001 15:53:28 +0000 (15:53 +0000)]
acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.

2001-01-02  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
* aclocal.m4: Regenerate.
* configure: Regenerate.

* include/bits/c++config (__GLIBCPP__): Bump version number.

* ChangeLog: Start new log for year 2001
* ChangeLog-2000: New file.

* docs/html/configopts.html: Make sure default values are current,

From-SVN: r38663

23 years agosparc.h (RETURN_IN_MEMORY): Return 0 for variable sized types.
Richard Kenner [Wed, 3 Jan 2001 15:50:06 +0000 (15:50 +0000)]
sparc.h (RETURN_IN_MEMORY): Return 0 for variable sized types.

* config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for variable
sized types.

From-SVN: r38662

23 years agosearch.c (lookup_fnfields_here): Remove.
Nathan Sidwell [Wed, 3 Jan 2001 15:01:16 +0000 (15:01 +0000)]
search.c (lookup_fnfields_here): Remove.

cp:
* search.c (lookup_fnfields_here): Remove.
(look_for_overrides_r): Use lookup_fnfields_1.
Ignore functions from using declarations.
testsuite:
* g++.old-deja/g++.other/virtual11.C: New test.

From-SVN: r38661

23 years agoImprove alias analysis for ia64
Bernd Schmidt [Wed, 3 Jan 2001 15:00:31 +0000 (15:00 +0000)]
Improve alias analysis for ia64

From-SVN: r38660

23 years agoImplement exceptions specifiers for implicit member functions.
Nathan Sidwell [Wed, 3 Jan 2001 14:39:10 +0000 (14:39 +0000)]
Implement exceptions specifiers for implicit member functions.

cp:
Implement exceptions specifiers for implicit member functions.
* cp-tree.h (merge_exceptions_specifiers): Declare new function.
* method.c (synthesize_exception_spec): New function.
(locate_dtor, locate_ctor, locate_copy): New functions.
(implicitly_declare_fn): Generate the exception spec too.
* search.c (check_final_overrider): Check artificial functions
too.
* typeck2.c (merge_exception_specifiers): New function.
testsuite:
* g++.old-deja/g++.eh/spec6.C: Remove remaining XFAIL.

From-SVN: r38659

23 years agoFix silliness in last change
Bernd Schmidt [Wed, 3 Jan 2001 14:29:01 +0000 (14:29 +0000)]
Fix silliness in last change

From-SVN: r38658

23 years agobuild-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
Alexandre Oliva [Wed, 3 Jan 2001 14:23:39 +0000 (14:23 +0000)]
build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.

* build-make (HOST_CFLAGS): Added `-DGENERATOR_FILE'.
* Makefile.in (HOST_CFLAGS): Mention build-make.

From-SVN: r38657

23 years agoAdd extra arg to cse_rtx_varies_p
Bernd Schmidt [Wed, 3 Jan 2001 14:08:30 +0000 (14:08 +0000)]
Add extra arg to cse_rtx_varies_p

From-SVN: r38656

23 years agosparc.md (nonlocal_goto): Emit goto_handler_and_restore as JUMP_INSN.
Richard Kenner [Wed, 3 Jan 2001 13:55:47 +0000 (13:55 +0000)]
sparc.md (nonlocal_goto): Emit goto_handler_and_restore as JUMP_INSN.

* config/sparc/sparc.md (nonlocal_goto): Emit goto_handler_and_restore
as JUMP_INSN.

From-SVN: r38655

23 years agoupdate
Jason Merrill [Wed, 3 Jan 2001 12:56:48 +0000 (07:56 -0500)]
update

From-SVN: r38654

23 years agoDon't use MEM_ALIAS_SET on a REG
Bernd Schmidt [Wed, 3 Jan 2001 12:26:52 +0000 (12:26 +0000)]
Don't use MEM_ALIAS_SET on a REG

From-SVN: r38653

23 years agosendmsg.c: Added __objc_msg_forward...
Ovidiu Predescu [Wed, 3 Jan 2001 08:50:46 +0000 (08:50 +0000)]
sendmsg.c: Added __objc_msg_forward...

Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>

* sendmsg.c: Added __objc_msg_forward, a hook that allows external
libraries to provide a function that returns the real forwarding
function. This can alleviate problems __builtin_apply() and
friends have on various platforms. (Solution suggested by Helge
Hess.)

* objc/objc-api.h: Define __objc_msg_forward.

* sendmsg.c: Define gen_rtx_REG.

From-SVN: r38652

23 years agoAdded __objc_msg_forward...
Ovidiu Predescu [Wed, 3 Jan 2001 08:49:34 +0000 (08:49 +0000)]
Added __objc_msg_forward...

Added __objc_msg_forward, a hook that allows external libraries to
provide a function that returns the real forwarding function. This can
alleviate problems __builtin_apply() and friends have on various
platforms. (Solution suggested by Helge Hess.)

From-SVN: r38651

23 years agoAdded __objc_msg_forward...
Ovidiu Predescu [Wed, 3 Jan 2001 08:49:02 +0000 (08:49 +0000)]
Added __objc_msg_forward...

Added __objc_msg_forward, a hook that allows external libraries to
provide a function that returns the real forwarding function. This can
alleviate problems __builtin_apply() and friends have on various
platforms. (Solution suggested by Helge Hess.)

Define gen_rtx_REG.

From-SVN: r38650

23 years agoDaily bump.
Jeff Law [Wed, 3 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38649

23 years agocombine.c (simplify_shift_const): Even if we're sign-extracting...
Alexandre Oliva [Wed, 3 Jan 2001 06:47:28 +0000 (06:47 +0000)]
combine.c (simplify_shift_const): Even if we're sign-extracting...

* combine.c (simplify_shift_const): Even if we're sign-extracting,
don't discard an ASHIFTRT if we're shifting in a wider mode.

From-SVN: r38648

23 years agotoplev.c (rest_of_compilation): Don't print basic block information when CFG isn...
John David Anglin [Wed, 3 Jan 2001 05:42:23 +0000 (05:42 +0000)]
toplev.c (rest_of_compilation): Don't print basic block information when CFG isn't up to date.

* toplev.c (rest_of_compilation): Don't print basic block information
when CFG isn't up to date.

From-SVN: r38647

23 years ago* gcc.c-torture/compile/20010102-1.c: New test.
Kaveh R. Ghazi [Wed, 3 Jan 2001 04:39:40 +0000 (04:39 +0000)]
* gcc.c-torture/compile/20010102-1.c: New test.

From-SVN: r38646

23 years agoUpdate copyright.
Jeff Law [Wed, 3 Jan 2001 04:04:56 +0000 (21:04 -0700)]
Update copyright.

From-SVN: r38645

23 years agodjgpp.h (DWARF2_DEBUGGING_INFO): Define.
Mark Elbrecht [Wed, 3 Jan 2001 04:00:53 +0000 (04:00 +0000)]
djgpp.h (DWARF2_DEBUGGING_INFO): Define.

        * config/i386/djgpp.h (DWARF2_DEBUGGING_INFO): Define.
        (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_ASM_OP): Define.
        (UNALIGNED_SHORT_ASM_OP): Define.
        (CPP_PREDEFINES): Remove defines for GO32 and DJGPP.

From-SVN: r38644

23 years agoinit.c (build_default_init): New fn.
Jason Merrill [Wed, 3 Jan 2001 03:28:51 +0000 (22:28 -0500)]
init.c (build_default_init): New fn.

        * init.c (build_default_init): New fn.
        (perform_member_init): Split out from here.
        (build_new_1): Use it.  Simplify initialization logic.
        (build_vec_init): Take an array, rather than a pointer and maxindex.
        Speed up simple initializations.  Don't clean up if we're assigning.
        * cp-tree.h: Adjust.
        * decl2.c (do_static_initialization): Remove TREE_VEC case.
        * parse.y (new_initializer): Return void_zero_node for ().
        * typeck.c (build_modify_expr): Handle getting a CONSTRUCTOR.
        * typeck2.c (digest_init): Only complain about user-written
        CONSTRUCTORs.

From-SVN: r38643

23 years ago* decl2.c: (max_tinst_depth): Increase to 50.
Mike Stump [Wed, 3 Jan 2001 01:11:18 +0000 (01:11 +0000)]
* decl2.c: (max_tinst_depth): Increase to 50.

From-SVN: r38642

23 years agoclass.c (invalidate_class_lookup_cache): Zero the previous_class_values.
Mark Mitchell [Wed, 3 Jan 2001 00:24:04 +0000 (00:24 +0000)]
class.c (invalidate_class_lookup_cache): Zero the previous_class_values.

* class.c (invalidate_class_lookup_cache): Zero the
previous_class_values.
* cp-tree.h (TMPL_PARMS_DEPTH): Use TREE_INT_CST_LOW, not
TREE_INT_CST_HIGH.
(CLASSTYPE_TEMPLATE_LEVEL): Likewise.
* decl.c (free_bindings): New variable.
(push_binding): Don't create a new binding if we have one on the
free list.
(pop_binding): Put old bindings on the free list.
(init_decl_processing): Use size_int, not build_int_2.
Register free_bindings as a GC root.
(cp_make_fname_decl): Use size_int, not build_int_2.
(push_inline_template_parms_recursive): Likewise.
(end_template_parm_list): Likewise.
(for_each_tempalte_parm): Do not use walk_tree_without_duplicates.
(tsubst_template_parms): Use size_int, not build_int_2.
(tsubst): Likewise.
* rtti.c (get_vmi_pseudo_type_info): Likewise.

From-SVN: r38641

23 years ago* fold-const.c (fold_convert): Fix typo.
Mark Mitchell [Wed, 3 Jan 2001 00:13:33 +0000 (00:13 +0000)]
* fold-const.c (fold_convert): Fix typo.

From-SVN: r38640

23 years agoScrollPane.java: Wrote.
Tom Tromey [Wed, 3 Jan 2001 00:07:13 +0000 (00:07 +0000)]
ScrollPane.java: Wrote.

* java/awt/ScrollPane.java: Wrote.
* java/awt/peer/ScrollPanePeer.java (setBlockIncrement): New
method.

* java/awt/Panel.java (Panel()): Fixed.

* java/awt/Component.java (isShowing): Return false if no peer
exists, and true if component is visible and no parent exists.
(getLocationOnScreen): Wrote.
(getPreferredSize): Removed FIXME comment.
(getMinimumSize): Likewise.
(getAlignmentX, getAlignmentY): Wrote.
(list): Wrote.
(requestFocus): Wrote.
(transferFocus): Wrote.
(findNextFocusComponent): New method.
(hasFocus()): Wrote.
(checkImage): Wrote.
(enableEvents): Call setEventMask on the peer.

* java/awt/Container.java (list): Use super.list() to print self.
(findNextFocusComponent): New method.
(setLayout): Call invalidate.
(findComponentAt): Wrote.

From-SVN: r38639

23 years agoc-common.h (ASM_INPUT_P): New.
Richard Henderson [Tue, 2 Jan 2001 23:49:45 +0000 (15:49 -0800)]
c-common.h (ASM_INPUT_P): New.

        * c-common.h (ASM_INPUT_P): New.
        * c-parse.in (asm): Set it when needed.
        * c-semantics.c (genrtl_asm_stmt): Test it instead of the
        existance of an operand.

        * cp/parse.y (asm): Set ASM_INPUT_P.

From-SVN: r38638

23 years ago* typeck.c (build_binary_op): Fix pmf comparison logic.
Jason Merrill [Tue, 2 Jan 2001 20:14:57 +0000 (15:14 -0500)]
* typeck.c (build_binary_op): Fix pmf comparison logic.

From-SVN: r38637

23 years agotree.c (cp_valid_lang_attribute): Don't set CLASSTYPE_COM_INTERFACE for v3 ABI.
Jason Merrill [Tue, 2 Jan 2001 19:48:02 +0000 (14:48 -0500)]
tree.c (cp_valid_lang_attribute): Don't set CLASSTYPE_COM_INTERFACE for v3 ABI.

        * tree.c (cp_valid_lang_attribute): Don't set CLASSTYPE_COM_INTERFACE
        for v3 ABI.

        * typeck.c (cp_truthvalue_conversion): New fn.
        * cvt.c (ocp_convert): Use it.

        * cp-tree.h: Lose c-common.c decls.

        * typeck.c (build_unary_op): Restore old &a.f diagnostic code.
        * cvt.c (convert_to_void): Use type_unknown_p.

From-SVN: r38636

23 years agotweak formatting
Jason Merrill [Tue, 2 Jan 2001 19:37:39 +0000 (14:37 -0500)]
tweak formatting

From-SVN: r38635

23 years agodwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
Jan Hubicka [Tue, 2 Jan 2001 19:29:12 +0000 (20:29 +0100)]
dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.

* dwarf2out.c (stack_adjust_offset): Handle PRE_MODIFY.
(dwarf2out_frame_debug_expr): Likewise.
(mem_loc_descriptor): Handle PRE and POST_MODIFY.

From-SVN: r38634

23 years agoi386.c (ix86_split_to_parts): Return number of part required; handle TFmodes.
Jan Hubicka [Tue, 2 Jan 2001 19:24:27 +0000 (20:24 +0100)]
i386.c (ix86_split_to_parts): Return number of part required; handle TFmodes.

* i386.c (ix86_split_to_parts): Return number of part required;
handle TFmodes.
(print_operand, ix86_expand_branch, ix86_expand_fp_movcc): Handle
TFmodes.
(ix86_split_long_move): Use number of part returned
by ix86_split_to_parts
* i386.h (MASK_128BIT_LONG_DOUBLE, TARGET_128BIT_LONG_DOUBLE):
New macros.
(TARGET_SWITCHES): Add 128bit-long-double and 96bit-long-double
(LONG_DOUBLE_TYPE_SIZE): Change from constant.
(MAX_LONG_DOUBLE_TYPE_SIZE): New macro.
(INTEL_EXTENDED_IEEE_FORMAT): Likewise.
(ALIGN_MODE_128): Add TFmode.
(IS_STACK_MODE): Likewise.
(HARD_REGNO_NREGS): TFmode needs 3 registers.
(HARD_REGNO_OK): Support TFmodes.
(ASM_OUTPUT_LONG_DOUBLE): Handle TFmodes.
* i386.md (scheduler definitions): Use memory operand to determine
fst/fld instructions; use mode attribute to determine real mode of
the instruction.
(*tf): New patterns, expanders and splitters; based on XFmode patterns.
* invoke.texi (128bit-long-double, 96bit-long-double): Document.

From-SVN: r38633

23 years agoUpdate copyright
Mark Mitchell [Tue, 2 Jan 2001 18:19:28 +0000 (18:19 +0000)]
Update copyright

From-SVN: r38632

23 years ago* tree.def (TRUTH_NOT_EXPR): Improve documentation.
Mark Mitchell [Tue, 2 Jan 2001 18:15:18 +0000 (18:15 +0000)]
* tree.def (TRUTH_NOT_EXPR): Improve documentation.

From-SVN: r38631

23 years agoFix last change
Richard Kenner [Tue, 2 Jan 2001 16:46:26 +0000 (11:46 -0500)]
Fix last change

From-SVN: r38630

23 years agoexpr.c (store_constructor_field): Update ALIGN before calling store_constructor.
Richard Kenner [Tue, 2 Jan 2001 16:40:35 +0000 (11:40 -0500)]
expr.c (store_constructor_field): Update ALIGN before calling store_constructor.

* expr.c (store_constructor_field): Update ALIGN before calling
store_constructor.

From-SVN: r38629

23 years agoInitial version.
Chandra Chavva [Tue, 2 Jan 2001 16:37:39 +0000 (11:37 -0500)]
Initial version.

From-SVN: r38628

23 years agomips.c (function_arg): Don't pass NULL_TREE to host_integerp.
Jeffrey Oldham [Tue, 2 Jan 2001 16:09:56 +0000 (16:09 +0000)]
mips.c (function_arg): Don't pass NULL_TREE to host_integerp.

2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>

* config/mips/mips.c (function_arg): Don't pass NULL_TREE to
host_integerp.

From-SVN: r38627

23 years agotm.texi (FUNCTION_ARG): Document that @var{type} can be an incomplete type.
Jeffrey Oldham [Tue, 2 Jan 2001 16:03:50 +0000 (16:03 +0000)]
tm.texi (FUNCTION_ARG): Document that @var{type} can be an incomplete type.

2001-01-02  Jeffrey Oldham  <oldham@codesourcery.com>

* tm.texi (FUNCTION_ARG): Document that @var{type} can be an
incomplete type.

From-SVN: r38626

23 years ago* c-decl.c (start_function): Don't warn on third parameter to main.
Richard Kenner [Tue, 2 Jan 2001 15:58:16 +0000 (10:58 -0500)]
* c-decl.c (start_function): Don't warn on third parameter to main.

From-SVN: r38625

23 years agoltcf-c.sh: clear ac_cv_prog_cc_pic for DJGPP.
Laurynas Biveinis [Tue, 2 Jan 2001 15:55:07 +0000 (15:55 +0000)]
ltcf-c.sh: clear ac_cv_prog_cc_pic for DJGPP.

* ltcf-c.sh: clear ac_cv_prog_cc_pic for DJGPP. Do not add
'-DPIC' to ac_cv_prog_cc_pic for DJGPP.
* ltcf-cxx.sh: likewise.
* ltcf-gcj.sh: likewise.
* ltconfig.sh: fix typo.

From-SVN: r38624

23 years ago* tsystem.h: Define HAVE_DECL_GETOPT.
Kaveh R. Ghazi [Tue, 2 Jan 2001 15:51:11 +0000 (15:51 +0000)]
* tsystem.h: Define HAVE_DECL_GETOPT.

From-SVN: r38623

23 years ago* config/mh-djgpp: do not set CFLAGS.
Laurynas Biveinis [Tue, 2 Jan 2001 15:46:33 +0000 (15:46 +0000)]
* config/mh-djgpp: do not set CFLAGS.

From-SVN: r38622

23 years ago* configure: handle DOS-style absolute paths.
Laurynas Biveinis [Tue, 2 Jan 2001 15:44:40 +0000 (15:44 +0000)]
* configure: handle DOS-style absolute paths.

From-SVN: r38621

23 years ago* configure.in: remove supported directories from $noconfigdirs for DJGPP.
Laurynas Biveinis [Tue, 2 Jan 2001 15:36:25 +0000 (15:36 +0000)]
* configure.in: remove supported directories from $noconfigdirs for DJGPP.

From-SVN: r38620

23 years agotypeck.c (strip_all_pointer_quals): Also strip quals from pointer-to-member types.
Jason Merrill [Tue, 2 Jan 2001 15:20:30 +0000 (10:20 -0500)]
typeck.c (strip_all_pointer_quals): Also strip quals from pointer-to-member types.

        * typeck.c (strip_all_pointer_quals): Also strip quals from
        pointer-to-member types.

        * Make-lang.in (cp/TAGS): Use --no-globals.  Ignore parse.c, and treat
        parse.y as C.

        * call.c (build_new_method_call): Do evaluate the object parameter
        when accessing a static member.
        * typeck.c (build_component_ref): Likewise.

From-SVN: r38619

23 years agoFix illegal asm
Philip Blundell [Tue, 2 Jan 2001 13:38:41 +0000 (13:38 +0000)]
Fix illegal asm

From-SVN: r38618

23 years agoUpdate comment
Richard Kenner [Tue, 2 Jan 2001 09:56:43 +0000 (04:56 -0500)]
Update comment

From-SVN: r38617

23 years agoDaily bump.
Jeff Law [Tue, 2 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38616

23 years ago* alpha.md (*ze_and_ne): Duplicate insn condition to split.
Richard Henderson [Tue, 2 Jan 2001 08:07:17 +0000 (00:07 -0800)]
* alpha.md (*ze_and_ne): Duplicate insn condition to split.

From-SVN: r38615

23 years agostd_cwchar.h: Same.
Benjamin Kosnik [Tue, 2 Jan 2001 07:38:47 +0000 (07:38 +0000)]
std_cwchar.h: Same.

2001-01-01  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

* include/c_std/bits/std_cwchar.h: Same.
* testsuite/17_intro/header_cwchar.cc: Same.
* include/c_std/bits/std_ctime.h: Same.
* testsuite/17_intro/header_ctime.cc: Same.
* include/c_std/bits/std_cstdlib.h: Same.
Clean up undefs, make consistent with cwchar and cmath, etc.
* testsuite/17_intro/header_cstdlib.cc: Same.
* include/c_std/bits/std_cstdio.h: Same here.
* testsuite/17_intro/header_cstring.cc: Same.
* include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
* testsuite/17_intro/header_cstring.cc: New file. Check for
size_t in namespace std.

* include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
* acconfig.h (HAVE_MBSTATE_T): Add.
* config.h.in: Regenerate.
* acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
mbstate_t.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/17_intro/headers_c++.cc: New file.
* testsuite/17_intro/headers_c.cc: Small changes.

From-SVN: r38614

23 years agodecl.c (cp_missing_noreturn_ok_p): New.
Andreas Jaeger [Tue, 2 Jan 2001 07:02:50 +0000 (08:02 +0100)]
decl.c (cp_missing_noreturn_ok_p): New.

* decl.c (cp_missing_noreturn_ok_p): New.
(init_decl_processing): Set lang_missing_noreturn_ok_p.

From-SVN: r38613

23 years agoc-decl.c (c_decode_option): Remove support of -Wmissing-noreturn.
Andreas Jaeger [Tue, 2 Jan 2001 07:00:49 +0000 (08:00 +0100)]
c-decl.c (c_decode_option): Remove support of -Wmissing-noreturn.

* c-decl.c (c_decode_option): Remove support of
-Wmissing-noreturn.

* toplev.c (documented_lang_options): Remove -Wmissing-noreturn.
(W_options): Add -Wmissing-noreturn here.

* flow.c: Define lang_missing_noreturn_ok_p.
(check_function_return_warnings): Use it.

* c-common.h: Declare lang_missing_noreturn_ok_p.

* c-lang.c (c_missing_noreturn_ok_p): New function.
(lang_init): Set lang_missing_noreturn_ok_p.

* invoke.texi (Warning Options): Document this.

From-SVN: r38612

23 years agoNew tests for noreturn.
Andreas Jaeger [Tue, 2 Jan 2001 06:55:11 +0000 (07:55 +0100)]
New tests for noreturn.

From-SVN: r38611

23 years agoextend.texi (C++ Extensions): New node for C++ attributes; describe init_priority...
Phil Edwards [Tue, 2 Jan 2001 02:56:01 +0000 (02:56 +0000)]
extend.texi (C++ Extensions): New node for C++ attributes; describe init_priority and com_interface.

2000-12-27  Phil Edwards  <pme@sources.redhat.com>

* extend.texi (C++ Extensions):  New node for C++ attributes;
  describe init_priority and com_interface.
* invoke.texi:  Remove -finit-priority as it now has zero effect.
* install.texi:  Fix xref syntax.
* md.texi:  Likewise.

From-SVN: r38610

23 years agoconfig.gcc (sparc64-wrs-vxworks*): New case.
Richard Kenner [Tue, 2 Jan 2001 02:53:47 +0000 (02:53 +0000)]
config.gcc (sparc64-wrs-vxworks*): New case.

* config.gcc (sparc64-wrs-vxworks*): New case.
* config/sparc/vxsparc64.h, config/sparc/t-vxsparc64: New files.

From-SVN: r38609

23 years agosparc.c (sparc_override_options): Do support different pointer and architecture size.
Richard Kenner [Tue, 2 Jan 2001 02:45:03 +0000 (02:45 +0000)]
sparc.c (sparc_override_options): Do support different pointer and architecture size.

* config/sparc/sparc.c (sparc_override_options): Do support different
pointer and architecture size.
* config/sparc/sparc.h (MIN_UNITS_PER_WORD): Always 4.
(POINTERS_EXTEND_UNSIGNED): Define.
(Pmode): Test TARGET_ARCH64, not TARGET_PTR64.
(FUNCTION_MODE): Define to be Pmode.
* config/sparc/sparc.md (64-bit call patterns): FUNCTION_MODE now DI.

From-SVN: r38608

23 years agofunction.c (expand_function_end): Properly handle DECL_RESULT and copy when ptr_mode...
Richard Kenner [Tue, 2 Jan 2001 02:31:22 +0000 (02:31 +0000)]
function.c (expand_function_end): Properly handle DECL_RESULT and copy when ptr_mode != Pmode.

* function.c (expand_function_end): Properly handle DECL_RESULT
and copy when ptr_mode != Pmode.
* expmed.c (make_tree): Convert X from Pmode to ptr_mode, if needed.

From-SVN: r38607

23 years agoupdate copyrights
Kaveh Ghazi [Tue, 2 Jan 2001 02:04:52 +0000 (02:04 +0000)]
update copyrights

From-SVN: r38606

23 years agoc-common.c (c_common_nodes_and_builtins): Set prototype parameters for __builtin_fput...
Kaveh R. Ghazi [Tue, 2 Jan 2001 01:56:55 +0000 (01:56 +0000)]
c-common.c (c_common_nodes_and_builtins): Set prototype parameters for __builtin_fputs, __builtin_fputc and __builtin_fwrite.

* c-common.c (c_common_nodes_and_builtins): Set prototype
parameters for __builtin_fputs, __builtin_fputc and
__builtin_fwrite.  Don't declare plain fputc as a builtin.

testsuite:
* gcc.c-torture/execute/stdio-opt-1.c: Also test
__builtin_fputc and __builtin_fwrite.

From-SVN: r38605

23 years agotm.texi (REGISTER_MOVE_COST): Add a mode argument.
Alexandre Oliva [Tue, 2 Jan 2001 00:59:52 +0000 (00:59 +0000)]
tm.texi (REGISTER_MOVE_COST): Add a mode argument.

* tm.texi (REGISTER_MOVE_COST): Add a mode argument.
* reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
* reload1.c (REGISTER_MOVE_COST): Likewise.
* regclass.c (REGISTER_MOVE_COST): Likewise.
(move_cost, may_move_in_cost, may_move_out_cost): Add mode
dimension.  Adjust all users.
(init_reg_sets_1): Iterate on all modes.
* config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
* config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
* config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
* config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
* config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
* config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
* config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
* config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
* config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
* config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
* config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
* config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
* config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
* config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
* config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
* config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
* config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
* config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
* config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
* config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
* config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
* config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
* config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
* config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
* config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
* config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.

From-SVN: r38604

23 years agoloop.c (add_label_notes): Increment the label usage count when a note is added to...
John David Anglin [Tue, 2 Jan 2001 00:58:27 +0000 (00:58 +0000)]
loop.c (add_label_notes): Increment the label usage count when a note is added to an insn which refers to...

        * loop.c (add_label_notes): Increment the label usage count when
        a note is added to an insn which refers to a CODE_LABEL.
        * gcse.c (add_label_notes): Likewise.

From-SVN: r38603

23 years agomore README info
Bruce Korb [Tue, 2 Jan 2001 00:35:51 +0000 (00:35 +0000)]
more README info

From-SVN: r38601

23 years agoupdate the README for fixinc
Bruce Korb [Tue, 2 Jan 2001 00:27:20 +0000 (00:27 +0000)]
update the README for fixinc

From-SVN: r38600

23 years agotests_flags.in: Fix typo in usage.
David Billinghurst [Mon, 1 Jan 2001 23:14:43 +0000 (23:14 +0000)]
tests_flags.in: Fix typo in usage.

        * tests_flags.in: Fix typo in usage.

        * tests_flags.in: Set target specific LIBS for cygwin.

From-SVN: r38599

23 years ago* loop.c (scan_loop): Use xmalloc to allocate movables.
Andreas Jaeger [Mon, 1 Jan 2001 22:20:49 +0000 (23:20 +0100)]
* loop.c (scan_loop): Use xmalloc to allocate movables.

From-SVN: r38598

23 years agotm.texi (REGISTER_MOVE_COST): Add a mode argument.
Alexandre Oliva [Mon, 1 Jan 2001 20:35:36 +0000 (20:35 +0000)]
tm.texi (REGISTER_MOVE_COST): Add a mode argument.

* tm.texi (REGISTER_MOVE_COST): Add a mode argument.
* reload.c (REGISTER_MOVE_COST): Likewise.  Adjust all callers.
* reload1.c (REGISTER_MOVE_COST): Likewise.
* regclass.c (REGISTER_MOVE_COST): Likewise.
(move_cost, may_move_in_cost, may_move_out_cost): Add mode
dimension.  Adjust all users.
(init_reg_sets_1): Iterate on all modes.
* config/1750a/1750a.h (REGISTER_MOVE_COST): Adjust.
* config/a29k/a29k.h (REGISTER_MOVE_COST): Adjust.
* config/alpha/alpha.h (REGISTER_MOVE_COST): Adjust.
* config/arc/arc.h (REGISTER_MOVE_COST): Adjust.
* config/arm/arm.h (REGISTER_MOVE_COST): Adjust.
* config/avr/avr.h (REGISTER_MOVE_COST): Adjust.
* config/c4x/c4x.h (REGISTER_MOVE_COST): Adjust.
* config/d30v/d30v.h (REGISTER_MOVE_COST): Adjust.
* config/dsp16xx/dsp16xx.h (REGISTER_MOVE_COST): Adjust.
* config/h8300/h8300.h (REGISTER_MOVE_COST): Adjust.
* config/i386/i386.h (REGISTER_MOVE_COST): Adjust.
* config/ia64/ia64.h (REGISTER_MOVE_COST): Adjust.
* config/m32r/m32r.h (REGISTER_MOVE_COST): Adjust.
* config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Adjust.
* config/m68k/m68k.h (REGISTER_MOVE_COST): Adjust.
* config/mcore/mcore.h (REGISTER_MOVE_COST): Adjust.
* config/mips/mips.h (REGISTER_MOVE_COST): Adjust.
* config/mn10200/mn10200.h (REGISTER_MOVE_COST): Adjust.
* config/mn10300/mn10300.h (REGISTER_MOVE_COST): Adjust.
* config/ns32k/ns32k.h (REGISTER_MOVE_COST): Adjust.
* config/pa/pa.h (REGISTER_MOVE_COST): Adjust.
* config/pdp11/pdp11.h (REGISTER_MOVE_COST): Adjust.
* config/pj/pj.h (REGISTER_MOVE_COST): Adjust.
* config/romp/romp.h (REGISTER_MOVE_COST): Adjust.
* config/rs6000/rs6000.h (REGISTER_MOVE_COST): Adjust.
* config/sh/sh.h (REGISTER_MOVE_COST): Adjust.
* config/sparc/sparc.h (REGISTER_MOVE_COST): Adjust.

From-SVN: r38597

23 years agoExtra arg for rtx_varies_p
Bernd Schmidt [Mon, 1 Jan 2001 17:20:09 +0000 (17:20 +0000)]
Extra arg for rtx_varies_p

From-SVN: r38590

23 years agoexplow.c (convert_memory_address, [...]): Copy STRING_POOL_ADDRESS_P.
Richard Kenner [Mon, 1 Jan 2001 14:04:25 +0000 (14:04 +0000)]
explow.c (convert_memory_address, [...]): Copy STRING_POOL_ADDRESS_P.

* explow.c (convert_memory_address, case SYMBOL_REF): Copy
STRING_POOL_ADDRESS_P.

From-SVN: r38589

23 years ago* config/sparc/sparc.c (input_operand): Properly test for short op.
Richard Kenner [Mon, 1 Jan 2001 13:52:04 +0000 (13:52 +0000)]
* config/sparc/sparc.c (input_operand): Properly test for short op.

From-SVN: r38588

23 years agoconfig.gcc (sparc-*-elf): Include sparc/sol2.h.
Richard Kenner [Mon, 1 Jan 2001 13:19:20 +0000 (13:19 +0000)]
config.gcc (sparc-*-elf): Include sparc/sol2.h.

* config.gcc (sparc-*-elf): Include sparc/sol2.h.
(sparc-*-rtems*): Include sparc/sol2.h and sparc/elf.h.
(sparclite-*-elf*, sparc86x-*-elf*): Likewise.
* config/sparc/elf.h: No longer include sol2.h.
* config/sparc/lifeelf.h: No longer include sparc/elf.h.
* config/sparc/rtemself.h, config/sparc/sp86x-elf.h: Likewise.

From-SVN: r38587

23 years ago* config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
Richard Kenner [Mon, 1 Jan 2001 12:39:22 +0000 (12:39 +0000)]
* config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.

From-SVN: r38586

23 years agoDaily bump.
Jeff Law [Mon, 1 Jan 2001 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38585

23 years agoloop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
Michael Hayes [Mon, 1 Jan 2001 01:04:01 +0000 (01:04 +0000)]
loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.

* loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
(find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
(record_initial): Likewise.
* unroll.c (copy_loop_body, loop_iterations): Likewise.
(remap_split_bivs): Likewise.

From-SVN: r38584

23 years agoloop.c (loop_ivs_free): New function.
Michael Hayes [Mon, 1 Jan 2001 00:53:38 +0000 (00:53 +0000)]
loop.c (loop_ivs_free): New function.

* loop.c (loop_ivs_free): New function.
(strength_reduce): Break out from...

From-SVN: r38583

23 years agoloop.h (struct iv): New.
Michael Hayes [Mon, 1 Jan 2001 00:49:30 +0000 (00:49 +0000)]
loop.h (struct iv): New.

* loop.h (struct iv): New.
(REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
(struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
'reg_biv_class' fields with 'regs' and 'n_regs'.
(struct ivs): Rename 'loop_iv_list' field to 'list'.
* loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
* unroll.c (loop_iterations): Check array bounds with ivs->n_regs.

From-SVN: r38582

23 years agoresource.c (mark_referenced_resources): Abort() before attempting to mark a pseudo...
Alexandre Oliva [Mon, 1 Jan 2001 00:43:16 +0000 (00:43 +0000)]
resource.c (mark_referenced_resources): Abort() before attempting to mark a pseudo register.

* resource.c (mark_referenced_resources): Abort() before
attempting to mark a pseudo register.
(mark_set_resources): Likewise.

From-SVN: r38581

23 years agoloop.h (REG_IV_CLASS): New accessor macro.
Michael Hayes [Mon, 1 Jan 2001 00:37:09 +0000 (00:37 +0000)]
loop.h (REG_IV_CLASS): New accessor macro.

* loop.h (REG_IV_CLASS): New accessor macro.
* loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
* unroll.c (REG_IV_CLASS): Likewise.

From-SVN: r38580

23 years agodwarf2out.c (loc_descriptor_from_tree, [...]): New.
Richard Kenner [Mon, 1 Jan 2001 00:27:11 +0000 (00:27 +0000)]
dwarf2out.c (loc_descriptor_from_tree, [...]): New.

* dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
(loc_descriptor_from_tree, case SAVE_EXPR): New.

From-SVN: r38579

23 years agoloop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
Michael Hayes [Mon, 1 Jan 2001 00:24:46 +0000 (00:24 +0000)]
loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.

* loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
(loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
(prescan_loop): Set pre_header_has_call in loop_info.
* loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
(struct loop_info): Add `pre_header_has_call'.

From-SVN: r38578

23 years agoloop.c (loop_bivs_find): Break out from strength_reduce.
Michael Hayes [Mon, 1 Jan 2001 00:21:14 +0000 (00:21 +0000)]
loop.c (loop_bivs_find): Break out from strength_reduce.

* loop.c (loop_bivs_find): Break out from strength_reduce.
(loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
(loop_givs_check, loop_biv_eliminable_p): Likewise.

From-SVN: r38577

23 years agoloop.c (LOOP_REG_LIFETIME, [...]): Define.
Michael Hayes [Mon, 1 Jan 2001 00:17:45 +0000 (00:17 +0000)]
loop.c (LOOP_REG_LIFETIME, [...]): Define.

* loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
(scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.

From-SVN: r38576

23 years agoloop.h (REGNO_FIRST_LUID, [...]): Define.
Michael Hayes [Mon, 1 Jan 2001 00:14:30 +0000 (00:14 +0000)]
loop.h (REGNO_FIRST_LUID, [...]): Define.

* loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
* loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
direct access to uid_luid array.
* unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.

From-SVN: r38575

23 years ago* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
Alexandre Oliva [Mon, 1 Jan 2001 00:06:50 +0000 (00:06 +0000)]
* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.

From-SVN: r38574

23 years agoloop.h (struct loop_movables): New.
Michael Hayes [Mon, 1 Jan 2001 00:03:17 +0000 (00:03 +0000)]
loop.h (struct loop_movables): New.

* loop.h (struct loop_movables): New.
(LOOP_MOVABLES): New.
(struct loop_info): Add movables field.
* loop.c (struct movables): Delete.  Replace all uses
with struct loop_movables.
(the_movables): Delete.  Replace all uses with movables
field in loop_info.
(loop_movables_add, loop_movables_free): New functions.
(scan_loop): Use xmalloc instead of alloca for movables.
Call loop_movables_free.

From-SVN: r38573