platform/upstream/gcc.git
22 years ago1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
Kaveh R. Ghazi [Sun, 4 Nov 2001 02:12:14 +0000 (02:12 +0000)]
1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.

* 1750a.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
(ASM_OUTPUT_ASCII): Avoid signed/unsigned warning.
* c4x.h (INIT_SECTION_FUNCTION): Add prototype.
(ASM_FILE_START): Const-ify.
(ASM_OUTPUT_BYTE_FLOAT, ASM_OUTPUT_SHORT_FLOAT): Fix format
specifier warning.
* c4x.md: Don't use the 'U' integer suffix.
* clipper.md (clipper_movstr): Delete declaration.
* d30v-protos.h (d30v_move_2words): Const-ify.
(debug_stack_info): Add prototype.
* d30v.c: Include "integrate.h".
(d30v_function_arg_boundary, d30v_function_arg,
d30v_function_arg_partial_nregs, d30v_function_arg_advance): Avoid
signed/unsigned warnings.
(d30v_print_operand_memory_reference, d30v_move_2words):
Const-ify.
* d30v.h (REG_CLASS_FROM_LETTER): Use unsigned array subscript.
* fr30.c (fr30_pass_by_reference, fr30_pass_by_value): Prototype.
* fr30.md: Const-ify.
* h8300.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
* i370.c (i370_label_scan, mvs_get_label): Make definition static.
(mvs_get_label_page): Hide unused static function.
* i860.c (current_function_original_name): Const-ify.
* i860/sysv3.h (current_function_original_name): Likewise.
* i860/sysv4.h (current_function_original_name): Likewise.
* i960.md: Add default case in switches.  Remove unused variable.
* i960/vx960-coff.h (MULTILIB_DEFAULTS): Undef before defining.
* m32r.md: Const-ify.
* m68hc11-protos.h (m68hc11_asm_file_start): Const-ify.
* m68hc11.c: Include "reload.h".
(static_chain_reg, print_options, m68hc11_asm_file_start):
Const-ify.
* m68hc11.md: Delete unused variable.  Const-ify.  Add parens
around & in comparison.
* mcore.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
* mn10200.c (shift_mode): Remove trailing comma.
* mn10300-protos.h (output_tst): Const-ify.
* mn10300.c (output_tst): Likewise.
* pa/long_double.h (ASM_OUTPUT_LONG_DOUBLE): Fix format specifier
warnings.
* pa-protos.h (output_ascii): Use regular char *, not unsigned.
* pa.c (output_ascii): Likewise.
* pa/som.h (EXTRA_SECTION_FUNCTIONS): Add prototype.
* pdp11.md (expand_unop): Delete declarations.
* pj-protos.h (pj_output_addsi3): Const-ify.
* pj.c (pj_output_push_int, pj_output_load, pj_output_inc,
pj_output_cnv_op, mode_to_char, pj_output_varidx, pj_print_cond,
unique_src_operand): Add prototypes.
(pj_output_store_into_lval): Make definition static.
(pj_function_incoming_arg): Don't use unary plus.
(pj_output_addsi3): Const-ify.
* romp.md (get_symref): Delete declarations.
* v850-c.c (mark_current_function_as_interrupt): Don't return
value from void function.
* v850.c: Include "integrate.h".
* v850.h (ASM_OUTPUT_LABELREF): Const-ify.
* vax-protos.h (const_section): Add prototype.

From-SVN: r46755

22 years agodefineclass.cc (handleClassBegin): Use Object::class$, not Class::class$, when initia...
Tom Tromey [Sun, 4 Nov 2001 00:45:33 +0000 (00:45 +0000)]
defineclass.cc (handleClassBegin): Use Object::class$, not Class::class$, when initializing interface superclass.

* defineclass.cc (handleClassBegin): Use Object::class$, not
Class::class$, when initializing interface superclass.

From-SVN: r46754

22 years agomachmode.def: Add documentation for the seventh argument in vector modes.
Aldy Hernandez [Sun, 4 Nov 2001 00:34:50 +0000 (00:34 +0000)]
machmode.def: Add documentation for the seventh argument in vector modes.

2001-11-03  Aldy Hernandez  <aldyh@redhat.com>

        * machmode.def: Add documentation for the seventh argument in
        vector modes.

From-SVN: r46753

22 years agoinvoke.texi (MMIX Options): Say remainder consistently.
Hans-Peter Nilsson [Sat, 3 Nov 2001 23:45:02 +0000 (23:45 +0000)]
invoke.texi (MMIX Options): Say remainder consistently.

* doc/invoke.texi (MMIX Options) <-mno-knuthdiv>: Say remainder
consistently.
<-mno-toplevel-symbols>: Change @code{:} to @samp{:}.
<-melf>: Don't have markup for ELF acronym.

From-SVN: r46752

22 years agoPrefix crti.o and crtn.o with dest directory dollar(T)
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:51:00 +0000 (22:51 +0000)]
Prefix crti.o and crtn.o with dest directory dollar(T)

From-SVN: r46751

22 years agoFix formatting and comment typo
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:49:46 +0000 (22:49 +0000)]
Fix formatting and comment typo

From-SVN: r46750

22 years agoFix typo s/abi=/mabi=/ in CPP_SPEC
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:49:00 +0000 (22:49 +0000)]
Fix typo s/abi=/mabi=/ in CPP_SPEC

From-SVN: r46749

22 years agoRemove unused mclass variable in mmix_function_outgoing_value
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:47:48 +0000 (22:47 +0000)]
Remove unused mclass variable in mmix_function_outgoing_value

From-SVN: r46748

22 years agoFix argv and argc for __MMIX_ABI_GNU__
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:46:16 +0000 (22:46 +0000)]
Fix argv and argc for __MMIX_ABI_GNU__

From-SVN: r46747

22 years agoconfig.gcc (mmix-*-*): New target.
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:14:57 +0000 (22:14 +0000)]
config.gcc (mmix-*-*): New target.

* config.gcc (mmix-*-*): New target.
* doc/invoke.texi: Document MMIX options.
* doc/contrib.texi: Add note about MMIX port to my entry.
* config/mmix/t-mmix: New file.
* config/mmix/mmix.h: New file.
* config/mmix/mmix-protos.h: New file.
* config/mmix/mmix.c: New file.
* config/mmix/mmix.md: New file.
* config/mmix/crti.asm: New file.
* config/mmix/crtn.asm: New file.

From-SVN: r46746

22 years agoconfigure.in (noconfigdirs): Disable libgcj.
Hans-Peter Nilsson [Sat, 3 Nov 2001 22:00:58 +0000 (22:00 +0000)]
configure.in (noconfigdirs): Disable libgcj.

* configure.in (noconfigdirs) [mmix-*-*]: Disable libgcj.
* MAINTAINERS: Add self as maintainer of MMIX port.
Remove old after-approval entry.

From-SVN: r46744

22 years agol10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to `unsigned...
Kaveh R. Ghazi [Sat, 3 Nov 2001 21:51:46 +0000 (21:51 +0000)]
l10nflist.c (_nl_normalize_codeset): Cast argument of ctype function to `unsigned char'.

* l10nflist.c (_nl_normalize_codeset): Cast argument of ctype
function to `unsigned char'.
* loadmsgcat.c (_nl_load_domain): Likewise.
* localealias.c (read_alias_file, alias_compare): Likewise.
* localcharset.c: Include "gettextP.h".
* plural.y (__attribute__): Define.
(yyerror): Mark parameter with __attribute__ ((__unused__)).
* plural.c: Regenerate.

From-SVN: r46743

22 years ago900227_01.C: short and pointer are the same size, so no warning should be produced...
Geoffrey Keating [Sat, 3 Nov 2001 19:50:54 +0000 (19:50 +0000)]
900227_01.C: short and pointer are the same size, so no warning should be produced on stormy16.

* g++.old-deja/g++.bugs/900227_01.C: short and pointer are the
same size, so no warning should be produced on stormy16.

* g++.old-deja/g++.eh/badalloc1.C: Will always fail on stormy16
due to oversized array.
* g++.old-deja/g++.mike/ns15.C: Likewise.
* g++.old-deja/g++.pt/crash16.C: Likewise.

From-SVN: r46738

22 years agolinux-aout.h: Fix comment formatting.
Kazu Hirata [Sat, 3 Nov 2001 16:38:52 +0000 (16:38 +0000)]
linux-aout.h: Fix comment formatting.

* config/sparc/linux-aout.h: Fix comment formatting.
* config/sparc/linux.h: Likewise.
* config/sparc/linux64.h: Likewise.
* config/sparc/lynx.h: Likewise.
* config/sparc/pbd.h: Likewise.
* config/sparc/sol2-sld-64.h: Likewise.
* config/sparc/sol2.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/sparc/sparc.md: Likewise.
* config/sparc/sunos4.h: Likewise.
* config/sparc/vxsim.h: Likewise.
* config/sparc/vxsparc.h: Likewise.
* config/sparc/vxsparc64.h: Likewise.

From-SVN: r46737

22 years agocselib.c (cselib_subst_to_values, [...]): Remove reference to CONST_DOUBLE_MEM in...
Richard Kenner [Sat, 3 Nov 2001 16:28:33 +0000 (16:28 +0000)]
cselib.c (cselib_subst_to_values, [...]): Remove reference to CONST_DOUBLE_MEM in comment.

* cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove
  reference to CONST_DOUBLE_MEM in comment.
* emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand.
(gen_rtx, case CONST_DOUBLE): Call it with one less operand.
(init_emit_once): Don't clear CONST_DOUBLE_MEM.
* function.c (pop_function_context_from): Don't call
restore_varasm_status.
* function.h (restore_varasm_status): Delete declaration.
* gengenrtl.c (CONST_DOUBLE_FORMAT): Delete CONST_DOUBLE_MEM slot.
* rtl.c: Likewise.
* rtl.def (CONST_DOUBLE): Update comment.
* rtl.h (CONST_DOUBLE_HIGH, CONST_DOUBLE_LOW): Update operand number.
(CONST_DOUBLE_CHAIN): Likewise.
(CONST_DOUBLE_MEM): Delete.
(gen_rtx_CONST_DOUBLE): Update parameters.
* varasm.c (struct varasm_status): x_pool_offset now HOST_WIDE_INT.
Remove reference to CONST_DOUBLE_MEM.
(const_alias_set): New variable.
(immed_double_const): Change call to gen_rtx_CONST_DOUBLE.
(immed_real_const_1): Adjust tests for 0, 1, and 2.
Don't set CONST_DOUBLE_MEM.
(clear_const_double_mem): Don't do anything with const_tiny_rtx.
(output_constant_def): Don't look at TREE_CST_RTL if INTEGER_CST.
Put constant in const_alias_set.
(struct pool_constant): ALIGN now unsigned.
OFFSET now HOST_WIDE_INT.
Delete LABEL.
(restore_varasm_status): Deleted.
(mark_pool_constant): Mark desc->rtl.
(force_const_mem): Rework to store rtl in hash table,
not CONST_DOUBLE_MEM.
Put constant in const_alias_set.
(find_pool_constant): Check desc->rtl.
(mark_constants, mark_constant): Don't special-case CONST_DOUBLE.
(init_varasm_once): Initialize const_alias_set.

From-SVN: r46736

22 years agoexpr.c (expand_expr, [...]): If at top level, don't call force_const_mem.
Richard Kenner [Sat, 3 Nov 2001 16:14:05 +0000 (16:14 +0000)]
expr.c (expand_expr, [...]): If at top level, don't call force_const_mem.

* expr.c (expand_expr, case ADDDR_EXPR): If at top level, don't call
force_const_mem.

From-SVN: r46735

22 years agoreload.c (combine_reloads): Don't combine an output reload if there are other reloads...
Richard Kenner [Sat, 3 Nov 2001 15:56:17 +0000 (15:56 +0000)]
reload.c (combine_reloads): Don't combine an output reload if there are other reloads around for part of...

* reload.c (combine_reloads): Don't combine an output reload if there
are other reloads around for part of the output.

From-SVN: r46734

22 years agoemit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a constant expression.
Richard Kenner [Sat, 3 Nov 2001 15:50:04 +0000 (10:50 -0500)]
emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a constant expression.

* emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGINGP_P if T is a
constant expression.
(set_mem_decl): New function.
* expr.h (set_mem_decl): New declaration.
* final.c (get_decl_from_op): Don't use ORIGINAL_REGNO if not pseudo.
(output_asm_operand_names): Add tab.
* reload1.c (alter_reg): Set decl of MEM from REG_DECL.

From-SVN: r46733

22 years agobuiltins.c (get_memory_rtx): Properly set MEM alias set and attributes.
Richard Kenner [Sat, 3 Nov 2001 15:33:45 +0000 (15:33 +0000)]
builtins.c (get_memory_rtx): Properly set MEM alias set and attributes.

* builtins.c (get_memory_rtx): Properly set MEM alias set and
attributes.

From-SVN: r46732

22 years agoextend.texi, [...]: Use "invalid" instead of "illegal".
Joseph Myers [Sat, 3 Nov 2001 13:23:58 +0000 (13:23 +0000)]
extend.texi, [...]: Use "invalid" instead of "illegal".

* doc/extend.texi, doc/gcc.texi, doc/install.texi, doc/tm.texi:
Use "invalid" instead of "illegal".  Use @r in comments in
examples.

From-SVN: r46730

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

From-SVN: r46729

22 years agonatResourceBundle.cc (getClassContext): return array of Class instead of array of...
Hans Boehm [Sat, 3 Nov 2001 03:13:07 +0000 (03:13 +0000)]
natResourceBundle.cc (getClassContext): return array of Class instead of array of ClassLoader.

2001-11-02  Hans Boehm <Hans_Boehm@hp.com>

        * java/util/natResourceBundle.cc:getClassContext: return
        array of Class instead of array of ClassLoader.

From-SVN: r46727

22 years agoc-decl.c (pushdecl): Move block inside if conditional to remove possibility of a...
Neil Booth [Sat, 3 Nov 2001 00:00:01 +0000 (00:00 +0000)]
c-decl.c (pushdecl): Move block inside if conditional to remove possibility of a segfault.

* c-decl.c (pushdecl): Move block inside if conditional to remove
possibility of a segfault.  Lookup block-level extern
variables in enclosing scopes correctly.

* testsuite/gcc.c-torture/compile/20001018-1.x: Remove XFAIL.

From-SVN: r46726

22 years agostl_threads.h (_Atomic_swap): Only enable path when platform supports __GTHREAD_MUTEX...
Loren J. Rittle [Fri, 2 Nov 2001 22:59:46 +0000 (22:59 +0000)]
stl_threads.h (_Atomic_swap): Only enable path when platform supports __GTHREAD_MUTEX_INIT.

        * include/bits/stl_threads.h (_Atomic_swap): Only enable path
        when platform supports __GTHREAD_MUTEX_INIT.

From-SVN: r46725

22 years agoacconfig.h: Update comments.
Phil Edwards [Fri, 2 Nov 2001 22:31:03 +0000 (22:31 +0000)]
acconfig.h: Update comments.

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

* acconfig.h:  Update comments.
* acinclude.m4 (GLIBCPP_ENABLE_C99):  Move strtoll, strtoull tests...
(GLIBCPP_ENABLE_LONG_LONG):  ...to here.  Don't check enable_c99.
* aclocal.m4:  Regenerate.
* config.h.in:  Regenerate.
* configure:  Regenerate.

* include/bits/boost_concept_check.h:  Unconditionally compile uses
of 'long long' which require only compiler support, not C lib support.
* include/bits/cpp_type_traits.h:  Likewise.
* include/bits/std_limits.h:  Likewise.
* include/bits/type_traits.h:  Likewise.
* src/concept-inst.cc:  Likewise.
* src/limits.cc:  Likewise.
* include/c_shadow/stdlib.h:  Compile conditionally on _GLIBCPP_USE_C99
instead of _GLIBCPP_USE_LONG_LONG.
* include/c_shadow/bits/std_cstdlib.h:  Likewise.

From-SVN: r46723

22 years agoexpr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing...
Aldy Hernandez [Fri, 2 Nov 2001 22:17:11 +0000 (22:17 +0000)]
expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory.

        * expr.c (convert_move): Use simplify_gen_subreg to make SUBREG so
        we avoid SUBREGing memory.

From-SVN: r46722

22 years agoexpmed.c (store_bit_field): Use simplify_gen_subreg to make SUBREG so we avoid SUBREG...
Aldy Hernandez [Fri, 2 Nov 2001 22:07:29 +0000 (22:07 +0000)]
expmed.c (store_bit_field): Use simplify_gen_subreg to make SUBREG so we avoid SUBREGing memory.

        * expmed.c (store_bit_field): Use simplify_gen_subreg to make
        SUBREG so we avoid SUBREGing memory.

From-SVN: r46721

22 years agors6000.c (rs6000_emit_move): Make sure that using FP registers for DImode mem-mem...
DJ Delorie [Fri, 2 Nov 2001 21:53:25 +0000 (16:53 -0500)]
rs6000.c (rs6000_emit_move): Make sure that using FP registers for DImode mem-mem moves is acceptable.

* config/rs6000/rs6000.c (rs6000_emit_move): Make sure that
using FP registers for DImode mem-mem moves is acceptable.

From-SVN: r46720

22 years agoforgot changelog
Aldy Hernandez [Fri, 2 Nov 2001 21:41:49 +0000 (21:41 +0000)]
forgot changelog

From-SVN: r46719

22 years agobuiltins.c (apply_args_size): Handle vector arguments.
Aldy Hernandez [Fri, 2 Nov 2001 19:34:16 +0000 (19:34 +0000)]
builtins.c (apply_args_size): Handle vector arguments.

        * builtins.c (apply_args_size): Handle vector arguments.
        (apply_result_size): Same.

  * machmode.def: Set WIDER mode field for all vector entries.

From-SVN: r46718

22 years agoc_io_stdio.h: Correct grammar in comments.
Phil Edwards [Fri, 2 Nov 2001 17:38:11 +0000 (17:38 +0000)]
c_io_stdio.h: Correct grammar in comments.

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

* config/io/c_io_stdio.h:  Correct grammar in comments.
* docs/doxygen/Intro.3:  Expand "top-level" man page.
* docs/doxygen/doxygroups.cc:  New module definitions (comments).
* docs/doxygen/mainpage.doxy:  Tweaks.
* docs/doxygen/run_doxygen:  Update Doxygen version, massage man pages.

Add @file hooks so that headers are considered to be documented.
* include/bits/basic_ios.h, include/bits/basic_file.h,
include/bits/basic_string.h, include/bits/boost_concept_check.h,
include/bits/char_traits.h, include/bits/codecvt.h,
include/bits/concept_check.h, include/bits/cpp_type_traits.h,
include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
include/bits/indirect_array.h, include/bits/ios_base.h,
include/bits/locale_facets.h, include/bits/localefwd.h,
include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
include/bits/slice.h, include/bits/slice_array.h,
include/bits/std_algorithm.h, include/bits/std_bitset.h,
include/bits/std_complex.h, include/bits/std_deque.h,
include/bits/std_fstream.h, include/bits/std_functional.h,
include/bits/std_iomanip.h, include/bits/std_ios.h,
include/bits/std_iosfwd.h, include/bits/std_iostream.h,
include/bits/std_istream.h, include/bits/std_iterator.h,
include/bits/std_limits.h, include/bits/std_list.h,
include/bits/std_locale.h, include/bits/std_map.h,
include/bits/std_memory.h, include/bits/std_numeric.h,
include/bits/std_ostream.h, include/bits/std_queue.h,
include/bits/std_set.h, include/bits/std_sstream.h,
include/bits/std_stack.h, include/bits/std_streambuf.h,
include/bits/std_string.h, include/bits/std_utility.h,
include/bits/std_valarray.h, include/bits/std_vector.h,
include/bits/stl_algo.h, include/bits/stl_alloc.h,
include/bits/stl_bvector.h, include/bits/stl_construct.h,
include/bits/stl_deque.h, include/bits/stl_heap.h,
include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_multiset.h, include/bits/stl_numeric.h,
include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
include/bits/stl_relops.h, include/bits/stl_set.h,
include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
include/bits/stl_threads.h, include/bits/stl_tree.h,
include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
include/bits/stringfwd.h, include/bits/type_traits.h,
include/bits/valarray_array.h, include/bits/valarray_meta.h:
Add hooks, tweak comments only.

* include/bits/stl_algobase.h (swap, min, iter_swap):  Also
document these functions.
* include/bits/stl_function.h:  Tweak link comments.

From-SVN: r46717

22 years agocom.c (ffecom_initialize_char_syntax_, [...]): Delete.
Kaveh R. Ghazi [Fri, 2 Nov 2001 15:53:27 +0000 (15:53 +0000)]
com.c (ffecom_initialize_char_syntax_, [...]): Delete.

* com.c (ffecom_initialize_char_syntax_, U_CHAR, is_idchar,
is_idstart, is_hor_space, is_space, SKIP_WHITE_SPACE,
SKIP_ALL_WHITE_SPACE): Delete.
(read_filename_string, read_name_map): Don't use is_space or
is_hor_space.

From-SVN: r46716

22 years ago* pt.c (unify): Handle SCOPE_REF.
Kriang Lerdsuwanakij [Fri, 2 Nov 2001 14:58:55 +0000 (14:58 +0000)]
* pt.c (unify): Handle SCOPE_REF.

From-SVN: r46715

22 years ago* g++.dg/other/debug1.C: Fix typos.
Graham Stott [Fri, 2 Nov 2001 11:16:30 +0000 (11:16 +0000)]
* g++.dg/other/debug1.C: Fix typos.

From-SVN: r46714

22 years ago* recog.c (decode_asm_operands): Check that the SRC is ASM_OPERANDS.
Graham Stott [Fri, 2 Nov 2001 10:52:08 +0000 (10:52 +0000)]
* recog.c (decode_asm_operands):  Check that the SRC is ASM_OPERANDS.

From-SVN: r46713

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

From-SVN: r46711

22 years ago* libjava.lang/TLtest.xfail: New file. Needs threads.
Bryce McKinlay [Fri, 2 Nov 2001 06:50:33 +0000 (06:50 +0000)]
* libjava.lang/TLtest.xfail: New file. Needs threads.

From-SVN: r46710

22 years agoios_manip_fmtflags.cc: Fix for non-interactive output.
Paolo Carlini [Fri, 2 Nov 2001 03:48:09 +0000 (04:48 +0100)]
ios_manip_fmtflags.cc: Fix for non-interactive output.

2001-11-01  Paolo Carlini  <pcarlini@unitus.it>
    Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
output.
* include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46709

22 years agoctype_noninline.h (ctype<char>::do_toupper(char __c)): Check for proper character...
Egor Duda [Fri, 2 Nov 2001 02:37:44 +0000 (02:37 +0000)]
ctype_noninline.h (ctype<char>::do_toupper(char __c)): Check for proper character class.

2001-11-01  Egor Duda  <deo@logos-m.ru>

* config/os/newlib/bits/ctype_noninline.h
(ctype<char>::do_toupper(char __c)): Check for proper character class.
(ctype<char>::do_tolower(char __c)): Ditto.

From-SVN: r46708

22 years agoconfig.gcc: Revert part of earlier patch.
Eric Christopher [Fri, 2 Nov 2001 02:18:37 +0000 (02:18 +0000)]
config.gcc: Revert part of earlier patch.

2001-11-01  Eric Christopher  <echristo@redhat.com>

        * config.gcc: Revert part of earlier patch.
        * config/mips/linux.h: Ditto.
* df.c: Include tm_p.h to avoid warnings.
        * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
#if/#endif.
* config/mips/mips.c: Define mips_abi regardless.
(mips_output_function_prologues): Add long casts for .frame
output.
(override_options): Allow use of ABI_32.

From-SVN: r46707

22 years agom68hc11.c: Fix comment formatting.
Kazu Hirata [Fri, 2 Nov 2001 01:11:05 +0000 (01:11 +0000)]
m68hc11.c: Fix comment formatting.

* config/m68hc11/m68hc11.c: Fix comment formatting.
* config/m68hc11/m68hc11.h: Likewise.
* config/m68hc11/m68hc11.md: Likewise.

From-SVN: r46706

22 years agore PR c/3170 (bogus "suggest parentheses" warning)
Neil Booth [Thu, 1 Nov 2001 23:29:09 +0000 (23:29 +0000)]
re PR c/3170 (bogus "suggest parentheses" warning)

PR c/3170
PR c/3422
* c-typeck.c (default_conversion): Retain the original expression
codes.
* gcc.dg/Wparentheses-1.c: New tests.

From-SVN: r46705

22 years agoinstall.texi (Specific, [...]): Bring 64-bit Sparc description more in line with...
David S. Miller [Thu, 1 Nov 2001 22:26:14 +0000 (14:26 -0800)]
install.texi (Specific, [...]): Bring 64-bit Sparc description more in line with reality.

* doc/install.texi (Specific, sparc-sun-solaris2*): Bring
64-bit Sparc description more in line with reality.

From-SVN: r46704

22 years agore PR other/704 (--help and --version)
Joseph Myers [Thu, 1 Nov 2001 21:48:49 +0000 (21:48 +0000)]
re PR other/704 (--help and --version)

* Makefile.in (GCOV_OBJS): Add version.o.
* gcov.c: Include "version.h" and <getopt.h>.
(gcov_version_string): Remove.
(print_usage): Take a parameter to determine whether this is a
call from --help or an error message.  Give fuller output that
follows the GNU Coding Standards for --help.
(print_version): New function.
(options): New.
(process_args): Use getopt_long.  Support long options.  Follow
GNU Coding Standards for --help and --version.
* doc/gcov.texi: Document long options.
Addresses part of PR other/704.

From-SVN: r46703

22 years agotree.c (cp_copy_res_decl_for_inlining): Adjust DECL_ABSTRACT_ORIGIN for the return...
Jakub Jelinek [Thu, 1 Nov 2001 21:09:39 +0000 (22:09 +0100)]
tree.c (cp_copy_res_decl_for_inlining): Adjust DECL_ABSTRACT_ORIGIN for the return variable.

* tree.c (cp_copy_res_decl_for_inlining): Adjust
DECL_ABSTRACT_ORIGIN for the return variable.

* g++.dg/other/debug1.C: New test.

From-SVN: r46702

22 years ago* include/bits/std_complex.h (abs): Fix thinko.
Gabriel Dos Reis [Thu, 1 Nov 2001 18:42:13 +0000 (18:42 +0000)]
* include/bits/std_complex.h (abs): Fix thinko.

From-SVN: r46700

22 years ago* pa.c (output_move_double): Fix typo in double load.
John David Anglin [Thu, 1 Nov 2001 18:12:05 +0000 (18:12 +0000)]
* pa.c (output_move_double): Fix typo in double load.

From-SVN: r46699

22 years agore PR libstdc++/3666 (Invalid concept-checking code.)
Phil Edwards [Thu, 1 Nov 2001 15:46:48 +0000 (15:46 +0000)]
re PR libstdc++/3666 (Invalid concept-checking code.)

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

* acinclude.m4:  Fix spacing.
(GLIBCPP_ENABLE_CONCEPT_CHECKS):  New macro.
* configure.in:  Call here.
* acconfig.h:  Add _GLIBCPP_CONCEPT_CHECKS.
* include/bits/boost_concept_check.h:  Fix headers.
(__function_requires):  Make inline.
* include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS):  Remove.
* aclocal.m4:  Regenerate.
* config.h.in:  Regenerate.
* configure:  Regenerate.

Move trailing ';' inside macro, PR libstdc++/3666.
* include/bits/concept_check.h:  Add semicolon.
* include/bits/stl_algo.h:  Remove semicolon.
* include/bits/stl_algobase.h:  Likewise.
* include/bits/stl_deque.h:  Likewise.
* include/bits/stl_heap.h:  Likewise.
* include/bits/stl_iterator_base_funcs.h:  Likewise.
* include/bits/stl_list.h:  Likewise.
* include/bits/stl_map.h:  Likewise.
* include/bits/stl_multimap.h:  Likewise.
* include/bits/stl_multiset.h:  Likewise.
* include/bits/stl_numeric.h:  Likewise.
* include/bits/stl_queue.h:  Likewise.
* include/bits/stl_set.h:  Likewise.
* include/bits/stl_stack.h:  Likewise.
* include/bits/stl_vector.h:  Likewise.
* include/ext/hash_map:  Likewise.
* include/ext/hash_set:  Likewise.
* include/ext/slist:  Likewise.

* src/concept-inst.cc:  New file with explicit instantiations.
* src/Makefile.am (sources):  Add here, with special build rules.
* src/Makefile.in:  Regenerate.

From-SVN: r46697

22 years agoh8300.c (h8300_encode_label): Compute a string before passing it to ggc_alloc_string.
Kazu Hirata [Thu, 1 Nov 2001 15:40:09 +0000 (15:40 +0000)]
h8300.c (h8300_encode_label): Compute a string before passing it to ggc_alloc_string.

* config/h8300/h8300.c (h8300_encode_label): Compute a string
before passing it to ggc_alloc_string.

From-SVN: r46695

22 years ago* include/bits/std_complex.h (abs): Tweak.
Gabriel Dos Reis [Thu, 1 Nov 2001 15:01:07 +0000 (15:01 +0000)]
* include/bits/std_complex.h (abs): Tweak.

From-SVN: r46693

22 years ago3b1.h: Fix comment formatting.
Kazu Hirata [Thu, 1 Nov 2001 14:49:33 +0000 (14:49 +0000)]
3b1.h: Fix comment formatting.

* config/m68k/3b1.h: Fix comment formatting.
* config/m68k/3b1g.h: Likewise.
* config/m68k/a-ux.h: Likewise.
* config/m68k/amix.h: Likewise.
* config/m68k/apollo68.h: Likewise.
* config/m68k/atari.h: Likewise.
* config/m68k/aux-exit.c: Likewise.
* config/m68k/ccur-GAS.h: Likewise.
* config/m68k/crds.h: Likewise.
* config/m68k/dpx2.h: Likewise.
* config/m68k/dpx2g.h: Likewise.
* config/m68k/hp310.h: Likewise.
* config/m68k/hp320.h: Likewise.
* config/m68k/isi.h: Likewise.
* config/m68k/linux.h: Likewise.
* config/m68k/lynx.h: Likewise.
* config/m68k/m68k-psos.h: Likewise.
* config/m68k/m68k.c: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m68k/m68k.md: Likewise.
* config/m68k/m68kelf.h: Likewise.
* config/m68k/m68kv4.h: Likewise.
* config/m68k/mot3300.h: Likewise.
* config/m68k/news.h: Likewise.
* config/m68k/next.h: Likewise.
* config/m68k/pbb.h: Likewise.
* config/m68k/plexus.h: Likewise.
* config/m68k/sgs.h: Likewise.
* config/m68k/sun3.h: Likewise.
* config/m68k/tower.h: Likewise.
* config/m68k/vxm68k.h: Likewise.

From-SVN: r46692

22 years agostd_complex.h (_Norm_helper): New class template.
Gabriel Dos Reis [Thu, 1 Nov 2001 11:00:57 +0000 (11:00 +0000)]
std_complex.h (_Norm_helper): New class template.

       * include/bits/std_complex.h (_Norm_helper): New class template.
       (norm): Tweak.

From-SVN: r46690

22 years ago20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.
Stephane Carrez [Thu, 1 Nov 2001 10:17:35 +0000 (11:17 +0100)]
20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.

* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead
        of unsigned long.

From-SVN: r46689

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

From-SVN: r46687

22 years agomips.h (mips_cache_flush_func): Prototype.
DJ Delorie [Wed, 31 Oct 2001 21:08:00 +0000 (16:08 -0500)]
mips.h (mips_cache_flush_func): Prototype.

* config/mips/mips.h (mips_cache_flush_func): Prototype.
(TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
(INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
* config/mips/mips.c (mips_cache_flush_func): New.
* doc/invoke.texi: Document the new options.

From-SVN: r46686

22 years agocodecvt.h: Add virtual member function declarations.
Benjamin Kosnik [Wed, 31 Oct 2001 20:05:33 +0000 (20:05 +0000)]
codecvt.h: Add virtual member function declarations.

2001-10-31  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/4749
* include/bits/codecvt.h: Add virtual member function declarations.
* src/codecvt.cc: Tweaks.
* testsuite/22_locale/codecvt.cc: Test compilation only,
non-required facets not required to have linkage.

From-SVN: r46685

22 years agocris.c: Include output.h after tree.h but before target.h.
Hans-Peter Nilsson [Wed, 31 Oct 2001 19:57:53 +0000 (19:57 +0000)]
cris.c: Include output.h after tree.h but before target.h.

* config/cris/cris.c: Include output.h after tree.h but before
target.h.

From-SVN: r46684

22 years ago* config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
Hans-Peter Nilsson [Wed, 31 Oct 2001 19:54:02 +0000 (19:54 +0000)]
* config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.

From-SVN: r46683

22 years agoconfig.gcc (cris-*-linux*, tm_file): Rearrange order.
Hans-Peter Nilsson [Wed, 31 Oct 2001 19:50:59 +0000 (19:50 +0000)]
config.gcc (cris-*-linux*, tm_file): Rearrange order.

* config.gcc (cris-*-linux*, tm_file): Rearrange order.
* config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.

From-SVN: r46682

22 years agoMakefile.in (INTL_TARGETS, POSUB): Delete all references.
Zack Weinberg [Wed, 31 Oct 2001 17:40:07 +0000 (17:40 +0000)]
Makefile.in (INTL_TARGETS, POSUB): Delete all references.

* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.

* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT.  Don't generate
po/Makefile.in.
* configure: Regenerate.

* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.

po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.

From-SVN: r46680

22 years ago* config/h8300/h8300.md (two anonymous patterns): New.
Kazu Hirata [Wed, 31 Oct 2001 16:33:03 +0000 (16:33 +0000)]
* config/h8300/h8300.md (two anonymous patterns): New.

From-SVN: r46679

22 years agotree.h (tree_index): Add support for V16QI and V8HI.
Aldy Hernandez [Wed, 31 Oct 2001 15:28:41 +0000 (15:28 +0000)]
tree.h (tree_index): Add support for V16QI and V8HI.

* tree.h (tree_index): Add support for V16QI and V8HI.
      (V8HI_type_node): New.
(V16QI_type_node): New.

From-SVN: r46678

22 years agoatt.h: Fix comment formatting.
Kazu Hirata [Wed, 31 Oct 2001 14:32:30 +0000 (14:32 +0000)]
att.h: Fix comment formatting.

* config/i386/att.h: Fix comment formatting.
* config/i386/beos-elf.h: Likewise.
* config/i386/bsd.h: Likewise.
* config/i386/bsd386.h: Likewise.
* config/i386/crtdll.h: Likewise.
* config/i386/cygwin.asm: Likewise.
* config/i386/cygwin.h: Likewise.
* config/i386/djgpp.h: Likewise.
* config/i386/freebsd-aout.h: Likewise.
* config/i386/freebsd.h: Likewise.
* config/i386/gas.h: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/i386/i386-protos.h: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/i386.md: Likewise.
* config/i386/i386elf.h: Likewise.
* config/i386/interix.c: Likewise.
* config/i386/isc.h: Likewise.
* config/i386/isccoff.h: Likewise.
* config/i386/iscdbx.h: Likewise.
* config/i386/linux.h: Likewise.
* config/i386/lynx.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/i386/netbsd-elf.h: Likewise.
* config/i386/next.h: Likewise.
* config/i386/osf1elf.h: Likewise.
* config/i386/osfrose.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i386/seq-gas.h: Likewise.
* config/i386/seq-sysv3.h: Likewise.
* config/i386/sequent.h: Likewise.
* config/i386/sol2.h: Likewise.
* config/i386/sun386.h: Likewise.
* config/i386/uwin.asm: Likewise.
* config/i386/uwin.h: Likewise.
* config/i386/vxi386.h: Likewise.
* config/i386/win32.h: Likewise.
* config/i386/winnt.c: Likewise.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.

From-SVN: r46677

22 years agobuiltins.def: Fix comment typos.
Kazu Hirata [Wed, 31 Oct 2001 14:08:11 +0000 (14:08 +0000)]
builtins.def: Fix comment typos.

2001-10-31  Kazu Hirata  <kazu@hxi.com>

* builtins.def: Fix comment typos.
* config/alpha.c: Likewise.
* config/arm/arm.c: Likewise.
* config/avr/avr.h: Likewise.
* config/d30v/d30v.c: Likewise.
* config/d30v/d30v.h: Likewise.
* config/d30v/d30v.md: Likewise.
* config/dsp16xx/dsp16xx.c: Likewise.
* config/fr30/fr30.c: Likewise.
* config/fr30/fr30.md: Likewise.
* config/i386/i386.c: Likewise.
* config/i860/i860.c: Likewise.
* config/i960/i960.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/mips/mips.c: Likewise.
* config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/s390/s390.c: Likewise.
* config/sparc/sparc.c: Likewise.

From-SVN: r46676

22 years agostd_complex.h (complex::operator/=): Correct sign.
Edward E. Meyer [Wed, 31 Oct 2001 08:45:57 +0000 (08:45 +0000)]
std_complex.h (complex::operator/=): Correct sign.

2001-10-31  Edward E. Meyer  <edward.e.meyer@boeing.com>

libstdc++/4622
* include/bits/std_complex.h (complex::operator/=): Correct sign.

From-SVN: r46675

22 years agobasic_string.h: Tweaks.
Paolo Carlini [Wed, 31 Oct 2001 08:27:20 +0000 (09:27 +0100)]
basic_string.h: Tweaks.

2001-10-30  Paolo Carlini  <pcarlini@unitus.it>
    Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_string.h: Tweaks.
* include/bits/basic_string.tcc (string::_M_replace(iterator,
iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
* src/string-inst.cc: Tweaks, add instantiation.
* testsuite/21_strings/replace.cc (test02): Add test.
* testsuite/21_strings/assign.cc (test01): New file.

0

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46674

22 years agoDaily bump.
GCC Administrator [Wed, 31 Oct 2001 08:16:10 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r46672

22 years agoFix typos in ChangeLog.
Kazu Hirata [Wed, 31 Oct 2001 04:12:47 +0000 (04:12 +0000)]
Fix typos in ChangeLog.

From-SVN: r46671

22 years agoelf.h: Fix comment formatting.
Kazu Hirata [Wed, 31 Oct 2001 04:08:19 +0000 (04:08 +0000)]
elf.h: Fix comment formatting.

* config/elf.h: Fix comment formatting.
* config/elf64.h: Likewise.
* config/iris5.h: Likewise.
* config/iris5gas.h: Likewise.
* config/iris6.h: Likewise.
* config/isa3264.h: Likewise.
* config/linux.h: Likewise.
* config/mips.c: Likewise.
* config/mips.h: Likewise.
* config/mips.md: Likewise.
* config/mips16.S: Likewise.
* config/netbsd.h: Likewise.
* config/osfrose.h: Likewise.
* config/r3900.h: Likewise.
* config/sni-svr4.h: Likewise.
* config/svr4-t.h: Likewise.
* config/ultrix.h: Likewise.

From-SVN: r46670

22 years agobitmap.c (bitmap_element_free): Don't forget to update head->indx when we update...
Daniel Berlin [Wed, 31 Oct 2001 03:01:17 +0000 (03:01 +0000)]
bitmap.c (bitmap_element_free): Don't forget to update head->indx when we update head->current.

2001-10-30  Daniel Berlin  <dan@cgsoftware.com>

* bitmap.c (bitmap_element_free): Don't forget to update head->indx
when we update head->current.

From-SVN: r46669

22 years agoChangeLog, [...]: Fix spelling errors.
Joseph Myers [Wed, 31 Oct 2001 00:59:40 +0000 (00:59 +0000)]
ChangeLog, [...]: Fix spelling errors.

* ChangeLog, actions.c, ch-tree.def, decl.c, except.c, inout.c,
tasking.c, typeck.c: Fix spelling errors.

From-SVN: r46668

22 years ago* style.adb:
Robert Dewar [Wed, 31 Oct 2001 00:54:36 +0000 (00:54 +0000)]
* style.adb:

(Check_Identifier): Rewrite circuit to be compatible with use of letters
in the upper half of ASCII.
(Check_Identifier): Minor reformatting

From-SVN: r46667

22 years ago(Associated_Node, [...]): Do not check for Freeze_Entity.
Geert Bosch [Wed, 31 Oct 2001 00:49:13 +0000 (01:49 +0100)]
(Associated_Node, [...]): Do not check for Freeze_Entity.

* (Associated_Node, Set_Associated_Node): Do not check for
Freeze_Entity.

From-SVN: r46666

22 years agoHACKING, [...]: Fix spelling errors.
Joseph Myers [Wed, 31 Oct 2001 00:48:17 +0000 (00:48 +0000)]
HACKING, [...]: Fix spelling errors.

* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,
gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java,
java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java,
java/io/CharConversionException.java,
java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PrintWriter.java, java/io/WriteAbortedException.java,
java/io/natFileWin32.cc, java/lang/Class.h,
java/lang/natClassLoader.cc, java/lang/natObject.cc,
java/lang/Package.java, java/net/BindException.java,
java/net/ConnectException.java, java/net/ProtocolException.java,
java/net/SocketException.java,
java/net/UnknownServiceException.java,
java/security/cert/X509Certificate.java,
java/security/interfaces/DSAKey.java,
java/security/SecureRandom.java, java/security/SignedObject.java,
java/sql/DatabaseMetaData.java,
java/text/DecimalFormatSymbols.java,
java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/Calendar.java,
java/util/Collections.java, java/util/GregorianCalendar.java,
java/util/HashMap.java, java/util/List.java,
java/util/Properties.java, java/util/Timer.java,
java/util/Vector.java, java/util/WeakHashMap.java,
javax/naming/NamingException.java,
testsuite/libjava.lang/Thread_Wait.java,
org/xml/sax/helpers/DefaultHandler.java,
org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java,
ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix
spelling errors.
* configure: Regenerate.

From-SVN: r46665

22 years ago* a-reatim.ads: Minor reformatting
Robert Dewar [Wed, 31 Oct 2001 00:29:14 +0000 (00:29 +0000)]
* a-reatim.ads: Minor reformatting

From-SVN: r46664

22 years agognatdll.adb: Minor reformatting throughout.
Robert Dewar [Wed, 31 Oct 2001 00:26:02 +0000 (00:26 +0000)]
gnatdll.adb: Minor reformatting throughout.

* gnatdll.adb: Minor reformatting throughout. Many ??? added for
undocumented declarations.

From-SVN: r46663

22 years agognatdll.adb (Parse_Command_Line): handle -g option to be passed to the binder and...
Pascal Obry [Wed, 31 Oct 2001 00:21:37 +0000 (00:21 +0000)]
gnatdll.adb (Parse_Command_Line): handle -g option to be passed to the binder and linker.

* gnatdll.adb (Parse_Command_Line): handle -g option to be passed
to the binder and linker.
Minor style fix.

* mdll.ads: Fix layout.  Update copyright notice.

* mdll.adb: Fix layout.  Update copyright notice.

From-SVN: r46662

22 years ago* usage.adb: Minor fix to output for -gnaty.
Robert Dewar [Wed, 31 Oct 2001 00:13:54 +0000 (00:13 +0000)]
* usage.adb: Minor fix to output for -gnaty.

From-SVN: r46661

22 years agoa-reatim.ads: Makes Seconds_Count into a 64-bit integer, to accommodate all its possi...
Ed Schonberg [Wed, 31 Oct 2001 00:07:54 +0000 (00:07 +0000)]
a-reatim.ads: Makes Seconds_Count into a 64-bit integer, to accommodate all its possible values.

* a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
to accommodate all its possible values.

* a-reatim.adb (Split): Special-case handling of Time_Span_First
and of small absolute values of T.

From-SVN: r46660

22 years agomisc.c (gnat_expand_expr, [...]): Remove call to set_mem_attributes since not needed...
Richard Kenner [Tue, 30 Oct 2001 23:47:02 +0000 (23:47 +0000)]
misc.c (gnat_expand_expr, [...]): Remove call to set_mem_attributes since not needed and wrong if RESULT if a REG...

* misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
set_mem_attributes since not needed and wrong if RESULT if a REG;
fixes ACATS failures.

From-SVN: r46659

22 years ago86numaux.adb, [...]: Add 2001 to copyright notice.
Geert Bosch [Tue, 30 Oct 2001 23:26:09 +0000 (00:26 +0100)]
86numaux.adb, [...]: Add 2001 to copyright notice.

* 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.

From-SVN: r46658

22 years agobindusg.adb: Undocument -f switch.
Robert Dewar [Tue, 30 Oct 2001 23:12:48 +0000 (23:12 +0000)]
bindusg.adb: Undocument -f switch.

* bindusg.adb: Undocument -f switch.

* gnatcmd.adb: Remove /FULL_ELABORATION.

* opt.ads (Force_RM_Elaboration_Order): Document that this is
obsolescent.

* gnatbind.adb: Output new warning for use of obsolescent -f switch.

* gnatbind.adb: Minor update of warning msg.

From-SVN: r46657

22 years agoAdd myself.
Dale Johannesen [Tue, 30 Oct 2001 23:12:39 +0000 (23:12 +0000)]
Add myself.

From-SVN: r46656

22 years agognatcmd.adb (MAKE, [...]): Add translations for project file switches (-P (/PROJECT_F...
Vincent Celier [Tue, 30 Oct 2001 22:51:10 +0000 (22:51 +0000)]
gnatcmd.adb (MAKE, [...]): Add translations for project file switches (-P (/PROJECT_FILE=)...

* gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
for project file switches (-P (/PROJECT_FILE=),
 -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
or MEDIUM or HIGH)

From-SVN: r46655

22 years ago* decl.c: Minor whitespace fixes.
Geert Bosch [Tue, 30 Oct 2001 21:33:07 +0000 (22:33 +0100)]
* decl.c: Minor whitespace fixes.

From-SVN: r46654

22 years ago* utils2.c (build_allocator): Test for SIZE overflow in array case too
Richard Kenner [Tue, 30 Oct 2001 21:27:26 +0000 (21:27 +0000)]
* utils2.c (build_allocator): Test for SIZE overflow in array case too

From-SVN: r46653

22 years agoali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
Geert Bosch [Tue, 30 Oct 2001 21:16:50 +0000 (22:16 +0100)]
ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.

* ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
Found due to GCC 3.0 warning of using uninitialized value.

* layout.adb:
(Get_Max_Size): Use variant record for tracking value/expression.
 Makes logic clearer and prevents warnings for uninitialized variables.
(Layout_Array_Type): Use variant record for tracking value/expression.
 Makes logic clearer and prevents warnings for uninitialized variables.

From-SVN: r46652

22 years agolib.adb: Minor reformatting
Robert Dewar [Tue, 30 Oct 2001 20:56:09 +0000 (20:56 +0000)]
lib.adb: Minor reformatting

* lib.adb: Minor reformatting

* s-taprop.ads: Minor reformatting

From-SVN: r46651

22 years agotree.c (id_string_size): Remove.
Neil Booth [Tue, 30 Oct 2001 19:32:16 +0000 (19:32 +0000)]
tree.c (id_string_size): Remove.

* tree.c (id_string_size): Remove.
(dump_tree_statistics): Update.
* toplev.c (compile_file): If dumping stats, dump tree stats too.

From-SVN: r46648

22 years agostl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.
Jakub Jelinek [Tue, 30 Oct 2001 18:14:20 +0000 (19:14 +0100)]
stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.

* include/bits/stl_deque.h (_M_new_elements_at_front): Use
__throw_exception_again.
(_M_new_elements_at_back): Likewise.

From-SVN: r46647

22 years ago* sched-rgn.c (schedule_insns): Fix comment.
Jan Hubicka [Tue, 30 Oct 2001 18:01:53 +0000 (19:01 +0100)]
* sched-rgn.c (schedule_insns): Fix comment.

From-SVN: r46646

22 years agoconfigure.in: Correct previous change...
Zack Weinberg [Tue, 30 Oct 2001 16:47:25 +0000 (16:47 +0000)]
configure.in: Correct previous change...

* configure.in: Correct previous change: don't assume that
gas's version number _isn't_ the last thing on the line, or
isn't the only number on the line, either.
* configure: Regenerate.

From-SVN: r46643

22 years ago* gcc.c-torture/compile/20011029-1.c: New test.
Jakub Jelinek [Tue, 30 Oct 2001 16:41:10 +0000 (17:41 +0100)]
* gcc.c-torture/compile/20011029-1.c: New test.

From-SVN: r46642

22 years ago* cfgcleanup.c: Fix a comment typo.
Kazu Hirata [Tue, 30 Oct 2001 15:10:46 +0000 (15:10 +0000)]
* cfgcleanup.c: Fix a comment typo.

From-SVN: r46641

22 years agoalias.c: Fix comment formatting.
Kazu Hirata [Tue, 30 Oct 2001 15:01:50 +0000 (15:01 +0000)]
alias.c: Fix comment formatting.

* alias.c: Fix comment formatting.
* recog.c: Likewise.
* config/cris/cris.c: Likewise.
* config/cris/cris.h: Likewise.
* config/i960/i960.c: Likewise.
* config/i960/i960.h: Likewise.

From-SVN: r46640

22 years agoFix a typo in ChangeLog.
Kazu Hirata [Tue, 30 Oct 2001 14:26:35 +0000 (14:26 +0000)]
Fix a typo in ChangeLog.

From-SVN: r46639

22 years agoarm.c: Fix comment a typo.
Kazu Hirata [Tue, 30 Oct 2001 14:18:33 +0000 (14:18 +0000)]
arm.c: Fix comment a typo.

* config/arm/arm.c: Fix comment a typo.
* config/arm/arm.h: Likewise.
* config/ia64/ia64.c: Likewise.

From-SVN: r46638

22 years agoNew test.
Jakub Jelinek [Tue, 30 Oct 2001 12:45:11 +0000 (13:45 +0100)]
New test.

From-SVN: r46637

22 years agoemit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or REG_EQUIV notes for ASM_O...
Jakub Jelinek [Tue, 30 Oct 2001 12:41:45 +0000 (13:41 +0100)]
emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or REG_EQUIV notes for ASM_OPERANDS.

* emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
REG_EQUIV notes for ASM_OPERANDS.  Return the new note (if any).
* rtl.h (set_unique_reg_note): Change return value.
* gcse.c (try_replace_reg): Use set_unique_reg_note.
* cse.c (cse_insn): Likewise.
* expr.c (emit_move_insn): Likewise.
* explow.c (force_reg): Likewise.
* local-alloc (update_equiv_regs): Likewise.
* loop.c (move_moveables, load_mems): Likewise.
* reload (find_reloads): Likewise.

* gcc.dg/20011029-2.c: New test.

From-SVN: r46636

22 years agoLocalization fixes.
Paolo Bonzini [Tue, 30 Oct 2001 12:14:28 +0000 (12:14 +0000)]
Localization fixes.

2001-10-30  Paolo Bonzini  <bonzini@gnu.org>

Localization fixes.
* c-decl.c (parmlist_tags_warning, start_struct,
check_for_loop_decls): Separate messages for struct, union and
enum cases to allow for languages in which they have different
genders.
* c-format.c (scanf_flag_specs): Separate short and long name of
the assignment suppression feature.
(check_format_types): Localize "pointer" and "different types"
strings.
* c-lex.c (lex_number): Localize "an unsigned long int" and
related strings.
(lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
warning message.
* c-typeck.c (build_unary_up): Separate messages for increment and
decrement cases to allow for languages in which they use different
articles.  Localize the strings "increment" and "decrement" in one
case.

From-SVN: r46635