OSDN Git Service

pf3gnuchains/gcc-fork.git
20 years ago2001-11-11 H.J. Lu <hjl@gnu.org>
hjl [Sun, 11 Nov 2001 01:50:40 +0000 (01:50 +0000)]
2001-11-11  H.J. Lu <hjl@gnu.org>

* config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.

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

20 years agoReapply last patch to convex.md which somehow got lost:
ghazi [Sun, 11 Nov 2001 01:48:55 +0000 (01:48 +0000)]
Reapply last patch to convex.md which somehow got lost:

Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* config/convex/convex.md (movdf): Use it.

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

20 years ago * final.c (*_MAX_SKIP): Use *_max_skip variables.
hubicka [Sun, 11 Nov 2001 00:35:31 +0000 (00:35 +0000)]
* final.c (*_MAX_SKIP): Use *_max_skip variables.
* flags.h (align_loops_max_skip, align_jumps_max_skip,
align_labels_max_skip): New global variables.
* toplev.c (align_loops_max_skip, align_jumps_max_skip,
align_labels_max_skip): New global variables.
(toplev_main): Set new variables.
* i386.c (override_options): Set max_skip values.

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

20 years ago * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
geoffk [Sat, 10 Nov 2001 21:44:53 +0000 (21:44 +0000)]
* doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
* final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
* config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
don't print an @fptr for labels either.
(xstormy16_output_addr_vec): Don't print @fptr here.
* config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.

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

20 years ago * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
law [Sat, 10 Nov 2001 15:48:36 +0000 (15:48 +0000)]
    * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
        an ANSI/ISO definitino.
        (ssa_const_prop): Likewise.

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

20 years agoDaily bump.
gccadmin [Sat, 10 Nov 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.

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

20 years ago * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
aldyh [Sat, 10 Nov 2001 05:45:13 +0000 (05:45 +0000)]
  * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
altivec registers.

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

20 years ago * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
ghazi [Sat, 10 Nov 2001 04:52:13 +0000 (04:52 +0000)]
* tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.

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

20 years ago * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
ghazi [Sat, 10 Nov 2001 04:46:01 +0000 (04:46 +0000)]
* cppexp.c (parse_number): Use ISXDIGIT/hex_value.
* cpplex.c (hex_digit_value): Use hex_p/hex_value.
* cppmain.c (general_init): Call hex_init.

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

20 years ago * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
ghazi [Sat, 10 Nov 2001 04:40:58 +0000 (04:40 +0000)]
* config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.

* i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
of dgux.c:output_file_start().

* i386/dgux.c: Delete file.

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

20 years ago * config/alpha/alpha.c (decl_in_text_section): New.
rth [Sat, 10 Nov 2001 01:16:13 +0000 (01:16 +0000)]
    * config/alpha/alpha.c (decl_in_text_section): New.
        (current_file_function_operand): Use it.
        (alpha_encode_section_info, alpha_end_function): Likewise.

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

20 years ago2001-11-07 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 10 Nov 2001 01:07:17 +0000 (01:07 +0000)]
2001-11-07  David O'Brien  <obrien@FreeBSD.org>
* config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
* config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
so OS specific files and use CPP_PREDEFINES for their needs.
* config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
target headers to tm_file.
* config/ia64/aix.h (TARGET_VERSION): Likewise.
* config/ia64/hpux.h (TARGET_VERSION): Likewise.
* config/ia64/linux.h (TARGET_VERSION): Likewise.
(FUNCTION_PROFILER): Remove.
* config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
version in config/ia64/linux.h.
* config/ia64/freebsd.h: New file.
* config/freebsd.h: Tidy up.
(_USING_CONFIG_FREEBSD): Define.
(FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
(FBSD_CPP_SPEC): Define generic FreeBSD spec.
(FBSD_STARTFILE_SPEC): Likewise.
(FBSD_ENDFILE_SPEC): Likewise.
(FBSD_LIB_SPEC): Likewise.
(WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
(USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
set an ELF-improper one.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20011109100352.A6186@redhat.com>

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

20 years ago * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
law [Sat, 10 Nov 2001 00:22:52 +0000 (00:22 +0000)]
* pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
constant can be loaded in a single instruction to a register.  When
loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
depdi for insertion of most significant 32-bits on 64-bit hosts.
* pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
with ldil/ldo/depdi instruction sequence on 64-bit hosts.
* pa.md: New addmove pattern for adding constant_int to HImode
register and moving result to HImode register.  Remove HImode HIGH
and LO_SUM patterns.

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

20 years ago * Makefile.in: Update.
neil [Fri, 9 Nov 2001 23:30:44 +0000 (23:30 +0000)]
* Makefile.in: Update.
* c-decl.c (print_lang_decl, print_lang_type): Remove.
(print_lang_identifier): Rename c_print_identifier.
* c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
(print_lang_statistics, lang_print_xnode): Remove.
* c-parse.in (set_yydebug): Rename c_set_yydebug.
* c-tree.h (c_set_yydebug, c_print_identifier): New.
* langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): New members.
(lang_print_tree_hook): New.
* langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
* print-tree.c: Include langhooks.h.
(print_node): Update.
* toplev.c (decode_d_option): Update.
* tree.c: Include langhooks.h.
(dump_tree_statistics): Update.
* tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
ada:
* misc.c (gnat_print_decl, gnat_print_type): Renamed.
(LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override.
(print_lang_statistics, lang_print_xnode, print_lang_identifier,
set_yydebug): Remove.
cp:
* cp-lang.c (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): Override.
* cp-tree.h (print_class_statistics): Remove.
(cxx_print_statistics, cxx_print_xnode, cxx_print_decl, cxx_print_type,
cxx_print_identifier, cxx_set_yydebug): New.
* lex.c (set_yydebug): Rename c_set_yydebug.
* ptree.c (print_lang_decl, print_lang_type, print_lang_identifier,
lang_print_xnode): Rename.
* tree.c (print_lang_statistics): Rename.
f:
* com.c (ffe_print_identifier): Rename.
(LANG_HOOKS_PRINT_IDENTIFIER): Override.
(lang_print_xnode, print_lang_decl, print_lang_statistics,
print_lang_type, set_yydebug): Remove.
java:
* java-tree.h (java_set_yydebug): New.
* jcf-parse.c (set_yydebug): Rename java_set_yydebug.
* lang.c (LANG_HOOKS_SET_YYDEBUG): Override.
(print_lang_decl, print_lang_type, print_lang_identifier,
print_lang_statistics, lang_print_xnode): Remove.
objc:
* objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
LANG_HOOKS_SET_YYDEBUG): Override.
(lang_print_xnode, print_lang_statistics): Remove.

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

20 years ago * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
rth [Fri, 9 Nov 2001 23:18:56 +0000 (23:18 +0000)]
    * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
        on the symbol string.

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

20 years ago * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
ghazi [Fri, 9 Nov 2001 23:16:04 +0000 (23:16 +0000)]
* pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
* config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.

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

20 years ago * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
ghazi [Fri, 9 Nov 2001 23:13:22 +0000 (23:13 +0000)]
* clipper.h (ASM_OUTPUT_REG_POP): Fix typo.

* tlink.c (recompile_files): Copy strings passed to `putenv'.

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

20 years ago * class.c (dump_array): Fix format specifier warning.
ghazi [Fri, 9 Nov 2001 23:08:36 +0000 (23:08 +0000)]
* class.c (dump_array): Fix format specifier warning.

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

20 years ago * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
geoffk [Fri, 9 Nov 2001 23:08:19 +0000 (23:08 +0000)]
* tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
(TYPE_READONLY): Likewise.

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

20 years ago * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
geoffk [Fri, 9 Nov 2001 23:06:04 +0000 (23:06 +0000)]
* flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.

In testsuite/:

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

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

20 years ago * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
geoffk [Fri, 9 Nov 2001 23:04:52 +0000 (23:04 +0000)]
* config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
don't pass --gdwarf2 to the assembler if the compiler will also
provide debug info.

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

20 years ago * config/stormy16/stormy16.c (xstormy16_expand_casesi):
geoffk [Fri, 9 Nov 2001 23:04:01 +0000 (23:04 +0000)]
* config/stormy16/stormy16.c (xstormy16_expand_casesi):
Don't change INDEX.

In testsuite/:

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

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

20 years ago * alias.c (nonoverlapping_memrefs_p): New function.
kenner [Fri, 9 Nov 2001 22:52:09 +0000 (22:52 +0000)]
* alias.c (nonoverlapping_memrefs_p): New function.
(true_dependence, canon_true_depenence, write_dependence_p): Call it.

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

20 years ago * emit-rtl.c (set_mem_attributes): Get alignments for constants.
kenner [Fri, 9 Nov 2001 22:48:29 +0000 (22:48 +0000)]
* emit-rtl.c (set_mem_attributes): Get alignments for constants.

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

20 years ago2001-11-09 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 9 Nov 2001 22:34:47 +0000 (22:34 +0000)]
2001-11-09  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
(CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
generating altivec code.
(FIXED_REGISTERS): VRSAVE is fixed.
(CALL_USED_REGISTERS): VRSAVE is call used.

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

20 years ago * config/mips/mips.c (mips_output_conditional_branch): Do not hard
rth [Fri, 9 Nov 2001 22:00:08 +0000 (22:00 +0000)]
    * config/mips/mips.c (mips_output_conditional_branch): Do not hard
        code the branch target as ".+16/.+12", but rather use labels.

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

20 years ago * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
law [Fri, 9 Nov 2001 20:07:43 +0000 (20:07 +0000)]
    * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
        to work around limitations of certain versions of GAS.

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

20 years ago * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
law [Fri, 9 Nov 2001 20:00:50 +0000 (20:00 +0000)]
    * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
        (muldi3): Update due to SUBREG_BYTE changes.
        (casesi): Similarly.

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

20 years ago * MAINTAINERS (Various maintainers: h8 port): Add myself.
kazu [Fri, 9 Nov 2001 19:09:06 +0000 (19:09 +0000)]
* MAINTAINERS (Various maintainers: h8 port): Add myself.

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

20 years ago * doc/invoke.texi: Remove comment referring to -xf77-version.
zack [Fri, 9 Nov 2001 18:54:32 +0000 (18:54 +0000)]
    * doc/invoke.texi: Remove comment referring to -xf77-version.

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

20 years ago * config/convex/convex.c: Fix comment formatting.
kazu [Fri, 9 Nov 2001 18:37:42 +0000 (18:37 +0000)]
* config/convex/convex.c: Fix comment formatting.
* config/convex/convex.h: Likewise.

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

20 years ago * MAINTAINERS (Various maintainers: hppa port): Added myself.
danglin [Fri, 9 Nov 2001 18:11:37 +0000 (18:11 +0000)]
* MAINTAINERS (Various maintainers: hppa port): Added myself.

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

20 years ago * Makefile.in (.po.pox): Look both in srcdir and builddir
zack [Fri, 9 Nov 2001 17:51:56 +0000 (17:51 +0000)]
* Makefile.in (.po.pox): Look both in srcdir and builddir
for $(PACKAGE).pot.
(po/$(PACKAGE).pot): Don't move-if-change the new potfile over
to the source directory.
* po/exgettext: Deposit new potfile in po subdir.

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

20 years ago * g77spec.c (lang_specific_driver): Adjust behavior of -v and
zack [Fri, 9 Nov 2001 17:50:06 +0000 (17:50 +0000)]
* g77spec.c (lang_specific_driver): Adjust behavior of -v and
--version for consistency with other front ends.  Remove large
#if 0 block.  Do not add libraries to argv if there are no
input files.
(add_version_magic): Delete all references and dependent code.
* lang-options.h: Delete -fnull-version.
* lang-specs.h: Delete f77-version spec.

* lex.c: Delete logic conditional on ffe_is_null_version() and
now-unused label.
* top.c: Delete ffe_is_null_version_ variable.
(ffe_decode_option): Delete -fnull-version case.
* top.h: Delete declaration of ffe_is_null_version_ and
ffe_is_null_version(), ffe_set_is_null_version() macros.

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

20 years ago * verify.cc: Wrap in #ifdef INTERPRETER...#endif.
jsturm [Fri, 9 Nov 2001 17:33:45 +0000 (17:33 +0000)]
* verify.cc: Wrap in #ifdef INTERPRETER...#endif.

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

20 years ago * m32r.c: Add support for m32rx processor.
clm [Fri, 9 Nov 2001 14:57:50 +0000 (14:57 +0000)]
    * m32r.c: Add support for m32rx processor.
        * m32r.h: Ditto.
        * m32r.md: Ditto.
        * t-m32r: Ditto.
        * m32r-protos.h: Add prototypes for m32rx functions.
        * doc/invoke.texi: Document -m32rx option.

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

20 years ago * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
jakub [Fri, 9 Nov 2001 14:30:33 +0000 (14:30 +0000)]
* config/sparc/sparc.md (movdf): Avoid calling validize_mem during
or after reload.

* gcc.c-torture/compile/20011109-1.c: New test.

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

20 years ago * doc/install.texi2html: Use $MAKEINFO --no-split.
gerald [Fri, 9 Nov 2001 10:56:01 +0000 (10:56 +0000)]
* doc/install.texi2html: Use $MAKEINFO --no-split.

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

20 years ago * Makefile.in ($(HOST_PREFIX_1)rtl.o,
schwab [Fri, 9 Nov 2001 09:55:23 +0000 (09:55 +0000)]
* Makefile.in ($(HOST_PREFIX_1)rtl.o,
$(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
$(HOST_PREFIX_1)ggc-none.o): Update dependencies.

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

20 years ago2001-11-09 H.J. Lu <hjl@gnu.org>
hjl [Fri, 9 Nov 2001 08:53:18 +0000 (08:53 +0000)]
2001-11-09  H.J. Lu <hjl@gnu.org>

* config/mips/mips.c (mips_output_function_prologues): Cast
`tsize' to long for output.

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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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

20 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