platform/upstream/linaro-gcc.git
22 years agoAdd xscale-elf support
green [Fri, 8 Feb 2002 14:46:36 +0000 (14:46 +0000)]
Add xscale-elf support

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49616 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
tromey [Fri, 8 Feb 2002 14:18:24 +0000 (14:18 +0000)]
2002-02-08  Martin Kahlert  <martin.kahlert@infineon.com>

* jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
dereferenced.
(_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
frame.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49615 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Feb 2002 12:59:49 +0000 (12:59 +0000)]
2002-02-08   Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.h
(numpunct<_CharT>::_M_initialize_numpunct): Remove definition.
(__timepunct<_CharT>::_M_initialize_timepunct): Same.
(__timepunct<_CharT>::_M_put_helper): Same.
(moneypunct<_CharT, _Intl>::_M_initialize_moneypunct): Same.

* include/bits/fstream.tcc (filebuf::underflow): Remove
__codecvt_type typedef.
(filebuf::_M_convert_to_external): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49614 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Fri, 8 Feb 2002 08:16:18 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49612 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
rth [Fri, 8 Feb 2002 08:12:29 +0000 (08:12 +0000)]
    * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49611 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
aj [Fri, 8 Feb 2002 07:53:36 +0000 (07:53 +0000)]
* config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
* config/i386/t-linux64: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49610 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
jakub [Fri, 8 Feb 2002 07:51:19 +0000 (07:51 +0000)]
* c-common.c (c_expand_expr): Revert 2002-02-06 patch.
* c-parse.in (compstmt): Clear last_expr_type.

* parse.y (primary, primary_no_id): Use compstmt_or_stmtexpr
instead of compstmt.
(compstmt_or_stmtexpr): Renamed from compstmt.
(compstmt): In addition to compstmt_or_stmtexpr clear last_expr_type.

* gcc.c-torture/execute/20020206-1.c: Test whether nesting 2
expression statements work instead.
* gcc.dg/noncompile/20020207-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49609 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-08 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 8 Feb 2002 07:34:54 +0000 (07:34 +0000)]
2002-02-08  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/TODO:  Update.
* docs/doxygen/doxygroups.cc:  Tweak __gnu_cxx description.
* docs/doxygen/mainpage.html:  Add TODO list link.
* docs/doxygen/user.cfg.in:  Add @doctodo hook.
* docs/doxygen/tables.html:  New file, emoty structure only.

* include/bits/stl_iterator.h:  Doxygenate just about everything.
* include/bits/stl_iterator_base_funcs.h:  Ditto, clean up spaces.
* include/bits/stl_iterator_base_types.h:  Add notes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49608 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/io/natFile.cc (_access): Use __builtin_alloca.
tromey [Fri, 8 Feb 2002 04:48:03 +0000 (04:48 +0000)]
* java/io/natFile.cc (_access): Use __builtin_alloca.
(_stat): Likewise.
(attr): Likewise.
(getCanonicalPath): Likewise.
(performList): Likewise.
(performMkdir): Likewise.
(performSetReadOnly): Likewise.
(performRenameTo): Likewise.
(performSetLastModified): Likewise.
(performCreate): Likewise.
(performDelete): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49607 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * loop.c (strength_reduce): Sink final_value when not
rth [Fri, 8 Feb 2002 03:36:35 +0000 (03:36 +0000)]
    * loop.c (strength_reduce): Sink final_value when not
        eliminating a biv.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49606 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/debug/dwarf2-1.c (foo): Return a value.
rth [Fri, 8 Feb 2002 03:34:02 +0000 (03:34 +0000)]
    * gcc.dg/debug/dwarf2-1.c (foo): Return a value.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49605 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReformatted a changelog entry
megacz [Fri, 8 Feb 2002 03:12:51 +0000 (03:12 +0000)]
Reformatted a changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49604 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 8 Feb 2002 02:49:25 +0000 (02:49 +0000)]
2002-02-07  David O'Brien  <obrien@FreeBSD.org>
* config/sparc/freebsd.h: Fix mismatched spec {.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49603 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 Stephan Buys <sbproxy@icon.co.za>
pme [Fri, 8 Feb 2002 02:19:06 +0000 (02:19 +0000)]
2002-02-07  Stephan Buys  <sbproxy@icon.co.za>

* include/bits/stl_map.h:  Tweak doxygen markup.
* include/bits/stl_multimap.h:  Doxygenate and remove extra spaces.
* include/bits/stl_vector.h:  Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49602 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Feb 2002 01:34:41 +0000 (01:34 +0000)]
2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/5286
libstdc++/3860
* include/std/std_fstream.h (filebuf::__file_type): Change to
__basic_file<char>.
(filebuf::_M_convert_to_external): Declare.
* include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define
codecvt bits for wide streams.
(filebuf::_M_really_overflow): Use it.
(filebuf::underflow): Use codecvt.
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
(codecvt<__enc_traits>::do_out): Deal with partial.
(codecvt<__enc_traits>::do_encoding): Return something useful.
* src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof
wchar_t.
* testsuite/22_locale/codecvt_members_unicode_char.cc (test01):
Change expected encoding output.
(test02): Same.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same.
(test02): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49601 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * HACKING: Fix URL for the automake-gcj.
bryce [Fri, 8 Feb 2002 01:22:47 +0000 (01:22 +0000)]
* HACKING: Fix URL for the automake-gcj.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49600 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Fri, 8 Feb 2002 00:38:29 +0000 (00:38 +0000)]
2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

* lib/prune.exp: Remove "In (program|subroutine"block-data)"
message from g77
* lib/g77-dg.exp: Trim g77 error messages so that they are
recognised by dg.exp.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49599 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c: Include recog.h and insn-config.h.
rth [Fri, 8 Feb 2002 00:35:15 +0000 (00:35 +0000)]
    * cfgrtl.c: Include recog.h and insn-config.h.
        (keep_with_call_p): Fix general_operand invocation.
        * Makefile.in (cfgrtl.o): Update dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49598 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
kazu [Fri, 8 Feb 2002 00:26:36 +0000 (00:26 +0000)]
* config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
comment.  Accept HImode only if TARGET_H8300.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49597 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
rth [Thu, 7 Feb 2002 23:53:29 +0000 (23:53 +0000)]
    * adaint.c (__gnat_to_gm_time): First arg is int, not time_t.
        * adaint.h (__gnat_to_gm_time): Update prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49596 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 Eric Christopher <echristo@redhat.com>
echristo [Thu, 7 Feb 2002 23:43:23 +0000 (23:43 +0000)]
2002-02-07  Eric Christopher  <echristo@redhat.com>

* config/mips/crtn.asm: Cleanup #ifdefs.

Add ChangeLog entry for previous patch that didn't seem to make it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49595 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 7 Feb 2002 23:30:12 +0000 (23:30 +0000)]
2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

PR fortran/5473
* g77.dg/pr5473.f: Now dg-error.  Add additional cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49594 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix for string-opt-7 failure on rs6000 -maix64.
trix [Thu, 7 Feb 2002 21:57:55 +0000 (21:57 +0000)]
Fix for string-opt-7 failure on rs6000 -maix64.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49593 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory
rth [Thu, 7 Feb 2002 21:49:27 +0000 (21:49 +0000)]
    * g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory
        to be sufficiently aligned for integers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49592 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Rename instantiate_type_flags to tsubst_flags_t & expand use.
nathan [Thu, 7 Feb 2002 20:51:15 +0000 (20:51 +0000)]
Rename instantiate_type_flags to tsubst_flags_t & expand use.
* cp-tree.h (instantiate_type_flags): Rename to ...
(tsubst_flags_t): ... here. Rename itf_complain to tf_error,
add tf_warning flag.
(instantiate_type): Adjust prototype.
(tsubst, tsubst_expr, tsubst_copy, lookup_template_class,
do_type_instantiation, cp_build_qualified_type_real): Likewise.
cp_build_qualified_type: Adjust.
* class.c (instantiate_type): Adjust parameter. Rename itf_* to
tf_*.
* call.c (standard_conversion): Rename itf_* to tf_*.
(reference_binding): Likewise.
(convert_like_real): Likewise.
* cvt.c (cp_convert_to_pointer): Likewise.
(convert_to_reference): Likewise.
* decl.c (lookup_namespace_name): Use tf_* flags.
(make_typename_type): Likewise.
(grokdeclarator): Likewise.
* pt.c (convert_nontype_argument): Adjust COMPLAIN usage.
(coerce_template_template_parms, convert_template_argument,
coerce_template_parms, maybe_get_template_decl_from_type_decl,
lookup_template_class, tsubst_friend_function, tsubst_friend_class,
instantiate_class_template, tsubst_template_arg_vector,
tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument,
tsubst_decl, tsubst_arg_types, tsubst_function_type,
tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr,
instantiate_template, fn_type_unification,
resolve_overloaded_unification, verify_class_unification,
unify, get_bindings_real, do_type_instantiation,
regenerate_decl_from_template, instantiate_decl,
tsubst_initializer_list, tsubst_enum,
get_mostly_instantiated_function_type,
invalid_nontype_parm_type_p): Likewise.
* tree.c (cp_build_qualified_type_real): Likewise.
* typeck.c (build_binary_op): Rename itf_* to tf_*.
(build_ptrmemfunc): Likewise.
(convert_for_assignment): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49591 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 7 Feb 2002 20:28:55 +0000 (20:28 +0000)]
2002-02-07  Benjamin Kosnik  <bkoz@redhat.com>
            Wolfgang Bangerth  <wolfgang.bangerth@iwr.uni-heidelberg.de>

* include/bits/basic_ios.tcc (basic_ios::narrow): Add default value.
(basic_ios::widen): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49590 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agocp:
nathan [Thu, 7 Feb 2002 19:49:10 +0000 (19:49 +0000)]
cp:
PR c++/109
* decl.c (grokdeclarator): Allow friend declarations from
dependant types.
* decl2.c (handle_class_head): Don't push into template parm contexts.
* pt.c (push_template_decl_real): Template parm contexts are never
being defined.
testsuite:
* g++.dg/template/friend4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49589 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcj.texi (Input Options): --CLASSPATH does not suppress system
tromey [Thu, 7 Feb 2002 19:39:27 +0000 (19:39 +0000)]
* gcj.texi (Input Options): --CLASSPATH does not suppress system
path.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49588 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 7 Feb 2002 19:27:38 +0000 (19:27 +0000)]
2002-02-07  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/money_get_members_char.cc:
Add comment, tidy up.
(test01): more "en_HK" tests (without showbase).
* testsuite/22_locale/money_get_members_wchar_t.cc: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49587 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/lang/natThrowable.cc: Updated copyright.
tromey [Thu, 7 Feb 2002 19:26:06 +0000 (19:26 +0000)]
* java/lang/natThrowable.cc: Updated copyright.
* java/io/natFileWin32.cc: Updated copyright.
* java/io/natFileDescriptorWin32.cc: Updated copyright.
* win32-threads.cc: Updated copyright.
* name-finder.cc: Updated copyright.
* include/name-finder.h: Updated copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49586 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * include/name-finder.h: Conditionally include sys/wait.h.
tromey [Thu, 7 Feb 2002 19:25:28 +0000 (19:25 +0000)]
* include/name-finder.h: Conditionally include sys/wait.h.
* include/config.h.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49585 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/io/natFile.cc (_access): Don't stack-allocate buffer.
tromey [Thu, 7 Feb 2002 19:18:35 +0000 (19:18 +0000)]
* java/io/natFile.cc (_access): Don't stack-allocate buffer.
Size buffer based on real size of string.
(_stat): Likewise.
(attr): Likewise.
(getCanonicalPath): Likewise.
(performList): Likewise.
(performMkdir): Likewise.
(performSetReadOnly): Likewise.
(unixroot): Removed.
(performRenameTo): Likewise.
(performSetLastModified): Likewise.
(performCreate): Likewise.
(performDelete): Likewise.
(performListRoots): Always return new array.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49584 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
tromey [Thu, 7 Feb 2002 18:59:52 +0000 (18:59 +0000)]
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
* win32.cc (win32_exception_handler): Now static.
* include/win32.h (_Jv_platform_initialize): Declare.
(win32_exception_handler): Don't declare.
* java/lang/natSystem.cc (currentTimeMillis): Use
_Jv_platform_gettimeofday.
* posix.cc (_Jv_platform_gettimeofday): Renamed.
(_Jv_select): Use new name.
(_Jv_platform_initialize): New function.
* include/posix.h (_Jv_platform_gettimeofday): Renamed from
_Jv_gettimeofday.
(_Jv_platform_initialize): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49583 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sparc/sparc.c (compute_frame_size): Don't correct frame
rth [Thu, 7 Feb 2002 18:48:13 +0000 (18:48 +0000)]
    * config/sparc/sparc.c (compute_frame_size): Don't correct frame
        offset for stack bias.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49582 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure: Rebuilt.
tromey [Thu, 7 Feb 2002 18:21:19 +0000 (18:21 +0000)]
* configure: Rebuilt.
* configure.in: Removed unnecessary parens.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49581 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 H.J. Lu <hjl@gnu.org>
hjl [Thu, 7 Feb 2002 17:05:40 +0000 (17:05 +0000)]
2002-02-07  H.J. Lu <hjl@gnu.org>

* config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49580 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-decl.c (finish_function): Warn about a non-void function with
jason [Thu, 7 Feb 2002 12:36:46 +0000 (12:36 +0000)]
    * c-decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        (current_function_returns_abnormally): New variable.
        (start_function): Clear it.
        (struct c_language_function): Add returns_abnormally.
        (push_c_function_context): Save it.
        (pop_c_function_context): Restore it.
        (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
        an explicit return type.
        * c-tree.h: Declare current_function_returns_abnormally.
        (C_FUNCTION_IMPLICIT_INT): New macro.
        * c-typeck.c (build_function_call): Set it.
        (c_expand_return): Set current_function_returns_value even if the
        value is erroneous.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49579 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-decl.c (finish_function): Warn about a non-void function with
jason [Thu, 7 Feb 2002 12:22:10 +0000 (12:22 +0000)]
    * c-decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        (current_function_returns_abnormally): New variable.
        (start_function): Clear it.
        (struct c_language_function): Add returns_abnormally.
        (push_c_function_context): Save it.
        (pop_c_function_context): Restore it.
        (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
        an explicit return type.
        * c-tree.h: Declare current_function_returns_abnormally.
        (C_FUNCTION_IMPLICIT_INT): New macro.
        * c-typeck.c (build_function_call): Set it.
        (c_expand_return): Set current_function_returns_value even if the
        value is erroneous.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49577 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
uweigand [Thu, 7 Feb 2002 12:14:46 +0000 (12:14 +0000)]
* testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49576 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * MAINTAINERS: Put self in as maintainer for x86-64 port.
hubicka [Thu, 7 Feb 2002 11:57:13 +0000 (11:57 +0000)]
* MAINTAINERS: Put self in as maintainer for x86-64 port.
Remove self as Write After Approval.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49575 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * i386-protos.h (x86_order_regs_for_local_alloc): Declare
hubicka [Thu, 7 Feb 2002 11:18:32 +0000 (11:18 +0000)]
* i386-protos.h (x86_order_regs_for_local_alloc): Declare
* i386.c (x86_order_regs_for_local_alloc): New global function.
* i386.h (REG_ALLOC_ORDER): CLeanup.
(ORDER_REGS_FOR_LOCAL_ALLOC): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49574 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Thu, 7 Feb 2002 11:13:13 +0000 (11:13 +0000)]
2002-02-07  David Billinghurst <David.Billinghurst@riotinto.com>

PR fortran/3743
* g77.f-torture/execute/intrinsic-unix-bessel.f: Remove
unsupported cases.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49573 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFor some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on
megacz [Thu, 7 Feb 2002 10:02:59 +0000 (10:02 +0000)]
For some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on
Linux; this patch backs out my patch that added the #ifdefs until I
can figure out what happened.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49572 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/debug/dwarf2-1.c: Update for return warnings.
rth [Thu, 7 Feb 2002 09:08:25 +0000 (09:08 +0000)]
* gcc.dg/debug/dwarf2-1.c: Update for return warnings.
* gcc.dg/noncompile/920507-1.c, gcc.dg/noncompile/920721-2.c,
gcc.dg/noncompile/label-lineno-1.c, objc.dg/const-str-1.m,
objc.dg/const-str-2.m, objc.dg/method-1.m: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49571 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * alias.c (find_base_value): Recall base values for fixed hard regs.
rth [Thu, 7 Feb 2002 08:57:04 +0000 (08:57 +0000)]
* alias.c (find_base_value): Recall base values for fixed hard regs.
* loop.c (loop_regs_update): Don't use single_set on non-insns.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49570 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Thu, 7 Feb 2002 08:17:30 +0000 (08:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49569 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/mips/mips.md (define_delay) [mips16]: Adjust required
aoliva [Thu, 7 Feb 2002 06:09:11 +0000 (06:09 +0000)]
* config/mips/mips.md (define_delay) [mips16]: Adjust required
length.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49567 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 05:26:42 +0000 (05:26 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * configure.in: Changed mingw) to *mingw*).
        * win32.cc: Created this file.
        * win32.h: Created this file.
        * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
        win32_exception_handler from prims.cc to win32.cc, added
        header in win32.h.
        * prims.cc: removed some #ifdef-WIN32'd headers which are no
        longer needed now that we have platform.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49566 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 05:01:29 +0000 (05:01 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * shs.h, shs.cc, natSimpleSHSStream.cc: use uint<n>_t instead
        of LONG and BYTE

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49565 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 04:37:00 +0000 (04:37 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49564 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Adam Megacz <adam@xwt.org>
megacz [Thu, 7 Feb 2002 03:56:40 +0000 (03:56 +0000)]
2002-02-06  Adam Megacz <adam@xwt.org>

        * boehm-gc/include/gc.h: (GC_CreateThread) This function is
        now exposed on all Win32 platforms.
        * boehm-gc/win32_threads.c: (GC_CreateThread) This now
        compiles on Win32; it invokes CreateThread() if GC is built
        as a DLL; otherwise it registers the thread.
        * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
        libgcjgc was not built as a DLL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49563 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoembedded updates
green [Thu, 7 Feb 2002 03:24:12 +0000 (03:24 +0000)]
embedded updates

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49562 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * verify.cc (require_array_type): If argument is a null array of
tromey [Thu, 7 Feb 2002 02:27:10 +0000 (02:27 +0000)]
* verify.cc (require_array_type): If argument is a null array of
references, return null as the element type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49561 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/5609
rth [Thu, 7 Feb 2002 01:38:40 +0000 (01:38 +0000)]
    PR c/5609
        * stmt.c (resolve_operand_name_1): Take more care with mixed
        named and unnamed operands.

        * gcc.dg/asm-4.c: Add case with an unnamed operand in the middle.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49560 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Mark Wielaard <mark@klomp.org>
tromey [Thu, 7 Feb 2002 01:11:32 +0000 (01:11 +0000)]
2002-02-06  Mark Wielaard  <mark@klomp.org>

* verify.cc (verify_instructions_0) [op_dup2]: Actually push the
duplicate of a wide type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49559 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/locale/c_locale_generic.cc: Do not trust
ljrittle [Wed, 6 Feb 2002 23:11:16 +0000 (23:11 +0000)]
* config/locale/c_locale_generic.cc: Do not trust
_GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as
set by configure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49558 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/20020206-1.c: New test.
janis [Wed, 6 Feb 2002 22:16:11 +0000 (22:16 +0000)]
* gcc.dg/20020206-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49557 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * loop.c (remove_constant_addition): Avoid clobbering a shared
janis [Wed, 6 Feb 2002 22:13:01 +0000 (22:13 +0000)]
* loop.c (remove_constant_addition): Avoid clobbering a shared
CONST expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49556 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * verify.cc (type::isnull): New method.
tromey [Wed, 6 Feb 2002 21:53:59 +0000 (21:53 +0000)]
* verify.cc (type::isnull): New method.
(require_array_type): Handle case where array is null.
(verify_instructions_0) [op_arraylength]: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49555 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 6 Feb 2002 21:49:42 +0000 (21:49 +0000)]
2002-02-06  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/4730 fortran/5473
* com.c (ffecom_expr_): Deal with %VAL constructs.
* intrin.c (ffeintrin_check_): Handle 'N' constraints for intrinsics,
to indicate "no larger than default kind" integers and logicals.
* intrin.def: Use 'N' constraints in table of intrinsics.
* intdoc.c: Document this constraint.
* intdoc.texi: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49554 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
uweigand [Wed, 6 Feb 2002 21:19:46 +0000 (21:19 +0000)]
* config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
* config/s390/t-linux64: New file.
* config/s390/libgcc-glibc.ver: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49553 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/s390/linux64.h: Delete file.
uweigand [Wed, 6 Feb 2002 20:55:37 +0000 (20:55 +0000)]
* config/s390/linux64.h: Delete file.
* config/s390/s390x.h: New file.
* config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
as target header file.
* config/s390/linux.h (TARGET_VERSION): Define depending on
DEFAULT_TARGET_64BIT.
(CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
(SIZE_TYPE, PTRDIFF_TYPE): Likewise.
(NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
(CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
(LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
(EXTRA_SPEC): New define.
* config/s390/s390.h (TARGET_VERSION): Define depending on
DEFAULT_TARGET_64BIT.
(MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49552 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-decl.c (finish_function): Warn about a non-void function with
jason [Wed, 6 Feb 2002 20:40:18 +0000 (20:40 +0000)]
    * c-decl.c (finish_function): Warn about a non-void function with
        no return statement and no abnormal exit.
        (current_function_returns_abnormally): New variable.
        (start_function): Clear it.
        (struct c_language_function): Add returns_abnormally.
        (push_c_function_context): Save it.
        (pop_c_function_context): Restore it.
        (builtin_function): Set TREE_THIS_VOLATILE on return fns.
        (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
        an explicit return type.
        * c-tree.h: Declare current_function_returns_abnormally.
        (C_FUNCTION_IMPLICIT_INT): New macro.
        * c-typeck.c (build_function_call): Set it.
        (c_expand_return): Set current_function_returns_value even if the
        value is erroneous.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49551 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/5420:
jakub [Wed, 6 Feb 2002 19:37:31 +0000 (19:37 +0000)]
PR c/5420:
* c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
unsafe for reevaluation.

* gcc.c-torture/execute/20020206-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49550 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/5482:
jakub [Wed, 6 Feb 2002 19:32:04 +0000 (19:32 +0000)]
PR c/5482:
* c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
EXPR_STMT, but COMPOUND_STMT, recurse into it.

* gcc.c-torture/execute/20020206-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49549 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR optimization/5429:
jakub [Wed, 6 Feb 2002 19:27:05 +0000 (19:27 +0000)]
PR optimization/5429:
* gcc.c-torture/compile/20020206-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49548 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
rth [Wed, 6 Feb 2002 18:16:02 +0000 (18:16 +0000)]
    * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
        be a general_operand.  Dest for function value must be a pseudo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49547 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * acinclude.m4: Add C++ linkage check for strtof.
ljrittle [Wed, 6 Feb 2002 17:31:43 +0000 (17:31 +0000)]
* acinclude.m4: Add C++ linkage check for strtof.
* aclocal.m4: Rebuilt.
* config.h.in: Rebuilt.
* configure: Rebuilt.
* config/locale/c_locale_generic.cc: Conditionally include
<ieeefp.h>.  Improve handling and error checking of float
and long double input for non-C99 configurations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49546 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDo not use an explicit alignment value as certain file formats cannot support
nickc [Wed, 6 Feb 2002 16:18:33 +0000 (16:18 +0000)]
Do not use an explicit alignment value as certain file formats cannot support
particularly large alignments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49545 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoExpect the compilation to fail because the COFF format does not support the
nickc [Wed, 6 Feb 2002 12:15:53 +0000 (12:15 +0000)]
Expect the compilation to fail because the COFF format does not support the
weak attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49544 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 6 Feb 2002 12:13:00 +0000 (12:13 +0000)]
2002-02-06  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (money_get::do_get(string)):
In case money_base::symbol deal properly with multi-char sign
for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
* testsuite/22_locale/money_get_members_char.cc: Add test07.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49543 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAccept LABEL_REFs as well as SYMBOL_REFs from the constant pool.
nickc [Wed, 6 Feb 2002 09:08:19 +0000 (09:08 +0000)]
Accept LABEL_REFs as well as SYMBOL_REFs from the constant pool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49542 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 6 Feb 2002 08:16:45 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49540 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
aoliva [Wed, 6 Feb 2002 07:40:38 +0000 (07:40 +0000)]
* dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
passed by invisible reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49539 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
rth [Wed, 6 Feb 2002 06:58:31 +0000 (06:58 +0000)]
    * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49538 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoOops, forgot these in last check-in.
bryce [Wed, 6 Feb 2002 05:45:23 +0000 (05:45 +0000)]
Oops, forgot these in last check-in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49537 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Implement using "base addresses" in insn operands as default.
hp [Wed, 6 Feb 2002 05:13:12 +0000 (05:13 +0000)]
Implement using "base addresses" in insn operands as default.
* config/mmix/mmix.c (mmix_conditional_register_usage): if
-mabi=gnu, modify fixed_regs to fit the GNU ABI.
(mmix_extra_constraint): Use 'R' to indicate that GETA should be
used to read the rtx value.
(mmix_target_asm_function_epilogue): Fix spacing.
(mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
(mmix_legitimate_address): Ditto.
(mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
should be loaded with a GETA insn.  Don't allocate needless extra
char for nul termination and fix misleading comment.
(mmix_print_operand_address): Handle constants if
TARGET_BASE_ADDRESSES.
(mmix_output_register_setting): Use base addressing if
TARGET_BASE_ADDRESSES and the number of insns is 3.
* config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
* config/mmix/mmix.md ("movdi"): Change the alternative with GETA
to use R as constraint, add LDA to match s.
* config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
(TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
(TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
(FIXED_REGISTERS): Make registers $231..$246 fixed by default.
(MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
order with other fixed registers.
(MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
other parameter/call-clobbered registers.
* doc/invoke.texi (Option Summary) <MMIX Options>: Add
-mbase-addresses, -mno-base-addresses.
(MMIX Options): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49536 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Eric Christopher <echristo@redhat.com>
echristo [Wed, 6 Feb 2002 02:50:09 +0000 (02:50 +0000)]
2002-02-05  Eric Christopher  <echristo@redhat.com>

* config/mips/crti.asm: Add changes for mips16. mips16 uses
register 7 as RA instead of $31.
* config/mips/crtn.asm: Ditto.
* config/mips/mips.c (mips_move_2words): Add case for
TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
(compute_frame_size): Fix typo.
(save_restore_insns): Ditto.  Make documentation about using
register $7 as return register more precise.
(mips_expand_epilogue): Fix comment. Add code to work around not
being able to add to the stack pointer directly.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
epilogue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49535 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
bryce [Wed, 6 Feb 2002 01:46:46 +0000 (01:46 +0000)]
* configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
Symlink PLATFORMH to platform.h.
* Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
PLATFORMOBJS.
* java/lang/natSystem.cc: #include platform.h not posix.h.
* Makefile.in: Rebuilt with libgcj automake.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49534 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
danglin [Wed, 6 Feb 2002 00:21:26 +0000 (00:21 +0000)]
* pa.h (PREDICATE_CODES): Add reg_before_reload_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49533 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 23:19:13 +0000 (23:19 +0000)]
2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Change elem to _S_elem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49532 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Tue, 5 Feb 2002 22:34:37 +0000 (22:34 +0000)]
2002-02-05  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.dg/pr5473.f:  New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49531 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/netbsd.h (WCHAR_TYPE): Define.
thorpej [Tue, 5 Feb 2002 19:01:56 +0000 (19:01 +0000)]
* config/netbsd.h (WCHAR_TYPE): Define.
(WCHAR_TYPE_SIZE): Ditto.
(WINT_TYPE): Ditto.
* config/alpha/netbsd.h (WCHAR_TYPE): Remove.
(WCHAR_UNSIGNED): Ditto.
(WCHAR_TYPE_SIZE): Ditto.
(WINT_TYPE): Ditto.
* config/arm/netbsd.h: Likewise.
* config/i386/netbsd-elf.h: Likewise.
* config/i386/netbsd.h: Likewise.
* config/m68k/netbsd-elf.h: Likewise.
* config/m68k/netbsd.h: Likewise.
* config/ns32k/netbsd.h: Likewise.
* config/sparc/netbsd.h: Likewise.
* config/vax/netbsd.: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49528 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* class.c: Include target.h.
aoliva [Tue, 5 Feb 2002 18:01:51 +0000 (18:01 +0000)]
* class.c: Include target.h.
(check_bitfield_decl): Disregard EMPTY_FIELD_BOUNDARY,
BITFIELDS_NBYTES_LIMITED and PCC_BITFIELD_TYPE_MATTERS for MS
bit-field layout.
* Make-lang.in: Adjust deps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49527 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* target.h (struct gcc_target): Added ms_bitfield_layout_p.
aoliva [Tue, 5 Feb 2002 17:56:34 +0000 (17:56 +0000)]
* target.h (struct gcc_target): Added ms_bitfield_layout_p.
* target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
(TARGET_INITIALIZER): this.
* doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
(BITFIELD_NBYTES_LIMITED): Markup fix.
* tree.h (default_ms_bitfield_layout_p): Declare.
(record_layout_info): Added prev_field.
* tree.c (default_ms_bitfield_layout_p): New fn.
* c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
* stor-layout.c: Include target.h.
(start_record_layout): Initialize prev_field.
(place_field): Handle MS bit-field layout, and disregard
EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
* Makefile.in (stor-layout.o): Adjust dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49526 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * demangle.h (cplus_demangle_v3): Add "options" parm.
jason [Tue, 5 Feb 2002 16:33:31 +0000 (16:33 +0000)]
    * demangle.h (cplus_demangle_v3): Add "options" parm.
        (cplus_demangle_v3_type): Remove prototype.
        (DMGL_VERBOSE): New macro.
        (DMGL_TYPES): New macro.

        * cplus-dem.c (flags): Add DMGL_VERBOSE
        (cplus_demangle_v3_p): Remove.
        (demangle_it): Add DMGL_TYPES to passed flags.
        * cp-demangle.c (cplus_demangle_v3_all): Remove.
        (cplus_demangle_v3_type): Remove.
        (cplus_demangle_v3): Add options parm.

        * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49525 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 5 Feb 2002 11:35:48 +0000 (11:35 +0000)]
2002-02-05  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (money_get::do_get(string)):
First construct a tentative returned string, then, only if the
parsing succeeds, copy it into the string passed by reference.
* testsuite/22_locale/money_get_members_char.cc: Add test06.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49523 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * crtstuff.c: Fix comments.
aj [Tue, 5 Feb 2002 10:31:06 +0000 (10:31 +0000)]
* crtstuff.c: Fix comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49522 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR fortran/3393
rth [Tue, 5 Feb 2002 09:49:31 +0000 (09:49 +0000)]
    PR fortran/3393
        * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
        (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49521 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR fortran/3392
rth [Tue, 5 Feb 2002 09:27:15 +0000 (09:27 +0000)]
    PR fortran/3392
        * config/mips/mips.c (function_arg): Handle TImode.
        (function_arg_advance): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49520 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Undo munging last change.
rth [Tue, 5 Feb 2002 08:38:02 +0000 (08:38 +0000)]
    * Makefile.in: Undo munging last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49519 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 08:28:23 +0000 (08:28 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_step_help): Rename to
        __vec_step_help.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49518 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 5 Feb 2002 08:18:42 +0000 (08:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49517 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 08:12:31 +0000 (08:12 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-4.c: AltiVec builtin predicates changed format.
        Fix testcase accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49515 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoUndo munging last update.
rth [Tue, 5 Feb 2002 08:05:41 +0000 (08:05 +0000)]
Undo munging last update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49514 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 07:56:33 +0000 (07:56 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49513 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/built-in-setjmp.c: Prototype stuff.
rth [Tue, 5 Feb 2002 06:37:02 +0000 (06:37 +0000)]
    * gcc.c-torture/execute/built-in-setjmp.c: Prototype stuff.
        (buf): Change to be an array of pointers, not ints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49512 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/arm/netbsd.h: Correct a comment.
thorpej [Tue, 5 Feb 2002 02:39:31 +0000 (02:39 +0000)]
* config/arm/netbsd.h: Correct a comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49511 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 02:18:55 +0000 (02:18 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
        building void typed builtins.

        * config/rs6000/altivec.h (vec_ld*): Fix typos.
        (vec_step): Implement for C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49510 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Adam Megacz <adam@xwt.org>
megacz [Tue, 5 Feb 2002 02:08:16 +0000 (02:08 +0000)]
2002-02-04  Adam Megacz <adam@xwt.org>

        * win32.cc: Created it.
          configure.in: Added PLATFORM_SPECIFIC_SOURCES,
          which is set to posix.cc or win32.cc.
          Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49509 138bc75d-0d04-0410-961f-82ee72b054a4