aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-20Makefile.in (RUN_GEN, [...]): New variables.Hans-Peter Nilsson7-804/+1031
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables. (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES). (executing gencheck, genconfigs, genconditions, genflags, gencodes, genconstants, genemit, genrecog, genopinit, genextract, genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds, gengtype, genprotos): Prepend $(RUN_GEN). * configure.in: Move host compiler tests before --enable-checking tests. (--enable-checking=valgrind): New. * config.in, configure: Regenerate. * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD): Define as empty. (read_include_file): When doing the mmap+1 trick, valgrind-annotate the byte after the mmap:ed area as readable. (purge_cache): Remove above annotation. * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend VALGRIND_PATH -q to each command. From-SVN: r59309
2002-11-20recog.c (constrain_operands): Prefer exact match over reloadable ↵Ulrich Weigand3-13/+25
EXTRA_MEMORY_CONSTRAINT or... * recog.c (constrain_operands): Prefer exact match over reloadable EXTRA_MEMORY_CONSTRAINT or EXTRA_ADDRESS_CONSTRAINT. * reload.c (find_reloads): Always reload EXTRA_ADDRESS_CONSTRAINT operands in Pmode. From-SVN: r59308
2002-11-202002-11-20 Michael Koch <konqueror@gmx.de>Michael Koch7-25/+65
* java/io/FileInputStream.java (getChannel): New method. * java/io/FileOutputStream.java (getChannel): New method. * java/net/ServerSocket.java (bind): Removed duplicate code and called another bind method instead. * java/nio/channels/SelectionKey.java (isValid): Removed wrong exception documentation. * java/nio/channels/ServerSocketChannel.java (accept): Added exception documentation. (open): Fixed typo, added exception documentation. * java/nio/channels/spi/AbstractSelectableChannel.java (implCloseChannel): Added exception documentation. (add): Reformated. (register): Added exception documentation. From-SVN: r59307
2002-11-20ltconfig (osf[345]): Append $major to soname_spec.Rainer Orth6-6/+18
* ltconfig (osf[345]): Append $major to soname_spec. Reflect this in library_names_spec. * ltmain.sh (osf): Prefix $major with . for use as extension. boehm-gc: * ltconfig (osf[345]): Append $major to soname_spec. Reflect this in library_names_spec. * ltmain.sh (osf): Prefix $major with . for use as extension. From-SVN: r59306
2002-11-20* configure: Regenerated with new libtool.m4.Andreas Jaeger2-855/+903
From-SVN: r59305
2002-11-20libtool.m4 (libtool_flags): Add patch from libtool CVS...Andreas Jaeger2-36/+84
* libtool.m4 (libtool_flags): Add patch from libtool CVS: Support linking of 32-bit libraries with ld on the x86-64, ppc64, s390x and sparc64 GNU/Linux systems. From-SVN: r59304
2002-11-2020021120-1.c: New test.Eric Botcazou3-0/+23
* gcc.c-torture/compile/20021120-1.c: New test. * gcc.c-torture/compile/20021120-2.c: New test. From-SVN: r59303
2002-11-20re PR c/8518 (ICE when compiling mplayer)Eric Botcazou2-2/+9
PR c/8518 * c-decl.c (duplicate_decls): Outline the second definition of an extern inline function in all cases. From-SVN: r59302
2002-11-20stor-layout.c (place_field): Update rli->offset as well as rli->bitpos.Richard Sandiford4-0/+22
* stor-layout.c (place_field): Update rli->offset as well as rli->bitpos. From-SVN: r59301
2002-11-20* sched-deps.c (sched_analyze): Check HARD_REGNO_CALL_PART_CLOBBERED.Richard Sandiford4-2/+40
From-SVN: r59300
2002-11-20sh.md (udivsi3): Don't put udivsi3_i4_media instructions into a libcall block.Richard Sandiford4-16/+41
* config/sh/sh.md (udivsi3): Don't put udivsi3_i4_media instructions into a libcall block. (divsi3): Likewise divsi3_i4_media. From-SVN: r59299
2002-11-20global.c (find_reg): Check HARD_REGNO_NREGS before kicking out another register.Richard Sandiford4-0/+72
* global.c (find_reg): Check HARD_REGNO_NREGS before kicking out another register. From-SVN: r59298
2002-11-20combine.c (force_to_mode): Only replace with (not Y) if all bits in ↵Jakub Jelinek4-2/+29
fuller_mask (not just mask) are set in C. * combine.c (force_to_mode): Only replace with (not Y) if all bits in fuller_mask (not just mask) are set in C. * gcc.c-torture/execute/20021118-3.c: New test. From-SVN: r59295
2002-11-20Daily bump.GCC Administrator2-2/+2
From-SVN: r59294
2002-11-20loop.c (record_giv): Initialize not_replaceable.Andreas Jaeger2-3/+13
* loop.c (record_giv): Initialize not_replaceable. (check_final_value): Likewise. From-SVN: r59288
2002-11-20pt.c (for_each_template_parm): Free allocated memory.Mark Mitchell3-13/+56
* pt.c (for_each_template_parm): Free allocated memory. * search.c (is_subobject_of_p_1): New function. (is_subobject_of_p): Avoid walking virtual bases multiple times. From-SVN: r59287
2002-11-20h8300.c (h8300_init_once): Replace 1 with MASK_H8300S.Kazu Hirata2-2/+7
* config/h8300/h8300.c (h8300_init_once): Replace 1 with MASK_H8300S. From-SVN: r59286
2002-11-20h8300.c (h8300_init_once): Allow -mn switch only if -mh or -ms present.Vijay L. Khuspe6-11/+86
* config/h8300/h8300.c (h8300_init_once): Allow -mn switch only if -mh or -ms present. (h8300_eightbit_constant_address_p): Support the normal mode. (h8300_tiny_constant_address_p): Likewise. * config/h8300/h8300.h (TARGET_NORMAL_MODE): New. (POINTER_SIZE): Add 16 bit pointer for the normal mode. (Pmode): Evaluate to HImode for the normal mode. (SIZE_TYPE): Evaluate to unsigned int for normal mode. (PTRDIFF_TYPE): Evaluate to int for the normal mode. (ASM_WORD_OP): Evaluate to word for the normal mode. * config/h8300/h8300.md (tablejump_normal_mode): New. (indirect_jump_normal_mode): New. * config/h8300/t-h8300 (MULTILIB_OPTIONS): Pass -mn option to directory. (MULTILIB_DIRNAMES): Create target dependent directory 'normal'. (MULTILIB_EXCEPTIONS): Don't turn on -mn on H8/300. * doc/invoke.texi (gccoptlist): Describe the new switch -mn. From-SVN: r59285
2002-11-20howto.html: Fix example code...Jonathan Wakely3-24/+57
2002-11-20 Jonathan Wakely <redi@gcc.gnu.org> * docs/html/21_strings/howto.html: Fix example code, cite Gaby's explanation of "<unknown type>" error with toupper/tolower. * docs/html/22_locale/howto.html: Be more consistent with example in 21_strings. From-SVN: r59284
2002-11-19re PR fortran/8587 ((double complex zero)**(double prec number) = NAN ↵Toon Moene4-1/+19
instead of zero) 2002-11-19 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/8587 * libF77/pow_zz.c: Handle (0.0, 0.0) ** power. 2002-11-19 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/8587 * news.texi: Show PR fortran/8587 fixed. From-SVN: r59280
2002-11-19i386.md (length_immediate): Do not refer to insn address.Jan Hubicka2-21/+25
* i386.md (length_immediate): Do not refer to insn address. (jcc*, jmp patterns): Compute length explicitly. From-SVN: r59279
2002-11-19natReference.cc (add_to_hash): Look at `copy', not `referent'.Tom Tromey3-12/+17
* java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not `referent'. (finalize_referred_to_object): Don't modify `referent' or `copy' fields. (add_to_hash): Correctly set `n->next' when updating list. * java/lang/ref/Reference.java (enqueue): Return false if already enqueued. From-SVN: r59278
2002-11-19jni.h: Add missing JNICALL and JNIEXPORT attributes to function and function ↵Ranjit Mathew3-524/+547
pointer... 2002-11-19 Ranjit Mathew <rmathew@hotmail.com> * include/jni.h: Add missing JNICALL and JNIEXPORT attributes to function and function pointer declarations in accordance with Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT based on whether __GCJ_JNI_IMPL__ has been defined or not. * jni.cc: Add missing JNICALL and JNIEXPORT attributes to JNI function definitions. From-SVN: r59277
2002-11-192002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr>Eric Botcazou2-0/+15
* gcc.c-torture/compile/20021119-1.c: New test. From-SVN: r59276
2002-11-19re PR c/8588 (ICE in extract_insn, at recog.c:2148)Eric Botcazou2-6/+11
2002-11-19 �Eric Botcazou �<ebotcazou@libertysurf.fr> PR c/8588 * optabs.c (expand_binop): Convert CONST_INTs in shift operations too. From-SVN: r59274
2002-11-19* gcse.c (gcse_emit_move_after): Correct typo in REG_EQUAL note.Roger Sayle2-1/+5
From-SVN: r59271
2002-11-19h8300.md (an anonymous pattern): Relax the condition to accept the same ↵Kazu Hirata2-3/+6
operands and/or subregs. * config/h8300/h8300.md (an anonymous pattern): Relax the condition to accept the same operands and/or subregs. From-SVN: r59270
2002-11-19sh.c (gen_shl_and): Revert previous patch.Daniel Jacobowitz3-23/+15
* config/sh/sh.c (gen_shl_and): Revert previous patch. * config/sh/sh.md (ashrdi3+1, ashrdi3+2): Predicate on reload_completed. From-SVN: r59269
2002-11-19h8300.c (print_operand): Update the use of EIGHTBIT_CONSTANT_ADDRESS_P.Kazu Hirata3-6/+17
* config/h8300/h8300.c (print_operand): Update the use of EIGHTBIT_CONSTANT_ADDRESS_P. (h8300_adjust_insn_length): Likewise. (h8300_eightbit_constant_address_p): Check if the given rtx is a variable with __attribute__((eightbit_data)). * config/h8300/h8300.h (OK_FOR_U): Update the use of EIGHTBIT_CONSTANT_ADDRESS_P. From-SVN: r59263
2002-11-19howto.html: Fix typo.John Gustafsson2-1/+5
2002-11-19 John Gustafsson <forgoil@rsn.bth.se> * docs/html/20_util/howto.html: Fix typo. From-SVN: r59258
2002-11-19* MAINTAINERS: Update email.Nathan Sidwell2-1/+5
From-SVN: r59257
2002-11-19contrib.texi (Contributors): Add self as second contact in addition to Jeff Law.Gerald Pfeifer2-2/+7
* doc/contrib.texi (Contributors): Add self as second contact in addition to Jeff Law. From-SVN: r59256
2002-11-19Daily bump.GCC Administrator2-2/+2
From-SVN: r59255
2002-11-19tree-inline.c: Move prototpyes of find_alloca_call_1 and find_alloca_call to ↵Andreas Jaeger2-15/+20
right place. * tree-inline.c: Move prototpyes of find_alloca_call_1 and find_alloca_call to right place. From-SVN: r59247
2002-11-19* cppfiles.c: Fix formatting.Kazu Hirata2-15/+16
From-SVN: r59245
2002-11-19gcc.c (The Specs Language): Document spec functions.Jason Thorpe14-5/+334
* gcc.c (The Specs Language): Document spec functions. (static_spec_functions, lookup_spec_function) (eval_spec_function, handle_spec_function) (if_exists_spec_function, alloc_args): New. (execute): Abort if processing_spec_function is true. (do_spec_1): Hand off spec to handle_spec_function if %: is encountered. If processing_spec_function is true, end any pending argument when the end of the string is reached. (main): Use alloc_args to allocate the initial argument vector. * gcc.h (struct spec_function): New. (lang_specific_spec_functions): New extern. * config/netbsd-elf.h (STARTFILE_SPEC): Add if-exists(crti%O%s). (ENDFILE_SPEC): Add if-exists(crtn%O%s). * config/alpha/netbsd.h (ENDFILE_SPEC): Likewise. * doc/invoke.texi: Document spec functions. * cppspec.c (lang_specific_spec_functions): New. * gccspec.c: Likewise. * g++spec.c (lang_specific_spec_functions): New. * g77spec.c (lang_specific_spec_functions): New. * jvspec.c (lang_specific_spec_functions): New. From-SVN: r59241
2002-11-19duff-1.c: New test.Jason Thorpe4-0/+163
* gcc.dg/duff-1.c: New test. * gcc.dg/duff-2.c: New test. * gcc.dg/duff-3.c: New test. From-SVN: r59240
2002-11-18hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New.Steve Ellcey2-7/+15
* config/ia64/hpux_longdouble.h (FIXUNS_TRUNCTFSI2_LIBCALL): New. (FIXUNS_TRUNCTFDI2_LIBCALL): New. (fixunstfsi_libfunc): Change. (fixunstfdi_libfunc): Change. (sdiv_optab): Don't zero out SImode handler. (udiv_optab): Don't zero out SImode handler. (smod_optab): Don't zero out SImode handler. (umod_optab): Don't zero out SImode handler. From-SVN: r59238
2002-11-18streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < ↵Jonathan Lennox3-3/+38
__sbin->egptr() before using. 2002-11-18 Jonathan Lennox <lennox@cs.columbia.edu> * include/bits/streambuf.tcc (__copy_streambufs): verify __sbin->gptr() + __bufsize < __sbin->egptr() before using. * testsuite/27_io/ostream_inserter_other.cc (test_buffer_4): Add. (test05): Use test_buffer_4. Delete unused ostringstream variables. From-SVN: r59234
2002-11-18CoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be ↵Jesse Rosenstock2-1/+7
cached... 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu> * java/nio/charset/CoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be cached, not WeakReferences to CoderResults. From-SVN: r59233
2002-11-18re PR preprocessor/8524 (_Pragma within macros is improperly expanded)Neil Booth4-22/+49
PR preprocessor/8524 * cpplib.c (run_directive): Remove previous kludge to _Pragma. Add a new one in its place, which hopefully works. (skip_rest_of_line): Change test for bottom-of-context-stack. testsuite: * gcc.dg/cpp/_Pragma5.c: New test. From-SVN: r59232
2002-11-18i386.md (addqi_1_slp): Fix output template.Jan Hubicka2-6/+11
* i386.md (addqi_1_slp): Fix output template. (subqi_1_slp): Fix type. From-SVN: r59230
2002-11-18PR libstdc++/6745 (continued)Paolo Carlini2-2/+19
2002-11-18 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/6745 (continued) * include/bits/streambuf.tcc (__copy_streambufs): Deal with interactive input by using isatty as in the fix for libstdc++/8399. From-SVN: r59229
2002-11-18calls.c (alloca_call_p): New global function.Jan Hubicka4-0/+54
* calls.c (alloca_call_p): New global function. * tree.h (alloca_call_p): New. * tree-inline.c (inlinable_function_p): Do not inline when function calls alloca. (find_alloca_call, find_alloca_call_1): New functions. From-SVN: r59228
2002-11-18re PR java/7912 (invalid verification error for arrays)Tom Tromey6-16/+44
Fix for PR java/7912: * expr.c (can_widen_reference_to): Allow cast of array to Cloneable or Serializable. * java-tree.h (java_lang_cloneable_identifier_node): Declare. (java_io_serializable_identifier_node): Likewise. * parse.y (java_lang_cloneable, java_io_serializable): Removed. (valid_ref_assignconv_cast_p): Use new identifier nodes. * lex.c (java_init_lex): Don't initialize java_lang_cloneable and java_io_serializable. * decl.c (java_init_decl_processing): Initialize java_lang_cloneable_identifier_node and java_io_serializable_identifier_node. (java_lang_cloneable_identifier_node): New global. (java_io_serializable_identifier_node): Likewise. From-SVN: r59227
2002-11-18KeyStore.java (getInstance): Fix comment and throw IllegalArgumentException ↵Joerg Brunsmann2-6/+46
if given provider is null. 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de> * java/security/KeyStore.java (getInstance): Fix comment and throw IllegalArgumentException if given provider is null. (getInstance): New method for jdk1.4 compatibility. From-SVN: r59226
2002-11-18h8300.md (*andorqi3): Use bor between bld and bst.Kazu Hirata2-8/+15
* config/h8300/h8300.md (*andorqi3): Use bor between bld and bst. Update the insn length. (*andorhi3): Likewise. (*andorsi3): Likewise. From-SVN: r59225
2002-11-18buffer.c: Remove unnecessary casts.Jens-Michael Hoffmann15-62/+73
2002-11-14 Jens-Michael Hoffmann <jensmh@gmx.de> * buffer.c: Remove unnecessary casts. * check-init.c: Likewise. * class.c: Likewise. * constants.c: Likewise. * decl.c: Likewise. * except.c: Likewise. * gjavah.c: Likewise. * jcf-io.c: Likewise. * jcf-parse.c: Likewise. * jcf-path.c: Likewise. * jvspec.c: Likewise. * lang.c: Likewise. * lex.c: Likewise. * verify.c: Likewise. From-SVN: r59224
2002-11-18* MAINTAINERS: Complete James Dennett's entry.Gerald Pfeifer2-1/+5
From-SVN: r59222
2002-11-18PlainSocketImpl.java: Fix imports.Michael Koch2-0/+6
2002-11-18 Michael Koch <konqueror@gmx.de> * java/net/PlainSocketImpl.java: Fix imports. From-SVN: r59221