- 04 Dec, 2001 10 commits
-
-
From-SVN: r47584
Janis Johnson committed -
* 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
Janis Johnson committed -
* 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
Janis Johnson committed -
* 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
Janis Johnson committed -
* 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
Janis Johnson committed -
* 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
Janis Johnson committed -
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
Janis Johnson committed -
* 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
Janis Johnson committed -
* 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
Ziemowit Laski committed -
From-SVN: r47574
Zack Weinberg committed
-
- 03 Dec, 2001 29 commits
-
-
* 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
Per Bothner committed -
From-SVN: r47571
Hans-Peter Nilsson committed -
* decl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and initialization. From-SVN: r47570
Hans-Peter Nilsson committed -
* jcf.h: Fix obvious typo in comment. * typeck.c (build_null_signature): Add comment. From-SVN: r47569
Per Bothner committed -
* emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension of array elements. From-SVN: r47568
Geoffrey Keating committed -
2001-12-03 Laurent Guerby <guerby@acm.org> * config.sub: Update to version 1.232 on subversion. From-SVN: r47567
Laurent Guerby committed -
PR c/4988 * (process_command): Don't add a preprocessor option for --help and --target-help; cc1 is enough. From-SVN: r47565
Neil Booth committed -
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
Steve Ellcey committed -
* sinfo.ads: Minor reformatting. N_Freeze_Entity node does not have Associated_Node. From-SVN: r47563
Robert Dewar committed -
* prj-proc.adb: Minor reformatting * make.adb: Minor reformatting From-SVN: r47562
Robert Dewar committed -
From-SVN: r47561
Geert Bosch committed -
From-SVN: r47560
Robert Dewar committed -
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
Ed Schonberg committed -
* 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
Neil Booth committed -
* 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
Loren J. Rittle committed -
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
Ed Schonberg committed -
(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
Ed Schonberg committed -
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
Zack Weinberg committed -
* mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant. From-SVN: r47552
Jeff Law committed -
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
Jan Hubicka committed -
From-SVN: r47550
Jakub Jelinek committed -
From-SVN: r47548
Jan Hubicka committed -
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
Mumit Khan committed -
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
Nathan Sidwell committed -
From-SVN: r47545
GCC Administrator committed -
* class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the immediate binfos for our virtual bases. From-SVN: r47543
Jason Merrill committed -
* 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
Zack Weinberg committed -
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
Phil Edwards committed -
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
Joseph Myers committed
-
- 02 Dec, 2001 1 commit
-
-
* config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned. (ASM_GENERATE_INTERNAL_LABEL): Same. (UNIQUE_SECTION): Fix typo. From-SVN: r47538
David Edelsohn committed
-