aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-04Makefile.in (AR, RANLIB): Add, for substitutions.Alexandre Oliva7-87/+175
* 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. From-SVN: r47605
2001-12-04pt.c (end_template_parm_list): Clear TREE_CHAIN of each parm.Nathan Sidwell2-6/+12
cp: * pt.c (end_template_parm_list): Clear TREE_CHAIN of each parm. From-SVN: r47604
2001-12-04re PR c++/164 (bogus error throwing class with inaccessible base)Nathan Sidwell5-15/+63
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. From-SVN: r47603
2001-12-04flow.c (ior_reg_cond): Return NULL if ! add and rtx wasn't optimized.Jakub Jelinek4-50/+126
* 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. From-SVN: r47602
2001-12-04function.c (assign_parms): Set last_named only for last named argument.Jakub Jelinek4-5/+49
* function.c (assign_parms): Set last_named only for last named argument. * g++.dg/other/stdarg1.C: New test. From-SVN: r47601
2001-12-04Fix date on last entry.Joseph Myers1-1/+1
From-SVN: r47599
2001-12-04install.texi: Use the GFDL.Joseph Myers4-9/+82
* 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. From-SVN: r47598
2001-12-04install.texi: Document that installed native compiler for building cross ↵Joseph Myers2-1/+7
compilers should be... * doc/install.texi: Document that installed native compiler for building cross compilers should be GCC 2.95 or later. From-SVN: r47596
2001-12-04Daily bump.GCC Administrator6-6/+6
From-SVN: r47594
2001-12-04* Makefile.in: Rebuilt with automake-gcj.Bryce McKinlay2-62/+1232
From-SVN: r47593
2001-12-04collate.cc: Compile-only.Benjamin Kosnik12-1/+36
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
2001-12-04defineclass.cc (handleMethodsEnd): Invoke verifier here...Tom Tromey3-9/+20
* defineclass.cc (handleMethodsEnd): Invoke verifier here... (handleCodeAttribute): ... not here. * verify.cc (_Jv_BytecodeVerifier::state::state): Use `copy', not structure assignment. From-SVN: r47591
2001-12-04mips.h (CALL_REALLY_USED_REGISTERS): New macro.Eric Christopher3-39/+78
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
2001-12-03New test.Richard Henderson1-0/+22
From-SVN: r47589
2001-12-03parse.y (patch_binop): Minor constant folding.Per Bothner2-1/+15
* parse.y (patch_binop): Minor constant folding. * parse.y (build_current_thisn): Shorter 'buffer'. From-SVN: r47588
2001-12-03decl.c (complete_start_java_method): Now generate TRY_FINALLY_EXPR instead ↵Per Bothner4-103/+14
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
2001-12-04string-inst.cc (string::_Rep::_S_terminal): Add static data member ↵Benjamin Kosnik2-0/+6
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
2001-12-04New test for __builtin_prefetch.Janis Johnson6-0/+685
From-SVN: r47585
2001-12-04Test for __builtin_prefetch.Janis Johnson1-0/+59
From-SVN: r47584
2001-12-04builtin-prefetch-1.c: New test.Janis Johnson1-0/+9
* 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
2001-12-04builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.Janis Johnson4-0/+111
* 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
2001-12-04rtl.def (PREFETCH): New rtx code.Janis Johnson6-0/+40
* 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
2001-12-04ia64.h (SIMULTANEOUS PREFETCHES): Define.Janis Johnson1-1/+29
* 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
2001-12-04ia64.h (SIMULTANEOUS PREFETCHES): Define.Janis Johnson1-0/+13
* 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
2001-12-04i386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new ↵Janis Johnson2-3/+3
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
2001-12-04rtl.def (PREFETCH): New rtx code.Janis Johnson1-0/+25
* 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
2001-12-04Make-lang.in: Update copyright.Ziemowit Laski6-70/+163
* 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
2001-12-04Doc update for -maix-struct-return patchZack Weinberg1-0/+10
From-SVN: r47574
2001-12-03verify.c (subroutine_nesting): New function.Per Bothner2-7/+32
* 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
2001-12-03Fix spacing in third last entryHans-Peter Nilsson1-2/+2
From-SVN: r47571
2001-12-03decl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and ↵Hans-Peter Nilsson2-1/+7
initialization. * decl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and initialization. From-SVN: r47570
2001-12-03jcf.h: Fix obvious typo in comment.Per Bothner3-1/+8
* jcf.h: Fix obvious typo in comment. * typeck.c (build_null_signature): Add comment. From-SVN: r47569
2001-12-03emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension of array ↵Geoffrey Keating2-4/+9
elements. * emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension of array elements. From-SVN: r47568
2001-12-03config.sub: Update to version 1.232 on subversion.Laurent Guerby2-1/+8
2001-12-03 Laurent Guerby <guerby@acm.org> * config.sub: Update to version 1.232 on subversion. From-SVN: r47567
2001-12-03re PR c/4988 (--target-help emits cc1 printout twice)Neil Booth2-2/+6
PR c/4988 * (process_command): Don't add a preprocessor option for --help and --target-help; cc1 is enough. From-SVN: r47565
2001-12-03configure.in: Add support for hpux cross compiles...Steve Ellcey6-1479/+2393
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
2001-12-03sinfo.ads: Minor reformatting.Robert Dewar2-6/+11
* sinfo.ads: Minor reformatting. N_Freeze_Entity node does not have Associated_Node. From-SVN: r47563
2001-12-03prj-proc.adb: Minor reformattingRobert Dewar3-14/+21
* prj-proc.adb: Minor reformatting * make.adb: Minor reformatting From-SVN: r47562
2001-12-03* make.adb: Minor reformatting.Geert Bosch2-1/+5
From-SVN: r47561
2001-12-03* sem_ch12.adb: Minor reformattingRobert Dewar2-4/+8
From-SVN: r47560
2001-12-03sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and push Standard ↵Ed Schonberg2-29/+18
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
2001-12-03c-decl.c (grokdeclarator): Use ISO word.Neil Booth82-425/+502
* 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
2001-12-03howto.html: Update commentary.Loren J. Rittle7-410/+42
* 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
2001-12-03sem_ch12.adb (Instantiate_Package_Body): Protect against double ↵Ed Schonberg2-0/+13
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
2001-12-03* sem_ch12.adb:Ed Schonberg2-3/+27
(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
2001-12-03rs6000.h (RETURN_IN_MEMORY): Cast result of int_size_in_bytes to unsigned ↵Zack Weinberg2-3/+12
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
2001-12-03mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant.Jeff Law2-2/+7
* mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant. From-SVN: r47552
2001-12-03gcse.c (delete_null_pointer_checks_1): Do not use delelete_list; call ↵Jan Hubicka5-192/+190
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
2001-12-03* gcc.dg/20011130-1.c: New test.Jakub Jelinek2-0/+29
From-SVN: r47550
2001-12-03* i386.md (movabsqi*): Use 'b' prefix instead of 'q'.Jan Hubicka2-5/+9
From-SVN: r47548