OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/mips/mips.c (override_options): Disable explicit
rsandifo [Mon, 19 May 2003 07:27:45 +0000 (07:27 +0000)]
* config/mips/mips.c (override_options): Disable explicit
relocs for old ABIs unless using gas.

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

21 years ago * name-lookup.c (free_binding_entry): fix where the GTY markers are.
gdr [Mon, 19 May 2003 07:02:12 +0000 (07:02 +0000)]
* name-lookup.c (free_binding_entry): fix where the GTY markers are.
(binding_entry_make): Make entry->chain NULL after getting an entry.
fix the spelling of chain in a comment.
(binding_table_free): speed up by having temporary variable.
(binding_table_new): set table->chain to be NULL after allocating
a table.
(cxx_binding_make): use gcc_alloc instead of ggc_alloc_cleared and set
binding->previous to NULL after getting an binding for speed.

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

21 years ago2003-05-18 Eric Christopher <echristo@redhat.com>
echristo [Mon, 19 May 2003 07:00:34 +0000 (07:00 +0000)]
2003-05-18  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h: Remove definition of g_switch_value.

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

21 years ago2003-05-19 Michael Koch <konqueror@gmx.de>
mkoch [Mon, 19 May 2003 06:59:23 +0000 (06:59 +0000)]
2003-05-19  Michael Koch  <konqueror@gmx.de>

* gnu/java/nio/ByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/DirectByteBufferImpl.java
(putLong): Fixed conversion to bytes.
(putDouble): Fixed conversion to bytes.
* gnu/java/nio/FileLockImpl.java
(isValid): Reformatted.
* java/nio/Buffer.java
(Buffer): Fixed off-by-one bug in handling mark.
* java/nio/ByteBuffer.java:
Added newline.
* java/nio/CharBuffer.java
(toString): Don't use relative get to get string data.

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

21 years ago * flags.h (g_switch_value): Change to an unsigned
kraai [Mon, 19 May 2003 00:31:10 +0000 (00:31 +0000)]
* flags.h (g_switch_value): Change to an unsigned
HOST_WIDE_INT.
* toplev.c (g_switch_value): Likewise.

* config/alpha/alpha.c (small_symbolic_operand): Remove
g_switch_value cast.
(alpha_in_small_data_p): Cast size to an unsigned
HOST_WIDE_INT.

* config/frv/frv.c (frv_in_small_data_p): Cast size to an
unsigned HOST_WIDE_INT.
* config/frv/frv.h (g_switch_value, g_switch_set): Remove.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.

* config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
unsigned HOST_WIDE_INT.
(m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
* config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.

* config/rs6000/rs6000.c (rs6000_file_start): Use
HOST_WIDE_INT_PRINT_UNSIGNED.
(small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
(rs6000_elf_in_small_data_p): Cast size to unsigned
HOST_WIDE_INT.
* config/rs6000/sysv4.h (g_switch_value, g_switch_set):
Remove.
(SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
g_switch_set.
(ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
g_switch_value cast.

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

21 years agoDaily bump.
gccadmin [Mon, 19 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago PR middle-end/10472
sayle [Sun, 18 May 2003 22:50:29 +0000 (22:50 +0000)]
PR middle-end/10472
* builtins.c (expand_builtin_memcpy):  Call force_operand on
expressions and use simplify_gen_binary to create the addition.

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

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

21 years ago * config/m68k/m68k.md: Use define_constants for unspec numbers.
schwab [Sun, 18 May 2003 21:51:14 +0000 (21:51 +0000)]
* config/m68k/m68k.md: Use define_constants for unspec numbers.

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

21 years ago * config/sparc/sparc.h: Define sparc for now.
neil [Sun, 18 May 2003 20:02:36 +0000 (20:02 +0000)]
* config/sparc/sparc.h: Define sparc for now.

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

21 years ago * lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
mmitchel [Sun, 18 May 2003 18:59:56 +0000 (18:59 +0000)]
* lib/gcc-dg.exp (gcc-dg-debug-runtest): Add opt_opts parameter.
* gcc.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.
* g++.dg/debug/debug.exp: Pass opt_opts parameter to
gcc-dg-debug-runtest.

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

21 years ago2003-05-18 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Sun, 18 May 2003 18:59:04 +0000 (18:59 +0000)]
2003-05-18  Nathanael Nerode  <neroden@gcc.gnu.org>

* gcc_release: GNU CC -> GCC.

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

21 years ago * config.gcc: Clear xm_file, md_file at the beginning of each pass.
neroden [Sun, 18 May 2003 18:44:46 +0000 (18:44 +0000)]
* config.gcc: Clear xm_file, md_file at the beginning of each pass.

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

21 years ago * config/stormy16/stormy16.h: Remove about 3000 lines of
neroden [Sun, 18 May 2003 16:05:33 +0000 (16:05 +0000)]
* config/stormy16/stormy16.h: Remove about 3000 lines of
target-independent comments.  Update copyright notice.

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

21 years ago * doc/collect2.texi: GNU CC -> GCC.
neroden [Sun, 18 May 2003 15:52:25 +0000 (15:52 +0000)]
* doc/collect2.texi: GNU CC -> GCC.
* doc/headerdirs.texi: GNU CC -> GCC.

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

21 years ago<top level>
neroden [Sun, 18 May 2003 15:43:44 +0000 (15:43 +0000)]
<top level>
* configure.in: Switch more things to use maybe dependencies.
Rearrange a little.  Use GCC_TOPLEV_SUBDIRS.
* configure: Regenerate.
* Makefile.tpl: Switch more things to use maybe dependencies.
* Makefile.in: Regenerate.

<config>
* config/acx.m4: Introduce _GCC_TOPLEV_NONCANONICAL_BUILD,
_GCC_TOPLEV_NONCANOICAL_HOST, _GCC_TOPLEV_NONCANONICAL_TARGET,
GCC_TOPLEV_SUBDIRS.

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

21 years ago2003-05-18 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 18 May 2003 14:20:23 +0000 (14:20 +0000)]
2003-05-18  Toon Moene  <toon@moene.indiv.nluug.nl>

* intdoc.in: Fix documentation of IDATE.
* intdoc.texi: Regenerate.
* news.texi: Update due to also fixing it in 3.3.1.

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

21 years ago * hashtable.h (struct ht_identifier): Add data member "hash_value".
gdr [Sun, 18 May 2003 13:40:54 +0000 (13:40 +0000)]
* hashtable.h (struct ht_identifier): Add data member "hash_value".
* hashtable.c (ht_lookup): Use it when searching, remember.
(ht_expand): Do not recompute.
* tree.h (IDENTIFIER_HASH_VALUE): New macro.

cp/
* cp-tree.h (struct lang_type_class): Replace data member tags
with hash-table nested_udts.
(CLASSTYPE_NESTED_UTDS): Rename from CLASSTYPE_TAGS.
* class.c (unreverse_member_declarations): Don't touch
CLASSTYPE_TAGS.
(pushclass): Use cxx_remember_type_decls.
* decl.c (struct cp_binding_level): Replace data member tags with
hash-table type_decls.
(pop_binding_level): Handle level->type_decls.
(kept_level_p): Adjust.
(poplevel): Remove unused local variable.
(bt_print_entry): New function.
(print_binding_level): Use it.
(push_namespace): Build current_binding_level->type_decls.
(maybe_process_template_type_declaration): Adjust.
(pushtag): Likewise.
(clear_anon_tags): Use binding_table_remove_anonymous_types.
(gettags): Remove.
(cxx_remember_type_decls):  Rename from storetags.  Adjust.
(lookup_tag): Use binding_table_find_anon_type.  Tidy.
(lookup_tag_reverse): Use binding_table_reverse_maybe_remap.
(cxx_init_decl_processing): Build global_binding_level->type_decls.
(store_parm_decls): Remove pointless code.
* name-lookup.c (free_binding_entry): New variable.
(ENTRY_INDEX): New macro.
(struct binding_table_s): New datatype.
(binding_entry_make): New function.
(binding_entry_free): Likewise.
(binding_table_construct): Likewise.
(binding_table_free): Likewise.
(binding_table_new): Likewise.
(binding_table_expand): Likewise.
(binding_table_insert): Likewise.
(binding_table_find): Likewise.
(binding_table_find_anon_type): Likewise.
(binding_table_reverse_maybe_remap): Likewise.
(binding_table_remove_anonymous_types): Likewise.
(binding_table_foreach): Likewise.
* name-lookup.h (binding_table): New type.
(binding_entry): Likewise.
(bt_foreach_proc): Likewise.
(struct binding_entry_s): New datatype.
(SCOPE_DEFAULT_HT_SIZE): New macro.
(CLASS_SCOPE_HT_SIZE): Likewise.
(NAMESPACE_ORDINARY_HT_SIZE): Likewise.
(NAMESPACE_STD_HT_SIZE): Likewise.
(GLOBAL_SCOPE_HT_SIZE): Likewise.
(binding_table_new): Declare.
(binding_table_free): Likewise.
(binding_table_insert): Likewise.
(binding_table_find_anon_type): Likewise.
(binding_table_reverse_maybe_remap): Likewise.
(binding_table_remove_anonymous_types): Likewise.
(binding_table_foreach): Likewise.
(binding_table_find): Likewise.
(cxx_remember_type_decls): Likewise.
* pt.c (bt_instantiate_type_proc): New function.
(do_type_instantiation): Use it.
* search.c (lookup_field_r): Use binding_table_find.

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

21 years ago PR c++/9022
lerdsuwa [Sun, 18 May 2003 11:21:27 +0000 (11:21 +0000)]
PR c++/9022
* g++.dg/lookup/using6.C: New test.

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

21 years ago * gcov-io.c (gcov_read_bytes): Fix fread thinko.
nathan [Sun, 18 May 2003 11:17:38 +0000 (11:17 +0000)]
* gcov-io.c (gcov_read_bytes): Fix fread thinko.

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

21 years ago * c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
neil [Sun, 18 May 2003 09:46:23 +0000 (09:46 +0000)]
* c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
Default here.
(c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
* defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
* config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
* config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
config/arm/linux-elf.h, config/arm/rtems-elf.h,
config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
Don't define __ELF__.
* config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
Define __ELF__.
* doc/cpp.texi: Document __ELF__.
* doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS.

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

21 years ago * semantics.c (perform_deferred_access_checks): Don't discard
lerdsuwa [Sun, 18 May 2003 09:42:12 +0000 (09:42 +0000)]
* semantics.c (perform_deferred_access_checks): Don't discard
checked access.

* g++.dg/parse/access2.C: New test.

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

21 years agoDaily bump.
gccadmin [Sun, 18 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years agogcc:
ghazi [Sat, 17 May 2003 22:21:35 +0000 (22:21 +0000)]
gcc:
* builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
always use stdarg.
* c-errors.c (pedwarn_c99): Likewise.
* c-format.c (status_warning): Likewise.
* c-semantics.c (build_stmt): Likewise.
* calls.c (emit_library_call, emit_library_call_value): Likewise.
* collect2.c (notice, fatal_perror, fatal, error): Likewise.
* cpperror.c (cpp_error, cpp_error_with_line): Likewise.
* diagnostic.c (build_message_string, output_printf,
output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
error_with_decl, fnotice): Likewise.
* dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
dw2_asm_output_encoded_addr_rtx): Likewise.
* emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
* errors.c (warning, error, fatal, internal_error): Likewise.
* final.c (output_operand_lossage, asm_fprintf): Likewise.
* fix-header.c (fatal): Likewise.
* gcc.c (fatal, error, notice): Likewise.
* gcov.c (fnotice): Likewise.
* genattrtab.c (attr_rtx, attr_printf): Likewise.
* gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
* gensupport.c (message_with_line): Likewise.
* mips-tfile.c (fatal, error): Likewise.
* protoize.c (notice): Likewise.
* ra-debug.c (ra_debug_msg): Likewise.
* read-rtl.c (fatal_with_file_and_line): Likewise.
* rtl-error.c (error_for_asm, warning_for_asm): Likewise.
* tree.c (build, build_nt, build_function_type_list): Likewise.

cp:
* error.c (cp_error_at, cp_warning_at, cp_pedwarn_at): Eliminate
libiberty VA_ macros, always use stdarg.
* rtti.c (create_pseudo_type_info): Likewise.
* tree.c (build_min_nt, build_min): Likewise.

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

21 years ago * lib/gcc-dg.exp (gcc-dg-debug-runtest): New method.
mmitchel [Sat, 17 May 2003 22:17:40 +0000 (22:17 +0000)]
* lib/gcc-dg.exp (gcc-dg-debug-runtest): New method.
* g++.dg/debug/debug.exp: Use gcc-dg-debug-runtest.
* gcc.dg/debug/debug.exp: Likewise.

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

21 years ago * defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
neil [Sat, 17 May 2003 21:59:25 +0000 (21:59 +0000)]
* defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
* gcc.c (cpp_predefines): Remove.
(cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
(static_specs): Remove predefines.
* system.h: Poison CPP_PREDEFINES.
* config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.

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

21 years ago * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
neil [Sat, 17 May 2003 21:57:38 +0000 (21:57 +0000)]
* config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h,
config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES,
use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead.

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

21 years agoAdd PR 9209 reference
neil [Sat, 17 May 2003 20:33:00 +0000 (20:33 +0000)]
Add PR 9209 reference

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

21 years ago * c-common.c, c-common.h (dollars_in_ident): Remove.
neil [Sat, 17 May 2003 20:29:34 +0000 (20:29 +0000)]
* c-common.c, c-common.h (dollars_in_ident): Remove.
* c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
(c_common_init_options, c_common_decode_option): Set dollars_in_ident.
* cpphash.h (warned_dollar): Rename warn_dollars.
* cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
Permit dollars regardless of -std=.
(post_options): Set warn_dollars.
* cpplex.c (forms_identifier_p): Use warn_dollars.
* config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
* doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
Update documentation.
testsuite:
* gcc.dg/dollar.c: New test.

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

21 years ago * config/m68k/m68k.c (m68k_output_function_prologue): Use
schwab [Sat, 17 May 2003 20:04:09 +0000 (20:04 +0000)]
* config/m68k/m68k.c (m68k_output_function_prologue): Use
HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when
formatting a HOST_WIDE_INT.
(m68k_output_function_epilogue): Likewise.

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

21 years ago * doc/install.texi: Remove information about desupported targets.
zack [Sat, 17 May 2003 19:42:04 +0000 (19:42 +0000)]
* doc/install.texi: Remove information about desupported targets.

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

21 years ago2003-05-17 Andreas Schwab <schwab@suse.de>
schwab [Sat, 17 May 2003 18:20:55 +0000 (18:20 +0000)]
2003-05-17  Andreas Schwab  <schwab@suse.de>

* config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
* config/m68k/linux.h: Likewise.
* config/m68k/m68k-none.h: Likewise.
* config/m68k/netbsd-elf.h: Likewise.
* config/m68k/sgs.h: Likewise.
* config/m68k/m68k.h: Likewise.
* config/m68k/m68k.md: Likewise.
* config/m68k/m68k.c: Likewise.
* doc/md.texi (Machine Constraints): Remove Sun FPA specific
constraints.
* doc/invoke.texi (Option Summary): Remove -mfpa.
(M680x0 Options): Likewise.

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

21 years ago * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
dje [Sat, 17 May 2003 16:57:17 +0000 (16:57 +0000)]
* rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.

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

21 years ago * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
neil [Sat, 17 May 2003 13:47:44 +0000 (13:47 +0000)]
* config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
* config/sparc/liteelf.h, config/sparc/openbsd64.h,
config/sparc/rtemself.h, config/sparc/sol2-64.h,
config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
Update for use of TARGET_SUB_OS_CPP_BUILTINS.

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

21 years ago * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
neil [Sat, 17 May 2003 07:37:44 +0000 (07:37 +0000)]
* i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES.

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

21 years ago * config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
neil [Sat, 17 May 2003 07:19:56 +0000 (07:19 +0000)]
* config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
* sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h,
sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h,
sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h,
sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h,
sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h,
sparc/sysv4.h,
* sparc/sysv4-only.h: New.

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

21 years ago * function.c (assign_parms): Check for zero size args.
amodra [Sat, 17 May 2003 06:52:35 +0000 (06:52 +0000)]
* function.c (assign_parms): Check for zero size args.

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

21 years agogcc:
ghazi [Sat, 17 May 2003 01:40:45 +0000 (01:40 +0000)]
gcc:
* cfgloopanal.c (test_for_iteration): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.
* dbxout.c (dbxout_symbol): Likewise.
* defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
* dwarf2asm.c (dw2_asm_output_data_uleb128,
dw2_asm_output_data_sleb128): Likewise.
* genrecog.c (debug_decision_2): Likewise.
* loop.c (emit_prefetch_instructions): Likewise.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* ra-debug.c (dump_igraph, dump_graph_cost,
dump_static_insn_cost): Likewise.
* ra-rewrite.c (dump_cost): Likewise.
* sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
* sreal.c (dump_sreal): Likewise.
* unroll.c (unroll_loop, precondition_loop_p): Likewise.
* varasm.c (assemble_vtable_entry): Likewise.

cp:
* ptree.c (cxx_print_type, cxx_print_xnode): Use string
concatentation on HOST_WIDE_INT_PRINT_* format specifier to
collapse multiple function calls into one.
* tree.c (debug_binfo): Likewise.

java:
* parse.y (print_int_node): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.

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

21 years agoDaily bump.
gccadmin [Sat, 17 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago * config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
geoffk [Fri, 16 May 2003 23:45:42 +0000 (23:45 +0000)]
* config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
and ! TARGET_STRING cases.

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

21 years ago * avr.c (avr_output_function_prologue,
ghazi [Fri, 16 May 2003 23:41:12 +0000 (23:41 +0000)]
* avr.c (avr_output_function_prologue,
avr_output_function_epilogue, print_operand): Fix format specifier
warnings.
(init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED.
* avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings.

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

21 years ago * doc/cppopts.texi (-undef): Fix texinfo warning.
geoffk [Fri, 16 May 2003 23:38:42 +0000 (23:38 +0000)]
* doc/cppopts.texi (-undef): Fix texinfo warning.

* doc/cppopts.texi (-H): Document that -H works for PCH files too.
* cppfiles.c (validate_pch): When -H is used, print some information
about PCH files found.

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

21 years ago2003-05-16 Janis Johnson <janis187@us.ibm.com>
janis [Fri, 16 May 2003 23:01:38 +0000 (23:01 +0000)]
2003-05-16  Janis Johnson  <janis187@us.ibm.com>

* gcc.dg/compat/struct-by-value-4_main.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-4_x.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-4_y.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_main.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_x.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-5_y.c: Split into multiple tests.
* gcc.dg/compat/struct-by-value-6_main.c: New file.
* gcc.dg/compat/struct-by-value-6_x.c: New file.
* gcc.dg/compat/struct-by-value-6_y.c: New file.
* gcc.dg/compat/struct-by-value-7_main.c: New file.
* gcc.dg/compat/struct-by-value-7_x.c: New file.
* gcc.dg/compat/struct-by-value-7_y.c: New file.
* gcc.dg/compat/struct-by-value-8_main.c: New file.
* gcc.dg/compat/struct-by-value-8_x.c: New file.
* gcc.dg/compat/struct-by-value-8_y.c: New file.
* gcc.dg/compat/struct-by-value-9_main.c: New file.
* gcc.dg/compat/struct-by-value-9_x.c: New file.
* gcc.dg/compat/struct-by-value-9_y.c: New file.

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

21 years ago * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
kenner [Fri, 16 May 2003 22:51:14 +0000 (22:51 +0000)]
* config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
* config/mips/t-isa3264, config/mips/t-r3900: Likewise.
* config/mips/t-sr71k: Likewise.

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

21 years ago * arc.c (arc_output_function_prologue,
ghazi [Fri, 16 May 2003 22:46:41 +0000 (22:46 +0000)]
* arc.c (arc_output_function_prologue,
arc_output_function_epilogue): Fix format specifier warnings.
* arc.h (LARGE_INT): Fix signed/unsigned warnings.

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

21 years ago * v850.c (print_operand): Fix format specifier warnings.
ghazi [Fri, 16 May 2003 22:39:21 +0000 (22:39 +0000)]
* v850.c (print_operand): Fix format specifier warnings.

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

21 years ago * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
ghazi [Fri, 16 May 2003 22:23:13 +0000 (22:23 +0000)]
* ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
specifier warnings.

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

21 years ago * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
ghazi [Fri, 16 May 2003 22:15:14 +0000 (22:15 +0000)]
* mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
format specifier warnings.

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

21 years ago * configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
jakub [Fri, 16 May 2003 22:09:22 +0000 (22:09 +0000)]
* configure.in (HAVE_RO_EH_FRAME): Check whether .eh_frame section
should be read-only.
* configure: Rebuilt.
* fficonfig.h.in: Rebuilt.
* include/ffi.h.in (EH_FRAME_FLAGS): Define.
* src/alpha/osf.S: Use EH_FRAME_FLAGS.
* src/powerpc/linux64.S: Likewise.
* src/powerpc/linux64_closure.S: Likewise.  Include ffi.h.
* src/powerpc/sysv.S: Use EH_FRAME_FLAGS.  Use pcrel encoding
if -fpic/-fPIC/-mrelocatable.
* src/powerpc/powerpc_closure.S: Likewise.
* src/sparc/v8.S: If HAVE_RO_EH_FRAME is defined, don't include
#write in .eh_frame flags.
* src/sparc/v9.S: Likewise.
* src/x86/unix64.S: Use EH_FRAME_FLAGS.
* src/x86/sysv.S: Likewise.  Use pcrel encoding if -fpic/-fPIC.
* src/s390/sysv.S: Use EH_FRAME_FLAGS.  Include ffi.h.

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

21 years ago * ip2k.c (function_prologue, function_epilogue, print_operand):
ghazi [Fri, 16 May 2003 22:05:08 +0000 (22:05 +0000)]
* ip2k.c (function_prologue, function_epilogue, print_operand):
Fix format specifier warnings.
* ip2k.md: Likewise.

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

21 years ago * i960.c (i960_output_function_prologue, i960_print_operand,
ghazi [Fri, 16 May 2003 21:51:24 +0000 (21:51 +0000)]
* i960.c (i960_output_function_prologue, i960_print_operand,
i960_print_operand_addr): Fix format specifier warnings.

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

21 years ago * i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
ghazi [Fri, 16 May 2003 21:31:37 +0000 (21:31 +0000)]
* i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
(i370_output_function_prologue): Fix format specifier warnings.
* i370.h (PRINT_OPERAND): Likewise.

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

21 years ago * fr30.c (fr30_print_operand): Fix format specifier warnings.
ghazi [Fri, 16 May 2003 21:03:04 +0000 (21:03 +0000)]
* fr30.c (fr30_print_operand): Fix format specifier warnings.

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

21 years ago * dsp16xx.c (print_operand_address): Fix format specifier warning.
ghazi [Fri, 16 May 2003 20:57:04 +0000 (20:57 +0000)]
* dsp16xx.c (print_operand_address): Fix format specifier warning.
* dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.

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

21 years ago * lib/gcc-dg.exp (gcc-dg-test): Rename to ...
mmitchel [Fri, 16 May 2003 20:53:04 +0000 (20:53 +0000)]
* lib/gcc-dg.exp (gcc-dg-test): Rename to ...
(gcc-dg-test-1): ... this.  Add target_compile parameter.  Add
support for "repo" mode.
* lib/g++-dg.exp: Use gcc-dg.exp to implement all functionality.
* lib/g77-dg.exp: Likewise.
* lib/obj-dg.exp: Likewise.

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

21 years ago * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
ghazi [Fri, 16 May 2003 20:49:42 +0000 (20:49 +0000)]
* c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
specifier warnings.

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

21 years ago Merge from gcc-3_2-rhl8-branch:
jakub [Fri, 16 May 2003 19:35:43 +0000 (19:35 +0000)]
Merge from gcc-3_2-rhl8-branch:
2003-04-23  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/tls/opt-6.c: New test.

2003-04-05  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/20030405-1.c: New test.

2003-03-09  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/20030309-1.c: New test.

2003-03-07  Eric Botcazou  <ebotcazou@libertysurf.fr>

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

2003-02-20  Randolph Chung  <tausq@debian.org>

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

2003-02-18  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/20030217-1.c: New test.

2003-01-29  Jakub Jelinek  <jakub@redhat.com>

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

2002-12-21  Eric Botcazou  <ebotcazou@libertysurf.fr>

* gcc.dg/unroll-1.c: New test.

2002-11-16  Jan Hubicka  <jh@suse.cz>

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

2002-10-08  Jakub Jelinek  <jakub@redhat.com>

PR target/7434
* gcc.c-torture/compile/20021008-1.c: New test.

2002-08-10  Gwenole Beauchesne  <gbeauchesne@mandrakesoft.com>

PR target/7559
* testsuite/gcc.c-torture/execute/20020810-1.c: New test.

2002-08-07  Jakub Jelinek  <jakub@redhat.com>

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

2002-07-30  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/tls/opt-1.c: New test.

2002-07-29  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/20020729-1.c: New test.

2002-07-20  Jakub Jelinek  <jakub@redhat.com>

* g++.dg/opt/life1.C: New test.

2002-05-20  Jakub Jelinek  <jakub@redhat.com>

* gcc.dg/20020525-1.c: New test.

2002-05-24  Jakub Jelinek  <jakub@redhat.com>

PR c++/6794
* g++.dg/ext/pretty1.C: New test.
* g++.dg/ext/pretty2.C: New test.

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

21 years ago * alpha.c (print_operand_address, alpha_start_function,
ghazi [Fri, 16 May 2003 18:57:46 +0000 (18:57 +0000)]
* alpha.c (print_operand_address, alpha_start_function,
unicosmk_output_ssib): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.
* arm.c (arm_print_operand): Likewise.
* cris.c (cris_asm_output_mi_thunk): Likewise.
* frv.c (frv_asm_output_mi_thunk): Likewise.
* ia64.c (ia64_print_operand, process_set): Likewise.
* m68k.c (m68k_output_function_epilogue, m68k_output_mi_thunk):
Likewise.
* mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
* mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
* pa.c (output_div_insn, pa_asm_output_mi_thunk): Likewise.
* pa.h (PRINT_OPERAND_ADDRESS): Likewise.
* rs6000.c (rs6000_va_start, print_operand_address): Likewise.
* s390.c (s390_assemble_integer): Likewise.
* sparc.c (sparc_flat_function_prologue,
sparc_flat_function_epilogue): Likewise.
* stormy16.c (xstormy16_print_operand_address, xstormy16_print_operand): Likewise.
* vax.c (vax_output_mi_thunk): Likewise.

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

21 years ago * frv.c (frv_print_operand_memory_reference): Fix format specifier
ghazi [Fri, 16 May 2003 18:29:53 +0000 (18:29 +0000)]
* frv.c (frv_print_operand_memory_reference): Fix format specifier
warning.
(frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.

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

21 years ago * m68k.c (m68k_output_function_epilogue): Fix format specifier
ghazi [Fri, 16 May 2003 18:25:39 +0000 (18:25 +0000)]
* m68k.c (m68k_output_function_epilogue): Fix format specifier
warnings.

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

21 years ago * stormy16-protos.h (xs_hi_general_operand,
ghazi [Fri, 16 May 2003 18:15:44 +0000 (18:15 +0000)]
* stormy16-protos.h (xs_hi_general_operand,
xs_hi_nonmemory_operand): Prototype.
* stormy16.c (xstormy16_output_shift): Fix format specifier
warnings.

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

21 years agoFix date.
aj [Fri, 16 May 2003 18:09:31 +0000 (18:09 +0000)]
Fix date.

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

21 years ago2003-05-15 Andreas Schwab <schwab@suse.de>
aj [Fri, 16 May 2003 18:07:39 +0000 (18:07 +0000)]
2003-05-15  Andreas Schwab  <schwab@suse.de>

* Makefile.tpl (install-opcodes): Define.
* Makefile.in: Rebuild.

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

21 years ago * cris.c (cris_target_asm_function_prologue,
ghazi [Fri, 16 May 2003 17:54:11 +0000 (17:54 +0000)]
* cris.c (cris_target_asm_function_prologue,
cris_target_asm_function_epilogue, cris_print_operand): Fix format
specifier warnings.

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

21 years agoCommit ChangeLog entry that I failed to commit for a previous change.
bwilson [Fri, 16 May 2003 16:06:29 +0000 (16:06 +0000)]
Commit ChangeLog entry that I failed to commit for a previous change.

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

21 years ago Fix typo: LSM instead of LSYM.
nickc [Fri, 16 May 2003 16:01:51 +0000 (16:01 +0000)]
 Fix typo: LSM instead of LSYM.

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

21 years ago * doc/bugreport.texi, f/g77.texi: Remove most of the preface of the bug reportin...
bangerth [Fri, 16 May 2003 15:02:19 +0000 (15:02 +0000)]
 * doc/bugreport.texi, f/g77.texi: Remove most of the preface of the bug reporting section.

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

21 years ago * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
jakub [Fri, 16 May 2003 13:25:16 +0000 (13:25 +0000)]
* config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
.save XX, r0.

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

21 years ago2003-05-16 Michael Koch <konqueror@gmx.de>
mkoch [Fri, 16 May 2003 08:09:32 +0000 (08:09 +0000)]
2003-05-16  Michael Koch  <konqueror@gmx.de>

* java/io/natFileDescriptorPosix.cc
(open): Commented out the O_SYNC and O_DSYNC usage until its better
tested.

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

21 years ago * lib/g++.exp: Tweak handling of additional source files.
mmitchel [Fri, 16 May 2003 07:37:55 +0000 (07:37 +0000)]
* lib/g++.exp: Tweak handling of additional source files.
* g++.dg/special/conpr-2.C: Use dg-gpp-additional-sources.
* g++.dg/special/conpr-2a.C: Rename to ...
* g++.dg/special/conpr-2a.cc: ... this.
* g++.dg/special/conpr-3.C: Use dg-gpp-additional-sources.
* g++.dg/special/conpr-3a.C: Rename to ...
* g++.dg/special/conpr-3a.cc: This.
* g++.dg/special/conpr-3b.C: Rename to ...
* g++.dg/special/conpr-3b.cc: This.
* g++.dg/special/conpr-4.C: New test.
* g++.dg/special/ecos.exp: Rewrite to use ordinary dg driver.

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

21 years ago * testsuite/thread/pthread4.cc: Further tweak to avoid fini race.
ljrittle [Fri, 16 May 2003 02:34:14 +0000 (02:34 +0000)]
* testsuite/thread/pthread4.cc: Further tweak to avoid fini race.

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

21 years ago * config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.
sayle [Fri, 16 May 2003 02:15:00 +0000 (02:15 +0000)]
* config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.

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

21 years ago2003-05-15 Eric Christopher <echristo@redhat.com>
echristo [Fri, 16 May 2003 02:11:26 +0000 (02:11 +0000)]
2003-05-15  Eric Christopher  <echristo@redhat.com>

        * cfgcleanup.c (merge_blocks): Fix return value.

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

21 years ago2003-05-15 Eric Christopher <echristo@redhat.com>
echristo [Fri, 16 May 2003 02:05:29 +0000 (02:05 +0000)]
2003-05-15 Eric Christopher <echristo@redhat.com>

        * combine.c (expand_compound_operation): Make sure
        that zero_extend operation is profitable.

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

21 years ago * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
kraai [Fri, 16 May 2003 00:53:37 +0000 (00:53 +0000)]
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
g_switch_value to unsigned HOST_WIDE_INT.

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

21 years agoDaily bump.
gccadmin [Fri, 16 May 2003 00:16:07 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-05-15 Paolo Carlini <pcarlini@unitus.it>
bkoz [Thu, 15 May 2003 23:43:15 +0000 (23:43 +0000)]
2003-05-15  Paolo Carlini  <pcarlini@unitus.it>
    Nathan Myers  <ncm@cantrip.org>

* include/bits/fstream.tcc (_M_overflow): Rewrote to call
_M_convert_to_external only once (_M_buf_size is now the size of
the put area + 1 for the overflow char of a full area); call
_M_set_buffer instead of _M_set_indeterminate.
(setbuf): Don't accept a buffer smaller than 2 chars.
(_M_underflow): Refill _M_buf_size - 1 chars; call _M_set_buffer,
instead of _M_set_determinate.
(open): Call _M_set_buffer, instead of _M_set_indeterminate.
(seekoff): Likewise.
* include/ext/stdio_filebuf.h (stdio_filebuf(int,
std::ios_base::openmode, bool, size_t),
stdio_filebuf(std::__c_file*, std::ios_base::openmode, size_t):
Likewise.
* include/std/std_fstream.h (_M_set_indeterminate): Remove.
(_M_set_determinate): Rename as _M_set_buffer, _M_buf_size ->
_M_buf_size - 1.
* include/std/std_streambuf.h: Tweak _M_out_lim comment.
* testsuite/27_io/basic_filebuf/sgetn/char/1.cc: Tweak, taking
into account that, for _M_buf_size == BUFSIZ == 8192, the size of
the put area is now BUFSIZ - 1.
* testsuite/ext/stdio_filebuf_2.cc: Tweak, taking into account
that now the smallest _M_buf_size is 2 (still fails, for the same
reason, with 3.2.3)

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

21 years ago * config/alpha/linux.h, config/alpha/linux-elf.h: Remove
rth [Thu, 15 May 2003 22:58:33 +0000 (22:58 +0000)]
    * config/alpha/linux.h, config/alpha/linux-elf.h: Remove
        code protected by USE_GNULIBC_1.

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

21 years ago PR c++/5388
jason [Thu, 15 May 2003 22:25:51 +0000 (22:25 +0000)]
    PR c++/5388
        * call.c (conditional_conversion): Don't consider implicit
        conversions if T2 is a base of T1.
        * cp-tree.h (DERIVED_FROM_P, UNIQUELY_DERIVED_FROM_P): Make boolean.
        (ACCESSIBLY_UNIQUELY_DERIVED_P, PUBLICLY_UNIQUELY_DERIVED_P): Likewise.

        * parser.c (cp_parser_primary_expression): Convert a static data
        member from reference.

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

21 years ago * call.c (build_op_delete_call): Avoid creating unnecessary types.
mmitchel [Thu, 15 May 2003 22:04:00 +0000 (22:04 +0000)]
* call.c (build_op_delete_call): Avoid creating unnecessary types.
* class.c (instantiate_type): Remove tests for tf_no_attributes.
* cp-tree.h (tsubst_flags_t): Remove tf_no_attributes.
(COMPARE_NO_ATTRIBUTES): Remove.
* typeck.c (comptypes): Do not check COMPARE_NO_ATTRIBUTES.

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

21 years ago * config.gcc: Purge all targets obsoleted in GCC 3.3. Also
zack [Thu, 15 May 2003 21:47:36 +0000 (21:47 +0000)]
* config.gcc: Purge all targets obsoleted in GCC 3.3.  Also
remove hppa*-*-mpeix* which could not be built, and prune
files from tmake_file= or tm_file= lists that don't exist.

* config/alpha/alpha-interix.h, config/alpha/alpha32.h
* config/alpha/t-interix, config/arm/conix-elf.h
* config/arm/t-arm-aout, config/arm/t-strongarm-coff
* config/arm/unknown-elf-oabi.h, config/i386/win32.h
* config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/amix.h
* config/m68k/atari.h, config/m68k/ccur-GAS.h, config/m68k/crds.h
* config/m68k/hp2bsd.h, config/m68k/hp3bsd.h
* config/m68k/hp3bsd44.h, config/m68k/linux-aout.h
* config/m68k/m68k-psos.h, config/m68k/mot3300.h
* config/m68k/pbb.h, config/m68k/plexus.h, config/m68k/sun2.h
* config/m68k/sun2o4.h, config/m68k/sun3.h, config/m68k/sun3mach.h
* config/m68k/sun3n.h, config/m68k/sun3n3.h, config/m68k/sun3o3.h
* config/m68k/t-mot3300, config/m68k/t-mot3300-gald
* config/m68k/t-mot3300-gas, config/m68k/t-mot3300-gld
* config/m68k/tower-as.h, config/m68k/tower.h
* config/m88k/aout-dbx.h, config/m88k/m88k-aout.h
* config/m88k/m88k-modes.def, config/m88k/m88k-move.sh
* config/m88k/m88k-protos.h, config/m88k/m88k.c
* config/m88k/m88k.h, config/m88k/m88k.md, config/m88k/openbsd.h
* config/m88k/sysv4.h, config/m88k/t-luna, config/m88k/t-luna-gas
* config/m88k/t-m88k, config/m88k/t-sysv4, config/mcore/gfloat.h
* config/mips/rtems64.h, config/mips/sni-gas.h
* config/mips/sni-svr4.h, config/mips/t-ecoff
* config/mn10200/lib1funcs.asm, config/mn10200/mn10200-protos.h
* config/mn10200/mn10200.c, config/mn10200/mn10200.h
* config/mn10200/mn10200.md, config/mn10200/t-mn10200
* config/pa/pa-hiux.h, config/pa/pa-hpux7.h, config/pa/pa-hpux9.h
* config/pa/pa-oldas.h, config/pa/t-mpeix, config/psos.h
* config/romp/romp-protos.h, config/romp/romp.c
* config/romp/romp.h, config/romp/romp.md, config/rs6000/aix31.h
* config/rs6000/aix3newas.h, config/rs6000/mach.h
* config/sparc/bsd.h, config/sparc/hal.h
* config/sparc/linux-aout.h, config/sparc/lynx-ng.h
* config/sparc/lynx.h, config/sparc/netbsd.h
* config/sparc/sp86x-aout.h, config/sparc/splet.h
* config/sparc/sun4gas.h, config/sparc/sun4o3.h
* config/sparc/sunos4.h, config/sparc/t-chorus-elf
* config/sparc/t-halos, config/sparc/t-sparcbare
* config/sparc/t-splet, config/sparc/t-sunos41
* config/v850/rtems.h: Delete file.

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

21 years ago2003-05-15 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 15 May 2003 20:01:10 +0000 (20:01 +0000)]
2003-05-15  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000-protos.h (function_value): Protoize.

        * config/rs6000/rs6000.h (FUNCTION_VALUE): Call function.

        * config/rs6000/rs6000.c (rs6000_function_value): New.

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

21 years agolibiberty/ChangeLog:
jimb [Thu, 15 May 2003 19:02:13 +0000 (19:02 +0000)]
libiberty/ChangeLog:
2003-05-14  Jim Blandy  <jimb@redhat.com>

* hex.c (_hex_value): Make this unsigned.
(hex_value): Update documentation for new return type.  hex_value
now expands to an unsigned int expression, to avoid unexpected
sign extension when we store it in a bfd_vma, which is larger than
int on some platforms.
* functions.texi: Regenerated.

include/ChangeLog:
2003-05-14  Jim Blandy  <jimb@redhat.com>

* libiberty.h (hex_value): Make the value an unsigned int, to
avoid unexpected sign-extension when cast to unsigned types larger
than int --- like bfd_vma, on some platforms.
(_hex_value): Update declaration.

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

21 years ago2003-05-15 Philip Blundell <philb@gnu.org>
pb [Thu, 15 May 2003 18:38:21 +0000 (18:38 +0000)]
2003-05-15  Philip Blundell  <philb@gnu.org>

* config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale.
All uses updated.
(arm_tune_xscale): New variable.
(arm_override_options): Set it.
(arm_adjust_cost): Use it in place of arm_arch_xscale.
(arm_gen_load_multiple): Likewise.
(arm_gen_store_multiple): Likewise.
* config/arm/arm.md (is_xscale): Likewise.
* config/arm/arm.h (arm_tune_xscale): Declare.

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

21 years ago2003-05-15 Philip Blundell <philb@gnu.org>
pb [Thu, 15 May 2003 18:13:41 +0000 (18:13 +0000)]
2003-05-15  Philip Blundell  <philb@gnu.org>

PR target/10730
* config/arm/arm.c (adjacent_mem_locations): Reject offsets
involving invalid constants.

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

21 years ago PR c++/8385
mmitchel [Thu, 15 May 2003 17:00:06 +0000 (17:00 +0000)]
PR c++/8385
* g++.dg/ext/typeof5.C: New test.

PR c++/8385
* semantics.c (finish_typeof): Refine type-dependency check.

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

21 years ago * pa.c (hppa_expand_prologue): Remove blockage.
danglin [Thu, 15 May 2003 16:50:07 +0000 (16:50 +0000)]
* pa.c (hppa_expand_prologue): Remove blockage.

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

21 years agoCheck in a band-aid for a missing back-reference from the Trouble node to the previou...
bangerth [Thu, 15 May 2003 15:50:00 +0000 (15:50 +0000)]
Check in a band-aid for a missing back-reference from the Trouble node to the previous one.

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

21 years ago * gcc.c-torture/execute/builtins/string-asm-1.c: Take
amylaar [Thu, 15 May 2003 15:06:01 +0000 (15:06 +0000)]
* gcc.c-torture/execute/builtins/string-asm-1.c: Take
__USER_LABEL_PREFIX__ into account.
* gcc.c-torture/execute/builtins/string-asm-2.c: Likewise.

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

21 years agoRemove the residuals of a previous merge conflict.
bangerth [Thu, 15 May 2003 15:02:27 +0000 (15:02 +0000)]
Remove the residuals of a previous merge conflict.

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

21 years ago * doc/bugreport.texi: Remove most of the bug reporting
bangerth [Thu, 15 May 2003 15:01:06 +0000 (15:01 +0000)]
    * doc/bugreport.texi: Remove most of the bug reporting
        instructions and merge them into bugs.html.

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

21 years agoFixed getting the superclass when building class tree used for +load, would
nicola [Thu, 15 May 2003 09:34:32 +0000 (09:34 +0000)]
Fixed getting the superclass when building class tree used for +load, would
cause extremely rare crashes

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

21 years ago * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
kraai [Thu, 15 May 2003 02:35:19 +0000 (02:35 +0000)]
* config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
g_switch_value to unsigned HOST_WIDE_INT.

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

21 years ago * testsuite/thread/pthread4.cc: Tweak test.
ljrittle [Thu, 15 May 2003 02:24:13 +0000 (02:24 +0000)]
* testsuite/thread/pthread4.cc: Tweak test.

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

21 years agoDaily bump.
gccadmin [Thu, 15 May 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.

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

21 years ago2003-05-14 Eric Christopher <echristo@redhat.com>
echristo [Thu, 15 May 2003 00:07:02 +0000 (00:07 +0000)]
2003-05-14  Eric Christopher  <echristo@redhat.com>

* combine.c: Fix header comments.
(distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
to all calls and prototype.

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

21 years ago PR optimization/10764
sayle [Wed, 14 May 2003 21:13:49 +0000 (21:13 +0000)]
PR optimization/10764
* config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1).
(*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3):  Likewise,
add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1).
(logsf2, logdf2, logxf2, logtf2): Update expander patterns to match
the corresponding *fyl2x_?fxf3 instructions.

* gcc.dg/builtins-15.c: New test case.

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

21 years ago * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59.
bwilson [Wed, 14 May 2003 18:37:26 +0000 (18:37 +0000)]
    * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59.
        * config/xtensa/xtensa-config.h (XCHAL_HAVE_CONST16,
        XCHAL_HAVE_L32R): New.
        * config/xtensa/xtensa-protos.h (non_const_move_operand,
        xtensa_load_constant, xtensa_function_prologue,
        xtensa_function_epilogue): Delete prototypes.
        (xtensa_expand_prologue): New.
        * config/xtensa/xtensa.c (frame_size_const,
        TARGET_ASM_FUNCTION_PROLOGUE, TARGET_MACHINE_DEPENDENT_REORG,
        non_const_move_operand, xtensa_load_constant, xtensa_reorg,
        xtensa_function_prologue): Delete.
        (add_operand, xtensa_mem_offset): Formatting.
        (move_operand): If the const16 option is available, allow any SFmode
        and SImode constants.
        (xtensa_emit_move_sequence): Inline the former contents of
        xtensa_load_constant with modifications to handle the const16 option.
        (override_options): Add xtensa_char_to_class['W'] and set it to
        the general register class only if the const16 option is enabled.
        Fix formatting.  Disallow PIC when using the const16 option.
        (print_operand): Reorganize to switch on "letter" instead of the
        RTL code.  Add output_operand_lossage calls for invalid cases.
        Add support for 't' and 'b' letters.
        (xtensa_expand_prologue): New function to replace
        xtensa_function_prologue and xtensa_reorg.
        (xtensa_function_epilogue): Declare this as static.  Delete code
        to print the retw.n or retw instruction.
        (xtensa_return_addr): Use A0_REG instead of 0.
        (xtensa_rtx_costs): Add costs for using the const16 option.
        * config/xtensa/xtensa.h (MASK_CONST16, TARGET_CONST16): New.
        (TARGET_DEFAULT): Add CONST16 if L32R instructions not available.
        (TARGET_SWITCHES): Add "const16" and "no-const16".
        (REG_CLASS_FROM_LETTER): Add comment about new 'W' letter.
        (EXTRA_CONSTRAINT): Change 'T' constraint to only apply when not
        using the const16 option.
        (TRAMPOLINE_TEMPLATE): Rewrite to avoid hardwired use of l32r insn.
        (TRAMPOLINE_SIZE): Change from 49 to 59.
        (INITIALIZE_TRAMPOLINE): Adjust offsets to match new trampoline.
        (GO_IF_LEGITIMATE_ADDRESS): Do not allow constant pool addresses
        when using the const16 option.
        (PREDICATE_CODES): Delete non_const_move_operand.
        * config/xtensa/xtensa.md (define_constants): Add A1_REG, A8_REG, and
        UNSPECV_ENTRY.
        (movdi, movdf): If the source is a constant, always expand to a
        sequence of movsi insns.
        (movdi_internal, movdf_internal): Remove alternative using l32r insns.
        (movsi_internal, movsf_internal): Add alternative using const16 insns.
        (movsf): Add const16 support.
        (entry, prologue, epilogue): New.
        (set_frame_ptr): Add missing mode for unspec_volatile operation.
        Likewise for subsequent split pattern.
        * doc/invoke.texi (Option Summary, Xtensa Options): Document new
        "-mconst16" and "-mno-const16" options.

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

21 years ago * config/ia64/ia64.c (ia64_expand_load_address): Force destination
rth [Wed, 14 May 2003 17:46:50 +0000 (17:46 +0000)]
    * config/ia64/ia64.c (ia64_expand_load_address): Force destination
        to be DImode register.  Merge load_symptr.
        * config/ia64/ia64.md (load_symptr): Remove.

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

21 years ago * rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from
rth [Wed, 14 May 2003 17:44:01 +0000 (17:44 +0000)]
    * rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from
        DEFERRED_CONSTANT_P.
        * integrate.c (copy_rtx_and_substitute): Update use.
        * varasm.c (build_constant_desc): Set SYMBOL_REF_DECL
        to the copy generated.
        (maybe_output_constant_def_contents): Examine TREE_ASM_WRITTEN
        of the constant to see if we should emit.
        (mark_constant): Similarly.
        (output_constant_def_contents): Set TREE_ASM_WRITTEN.

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

21 years ago * config/rs6000/rs6000.md (movsi_internal2): Use compare for self
dje [Wed, 14 May 2003 16:41:16 +0000 (16:41 +0000)]
    * config/rs6000/rs6000.md (movsi_internal2): Use compare for self
        move record condition.
        (movdi_internal2): Same.

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