GCC Administrator [Mon, 12 Nov 2001 08:16:13 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46935
David O'Brien [Mon, 12 Nov 2001 00:45:19 +0000 (00:45 +0000)]
MAINTAINERS: Alphabetize.
2001-11-11 David O'Brien <obrien@FreeBSD.org>
* MAINTAINERS: Alphabetize.
From-SVN: r46934
Alexandre Oliva [Mon, 12 Nov 2001 00:02:36 +0000 (00:02 +0000)]
Makefile.in (c-lang.o): Depend on $(VARRAY_H).
* Makefile.in (c-lang.o): Depend on $(VARRAY_H).
* c-decl.c (c_expand_body): Take argument can_defer_p. Use it
to decide whether to defer a function.
(finish_function): Adjust.
(c_expand_deferred_function): New function.
* c-lang.c (deferred_fns): New variable.
(c_init): Initialize it, and mark it as a root.
(defer_fn): New function.
(finish_file): Expand all deferred functions.
* c-tree.h (defer_fn): Declare.
(c_expand_deferred_function): Likewise.
* objc/Make-lang.in (objc-act.o): Depend on $(VARRAY_H).
* objc-act.c (deferred_fns): New variable.
(objc_init): Initialize it, and mark it as a root.
(defer_fn): New function.
(finish_file): Expand all deferred functions.
From-SVN: r46933
Kaveh R. Ghazi [Sun, 11 Nov 2001 21:20:03 +0000 (21:20 +0000)]
alpha.c (unicosmk_special_name): Prototype.
* alpha.c (unicosmk_special_name): Prototype.
(unicosmk_ssib_name): Delete unused variable.
* alpha/unicosmk.h (common_section, ssib_section): Prototype.
* alpha/vms.h (PREFIX): Undef before defining.
* arm/pe.h (SUBTARGET_NAME_ENCODING_LENGTHS): Likewise.
* i370/i370.c (mvs_hash_alias): Prototype. Wrap with macro
controlling usage. Const-ify.
(alias_number): Delete unused variable.
* m32r/m32r.c (m32r_sched_init): Add missing argument.
(m32r_expand_block_move): Fix uninitialized warnings.
* mn10300/mn10300.h (REGNO_IN_RANGE_P): Fix 'unsigned >=0 is
always true' warnings.
* openbsd.h (TARGET_MEM_FUNCTIONS): Don't redefine.
* sh/sh.c: Include "integrate.h".
(output_far_jump): Fix uninitialized warning.
* final.c (shorten_branches): Avoid automatic aggregate
initialization.
* integrate.c (subst_constants): Likewise.
From-SVN: r46932
Kazu Hirata [Sun, 11 Nov 2001 19:22:39 +0000 (19:22 +0000)]
h8300.c (shift_alg): Remove SHIFT_MAX.
* config/h8300/h8300.c (shift_alg): Remove SHIFT_MAX.
(get_shift_alg): Remove redundant code.
From-SVN: r46931
Kazu Hirata [Sun, 11 Nov 2001 17:45:02 +0000 (17:45 +0000)]
milli64.S: Fix comment formatting.
* config/pa/milli64.S: Fix comment formatting.
* config/pa/pa-64.h: Likewise.
* config/pa/pa-linux.h: Likewise.
* config/pa/pa-protos.h: Likewise.
* config/pa/pa.c: Likewise.
* config/pa/pa.h: Likewise.
* config/pa/pa32-linux.h: Likewise.
* config/pa/pa32-regs.h: Likewise.
* config/pa/pa64-hpux.h: Likewise.
* config/pa/pa64-regs.h: Likewise.
* config/pa/som.h: Likewise.
From-SVN: r46930
Joseph Myers [Sun, 11 Nov 2001 11:31:24 +0000 (11:31 +0000)]
gcc.texi: Move several chapters out to ...
* doc/gcc.texi: Move several chapters out to ...
* doc/bugreport.texi, doc/contribute.texi, doc/frontends.texi,
doc/service.texi, doc/standards.texi, doc/trouble.texi,
doc/vms.texi: ... here. New files.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
From-SVN: r46929
Joseph Myers [Sun, 11 Nov 2001 11:25:28 +0000 (11:25 +0000)]
ChangeLog.2, [...]: Fix spelling errors.
* ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.5, ChangeLog,
cfg.c, cfganal.c, cfgcleanup.c, cfglayout.c, cfgloop.c, cfgrtl.c,
collect2.c, combine.c, config.in, configure, configure.in,
conflict.c, dwarf2out.c, dwarfout.c, except.c, final.c, flow.c,
genattrtab.c, ggc-page.c, jump.c, lcm.c, predict.c, reg-stack.c,
reload1.c, rtlanal.c, sched-rgn.c, toplev.c, unwind-dw2-fde.h: Fix
spelling errors.
From-SVN: r46928
Richard Kenner [Sun, 11 Nov 2001 11:15:52 +0000 (11:15 +0000)]
rs6000.c (rs6000_hash_constant, [...]): Adjust operand number in CONST_DOUBLE.
* config/rs6000/rs6000.c (rs6000_hash_constant, toc_hash_eq):
Adjust operand number in CONST_DOUBLE.
From-SVN: r46927
Richard Kenner [Sun, 11 Nov 2001 11:02:26 +0000 (11:02 +0000)]
expmed.c (extract_bit_field): No longer pass in alignment.
* expmed.c (extract_bit_field): No longer pass in alignment.
(extract_fixed_bit_field, extract_split_bit_field): Likewise.
(store_bit_field, store_fixed_bit_field, store_split_bit_field):
Likewise.
* expr.c (store_constructor, store_constructor_field): Likewise.
(store_field, emit_group_load, emit_group_store): Likewise.
* expr.h (emit_group_load, emit_group_store): Delete ALIGN parm.
(store_bit_field, extract_bit_field): Likewise.
* calls.c, expr.c, function.c: Change calls to above functions.
* ifcvt.c, stmt.c: Likewise.
From-SVN: r46926
Richard Kenner [Sun, 11 Nov 2001 10:51:17 +0000 (10:51 +0000)]
alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is constant and one is on frame.
* alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is
constant and one is on frame.
If know memref offset, adjust size from decl.
From-SVN: r46925
GCC Administrator [Sun, 11 Nov 2001 08:16:15 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46923
Kaveh R. Ghazi [Sun, 11 Nov 2001 05:56:47 +0000 (05:56 +0000)]
unicosmk.h (ASM_OUTPUT_DOUBLE, [...]): Fix format specifier warning.
* alpha/unicosmk.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Fix
format specifier warning.
* convex.h (ASM_OUTPUT_BYTE): Likewise.
* elfos.h (ALIGN_ASM_OP): Undef before defining.
* i386/att.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
warning.
* i386/bsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/gas.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386-interix.h (gen_stdcall_suffix): Prototype.
* i386.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
* i386elf.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE): Likewise.
* i386/interix.c (gen_stdcall_suffix): Const-ify.
* i386/next.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Fix format
specifier warnings.
* i386/osfrose.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/ptx4-i.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE): Likewise.
* i386/sco5.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/sequent.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/sun386.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* i386/svr3dbx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/3b1.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_LONG_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_GENERATE_INTERNAL_LABEL): Likewise.
* m68k/altos3068.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
* m68k/amix.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
Likewise.
* m68k/atari.h (ASM_OUTPUT_ASCII, ASM_GENERATE_INTERNAL_LABEL):
Likewise.
* m68k/crds.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Likewise.
* m68k/dpx2.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE, ASM_OUTPUT_FLOAT_OPERAND):
Likewise.
* m68k/hp320.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_BYTE):
Likewise.
* m68k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
Likewise.
* m68k/m68kv4.h (ASM_OUTPUT_ASCII): Delete unused variable.
* m68k/mot3300.h (ASM_OUTPUT_BYTE): Fix format specifier warning.
* m68k/news.h (PRINT_OPERAND): Likewise.
* m68k/next.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
* m68k/next21.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
* m68k/plexus.h (ASM_SPEC): Insert space between macro name and
definition.
* m68k/sgs.h (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_FLOAT, ASM_OUTPUT_ASCII, ASM_OUTPUT_FLOAT_OPERAND,
ASM_OUTPUT_DOUBLE_OPERAND): Fix format specifier warnings.
* m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
* m68k/tower-as.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_DOUBLE,
ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_FLOAT, ASM_OUTPUT_BYTE,
PRINT_OPERAND): Likewise.
* m88k/m88k.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_BYTE):
Likewise.
* mips/elf.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
* mips/elf64.h (PUT_SDB_SIZE, ASM_DECLARE_OBJECT_NAME): Likewise.
* mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
* mips/linux.h (ASM_DECLARE_OBJECT_NAME): Likewise.
* mips.c (mips_output_external_libcall): Mark parameter with
ATTRIBUTE_UNUSED.
(mips_asm_file_start): Move variable into the scope where it's
used.
* mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
* mips/netbsd.h (ASM_DECLARE_OBJECT_NAME): Likewise.
* mips/sni-gas.h (PUT_SDB_SIZE): Likewise.
* ns32k/encore.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* ns32k.c (print_operand): Likewise.
* pa.c (print_operand, output_div_insn): Likewise.
* pa.h (ASM_OUTPUT_MI_THUNK, ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_BYTE, PRINT_OPERAND_ADDRESS): Likewise.
* pa/pa64-hpux.h (UNIQUE_SECTION): Const-ify.
* sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
specifier warnings.
* sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* sparc/pbd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
(ASM_OUTPUT_SOURCE_LINE): Don't list macro arguments in undef.
* sparc/vxsim.h (ASM_GENERATE_INTERNAL_LABEL): Fix format
specifier warnings.
* svr3.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
* sdbout.c (sdbout_end_epilogue): Mark parameter with
ATTRIBUTE_UNUSED.
* varasm.c (assemble_global): Likewise.
From-SVN: r46922
H.J. Lu [Sun, 11 Nov 2001 01:50:40 +0000 (01:50 +0000)]
config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
2001-11-11 H.J. Lu <hjl@gnu.org>
* config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
From-SVN: r46921
Richard Kenner [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.
From-SVN: r46920
Jan Hubicka [Sun, 11 Nov 2001 00:35:31 +0000 (01:35 +0100)]
final.c (*_MAX_SKIP): Use *_max_skip variables.
* 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.
From-SVN: r46919
Geoffrey Keating [Sat, 10 Nov 2001 21:44:53 +0000 (21:44 +0000)]
tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
* 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.
From-SVN: r46918
Jeffrey A 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-ccp.c (examine_flow_edges): Use old-style definition, not
an ANSI/ISO definitino.
(ssa_const_prop): Likewise.
From-SVN: r46917
GCC Administrator [Sat, 10 Nov 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46915
Aldy Hernandez [Sat, 10 Nov 2001 05:45:13 +0000 (05:45 +0000)]
rs6000.c (rs6000_reg_names): Remove leading "v" or altivec registers.
* config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
altivec registers.
From-SVN: r46914
Kaveh R. Ghazi [Sat, 10 Nov 2001 04:52:13 +0000 (04:52 +0000)]
* tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
From-SVN: r46913
Kaveh R. Ghazi [Sat, 10 Nov 2001 04:46:01 +0000 (04:46 +0000)]
cppexp.c (parse_number): Use ISXDIGIT/hex_value.
* 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.
From-SVN: r46912
Kaveh R. Ghazi [Sat, 10 Nov 2001 04:40:58 +0000 (04:40 +0000)]
config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
* 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.
From-SVN: r46911
Richard Henderson [Sat, 10 Nov 2001 01:16:13 +0000 (17:16 -0800)]
alpha.c (decl_in_text_section): New.
* config/alpha/alpha.c (decl_in_text_section): New.
(current_file_function_operand): Use it.
(alpha_encode_section_info, alpha_end_function): Likewise.
From-SVN: r46910
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Kazu Hirata [Fri, 9 Nov 2001 19:09:06 +0000 (19:09 +0000)]
* MAINTAINERS (Various maintainers: h8 port): Add myself.
From-SVN: r46888
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
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
John David Anglin [Fri, 9 Nov 2001 18:11:37 +0000 (18:11 +0000)]
* MAINTAINERS (Various maintainers: hppa port): Added myself.
From-SVN: r46885
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
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
Jeff Sturm [Fri, 9 Nov 2001 17:33:45 +0000 (17:33 +0000)]
* verify.cc: Wrap in #ifdef INTERPRETER...#endif.
From-SVN: r46882
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
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
Gerald Pfeifer [Fri, 9 Nov 2001 10:56:01 +0000 (11:56 +0100)]
* doc/install.texi2html: Use $MAKEINFO --no-split.
From-SVN: r46879
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
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
GCC Administrator [Fri, 9 Nov 2001 08:20:48 +0000 (08:20 +0000)]
Daily bump.
From-SVN: r46876
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
Geoffrey Keating [Fri, 9 Nov 2001 05:32:46 +0000 (05:32 +0000)]
* config.gcc: Rename stormy16 to xstormy16.
From-SVN: r46873
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
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
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
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
Richard Henderson [Fri, 9 Nov 2001 01:21:13 +0000 (17:21 -0800)]
* dwarf2asm.c (dw2_force_const_mem): Fix typo.
From-SVN: r46868
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
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
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
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
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
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
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
Aldy Hernandez [Thu, 8 Nov 2001 22:46:23 +0000 (22:46 +0000)]
* rs6000.h (ASM_CPU_SPEC): Add -maltivec.
From-SVN: r46859
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
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
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
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
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
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
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
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
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
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
Anthony Green [Thu, 8 Nov 2001 15:13:11 +0000 (15:13 +0000)]
Somebody forgot a >>>>>>>>
From-SVN: r46844
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
GCC Administrator [Thu, 8 Nov 2001 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46842
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
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
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
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
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
Aldy Hernandez [Wed, 7 Nov 2001 20:54:05 +0000 (20:54 +0000)]
forgot cl entries
From-SVN: r46835
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
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
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
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
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
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
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
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
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
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
GCC Administrator [Wed, 7 Nov 2001 08:16:17 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46821
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