Gabriel Dos Reis [Sat, 5 Jun 1999 09:41:22 +0000 (11:41 +0200)]
* std/std_valarray.h: Don't #include unconditionally <alloca.h>
From-SVN: r27364
Craig Burley [Sat, 5 Jun 1999 01:18:45 +0000 (21:18 -0400)]
doc stuff that used to be in README.g77
From-SVN: r27359
Jeff Law [Sat, 5 Jun 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27358
Gabriel Dos Reis [Fri, 4 Jun 1999 19:35:36 +0000 (21:35 +0200)]
std_valarray.h: New file.
* std/std_valarray.h: New file.
* std/slice.h: New file.
* std/slice_array.h: New file.
* std/gslice.h: New file.
* std/gslice_array.h: New file.
* std/mask_array.h: New file.
* std/indirect_array.h: New file.
* std/valarray_array.h: New file.
* std/valarray_array.tcc: New file.
* std/valarray_meta.h: New file.
* valarray.cc: New file.
* valarray: New file
* Makefile.in (OBJS): add valarray.o
(HEADERS): add valarray
(valarray.o): define dependency on valarray.cc
(install): make it possible to install valarray files.
From-SVN: r27354
Rainer Orth [Fri, 4 Jun 1999 13:41:19 +0000 (13:41 +0000)]
osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
* alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
(LIB_SPEC): Likewise.
Link with -lprof1_r for -g/-pg.
From-SVN: r27353
Craig Burley [Fri, 4 Jun 1999 08:14:19 +0000 (08:14 +0000)]
add item to missing features
From-SVN: r27350
Jason Merrill [Fri, 4 Jun 1999 03:45:57 +0000 (03:45 +0000)]
semantics.c (finish_if_stmt_cond): Copy cond to permanent_obstack.
* semantics.c (finish_if_stmt_cond): Copy cond to permanent_obstack.
(finish_while_stmt_cond, finish_do_stmt, finish_for_cond): Likewise.
From-SVN: r27348
Andreas Schwab [Fri, 4 Jun 1999 01:32:21 +0000 (01:32 +0000)]
loop.c (check_dbra_loop): Fix change of Jan 19.
1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* loop.c (check_dbra_loop): Fix change of Jan 19.
From-SVN: r27345
Nathan Sidwell [Fri, 4 Jun 1999 01:31:42 +0000 (01:31 +0000)]
* except.c (build_throw): Check throw expression validity.
From-SVN: r27344
Andreas Schwab [Fri, 4 Jun 1999 01:30:42 +0000 (01:30 +0000)]
* gcc.c-torture/execute/990604-1.c: New test.
From-SVN: r27343
Jeff Law [Fri, 4 Jun 1999 00:45:04 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27341
Marc Espie [Thu, 3 Jun 1999 23:19:02 +0000 (23:19 +0000)]
freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
* freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
(STARTFILE_SPEC): Define, override the svr4.h version.
(ENDFILE_SPEC): Likewise.
From-SVN: r27340
Jeff Law [Thu, 3 Jun 1999 23:06:30 +0000 (17:06 -0600)]
inclhack.def (limits_ifndefs): Also apply to sys/limits.h
�
* fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
* fixinc/fixincl.x: Regenerated.
* fixinc/inclhack.sh: Regenerated.
From-SVN: r27338
Jeff Law [Thu, 3 Jun 1999 23:06:24 +0000 (17:06 -0600)]
inclhack.def (limits_ifndefs): Also apply to sys/limits.h
�
* fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
* fixinc/fixincl.x: Regenerated.
* fixinc/inclhack.sh: Regenerated.
From-SVN: r27337
Warren Levy [Thu, 3 Jun 1999 22:29:12 +0000 (22:29 +0000)]
[multiple changes]
1999-06-02 Warren Levy <warrenl@cygnus.com>
* java/net/URL.java (URL(URL,String)): Initialize port to -1.
Ignore context if spec is an absolute URL. Fix braindead
string comparison.
(hashCode): Use JDK 1.2 style algorithm.
* java/net/URLStreamHandler.java (parseURL): Reimplement to handle
context URL properly.
1999-05-30 Anthony Green <green@cygnus.com>
* java/net/URLStreamHandler.java (parseURL): Parse relative URLs
correctly. Clean up "/../" and "/./" path fragments.
From-SVN: r27334
J"orn Rennecke [Thu, 3 Jun 1999 21:48:04 +0000 (21:48 +0000)]
Fix pcrel too far problems due to upping CACHE_LOG on SH2:
* sh.c (barrier_align): Don't return early for normal branch/barrier
when optimizing for SH2.
From-SVN: r27333
Robert Lipe [Thu, 3 Jun 1999 21:27:41 +0000 (15:27 -0600)]
udk.h (LINK_SPEC): Correct linker search path for system libraries.
P
* i386/udk.h (LINK_SPEC): Correct linker search path for
system libraries.
From-SVN: r27331
Robert Lipe [Thu, 3 Jun 1999 21:27:38 +0000 (15:27 -0600)]
udk.h (LINK_SPEC): Correct linker search path for system libraries.
�
* i386/udk.h (LINK_SPEC): Correct linker search path for
system libraries.
From-SVN: r27330
J"orn Rennecke [Thu, 3 Jun 1999 20:00:16 +0000 (20:00 +0000)]
sh.c (fixup_addr_diff_vecs): Emit braf reference label.
* sh.c (fixup_addr_diff_vecs): Emit braf reference label.
(braf_label_ref_operand): Delete.
* sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
* sh.md (casesi_jump_2): Operand1 is now the inside of a
label_ref, and has no predicate.
The patten has a predicate to guard against invalid substitutions.
(dummy_jump): Delete.
(casesi): Update use of casesi_jump_2.
From-SVN: r27329
Mark Mitchell [Thu, 3 Jun 1999 10:07:18 +0000 (10:07 +0000)]
decl.c (grokdeclarator): Don't treat arbitrary types as unsigned just because flag_signed_bitfields is false.
* decl.c (grokdeclarator): Don't treat arbitrary types as unsigned
just because flag_signed_bitfields is false.
From-SVN: r27328
Bruce Korb [Thu, 3 Jun 1999 07:56:01 +0000 (07:56 +0000)]
Io_Def_Quotes): corrected sed expression
From-SVN: r27327
Nathan Sidwell [Thu, 3 Jun 1999 07:16:15 +0000 (07:16 +0000)]
semantics.c (begin_class_definition): Update the struct's location here ...
* semantics.c (begin_class_definition): Update the struct's
location here ...
* class.c (finish_struct): ... rather than here.
* decl.c (make_typename_type): Don't rely on uninitialized
variable.
From-SVN: r27326
Jason Merrill [Thu, 3 Jun 1999 02:31:22 +0000 (02:31 +0000)]
dwarf2out.c (add_incomplete_type): New fn.
* dwarf2out.c (add_incomplete_type): New fn.
(gen_struct_or_union_type_die): Call it.
(retry_incomplete_types): New fn.
(dwarf2out_finish): Call it.
From-SVN: r27325
Jeff Law [Thu, 3 Jun 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27322
Jeff Law [Thu, 3 Jun 1999 00:19:42 +0000 (18:19 -0600)]
gcse.c (insert_insn_end_bb): Correct placement of insns when the current block starts with a CODE_LABEL and...
�
* gcse.c (insert_insn_end_bb): Correct placement of insns when the
current block starts with a CODE_LABEL and ends with a CALL and
we can not find all the argument setup instructions for the CALL.
From-SVN: r27321
Jeff Law [Thu, 3 Jun 1999 00:19:36 +0000 (18:19 -0600)]
gcse.c (insert_insn_end_bb): Correct placement of insns when the current block starts with a CODE_LABEL and...
�
* gcse.c (insert_insn_end_bb): Correct placement of insns when the
current block starts with a CODE_LABEL and ends with a CALL and
we can not find all the argument setup instructions for the CALL.
From-SVN: r27320
Mark Mitchell [Wed, 2 Jun 1999 15:42:19 +0000 (15:42 +0000)]
Revert this change:
* fold-const.c (fold): STRIP_NOPS when deciding whether or not
something is a candidate for optimize_bit_field_compare.
From-SVN: r27318
J"orn Rennecke [Wed, 2 Jun 1999 13:56:21 +0000 (13:56 +0000)]
* sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
From-SVN: r27317
Richard Henderson [Wed, 2 Jun 1999 12:31:27 +0000 (05:31 -0700)]
alpha.c (override_options): Thinko in last patch.
* alpha.c (override_options): Thinko in last patch.
* alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
(LIB_SPEC): Recognize -pthread.
From-SVN: r27316
Anthony Green [Wed, 2 Jun 1999 11:00:44 +0000 (11:00 +0000)]
[multiple changes]
Wed Jun 2 10:44:38 1999 Anthony Green <green@cygnus.com>
* except.c (link_handler): Chain exception handlers in order.
Wed Jun 2 10:41:24 1999 Anthony Green <green@cygnus.com>
* expr.c (expand_byte_code): Fill unreachable bytecode regions
with nops and process as usual in order to always set correct EH
ranges. Emit detailed warnings about unreachable bytecodes.
Wed Jun 2 10:35:13 1999 Anthony Green <green@cygnus.com>
* class.c (build_utf8_ref): Mark cinit and utf8 tree nodes as
constant.
(From egcs posted patches.)
From-SVN: r27314
Nick Clifton [Wed, 2 Jun 1999 08:46:55 +0000 (08:46 +0000)]
Synchronise definitions of USER_LABEL_PREFIX
From-SVN: r27313
Bruce Korb [Wed, 2 Jun 1999 07:08:54 +0000 (07:08 +0000)]
Remove references to setenv/putenv
From-SVN: r27312
Jeffrey A Law [Wed, 2 Jun 1999 01:37:08 +0000 (01:37 +0000)]
README, [...]: Update name (egcs -> gcc) and version #s (1.1 -> 2.96) as needed.
* README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
and version #s (1.1 -> 2.96) as needed.
* README.g77: Kill way out of date file in the toplevel directory.
Part of the ongoing conversion to the one true gcc.
From-SVN: r27308
Jeff Law [Wed, 2 Jun 1999 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27307
David O'Brien [Wed, 2 Jun 1999 00:08:20 +0000 (00:08 +0000)]
configure.in (i[34567]86-*-freebsdelf): Don't include linux.h, i386/freebsd-elf.h no longer requires it.
* configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
* configure: Rebuilt.
* i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
(ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
(PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
(SWITCH_TAKES_ARG): Likewise.
* i386/freebsd.h: Remove FREEBSD_NATIVE support.
* config/t-freebsd: Moved from config/i386/ so it can used for all
FreeBSD targets.
From-SVN: r27305
Philippe De Muyter [Tue, 1 Jun 1999 23:52:42 +0000 (01:52 +0200)]
acconfig.h (libintl.h): Does not include this file here because it will define `NULL' before the system...
Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
* acconfig.h (libintl.h): Does not include this file here because
it will define `NULL' before the system files have got any chance
to define it.
* intl/explodename.c (stdlib.h): Include this file only if we have it.
From-SVN: r27300
Philippe De Muyter [Tue, 1 Jun 1999 23:43:50 +0000 (17:43 -0600)]
x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
8
* m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
From-SVN: r27299
Philippe De Muyter [Tue, 1 Jun 1999 23:43:44 +0000 (17:43 -0600)]
x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
�
* m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
From-SVN: r27298
Robert Lipe [Tue, 1 Jun 1999 23:27:14 +0000 (23:27 +0000)]
bastring.h (class basic_string:Rep): Encode xlock opcode as .bytes instead of mnemonics.
Wed Jun 2 00:21:54 1999 Robert Lipe <robertlipe@usa.net>
* std/bastring.h (class basic_string:Rep): Encode xlock opcode
as .bytes instead of mnemonics.
From-SVN: r27295
Eric Raskin [Tue, 1 Jun 1999 23:25:17 +0000 (23:25 +0000)]
* configure.in: Added DG/UX target fragment
From-SVN: r27294
Robert Lipe [Tue, 1 Jun 1999 23:14:24 +0000 (23:14 +0000)]
configure.in (i[34567]86-*-udk*): Install headers with cpio.
Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
* configure.in (i[34567]86-*-udk*): Install headers with cpio.
* configure: Rebuilt.
From-SVN: r27291
Gabriel Dos Reis [Tue, 1 Jun 1999 17:17:25 +0000 (17:17 +0000)]
Added my name to the list, test for write access.
From-SVN: r27289
David Edelsohn [Tue, 1 Jun 1999 16:12:21 +0000 (16:12 +0000)]
aix41.h (RS6000_CALL_GLUE): Define.
* rs6000/aix41.h (RS6000_CALL_GLUE): Define.
* rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
* rs6000/rs6000.c (rs6000_file_start): Use putc.
(rs6000_output_load_toc_table): Same.
(output_prolog, output_mi_thunk): Same.
* rs6000/rs6000.h (SELECT_SECTION): Formatting.
(ASM_GLOBALIZE_LABEL): Use putc.
From-SVN: r27287
Jeff Law [Tue, 1 Jun 1999 00:45:39 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27286
Richard Henderson [Mon, 31 May 1999 15:29:17 +0000 (08:29 -0700)]
alpha.md (reload_*_help): New patterns and splitters.
* alpha.md (reload_*_help): New patterns and splitters.
(reload_*): Use them.
(mov[qh]i): Likewise.
From-SVN: r27283
Jeffrey A Law [Mon, 31 May 1999 13:34:55 +0000 (13:34 +0000)]
jump.c (jump_optimize_1): Only set CAN_REACH_END if calculate_can_reach_end returns nonzero.
* jump.c (jump_optimize_1): Only set CAN_REACH_END if
calculate_can_reach_end returns nonzero.
From-SVN: r27281
Mark Mitchell [Mon, 31 May 1999 11:44:46 +0000 (11:44 +0000)]
cccp.c (handle_directive): Handle backslash-newlines in quoted strings correctly.
* cccp.c (handle_directive): Handle backslash-newlines in quoted
strings correctly.
From-SVN: r27279
Cort Dougan [Mon, 31 May 1999 09:39:09 +0000 (09:39 +0000)]
* rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
From-SVN: r27278
John Wehle [Mon, 31 May 1999 08:43:04 +0000 (08:43 +0000)]
flow.c (mark_regs_live_at_end, [...]): Only give FRAME_POINTER_REGNUM and HARD_FRAME_POINTER_REGNUM special treatment...
* flow.c (mark_regs_live_at_end, insn_dead_p,
mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
and HARD_FRAME_POINTER_REGNUM special treatment if reload
hasn't run or the frame pointer is needed.
* haifa-sched.c (attach_deaths): Likewise.
* sched.c (attach_deaths): Likewise.
From-SVN: r27276
Kaveh R. Ghazi [Mon, 31 May 1999 06:39:48 +0000 (06:39 +0000)]
* Makefile.in (ALL_CFLAGS): Add '-W -Wall'.
From-SVN: r27274
Jeffrey A Law [Mon, 31 May 1999 02:56:40 +0000 (02:56 +0000)]
tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
* tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
Forgot to commit.
From-SVN: r27273
Jeffrey A Law [Mon, 31 May 1999 02:22:12 +0000 (02:22 +0000)]
configure.in (native gas tests): Search for an assembler in the same manner that the installed compiler will.
* configure.in (native gas tests): Search for an assembler in the
same manner that the installed compiler will.
* configure: Rebuilt.
From-SVN: r27269
Jeff Law [Mon, 31 May 1999 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27267
Mark Mitchell [Mon, 31 May 1999 00:27:55 +0000 (00:27 +0000)]
tree.c (build_cplus_array_type_1): Use push_obstacks_nochange and friends rather than messing with current_obstack...
* tree.c (build_cplus_array_type_1): Use push_obstacks_nochange
and friends rather than messing with current_obstack directly.
(cp_build_qualified_type_real): Rework ARRAY_TYPE
allocation to match practice throughout the rest of the
compiler.
From-SVN: r27265
Mark Mitchell [Mon, 31 May 1999 00:25:56 +0000 (00:25 +0000)]
tree.c (cp_build_qualified_type_real): Rework ARRAY_TYPE allocation to match practice throughout the rest of the compiler.
* tree.c (cp_build_qualified_type_real): Rework ARRAY_TYPE
allocation to match practice throughout the rest of the
compiler.
From-SVN: r27264
Jeffrey A Law [Sun, 30 May 1999 23:51:39 +0000 (23:51 +0000)]
alias.c (find_base_term): Improve handling of addresses constructed from binary operations.
* alias.c (find_base_term): Improve handling of addresses
constructed from binary operations.
From-SVN: r27263
Jeffrey A Law [Sun, 30 May 1999 23:40:07 +0000 (23:40 +0000)]
* gcc.c-torture/execute/990531-1.c: New test.
From-SVN: r27261
Mark Mitchell [Sun, 30 May 1999 21:55:38 +0000 (21:55 +0000)]
Fix test; original version was not the intended one.
From-SVN: r27260
Mark Mitchell [Sun, 30 May 1999 21:50:51 +0000 (21:50 +0000)]
lex.c (make_lang_type): Create TYPE_BINFO for TEMPLATE_TYPE_PARMs just like for non-template types.
* lex.c (make_lang_type): Create TYPE_BINFO for
TEMPLATE_TYPE_PARMs just like for non-template types.
From-SVN: r27259
Mark Mitchell [Sun, 30 May 1999 21:50:49 +0000 (21:50 +0000)]
lex.c (make_lang_type): Create TYPE_BINFO for TEMPLATE_TYPE_PARMs just like for non-template types.
* lex.c (make_lang_type): Create TYPE_BINFO for
TEMPLATE_TYPE_PARMs just like for non-template types.
[[Split portion of a mixed commit.]]
From-SVN: r27258.2
Craig Burley [Sun, 30 May 1999 18:09:07 +0000 (14:09 -0400)]
code, docs
[[Split portion of a mixed commit.]]
From-SVN: r27257.2
Richard Henderson [Sun, 30 May 1999 16:14:07 +0000 (09:14 -0700)]
* config.guess, config.sub: Use toplevel file.
From-SVN: r27256
Cort Dougan [Sun, 30 May 1999 16:05:07 +0000 (16:05 +0000)]
Cort Dougan <cort@cs.nmt.edu>
Cort Dougan <cort@cs.nmt.edu>
* config.guess (ppc-*-linux-gnu): Also use ld emul elf32ppclinux.
From-SVN: r27254
Mark Mitchell [Sun, 30 May 1999 14:41:33 +0000 (14:41 +0000)]
decl.c (start_decl): Move checks on initialization to ...
* decl.c (start_decl): Move checks on initialization to ...
(cp_finish_decl): Here. Tidy formatting slightly.
From-SVN: r27252
Jeff Law [Sun, 30 May 1999 13:33:11 +0000 (07:33 -0600)]
[multiple changes]
Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
* dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
* function.h (cleanup_label, frame_offset): Declare.
(tail_recursion_label, tail_recursion_reentry): Likewise.
(arg_pointer_save_area, rtl_expr_chain): Likewise.
* stmt.c (cleanup_label, frame_offset): Delete extern declarations.
(tail_recursion_label, tail_recursion_reentry): Likewise.
(arg_pointer_save_area, rtl_expr_chain): Likewise.
From-SVN: r27249
Eric Raskin [Sun, 30 May 1999 13:25:28 +0000 (13:25 +0000)]
* libio/dgux.mt: New file for DG/UX configuration of libio
From-SVN: r27248
Philip Blundell [Sun, 30 May 1999 12:04:01 +0000 (12:04 +0000)]
aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined.
Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
* config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
defined.
* config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
(MAX_OFILE_ALIGNMENT): Likewise.
From-SVN: r27246
Jeff Law [Sun, 30 May 1999 00:45:32 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27244
Craig Burley [Sat, 29 May 1999 10:41:23 +0000 (06:41 -0400)]
docs, prep
[[Split portion of a mixed commit.]]
From-SVN: r27238.2
Craig Burley [Sat, 29 May 1999 07:59:18 +0000 (03:59 -0400)]
docs
From-SVN: r27237
Craig Burley [Sat, 29 May 1999 05:16:59 +0000 (01:16 -0400)]
docs
From-SVN: r27236
Jeff Law [Sat, 29 May 1999 00:45:33 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27235
Craig Burley [Fri, 28 May 1999 23:17:04 +0000 (19:17 -0400)]
put development docs on mainline for now
From-SVN: r27233
Robert Lipe [Fri, 28 May 1999 21:43:32 +0000 (21:43 +0000)]
Replace local include scheme with #include of system.h
From-SVN: r27232
Eric Raskin [Fri, 28 May 1999 21:33:05 +0000 (21:33 +0000)]
fixinc.dgux: Use modified _int_varargs.h
From-SVN: r27231
Warren Levy [Fri, 28 May 1999 19:29:53 +0000 (19:29 +0000)]
DatagramSocket.java (laddr): Removed.
* java/net/DatagramSocket.java (laddr): Removed.
(DatagramSocket): Removed attempts to get or set laddr if null.
(getLocalAddress): Reimplemented per spec.
* java/net/MulticastSocket.java (setTimeToLive): Throw exception
when ttl is 0.
(joinGroup): Throw NullPointerException if any argument is null.
(leaveGroup): ditto.
* java/net/PlainDatagramSocketImpl.java: Updated comments.
* java/net/PlainSocketImpl.java (timeout): Added.
(getInputStream): Added FIXME comment on how to support timeouts
for TCP.
* java/net/ServerSocket.java (ServerSocket): Added FIXME comment.
* java/net/Socket.java: Added FIXME comments to identify
conflicting specs between the JCL and JDK 1.2 documents.
* java/net/natPlainDatagramSocketImpl.cc (bind): Use INADDR_ANY
if host is null. Get localport value resolved by kernel if bind
lport is 0.
(receive): Implemented support for timeouts in UDP.
(setOption): Implemented based on natPlainSocketImpl version.
(getOption): ditto.
* java/net/natPlainSocketImpl.cc (bind): Get localport value
resolved by kernel if bind lport is 0.
(connect): Get localport value resolved by kernel if bind wasn't
done to set localport.
(accept): Implemented support for timeouts for ServerSocket.
(setOption): Save value for SO_TIMEOUT.
(getOption): Return timeout for SO_TIMEOUT.
From-SVN: r27230
Alexandre Petit-Bianco [Fri, 28 May 1999 19:26:08 +0000 (19:26 +0000)]
[multiple changes]
Fri May 28 18:22:45 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (lookup_field_wrapper): Unified returned value to NULL
or the searched field decl.
Fri May 28 11:34:05 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (fold_constant_for_init): Convert numerical constant
values to the type of the assigned field.
Thu May 27 19:57:40 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (lookup_field): Relaxed the test on class loading error
detection.
* parse.y (fold_constant_for_init): Enabeled old code.
Wed May 26 18:06:02 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (valid_ref_assignconv_cast_p): Let `_Jv_CheckCast'
decide the validity of the cast of a java.lang.Cloneable reference
to an array.
(patch_conditional_expr): Fixed first argument passed to
binary_numeric_promotion.
From-SVN: r27229
Craig Burley [Fri, 28 May 1999 14:52:41 +0000 (14:52 +0000)]
fix thinko
From-SVN: r27223
Robert Lipe [Fri, 28 May 1999 13:26:49 +0000 (13:26 +0000)]
"New" testsuite entries approved by Jeff on 5/23.
From-SVN: r27222
Kaveh R. Ghazi [Fri, 28 May 1999 07:34:48 +0000 (07:34 +0000)]
putenv.c: Include ansidecl.h to define `const'.
* putenv.c: Include ansidecl.h to define `const'.
* setenv.c: Likewise.
From-SVN: r27221
Eric Raskin [Fri, 28 May 1999 02:54:05 +0000 (02:54 +0000)]
t-dgux (EXTRA_PARTS): Add crti.o
* i386/t-dgux (EXTRA_PARTS): Add crti.o
(crti.o): Add build rule and dependencies.
From-SVN: r27218
Franz Sirl [Fri, 28 May 1999 02:49:16 +0000 (02:49 +0000)]
sysv4.h (CC1_SPEC): Add support for -profile
* rs6000/sysv4.h (CC1_SPEC): Add support for -profile
(LIB_LINUX_SPEC): Likewise.
(LIB_LINUX_SPEC): Add support for -pthread
(CPP_OS_LINUX_SPEC): Likewise.
(CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
specified
From-SVN: r27217
Mark Mitchell [Fri, 28 May 1999 02:37:13 +0000 (02:37 +0000)]
decl.c (add_binding): Don't complain about a redeclaration of a semantically identical typedef in a...
* decl.c (add_binding): Don't complain about a redeclaration of a
semantically identical typedef in a local scope.
From-SVN: r27213
Mark Klein [Fri, 28 May 1999 02:10:39 +0000 (02:10 +0000)]
* makeinfo/makeinfo.c: Add HAVE_LC_MESSAGES around setlocale call.
From-SVN: r27212
Nathan Sidwell [Fri, 28 May 1999 01:56:31 +0000 (01:56 +0000)]
decl.c (complete_array_type): Allocate off same obstack.
* decl.c (complete_array_type): Allocate off same obstack. Fix
DO_DEFAULT comment to match reality.
* friend.c (make_friend_class): Fix diagnostic typo.
From-SVN: r27210
Jeff Law [Fri, 28 May 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r27208
Mark Mitchell [Fri, 28 May 1999 00:20:07 +0000 (00:20 +0000)]
decl.c (lookup_namespace_name): Handle getting a TEMPLATE_ID_EXPR.
* decl.c (lookup_namespace_name): Handle getting a
TEMPLATE_ID_EXPR.
(expand_static_init): Don't call pushdecl for implicitly declared
`atexit' used to register destructors.
From-SVN: r27207
Jeff Law [Thu, 27 May 1999 23:44:43 +0000 (17:44 -0600)]
Trivial change to test new features in the script to update the online docs.
From-SVN: r27206
H.J. Lu [Thu, 27 May 1999 12:11:03 +0000 (06:11 -0600)]
i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.
@
* i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
conditional move.
(notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
(output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
for IEEE math and CC_FCOMI.
(put_jump_code): No IEEE if CC_FCOMI is set.
From-SVN: r27204
H.J. Lu [Thu, 27 May 1999 12:10:59 +0000 (06:10 -0600)]
i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.
�
* i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
conditional move.
(notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
(output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
for IEEE math and CC_FCOMI.
(put_jump_code): No IEEE if CC_FCOMI is set.
From-SVN: r27203
Andreas Schwab [Thu, 27 May 1999 02:33:58 +0000 (20:33 -0600)]
fold-const.c (fold_truthop): Make the field reference unsigned when converting a single bit compare.
h
* fold-const.c (fold_truthop): Make the field reference unsigned
when converting a single bit compare.
From-SVN: r27202
Andreas Schwab [Thu, 27 May 1999 02:33:56 +0000 (20:33 -0600)]
fold-const.c (fold_truthop): Make the field reference unsigned when converting a single bit compare.
�
* fold-const.c (fold_truthop): Make the field reference unsigned
when converting a single bit compare.
From-SVN: r27201
Jeffrey A Law [Thu, 27 May 1999 02:01:30 +0000 (02:01 +0000)]
varasm.c (STRIP_NAME_ENCODING): Remove default definition.
* varasm.c (STRIP_NAME_ENCODING): Remove default definition.
* output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
version did.
From-SVN: r27196
J"orn Rennecke [Thu, 27 May 1999 01:46:21 +0000 (01:46 +0000)]
* loop.c (strength_reduce): Don't do biv->giv conversion on constants.
From-SVN: r27194
Franz Sirl [Thu, 27 May 1999 01:44:02 +0000 (01:44 +0000)]
* gcc.c-torture/compile/990527-1.c: New test.
From-SVN: r27193
Joern Rennecke [Thu, 27 May 1999 01:24:14 +0000 (01:24 +0000)]
* gcc.c-torture/execute/990527-1.c: New test.
From-SVN: r27192
Jeff Law [Thu, 27 May 1999 01:19:12 +0000 (19:19 -0600)]
reload.c (push_reload): Do not call remove_address_replacements when...
p
* reload.c (push_reload): Do not call remove_address_replacements
when presented with identical optional reloads.
From-SVN: r27191
Jeff Law [Thu, 27 May 1999 01:19:07 +0000 (19:19 -0600)]
reload.c (push_reload): Do not call remove_address_replacements when...
�
* reload.c (push_reload): Do not call remove_address_replacements
when presented with identical optional reloads.
From-SVN: r27190
Jeff Law [Thu, 27 May 1999 00:46:03 +0000 (18:46 -0600)]
Daily bump.
From-SVN: r27187
Warren Levy [Wed, 26 May 1999 17:00:06 +0000 (17:00 +0000)]
[multiple changes]
1999-05-26 Bryce McKinlay <bryce@albatross.co.nz>
* java/net/DatagramSocket.java (getSoTimeout): Verify class type.
* java/net/DatagramSocketImpl.java (getOption): Made abstract.
(setOption): Made abstract.
* java/net/PlainDatagramSocketImpl.java: Mirror SocketOptions fields
to avoid cpp conflicts in native code.
* java/net/PlainSocketImpl.java: Mirror SocketOptions fields to avoid
cpp conflicts in native code.
* java/net/ServerSocket.java (toString): Prepended "ServerSocket".
* java/net/Socket.java (getLocalAddress): Implemented.
(setTcpNoDelay): Implemented.
(getTcpNoDelay): Implemented.
(setSoLinger): Implemented.
(getSoLinger): Implemented.
(getSoTimeout): Verify class type.
(setSendBufferSize): Implemented.
(getSendBufferSize): Implemented.
(setReceiveBufferSize): Implemented.
(getReceiveBufferSize): Implemented.
(toString): Prepended "Socket".
* java/net/SocketImpl.java (toString): Rewritten.
(getOption): Made abstract.
(setOption): Made abstract.
* java/net/natPlainSocketImpl.cc (connect): Set localport properly.
(setOption): Implemented.
(getOption): Implemented.
1999-05-26 Warren Levy <warrenl@cygnus.com>
* java/net/DatagramSocket.java (DatagramSocket): Get local host
address when null. Set SO_REUSEADDR for multicasts.
(getSoTimeout): Implemented.
(setSoTimeout): Implemented.
* java/net/DatagramSocketImpl.java: Implement SocketOptions interface.
* java/net/MulticastSocket.java (getInterface): Implemented.
(setInterface): Implemented.
(setTimeToLive): Check for invalid ttl.
(joinGroup): Verify multicast address and security.
(leaveGroup): Verify multicast address and security.
(send): Implemented.
* java/net/PlainDatagramSocketImpl.java (timeout): Added.
(iface): Added.
(ttl): Added.
(setOption): Added.
(getOption): Added.
(mcastGrp): Added.
(getTTL): Implemented as non-native.
(setTTL): ditto.
(join): ditto.
(leave): ditto.
* java/net/ServerSocket.java (setSoTimeout): Implemented.
(getSoTimeout): Implemented.
(setSocketFactory): Made synchronized.
* java/net/Socket.java (setSoTimeout): Implemented.
(getSoTimeout): Implemented.
(close): Made synchronized.
(setSocketImplFactory): Made synchronized.
* java/net/SocketImpl.java: Implement SocketOptions interface.
* java/net/natInetAddress.cc: Corrected module name at top of file.
* java/net/natPlainDatagramSocketImpl.cc (McastReq): Added union.
(bind): Added FIXME.
(peek): Implemented.
(setTTL): Removed.
(getTTL): Removed.
(join): Removed.
(leave): Removed.
(mcastGrp): Added.
(setOption): Implemented for SO_REUSEADDR.
(getOption): Implemented for SO_REUSEADDR.
From-SVN: r27184