OSDN Git Service
aj [Tue, 4 Dec 2001 13:25:32 +0000 (13:25 +0000)]
* trans.c (tree_transform): Adjust call of expand_start_stmt_expr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47611
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 4 Dec 2001 10:34:40 +0000 (10:34 +0000)]
* c-decl.c (duplicate_decls): Revert rth's patch. If newdecl
is in a different binding level, get its abstract origin to be
olddecl.
* tree-inline.c (expand_call_inline): Move DECL_INITIAL sanity
check earlier.
* tree.c (get_callee_fndecl): Follow DECL_ABSTRACT_ORIGIN if
DECL_INITIAL is NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47610
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 4 Dec 2001 10:31:27 +0000 (10:31 +0000)]
* com.c (ffecom_expr_power_integer_): Adjust
expand_start_stmt_expr() invocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47609
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 4 Dec 2001 10:30:47 +0000 (10:30 +0000)]
* semantics.c (begin_global_stmt_expr): Adjust
expand_start_stmt_expr invocation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47608
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 4 Dec 2001 10:30:04 +0000 (10:30 +0000)]
* stmt.c (expand_expr_stmt): Keep last_expr_value non-NULL iff
we're interested in the result. Use it to tell whether to
ignore results of enclosed expressions.
(expand_start_stmt_expr): Added new argument, and initialize
last_expr_value accordingly.
* tree.h (expand_start_stmt_expr): Adjusted declaration.
* c-common.c (c_expand_expr): Adjust call.
* expr.c (expand_expr) [EXPR_WFL]: Pass const0_rtx down if
ignoring the result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47607
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 4 Dec 2001 10:02:51 +0000 (10:02 +0000)]
* Makefile.in ($(LIBG2C)): Fix -rpath argument to libtool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47606
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 4 Dec 2001 09:53:18 +0000 (09:53 +0000)]
* Makefile.in (AR, RANLIB): Add, for substitutions.
(all-unilib, $(LIBG2C)): Depend on object lists, not
convenience libraries.
(s-libe77): Renamed from libE77.la; build object list.
(install): Do not move libraries to libdir.
(mostlyclean, clean): Adjust.
* libF77/Makefile.in (RANLIB): Add.
(LINK): Remove.
(../s-libf77): Renamed from ../libF77.la; build object list.
(../libfrtbegin.a): Remove target first. Don't use $<.
(all, clean, distclean): Adjust.
* libF77/configure.in: Substitute RANLIB.
* libF77/configure: Rebuilt.
* libI77/Makefile.in (LINK): Delete.
(../s-libi77): Renamed from ../libI77.la; build object list.
(all, clean, distclean): Adjust.
* libU77/Makefile.in: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47605
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 4 Dec 2001 09:51:18 +0000 (09:51 +0000)]
cp:
* pt.c (end_template_parm_list): Clear TREE_CHAIN of each parm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47604
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 4 Dec 2001 09:48:53 +0000 (09:48 +0000)]
cp:
PR g++/164
* init.c (sort_base_init): Allow binfos to be directly specified.
* method.c (do_build_copy_constructor): Explicitly convert to the
base instance.
(do_build_assign_ref): Likewise.
testsuite:
* g++.dg/inherit/base1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47603
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 4 Dec 2001 09:33:17 +0000 (09:33 +0000)]
* flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.
Return correct value if one of the subexpressions was optimized to
0 resp. 1. Optimize (x | A) | x and (x & A) | x.
(and_reg_cond): Similarly.
* gcc.c-torture/compile/
20011130-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47602
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 4 Dec 2001 09:29:54 +0000 (09:29 +0000)]
* function.c (assign_parms): Set last_named only for last named
argument.
* g++.dg/other/stdarg1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47601
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 4 Dec 2001 09:23:37 +0000 (09:23 +0000)]
Fix date on last entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47599
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 4 Dec 2001 09:21:56 +0000 (09:21 +0000)]
* doc/install.texi: Use the GFDL. Include years from old install
manual in copyright notice. Include copyright and GFDL notice on
HTML index page. Include usual footer on testing.html.
* doc/install.texi2html: Build gfdl.html. Use -I
$SOURCEDIR/include.
* doc/include/fdl.texi: Adapt for use in the install manual.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47598
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Tue, 4 Dec 2001 08:19:41 +0000 (08:19 +0000)]
* doc/install.texi: Document that installed native compiler for
building cross compilers should be GCC 2.95 or later.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47596
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 4 Dec 2001 08:16:23 +0000 (08:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47594
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 4 Dec 2001 07:21:25 +0000 (07:21 +0000)]
* Makefile.in: Rebuilt with automake-gcj.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47593
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 4 Dec 2001 07:15:01 +0000 (07:15 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47592
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 4 Dec 2001 06:37:53 +0000 (06:37 +0000)]
* defineclass.cc (handleMethodsEnd): Invoke verifier here...
(handleCodeAttribute): ... not here.
* verify.cc (_Jv_BytecodeVerifier::state::state): Use `copy', not
structure assignment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47591
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 4 Dec 2001 06:30:02 +0000 (06:30 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47590
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 4 Dec 2001 01:25:32 +0000 (01:25 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47589
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 4 Dec 2001 01:24:59 +0000 (01:24 +0000)]
* parse.y (patch_binop): Minor constant folding.
* parse.y (build_current_thisn): Shorter 'buffer'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47588
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 4 Dec 2001 01:10:08 +0000 (01:10 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47587
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 4 Dec 2001 01:01:46 +0000 (01:01 +0000)]
2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
* src/string-inst.cc (string::_Rep::_S_terminal): Add static data
member instantiations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47586
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:56:33 +0000 (00:56 +0000)]
New test for __builtin_prefetch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47585
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:54:21 +0000 (00:54 +0000)]
Test for __builtin_prefetch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47584
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:52:43 +0000 (00:52 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47583
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:50:35 +0000 (00:50 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47582
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:47:14 +0000 (00:47 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47580
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:42:41 +0000 (00:42 +0000)]
* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
(PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
(prefetch, prefetch_internal): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47579
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:42:00 +0000 (00:42 +0000)]
* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
(PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
(prefetch, prefetch_internal): New.
prefetch_sse.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47578
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:40:21 +0000 (00:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47577
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Tue, 4 Dec 2001 00:37:50 +0000 (00:37 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47576
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Tue, 4 Dec 2001 00:25:20 +0000 (00:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47575
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Tue, 4 Dec 2001 00:10:56 +0000 (00:10 +0000)]
Doc update for -maix-struct-return patch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47574
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Mon, 3 Dec 2001 23:30:21 +0000 (23:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47572
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Mon, 3 Dec 2001 23:20:00 +0000 (23:20 +0000)]
Fix spacing in third last entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47571
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47570
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Mon, 3 Dec 2001 23:09:42 +0000 (23:09 +0000)]
* jcf.h: Fix obvious typo in comment.
* typeck.c (build_null_signature): Add comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47569
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 3 Dec 2001 23:01:44 +0000 (23:01 +0000)]
* emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
of array elements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47568
138bc75d-0d04-0410-961f-
82ee72b054a4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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