]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
22 years agocollate.cc: Compile-only.
Benjamin Kosnik [Tue, 4 Dec 2001 07:15:01 +0000 (07:15 +0000)] 
collate.cc: Compile-only.

2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/22_locale/collate.cc: Compile-only.
* testsuite/22_locale/time_get.cc: Same.
* testsuite/22_locale/time_put.cc: Same.
* testsuite/22_locale/numpunct.cc: Same.
* testsuite/22_locale/num_put.cc: Same.
* testsuite/22_locale/num_get.cc: Same.
* testsuite/22_locale/moneypunct.cc: Same.
* testsuite/22_locale/money_get.cc: Same.
* testsuite/22_locale/messages.cc: Same.
* testsuite/22_locale/ctype.cc: Same.

From-SVN: r47592

22 years agodefineclass.cc (handleMethodsEnd): Invoke verifier here...
Tom Tromey [Tue, 4 Dec 2001 06:37:53 +0000 (06:37 +0000)] 
defineclass.cc (handleMethodsEnd): Invoke verifier here...

* defineclass.cc (handleMethodsEnd): Invoke verifier here...
(handleCodeAttribute): ... not here.
* verify.cc (_Jv_BytecodeVerifier::state::state): Use `copy', not
structure assignment.

From-SVN: r47591

22 years agomips.h (CALL_REALLY_USED_REGISTERS): New macro.
Eric Christopher [Tue, 4 Dec 2001 06:30:02 +0000 (06:30 +0000)] 
mips.h (CALL_REALLY_USED_REGISTERS): New macro.

2001-12-03  Eric Christopher  <echristo@redhat.com>

* config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
* config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
patterns.

From-SVN: r47590

22 years agoNew test.
Richard Henderson [Tue, 4 Dec 2001 01:25:32 +0000 (17:25 -0800)] 
New test.

From-SVN: r47589

22 years agoparse.y (patch_binop): Minor constant folding.
Per Bothner [Tue, 4 Dec 2001 01:24:59 +0000 (17:24 -0800)] 
parse.y (patch_binop): Minor constant folding.

* parse.y (patch_binop):  Minor constant folding.

* parse.y (build_current_thisn):  Shorter 'buffer'.

From-SVN: r47588

22 years agodecl.c (complete_start_java_method): Now generate TRY_FINALLY_EXPR instead of CLEANUP...
Per Bothner [Tue, 4 Dec 2001 01:10:08 +0000 (17:10 -0800)] 
decl.c (complete_start_java_method): Now generate TRY_FINALLY_EXPR instead of CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR.

* decl.c (complete_start_java_method):  Now generate TRY_FINALLY_EXPR
instead of CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR.
* jcf-write.c (generate_bytecode_insns):  Remove support for
CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR as they are no longer used.
* check-init.c (check_init):  Likewise.

From-SVN: r47587

22 years agostring-inst.cc (string::_Rep::_S_terminal): Add static data member instantiations.
Benjamin Kosnik [Tue, 4 Dec 2001 01:01:46 +0000 (01:01 +0000)] 
string-inst.cc (string::_Rep::_S_terminal): Add static data member instantiations.

2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>

* src/string-inst.cc (string::_Rep::_S_terminal): Add static data
member instantiations.

From-SVN: r47586

22 years agoNew test for __builtin_prefetch.
Janis Johnson [Tue, 4 Dec 2001 00:56:33 +0000 (00:56 +0000)] 
New test for __builtin_prefetch.

From-SVN: r47585

22 years agoTest for __builtin_prefetch.
Janis Johnson [Tue, 4 Dec 2001 00:54:21 +0000 (00:54 +0000)] 
Test for __builtin_prefetch.

From-SVN: r47584

22 years agobuiltin-prefetch-1.c: New test.
Janis Johnson [Tue, 4 Dec 2001 00:52:43 +0000 (00:52 +0000)] 
builtin-prefetch-1.c: New test.

* gcc.c-torture/execute/builtin-prefetch-1.c: New test.
* gcc.c-torture/execute/builtin-prefetch-2.c: New test.
* gcc.c-torture/execute/builtin-prefetch-3.c: New test.
* gcc.c-torture/execute/builtin-prefetch-4.c: New test.
* gcc.c-torture/execute/builtin-prefetch-5.c: New test.
* gcc.dg/builtin-prefetch-1.c: New test.

From-SVN: r47583

22 years agobuiltin-types.def (BT_FN_VOID_PTR_INT_INT): New.
Janis Johnson [Tue, 4 Dec 2001 00:50:35 +0000 (00:50 +0000)] 
builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.

* builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
* builtins.def (BUILT_IN_PREFETCH): New.
* builtins.c (expand_builtin_expect): New.
  (expand_builtin): Call it.
* doc/extend.texi: Document __builtin_expect.

From-SVN: r47582

22 years agortl.def (PREFETCH): New rtx code.
Janis Johnson [Tue, 4 Dec 2001 00:47:14 +0000 (00:47 +0000)] 
rtl.def (PREFETCH): New rtx code.

* rtl.def (PREFETCH): New rtx code.
* doc/rtl.texi (PREFETCH): Add documentation.
* function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
* rtlanal.c (reg_referenced_p): Ditto.
* sched-vis.c (print_exp):  Ditto.
* ssa-dce.c (find_inherently_necessary):  Ditto.

From-SVN: r47580

22 years agoia64.h (SIMULTANEOUS PREFETCHES): Define.
Janis Johnson [Tue, 4 Dec 2001 00:42:41 +0000 (00:42 +0000)] 
ia64.h (SIMULTANEOUS PREFETCHES): Define.

* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
  (PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
  (prefetch, prefetch_internal): New.

From-SVN: r47579

22 years agoia64.h (SIMULTANEOUS PREFETCHES): Define.
Janis Johnson [Tue, 4 Dec 2001 00:42:00 +0000 (00:42 +0000)] 
ia64.h (SIMULTANEOUS PREFETCHES): Define.

* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
  (PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
  (prefetch, prefetch_internal): New.
  prefetch_sse.

From-SVN: r47578

22 years agoi386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new generic prefet...
Janis Johnson [Tue, 4 Dec 2001 00:40:21 +0000 (00:40 +0000)] 
i386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new generic prefetch functionality.

* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
  conflicts with new generic prefetch functionality.
* config/i386/i386.c (ix86_expand_builtin): Use new name for
  prefetch_sse.

From-SVN: r47577

22 years agortl.def (PREFETCH): New rtx code.
Janis Johnson [Tue, 4 Dec 2001 00:37:50 +0000 (00:37 +0000)] 
rtl.def (PREFETCH): New rtx code.

* rtl.def (PREFETCH): New rtx code.
* doc/rtl.texi (PREFETCH): Add documentation.
* function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
* rtlanal.c (reg_referenced_p): Ditto.
* sched-vis.c (print_exp):  Ditto.
* ssa-dce.c (find_inherently_necessary):  Ditto.

* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
  (PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
  (prefetch, prefetch_internal): New.

* builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
* builtins.def (BUILT_IN_PREFETCH): New.
* builtins.c (expand_builtin_expect): New.
  (expand_builtin): Call it.
* doc/extend.texi: Document __builtin_expect.

* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
  conflicts with new generic prefetch functionality.
* config/i386/i386.c (ix86_expand_builtin): Use new name for
  prefetch_sse.

From-SVN: r47576

22 years agoMake-lang.in: Update copyright.
Ziemowit Laski [Tue, 4 Dec 2001 00:25:20 +0000 (00:25 +0000)] 
Make-lang.in: Update copyright.

        * objc/Make-lang.in: Update copyright.
        (OBJC_OBJS): Add objc-lang.o.
        (objc-lang.o): New rule.
        * objc/config-lang.in: Fix file description and update
        copyright.
        * objc/objc-act.c: Do not include langhooks.h and
        langhooks-def.h
        (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
        (objc_post_options): Move to objc-lang.c.
        (objc_init_options): Move to objc-lang.c.
        (objc_init): Make non-static.
        (HASHFUNCTION): Remove macro.
        (hash_func): New function.
        (hash_enter): Replace HASHFUNCTION with hash_func.
        (hash_lookup): Replace HASHFUNCTION with hash_func.
        (maybe_objc_tree_codes): New function.
        (init_objc): Move ObjC tree code initialization to
        maybe_objc_tree_codes().
        * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
        (objc_init): New public prototype.
        (objc_decode_option): New public prototype.
        (maybe_add_objc_tree_codes): New public prototype.
        * objc/objc-lang.c: New file.
        (lang_hooks): Moved from objc-act.c.
        (objc_post_options): Moved from objc-act.c.
        (objc_init_options): Moved from objc-act.c.

From-SVN: r47575

22 years agoDoc update for -maix-struct-return patch
Zack Weinberg [Tue, 4 Dec 2001 00:10:56 +0000 (00:10 +0000)] 
Doc update for -maix-struct-return patch

From-SVN: r47574

22 years agoverify.c (subroutine_nesting): New function.
Per Bothner [Mon, 3 Dec 2001 23:30:21 +0000 (15:30 -0800)] 
verify.c (subroutine_nesting): New function.

* verify.c (subroutine_nesting):  New function.
(verify_jvm_instructions):  Use it to fix logic for checking that
we're done with the current subroutine.

* verify.c (verify_jvm_instruction): For OPCODE_checkcast and
OPCODE_instanceof use POP_TYPE macro for better diagnostics.

From-SVN: r47572

22 years agoFix spacing in third last entry
Hans-Peter Nilsson [Mon, 3 Dec 2001 23:20:00 +0000 (23:20 +0000)] 
Fix spacing in third last entry

From-SVN: r47571

22 years agodecl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and initiali...
Hans-Peter Nilsson [Mon, 3 Dec 2001 23:15:09 +0000 (23:15 +0000)] 
decl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and initialization.

* decl.c (xref_basetypes): Don't use C99 construct in tag_code
declaration and initialization.

From-SVN: r47570

22 years agojcf.h: Fix obvious typo in comment.
Per Bothner [Mon, 3 Dec 2001 23:09:42 +0000 (15:09 -0800)] 
jcf.h: Fix obvious typo in comment.

* jcf.h:  Fix obvious typo in comment.
* typeck.c (build_null_signature):  Add comment.

From-SVN: r47569

22 years agoemit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension of array elements.
Geoffrey Keating [Mon, 3 Dec 2001 23:01:44 +0000 (23:01 +0000)] 
emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension of array elements.

* emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
of array elements.

From-SVN: r47568

22 years agoconfig.sub: Update to version 1.232 on subversion.
Laurent Guerby [Mon, 3 Dec 2001 22:54:05 +0000 (22:54 +0000)] 
config.sub: Update to version 1.232 on subversion.

2001-12-03  Laurent Guerby  <guerby@acm.org>

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

From-SVN: r47567

22 years agore PR c/4988 (--target-help emits cc1 printout twice)
Neil Booth [Mon, 3 Dec 2001 22:36:51 +0000 (22:36 +0000)] 
re PR c/4988 (--target-help emits cc1 printout twice)

PR c/4988
* (process_command): Don't add a preprocessor option for
--help and --target-help; cc1 is enough.

From-SVN: r47565

22 years agoconfigure.in: Add support for hpux cross compiles...
Steve Ellcey [Mon, 3 Dec 2001 22:28:57 +0000 (22:28 +0000)] 
configure.in: Add support for hpux cross compiles...

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.

From-SVN: r47564

22 years agosinfo.ads: Minor reformatting.
Robert Dewar [Mon, 3 Dec 2001 20:38:54 +0000 (20:38 +0000)] 
sinfo.ads: Minor reformatting.

* sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
        have Associated_Node.

From-SVN: r47563

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

* prj-proc.adb: Minor reformatting

* make.adb: Minor reformatting

From-SVN: r47562

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

From-SVN: r47561

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

From-SVN: r47560

22 years agosem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and push Standard on the...
Ed Schonberg [Mon, 3 Dec 2001 19:21:33 +0000 (19:21 +0000)] 
sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and push Standard on the stack before analyzing the...

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.

From-SVN: r47559

22 years agoc-decl.c (grokdeclarator): Use ISO word.
Neil Booth [Mon, 3 Dec 2001 19:15:19 +0000 (19:15 +0000)] 
c-decl.c (grokdeclarator): Use ISO word.

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

From-SVN: r47558

22 years agohowto.html: Update commentary.
Loren J. Rittle [Mon, 3 Dec 2001 19:11:01 +0000 (19:11 +0000)] 
howto.html: Update commentary.

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

From-SVN: r47557

22 years agosem_ch12.adb (Instantiate_Package_Body): Protect against double instantiation of...
Ed Schonberg [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.

* sem_ch12.adb (Instantiate_Package_Body): Protect against double
instantiation of a body that contains an inlined body.

From-SVN: r47556

22 years ago* sem_ch12.adb:
Ed Schonberg [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.

From-SVN: r47555

22 years agors6000.h (RETURN_IN_MEMORY): Cast result of int_size_in_bytes to unsigned HOST_WIDEST...
Zack Weinberg [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.

* rs6000.h (RETURN_IN_MEMORY): Cast result of
int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.

From-SVN: r47554

22 years agomn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant.
Jeff Law [Mon, 3 Dec 2001 16:16:35 +0000 (09:16 -0700)] 
mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant.

        * mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
        bit twiddling constant.

From-SVN: r47552

22 years agogcse.c (delete_null_pointer_checks_1): Do not use delelete_list; call purge_dead_edge...
Jan Hubicka [Mon, 3 Dec 2001 15:22:47 +0000 (16:22 +0100)] 
gcse.c (delete_null_pointer_checks_1): Do not use delelete_list; call purge_dead_edges after removing.

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

From-SVN: r47551

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

From-SVN: r47550

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

From-SVN: r47548

22 years agore PR c++/3394 (ICE in tree_low_cst, at tree.c:3462)
Mumit Khan [Mon, 3 Dec 2001 12:50:36 +0000 (12:50 +0000)] 
re PR c++/3394 (ICE in tree_low_cst, at tree.c:3462)

2001-12-03  Mumit Khan  <khan@nanotech.wisc.edu>

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

From-SVN: r47547

22 years agore PR c++/3381 (explicit template instantations fail with absolutely qualified names)
Nathan Sidwell [Mon, 3 Dec 2001 12:39:49 +0000 (12:39 +0000)] 
re PR c++/3381 (explicit template instantations fail with absolutely qualified names)

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

From-SVN: r47546

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

From-SVN: r47545

22 years agoclass.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the immediate binfos for our...
Jason Merrill [Mon, 3 Dec 2001 02:43:18 +0000 (21:43 -0500)] 
class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the immediate binfos for our virtual bases.

        * class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the
        immediate binfos for our virtual bases.

From-SVN: r47543

22 years agors6000.h (MASK_ALTIVEC_ABI, [...]): Delete.
Zack Weinberg [Mon, 3 Dec 2001 00:49:41 +0000 (00:49 +0000)] 
rs6000.h (MASK_ALTIVEC_ABI, [...]): Delete.

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

From-SVN: r47541

22 years agohowto.html: Update list of implemented DRs.
Phil Edwards [Mon, 3 Dec 2001 00:33:57 +0000 (00:33 +0000)] 
howto.html: Update list of implemented DRs.

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.

From-SVN: r47540

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

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

From-SVN: r47539

22 years agoxcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
David Edelsohn [Sun, 2 Dec 2001 22:54:52 +0000 (17:54 -0500)] 
xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.

        * config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
        unsigned.
        (ASM_GENERATE_INTERNAL_LABEL): Same.
        (UNIQUE_SECTION): Fix typo.

From-SVN: r47538

22 years agoFix copyright noticed.
Richard Kenner [Sun, 2 Dec 2001 22:19:02 +0000 (17:19 -0500)] 
Fix copyright noticed.

From-SVN: r47537

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

From-SVN: r47536

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

From-SVN: r47535

22 years agortl.h (mem_attrs): Rename decl to expr; adjust all users.
Richard Henderson [Sun, 2 Dec 2001 19:04:23 +0000 (11:04 -0800)] 
rtl.h (mem_attrs): Rename decl to expr; adjust all users.

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

From-SVN: r47534

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

From-SVN: r47533

22 years agovms.h (VMS_DEBUGGING_INFO): New macro.
Douglas B Rupp [Sun, 2 Dec 2001 14:38:07 +0000 (09:38 -0500)] 
vms.h (VMS_DEBUGGING_INFO): New macro.

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

From-SVN: r47532

22 years ago2001-12-02 Toon Moene <toon@moene.indiv.nluug.nl>
Toon Moene [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.

From-SVN: r47531

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

From-SVN: r47530

22 years agore PR fortran/4885 (BACKSPACE example that doesn't work as of gcc/g77-3.0.x)
Toon Moene [Sun, 2 Dec 2001 14:00:56 +0000 (15:00 +0100)] 
re PR fortran/4885 (BACKSPACE example that doesn't work as of gcc/g77-3.0.x)

2001-01-02  Toon Moene  <toon@moene.indiv.nluug.nl>

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

From-SVN: r47529

22 years agocfgrtl.c (purge_all_dead_edges): Initialize variable.
Kaveh R. Ghazi [Sun, 2 Dec 2001 13:43:10 +0000 (13:43 +0000)] 
cfgrtl.c (purge_all_dead_edges): Initialize variable.

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

From-SVN: r47528

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

From-SVN: r47527

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

From-SVN: r47526

22 years agore PR java/3096 (GCJ does not increment)
Tang Ching-Hui [Sun, 2 Dec 2001 10:44:54 +0000 (18:44 +0800)] 
re PR java/3096 (GCJ does not increment)

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.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r47525

22 years agoIn gcc/:
Geoffrey Keating [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.

From-SVN: r47524

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

From-SVN: r47522

22 years agoemit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT before shifting.
David Edelsohn [Sun, 2 Dec 2001 06:06:18 +0000 (01:06 -0500)] 
emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT before shifting.

        * emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
        before shifting.

From-SVN: r47521

22 years agoMakefile.am (nat_files, [...]): Make sure the dependencies don't get deleted if compi...
Bryce McKinlay [Sun, 2 Dec 2001 04:29:16 +0000 (04:29 +0000)] 
Makefile.am (nat_files, [...]): Make sure the dependencies don't get deleted if compilation fails.

* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
don't get deleted if compilation fails.
* Makefile.in: Rebuilt.

From-SVN: r47520

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

From-SVN: r47519

22 years agoc-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics.
Neil Booth [Sun, 2 Dec 2001 00:04:36 +0000 (00:04 +0000)] 
c-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics.

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

From-SVN: r47518

22 years agoc-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.
Neil Booth [Sat, 1 Dec 2001 18:42:49 +0000 (18:42 +0000)] 
c-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.

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

From-SVN: r47517

22 years agom68k.c (init_FPA_table): Provide static prototype.
Kaveh R. Ghazi [Sat, 1 Dec 2001 17:40:43 +0000 (17:40 +0000)] 
m68k.c (init_FPA_table): Provide static prototype.

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

From-SVN: r47516

22 years agoh8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
Kaveh R. Ghazi [Sat, 1 Dec 2001 17:27:11 +0000 (17:27 +0000)] 
h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.

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

From-SVN: r47515

22 years agors6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size...
Geoffrey Keating [Sat, 1 Dec 2001 17:04:18 +0000 (17:04 +0000)] 
rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size are not legitimate...

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

From-SVN: r47514

22 years agounroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning...
Olivier Hainque [Sat, 1 Dec 2001 12:04:16 +0000 (13:04 +0100)] 
unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges.

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.

From-SVN: r47510

22 years agoppc-asm.h (JUMP_TARGET): New macro.
Franz Sirl [Sat, 1 Dec 2001 08:34:13 +0000 (08:34 +0000)] 
ppc-asm.h (JUMP_TARGET): New macro.

2001-12-01  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

From-SVN: r47509

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

From-SVN: r47507

22 years agogencheck.c, [...]: Don't define xmalloc.
Zack Weinberg [Sat, 1 Dec 2001 08:16:25 +0000 (08:16 +0000)] 
gencheck.c, [...]: Don't define xmalloc.

* gencheck.c, gengenrtl.c: Don't define xmalloc.
* gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
xmalloc.
* f/fini.c: Use xmalloc.

From-SVN: r47506

22 years agoexception (bad_exception::~bad_exception()): Remove declaration.
Benjamin Kosnik [Sat, 1 Dec 2001 04:56:03 +0000 (04:56 +0000)] 
exception (bad_exception::~bad_exception()): Remove declaration.

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.

From-SVN: r47505

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

From-SVN: r47504

22 years agoMakefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency.
Graham Stott [Sat, 1 Dec 2001 02:11:25 +0000 (02:11 +0000)] 
Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency.

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.

From-SVN: r47503

22 years agors6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BU...
Daniel Berlin [Sat, 1 Dec 2001 01:59:02 +0000 (01:59 +0000)] 
rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf...

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.

From-SVN: r47502

22 years agoconfigure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isasc...
Kaveh R. 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.

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

From-SVN: r47501

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

From-SVN: r47499

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

* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
accept DFmode and DImode only.

From-SVN: r47497

22 years agors6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
Aldy Hernandez [Fri, 30 Nov 2001 22:22:24 +0000 (22:22 +0000)] 
rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.

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

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

From-SVN: r47495

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

From-SVN: r47494

22 years agors6000.h (CALL_REALLY_USED_REGISTERS): New.
Aldy Hernandez [Fri, 30 Nov 2001 21:21:32 +0000 (21:21 +0000)] 
rs6000.h (CALL_REALLY_USED_REGISTERS): New.

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.

From-SVN: r47493

22 years agogthr-dce.h: If _DCE_THREADS is not defined, then just include gthr-single.
Jeffrey A 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.

        * gthr-dce.h: If _DCE_THREADS is not defined, then just include
        gthr-single.

From-SVN: r47490

22 years agodwarf2out.c (is_cxx): New fn.
Jason Merrill [Fri, 30 Nov 2001 14:00:25 +0000 (09:00 -0500)] 
dwarf2out.c (is_cxx): New fn.

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

From-SVN: r47483

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

From-SVN: r47482

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

From-SVN: r47480

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

From-SVN: r47479

22 years agogenopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed.
Daniel Berlin [Fri, 30 Nov 2001 05:13:17 +0000 (05:13 +0000)] 
genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed.

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

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

From-SVN: r47476

22 years agoPurge cruft now we have build libiberty.
Zack Weinberg [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.

From-SVN: r47475

22 years agore PR c++/3048 (Lookup problem (gcc 2.95 regression))
Mark Mitchell [Fri, 30 Nov 2001 03:14:56 +0000 (03:14 +0000)] 
re PR c++/3048 (Lookup problem (gcc 2.95 regression))

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.

From-SVN: r47474

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

From-SVN: r47472

22 years agoMakefile.am (nat_headers, [...]): Depend on .class files, not libgcj.jar.
Bryce McKinlay [Fri, 30 Nov 2001 03:04:01 +0000 (03:04 +0000)] 
Makefile.am (nat_headers, [...]): Depend on .class files, not libgcj.jar.

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

From-SVN: r47471

22 years agodwarf2out.c (add_data_member_location_attribute): Do the right thing for virtual...
Jason Merrill [Fri, 30 Nov 2001 02:38:43 +0000 (21:38 -0500)] 
dwarf2out.c (add_data_member_location_attribute): Do the right thing for virtual bases.

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

From-SVN: r47469

22 years agodoloop.c (doloop_valid_p): Check for LTU and GTU as well.
Zoltan Hidvegi [Fri, 30 Nov 2001 02:16:31 +0000 (02:16 +0000)] 
doloop.c (doloop_valid_p): Check for LTU and GTU as well.

2001-11-29  Zoltan Hidvegi  <hzoli@hzoli.2y.net>

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

From-SVN: r47468

22 years agors6000.c (function_arg): Unnamed vector arguments go in memory.
Aldy Hernandez [Fri, 30 Nov 2001 02:04:23 +0000 (02:04 +0000)] 
rs6000.c (function_arg): Unnamed vector arguments go in memory.

     * rs6000.c (function_arg): Unnamed vector arguments go in memory.
        Remove unused attribute for named.

From-SVN: r47466

22 years agogenattrtab.c (attr_rtx_1): New function containing the majority of `attr_rtx'.
Kaveh R. 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'.

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

From-SVN: r47465

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

From-SVN: r47464