Bryce McKinlay
d31772ca70
Missing changelog entry
...
From-SVN: r35469
2000-08-04 02:15:51 +01:00
Warren Levy
9b4773cbba
ObjectInputStream.java (readFields): Turn off readDataFromBlock while reading via GetField.
...
* java/io/ObjectInputStream.java (readFields): Turn off
readDataFromBlock while reading via GetField.
(GetField$1.get(String, Object)): Pass Class of default value to
getField.
(getField): Allow for null default values.
* java/io/ObjectOutputStream.java: Fixed typo in comment.
(PutField$1.put): Fixed calls of checkType in most of the put
methods to pass the correct parameter.
(PutField$1.put(String, Object)): Allow for null value arg.
(PutField$1.write): Turn off writeDataAsBlocks while writing via
PutField.
* java/io/ObjectStreamClass.java (serialPersistentFields): Fixed
typo in spec'ed field name.
(getSerialPersistentFields): Changed spelling of method to match
the correct spelling of the spec'ed field name.
More serialization fixes per Mauve errors.
From-SVN: r35468
2000-08-04 00:42:20 +00:00
Jason Merrill
a1bcc528be
pt.c (do_type_instantiation): Add complain parm; don't complain if called recursively.
...
* pt.c (do_type_instantiation): Add complain parm; don't complain
if called recursively.
* cp-tree.h, parse.y: Adjust.
From-SVN: r35467
2000-08-03 20:02:19 -04:00
Mark Mitchell
57cac71461
* extend.texi: Fix typo in last change.
...
From-SVN: r35466
2000-08-03 23:55:24 +00:00
Alexandre Oliva
83440c1e96
* configure.in (libstdcxx_flags): Don't use `"'.
...
From-SVN: r35465
2000-08-03 23:52:12 +00:00
Mark Mitchell
0dc52a0050
extend.texi: Add commentary on statement-expressions and their interactions with C++.
...
* extend.texi: Add commentary on statement-expressions and their
interactions with C++.
From-SVN: r35464
2000-08-03 23:10:18 +00:00
Mark Mitchell
b98e139b31
ChangeLog
...
From-SVN: r35463
2000-08-03 23:07:43 +00:00
Nick Clifton
9897911d45
Change java language number to 0x000b
...
From-SVN: r35462
2000-08-03 22:41:38 +00:00
Mark Mitchell
368f42501f
* dce: New file.
...
From-SVN: r35461
2000-08-03 21:30:29 +00:00
Anthony Green
28985b8152
Apply patch from Anthony Green to add java language support to Dwarf generation.
...
From-SVN: r35460
2000-08-03 21:04:42 +00:00
Alexandre Oliva
e81b330a2d
config-ml.in: Adjust multilib search paths to the appropriate multilib tree.
...
* config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.
From-SVN: r35459
2000-08-03 19:19:33 +00:00
Jan Hubicka
0b9aaeee6f
reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap operands.
...
* reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
operands.
* i386.c (ix86_expand_branch): Mode of comparison in
IF_THEN_ELSE is VOIDmode.
From-SVN: r35458
2000-08-03 18:36:14 +00:00
Tom Tromey
57b59acb05
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
From-SVN: r35457
2000-08-03 17:56:02 +00:00
Akiko Matsushita
17dfb726db
* gengenrtl.c, rtl.c: Avoid #elif.
...
From-SVN: r35456
2000-08-03 10:06:13 -06:00
Kazu Hirata
e82059016e
h8300.c: Fix a comment typo.
...
* h8300.c: Fix a comment typo.
* h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
From-SVN: r35455
2000-08-03 09:20:43 -06:00
Michael Poole
99871835a6
tm.texi (Register Classes): Clarify order of sub-initializers in REG_CLASS_CONTENTS.
...
* tm.texi (Register Classes): Clarify order of sub-initializers
in REG_CLASS_CONTENTS.
From-SVN: r35454
2000-08-03 09:05:25 -06:00
Kazu Hirata
48b881a36e
* jump.c: Fix formatting.
...
From-SVN: r35453
2000-08-03 09:01:36 -06:00
J"orn Rennecke
2e71ae8288
From SAITOH Masanobu:
...
* sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
From-SVN: r35452
2000-08-03 15:55:05 +01:00
David Billinghurst
5535a5a62e
cygwin.h: Remove -remap from CPP_SPEC since this option is not supported by tradcpp and...
...
* config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option is not
supported by tradcpp and isn't actually needed for cygwin.
From-SVN: r35451
2000-08-03 13:30:18 +00:00
Bryce McKinlay
5ab63c1aea
Makefile.am: Add new AWT stubs.
...
* Makefile.am: Add new AWT stubs.
* java/awt/Canvas.java: New placeholder class.
* java/awt/Checkbox.java: Ditto.
* java/awt/CheckboxMenuItem.java: Ditto.
* java/awt/Choice.java: Ditto.
* java/awt/Dialog.java: Ditto.
* java/awt/FileDialog.java: Ditto.
* java/awt/List.java: Ditto.
* java/awt/ScrollPane.java: Ditto.
* java/awt/TextField.java: Ditto.
* java/awt/datatransfer/Clipboard.java: Ditto.
* java/awt/Component.java (treeLock): Now a static String. Add
comment.
* java/awt/MenuItem.java (MenuItem): Add default constructor.
* java/awt/Toolkit.java: Added all methods from J2SE 1.3 API docs.
Some commented out. Partially implemented.
* java/awt/natToolkit.cc: Removed file.
From-SVN: r35450
2000-08-03 13:09:41 +01:00
Zack Weinberg
eae5118925
decl2.c: Silently ignore -Wstrict-prototypes; warn about -Wno-strict-prototypes.
...
* decl2.c: Silently ignore -Wstrict-prototypes; warn about
-Wno-strict-prototypes.
From-SVN: r35449
2000-08-03 08:26:36 +00:00
Mark Mitchell
6e185caa26
locale_facets.h (ctype::ctype): Don't name unused parameters.
...
* bits/locale_facets.h (ctype::ctype): Don't name unused
parameters.
From-SVN: r35448
2000-08-03 07:56:17 +00:00
Jeffrey A Law
4a6f50d5e9
* gcc.c-torture/compile/20000803-1.c: New test.
...
From-SVN: r35447
2000-08-03 01:46:44 -06:00
Jeff Law
dd16be2d53
Daily bump.
...
From-SVN: r35446
2000-08-03 01:45:10 -06:00
Joseph Myers
bcde31938d
20000801-3.c, [...]: New tests.
...
* gcc.c-torture/execute/20000801-3.c, gcc.c-torture/20000801-4.c:
New tests.
* gcc.c-torture/execute/20000801-3.x, gcc/c-torture/20000801-4.x:
Xfail.
From-SVN: r35445
2000-08-03 01:36:13 -06:00
Kazu Hirata
854a97f032
* toplev.c: Fix formatting.
...
From-SVN: r35444
2000-08-03 01:29:11 -06:00
Jeffrey A Law
66ed03f845
flow.c (find_auto_inc): Verify that we've got a REG before peeking at its regno.
...
* flow.c (find_auto_inc): Verify that we've got a REG before
peeking at its regno. Fail, don't abort if we can't find
the increment of the desired register.
From-SVN: r35443
2000-08-03 01:16:39 -06:00
Jeffrey A Law
860cd40a95
* pa.md (shadd height reduction patterns/splitters): Remove.
...
From-SVN: r35442
2000-08-03 01:05:28 -06:00
Bryce McKinlay
af6ca671a6
Makefile.am: Make inner class CNI headers depend on libgcj.zip only.
...
2000-08-03 Bryce McKinlay <bryce@albatross.co.nz>
* Makefile.am: Make inner class CNI headers depend on libgcj.zip
only.
Fixes "make -j" builds.
* Makefile.in: Rebuild.
From-SVN: r35441
2000-08-03 07:48:34 +01:00
Alexandre Oliva
cf95c84763
configure.in (CHILL_FOR_TARGET, [...]): Convert blanks to commas in $LANGUAGES.
...
* configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.
From-SVN: r35440
2000-08-03 01:56:16 +00:00
Jim Wilson
e314e3318a
Workaround for -fssa testsuite failures.
...
* config/ia64/ia64-protos.h (flag_ssa): Declare.
* config/ia64/ia64.md (movti_internal, movti_internal+1): New.
From-SVN: r35439
2000-08-02 17:31:39 -07:00
Mark Mitchell
3db35af4a5
dce.c: Remove all uses of assert.
...
* dce.c: Remove all uses of assert.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* ssa.c: Likewise.
From-SVN: r35438
2000-08-03 00:17:11 +00:00
Geoff Keating
e457ca6a31
objc.exp (objc_target_compile): Look for libobjc.a in libobjc/.libs to allow for libtool.
...
* lib/objc.exp (objc_target_compile): Look for libobjc.a in
libobjc/.libs to allow for libtool.
From-SVN: r35437
2000-08-02 22:24:35 +00:00
Zack Weinberg
c9b6494a24
* pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
...
From-SVN: r35436
2000-08-02 22:03:53 +00:00
Tom Tromey
f536cd95fb
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (libgcj_la_SOURCES): Added posix.cc.
* java/net/natPlainSocketImpl.cc: Include posix.h.
(accept): Use _Jv_select.
* java/net/natPlainDatagramSocketImpl.cc: Include posix.h.
(receive): Use _Jv_select.
* java/io/natFileDescriptorPosix.cc: Include posix.h.
(available): Use _Jv_select.
* java/lang/natSystem.cc: Include posix.h.
(currentTimeMillis): Use _Jv_gettimeofday.
* include/posix.h: New file.
* posix.cc: New file.
From-SVN: r35435
2000-08-02 21:54:04 +00:00
Jakub Jelinek
2d57911678
* gcc.c-torture/compile/20000802-1.c: New test.
...
From-SVN: r35434
2000-08-02 22:46:32 +02:00
Zack Weinberg
37620334d9
gcc.h (lang_specific_driver): Constify second argument.
...
* gcc.h (lang_specific_driver): Constify second argument.
* gcc.c (translate_options, process_command, main): Likewise.
Constify variables to match. Cast second argument to
pexecute.
* cppspec.c, gccspec.c, g++spec.c, g77spec.c, jvspec.c: Adjust
type of second argument to lang_specific_driver, and update
code as necessary.
From-SVN: r35433
2000-08-02 20:21:27 +00:00
Tom Tromey
f9427d1704
encodings.pl: New file.
...
* scripts/encodings.pl: New file.
* Makefile.in: Rebuilt.
* Makefile.am (convert_source_files): Added IOConverter.java.
* gnu/gcj/convert/UnicodeToBytes.java (UnicodeToBytes): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getEncoder): Likewise.
* gnu/gcj/convert/BytesToUnicode.java (BytesToUnicode): Extend
IOConverter.
(getDefaultDecodingClass): Canonicalize default encoding name.
(getDecoder): Likewise.
* gnu/gcj/convert/IOConverter.java: New file.
From-SVN: r35432
2000-08-02 19:56:53 +00:00
Tom Tromey
5f51a7528f
gc_priv.h (GC_generic_malloc_inner): Prototype.
...
* gc_priv.h (GC_generic_malloc_inner): Prototype.
(GC_generic_malloc): Likewise.
(GC_add_to_black_list_normal): Likewise.
(GC_find_header): Likewise.
(GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
* gc_mark.h (GC_find_start): Prototype.
(GC_signal_mark_stack_overflow): Likewise.
From-SVN: r35431
2000-08-02 19:46:07 +00:00
Manfred Hollstein
9e9af11953
configure.in: Re-enable all references to libg++ and librx.
...
2000-08-02 Manfred Hollstein <manfredh@redhat.com>
* configure.in: Re-enable all references to libg++ and librx.
From-SVN: r35429
2000-08-02 18:44:04 +00:00
Jakub Jelinek
bb45bd5a12
loop.c (scan_loop): Ensure update_end label does not go away until reg_scan_update is run.
...
* loop.c (scan_loop): Ensure update_end label does not
go away until reg_scan_update is run.
From-SVN: r35428
2000-08-02 19:29:52 +02:00
Zack Weinberg
50e60bc3d7
c-common.h: Prototype min_precision and c_build_qualified_type here...
...
* c-common.h: Prototype min_precision and c_build_qualified_type here...
* c-tree.h: ... not here.
* errors.h: Prototype fancy_abort.
* emit-rtl.c (gen_lowpart_common): Move variable 'c' into
HOST_BITS_PER_WIDE_INT == 64 ifdef block.
* regrename.c (regrename_optimize): Make control flow explicit.
(replace_reg_in_block): Initialize reg_use to 0.
* i386.c (legitimate_address_p): Rename error label to
report_error to avoid namespace clash.
cp:
* cp-tree.h: Don't prototype min_precision here.
(my_friendly_assert): Cast expression to void.
* semantics.c (do_poplevel): Initialize scope_stmts.
f:
* expr.c (ffeexpr_finished_): Cast signed side of ?:
expression to bool.
java:
* class.c (build_dtable_decl): Initialize dummy.
intl:
* dcgettext.c (find_msg): Initialize act before loop.
(guess_category_value): Add dummy uses of both parameters.
* localealias.c (read_alias_file): Cast arg of strchr to char *.
From-SVN: r35427
2000-08-02 17:01:13 +00:00
Mark Mitchell
3f954fc3f3
* cp-tree.h (DECL_NEEDED_P): Tweak.
...
From-SVN: r35426
2000-08-02 16:02:43 +00:00
Kazu Hirata
b6cc0a7290
* fold-const.c: Fix formatting.
...
From-SVN: r35425
2000-08-02 09:28:44 -06:00
Jan Hubicka
4e9efe546e
i386.c (legitimate_address_p): Accept other bases than pic_offset_table_rtx for GOTOFF constructs.
...
* i386.c (legitimate_address_p): Accept other bases than
pic_offset_table_rtx for GOTOFF constructs.
From-SVN: r35424
2000-08-02 14:28:14 +00:00
Jan Hubicka
ca4ae08d95
* i386.md (shift to lea splitter): Use const_int_operand.
...
From-SVN: r35423
2000-08-02 14:02:16 +00:00
Jeff Law
8e4e0347b5
Daily bump.
...
From-SVN: r35422
2000-08-02 01:45:08 -06:00
Zack Weinberg
5ef865d570
cppexp.c, [...]: Do not use 'legal' or 'illegal' in error messages and comments.
...
* cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
cppspec.c: Do not use 'legal' or 'illegal' in error messages
and comments.
* cppmain.c (cb_define, cb_undef): Don't generate any output
if not done_initializing.
* cpplex.c (maybe_paste_with_next): When the token after a ##
is an omitted rest argument, only delete the token before it
if that token is a comma. Do not warn about bogus token
pastes for , ## rest_arg.
* cpp.texi: Update.
* cpp.1: Regenerate.
* gcc.dg/cpp/macsyntx.c: Fix error regexp.
From-SVN: r35421
2000-08-02 07:08:49 +00:00
Fred Fish
a7a4fd1776
beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o when user gives -p option.
...
* config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
when user gives -p option. Add init_term_dyn.o for BeOS 5.0
and later.
* config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
Be directories to search path.
Remove support for __declspec(dllimport) and __declspec(dllexport).
This is leftover cruft from the earlier BeOS gcc port when BeOS
used Microsoft's PE object file format.
* configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
* config/i386/t-beos (winnt.o): Remove Makefile frag.
* config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
(VALID_MACHINE_DECL_ATTRIBUTE): Remove.
(VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
(MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
(REDO_SECTION_INFO_P): Remove.
(ASM_EXPORT_DECL): Remove.
(ASM_DECLARE_FUNCTION_NAME): Remove.
(ASM_DECLARE_OBJECT_NAME): Remove.
(ASM_OUTPUT_ALIGNED_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
(ASM_OUTPUT_ALIGNED_LOCAL): Remove.
(STRIP_NAME_ENCODING): Remove.
Remove support for obsolete version of BeOS that is no longer
supported by Be.
* configure.in (i*86-*-beospe*): Remove.
* config/i386/beos-pe.h: Remove.
From-SVN: r35420
2000-08-02 03:04:33 -04:00
Jeffrey Oldham
b53978a3ee
Makefile.in (OBJS): Added dce.o.
...
* Makefile.in (OBJS): Added dce.o.
(ssa.o): Updated target to include ssa.h.
(flow.o): Likewise.
(toplev.o): Likewise.
(dce.o): Created target.
* basic-block.h: Added comments.
(INVALID_BLOCK): Added definition.
(connect_infinite_loops_to_exit): Added declaration.
Moved SSA declarations to ssa.h.
* flow.c: Added inclusion of ssa.h.
(struct depth_first_search_dsS, depth_first_search_ds):
Added definitions.
(compute_immediate_postdominators): Added definition.
(connect_infinite_loops_to_exit): Likewise.
(flow_dfs_compute_reverse_init): Likewise.
(flow_dfs_compute_reverse_add_bb): Likewise.
(flow_dfs_compute_reverse_execute): Likewise.
(flow_dfs_compute_reverse_finish): Likewise.
* rtl.h (rtx/in_struct): Added use to determine insn necessity.
(LABEL_P): Added definition.
(JUMP_P): Likewise.
(NOTE_P): Likewise.
(BARRIER_P): Likewise.
(JUMP_TABLE_DATA_P): Likewise.
(INSN_DEAD_CODE_P): Likewise.
* ssa.c: Replaced inclusions with ssa.h inclusion.
(CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
(rename_registers): Removed unnecessary variables.
* ssa.h: Created by moving declarations from ssa.c and
basic-block.h.
* timevar.def: Defined TV_DEAD_CODE_ELIM.
* toplev.c: Added ssa.h inclusion.
(dump_file_index): Added DFI_dce.
(dump_file): Added "dce" entry.
Defined flag_ssa.
(f_options): Added dce entry.
* invoke.texi: Document -fdce. Emphasize experimental status of
-fssa.
Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r35419
2000-08-02 04:21:27 +00:00