OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago2001-12-03 Laurent Guerby <guerby@acm.org>
guerby [Mon, 3 Dec 2001 22:54:05 +0000 (22:54 +0000)]
2001-12-03  Laurent Guerby  <guerby@acm.org>

* config.sub: Update to version 1.232 on subversion.

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

22 years ago PR c/4988
neil [Mon, 3 Dec 2001 22:36:51 +0000 (22:36 +0000)]
PR c/4988
* (process_command): Don't add a preprocessor option for
--help and --target-help; cc1 is enough.

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

22 years ago2001-12-03 Steve Ellcey <sje@cup.hp.com>
bkoz [Mon, 3 Dec 2001 22:28:57 +0000 (22:28 +0000)]
2001-12-03  Steve Ellcey  <sje@cup.hp.com>

        * libstdc++-v3/configure.in: Add support for hpux cross compiles,
        combine common linux/hpux/generic cross compile support to reduce
        redundent lines.
        * libstdc++-v3/configure: Regenerate.

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

22 years ago * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
bosch [Mon, 3 Dec 2001 20:38:54 +0000 (20:38 +0000)]
* sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
        have Associated_Node.

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

22 years ago * prj-proc.adb: Minor reformatting
bosch [Mon, 3 Dec 2001 20:25:50 +0000 (20:25 +0000)]
* prj-proc.adb: Minor reformatting

* make.adb: Minor reformatting

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

22 years ago * make.adb: Minor reformatting.
bosch [Mon, 3 Dec 2001 19:58:23 +0000 (19:58 +0000)]
* make.adb: Minor reformatting.

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

22 years ago * sem_ch12.adb: Minor reformatting
bosch [Mon, 3 Dec 2001 19:25:42 +0000 (19:25 +0000)]
* sem_ch12.adb: Minor reformatting

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

22 years ago2001-12-03 Ed Schonberg <schonber@gnat.com>
bosch [Mon, 3 Dec 2001 19:21:33 +0000 (19:21 +0000)]
2001-12-03  Ed Schonberg <schonber@gnat.com>

* sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
push Standard on the stack before analyzing the instance body,
in order to have a clean visibility environment.

* sem_ch12.adb (Inline_Instance_Body): Remove redundant code.

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

22 years ago * c-decl.c (grokdeclarator): Use ISO word.
neil [Mon, 3 Dec 2001 19:15:19 +0000 (19:15 +0000)]
* c-decl.c (grokdeclarator): Use ISO word.
* cppinit.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* diagnostic.c: Similarly.
* emit-rtl.c: Similarly.
* final.c: Similarly.
* gcc.c: Similarly.
* tradcpp.c: Similarly.
* config/arm/arm.c: Similarly.
* config/arm/arm.h: Similarly.
* config/avr/avr.c: Similarly.
* config/avr/avr.h: Similarly.
* config/c4x/c4x.c: Similarly.
* config/cris/cris.c: Similarly.
* config/cris/cris.h: Similarly.
* config/d30v/d30v.c: Similarly.
* config/dsp16xx/dsp16xx.c: Similarly.
* config/dsp16xx/dsp16xx.h: Similarly.
* config/h8300/h8300.c: Similarly.
* config/i386/i386.c: Similarly.
* config/i386/xm-djgpp.h: Similarly.
* config/i960/i960.h: Similarly.
* config/m32r/m32r.c: Similarly.
* config/m68hc11/m68hc11.c: Similarly.
* config/m88k/m88k.c: Similarly.
* config/m88k/m88k.h: Similarly.
* config/mcore/mcore.c: Similarly.
* config/mcore/mcore.h: Similarly.
* config/mips/mips.c: Similarly.
* config/mmix/mmix.c: Similarly.
* config/pa/pa.c: Similarly.
* config/rs6000/rs6000.c: Similarly.
* config/rs6000/sysv4.h: Similarly.
* config/s390/s390.c: Similarly.
* config/sparc/sparc.c: Similarly.
* config/v850/v850-c.c: Similarly.
* config/v850/v850.c: Similarly.
ch:
* actions.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* decl.c: Similarly.
* expr.c: Similarly.
* inout.c: Similarly.
* lang.c: Similarly.
* loop.c: Similarly.
* nloop.c: Similarly.
* parse.c: Similarly.
* satisfy.c: Similarly.
* tasking.c: Similarly.
* tree.c: Similarly.
* typeck.c: Similarly.
cp:
* typeck2.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
f:
* com.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* g77spec.c: Similarly.
* lex.c: Similarly.
java:
* expr.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* jcf-io.c: Similarly.
* jcf-parse.c: Similarly.
* jv-scan.c: Similarly.
* jvspec.c: Similarly.
* mangle.c: Similarly.

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

22 years ago * docs/html/ext/howto.html: Update commentary.
ljrittle [Mon, 3 Dec 2001 19:11:01 +0000 (19:11 +0000)]
* docs/html/ext/howto.html: Update commentary.
* include/bits/c++config: Update threading configuration comment.
(__STL_GTHREADS): Remove macro definition.
(__STL_THREADS): Likewise.
* include/bits/stl_threads.h: Leave only the configuration
path which had been guarded by __STL_GTHREADS.  Remove all
guards related to __STL_GTHREADS, __STL_SGI_THREADS,
__STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
* include/bits/stl_alloc.h: Leave only the configuration path
which had been guarded by __STL_THREADS.  Remove configuration
path and guards for __STL_SGI_THREADS.
(__NODE_ALLOCATOR_THREADS): Remove macro definition.  Unroll its use.
(__NODE_ALLOCATOR_LOCK): Likewise.
(__NODE_ALLOCATOR_UNLOCK): Likewise.
(_NOTHREADS): Remove guards related to macro.
* include/ext/stl_rope.h: Remove configuration path and guards
for __STL_SGI_THREADS.
* src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.

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

22 years ago * sem_ch12.adb (Instantiate_Package_Body): Protect against double
bosch [Mon, 3 Dec 2001 19:06:53 +0000 (19:06 +0000)]
* sem_ch12.adb (Instantiate_Package_Body): Protect against double
instantiation of a body that contains an inlined body.

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

22 years ago * sem_ch12.adb:
bosch [Mon, 3 Dec 2001 18:56:11 +0000 (18:56 +0000)]
* sem_ch12.adb:
(Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
to prevent freezing within formal packages.
(Freeze_Subprogram_Body): If body comes from another instance that
appeared before its own body, place freeze node at end of current
declarative part, to prevent a back-end crash.
(Inline_Instance_Body): Handle properly a package instance within
a subprogram instance that is a child unit.

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

22 years ago * rs6000.h (RETURN_IN_MEMORY): Cast result of
zack [Mon, 3 Dec 2001 18:47:44 +0000 (18:47 +0000)]
* rs6000.h (RETURN_IN_MEMORY): Cast result of
int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.

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

22 years ago * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
law [Mon, 3 Dec 2001 16:16:35 +0000 (16:16 +0000)]
    * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
        bit twiddling constant.

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

22 years ago * gcse.c (delete_null_pointer_checks_1): Do not use delelete_list;
hubicka [Mon, 3 Dec 2001 15:22:47 +0000 (15:22 +0000)]
* gcse.c (delete_null_pointer_checks_1): Do not use delelete_list;
call purge_dead_edges after removing.
(delete_null_pointer_checks): Do not handle delete_list.

* cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
(count_basic_blocks): ... here.
(find_basic_blocks, find_bb_boundaries): Cleanup.

* stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
overflow for types greater then 2 * HOST_WIDE_INT.

* reload.c (find_reloads): Update the duplicates after swapingg.

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

22 years ago * gcc.dg/20011130-1.c: New test.
jakub [Mon, 3 Dec 2001 14:23:01 +0000 (14:23 +0000)]
* gcc.dg/20011130-1.c: New test.

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

22 years ago * i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
hubicka [Mon, 3 Dec 2001 12:54:59 +0000 (12:54 +0000)]
* i386.md (movabsqi*): Use 'b' prefix instead of 'q'.

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

22 years ago2001-12-03 Mumit Khan <khan@nanotech.wisc.edu>
rodrigc [Mon, 3 Dec 2001 12:50:36 +0000 (12:50 +0000)]
2001-12-03  Mumit Khan  <khan@nanotech.wisc.edu>

        PR c++/3394
        *  decl.c (xref_basetypes): Handle attributes between
          'class' and name.

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

22 years agocp:
nathan [Mon, 3 Dec 2001 12:39:49 +0000 (12:39 +0000)]
cp:
PR g++/3381
* parse.y (named_complex_class_head_sans_basetype): Add new
reduction.
* Make-lang.in (parse.c): Adjust expected conflict count.
testsuite:
* g++.dg/other/scope1.C: New test.
* g++.dg/template/explicit-instantiation.C: Remove XFAIL

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

22 years agoDaily bump.
gccadmin [Mon, 3 Dec 2001 08:17:03 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the
jason [Mon, 3 Dec 2001 02:43:18 +0000 (02:43 +0000)]
    * class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the
        immediate binfos for our virtual bases.

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

22 years ago * config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
zack [Mon, 3 Dec 2001 00:49:41 +0000 (00:49 +0000)]
* config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
MASK_LONG_DOUBLE_128): Delete.
(MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
TARGET_AIX_STRUCT_RET): New flags.
(TARGET_SWITCHES): Remove entries for -mlong-double-128 and
-mlong-double-64.  Add entries for -m(no-)aix-struct-return
and -m(no-)svr4-struct-return.
(TARGET_OPTIONS): Add entry for -mlong-double-.
(rs6000_long_double_size_string, rs6000_long_double_type_size,
rs6000_altivec_abi): Declare.
(TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
(RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
structures of size <= 8 bytes in registers.
(PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.

* config/rs6000/rs6000.c (rs6000_long_double_size_string,
rs6000_long_double_type_size, rs6000_altivec_abi): New
globals.
(rs6000_override_options): Set rs6000_long_double_type_size
from rs6000_long_double_size_string, if nonzero.  Set the
MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
not already set.
(rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
target_flags bit.
(rs6000_init_builtins): This hook now takes no arguments.

* config/rs6000/netbsd.h, config/rs6000/linux.h: Define
DRAFT_V4_STRUCT_RET to 1.

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

22 years ago2001-12-02 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 3 Dec 2001 00:33:57 +0000 (00:33 +0000)]
2001-12-02  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/ext/howto.html:  Update list of implemented DRs.
* docs/html/ext/lwg-active.html:  Import R20 from upstream.
* docs/html/ext/lwg-defects.html:  Import R20 from upstream.

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

22 years ago * c-typeck.c (really_start_incremental_init, push_init_level):
jsm28 [Mon, 3 Dec 2001 00:09:34 +0000 (00:09 +0000)]
* c-typeck.c (really_start_incremental_init, push_init_level):
Avoid constructor_max_index being other than an INTEGER_CST.

testsuite:
* gcc.dg/vla-init-1.c: New test.

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

22 years ago * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
dje [Sun, 2 Dec 2001 22:54:52 +0000 (22:54 +0000)]
    * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
        unsigned.
        (ASM_GENERATE_INTERNAL_LABEL): Same.
        (UNIQUE_SECTION): Fix typo.

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

22 years agoFix copyright noticed.
kenner [Sun, 2 Dec 2001 22:19:02 +0000 (22:19 +0000)]
Fix copyright noticed.

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

22 years ago * MAINTAINERS: Update mail address for config.* patches.
bje [Sun, 2 Dec 2001 21:14:23 +0000 (21:14 +0000)]
* MAINTAINERS: Update mail address for config.* patches.

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

22 years ago * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
rth [Sun, 2 Dec 2001 19:18:22 +0000 (19:18 +0000)]
    * c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.

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

22 years ago * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
rth [Sun, 2 Dec 2001 19:04:23 +0000 (19:04 +0000)]
    * rtl.h (mem_attrs): Rename decl to expr; adjust all users.
        (MEM_EXPR): Rename from MEM_DECL; adjust all users.
        * emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
        * expr.h, final.c, reload1.c: Adjust users.

        * alias.c (nonoverlapping_component_refs_p): New.
        (decl_for_component_ref, adjust_offset_for_component_ref): New.
        (nonoverlapping_memrefs_p): Use them.
        * emit-rtl.c (component_ref_for_mem_expr): New.
        (set_mem_attributes): Use it.
        (set_mem_offset): New.
        * expr.c (expand_assignment): Call set_mem_attributes for
        inner references; adjust the memory offset as needed.
        * print-rtl.c (print_mem_expr): New.
        (print_rtx): Use it.

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

22 years ago * config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
kenner [Sun, 2 Dec 2001 14:47:45 +0000 (14:47 +0000)]
* config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.

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

22 years ago * config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
kenner [Sun, 2 Dec 2001 14:38:07 +0000 (14:38 +0000)]
* config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
(PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
(ASM_SPEC): Don't redefine.
(OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
* config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
* config/alpha/vms-dwarf2.asm: New file.
* Makefile.in (OBJS): Add vmsdbgout.c and its rule.
* c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
* debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
(vmsdbgout_after_prologue): New declaration.
* defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
* dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
* dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
(dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
(dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
(add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
* final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
Test VMS_DEBUGGING_INFO.
(final_end_function): Test for VMS_AND_DWARF2_DEBUG.
(final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
* flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
* toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
VMS_AND_DWARF2_DEBUG.
(rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
(decode_g_option): Add "vms" to debug_type_names.
(process_options): Set vmsdbg_debug_hooks if -gvms.
(lang_independent_init): Emit line number for VMS unless -g0.
* tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
* vmsdbg.h, vmsdbgout.c: New files.

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

22 years ago2001-12-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 2 Dec 2001 14:19:02 +0000 (14:19 +0000)]
2001-12-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* Fix typos in ChangeLog.

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

22 years ago * cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
kenner [Sun, 2 Dec 2001 14:09:59 +0000 (14:09 +0000)]
* cfgbuild.c (SET_STATE): Add cast to eliminate warning.a

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

22 years ago2001-01-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 2 Dec 2001 14:00:56 +0000 (14:00 +0000)]
2001-01-02  Toon Moene  <toon@moene.indiv.nluug.nl>

PR fortran/4885
* endfile.c (t_runc): After ftruncate. seek to end-of-file.

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

22 years ago * cfgrtl.c (purge_all_dead_edges): Initialize variable.
ghazi [Sun, 2 Dec 2001 13:43:10 +0000 (13:43 +0000)]
* cfgrtl.c (purge_all_dead_edges): Initialize variable.
* dwarf2out.c (is_cxx): Prototype.
* local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
warning.
* objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.

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

22 years ago * libgcc2.c (__bb_exit_func): Fix line wrap problems.
kenner [Sun, 2 Dec 2001 12:19:01 +0000 (12:19 +0000)]
* libgcc2.c (__bb_exit_func): Fix line wrap problems.

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

22 years agoFix ChangeLog entry.
bryce [Sun, 2 Dec 2001 11:05:57 +0000 (11:05 +0000)]
Fix ChangeLog entry.

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

22 years ago2001-12-02 Tang Ching-Hui <nicholas@cs.nthu.edu.tw>
bryce [Sun, 2 Dec 2001 10:44:54 +0000 (10:44 +0000)]
2001-12-02  Tang Ching-Hui  <nicholas@cs.nthu.edu.tw>
    Alexandre Petit-Bianco  <apbianco@redhat.com>

* expr.c: call save_expr on array for correct evaluation order,
modified comment, fixed indentation.
* parse.y: (patch_assignment): Correctly extract the array base
from the tree generate by build_java_arrayaccess, added comments.
(patch_array_ref): Remove SAVE_EXPR on ARRAY_REF.
Fixes PR java/3096, PR java/3803, PR java/3965.

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

22 years agoIn gcc/:
geoffk [Sun, 2 Dec 2001 08:29:23 +0000 (08:29 +0000)]
In gcc/:
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
* config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
rather than simplify_subreg.  Check for volatile-ness.  Check that
we're not splitting one slow operation into two slow operations.
In gcc/testsuite/:
* gcc.c-torture/compile/structs.c: New testcase from GDB.

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

22 years agoDaily bump.
gccadmin [Sun, 2 Dec 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
dje [Sun, 2 Dec 2001 06:06:18 +0000 (06:06 +0000)]
    * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
        before shifting.

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

22 years ago * Makefile.am (nat_files, x_nat_files): Make sure the dependencies
bryce [Sun, 2 Dec 2001 04:29:16 +0000 (04:29 +0000)]
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
don't get deleted if compilation fails.
* Makefile.in: Rebuilt.

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

22 years ago * objc-act.c: Partially reverse mistaken commit.
neil [Sun, 2 Dec 2001 00:10:14 +0000 (00:10 +0000)]
* objc-act.c: Partially reverse mistaken commit.

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

22 years ago * c-decl.c (duplicate_decls, push_parm_decl): Remove leading
neil [Sun, 2 Dec 2001 00:04:36 +0000 (00:04 +0000)]
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading
capital from diagnostics.
* c-lex.c (cb_file_change): Similarly.
* c-parse.in : Similarly.
* cfgrtl.c (verify_flow_info): Similarly.
* collect2.c: Similarly.
* cppfiles.c (find_include_file): Similarly.
* cppinit.c (cpp_handle_option): Similarly.
* cpplex.c (cpp_spell_token): Similarly.
* cppmain.c (do_preprocessing): Similarly.
* gcc.c (translate_options, process_command, do_spec1,
main, pfatal_execute): Similarly.
* genattr.c (main): Similarly.
* genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
write_test_expr, main): Similarly.
* gencodes.c (main): Similarly.
* genconfig.c (main): Similarly.
* genconstants.c (main): Similarly.
* genemit.c (main): Similarly.
* genextract.c (main): Similarly.
* genflags.c (main): Similarly.
* genopinit.c (main): Similarly.
* genoutput.c (process_template, main): Similarly.
* genpeep.c (main): Similarly.
* genrecog.c (main): Similarly.
* gensupport.c (is_predicable, identify_predicable_attribute,
alter_predicate_for_insn, init_md_reader_args, main): Similarly.
* ggc-page.c (alloc_anon): Similarly.
* mips-tfile.c (add_string, add_procedure, add_file, read_line,
parse_begin, parse_bend, parse_def, parse_end, parse_file,
parse_stabs_common, parse_stabs, write_varray, write_object,
read_seek, copy_object, main, error): Similarly.
* profile.c (compute_branch_probabilities): Similarly.
* reg-stack.c (check_asm_stack_operands): Similarly.
* reload.c (find_reloads): Similarly.
* reload1.c (spill_failure, failed_reload): Similarly.
* rtl-error.c (_fatal_insn_not_found): Similarly.
* toplev.c (read_integral_parameter, crash_signal,
decode_f_option, set_target_switch, parse_options_and_default_flags)
: Similarly.
* tradcif.y (parse_number, yylex): Similarly.
* tradcpp.c (main, fancy_abort): Similarly.
* tree.c (tree_check_failed): Similarly.
* varray.c (varray_check_failed): Similarly.
* xcoffout.c (xcoff_output_standard_types): Similarly.
cp:
* call.c (build_java_interface_fn_ref): Similarly.
* except.c (is_admissible_throw_operand): Similarly.
* init.c (build_java_class_ref): Similarly.
* xref.c (open_xref_file): Similarly.
objc:
* objc-act.c (get_object_ref, lookup_and_install_protocols,
build_objc_string_object, objc_declare_alias, build_ivar_chain,
finish_message_expr, build_protocol_expr, is_public,
start_class): Similarly.
testsuite:
* objc.dg/alias.m: Update.
* objc.dg/class-1.m: Update.
* objc.dg/const-str-1.m: Update.
* objc.dg/fwd-proto-1.m: Update.
* objc.dg/id-1.m: Update.
* objc.dg/super-class-1.m: Update.

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

22 years ago * c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
neil [Sat, 1 Dec 2001 18:42:49 +0000 (18:42 +0000)]
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
trailing period from diagnostics.
* c-lex.c (cb_file_change): Similarly.
* cppmacro.c (check_trad_stringification): Similarly.
* gcc.c (do_spec_1): Similarly.
* genattr.c (main): Similarly.
* genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
* gencodes.c (main): Similarly.
* genconfig.c (main): Similarly.
* genconstants.c (main): Similarly.
* genemit.c (main): Similarly.
* genextract.c (main): Similarly.
* genopinit.c (main): Similarly.
* genoutput.c (main): Similarly.
* genpeep.c (main): Similarly.
* genrecog.c (main): Similarly.
* mips-tfile.c (add_file, error): Similarly.
* profile.c (init_branch_prob): Similarly.
* reload1.c (spill_failure): Similarly.
* stmt.c (parse_output_constraint): Similarly.
* varasm.c (assemble_variable): Similarly.
cp:
* class.c (finish_struct): Similarly.
* decl.c (check_tag_decl): Similarly.
* lex.c (cxx_set_yydebug): Similarly.
* typeck2.c (friendly_abort): Similarly.
java:
* expr.c (expand_byte_code): Similarly.
* jcf-parse.c (load_class, jcf_parse): Similarly.
* jcf-write.c (generate_classfile): Similarly.
* lex.c (java_lex): Similarly.

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

22 years ago * m68k.c (init_FPA_table): Provide static prototype.
ghazi [Sat, 1 Dec 2001 17:40:43 +0000 (17:40 +0000)]
* m68k.c (init_FPA_table): Provide static prototype.
* mips/abi64.h (mips_function_value): Move prototype to ...
* mips-protos.h (mips_function_value): ... here.
* mips.c: Include halfpic.h.
* output.h (rdata_section): Prototype.

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

22 years ago * h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
ghazi [Sat, 1 Dec 2001 17:27:11 +0000 (17:27 +0000)]
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* m88k.c (m88k_svr3_asm_out_constructor,
m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
!OBJECT_FORMAT_ELF.
* mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
* sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.

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

22 years ago * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
geoffk [Sat, 1 Dec 2001 17:04:18 +0000 (17:04 +0000)]
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
LO_SUM addresses less than word size are not legitimate,
because they lead to invalid SUBREGs.
* config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.

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

22 years ago 2001-12-01 Olivier Hainque <hainque@act-europe.fr>
sirl [Sat, 1 Dec 2001 12:04:16 +0000 (12:04 +0000)]
2001-12-01  Olivier Hainque <hainque@act-europe.fr>

* unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
while scanning for multiple back edges.

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

22 years ago 2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sat, 1 Dec 2001 08:34:13 +0000 (08:34 +0000)]
2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* ginclude/ppc-asm.h (JUMP_TARGET): New macro.
* config/rs6000/tramp.asm: Use it.

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

22 years agoDaily bump.
gccadmin [Sat, 1 Dec 2001 08:17:49 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * gencheck.c, gengenrtl.c: Don't define xmalloc.
zack [Sat, 1 Dec 2001 08:16:25 +0000 (08:16 +0000)]
* gencheck.c, gengenrtl.c: Don't define xmalloc.
* gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
xmalloc.
* f/fini.c: Use xmalloc.

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

22 years ago2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 1 Dec 2001 04:56:03 +0000 (04:56 +0000)]
2001-11-30  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/3150
DR/266
* libsupc++/exception (bad_exception::~bad_exception()): Remove
declaration.
* libsupc++/new (bad_alloc::~bad_alloc()): Remove.
* libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
(bad_typeid::~bad_typeid()): Remove.
* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
(bad_typeid::~bad_typeid()): Same.
* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
* libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.

* include/bits/std_iomanip.h: Tweak.

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

22 years ago * pa.c (output_ascii): Cast `p' to unsigned char.
danglin [Sat, 1 Dec 2001 02:19:02 +0000 (02:19 +0000)]
* pa.c (output_ascii): Cast `p' to unsigned char.

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

22 years ago2001-12-01 Graham Stott <grahams@redhat.com>
guerby [Sat, 1 Dec 2001 02:11:25 +0000 (02:11 +0000)]
2001-12-01  Graham Stott  <grahams@redhat.com>

* Makefile.in (misc.o): Add missing $(srcdir) prefix
and add optabs.h dependency.

* misc.c: Include optabs.h
(gnat_tree_code_type): Make static and const.
(gnat_tree_code_length): Likewise.
(gnat_tree_code_name): Likewise.
(update_setjmp_buf): Obtain operands mode from insn_data.

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

22 years ago2001-11-30 Daniel Berlin <dan@cgsoftware.com>
dberlin [Sat, 1 Dec 2001 01:59:02 +0000 (01:59 +0000)]
2001-11-30  Daniel Berlin  <dan@cgsoftware.com>

* config/rs6000/rs6000.c (altivec_expand_builtin): add
ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
*_16qi,_8hi, rename existing V4SI ones to *_4si.
(altivec_init_builtins): Ditto.
(bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.

* config/rs6000/rs6000.md: Add attribute types vecsimple,
veccomplex, vecfloat, and vecperm, for altivec instructions.
Modify altivec patterns to use approriate attribute type.
Modify altivec patterns to match RTL operations where approriate
(IE no unspec where we can avoid it).
Add vector unit scheduling for ppc7450.
Rename patterns to what they are where approriate
(altivec_vaddfp->addv4sf3, etc)

* config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.

* config/rs6000/sysv4.h: Add -mcpu=7450.

* testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
_builtin_altivec_ld_interal function.

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

22 years ago * configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
ghazi [Sat, 1 Dec 2001 01:57:31 +0000 (01:57 +0000)]
* configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
strchr, strrchr, isascii, gettimeofday.
* config.in, configure: Regenerate.

f:
* Make-lang.in: Delete references to proj.[co], proj-h.[co].
* proj.c: Delete file.

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

22 years ago * unroll.c (unroll_loop): Correct special exit cases.
dje [Fri, 30 Nov 2001 23:27:52 +0000 (23:27 +0000)]
* unroll.c (unroll_loop): Correct special exit cases.

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

22 years ago * config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
jakub [Fri, 30 Nov 2001 22:47:54 +0000 (22:47 +0000)]
* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
accept DFmode and DImode only.

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

22 years ago2001-11-30 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 30 Nov 2001 22:22:24 +0000 (22:22 +0000)]
2001-11-30  Aldy Hernandez  <aldyh@redhat.com>

* rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
        (STACK_DYNAMIC_OFFSET): Same.

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

22 years ago * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
rth [Fri, 30 Nov 2001 21:53:44 +0000 (21:53 +0000)]
    * c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.

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

22 years ago2001-11-30 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 30 Nov 2001 21:21:32 +0000 (21:21 +0000)]
2001-11-30  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.h (CALL_REALLY_USED_REGISTERS): New.
        (CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
        the values in call_used_registers.

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

22 years ago * gthr-dce.h: If _DCE_THREADS is not defined, then just include
law [Fri, 30 Nov 2001 19:47:11 +0000 (19:47 +0000)]
    * gthr-dce.h: If _DCE_THREADS is not defined, then just include
        gthr-single.

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

22 years ago * dwarf2out.c (is_cxx): New fn.
jason [Fri, 30 Nov 2001 14:00:25 +0000 (14:00 +0000)]
    * dwarf2out.c (is_cxx): New fn.
        (add_data_member_location_attribute): Check it.
        * dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.

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

22 years ago * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
kenner [Fri, 30 Nov 2001 13:34:12 +0000 (13:34 +0000)]
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.

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

22 years ago * class.c (add_interface_do): Set BINFO_VPTR_FIELD.
bryce [Fri, 30 Nov 2001 09:55:06 +0000 (09:55 +0000)]
    * class.c (add_interface_do): Set BINFO_VPTR_FIELD.

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

22 years agoDaily bump.
gccadmin [Fri, 30 Nov 2001 08:16:49 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago2001-11-30 Daniel Berlin <dan@cgsoftware.com>
dberlin [Fri, 30 Nov 2001 05:13:17 +0000 (05:13 +0000)]
2001-11-30  Daniel Berlin  <dan@cgsoftware.com>

* genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
MODE_VECTOR_FLOAT as allowed.

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

22 years ago Purge cruft now we have build libiberty.
zack [Fri, 30 Nov 2001 04:43:05 +0000 (04:43 +0000)]
Purge cruft now we have build libiberty.

* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
USE_HOST_STRSTR): Delete variables.
(vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
(LIBIBERTY, BUILD_LIBIBERTY): New variables.
(LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
(LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
(HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
(HOST_LIBS): Ditto.
(HOST_RTL): Remove hashtab.o safe-ctype.o.
(OBJS): Remove splay-tree.o.
(gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
(distclean): No need to delete splay-tree.c obstack.c
hashtab.c safe-ctype.c.
(mostlyclean): Delete build copies of print-rtl.c bitmap.c
errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
* aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
Delete.
* configure.in: Don't use them.
Set and substitute @FORBUILD@.
* config.in, configure: Regenerate.
* doprint.c: Move to libiberty/_doprnt.c.
* doc/configterms.texi: Document that libiberty is now built
up to three times.  Fix typo.
* f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS)
and link with $(HOST_LIBS), not safe-ctype.o.

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

22 years ago2001-11-29 Mark Mitchell <mark@codesourcery.com>
mmitchel [Fri, 30 Nov 2001 03:14:56 +0000 (03:14 +0000)]
2001-11-29  Mark Mitchell  <mark@codesourcery.com>

PR c++/3048
* cp-tree.h (ovl_member): Remove.
* decl2.c (merge_functions): Handle extern "C" functions
specially.
* tree.c (ovl_member): Remove.

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

22 years agoRemove ">>>"
bryce [Fri, 30 Nov 2001 03:05:09 +0000 (03:05 +0000)]
Remove ">>>"

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

22 years ago * Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not
bryce [Fri, 30 Nov 2001 03:04:01 +0000 (03:04 +0000)]
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not
libgcj.jar.
(nat_files, x_nat_files): Build native files in subdirectories using
the same dependency options as the java files.
(gnu/gcj/runtime/FirstThread.h): Remove explicit rule and friend
declarations.
* configure.in: Put dependencies for .cc files in deps.mak.
* Makefile.in: Rebuilt.
* configure: Rebuilt.

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

22 years ago * dwarf2out.c (add_data_member_location_attribute): Do the
jason [Fri, 30 Nov 2001 02:38:43 +0000 (02:38 +0000)]
    * dwarf2out.c (add_data_member_location_attribute): Do the
        right thing for virtual bases.
        * dbxout.c (dbxout_type): For a virtual base, print the offset
        within the vtable.

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

22 years ago2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
dje [Fri, 30 Nov 2001 02:16:31 +0000 (02:16 +0000)]
2001-11-29  Zoltan Hidvegi  <hzoli@hzoli.2y.net>

        * doloop.c (doloop_valid_p): Check for LTU and GTU as well.

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

22 years ago * rs6000.c (function_arg): Unnamed vector arguments go in memory.
aldyh [Fri, 30 Nov 2001 02:04:23 +0000 (02:04 +0000)]
     * rs6000.c (function_arg): Unnamed vector arguments go in memory.
        Remove unused attribute for named.

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

22 years ago * genattrtab.c (attr_rtx_1): New function containing the
ghazi [Fri, 30 Nov 2001 01:55:24 +0000 (01:55 +0000)]
* genattrtab.c (attr_rtx_1): New function containing the
majority of `attr_rtx'.  Move variable declarations into the
scope where they are used.  Eliminate unnecessary gotos.
(attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
VA_FIXEDARG, and VA_CLOSE.

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

22 years ago * config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix typo in comment.
hp [Fri, 30 Nov 2001 00:29:30 +0000 (00:29 +0000)]
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix typo in comment.

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

22 years ago * config/cris/cris.c (cris_notice_update_cc): Check first
hp [Fri, 30 Nov 2001 00:17:49 +0000 (00:17 +0000)]
* config/cris/cris.c (cris_notice_update_cc): Check first
destination also against overlap with cc_status.value2 and second
destination against overlap with cc_status.value1.  For overlaps,
clear overlapped value, don't just CC_STATUS_INIT.

* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
(LINK_SPEC): Remove whitespace at end of line.

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

22 years ago * c-lex.c (init_c_lex): Canonicalize "-" filename to "".
jakub [Thu, 29 Nov 2001 22:40:55 +0000 (22:40 +0000)]
* c-lex.c (init_c_lex): Canonicalize "-" filename to "".

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

22 years ago * gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
jakub [Thu, 29 Nov 2001 22:39:10 +0000 (22:39 +0000)]
* gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
macros for the supported debugging types.

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

22 years ago2001-11-29 Paolo Carlini <pcarlini@unitus.it>
bkoz [Thu, 29 Nov 2001 22:31:02 +0000 (22:31 +0000)]
2001-11-29  Paolo Carlini  <pcarlini@unitus.it>

libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Add bool parameter to
correctly pad internal-adjusted const char*-type objects.
* include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
* include/bits/ostream.tcc (operator<<(_CharT , char, const
_CharT*, const char*, const basic_string&): Update calls.
* src/locale-inst.tcc: Update declarations.
* testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.

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

22 years ago PR c++/4842
mmitchel [Thu, 29 Nov 2001 22:01:58 +0000 (22:01 +0000)]
PR c++/4842
* class.c (get_basefndecls): Take an IDENTIFIER_NODE, not a
FUNCTION_DECL, as input.
(mark_overriders): Remove.
(warn_hidden): Rework for the new ABI.

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

22 years ago PR c++/3471
mmitchel [Thu, 29 Nov 2001 21:44:57 +0000 (21:44 +0000)]
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.

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

22 years ago2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
rodrigc [Thu, 29 Nov 2001 21:39:41 +0000 (21:39 +0000)]
2001-11-29  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR other/4932
        * config/i386/i386.c (print_operand):  Verify that the
          argument to %c is a constant and not a conditional which
          needs to be reversed.

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

22 years ago2001-11-29 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 29 Nov 2001 21:02:34 +0000 (21:02 +0000)]
2001-11-29  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/ext/howto.html:  Finish allocator notes (inst and 3.0).

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

22 years ago PR c++/3471
mmitchel [Thu, 29 Nov 2001 20:19:41 +0000 (20:19 +0000)]
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.

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

22 years ago2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 29 Nov 2001 20:14:38 +0000 (20:14 +0000)]
2001-11-29  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/locale_facets.tcc (num_get::do_get(long double)):
Fix __traits_type typo.

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

22 years ago * g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
mmitchel [Thu, 29 Nov 2001 19:04:47 +0000 (19:04 +0000)]
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.

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

22 years ago * emit-rtl.c (gen_lowpart_common): Fix conversion of
law [Thu, 29 Nov 2001 18:12:37 +0000 (18:12 +0000)]
    * emit-rtl.c (gen_lowpart_common): Fix conversion of
        REAL_VALUE_TYPEs to an array of target integers.  Fix extraction
        of low part of those arrays for 32bit and 64bit hosts.

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

22 years ago * init.c: Remove obsolete dwarf2 frame.h section.
rth [Thu, 29 Nov 2001 17:53:13 +0000 (17:53 +0000)]
    * init.c: Remove obsolete dwarf2 frame.h section.

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

22 years agocp:
nathan [Thu, 29 Nov 2001 17:15:56 +0000 (17:15 +0000)]
cp:
* cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
(ACCESSIBLY_UNIQUELY_DERIVED_FROM_P): Likewise.
(PUBLICLY_UNIQUELY_DERIVED_FROM_P: Likewise.
(DERIVED_FROM_P): Likewise.
(enum base_access): Renumber, add ba_quiet bit mask.
(get_binfo): Remove.
(get_base_distance): Remove.
(binfo_value): Remove.
(ACCESSIBLY_DERIVED_FROM_P): Remove.
* call.c (standard_conversion): Use lookup_base.
* class.c (strictly_overrides): Likewise.
(layout_virtual_bases): Likewise.
(warn_about_ambiguous_direct_bases): Likewise.
(is_base_of_enclosing_class): Likewise.
(add_vcall_offset_vtbl_entries_1): Likewise.
* cvt.c (build_up_reference): Adjust comment.
* init.c (build_member_call): Reformat.
* search.c (get_binfo): Remove.
(get_base_distance_recursive): Remove.
(get_base_distance): Remove.
(lookup_base_r): Tweak.
(lookup_base): Add ba_quiet control. Complete the types here.
(covariant_return_p): Use lookup_base.
* tree.c (binfo_value): Remove.
(maybe_dummy_object): Use lookup_base.
* typeck.c (build_static_cast): Use lookup_base.
(get_delta_difference): Likewise.
* typeck2.c (binfo_or_else): Use lookup_base.
(build_scoped_ref): Add back error_mark_check.
(build_m_component_ref): Use lookup_base.

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

22 years ago * Makefile.in (insn-output.o): Depend on insn-codes.h.
ghazi [Thu, 29 Nov 2001 17:12:52 +0000 (17:12 +0000)]
* Makefile.in (insn-output.o): Depend on insn-codes.h.

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

22 years ago * configure.in (target_list): Add generated-manpages.
jsm28 [Thu, 29 Nov 2001 16:50:19 +0000 (16:50 +0000)]
* configure.in (target_list): Add generated-manpages.
* configure: Regenerate.
* Makefile.in (generated-manpages): Depend on
lang.generated-manpages.
* objc/Make-lang.in (objc.generated-manpages): New dummy target.

ada:
* Make-lang.in (ada.generated-manpages): New dummy target.

ch:
* Make-lang.in (CHILL.generated-manpages): New dummy target.

cp:
* Make-lang.in (c++.generated-manpages): New dummy target.

f:
* Make-lang.in (f77.generated-manpages): New target.
($(srcdir)/f/g77.1): Don't check $(GENERATED_MANPAGES).  Allow
manpage generation to fail.
(f77.info): Don't depend on $(srcdir)/f/g77.1.
(f77.install-man): Depend on $(GENERATED_MANPAGES) rather than
directly on $(srcdir)/g77.1.

java:
* Make-lang.in (java.generated-manpages): New dummy target.

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

22 years agoMark _init and _fini as Thumb functions if compiled in thumb mode.
nickc [Thu, 29 Nov 2001 16:05:59 +0000 (16:05 +0000)]
Mark _init and _fini as Thumb functions if compiled in thumb mode.

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

22 years agoDaily bump.
gccadmin [Thu, 29 Nov 2001 08:16:16 +0000 (08:16 +0000)]
Daily bump.

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

22 years ago2001-11-28 Eric Christopher <echristo@redhat.com>
echristo [Thu, 29 Nov 2001 07:42:15 +0000 (07:42 +0000)]
2001-11-28  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.c (override_options): Fix thinko in mips_tune
for mips32/mips64. Remove MASK_SOFT_FLOAT configuration bits.

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

22 years agoFix comment typo.
rth [Thu, 29 Nov 2001 07:32:40 +0000 (07:32 +0000)]
Fix comment typo.

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

22 years ago * alpha.md (tablejump): Use pic_offset_table_rtx
wehle [Thu, 29 Nov 2001 05:26:31 +0000 (05:26 +0000)]
* alpha.md (tablejump): Use pic_offset_table_rtx
instead of gen_rtx_REG.

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

22 years ago * g-os_lib.adb (Add_To_Command): use explicit loop to move string
bosch [Thu, 29 Nov 2001 05:15:53 +0000 (05:15 +0000)]
* g-os_lib.adb (Add_To_Command): use explicit loop to move string
into Command, an array conversion is illegal here. Uncovered by
ACATS B460005.

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

22 years ago2001-11-28 Paolo Carlini <pcarlini@unitus.it>
bkoz [Thu, 29 Nov 2001 00:30:01 +0000 (00:30 +0000)]
2001-11-28  Paolo Carlini  <pcarlini@unitus.it>

libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Correctly pad
internal-adjusted hex numbers.
* testsuite/27_io/ostream_inserter_arith.cc: Add testcase.

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