Nic Ferrier
2b521fa72e
natPlainSocketImpl.cc: Added timeout handling for sockets.
...
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
2002-01-08 21:14:58 +00:00
Ulrich Weigand
14b3e8ef09
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
2002-01-08 21:00:02 +00:00
Tom Tromey
bd917d3a24
* resolve.cc (_Jv_PrepareClass): Enable verifier.
...
From-SVN: r48660
2002-01-08 20:51:45 +00:00
Richard Henderson
a693284d4d
Makefile.in (toplev.o): Depend on options.h.
...
* Makefile.in (toplev.o): Depend on options.h.
(gcc.o): Depend on specs.h.
From-SVN: r48659
2002-01-08 12:20:39 -08:00
Jakub Jelinek
b3ca30df78
expr.c (store_expr): Convert VOIDmode constants back to target's mode.
...
* expr.c (store_expr): Convert VOIDmode constants back to target's
mode.
* gcc.dg/20020108-1.c: New test.
From-SVN: r48658
2002-01-08 21:10:39 +01:00
Andreas Tobler
66839ef65e
natMethod.cc: Don't include alloca.h.
...
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
2002-01-08 20:00:50 +00:00
Gerald Pfeifer
24dbb44039
invoke.texi: Markup gcc as @command.
...
* 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
2002-01-08 19:59:50 +00:00
Benjamin Kosnik
9fbcb61abb
[multiple changes]
...
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
2002-01-08 19:57:01 +00:00
Dale Johannesen
234e114cff
rs6000.md: Add missing int register target case to movdf_low.
...
* config/rs6000/rs6000.md: Add missing int register
target case to movdf_low.
From-SVN: r48653
2002-01-08 19:14:51 +00:00
Chris Sears
00cc944db9
interpret.cc (ARRAYBOUNDSCHECK): New macro.
...
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
2002-01-08 19:07:46 +00:00
Zack Weinberg
0d24f4d131
Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or except.h.
...
* 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
2002-01-08 19:03:20 +00:00
Joseph Myers
ed722f66dd
tm.texi (ASM_OUTPUT_EH_REGION_BEG, [...]): Remove documentation of obsolete macros.
...
* 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
2002-01-08 18:16:25 +00:00
Nicola Pero
31e5e29ab3
Removed spurious warnings when compiling Objective-C
...
From-SVN: r48649
2002-01-08 18:03:56 +00:00
Nicola Pero
c18736ac11
Remove spurious warnings of the like '__objc_class_ref_NSObject defined but
...
not used'
From-SVN: r48648
2002-01-08 18:03:11 +00:00
H.J. Lu
c9f115ad25
special.exp: Add -I${srcdir}/../../libobjc for header files.
...
2002-01-08 H.J. Lu <hjl@gnu.org>
* objc.dg/special/special.exp: Add -I${srcdir}/../../libobjc
for header files.
From-SVN: r48647
2002-01-08 09:35:09 -08:00
Andreas Jaeger
b78237cdee
Remove erroneous checkin on wrong branch.
...
From-SVN: r48646
2002-01-08 17:51:38 +01:00
Andreas Jaeger
90f0738469
* gcse.c (gcse_main): Disable store_motion until it gets fixed.
...
From-SVN: r48645
2002-01-08 17:44:45 +01:00
Ulrich Weigand
bc1fa59ccd
linux.h (ASM_OUTPUT_LABELREF): Remove.
...
* 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
2002-01-08 13:11:23 +00:00
Geoffrey Keating
acd8ea2ae0
altivec-4.c: Make the 'char' entries signed also for consistency.
...
* gcc.dg/altivec-4.c: Make the 'char' entries signed also for
consistency.
From-SVN: r48641
2002-01-08 10:32:57 +00:00
Graham Stott
426b490f88
* search.c (SET_BINFO_ACCESS): Add parenthesis.
...
From-SVN: r48640
2002-01-08 10:23:01 +00:00
Graham Stott
18e314ada8
pt.c (ccat): Uppercase macro parameter.
...
* pt.c (ccat): Uppercase macro parameter.
(cat): Likewise
From-SVN: r48639
2002-01-08 10:22:28 +00:00
Graham Stott
ff0b0e4c4e
mangle.c (MANGLE_TRACE): Add parenthesis.
...
* mangle.c (MANGLE_TRACE): Add parenthesis.
(MANGLE_TRACE_TREE): Likewise.
(write_signed_number): Likewise.
(write_unsigned_number): Likewise.
From-SVN: r48638
2002-01-08 10:21:56 +00:00
Graham Stott
84b4a6f866
Remove change log entries for error.c
...
From-SVN: r48637
2002-01-08 10:21:17 +00:00
Graham Stott
75ac8dec77
decl.c (BINDING_LEVEL): Add parenthesis.
...
* decl.c (BINDING_LEVEL): Add parenthesis.
(DEF_OPERATOR): Likewise.
From-SVN: r48636
2002-01-08 10:19:10 +00:00
Graham Stott
12f50451ab
class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and whitespace.
...
* class.c (VTT_TOP_LEVEL_P): Uppercase macro parameter and
whitespace.
(VTT_MARKED_BINFO_P): Likewise.
From-SVN: r48635
2002-01-08 10:18:40 +00:00
Graham Stott
f11f20b0f5
call.c (convert_like): Add parenthesis and wrap.
...
* call.c (convert_like): Add parenthesis and wrap.
(convert_like_with_context): Likewise.
(ICS_RANK): Whitespace.
(NEED_TEMPORARY_P): Remove parenthesis.
From-SVN: r48634
2002-01-08 10:18:06 +00:00
Graham Stott
9180074778
xref.c (FILE_NAME_ABSOLUTE_P): Add parenthesis.
...
* 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
2002-01-08 10:17:21 +00:00
Graham Stott
a8086abfa0
c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
...
* 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
2002-01-08 10:03:10 +00:00
Joseph Myers
3f595aa14c
re PR other/704 (--help and --version)
...
* 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
2002-01-08 10:00:27 +00:00
Graham Stott
5bc5a8f9b7
* combine.c (combine_instructions): Fix typo.
...
From-SVN: r48630
2002-01-08 09:57:48 +00:00
Graham Stott
16ec4ebf00
* debug.h: Use "tree" and "rtx" throughout.
...
From-SVN: r48629
2002-01-08 09:54:39 +00:00
Gerald Pfeifer
489406028d
invoke.texi: Markup g77 as @command.
...
* invoke.texi: Markup g77 as @command. Remove reference to
http://gcc.gnu.org/thanks.html .
From-SVN: r48628
2002-01-08 09:28:24 +00:00
GCC Administrator
bc68137d2a
Daily bump.
...
From-SVN: r48626
2002-01-08 08:16:21 +00:00
Nick Clifton
4b69f385ca
If a symbol ref is in the constant pool, use the pool's version of the symbol instead.
...
From-SVN: r48625
2002-01-08 06:52:57 +00:00
Richard Henderson
57d1019b98
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
2002-01-07 22:13:34 -08:00
Aldy Hernandez
70ec0b9b9f
* testsuite/gcc.dg/altivec-4.c: Test altivec predicates.
...
From-SVN: r48623
2002-01-08 04:52:36 +00:00
Aldy Hernandez
fa066a2379
002-01-07 Aldy Hernandez <aldyh@redhat.com>
...
* 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
2002-01-08 04:50:33 +00:00
John David Anglin
8f949e7e12
pa.c (FUNC_BEGIN_PROLOG_LABEL, [...]): Define.
...
* 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
2002-01-08 03:02:47 +00:00
Aldy Hernandez
c62f2db548
rs6000.c (bdesc_2arg): Add altivec predicates.
...
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
2002-01-08 01:13:36 +00:00
Richard Henderson
b5235ba76c
* config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
...
From-SVN: r48618
2002-01-07 16:37:34 -08:00
Jason Merrill
7d8ac2930b
* unwind-dw2.c (execute_cfa_program): Use < again.
...
From-SVN: r48617
2002-01-07 17:41:42 -05:00
Jason Merrill
1b64d74774
add -mno-accumulate-outgoing-args on x86
...
From-SVN: r48616
2002-01-07 17:40:52 -05:00
Jakub Jelinek
571a03b876
* predict.c (combine_predictions_for_insn): Avoid division by zero.
...
From-SVN: r48615
2002-01-07 22:15:12 +01:00
Jakub Jelinek
2e9513841e
simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
...
* simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
Don't allow -1 - x -> ~x simplifications in the first pass.
* gcc.c-torture/execute/20020107-1.c: New test.
From-SVN: r48614
2002-01-07 22:13:25 +01:00
Jason Merrill
15eb1e433c
decl2.c (coerce_new_type): Downgrade error for size_t mismatch to pedwarn.
...
* decl2.c (coerce_new_type): Downgrade error for size_t mismatch
to pedwarn.
* method.c (make_thunk): If !flag_weak, give the thunk the
function's linkage.
(use_thunk): Here, too.
From-SVN: r48613
2002-01-07 15:52:32 -05:00
Aldy Hernandez
20e2671303
rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid arguments.
...
2002-01-07 Aldy Hernandez <aldyh@redhat.com>
* rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
arguments.
(altivec_expand_binop_builtin): Same.
(altivec_expand_unop_builtin): Same.
(print_operand): Fix typo.
(bdesc_1arg): Add vupk* variants.
* rs6000.h (rs6000_builtins): Add vupk* enums.
* rs6000.md: Add altivec_vupk* variants.
From-SVN: r48611
2002-01-07 20:43:18 +00:00
Joseph Myers
4dd57c1806
gcc.texi, [...]: Update copyright and last update dates.
...
* doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
and last update dates.
From-SVN: r48610
2002-01-07 19:03:37 +00:00
Benjamin Kosnik
f2e12550ca
Makefile.am (mkinstalldirs): Add.
...
2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
Craig Rodrigues <rodrigc@mediaone.net>
libstdc++/5174
* po/Makefile.am (mkinstalldirs): Add.
* po/Makefile.in: Regenerate.
From-SVN: r48609
2002-01-07 18:57:06 +00:00
Janis Johnson
0341c5d2c0
* doc/rtl.texi (Flags): Clean up documentation of RTL flags
...
From-SVN: r48608
2002-01-07 18:45:11 +00:00
Marek Michalkiewicz
c7f3e0b01f
avr.c (avr_mcu_types): Add new MCU types.
...
* config/avr/avr.c (avr_mcu_types): Add new MCU types.
* config/avr/avr.h (CPP_SPEC): Likewise.
(LINK_SPEC): Likewise.
(CRT_BINUTILS_SPECS): Likewise.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
* doc/invoke.texi (AVR Options): Document them.
From-SVN: r48604
2002-01-07 15:04:35 +00:00