- 08 Jan, 2002 40 commits
-
-
2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk> * java/net/natPlainSocketImpl.cc: Added timeout handling for sockets. (close): New function closes the socket. (write): New functions for output to socket. (read): New functions for reading from socket. * java/net/PlainSocketImpl.java: Glue for new timeout implementation. (write): Call the native impl. (read): Likewise. (getInputStream): Get a stream to read from the socket. (getOutputStream): Get a stream to write to the socket. From-SVN: r48662
Nic Ferrier committed -
s390.c (s390_preferred_reload_class): Never return ADDR_REGS if it isn't a subset of the given class. * config/s390/s390.c (s390_preferred_reload_class): Never return ADDR_REGS if it isn't a subset of the given class. * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just FP_REGS, but all superclasses as well. * config/s390/s390.c (s390_function_profiler): Fix thinko. * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem, cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare must not be a const_int. From-SVN: r48661
Ulrich Weigand committed -
From-SVN: r48660
Tom Tromey committed -
* Makefile.in (toplev.o): Depend on options.h. (gcc.o): Depend on specs.h. From-SVN: r48659
Richard Henderson committed -
* expr.c (store_expr): Convert VOIDmode constants back to target's mode. * gcc.dg/20020108-1.c: New test. From-SVN: r48658
Jakub Jelinek committed -
2002-01-07 Andreas Tobler <a.tobler@schweiz.ch> * java/lang/reflect/natMethod.cc: Don't include alloca.h. (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca. From-SVN: r48656
Andreas Tobler committed -
* doc/invoke.texi: Markup gcc as @command. Refer to http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead of http://gcc.gnu.org/thanks.html. From-SVN: r48655
Gerald Pfeifer committed -
2002-01-08 Benjamin Kosnik <bkoz@redhat.com> libstdc++/2913 libstdc++/4879 * include/bits/fstream.tcc (filebuf::_M_really_overflow): Test return value of _M_file->sync(). (filebuf::showmanyc): Check for is_open. * include/std/fstream (filebuf::sync): Tweak. * testsuite/27_io/filebuf.cc: Tweak. 2002-01-08 John Fardo <jfardo@laurelnetworks.com> Brad Garcia <garsh@attbi.com> * testsuite/27_io/filebuf_members.cc: Add test. From-SVN: r48654
Benjamin Kosnik committed -
* config/rs6000/rs6000.md: Add missing int register target case to movdf_low. From-SVN: r48653
Dale Johannesen committed -
2002-01-08 Chris Sears <cbsears_sf@yahoo.com> * interpret.cc (ARRAYBOUNDSCHECK): New macro. (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload, insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore, insn_lastore, insn_fastore, insn_dastore, insn_aastore, insn_bastore, insn_castore, insn_sastore]: Use it. (continue1) [insn_arraylength]: Check for null array. From-SVN: r48652
Chris Sears committed -
* Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or except.h. Remove commands to define USING_SJLJ_EXCEPTIONS. (cppinit.o): Depend on except.h. (gencheck.h, options.h, specs.h, s-gencheck, s-options, s-specs): New rules. * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION. Don't create specs.h/options.h/gencheck.h here. Remove unnecessary variable settings from last argument of AC_OUTPUT. * config.in, configure: Regenerate. * intl.c: Hardcode package name as "gcc". * cppinit.c: Include except.h. (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when appropriate. * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c: Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if (!)USING_SJLJ_EXCEPTIONS. * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__. From-SVN: r48651
Zack Weinberg committed -
* doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END, ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP, OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove documentation of obsolete macros. * system.h: Poison these macros. * config/d30v/d30v.h, config/ns32k/encore.h, config/stormy16/stormy16.h: Remove definitions and commented out definitions of obsolete macros. From-SVN: r48650
Joseph Myers committed -
From-SVN: r48649
Nicola Pero committed -
not used' From-SVN: r48648
Nicola Pero committed -
2002-01-08 H.J. Lu <hjl@gnu.org> * objc.dg/special/special.exp: Add -I${srcdir}/../../libobjc for header files. From-SVN: r48647
H.J. Lu committed -
From-SVN: r48646
Andreas Jaeger committed -
From-SVN: r48645
Andreas Jaeger committed -
* config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove. * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR to insn adjusting stack/frame pointer. * config/s390/s390.md (reload_la_64, reload_la_31): Do not accept operands that cause the insn to be non-splittable. From-SVN: r48643
Ulrich Weigand committed -
* gcc.dg/altivec-4.c: Make the 'char' entries signed also for consistency. From-SVN: r48641
Geoffrey Keating committed -
From-SVN: r48640
Graham Stott committed -
* pt.c (ccat): Uppercase macro parameter. (cat): Likewise From-SVN: r48639
Graham Stott committed -
* mangle.c (MANGLE_TRACE): Add parenthesis. (MANGLE_TRACE_TREE): Likewise. (write_signed_number): Likewise. (write_unsigned_number): Likewise. From-SVN: r48638
Graham Stott committed -
From-SVN: r48637
Graham Stott committed -
* decl.c (BINDING_LEVEL): Add parenthesis. (DEF_OPERATOR): Likewise. From-SVN: r48636
Graham Stott committed -
* class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and whitespace. (VTT_MARKED_BINFO_P): Likewise. From-SVN: r48635
Graham Stott committed -
* call.c (convert_like): Add parenthesis and wrap. (convert_like_with_context): Likewise. (ICS_RANK): Whitespace. (NEED_TEMPORARY_P): Remove parenthesis. From-SVN: r48634
Graham Stott committed -
* xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis. (PALLOC): Uppercase macro parameter and whitespace. (SALLOC): Uppercase macro parameter. (SFREE): Uppercase macros parameter, add parenthese and whitespace. (STREQL): Uppercase macro parameter and whitespace. (STRNEQ): Likewise. (STRLSS): Likewise. (STRLEQ): Likewise. (STRGTR): Likewise. (STRGEQ): Likewise. From-SVN: r48633
Graham Stott committed -
* c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter. (C_TYPE_FIELDS_VOLATILE): Likewise. (C_TYPE_BEING_DEFINED): Likewise. (C_IS_RESERVED_WORD): Likewise. (C_TYPE_VARIABLE_SIZE): Likewise. (C_DECL_VARIABLE_SIZE): Likewise. (C_MISSING_PROTOTYPE_WARNED): Likewise. (C_SET_EXP_ORIGINAL_CODE): Likewise. (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove parenthesis. (C_DECL_ANTICIPATED): Likewise. (c_build_type_variant): Add parenthesis. From-SVN: r48632
Graham Stott committed -
* gcc.c (option_map): Remove --version. (process_command): Handle -fversion following the GNU Coding Standards. Partially addresses PR other/704. f: * g77spec.c (lookup_option): Handle -fversion. (lang_specific_driver): Update copyright date in --version output. From-SVN: r48631
Joseph Myers committed -
From-SVN: r48630
Graham Stott committed -
From-SVN: r48629
Graham Stott committed -
* invoke.texi: Markup g77 as @command. Remove reference to http://gcc.gnu.org/thanks.html. From-SVN: r48628
Gerald Pfeifer committed -
From-SVN: r48626
GCC Administrator committed -
From-SVN: r48625
Nick Clifton committed -
regrename.c (find_oldest_value_reg): Ignore the value chain if the original register was copied in a mode with a... * regrename.c (find_oldest_value_reg): Ignore the value chain if the original register was copied in a mode with a fewer number of hard registers than the desired mode. (copyprop_hardreg_forward_1): Likewise. (debug_value_data): Fix loop test. * toplev.c (parse_options_and_default_flags): Reenable -fcprop-registers at -O1. From-SVN: r48624
Richard Henderson committed -
From-SVN: r48623
Aldy Hernandez committed -
* config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates. (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi. * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec predicates. * config/rs6000/rs6000.md: Add altivec predicate patterns. From-SVN: r48622
Aldy Hernandez committed -
* pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define. (pa_output_function_prologue): Output local label at the beginning of the prologue when profiling. (hppa_profile_hook): Use the local label rather than the function label. * pa.h (PROFILE_BEFORE_PROLOGUE): Define. From-SVN: r48621
John David Anglin committed -
2002-01-07 Aldy Hernandez <aldyh@redhat.com> * rs6000.c (bdesc_2arg): Add altivec predicates. * rs6000.c (print_operand): Remove extra space. (altivec_expand_unop_builtin): Fix thinko. (altivec_expand_binop_builtin): Same. (altivec_expand_ternop_builtin): Same. (altivec_expand_builtin): Same. From-SVN: r48620
Aldy Hernandez committed -
From-SVN: r48618
Richard Henderson committed
-