platform/upstream/gcc.git
22 years agoSomebody forgot a >>>>>>>>
Anthony Green [Thu, 8 Nov 2001 15:13:11 +0000 (15:13 +0000)]
Somebody forgot a >>>>>>>>

From-SVN: r46844

22 years agodwarf2asm.c (mark_indirect_pool_entry, [...]): New.
Jakub Jelinek [Thu, 8 Nov 2001 11:33:32 +0000 (12:33 +0100)]
dwarf2asm.c (mark_indirect_pool_entry, [...]): New.

* dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
(USE_LINKONCE_INDIRECT): Define.
(dw2_output_indirect_constant_1): Try to output indirect constants
into linkonce sections if possible.
(dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
(dw2_output_indirect_constants): Likewise.

From-SVN: r46843

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

From-SVN: r46842

22 years agoMake-lang.in: Add rules for building g77.1.
Toon Moene [Thu, 8 Nov 2001 00:07:58 +0000 (01:07 +0100)]
Make-lang.in: Add rules for building g77.1.

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

* Make-lang.in: Add rules for building g77.1.
* invoke.texi: Add man page stuff.  Move indexing
from g77.texi to here.
* g77.texi: Remove indexing specific to invoke.texi.
* news.texi: Document that g77.1 is now a generated
file.

From-SVN: r46840

22 years ago* config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
Aldy Hernandez [Wed, 7 Nov 2001 23:47:47 +0000 (23:47 +0000)]
* config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.

From-SVN: r46839

22 years agoc-decl.c (pushdecl): Remove file and line.
Neil Booth [Wed, 7 Nov 2001 22:52:30 +0000 (22:52 +0000)]
c-decl.c (pushdecl): Remove file and line.

* c-decl.c (pushdecl): Remove file and line.
* c-typeck.c (pop_init_level): Remove size.

From-SVN: r46838

22 years agodarwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.
Aldy Hernandez [Wed, 7 Nov 2001 22:27:03 +0000 (22:27 +0000)]
darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.

* darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.

* linux64.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.

From-SVN: r46837

22 years agoindex.html (5.8): New entry on ABIs.
Nathan Myers [Wed, 7 Nov 2001 21:08:53 +0000 (21:08 +0000)]
index.html (5.8): New entry on ABIs.

2001-11-07  Nathan Myers  <ncm@cantrip.org>

* docs/html/faq/index.html (5.8):  New entry on ABIs.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46836

22 years agoforgot cl entries
Aldy Hernandez [Wed, 7 Nov 2001 20:54:05 +0000 (20:54 +0000)]
forgot cl entries

From-SVN: r46835

22 years agoparse.y (patch_assignment): Removed unused third argument.
Alexandre Petit-Bianco [Wed, 7 Nov 2001 20:50:00 +0000 (12:50 -0800)]
parse.y (patch_assignment): Removed unused third argument.

2001-11-07  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (patch_assignment): Removed unused third argument.
(java_complete_lhs): Removed unused third argument to patch_assignment.

( http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00469.html )

From-SVN: r46834

22 years agoinvoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec for rs6000.
Aldy Hernandez [Wed, 7 Nov 2001 20:49:41 +0000 (20:49 +0000)]
invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec for rs6000.

* doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
for rs6000.

* config/rs6000/rs6000.h (MASK_ALTIVEC): New.
(TARGET_ALTIVEC): New.
(TARGET_SWITCHES): Add altivec.
(FIRST_PSEUDO_REGISTER): Change to 109.
(CALL_USED_REGISTERS): Same.
(FIRST_ALTIVEC_REGNO): New.
(LAST_ALTIVEC_REGNO): New.
(ALTIVEC_REGNO_P): New.
(UNITS_PER_ALTIVEC_WORD): New.
(ALTIVEC_VECTOR_MODE): New.
(FIXED_REGISTERS): Add altivec registers.
(REG_ALLOC_ORDER): Same.
(HARD_REGNO_NREGS): Adjust for altivec registers.
(HARD_REGNO_MODE_OK): Same.
(MODES_TIEABLE_P): Same.
(REGISTER_MOVE_COST): Same.
(REGNO_REG_CLASS): Same.
(reg_class): Add ALTIVEC_REGS.
(REG_CLASS_NAMES): Same.
(REG_CLASS_CONTENTS): Same.
(REG_CLASS_FROM_LETTER): Add 'v' constraint for ALTIVEC_REGS.
(ALTIVEC_ARG_RETURN): New.
(FUNCTION_VALUE): Handle VECTOR_TYPE.
(LIBCALL_VALUE): Handle altivec vector modes.
(VECTOR_MODE_SUPPORTED_P): New.
(ALTIVEC_ARG_MIN_REG): New.
(ALTIVEC_ARG_MAX_REG): New.
(ALTIVEC_ARG_NUM_REG): New.
(FUNCTION_VALUE_REGNO_P): Return true for altivec return register.
(FUNCTION_ARG_REGNO_P): Support passing args in altivec registers.
(REGISTER_NAMES): Add altivec regs.
(DEBUG_REGISTER_NAMES): Same.
(ADDITIONAL_REGISTER_NAMES): Same.
(rs6000_builtins): New.
(MD_EXPAND_BUILTIN): New.
(MD_INIT_BUILTINS): New.
(LEGITIMATE_OFFSET_ADDRESS_P): This addressing mode is not valid
for AltiVec instructions.
(LEGITIMATE_LO_SUM_ADDRESS_P): Same.
(HARD_REGNO_MODE_OK): Altivec modes can only go in altivec
registers.
(SECONDARY_MEMORY_NEEDED): We need memory to copy vector modes.
(TARGET_SWITCHES): Add no-altivec.
(DATA_ALIGNMENT): Align vectors to 128 bits.
(TARGET_OPTIONS): Add abi= option.
Add rs6000_abi_string extern.
(LOCAL_ALIGNMENT): New.
(CPP_CPU_SPEC): Define __ALTIVEC__ when -maltivec.
(MASK_ALTIVEC_ABI): New.
(TARGET_ALTIVEC_ABI): New.
(CONDITIONAL_REGISTER_USAGE): Set first 20 AltiVec registers to
call-saved.
(STACK_BOUNDARY): Adjust for altivec.
(BIGGEST_ALIGNMENT): Same.
(rs6000_args): Add vregno.
(USE_ALTIVEC_FOR_ARG_P): New.
(FIXED_REGISTERS): Add vrsave register.
(CALL_USED_REGISTERS): Same.
(CONDITIONAL_REGISTER_USAGE): Set VRSAVE info.
(VRSAVE_REGNO): New.
(reg_class): Add VRSAVE_REGS.
(REG_CLASS_NAMES): Same.
(REG_CLASS_CONTENTS): Same.
(REGNO_REG_CLASS): Same.

* config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec.
(ABI_STACK_BOUNDARY): Same.
(BIGGEST_ALIGNMENT): Same.
(ADJUST_FIELD_ALIGN): Remove undef.  Define anew.
(ROUND_TYPE_ALIGN): Same.

* config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT
to 64.

* config/rs6000/rs6000.c (rs6000_expand_builtin): New.
(altivec_expand_builtin): New.
(altivec_init_builtins): New.
(TARGET_EXPAND_BUILTIN): New.
(TARGET_INIT_BUILTINS): New.
(rs6000_init_builtins): New.
(struct builtin_description): New.
(bdesc_2arg): New.
(rs6000_reg_names): Add altivec registers.
(alt_reg_names): Same.
(secondary_reload_class): Altivec regs can hold altivec regs and
memory.
(rs6000_emit_move): Force constants into memory for AltiVec moves.
(print_operand): Add 'y' case for printing altivec memory
operands.
(rs6000_legitimize_address): Legitimize vector addresses into
[REG+REG] or [REG].
(altivec_expand_binop_builtin): New.
New string rs6000_current_abi.
(rs6000_override_options): Call rs6000_parse_abi_options.
(rs6000_parse_abi_options): New.
(function_arg_boundary): Vector arguments must be 16
byte aligned.
(function_arg_advance): Handle vector arguments.
(function_arg_partial_nregs): Same.
(init_cumulative_args): Same.
(function_arg): Same.

* config/rs6000/rs6000.md (altivec_lvx): New.
(type): Add altivec attribute.
(movv4si): New.
(*movv4si_internal): New.
(movv16qi): New.
(*movv16qi_internal): New.
(movv8hi): New.
(*movv8hi_internal1): New.
(movv4sf): New.
(*movv4sf_internal1): New.
(altivec_stvx): New.
(vaddubm): New.
(vadduhm): New.
(vadduwm): New.
(vaddfp): New.
(vaddcuw): New.
(vaddubs): New.
(vaddsbs): New.
(vadduhs): New.
(vaddshs): New.
(vadduws): New.
(vaddsws): New.
(vand): New.
(vandc): New.
(vavgub): New.
(vavgsb): New.
(vavguh): New.
(vavgsh): New.
(vavguw): New.
(vavgsw): New.
(vcmpbfp): New.
(vcmpequb): New.
(vcmpequh): New.
(vcmpequw): New.
(vcmpeqfp): New.
(vcmpgefp): New.
(vcmpgtub): New.
(vcmpgtsb): New.
(vcmpgtuh): New.
(vcmpgtsh): New.
(vcmpgtuw): New.
(vcmpgtsw): New.
(vcmpgtfp): New.
(vcmpgefp): New.
(vcmpgtub): New.
(vcmpgtsb): New.
(vcmpgtuh): New.
(vcmpgtsh): New.
(vcmpgtuw): New.
(vcmpgtsw): New.
(vcmpgtfp): New.
(vmaxub): New.
(vmaxsb): New.
(vmaxuh): New.
(vmaxsh): New.
(vmaxuw): New.
(vmaxsw): New.
(vmaxfp): New.
(vmrghb): New.
(vmrghh): New.
(vmrghw): New.
(vmrglb): New.
(vmrglh): New.
(vmrglw): New.
(vminub): New.
(vminsb): New.
(vminuh): New.
(vminsh): New.
(vminuw): New.
(vminsw): New.
(vminfp): New.
(vmuleub): New.
(vmulesb): New.
(vmuleuh): New.
(vmulesh): New.
(vmuloub): New.
(vmulosb): New.
(vmulouh): New.
(vmulosh): New.
(vnor): New.
(vor): New.
(vpkuhum): New.
(vpkuwum): New.
(vpkpx): New.
(vpkuhss): New.
(vpkshss): New.
(vpkuwss): New.
(vpkswss): New.
(vpkuhus): New.
(vpkshus): New.
(vpkuwus): New.
(vpkswus): New.
(vrlb): New.
(vrlh): New.
(vrlw): New.
(vslb): New.
(vslh): New.
(vslw): New.
(vsl): New.
(vslo): New.
(vsrb): New.
(vrsh): New.
(vrsw): New.
(vsrab): New.
(vsrah): New.
(vsraw): New.
(vsr): New.
(vsro): New.
(vsububm): New.
(vsubuhm): New.
(vsubuwm): New.
(vsubfp): New.
(vsubcuw): New.
(vsububs): New.
(vsubsbs): New.
(vsubuhs): New.
(vsubshs): New.
(vsubuws): New.
(vsubsws): New.
(vsum4ubs): New.
(vsum4sbs): New.
(vsum4shs): New.
(vsum2sws): New.
(vsumsws): New.
(vxor): New.

From-SVN: r46833

22 years agogcc_update (files_and_dependencies): Add Ada dependencies.
Laurent Guerby [Wed, 7 Nov 2001 20:26:58 +0000 (20:26 +0000)]
gcc_update (files_and_dependencies): Add Ada dependencies.

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

* gcc_update (files_and_dependencies): Add Ada dependencies.

From-SVN: r46832

22 years agoMAINTAINERS (Write After Approval): Add self.
Laurent Guerby [Wed, 7 Nov 2001 20:18:48 +0000 (20:18 +0000)]
MAINTAINERS (Write After Approval): Add self.

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

* MAINTAINERS (Write After Approval): Add self.

From-SVN: r46831

22 years ago* verify.cc (skip_padding): Fail if padding byte is nonzero.
Tom Tromey [Wed, 7 Nov 2001 19:15:54 +0000 (19:15 +0000)]
* verify.cc (skip_padding): Fail if padding byte is nonzero.

From-SVN: r46830

22 years agoindex.html: Explain libsupc++, mention 'long long' bugfixes on Solaris.
Phil Edwards [Wed, 7 Nov 2001 16:47:39 +0000 (16:47 +0000)]
index.html: Explain libsupc++, mention 'long long' bugfixes on Solaris.

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

* docs/html/faq/index.html:  Explain libsupc++, mention 'long long'
bugfixes on Solaris.
* docs/html/faq/index.txt:  Regenerate.

From-SVN: r46828

22 years agoMakefile.in (df.o): Add fibheap.h to dependencies.
Daniel Berlin [Wed, 7 Nov 2001 16:34:37 +0000 (16:34 +0000)]
Makefile.in (df.o): Add fibheap.h to dependencies.

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

        * Makefile.in (df.o): Add fibheap.h to dependencies.

        * df.h: Add prototypes for transfer functions, iterative_dataflow
        functions.
        (enum df_flow_dir): New enum.
        (enum df_confluence_op): New enum.
        (struct df): Add inverse_rts_map.

        * df.c: Add sbitmap.h to the list of includes.
        (df_rd_global_compute): Removed.
        (df_ru_global_compute): Removed.
        (df_lr_global_compute): Removed.
        (df_rd_transfer_function): New function.
        (df_ru_transfer_function): New function.
        (df_lr_transfer_function): New function.
        (df_analyse_1): allocate/compute/free df->inverse_rts_map.
        Use iterative_dataflow_bitmap instead of df_*_global_compute.
        (iterative_dataflow_sbitmap): New function.
        (iterative_dataflow_bitmap): New function.

From-SVN: r46827

22 years agogcc.texi: Move terminology and spelling conventions to htdocs/codingconventions.html.
Joseph Myers [Wed, 7 Nov 2001 14:53:23 +0000 (14:53 +0000)]
gcc.texi: Move terminology and spelling conventions to htdocs/codingconventions.html.

* doc/gcc.texi: Move terminology and spelling conventions to
htdocs/codingconventions.html.

From-SVN: r46825

22 years ago* cse.c (cse_insn): Emit BARRIER after unconditional jump.
Graham Stott [Wed, 7 Nov 2001 12:57:17 +0000 (12:57 +0000)]
* cse.c (cse_insn): Emit BARRIER after unconditional jump.

From-SVN: r46824

22 years agoexpmed.c (expand_mult): Force operand to register before computing cost.
Jan Hubicka [Wed, 7 Nov 2001 12:35:16 +0000 (13:35 +0100)]
expmed.c (expand_mult): Force operand to register before computing cost.

* expmed.c (expand_mult): Force operand to register before computing
cost.
* i386.c (x86_decompose_lea): New global vairable.
* i386.h (x86_decompose_lea): Declare.
(TARGET_DECOMPOSE_LEA): New macro.
(RTX_COST): Handle leas properly.

From-SVN: r46823

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

From-SVN: r46821

22 years agoelf.h (DO_SELECT_SECTION): TREE_READONLY is not defined for a CONSTRUCTOR; don't...
Richard Henderson [Wed, 7 Nov 2001 07:47:08 +0000 (23:47 -0800)]
elf.h (DO_SELECT_SECTION): TREE_READONLY is not defined for a CONSTRUCTOR; don't check it.

        * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
        defined for a CONSTRUCTOR; don't check it.

From-SVN: r46820

22 years agogcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to test for absolute pathnames.
Danny Smith [Wed, 7 Nov 2001 07:00:29 +0000 (07:00 +0000)]
gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to test for absolute pathnames.

        * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
        test for absolute pathnames.

From-SVN: r46819

22 years agounwind-dw2.c (execute_cfa_program): Evaluate call frame instructions up to the target...
Olivier Hainque [Wed, 7 Nov 2001 06:33:57 +0000 (07:33 +0100)]
unwind-dw2.c (execute_cfa_program): Evaluate call frame instructions up to the target pc inclusive.

        * unwind-dw2.c (execute_cfa_program): Evaluate call frame
        instructions up to the target pc inclusive.

From-SVN: r46818

22 years ago* loop.c (loop_regs_scan): Don't invalidate PIC register.
Steve Christiansen [Wed, 7 Nov 2001 06:24:46 +0000 (06:24 +0000)]
* loop.c (loop_regs_scan):  Don't invalidate PIC register.

From-SVN: r46817

22 years ago* HACKING: Make people commit their own patches.
Tom Tromey [Wed, 7 Nov 2001 01:19:20 +0000 (01:19 +0000)]
* HACKING: Make people commit their own patches.

From-SVN: r46816

22 years agoacinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode.
Phil Edwards [Tue, 6 Nov 2001 22:50:50 +0000 (22:50 +0000)]
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode.

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

* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG):  Run the test in
LANG_CPLUSPLUS mode.
* aclocal.m4:  Regenerate.
* configure:  Regenerate.

From-SVN: r46815

22 years agomips.md (movdf_internal2): Add constraints for float to general register move.
Eric Christopher [Tue, 6 Nov 2001 22:38:15 +0000 (22:38 +0000)]
mips.md (movdf_internal2): Add constraints for float to general register move.

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

* config/mips/mips.md(movdf_internal2): Add constraints for float
to general register move.
* config/mips/elf64.h: Add default ABI.

From-SVN: r46814

22 years agoClean up langhooks
Neil Booth [Tue, 6 Nov 2001 21:12:14 +0000 (21:12 +0000)]
Clean up langhooks

* alias.c:: Include langhooks.h.
* emit-rtl.c: Similarly.
* toplev.c: Similarly.
* tree-inline.c: Similarly.
* langhooks-def.h: New, the old langhooks.h.  Give the default
hooks a common prefix.
* langhooks.h: Contents extracted from toplev.h.
* toplev.h: Move langhook stuff to langhooks.h.
* langhooks.c: Give default hooks a common prefix.

* c-lang.c: Include langhooks-def.h.
* ada/misc.c: Similarly.
* cp/cp-lang.c: Similarly.
* f/com.c: Similarly.
* java/lang.c: Similarly.
* objc/objc-act.c: Similarly.

* Makefile.in: Update.
* ada/Makefile.in: Similarly.
* cp/Make-lang.in: Similarly.
* f/Make-lang.in: Similarly.
* java/Make-lang.in: Similarly.
* objc/Make-lang.in: Similarly.

From-SVN: r46813

22 years agoinstall.texi: Document that configure options not listed in this file are unsupported.
Joseph Myers [Tue, 6 Nov 2001 20:05:07 +0000 (20:05 +0000)]
install.texi: Document that configure options not listed in this file are unsupported.

* doc/install.texi: Document that configure options not listed in
this file are unsupported.  Document --with-system-zlib.

From-SVN: r46811

22 years agoupdate_web_docs: Set SOURCEDIR so that install manual can be found when running insta...
Joseph Myers [Tue, 6 Nov 2001 17:59:19 +0000 (17:59 +0000)]
update_web_docs: Set SOURCEDIR so that install manual can be found when running install.texi2html.

* update_web_docs: Set SOURCEDIR so that install manual can be
found when running install.texi2html.

From-SVN: r46810

22 years ago* gcc_release: Don't require a username if running locally.
Joseph Myers [Tue, 6 Nov 2001 16:45:37 +0000 (16:45 +0000)]
* gcc_release: Don't require a username if running locally.

From-SVN: r46809

22 years agortl.h (mem_for_const_double): New declaration.
Richard Kenner [Tue, 6 Nov 2001 14:47:43 +0000 (14:47 +0000)]
rtl.h (mem_for_const_double): New declaration.

* rtl.h (mem_for_const_double): New declaration.
* varasm.c (mem_for_const_double): New function.
* config/convex/convex.md (movdf): Use it.
* config/m68k/hp320.h (LEGITIMATE_PIC_OPERAND_P): Likewise.
* config/m68k/linux.h, config/m68k/m68k.h: Likewise.
* config/m68k/m68kv4.h: Likewise.

From-SVN: r46808

22 years agoalpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition of new GP reg classes.
Richard Kenner [Tue, 6 Nov 2001 14:27:58 +0000 (14:27 +0000)]
alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition of new GP reg classes.

* config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
of new GP reg classes.

From-SVN: r46807

22 years agoexpr.c (store_field): When making temp object for unaligned component, set it to...
Richard Kenner [Tue, 6 Nov 2001 14:20:30 +0000 (14:20 +0000)]
expr.c (store_field): When making temp object for unaligned component, set it to alias set 0.

* expr.c (store_field): When making temp object for unaligned
component, set it to alias set 0.

From-SVN: r46806

22 years agore PR c/461 (non-lvalue arrays)
Joseph Myers [Tue, 6 Nov 2001 12:39:36 +0000 (12:39 +0000)]
re PR c/461 (non-lvalue arrays)

* c-common.c (c_expand_expr_stmt): Apply default conversions to
non-lvalue arrays if C99.
* c-typeck.c (default_conversion): Split out code handling
array-to-pointer and function-to-pointer conversions into a
separate default_function_array_conversion function.
(default_function_array_conversion): New function.  Keep track of
whether any NON_LVALUE_EXPRs were stripped.  Return non-lvalue
arrays unchanged outside C99 mode instead of giving an error for
them.
(build_component_ref): Use pedantic_non_lvalue when handling
COMPOUND_EXPR.  Don't handle COND_EXPR specially.
(convert_arguments): Use default_function_array_conversion.
(build_unary_op): For ADDR_EXPR, take a flag indicating whether
non-lvalues are OK.
(unary_complex_lvalue): Likewise.
(internal_build_compound_expr): Use
default_function_array_conversion.  Apply default conversions to
function in compound expression.
(build_c_cast, build_modify_expr, digest_init, build_asm_stmt):
Use default_function_array_conversion.
* doc/extend.texi: Update documentation of subscripting non-lvalue
arrays.
Fixes PR c/461.

testsuite:
* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-array-lval-2.c,
gcc.dg/c99-array-lval-1.c, gcc.dg/c99-array-lval-2.c: Remove
XFAILs.  Adjust expected error texts.
* gcc.c-torture/compile/20011106-1.c,
gcc.c-torture/compile/20011106-2.c, gcc.dg/c90-array-lval-3.c,
gcc.dg/c90-array-lval-4.c, gcc.dg/c90-array-lval-5.c,
gcc.dg/c99-array-lval-3.c, gcc.dg/c99-array-lval-4.c,
gcc.dg/c99-array-lval-5.c: New tests.

From-SVN: r46805

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

From-SVN: r46803

22 years ago* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.
Hans-Peter Nilsson [Tue, 6 Nov 2001 07:15:44 +0000 (07:15 +0000)]
* Makefile.in (MAKEINFO): Use "missing" for makeinfo older than 4.0.

From-SVN: r46802

22 years agoaclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
Zack Weinberg [Tue, 6 Nov 2001 02:39:47 +0000 (02:39 +0000)]
aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.

* aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
(AM_GNU_GETTEXT): Set CATALOGS to a list of .gmo files
corresponding to the complete set of .po and .gmo files in
the source directory's po subdir, modified by LINGUAS.  Don't
look at ALL_LINGUAS.
* configure.in: Don't set ALL_LINGUAS.
* configure: Regenerate.

* Makefile.in (.po.gmo): Don't move into source directory.
(.po.pox): Clarify comments.
(install-po): Look for .gmo files in both srcdir and objdir;
don't fail if a file is totally missing.
(distclean): rmdir ada subdirectory too.

From-SVN: r46800

22 years agors6000.c (rs6000_select_section): Handle CONSTRUCTORs _correctly_.
Geoffrey Keating [Tue, 6 Nov 2001 00:21:34 +0000 (00:21 +0000)]
rs6000.c (rs6000_select_section): Handle CONSTRUCTORs _correctly_.

* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs _correctly_.

From-SVN: r46798

22 years agoporting.texi: Move...
Phil Edwards [Tue, 6 Nov 2001 00:18:37 +0000 (00:18 +0000)]
porting.texi: Move...

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

* porting.texi:  Move...
* docs/html/17_intro/porting.texi:  ...to here.
* docs/html/Makefile:  Add rule to rebuild...
* docs/html/17_intro/porting.html:  ...this.  New file.

From-SVN: r46797

22 years agoClass.h (Class): Made _Jv_BytecodeVerifier a friend.
Tom Tromey [Mon, 5 Nov 2001 23:39:54 +0000 (23:39 +0000)]
Class.h (Class): Made _Jv_BytecodeVerifier a friend.

* java/lang/Class.h (Class): Made _Jv_BytecodeVerifier a friend.
* Makefile.in: Rebuilt.
* Makefile.am (libgcj_la_SOURCES): Added verify.cc.
* verify.cc: New file.
* include/java-interp.h (_Jv_count_arguments): Declare.
(_Jv_VerifyMethod): Likewise.
(class _Jv_InterpMethod): Made _Jv_BytecodeVerifier a friend.
(class _Jv_InterpException): Likewise.
* resolve.cc (_Jv_count_arguments): Renamed from count_arguments.
No longer static.  Updated callers.
* defineclass.cc (int_bits_to_float): Removed.
(long_bits_to_double): Likewise.
(prepare_pool_entry): Updated.
(handleCodeAttribute): Verify method (commented out for now).

From-SVN: r46796

22 years agoc-decl.c (delete_block): Remove.
Neil Booth [Mon, 5 Nov 2001 23:21:35 +0000 (23:21 +0000)]
c-decl.c (delete_block): Remove.

* c-decl.c (delete_block): Remove.
* c-tree.h (delete_block): Remove.

From-SVN: r46795

22 years agocppexp.c (lex, [...]): Update warning about defined.
Neil Booth [Mon, 5 Nov 2001 22:26:13 +0000 (22:26 +0000)]
cppexp.c (lex, [...]): Update warning about defined.

* cppexp.c (lex, parse_defined): Update warning about defined.
* gcc.dg/cpp/defined.c: Update.

From-SVN: r46794

22 years agoporting-howto.xml: check in v0.9.4
Felix Natter [Mon, 5 Nov 2001 21:54:43 +0000 (21:54 +0000)]
porting-howto.xml: check in v0.9.4

2001-11-05  Felix Natter  <fnatter@gmx.net>

* docs/html/17_intro/porting-howto.xml:  check in v0.9.4
* docs/html/17_intro/porting-howto.html:  regenerate

From-SVN: r46793

22 years agors6000.c (rs6000_select_section): Handle CONSTRUCTORs too.
Geoffrey Keating [Mon, 5 Nov 2001 21:04:07 +0000 (21:04 +0000)]
rs6000.c (rs6000_select_section): Handle CONSTRUCTORs too.

* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs too.

From-SVN: r46792

22 years agoCope with int_size_in_bytes returning -1.
Nick Clifton [Mon, 5 Nov 2001 17:00:45 +0000 (17:00 +0000)]
Cope with int_size_in_bytes returning -1.

From-SVN: r46788

22 years agoHandle a NULL DECL being passed to ASM_OUTPUT_ALIGNED_DECL_LOCAL.
Nick Clifton [Mon, 5 Nov 2001 16:36:35 +0000 (16:36 +0000)]
Handle a NULL DECL being passed to ASM_OUTPUT_ALIGNED_DECL_LOCAL.

From-SVN: r46787

22 years agoMakefile.in (bb-reoder.o): Add depdendency on cfglayout.h; remove unneded depdendencies;
Jan Hubicka [Mon, 5 Nov 2001 15:38:01 +0000 (16:38 +0100)]
Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h; remove unneded depdendencies;

* Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;
remove unneded depdendencies;
(cfglayout.o): New.
* cfglayout.c, cfglayout.h: New files; break out from ...
* bb-reorder.c: ... here; Remove unneeded includes;

From-SVN: r46786

22 years agoupdate_web_docs: Eliminate warnings about keeping files from web page preprocessing.
Joseph Myers [Mon, 5 Nov 2001 09:55:25 +0000 (09:55 +0000)]
update_web_docs: Eliminate warnings about keeping files from web page preprocessing.

* update_web_docs: Eliminate warnings about keeping files from web
page preprocessing.

From-SVN: r46785

22 years agoupdate_web_docs: Allow for the same file name in different directories.
Joseph Myers [Mon, 5 Nov 2001 08:47:51 +0000 (08:47 +0000)]
update_web_docs: Allow for the same file name in different directories.

* update_web_docs: Allow for the same file name in different
directories.

From-SVN: r46784

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

From-SVN: r46783

22 years ago* java/util/ResourceBundle.java (class Security): Now static.
Bryce McKinlay [Mon, 5 Nov 2001 03:22:18 +0000 (03:22 +0000)]
* java/util/ResourceBundle.java (class Security): Now static.

From-SVN: r46781

22 years agoconfig.sub: Import from master sources, rev 1.226.
Hans-Peter Nilsson [Mon, 5 Nov 2001 01:52:42 +0000 (01:52 +0000)]
config.sub: Import from master sources, rev 1.226.

* config.sub: Import from master sources, rev 1.226.
* config.guess: Import from master sources, rev 1.216.

From-SVN: r46780

22 years agoremove trailing whitespace
DJ Delorie [Mon, 5 Nov 2001 01:11:12 +0000 (20:11 -0500)]
remove trailing whitespace

From-SVN: r46779

22 years agoAdd missing entry.
Alan Modra [Mon, 5 Nov 2001 00:06:31 +0000 (10:36 +1030)]
Add missing entry.

From-SVN: r46778

22 years ago[multiple changes]
David Edelsohn [Sun, 4 Nov 2001 23:30:02 +0000 (18:30 -0500)]
[multiple changes]

2001-11-04  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Mark r2 as used.

2001-11-04  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/rs6000.c (rs6000_emit_move): Handle 64-bit
        mode as well.  Do not explicitly create intermediate regs.

From-SVN: r46777

22 years agoaof.h (aof_text_section, [...]): Don't declare.
Kaveh R. Ghazi [Sun, 4 Nov 2001 22:37:46 +0000 (22:37 +0000)]
aof.h (aof_text_section, [...]): Don't declare.

* arm/aof.h (aof_text_section, aof_data_section): Don't declare.
(common_section): Delete unused variable.
(ASM_OUTPUT_ASCII): Fix signed/unsigned warnings.
(ASM_GENERATE_INTERNAL_LABEL): Fix format specifier warning.
* arm-protos.h (arm_poke_function_name, aof_add_import,
aof_delete_import): Const-ify.
* arm.c (legitimize_pic_address): Wrap variables in the macro
controlling their usage.
(arm_finalize_pic): Mark variable with ATTRIBUTE_UNUSED.
(arm_poke_function_name, pic_chain, import, aof_add_import,
aof_delete_import): Const-ify.
* i386.c (ix86_osf_output_function_prologue): Const-ify.
* i386/sysv4.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE): Fix format specifier warnings.
* i860/fx2800.h (DBX_OUTPUT_STANDARD_TYPES): Const-ify.
* i860/sysv3.h: Add missing comment closure.
* m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Add missing semi-colon.
* m88k/dgux.h (SELECT_RTX_SECTION): Add missing argument in call
to symbolic_operand.

* config.gcc (m680[02]0-*-*): Rename case from m68000-*-*.
(i960-*-*): Set tmake_file.
(sparc86x-*-elf*): Fix typo in header name.

* sched-rgn.c (schedule_insns): Delete unused variable.

From-SVN: r46776

22 years agog77.texi: Split off invoke.texi (preliminary to using it to generate a man page).
Toon Moene [Sun, 4 Nov 2001 21:53:41 +0000 (22:53 +0100)]
g77.texi: Split off invoke.texi (preliminary to using it to generate a man page).

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

* g77.texi: Split off invoke.texi (preliminary to using it
to generate a man page).
* Make-lang.in: Reflect in build rules.

From-SVN: r46775

22 years agore PR c/2820 (unnamed union inside unnamed struct changes rest of the struct)
Neil Booth [Sun, 4 Nov 2001 17:54:57 +0000 (17:54 +0000)]
re PR c/2820 (unnamed union inside unnamed struct changes rest of the struct)

PR c/2820
* c-typeck.c (lookup_field): Rework to return a chain down to
the looked-up field.
(build_component_ref): Use the new lookup_field to handle
nested anonymous entities correctly.

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

From-SVN: r46774

22 years agosparc.c (sparc_emit_set_const32, [...]): Change parameters to gen_rtx_CONST_DOUBLE.
Richard Kenner [Sun, 4 Nov 2001 16:54:00 +0000 (16:54 +0000)]
sparc.c (sparc_emit_set_const32, [...]): Change parameters to gen_rtx_CONST_DOUBLE.

* config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
Change parameters to gen_rtx_CONST_DOUBLE.
(GEN_INT64, sparc_emit_set_const64): Likewise.
* config/sparc/sparc.md (movdf split): Likewise.

From-SVN: r46773

22 years ago* pt.c (tsubst_copy): Call tsubst for TYPEOF_EXPR.
Kriang Lerdsuwanakij [Sun, 4 Nov 2001 09:50:44 +0000 (09:50 +0000)]
* pt.c (tsubst_copy): Call tsubst for TYPEOF_EXPR.

From-SVN: r46772

22 years agoDaily bump.
GCC Administrator [Sun, 4 Nov 2001 08:17:44 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r46771

22 years agounroll.c (calculate_giv_inc): Use find_last_value rather than just hoping the last...
Geoffrey Keating [Sun, 4 Nov 2001 08:12:09 +0000 (08:12 +0000)]
unroll.c (calculate_giv_inc): Use find_last_value rather than just hoping the last instruction is the right SET.

* unroll.c (calculate_giv_inc): Use find_last_value rather
than just hoping the last instruction is the right SET.
[Fixes 990604-1.c on stormy16.]

From-SVN: r46769

22 years agostormy16.h (LIB_SPEC): Don't supply any libgloss library at all if -T is used.
Geoffrey Keating [Sun, 4 Nov 2001 07:43:50 +0000 (07:43 +0000)]
stormy16.h (LIB_SPEC): Don't supply any libgloss library at all if -T is used.

* config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
library at all if -T is used.

From-SVN: r46768

22 years ago* configure.in: Cope with missing makeinfo.
Alan Modra [Sun, 4 Nov 2001 07:42:47 +0000 (07:42 +0000)]
* configure.in: Cope with missing makeinfo.

From-SVN: r46767

22 years agostormy16.c (stormy16_print_operand): Avoid some uses of uninitialized variables in...
Geoffrey Keating [Sun, 4 Nov 2001 07:42:04 +0000 (07:42 +0000)]
stormy16.c (stormy16_print_operand): Avoid some uses of uninitialized variables in error cases.

* config/stormy16/stormy16.c (stormy16_print_operand): Avoid
some uses of uninitialized variables in error cases.

From-SVN: r46766

22 years agostormy16.c (stormy16_output_shift): Don't look at 'temp' if we won't be using it.
Geoffrey Keating [Sun, 4 Nov 2001 07:41:04 +0000 (07:41 +0000)]
stormy16.c (stormy16_output_shift): Don't look at 'temp' if we won't be using it.

* config/stormy16/stormy16.c (stormy16_output_shift): Don't
look at 'temp' if we won't be using it.

From-SVN: r46765

22 years agostormy16.h (CONST_COSTS): Define.
Geoffrey Keating [Sun, 4 Nov 2001 07:40:15 +0000 (07:40 +0000)]
stormy16.h (CONST_COSTS): Define.

* config/stormy16/stormy16.h (CONST_COSTS): Define.
(RTX_COSTS): Define.
(ADDRESS_COST): Define.
(MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.

From-SVN: r46764

22 years ago* config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.
Geoffrey Keating [Sun, 4 Nov 2001 07:38:38 +0000 (07:38 +0000)]
* config/stormy16/stormy16.h (ASM_SPEC): Pass -g to the assembler.

From-SVN: r46763

22 years agostormy16.h (ASM_OUTPUT_MI_THUNK): Call stormy16_asm_output_mi_thunk.
Geoffrey Keating [Sun, 4 Nov 2001 07:37:48 +0000 (07:37 +0000)]
stormy16.h (ASM_OUTPUT_MI_THUNK): Call stormy16_asm_output_mi_thunk.

* config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
stormy16_asm_output_mi_thunk.
* config/stormy16/stormy16.c (stormy16_asm_output_mi_thunk): New
function.
* config/stormy16/stormy16-protos.h
(stormy16_asm_output_mi_thunk): New prototype.

From-SVN: r46762

22 years agoResourceBundle.java (getClassContext): Removed.
Bryce McKinlay [Sun, 4 Nov 2001 04:15:09 +0000 (04:15 +0000)]
ResourceBundle.java (getClassContext): Removed.

* java/util/ResourceBundle.java (getClassContext): Removed.
(Security): New class, extends SecurityManger.
(getBundle): Use Security.getCallingClassLoader instead of
getClassContext.
* java/util/natResourceBundle.cc: Removed.

From-SVN: r46761

22 years agoChangeLog.2, [...]: Fix spelling errors.
Joseph Myers [Sun, 4 Nov 2001 02:51:28 +0000 (02:51 +0000)]
ChangeLog.2, [...]: Fix spelling errors.

* ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
FSFChangeLog.10, FSFChangeLog.11, alias.c, attribs.c,
caller-save.c, calls.c, cfg.c, cfganal.c, cfgcleanup.c, cfgrtl.c,
cppmacro.c, fold-const.c, ifcvt.c, local-alloc.c, profile.c,
sched-int.h, toplev.c, config/alpha/alpha.c,
config/alpha/alpha.md, config/c4x/c4x.h, config/cris/cris.h,
config/cris/cris.md, config/i370/i370.md, config/i386/i386.c,
config/i386/i386.h, config/i386/i386.md, config/i386/xm-djgpp.h,
config/ia64/ia64.c, config/m68hc11/m68hc11.c, config/m68k/m68k.md,
config/mcore/mcore.h, config/mmix/mmix.c, config/ns32k/ns32k.h,
config/ns32k/ns32k.md, config/rs6000/rs6000.c,
config/rs6000/sysv4.h, config/sh/sh.md: Fix spelling errors.

From-SVN: r46760

22 years agoMakefile.in (dbxout.o): Depend on function.h.
Kaveh R. Ghazi [Sun, 4 Nov 2001 02:47:36 +0000 (02:47 +0000)]
Makefile.in (dbxout.o): Depend on function.h.

* Makefile.in (dbxout.o): Depend on function.h.
* collect2.c (is_in_list): Hide unused function.
* dbxout.c: Include function.h.
(source_label_number, dbxout_source_line, dbxout_source_file,
dbxout_function_end, dbxout_begin_function): Wrap/move inside
macros controlling usage.
* gcc.c (TARGET_EXECUTABLE_SUFFIX): Undef before defining.
* output.h (exports_section): Prototype.

From-SVN: r46759

22 years agoconvex.c (convex_output_function_prologue): Fix format specifier warning.
Kaveh R. Ghazi [Sun, 4 Nov 2001 02:40:39 +0000 (02:40 +0000)]
convex.c (convex_output_function_prologue): Fix format specifier warning.

* convex.c (convex_output_function_prologue): Fix format specifier
warning.
(asm_declare_function_name): Fix signed/unsigned warning.
(print_operand): Fix format specifier warning.
* convex.h (S_REGNO_P, A_REGNO_P): Fix signed/unsigned warning.
* dsp16xx-protos.h (uns_comparison_operator,
num_1600_core_shifts): Prototype.
* dsp16xx.c: Include tm_p.h, not dsp16xx-protos.h.
(frame_size, frame_pointer_offset): Delete.
(dsp16xx_output_function_prologue, dsp16xx_output_function_epilogue):
Make static.  Fix format specifier warnings.
* dsp16xx.h (IS_ACCUM_REG): Fix unsigned>=0 warning.
(EXTRA_SECTION_FUNCTIONS): Prototype const_section.
* dsp16xx.md: Add default case in switches.
* fr30.h (IN_RANGE): Delete.
* ia64.h (ASM_OUTPUT_MI_THUNK): Fix format specifier warnings.
* mcore-protos.h (mcore_output_cmov): Const-ify.
* mcore.c (mcore_output_cmov): Likewise.
* mcore.h (switch_to_section): Make static and prototype.
* mn10200.h (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Fix
unsigned>=0 warnings.
* mn10300.h (REGNO_IN_RANGE_P): Likewise.
* rs6000-protos.h (read_only_data_section,
read_only_private_data_section): Prototype.
* rs6000.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
* sh.c (sh_adjust_cost): Mark parameter with ATTRIBUTE_UNUSED.
* sh.h (GENERAL_REGISTER_P): Fix unsigned>=0 warning.

From-SVN: r46758

22 years agodwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with ATTRIBUTE_UNUSED.
Kaveh R. Ghazi [Sun, 4 Nov 2001 02:26:55 +0000 (02:26 +0000)]
dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with ATTRIBUTE_UNUSED.

* dwarf2asm.c (dw2_asm_output_pcrel): Mark parameters with
ATTRIBUTE_UNUSED.
* final.c (final_scan_insn): Add brackets around body of if-stmt.
* gcc.c (convert_filename): Add static prototype.  Const-ify.
Wrap variable in macros controlling its use.
* output.h (sdata_section): Add prototype.

From-SVN: r46757

22 years ago* lex.c (copy_lang_type): Add static prototype.
Kaveh R. Ghazi [Sun, 4 Nov 2001 02:20:02 +0000 (02:20 +0000)]
* lex.c (copy_lang_type): Add static prototype.

From-SVN: r46756

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