aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-10-17Makefile.in (misc.o): Depend on langhooks.h.Richard Henderson8-13/+48
ada/ * Makefile.in (misc.o): Depend on langhooks.h. * misc.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. (LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. f/ * Make-lang.in (f/com.o): Depend on langhooks.h. * com.c: Include it. (LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New. (LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New. (lang_hooks): Use LANG_HOOKS_INITIALIZER. java/ * Make-lang.in (java/lang.o): Depend on langhooks.h. From-SVN: r46318
2001-10-17cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak.Richard Earnshaw2-1/+6
* cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory leak. From-SVN: r46317
2001-10-17For PR java/4295:Tom Tromey4-63/+168
* aclocal.m4, configure, Makefile.in: Rebuilt. * configure.in: Added AC_EXEEXT. From-SVN: r46316
2001-10-17Makefile.in (print-rtl.o): Depend on TREE_H.Richard Kenner2-22/+6
* Makefile.in (print-rtl.o): Depend on TREE_H. * alias.c (get_alias_set): Make two passes over objects to first see if inner object is access via restricted pointer. Defer allocating alias set for restricted pointer until here. Call find_placeholder with second arg nonzero. Minor cleanups. * c-common.c (c_apply_type_quals_to_decl): Defer getting alias set for restricted pointer types. * emit-rtl.c (set_mem_attributes): Set more attributes. (set_mem_align, change_address, adjust_address_1): New functions. (change_address_1): Now static. (adjust_address, adjust_address_nv): Deleted. (replace_equiv_address): Call change_address_1. * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR. (find_placeholder): Get starting point from PLIST arg. (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg. * expr.h (set_mem_align, change_address, adjust_address_1): New decls. (adjust_address, adjust_address_nv): New macros. * print-rtl.c (tree.h): New include. (print_rtx, case MEM): Print all memory attributes. From-SVN: r46314
2001-10-17Makefile.in (print-rtl.o): Depend on TREE_H.Richard Kenner7-117/+260
* Makefile.in (print-rtl.o): Depend on TREE_H. * alias.c (get_alias_set): Make two passes over objects to first see if inner object is access via restricted pointer. Defer allocating alias set for restricted pointer until here. Call find_placeholder with second arg nonzero. Minor cleanups. * emit-rtl.c (set_mem_attributes): Set more attributes. (set_mem_align, change_address, adjust_address_1): New functions. (change_address_1): Now static. (adjust_address, adjust_address_nv): Deleted. (replace_equiv_address): Call change_address_1. * expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR. (find_placeholder): Get starting point from PLIST arg. (expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg. * expr.h (set_mem_align, change_address, adjust_address_1): New decls. (adjust_address, adjust_address_nv): New macros. * print-rtl.c (tree.h): New include. (print_rtx, case MEM): Print all memory attributes. From-SVN: r46313
2001-10-17* config/alpha/alpha.c (direct_call_operand): Don't fall off end.Richard Henderson2-0/+6
From-SVN: r46311
2001-10-17c-tree.texi: Eliminate duplicated word.Matt Kraai6-7/+15
* c-tree.texi: Eliminate duplicated word. * cpp.texi: Likewise. * install.texi: Likewise. * invoke.texi: Likewise. * tm.texi: Likewise. From-SVN: r46310
2001-10-17Daily bump.GCC Administrator6-6/+6
From-SVN: r46309
2001-10-17gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.Loren J. Rittle5-5/+30
* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS. * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on GC_FREEBSD_THREADS, handle strange interaction between system pthread implementation and boehm-gc signal-handler architecture. * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS, set stack. * include/private/gcconfig.h (configuration keyed off FREEBSD): Define SIG_SUSPEND, SIG_THR_RESTART. Do not define MPROTECT_VDB when GC_FREEBSD_THREADS is defined. From-SVN: r46307
2001-10-17Add ChangeLog entry for dsp16xx/dsp16xx.c change.Michael Collison1-0/+8
From-SVN: r46306
2001-10-17dsp16xx.c: Fix comment formatting to match GNU standards.Michael Collison1-78/+77
* dsp16xx.c: Fix comment formatting to match GNU standards. (dsp16xx_output_function_prologue): Change type of 'size' parameter from 'int' to HOST_WIDE_INT. (dsp16xx_output_function_epilogue): Change type of 'size' parameter from 'int' to HOST_WIDE_INT. From-SVN: r46305
2001-10-17Makefile.am (test.o): Find tests/test.c in $(srcdir).Loren J. Rittle3-3/+8
* Makefile.am (test.o): Find tests/test.c in $(srcdir). * Makefile.in: Rebuilt. From-SVN: r46304
2001-10-16configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.Richard Henderson23-214/+140
* configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check. * configure, config.in: Rebuild. * config/i386/i386.c (ix86_output_addr_vec_elt): New. (ix86_output_addr_diff_elt): New. * config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. (JUMP_TABLES_IN_TEXT_SECTION): New. * config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA. * config/i386/i386-protos.h: Update. * config/i386/386bsd.h, config/i386/beos-elf.h, config/i386/freebsd-aout.h, config/i386/freebsd.h, config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h, config/i386/netbsd-elf.h, config/i386/netbsd.h, config/i386/openbsd.h, config/i386/ptx4-i.h, config/i386/rtemself.h, config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h (ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove. From-SVN: r46303
2001-10-16cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree ↵H.J. Lu2-0/+6
checking disabled. * cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined for tree checking disabled. From-SVN: r46302
2001-10-16* stmt.c (expand_asm_operands): Update commentary.Florian Weimer2-1/+7
From-SVN: r46301
2001-10-16darwin.h (GCC_NAME): Remove, no longer used.Stan Shebs3-8/+34
* config/darwin.h (GCC_NAME): Remove, no longer used. (NO_MATH_LIBRARY): Ditto. (MATH_LIBRARY): Define to emptiness. (DWARF2_DEBUGGING_INFO): Define. (PREFERRED_DEBUGGING_TYPE): Define. (EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section. (EXCEPTION_SECTION): Define. (ASM_PREFERRED_EH_DATA_FORMAT): Define. * config/darwin.c (darwin_encode_section_info): Handle case of DECL_INITIAL being error_mark_node. From-SVN: r46300
2001-10-16alpha.c (current_file_function_operand): Don't fail for profiling.Richard Henderson6-76/+59
* alpha.c (current_file_function_operand): Don't fail for profiling. (direct_call_operand): New. * alpha-protos.h: Declare it. * alpha.h (EXTRA_CONSTRAINT): Use it. (PREDICATE_CODES): Add it. (ASM_OUTPUT_MI_THUNK): Remove. * alpha32.h (ASM_OUTPUT_MI_THUNK): Remove. * alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative. From-SVN: r46299
2001-10-16netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.Krister Walfridsson2-0/+15
* config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define. (JUMP_TABLES_IN_TEXT_SECTION): Define. From-SVN: r46298
2001-10-16cfg.c (free_edge): Break out from ....Jan Hubicka6-9/+52
* cfg.c (free_edge): Break out from .... (remove_edge): ... here. (clear_edges): Use free_edge. * att.h (ASM_QUAD): Add comment. * bsd.h, sco5.h, sun386.h (ASM_QUAD): Define. From-SVN: r46297
2001-10-16i386.c (split_ti): New function.Jan Hubicka5-18/+179
* i386.c (split_ti): New function. (ix86_split_to_parts): Support TImodes. * i386.h (VALID_INT_MODE_P): Add TImode. * i386.md (movdi splitter): Fix. (movti): Support 64bit integer registers. (movti_rex64): New function and splitter. * i386.c (*_cost): Add movsx/movzx cost. * i386.h (struct processor_costs): Add movsx/movzx fields. (RTX_COSTS): Handle zero/sign extend + avoid believing that 64bit operations require split on 64bit machine. (CONST_COST): Make large 64bit constants expensive on 64bit compilation. * i386.c (ix86_setup_incomming_varargs): Fix mode of PLUS. (ix86_expand_move): Avoid pushes of memory if size does not match; move long constants to register. (x86_initialize_trampoline): Fix mode. * i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use ASM_QUAD on 64bit. * i386.md (test pattern): Disallow impossible constants. (tablejump PIC expander): Fix emitting of sum. (movdicc_rex64): Rename to movdicc. * linux64.h (LINK_SPEC): Add missing '%'. From-SVN: r46296
2001-10-16javaprims.h: Updated class list.Tom Tromey3-394/+623
* gcj/javaprims.h: Updated class list. * java/util/Hashtable.java: Re-merged with Classpath. From-SVN: r46295
2001-10-16cp-tree.h (VFIELD_NAME_FORMAT): Adjust to match VFIELD_NAME.Hans-Peter Nilsson2-1/+6
* cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL && NO_DOT_IN_LABEL]: Adjust to match VFIELD_NAME. From-SVN: r46293
2001-10-16tree-inline.c (inlinable_function_p): Leave it up to the front-end to turn ↵Alexandre Oliva2-2/+12
-finline-functions into DECL_INLINE set... * tree-inline.c (inlinable_function_p): Leave it up to the front-end to turn -finline-functions into DECL_INLINE set for all functions. From-SVN: r46292
2001-10-16* config/rs6000/darwin.h (ASM_COMMENT_START): Define.Stan Shebs2-0/+9
From-SVN: r46291
2001-10-16trans.c (tree_transform): Adjust to recent change in expand_asm_operands to ↵Florian Weimer2-6/+14
implement named asm operands. * trans.c (tree_transform): Adjust to recent change in expand_asm_operands to implement named asm operands. From-SVN: r46289
2001-10-16* g++.dg/template/unify2.C: New test.Richard Sandiford2-0/+17
From-SVN: r46288
2001-10-16pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.Richard Sandiford2-3/+21
* pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define. (unify): Only handle MINUS_EXPR specially if the above flag is set and the subtracted constant is 1. Clear the flag on recursive calls. Set it when unifying the maximum value in an INTEGER_TYPE's range. From-SVN: r46287
2001-10-16* g++.dg/other/exception-specification.C: New testRichard Sandiford2-0/+14
From-SVN: r46286
2001-10-16decl.c (bad_specifiers): Don't allow exception specifications on any typedefs.Richard Sandiford2-2/+9
* decl.c (bad_specifiers): Don't allow exception specifications on any typedefs. From-SVN: r46285
2001-10-16Forgot this file in last commit.Bryce McKinlay1-21/+6
From-SVN: r46284
2001-10-16Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.Bryce McKinlay39-356/+669
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1 and merged local changes. From-SVN: r46283
2001-10-16Eliminate use of C++ static constructors.Bryce McKinlay10-62/+132
* interpret.cc: Remove static Utf8Consts. Use namespace gcj. * jni.cc: Likewise. * resolve.cc: Likewise. * defineclass.cc: Likewise. (_Jv_ClassReader::handleClassBegin): Synchronize call to _Jv_RegisterClass. * include/jvm.h (void_signature, clinit_name, init_name, finit_name): Declare in namespace gcj. * java/lang/Class.h (Class): Remove initialization for primitive types. (friend void _Jv_InitPrimClass): This is in prims.cc. * prims.cc (_Jv_InitPrimClass): Do primitive type initialization here instead. (void_signature, clinit_name, init_name, finit_name): Define in namespace gcj. (_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and _Jv_InitializeSyncMutex from here. Initialize Utf8 constants. Initialize primitive types. * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call initialization routines. Don't synchronize. * java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class across dlopen call. From-SVN: r46282
2001-10-16* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.Bryce McKinlay2-1/+7
From-SVN: r46280
2001-10-16Daily bump.GCC Administrator6-6/+6
From-SVN: r46278
2001-10-16[multiple changes]Bryce McKinlay16-1761/+2222
2001-10-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/util/HashMap.java (HashEntry.clone): Removed. (HashMap(Map)): Use putAllInternal. (clone): Likewise. (putAllInternal): New method. Efficient counterpart to putAll which does not call put(). * java/util/LinkedHashMap.java (rethread): Removed. (putAllInternal): New method. Clear "head" and "tail". (addEntry): New argument "callRemove". Don't call removeEldestEntry() if callRemove == false. * Makefile.am: Add new classes RandomAccess and LinkedHashMap. * Makefile.in: Rebuilt. 2001-10-15 Eric Blake <ebb9@email.byu.edu> * java/util/Collection.java: Updated javadoc. * java/util/Comparator.java: Updated javadoc. * java/util/Enumeration.java: Updated javadoc. * java/util/Iterator.java: Updated javadoc. * java/util/List.java: Updated javadoc. * java/util/ListIterator.java: Updated javadoc. * java/util/Map.java: Updated javadoc. * java/util/RandomAccess.java: New file. * java/util/Set.java: Updated javadoc. * java/util/SortedMap.java: Updated javadoc. * java/util/SortedSet.java: Updated javadoc. From-SVN: r46277
2001-10-16* recog.c: Formatting and comment typo fixes.Alan Modra2-33/+35
From-SVN: r46276
2001-10-16configure.in (gcc_cv_as_bfd_srcdir): New.Alan Modra3-106/+104
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas version in single tree build. * configure: Regenerate. From-SVN: r46275
2001-10-15Makefile.in (TEXIFILES): Add fnmatch.txh.DJ Delorie24-298/+944
* Makefile.in (TEXIFILES): Add fnmatch.txh. (maint-undoc): New. maint-tool: Add "undoc" tool. * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update documentation. * fnmatch.txh: New. * functions.texi: Regenerate. From-SVN: r46274
2001-10-15rs6000.md (cr_logical): Swap order of CODE and MODE arguments toDavid Edelsohn2-12/+17
gen_rtx and compare operand with const0_rtx. From-SVN: r46273
2001-10-15AccessibleObject.java (checkPermission): Implemented.Tom Tromey2-7/+37
* java/lang/reflect/AccessibleObject.java (checkPermission): Implemented. Updated copyright information. From-SVN: r46272
2001-10-15natObject.cc (heavy_lock): Moved fields old_client_data, ↵Hans Boehm5-33/+228
old_finalization_proc near beginning. 2001-10-15 Hans Boehm <Hans_Boehm@hp.com> * java/lang/natObject.cc (heavy_lock): Moved fields old_client_data, old_finalization_proc near beginning. (heavy_lock_finalization_proc): Now inline; changed type of argument. (JV_SYNC_TABLE_SZ): Now 2048. (mp): New global. (spin): `mp' now global. (heavy_lock_obj_finalization_proc): Updated to correctly handle heavy lock finalization. (remove_all_heavy): New function. (maybe_remove_all_heavy): Likewise. (_Jv_MonitorEnter): Throw exception if object is NULL. (_Jv_MonitorExit): Likewise. Also, clear long lists of unlocked heavy locks. * include/jvm.h (_Jv_AllocTraceTwo): Declare. * nogc.cc (_Jv_AllocTraceTwo): New function. * boehm.cc (trace_two_vtable): New global. (_Jv_AllocTraceTwo): New function. From-SVN: r46271
2001-10-15lang.c (langhooks.h): Included.Alexandre Petit-Bianco2-7/+19
2001-10-15 Alexandre Petit-Bianco <apbianco@redhat.com> * lang.c (langhooks.h): Included. (LANG_HOOKS_INIT): Redefined. (LANG_HOOKS_INIT_OPTIONS): Likewise. (LANG_HOOKS_DECODE_OPTION): Likewise. (struct lang_hooks lang_hooks): New initialization. ( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00692.html ) From-SVN: r46270
2001-10-15system.h: Poison old unused target macros.Neil Booth7-65/+70
* system.h: Poison old unused target macros. * config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove. * config/stormy16/stormy16.c: Update references to obsolete macros. * config/stormy16/stormy16.h: Similarly. * config/stormy16/stormy16.md: Similarly. * config/cris/cris.h: Similarly. From-SVN: r46269
2001-10-15Makefile.in: Rebuilt.Tom Tromey4-3/+60
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new file. * java/beans/AppletInitializer.java: New file. From-SVN: r46267
2001-10-15SocketPermission.java (hostport, actions): Now private.Tom Tromey2-3/+8
* java/net/SocketPermission.java (hostport, actions): Now private. From-SVN: r46266
2001-10-15Daily bump.GCC Administrator6-6/+6
From-SVN: r46264
2001-10-15Double.java: Partial merge with ClasspathMark Wielaard3-84/+795
* java/lang/Double.java: Partial merge with Classpath (TYPE): initialized through VMClassLoader.getPrimitiveClass() (value): made final (static): new static block to load native libary (not used in libgcj) (Double (String)): call parseDouble() (byteValue): removed, already defined in superclass Number (shortValue): likewise (valueOf (String)): call new Double(String) directly (compare (double,double)): new 1.4 method (compareTo (Double)): call new compare(double,double) method (initIDs): new private method (not used in libgcj) * java/lang/Float.java: Partial merge with Classpath (TYPE): initialized through VMClassLoader.getPrimitiveClass() (value): made final (static): new static block to load native libary (not used in libgcj) (Float (String)): call parseFloat() (byteValue): removed, already defined in superclass Number (shortValue): likewise (valueOf (String)): call new Float(String) directly (compare (float,float)): new 1.4 method (compareTo (Float)): call new compare(double,double) method From-SVN: r46263
2001-10-15This commit was generated by cvs2svn to compensate for changes in r46260,Bryce McKinlay1-7/+21
which included commits to RCS files with non-trunk default branches. From-SVN: r46261
2001-10-15Initial revisionBryce McKinlay1-0/+12
From-SVN: r46258
2001-10-14cpplib.c (struct pragma_entry): Store the name as a hashnode.Neil Booth2-26/+26
* cpplib.c (struct pragma_entry): Store the name as a hashnode. (lookup_pragma_entry, insert_pragma_entry, do_pragma, cpp_register_pragma): Update accordingly. From-SVN: r46255