platform/upstream/gcc.git
22 years agoconfig.gcc: Add FreeBSD/IA-64 target.
David O'Brien [Sat, 10 Nov 2001 01:07:17 +0000 (01:07 +0000)]
config.gcc: Add FreeBSD/IA-64 target.

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>

From-SVN: r46909

22 years agopa.c (emit_move_sequence): Use cint_ok_for_move to check whether a constant can be...
John David Anglin [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...

* 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.

From-SVN: r46908

22 years agoMakefile.in: Update.
Neil Booth [Fri, 9 Nov 2001 23:30:44 +0000 (23:30 +0000)]
Makefile.in: Update.

* 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.

From-SVN: r46907

22 years agodwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING on the symbol string.
Richard Henderson [Fri, 9 Nov 2001 23:18:56 +0000 (15:18 -0800)]
dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING on the symbol string.

        * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
        on the symbol string.

From-SVN: r46906

22 years agoelf.h (ASM_DECLARE_FUNCTION_NAME, [...]): Undef before defining.
Kaveh R. Ghazi [Fri, 9 Nov 2001 23:16:04 +0000 (23:16 +0000)]
elf.h (ASM_DECLARE_FUNCTION_NAME, [...]): Undef before defining.

* pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
* config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.

From-SVN: r46905

22 years agoclipper.h (ASM_OUTPUT_REG_POP): Fix typo.
Kaveh R. Ghazi [Fri, 9 Nov 2001 23:13:22 +0000 (23:13 +0000)]
clipper.h (ASM_OUTPUT_REG_POP): Fix typo.

* clipper.h (ASM_OUTPUT_REG_POP): Fix typo.

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

From-SVN: r46904

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

From-SVN: r46903

22 years agotree.h (TYPE_VOLATILE): Trap use not on TYPEs.
Geoffrey Keating [Fri, 9 Nov 2001 23:08:19 +0000 (23:08 +0000)]
tree.h (TYPE_VOLATILE): Trap use not on TYPEs.

* tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
(TYPE_READONLY): Likewise.

From-SVN: r46902

22 years agoflow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
Geoffrey Keating [Fri, 9 Nov 2001 23:06:04 +0000 (23:06 +0000)]
flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.

* flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.

In testsuite/:

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

From-SVN: r46901

22 years agostormy16.h (ASM_SPEC): Revert last change...
Geoffrey Keating [Fri, 9 Nov 2001 23:04:52 +0000 (23:04 +0000)]
stormy16.h (ASM_SPEC): Revert last change...

* config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
don't pass --gdwarf2 to the assembler if the compiler will also
provide debug info.

From-SVN: r46900

22 years agostormy16.c (xstormy16_expand_casesi): Don't change INDEX.
Geoffrey Keating [Fri, 9 Nov 2001 23:04:01 +0000 (23:04 +0000)]
stormy16.c (xstormy16_expand_casesi): Don't change INDEX.

* config/stormy16/stormy16.c (xstormy16_expand_casesi):
Don't change INDEX.

In testsuite/:

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

From-SVN: r46899

22 years agoalias.c (nonoverlapping_memrefs_p): New function.
Richard Kenner [Fri, 9 Nov 2001 22:52:09 +0000 (22:52 +0000)]
alias.c (nonoverlapping_memrefs_p): New function.

* alias.c (nonoverlapping_memrefs_p): New function.
(true_dependence, canon_true_depenence, write_dependence_p): Call it.

From-SVN: r46897

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

From-SVN: r46896

22 years agors6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
Aldy Hernandez [Fri, 9 Nov 2001 22:34:47 +0000 (22:34 +0000)]
rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.

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.

From-SVN: r46895

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

        * config/mips/mips.c (mips_output_conditional_branch): Do not hard
        code the branch target as ".+16/.+12", but rather use labels.

From-SVN: r46893

22 years agomilli64.S: Use %r25 and %r0 instead of arg1 and r0 to work around limitations of...
Jeffrey A Law [Fri, 9 Nov 2001 20:07:43 +0000 (20:07 +0000)]
milli64.S: Use %r25 and %r0 instead of arg1 and r0 to work around limitations of certain...

        * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
        to work around limitations of certain versions of GAS.

From-SVN: r46890

22 years agopa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
Jeffrey A Law [Fri, 9 Nov 2001 20:00:50 +0000 (20:00 +0000)]
pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.

        * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
        (muldi3): Update due to SUBREG_BYTE changes.
        (casesi): Similarly.

From-SVN: r46889

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

From-SVN: r46888

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

From-SVN: r46887

22 years agoconvex.c: Fix comment formatting.
Kazu Hirata [Fri, 9 Nov 2001 18:37:42 +0000 (18:37 +0000)]
convex.c: Fix comment formatting.

* config/convex/convex.c: Fix comment formatting.
* config/convex/convex.h: Likewise.

From-SVN: r46886

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

From-SVN: r46885

22 years agoMakefile.in (.po.pox): Look both in srcdir and builddir for $(PACKAGE).pot.
Zack Weinberg [Fri, 9 Nov 2001 17:51:56 +0000 (17:51 +0000)]
Makefile.in (.po.pox): Look both in srcdir and builddir for $(PACKAGE).pot.

* 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.

From-SVN: r46884

22 years agog77spec.c (lang_specific_driver): Adjust behavior of -v and --version for consistency...
Zack Weinberg [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.

* 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.

From-SVN: r46883

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

From-SVN: r46882

22 years agom32r.c: Add support for m32rx processor.
Ben Elliston [Fri, 9 Nov 2001 14:57:50 +0000 (14:57 +0000)]
m32r.c: Add support for m32rx processor.

        * 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.

Co-Authored-By: Andrew MacLeod <amacleod@redhat.com>
Co-Authored-By: Catherine Moore <clm@redhat.com>
Co-Authored-By: Michael Meissner <meissner@redhat.com>
Co-Authored-By: Nick Clifton <nickc@redhat.com>
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r46881

22 years agosparc.md (movdf): Avoid calling validize_mem during or after reload.
Jakub Jelinek [Fri, 9 Nov 2001 14:30:33 +0000 (15:30 +0100)]
sparc.md (movdf): Avoid calling validize_mem during or after reload.

* config/sparc/sparc.md (movdf): Avoid calling validize_mem during
or after reload.

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

From-SVN: r46880

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

From-SVN: r46879

22 years agoMakefile.in ($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1...
Andreas 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.

* 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.

From-SVN: r46878

22 years agomips.c (mips_output_function_prologues): Cast `tsize' to long for output.
H.J. Lu [Fri, 9 Nov 2001 08:53:18 +0000 (08:53 +0000)]
mips.c (mips_output_function_prologues): Cast `tsize' to long for output.

2001-11-09  H.J. Lu <hjl@gnu.org>

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

From-SVN: r46877

22 years agoDaily bump.
GCC Administrator [Fri, 9 Nov 2001 08:20:48 +0000 (08:20 +0000)]
Daily bump.

From-SVN: r46876

22 years agoc-lang.c (LANG_HOOKS_NAME): New.
Neil Booth [Fri, 9 Nov 2001 07:14:20 +0000 (07:14 +0000)]
c-lang.c (LANG_HOOKS_NAME): New.

* 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.

From-SVN: r46874

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

From-SVN: r46873

22 years agofold-const.c (lshift_double): Honor PREC.
John Wehle [Fri, 9 Nov 2001 05:27:51 +0000 (05:27 +0000)]
fold-const.c (lshift_double): Honor PREC.

* fold-const.c (lshift_double): Honor PREC.
(rshift_double): Likewise.

From-SVN: r46872

22 years ago1750a.c: Fix comment formatting.
Kazu Hirata [Fri, 9 Nov 2001 02:51:34 +0000 (02:51 +0000)]
1750a.c: Fix comment formatting.

* config/1750a/1750a.c: Fix comment formatting.
* config/1750a/1750a.h: Likewise.

From-SVN: r46871

22 years agoconfigure.in (--enable-languages): Be more permissive about syntax.
Phil Edwards [Fri, 9 Nov 2001 02:06:30 +0000 (02:06 +0000)]
configure.in (--enable-languages): Be more permissive about syntax.

* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.
* configure: Regenerated.

From-SVN: r46870

22 years agoconfigure.in (--enable-languages): Be more permissive about syntax.
Phil Edwards [Fri, 9 Nov 2001 02:06:18 +0000 (02:06 +0000)]
configure.in (--enable-languages): Be more permissive about syntax.

* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

From-SVN: r46869

22 years ago* dwarf2asm.c (dw2_force_const_mem): Fix typo.
Richard Henderson [Fri, 9 Nov 2001 01:21:13 +0000 (17:21 -0800)]
* dwarf2asm.c (dw2_force_const_mem): Fix typo.

From-SVN: r46868

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

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.

From-SVN: r46867

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

From-SVN: r46866

22 years agoexpr.c (emit_block_move): If X is readonly emit CLOBBER for it.
Richard 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.

* expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
(clear_storage): Likewise, for OBJECT.

From-SVN: r46865

22 years agopa.c (emit_move_sequence): Fix SUBREG expression to use proper byte offset when...
Jeffrey A 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...

        * pa.c (emit_move_sequence): Fix SUBREG expression to
        use proper byte offset when extending a constant from
        SImode to DImode.

From-SVN: r46864

22 years agocfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns which cannot throw.
Jakub Jelinek [Thu, 8 Nov 2001 23:14:26 +0000 (00:14 +0100)]
cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns which cannot throw.

* cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
which cannot throw.

From-SVN: r46863

22 years agoexplow.c (convert_memory_address, [...]): Only return inner object if SUBREG_PROMOTED...
Richard Kenner [Thu, 8 Nov 2001 22:56:52 +0000 (22:56 +0000)]
explow.c (convert_memory_address, [...]): Only return inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.

* explow.c (convert_memory_address, case SUBREG): Only return
inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.

From-SVN: r46862

22 years agoMakefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
Richard Henderson [Thu, 8 Nov 2001 22:48:13 +0000 (14:48 -0800)]
Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.

        * 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.

From-SVN: r46860

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

From-SVN: r46859

22 years agodwarf2out.c (debug_str_hash): New.
Jakub Jelinek [Thu, 8 Nov 2001 21:07:46 +0000 (22:07 +0100)]
dwarf2out.c (debug_str_hash): New.

* 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.

From-SVN: r46858

22 years agoconfigure.target: Add os_include_dir for mingw32* target.
Danny Smith [Thu, 8 Nov 2001 20:52:29 +0000 (20:52 +0000)]
configure.target: Add os_include_dir for mingw32* target.

* 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.

From-SVN: r46857

22 years agoconfigure.in: Add AC_ARG_PROGRAM to support program name transformation with --progra...
Andreas Franck [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...

* 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.

From-SVN: r46856

22 years agomips.c (save_restore_insns): Remove GP from the restore registers mask early instead...
Richard Henderson [Thu, 8 Nov 2001 19:20:38 +0000 (11:20 -0800)]
mips.c (save_restore_insns): Remove GP from the restore registers mask early instead of special casing it...

        * config/mips/mips.c (save_restore_insns): Remove GP from the
        restore registers mask early instead of special casing it inside
        the loop.

From-SVN: r46853

22 years agodecl.c (shadow_warning): New function.
Neil Booth [Thu, 8 Nov 2001 19:04:43 +0000 (19:04 +0000)]
decl.c (shadow_warning): New function.

* 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.

From-SVN: r46852

22 years agofp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST case as well.
Richard Henderson [Thu, 8 Nov 2001 18:56:45 +0000 (10:56 -0800)]
fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST case as well.

        * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
        case as well.

From-SVN: r46851

22 years agoobjc-api.h (_C_VECTOR): New.
Aldy Hernandez [Thu, 8 Nov 2001 18:51:27 +0000 (18:51 +0000)]
objc-api.h (_C_VECTOR): New.

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

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

 * encoding.c (VECTOR_TYPE): New.

From-SVN: r46849

22 years agopa.md (negdf2, negsf2): Use multiplication rather than subtraction to implement float...
John David Anglin [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...

* pa.md (negdf2, negsf2): Use multiplication rather than subtraction
to implement floating negation on processors prior to PA 2.0.

From-SVN: r46847

22 years agoparse.y (trap_overflow_corner_case): New rule.
Tom Tromey [Thu, 8 Nov 2001 15:38:10 +0000 (15:38 +0000)]
parse.y (trap_overflow_corner_case): New rule.

* 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.

From-SVN: r46846

22 years agoPatch for PR java/1414:
Tom 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.

From-SVN: r46845

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

From-SVN: r46844

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

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

From-SVN: r46843

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

From-SVN: r46842

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

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

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

From-SVN: r46840

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

From-SVN: r46839

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

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

From-SVN: r46838

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

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

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

From-SVN: r46837

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

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

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

From-SVN: r46836

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

From-SVN: r46835

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

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

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

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

From-SVN: r46834

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

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

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

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

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

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

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

From-SVN: r46833

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

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

* gcc_update (files_and_dependencies): Add Ada dependencies.

From-SVN: r46832

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

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

* MAINTAINERS (Write After Approval): Add self.

From-SVN: r46831

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

From-SVN: r46830

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

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

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

From-SVN: r46828

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

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

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

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

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

From-SVN: r46827

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

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

From-SVN: r46825

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

From-SVN: r46824

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

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

From-SVN: r46823

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

From-SVN: r46821

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

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

From-SVN: r46820

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

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

From-SVN: r46819

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

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

From-SVN: r46818

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

From-SVN: r46817

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

From-SVN: r46816

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

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

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

From-SVN: r46815

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

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

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

From-SVN: r46814

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

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

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

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

From-SVN: r46813

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

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

From-SVN: r46811

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

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

From-SVN: r46810

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

From-SVN: r46809

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

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

From-SVN: r46808

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

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

From-SVN: r46807

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

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

From-SVN: r46806

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

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

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

From-SVN: r46805

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

From-SVN: r46803

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

From-SVN: r46802

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

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

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

From-SVN: r46800

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

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

From-SVN: r46798

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

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

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

From-SVN: r46797

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

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

From-SVN: r46796

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

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

From-SVN: r46795

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

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

From-SVN: r46794

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

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

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

From-SVN: r46793

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

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

From-SVN: r46792