OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years agoDaily bump.
gccadmin [Fri, 9 Nov 2001 08:20:48 +0000 (08:20 +0000)]
Daily bump.

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

21 years ago * c-lang.c (LANG_HOOKS_NAME): New.
neil [Fri, 9 Nov 2001 07:14:20 +0000 (07:14 +0000)]
* c-lang.c (LANG_HOOKS_NAME): New.
(lang_hooks): Constify.
(c_init_options): Update.
(lang_identify): Remove.
* c-parse.in (language_string): Remove.
* dbxout.c: Include langhooks.h.
(dbxout_symbol_location): Update.
* dwarf2out.c: Include langhooks.h.
(gen_compile_unit_die): Update.
* dwarfout.c: Include langhooks.h.
(prototyped_attribute, output_compile_unit_die): Update.
* langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New members.  Constify.
* stringpool.c: Don't include toplev.h.
(set_identifier_size): Remove.
* toplev.c (toplev_main): Initialize identifier size.
(print_version): Update.
* tree.h (language_string, init_lex, lang_identify,
set_identifier_size): Remove.
* Makefile.in: Update dependencies.
* config/darwin.c: Include langhooks.h.
(func_name_maybe_scoped): Update.
* config/darwin.h (ASM_END_FILE): Update.
* config/nextstep.h (ASM_END_FILE): Update.
* config/nextstep21.h (ASM_END_FILE): Update.
* config/i386/sun386.h (ASM_END_FILE): Update.
* config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
(rs6000_output_function_epilogue): Update.
ada:
* misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
(struct lang_hooks): Constify.
(language_string, lang_identify): Remove.
* utils.c (init_decl_processing): Update.
cp:
* cp-lang.c (LANG_HOOKS_NAME): Override.
(struct lang_hooks): Constify.
* lex.c (cxx_init_options): Update.
(lang_identify): Remove.
* parse.y (language_string): Remove.
f:
* com.c (language_string, lang_identify): Remove.
(struct lang_hooks): Constify.
(LANG_HOOKS_NAME): Override.
(init_parse): Update.
java:
* jcf-parse.c (init_lex): Remove.
* lang.c (language_string, lang_identify): Remove.
(struct lang_hooks): Constify.
(LANG_HOOKS_NAME): Override.
(init_parse): Update.
objc:
* objc-act.c (LANG_HOOKS_NAME): Override.
(struct lang_hooks): Constify.
(objc_init_options): Update.
(lang_identify): Remove.

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

21 years ago* config.gcc: Rename stormy16 to xstormy16.
geoffk [Fri, 9 Nov 2001 05:32:46 +0000 (05:32 +0000)]
* config.gcc: Rename stormy16 to xstormy16.

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

21 years ago * fold-const.c (lshift_double): Honor PREC.
wehle [Fri, 9 Nov 2001 05:27:51 +0000 (05:27 +0000)]
* fold-const.c (lshift_double): Honor PREC.
(rshift_double): Likewise.

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

21 years ago * config/1750a/1750a.c: Fix comment formatting.
kazu [Fri, 9 Nov 2001 02:51:34 +0000 (02:51 +0000)]
* config/1750a/1750a.c: Fix comment formatting.
* config/1750a/1750a.h: Likewise.

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

21 years ago* configure.in (--enable-languages): Be more permissive about
dj [Fri, 9 Nov 2001 02:06:30 +0000 (02:06 +0000)]
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.
* configure: Regenerated.

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

21 years ago* configure.in (--enable-languages): Be more permissive about
dj [Fri, 9 Nov 2001 02:06:18 +0000 (02:06 +0000)]
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

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

21 years ago * dwarf2asm.c (dw2_force_const_mem): Fix typo.
rth [Fri, 9 Nov 2001 01:21:13 +0000 (01:21 +0000)]
    * dwarf2asm.c (dw2_force_const_mem): Fix typo.

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

21 years agoIn ChangeLog:
geoffk [Fri, 9 Nov 2001 01:17:07 +0000 (01:17 +0000)]
In ChangeLog:
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

* config.sub: Import from master sources, rev. 1.230.
* MAINTAINERS: Change 'stormy16' to 'xstormy16'.

Index: gcc/ChangeLog
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

* config.gcc: Rename stormy16 to xstormy16.
* config/stormy16/stormy-abi: Likewise.
* config/stormy16/stormy16-protos.h: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/stormy16/stormy16.md: Likewise.

Index: gcc/testsuite/ChangeLog
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

* g++.old-deja/g++.bugs/900227_01.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.eh/badalloc1.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.mike/ns15.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.pt/crash16.C: Change stormy16 to xstormy16.
* gcc.c-torture/compile/961203-1.x: Change stormy16 to xstormy16.
* gcc.c-torture/compile/980506-1.x: Change stormy16 to xstormy16.
* gcc.c-torture/compile/990617-1.x: Change stormy16 to xstormy16.

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

21 years ago * reload1.c (reload): Don't delete equiv insn if can throw.
kenner [Thu, 8 Nov 2001 23:40:15 +0000 (23:40 +0000)]
* reload1.c (reload): Don't delete equiv insn if can throw.

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

21 years ago * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
kenner [Thu, 8 Nov 2001 23:33:08 +0000 (23:33 +0000)]
* expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
(clear_storage): Likewise, for OBJECT.

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

21 years ago * pa.c (emit_move_sequence): Fix SUBREG expression to
law [Thu, 8 Nov 2001 23:23:29 +0000 (23:23 +0000)]
    * pa.c (emit_move_sequence): Fix SUBREG expression to
        use proper byte offset when extending a constant from
        SImode to DImode.

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

21 years ago * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
jakub [Thu, 8 Nov 2001 23:14:26 +0000 (23:14 +0000)]
* cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
which cannot throw.

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

21 years ago * explow.c (convert_memory_address, case SUBREG): Only return
kenner [Thu, 8 Nov 2001 22:56:52 +0000 (22:56 +0000)]
* explow.c (convert_memory_address, case SUBREG): Only return
inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.

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

21 years ago * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
rth [Thu, 8 Nov 2001 22:48:13 +0000 (22:48 +0000)]
    * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
        (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
        (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.

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

21 years ago * rs6000.h (ASM_CPU_SPEC): Add -maltivec.
aldyh [Thu, 8 Nov 2001 22:46:23 +0000 (22:46 +0000)]
    * rs6000.h (ASM_CPU_SPEC): Add -maltivec.

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

21 years ago * dwarf2out.c (debug_str_hash): New.
jakub [Thu, 8 Nov 2001 21:07:46 +0000 (21:07 +0000)]
* dwarf2out.c (debug_str_hash): New.
(struct indirect_string_node): New.
(struct dw_val_struct): Change type of val_str to it.
(DEBUG_STR_SECTION_FLAGS): Define.
(add_AT_string): Push string into hashtable, increment reference
counter.
(AT_string): Return string from ht_identifier.
(AT_string_form): New.
(free_AT): For dw_val_class_str, just decrement reference counter.
(size_of_string): Remove.
(size_of_die): Use AT_string_form to decide what size the string
occupies in DIE.
(size_of_pubnames): Use strlen instead of size_of_string.
(value_format): Use AT_string_form for dw_val_class_str.
(output_die): Output DW_FORM_strp strings using
dw2_asm_output_offset.
(indirect_string_alloc, output_indirect_string): New.
(dwarf2out_finish): Emit .debug_str strings if there are any.

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

21 years ago* configure.target: Add os_include_dir for mingw32* target.
cgf [Thu, 8 Nov 2001 20:52:29 +0000 (20:52 +0000)]
* configure.target: Add os_include_dir for mingw32* target.
* docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting from
_GLIBCPP_AVOID_FSEEK.
* config/os/mingw32/bits/ctype_base.h: New file.
* config/os/mingw32/bits/ctype_inline.h: New file.
* config/os/mingw32/bits/ctype_noninline.h: New file.
* config/os/mingw32/bits/os_defines.h: New file.

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

21 years ago* configure.in: Add AC_ARG_PROGRAM to support program name
dj [Thu, 8 Nov 2001 20:18:18 +0000 (20:18 +0000)]
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.

* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.

* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.

* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.

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

21 years ago * config/mips/mips.c (save_restore_insns): Remove GP from the
rth [Thu, 8 Nov 2001 19:20:38 +0000 (19:20 +0000)]
    * config/mips/mips.c (save_restore_insns): Remove GP from the
        restore registers mask early instead of special casing it inside
        the loop.

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

21 years ago * cp/decl.c (shadow_warning): New function.
neil [Thu, 8 Nov 2001 19:04:43 +0000 (19:04 +0000)]
* cp/decl.c (shadow_warning): New function.
(pushdecl): Improve -Wshadow warnings.  Don't give both a warning
and an error when a block scope decl shadows a parameter.

* g++.dg/warn/Wshadow-1.C: New tests.
* g++.old-deja/g++.mike/for3.C: Update.

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

21 years ago * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
rth [Thu, 8 Nov 2001 18:56:45 +0000 (18:56 +0000)]
    * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
        case as well.

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

21 years ago2001-11-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 8 Nov 2001 18:51:27 +0000 (18:51 +0000)]
2001-11-07  Aldy Hernandez  <aldyh@redhat.com>

 * objc-api.h (_C_VECTOR): New.

 * encoding.c (VECTOR_TYPE): New.

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

21 years ago * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
danglin [Thu, 8 Nov 2001 17:19:07 +0000 (17:19 +0000)]
* pa.md (negdf2, negsf2): Use multiplication rather than subtraction
to implement floating negation on processors prior to PA 2.0.

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

21 years ago * parse.y (trap_overflow_corner_case): New rule.
tromey [Thu, 8 Nov 2001 15:38:10 +0000 (15:38 +0000)]
* parse.y (trap_overflow_corner_case): New rule.
(unary_expression): Use it.
* lex.c (java_init_lex): Don't set minus_seen.
(yylex): Don't use minus_seen.  Communicate overflow to parser for
it to handle.
(error_if_numeric_overflow): New function.
* parse.h (minus_seen): Removed field.
(JAVA_RADIX10_FLAG): New define.

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

21 years ago Patch for PR java/1414:
tromey [Thu, 8 Nov 2001 15:33:40 +0000 (15:33 +0000)]
Patch for PR java/1414:
* parse.y (case_label_list): New global.
(goal): Register case_label_list with GC.
(java_complete_lhs): Save new case on case_label_list.
(patch_switch_statement): Check for duplicate case labels.

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

21 years agoSomebody forgot a >>>>>>>>
green [Thu, 8 Nov 2001 15:13:11 +0000 (15:13 +0000)]
Somebody forgot a >>>>>>>>

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

21 years ago * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
jakub [Thu, 8 Nov 2001 11:33:32 +0000 (11:33 +0000)]
* 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.

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

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

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

21 years ago2001-11-08 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Thu, 8 Nov 2001 00:07:58 +0000 (00:07 +0000)]
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.

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

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

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

21 years ago * c-decl.c (pushdecl): Remove file and line.
neil [Wed, 7 Nov 2001 22:52:30 +0000 (22:52 +0000)]
* c-decl.c (pushdecl): Remove file and line.
* c-typeck.c (pop_init_level): Remove size.

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

21 years ago * darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.
aldyh [Wed, 7 Nov 2001 22:27:03 +0000 (22:27 +0000)]
* darwin.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64.

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

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

21 years ago2001-11-07 Nathan Myers <ncm@cantrip.org>
pme [Wed, 7 Nov 2001 21:08:53 +0000 (21:08 +0000)]
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.

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

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

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

21 years ago2001-11-07 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Wed, 7 Nov 2001 20:50:00 +0000 (20:50 +0000)]
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 )

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

21 years ago * doc/invoke.texi: Add -maltivec, -mno-altivec, and -mabi=altivec
aldyh [Wed, 7 Nov 2001 20:49:41 +0000 (20:49 +0000)]
* 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.

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

21 years ago2001-11-07 Laurent Guerby <guerby@acm.org>
guerby [Wed, 7 Nov 2001 20:26:58 +0000 (20:26 +0000)]
2001-11-07  Laurent Guerby <guerby@acm.org>

* gcc_update (files_and_dependencies): Add Ada dependencies.

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

21 years ago2001-11-07 Laurent Guerby <guerby@acm.org>
guerby [Wed, 7 Nov 2001 20:18:48 +0000 (20:18 +0000)]
2001-11-07  Laurent Guerby  <guerby@acm.org>

* MAINTAINERS (Write After Approval): Add self.

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

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

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

21 years ago2001-11-07 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 7 Nov 2001 16:47:39 +0000 (16:47 +0000)]
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.

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

21 years ago2001-11-07 Daniel Berlin <dan@cgsoftware.com>
dberlin [Wed, 7 Nov 2001 16:34:37 +0000 (16:34 +0000)]
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.

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

21 years ago * doc/gcc.texi: Move terminology and spelling conventions to
jsm28 [Wed, 7 Nov 2001 14:53:23 +0000 (14:53 +0000)]
* doc/gcc.texi: Move terminology and spelling conventions to
htdocs/codingconventions.html.

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

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

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

21 years ago * expmed.c (expand_mult): Force operand to register before computing
hubicka [Wed, 7 Nov 2001 12:35:16 +0000 (12:35 +0000)]
* 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.

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

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

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

21 years ago * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
rth [Wed, 7 Nov 2001 07:47:08 +0000 (07:47 +0000)]
    * config/alpha/elf.h (DO_SELECT_SECTION): TREE_READONLY is not
        defined for a CONSTRUCTOR; don't check it.

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

21 years ago * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
rth [Wed, 7 Nov 2001 07:00:29 +0000 (07:00 +0000)]
    * gcov.c (output_data): Use IS_ABSOLUTE_PATHNAME to
        test for absolute pathnames.

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

21 years ago * unwind-dw2.c (execute_cfa_program): Evaluate call frame
rth [Wed, 7 Nov 2001 06:33:57 +0000 (06:33 +0000)]
    * unwind-dw2.c (execute_cfa_program): Evaluate call frame
        instructions up to the target pc inclusive.

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

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

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

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

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

21 years ago2001-11-06 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 6 Nov 2001 22:50:50 +0000 (22:50 +0000)]
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.

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

21 years ago2001-11-06 Eric Christopher <echristo@redhat.com>
echristo [Tue, 6 Nov 2001 22:38:15 +0000 (22:38 +0000)]
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.

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

21 years ago * alias.c:: Include langhooks.h.
neil [Tue, 6 Nov 2001 21:12:14 +0000 (21:12 +0000)]
* 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.

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

21 years ago * doc/install.texi: Document that configure options not listed in
jsm28 [Tue, 6 Nov 2001 20:05:07 +0000 (20:05 +0000)]
* doc/install.texi: Document that configure options not listed in
this file are unsupported.  Document --with-system-zlib.

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

21 years ago * update_web_docs: Set SOURCEDIR so that install manual can be
jsm28 [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.

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

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

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

21 years ago * rtl.h (mem_for_const_double): New declaration.
kenner [Tue, 6 Nov 2001 14:47:43 +0000 (14:47 +0000)]
* 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.

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

21 years ago * config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
kenner [Tue, 6 Nov 2001 14:27:58 +0000 (14:27 +0000)]
* config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
of new GP reg classes.

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

21 years ago * expr.c (store_field): When making temp object for unaligned
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.

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

21 years ago * c-common.c (c_expand_expr_stmt): Apply default conversions to
jsm28 [Tue, 6 Nov 2001 12:39:36 +0000 (12:39 +0000)]
* 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.

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

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

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

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

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

21 years ago * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.
zack [Tue, 6 Nov 2001 02:39:47 +0000 (02:39 +0000)]
* 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.

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

21 years ago * config/rs6000/rs6000.c (rs6000_select_section): Handle
geoffk [Tue, 6 Nov 2001 00:21:34 +0000 (00:21 +0000)]
* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs _correctly_.

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

21 years ago2001-11-05 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 6 Nov 2001 00:18:37 +0000 (00:18 +0000)]
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.

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

21 years ago * java/lang/Class.h (Class): Made _Jv_BytecodeVerifier a friend.
tromey [Mon, 5 Nov 2001 23:39:54 +0000 (23:39 +0000)]
* 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).

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

21 years ago * c-decl.c (delete_block): Remove.
neil [Mon, 5 Nov 2001 23:21:35 +0000 (23:21 +0000)]
* c-decl.c (delete_block): Remove.
* c-tree.h (delete_block): Remove.

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

21 years ago * cppexp.c (lex, parse_defined): Update warning about defined.
neil [Mon, 5 Nov 2001 22:26:13 +0000 (22:26 +0000)]
* cppexp.c (lex, parse_defined): Update warning about defined.
* gcc.dg/cpp/defined.c: Update.

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

21 years ago2001-11-05 Felix Natter <fnatter@gmx.net>
pme [Mon, 5 Nov 2001 21:54:43 +0000 (21:54 +0000)]
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

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

21 years ago * config/rs6000/rs6000.c (rs6000_select_section): Handle
geoffk [Mon, 5 Nov 2001 21:04:07 +0000 (21:04 +0000)]
* config/rs6000/rs6000.c (rs6000_select_section): Handle
CONSTRUCTORs too.

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

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

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

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

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

21 years ago * Makefile.in (bb-reoder.o): Add depdendency on cfglayout.h;
hubicka [Mon, 5 Nov 2001 15:38:01 +0000 (15:38 +0000)]
* 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;

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

21 years ago * update_web_docs: Eliminate warnings about keeping files from web
jsm28 [Mon, 5 Nov 2001 09:55:25 +0000 (09:55 +0000)]
* update_web_docs: Eliminate warnings about keeping files from web
page preprocessing.

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

21 years ago * update_web_docs: Allow for the same file name in different
jsm28 [Mon, 5 Nov 2001 08:47:51 +0000 (08:47 +0000)]
* update_web_docs: Allow for the same file name in different
directories.

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

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

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

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

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

21 years ago * config.sub: Import from master sources, rev 1.226.
hp [Mon, 5 Nov 2001 01:52:42 +0000 (01:52 +0000)]
* config.sub: Import from master sources, rev 1.226.
* config.guess: Import from master sources, rev 1.216.

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

21 years agoremove trailing whitespace
dj [Mon, 5 Nov 2001 01:11:12 +0000 (01:11 +0000)]
remove trailing whitespace

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

21 years agoAdd missing entry.
amodra [Mon, 5 Nov 2001 00:06:31 +0000 (00:06 +0000)]
Add missing entry.

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

21 years ago2001-11-04 Alan Modra <amodra@bigpond.net.au>
dje [Sun, 4 Nov 2001 23:30:02 +0000 (23:30 +0000)]
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.

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

21 years ago * arm/aof.h (aof_text_section, aof_data_section): Don't declare.
ghazi [Sun, 4 Nov 2001 22:37:46 +0000 (22:37 +0000)]
* 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.

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

21 years ago2001-11-04 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 4 Nov 2001 21:53:41 +0000 (21:53 +0000)]
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.

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

21 years ago PR c/2820
neil [Sun, 4 Nov 2001 17:54:57 +0000 (17:54 +0000)]
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.

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

21 years ago * config/sparc/sparc.c (sparc_emit_set_const32, GEN_HIGHINT64):
kenner [Sun, 4 Nov 2001 16:54:00 +0000 (16:54 +0000)]
* 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.

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

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

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

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

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

21 years ago * unroll.c (calculate_giv_inc): Use find_last_value rather
geoffk [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.
[Fixes 990604-1.c on stormy16.]

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

21 years ago * config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
geoffk [Sun, 4 Nov 2001 07:43:50 +0000 (07:43 +0000)]
* config/stormy16/stormy16.h (LIB_SPEC): Don't supply any libgloss
library at all if -T is used.

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

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

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

21 years ago * config/stormy16/stormy16.c (stormy16_print_operand): Avoid
geoffk [Sun, 4 Nov 2001 07:42:04 +0000 (07:42 +0000)]
* config/stormy16/stormy16.c (stormy16_print_operand): Avoid
some uses of uninitialized variables in error cases.

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

21 years ago * config/stormy16/stormy16.c (stormy16_output_shift): Don't
geoffk [Sun, 4 Nov 2001 07:41:04 +0000 (07:41 +0000)]
* config/stormy16/stormy16.c (stormy16_output_shift): Don't
look at 'temp' if we won't be using it.

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

21 years ago * config/stormy16/stormy16.h (CONST_COSTS): Define.
geoffk [Sun, 4 Nov 2001 07:40:15 +0000 (07:40 +0000)]
* config/stormy16/stormy16.h (CONST_COSTS): Define.
(RTX_COSTS): Define.
(ADDRESS_COST): Define.
(MEMORY_MOVE_COST): Allow for memory_move_secondary_cost.

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

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

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

21 years ago * config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Call
geoffk [Sun, 4 Nov 2001 07:37:48 +0000 (07:37 +0000)]
* 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.

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

21 years ago * java/util/ResourceBundle.java (getClassContext): Removed.
bryce [Sun, 4 Nov 2001 04:15:09 +0000 (04:15 +0000)]
* java/util/ResourceBundle.java (getClassContext): Removed.
(Security): New class, extends SecurityManger.
(getBundle): Use Security.getCallingClassLoader instead of
getClassContext.
* java/util/natResourceBundle.cc: Removed.

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

21 years ago * ChangeLog.2, ChangeLog.4, ChangeLog.5, ChangeLog,
jsm28 [Sun, 4 Nov 2001 02:51:28 +0000 (02:51 +0000)]
* 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.

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

21 years ago * Makefile.in (dbxout.o): Depend on function.h.
ghazi [Sun, 4 Nov 2001 02:47:36 +0000 (02:47 +0000)]
* 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.

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

21 years ago * convex.c (convex_output_function_prologue): Fix format specifier
ghazi [Sun, 4 Nov 2001 02:40:39 +0000 (02:40 +0000)]
* 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.

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