Matthias Klose [Mon, 27 Nov 2000 23:58:36 +0000 (23:58 +0000)]
* extend.texi (Nested Functions): Update URL of Usenix paper.
From-SVN: r37807
Mark Mitchell [Mon, 27 Nov 2000 20:14:21 +0000 (20:14 +0000)]
* function.c (free_after_compilation): Clear x_clobber_return_insn.
From-SVN: r37806
Franz Sirl [Mon, 27 Nov 2000 20:07:17 +0000 (20:07 +0000)]
atomicity.h (__exchange_and_add): Add __volatile__ to asm.
2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
__volatile__ to asm.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
From-SVN: r37805
Neil Booth [Mon, 27 Nov 2000 19:08:36 +0000 (19:08 +0000)]
cppinit.c (cpp_reader_init): Remove handling of warn_paste command line options.
* cppinit.c (cpp_reader_init): Remove handling of warn_paste
command line options.
(cpp_handle_option): Similarly.
* cpplib.h (struct cpp_options): Remove warn_paste.
* cppmacro.c (paste_tokens): Apart from assembler, make
unpasteable token warning mandatory.
From-SVN: r37804
Neil Booth [Mon, 27 Nov 2000 19:04:54 +0000 (19:04 +0000)]
tradcpp.c (enum pending_dir_t, [...]): New.
* tradcpp.c (enum pending_dir_t, struct pending_dir): New.
(main): Allocate a pending directive set of these. Use it.
Merge handling of -D and -U. Update handling of pending
directives. Free the memory after use.
From-SVN: r37803
Franz Sirl [Mon, 27 Nov 2000 18:17:40 +0000 (18:17 +0000)]
atomicity.h: Replace '__ATOMICITY_INLINE' with 'inline'.
2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
with 'inline'.
(__ex__atomic_add): Add __volatile__ to asm.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
From-SVN: r37802
Bernd Schmidt [Mon, 27 Nov 2000 17:50:11 +0000 (17:50 +0000)]
While building global lifetime information, keep track of which registers are only conditionally set.
While building global lifetime information, keep track of which registers are
only conditionally set. Use this to force rescans in more cases where they
are needed.
From-SVN: r37801
Kaz Kojima [Mon, 27 Nov 2000 17:32:05 +0000 (17:32 +0000)]
sh.md (udivsi3_i4, [...]): Clobber T register.
* gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
T register.
From-SVN: r37800
Richard Earnshaw [Mon, 27 Nov 2000 16:40:08 +0000 (16:40 +0000)]
arm.c (select_dominance_cc_mode): Handle new way that combine canonicalizes conditional compares.
* arm.c (select_dominance_cc_mode): Handle new way that combine
canonicalizes conditional compares.
(arm_select_cc_mode): Likewise.
* arm.md: Garbage collect some dead code.
(cmp_and, cmp_ior): New patterns.
(splitter for conditional move with inverted false): Use cond_exec
and handle unordered comparisons.
From-SVN: r37799
Richard Earnshaw [Mon, 27 Nov 2000 16:29:52 +0000 (16:29 +0000)]
ChangeLog
From-SVN: r37798
Jan Hubicka [Mon, 27 Nov 2000 16:23:27 +0000 (17:23 +0100)]
i386.c (ix86_force_to_memory, [...]): New.
* i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
* i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
* i386.md (float?i?f, int/fp operations): Rewrite spliters to use
ix86_force_to_memory and ix86_free_from_memory.
From-SVN: r37797
Richard Earnshaw [Mon, 27 Nov 2000 16:01:29 +0000 (16:01 +0000)]
arm.md (arm_adddi3, [...]): Merge with splitters to create define_insn_and_split patterns.
* arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
one_cmpldi2): Merge with splitters to create define_insn_and_split
patterns. Remove redundant splits.
(peephole2 for add:SI of invalid immediate): New.
(peephole2 for minus:SI of invalid immediate): New.
(peephole2 for ior:SI of invalid immediate): New.
(peephole for merge of move and compare): Convert ot peephole2.
(addsf3, adddf3): Mark as commutative.
* arm.md (thumb peephole for merging stack adjustments): Convert to
peephole2.
From-SVN: r37796
Bernd Schmidt [Mon, 27 Nov 2000 15:08:08 +0000 (15:08 +0000)]
Prettier visualization of COND_EXECs
From-SVN: r37795
Bernd Schmidt [Mon, 27 Nov 2000 14:42:54 +0000 (14:42 +0000)]
Re-apply an earlier fix, with a small update
From-SVN: r37794
Nathan Sidwell [Mon, 27 Nov 2000 12:53:38 +0000 (12:53 +0000)]
decl.c (grokfndecl): Undo COMPONENT_REF damage caused by bison parser ickiness.
cp:
* decl.c (grokfndecl): Undo COMPONENT_REF damage caused by
bison parser ickiness.
* pt.c (tsubst_friend_function): Enter namespace scope when
tsubsting the function name.
* cp-tree.h (DECL_TI_TEMPLATE): Update comment to reflect reality.
testsuite:
* g++.old-deja/g++.other/friend46.C: New test.
From-SVN: r37793
Bernd Schmidt [Mon, 27 Nov 2000 11:43:32 +0000 (11:43 +0000)]
In cselib, do not consider constants with different modes equivalent.
From-SVN: r37792
Nathan Sidwell [Mon, 27 Nov 2000 10:55:32 +0000 (10:55 +0000)]
cp-tree.h (binfo_from_vbase): Return the virtual base's binfo.
cp:
* cp-tree.h (binfo_from_vbase): Return the virtual base's binfo.
* cvt.c (cp_convert_to_pointer): Add force parameter.
Allow conversions via virtual base if forced.
(convert_to_pointer_force): Adjust call to cp_convert_to_pointer.
(ocp_convert): Likewise.
* search.c (binfo_from_vbase): Return the virtual base's binfo.
* typeck.c (get_delta_difference): Adjust handling of virtual
bases.
testsuite:
* g++.old-deja/g++.other/ptrmem8.C: New test.
From-SVN: r37791
Alexandre Oliva [Mon, 27 Nov 2000 10:16:16 +0000 (10:16 +0000)]
configure.in (extra_objs): Enclose extra_headers in quotes.
* configure.in (extra_objs): Enclose extra_headers in quotes.
* configure: Rebuilt.
From-SVN: r37790
Gabriel Dos Reis [Mon, 27 Nov 2000 10:01:52 +0000 (10:01 +0000)]
tests_flags.in: Update documentation to reflect the change below.
2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
* tests_flags.in: Update documentation to reflect the change
below.
From-SVN: r37789
Anthony Green [Mon, 27 Nov 2000 08:48:38 +0000 (08:48 +0000)]
MIssing ChangeLog entry for my last commits.
From-SVN: r37788
Jeff Law [Mon, 27 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37787
Anthony Green [Mon, 27 Nov 2000 08:44:59 +0000 (08:44 +0000)]
More new classes.
From-SVN: r37786
Bryce McKinlay [Mon, 27 Nov 2000 08:30:26 +0000 (08:30 +0000)]
Vector.java (ensureCapacity): Don't increment modCount.
2000-11-27 Bryce McKinlay <bryce@albatross.co.nz>
* java/util/Vector.java (ensureCapacity): Don't increment modCount.
(addElement): Don't increment elementCount twice. Doh.
* java/util/ArrayList.java (add): Only call ensureCapacity if the
array needs to be expanded.
(addAll): Ditto.
* java/util/Collections.java (UnmodifiableCollection): Implement
toString().
(UnmodifiableList): Throw UnsupportedOperationException from
modification methods. Set `l' from the one-parameter constructor.
(UnmodifiableMap): Implement toString().
(SynchronizedCollection): Ditto.
(SynchronizedList): Set `l' from the one-parameter constructor.
(SynchronizedSortedSet): Set `ss' from the one-parameter constructor.
(SynchronizedMap): Implement toString().
From-SVN: r37785
Neil Booth [Mon, 27 Nov 2000 08:00:04 +0000 (08:00 +0000)]
c-lex.c (cb_enter_file, [...]): Combine into the new function cb_change_file.
* c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
Combine into the new function cb_change_file.
(init_c_lex): Update.
* cppfiles.c (stack_include_file): Use _cpp_do_file_change.
(cpp_syshdr_flags): Delete.
* cpphash.h (_cpp_do_file_change): New prototype.
Move struct cpp_buffer here from...
* cpplib.h (struct cpp_buffer): ... here.
(enum cpp_fc_reason, struct cpp_file_loc,
struct_cpp_file_change, change_file): New.
(enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
* cpplib.c (do_line): Update for new cb_change_file callback.
(_cpp_do_file_change): New function.
(_cpp_pop_buffer): Update to use it.
* cppmain.c (move_printer): Delete.
(main): Set up single callback cb_change_file.
(cb_enter_file, cb_leave_file, cb_rename_file): Delete.
(cb_change_file): New.
* fix-header.c (cur_file, cb_change_file): New.
(recognized_function, read_scan_file): Update.
* scan-decls.c (scan_decls): Update.
* scan.h (recognized_function): Update prototype.
From-SVN: r37784
Mark Mitchell [Mon, 27 Nov 2000 07:09:20 +0000 (07:09 +0000)]
tree.h (mark_tree_hashtable): New function.
* tree.h (mark_tree_hashtable): New function.
* tree.c (mark_tree_hashtable_entry): New function.
(mark_tree_hashtable): Likewise.
* tree.c (struct list_hash): Remove.
(list_hash_table): Make it be an htab.
(struct list_proxy): New type.
(list_hash_eq): New function.
(list_hash_pieces): Renamed from ...
(list_hash): ... this.
(list_hash_lookup): Remove.
(list_hash_add): Remove.
(hash_tree_cons): Use the generic hashtable.
(mark_list_hash): Remove.
(init_tree): Create the hashtable.
From-SVN: r37783
Anthony Green [Mon, 27 Nov 2000 06:50:18 +0000 (06:50 +0000)]
Replace stubs with actual implementation
From-SVN: r37782
Michael Meissner [Mon, 27 Nov 2000 06:18:24 +0000 (06:18 +0000)]
Fix rename registers problem; Rewrite 64-bit conditionals in terms of COND_EXEC instead of IF_THEN_ELSE
From-SVN: r37781
Benjamin Kosnik [Mon, 27 Nov 2000 06:04:16 +0000 (06:04 +0000)]
[multiple changes]
2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
* tests_flags.in: Export CXX, CXXFLAGS.
* mkcheck.in: Grab them.
2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in: Add exe extension to printnow executable, abstract
out call to this with TIMER_COMMAND.
* configure.target (l_glibcpp_cxxflags): Add cygwin support.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r37780
Anthony Green [Mon, 27 Nov 2000 05:57:58 +0000 (05:57 +0000)]
More JNDI changes.
From-SVN: r37779
Kaveh Ghazi [Mon, 27 Nov 2000 05:11:39 +0000 (05:11 +0000)]
ChangeLog for:
testsuite:
* gcc.c-torture/execute/string-opt-7.c: New test.
* gcc.c-torture/execute/string-opt-8.c: Likewise.
From-SVN: r37778
Kaveh R. Ghazi [Mon, 27 Nov 2000 05:00:06 +0000 (05:00 +0000)]
builtins.c (expand_builtin_strncmp, [...]): New functions.
* builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
functions.
(expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
* builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
* c-common.c (c_common_nodes_and_builtins): Declare builtin
strncpy and strncmp.
* extend.texi (strncmp, strncpy): Document new builtins.
testsuite:
* gcc.c-torture/execute/string-opt-7.c: New test.
* gcc.c-torture/execute/string-opt-8.c: Likewise.
From-SVN: r37777
Mark Mitchell [Mon, 27 Nov 2000 04:25:32 +0000 (04:25 +0000)]
elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not a list, to keep track of the sections.
* config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
a list, to keep track of the sections.
* tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
parameter provided will always be a canonical string.
From-SVN: r37776
Mark Mitchell [Mon, 27 Nov 2000 04:23:38 +0000 (04:23 +0000)]
hashtab.c (higher_prime_number): Use a table, rather than a seive, to find the next prime.
* hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.
From-SVN: r37775
Tom Tromey [Mon, 27 Nov 2000 04:10:57 +0000 (04:10 +0000)]
Reverted erroneous Makefile.am commit
From-SVN: r37774
Bryce McKinlay [Mon, 27 Nov 2000 04:09:54 +0000 (04:09 +0000)]
Forgot to commit these ChangeLog entries.
From-SVN: r37773
Tom Tromey [Mon, 27 Nov 2000 04:07:48 +0000 (04:07 +0000)]
Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (core_java_source_files): Added
RuntimePermission.java.
* java/lang/RuntimePermission.java: Imported from Classpath.
* java/lang/Thread.java (getContextClassLoader): Now
synchronized. Added security code.
(setContextClassLoader): Likewise.
From-SVN: r37772
Tom Tromey [Mon, 27 Nov 2000 04:05:23 +0000 (04:05 +0000)]
prims.cc (_Jv_NewObjectArray): Use const_cast to initialize length field of array.
* prims.cc (_Jv_NewObjectArray): Use const_cast to initialize
length field of array.
(_Jv_NewPrimArray): Likewise.
* gcj/array.h (__JArray): `length' field now const. Added
constructor.
From-SVN: r37771
Anthony Green [Mon, 27 Nov 2000 03:16:14 +0000 (03:16 +0000)]
Initial jndi check-in
From-SVN: r37770
Benjamin Kosnik [Mon, 27 Nov 2000 03:02:00 +0000 (03:02 +0000)]
istream_unformatted.cc (test05): Fixup.
2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/istream_unformatted.cc (test05): Fixup.
From-SVN: r37769
Benjamin Kosnik [Mon, 27 Nov 2000 00:05:39 +0000 (00:05 +0000)]
acinclude.m4: Only sanity check for compiler version when configuring.
2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Only sanity check for compiler version when
configuring. More fixes for 'make clean'.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r37768
Tom Tromey [Sun, 26 Nov 2000 23:24:21 +0000 (23:24 +0000)]
* libjava.compile/weirddecl.java: New file.
From-SVN: r37767
Joseph Myers [Sun, 26 Nov 2000 20:02:40 +0000 (20:02 +0000)]
RELEASE-PREP: Remove obsolete EGCS reference.
* RELEASE-PREP: Remove obsolete EGCS reference.
* g77.texi: Adjust reference to EGCS as something current.
* lang-options.h (FTNOPT): Remove macro and obsolete comment.
Include doc strings directly in option listing instead of through
this macro.
* root.texi: Remove support for multiple different (FSF and EGCS)
distributions of g77.
* g77install.texi: Remove conditioned out instructions applying
only to obsolete distributions of g77 not as part of GCC. Change
"superceded" to the correct spelling "superseded".
From-SVN: r37766
Joseph Myers [Sun, 26 Nov 2000 19:30:31 +0000 (19:30 +0000)]
g77spec.c (lang_specific_driver): Update copyright year to 2000.
f:
* g77spec.c (lang_specific_driver): Update copyright year to 2000.
java:
* gjavah.c (version), jcf-dump.c (version), jv-scan.c (version):
Update copyright year to 2000.
From-SVN: r37765
Neil Booth [Sun, 26 Nov 2000 19:30:27 +0000 (19:30 +0000)]
cppmacro.c (cpp_scan_buffer_nooutput): Only scan the current buffer.
* cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
current buffer.
From-SVN: r37764
Joseph Myers [Sun, 26 Nov 2000 19:15:39 +0000 (19:15 +0000)]
* makefile.vms: Remove EGCS references.
From-SVN: r37763
Ulrich Drepper [Sun, 26 Nov 2000 19:12:18 +0000 (19:12 +0000)]
dwarf2out.c (output_file_names): New function.
* dwarf2out.c (output_file_names): New function. Compute minimal
combination of directory and file name table and emit them.
(output_line_info): Remove code to emit directory and file name
table and call output_file_names instead.
(file_info_cmp): Helper function to sort directory names.
From-SVN: r37762
Neil Booth [Sun, 26 Nov 2000 17:31:13 +0000 (17:31 +0000)]
cpplib.h (struct cpp_reader): Remove lang_asm.
* cpplib.h (struct cpp_reader): Remove lang_asm.
(struct cpp_options): Remove c89. New members lang,
extended_numbers.
* cppexp.c (parse_number): Use them.
* cpphash.h (VALID_SIGN): Use them.
* cppinit.c (set_lang, cpp_start_read): Update.
* cpplex.c (parse_string, _cpp_lex_token): Update.
* cpplib.c (_cpp_handle_directive): Update.
* cppmacro.c (parse_args): Update.
* cppmain.c (scan_buffer): Update.
From-SVN: r37761
Neil Booth [Sun, 26 Nov 2000 17:26:59 +0000 (17:26 +0000)]
* g++.old-deja/g++.other/overload12.C
From-SVN: r37760
Toon Moene [Sun, 26 Nov 2000 16:21:01 +0000 (17:21 +0100)]
Version.c, [...]: Designate version as (experimental) instead of (prerelease)
2000-11-26 Toon Moene <toon@moene.indiv.nluug.nl>
* libI77/Version.c, libF77/Version.c, libU77/Version.c:
Designate version as (experimental) instead of (prerelease)
From-SVN: r37759
Gabriel Dos Reis [Sun, 26 Nov 2000 15:16:32 +0000 (15:16 +0000)]
Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
* libmath/Makefile.in: Regenerate.
* libmath/cabs.c: Remove.
* libmath/cabsf.c: Likewise.
* libmath/cabsl.c: Likewise.
* libmath/complex-stub.h: Remove declarations for cabs*.
* acinclude.m4: Remove check for cabs*.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r37758
Richard Kenner [Sun, 26 Nov 2000 15:04:25 +0000 (15:04 +0000)]
fold-const.c (fold, [...]): Always return tree of proper type.
* fold-const.c (fold, case CONVERT_EXPR): Always return tree of
proper type.
From-SVN: r37757
Gabriel Dos Reis [Sun, 26 Nov 2000 12:20:50 +0000 (12:20 +0000)]
tests_flags.in: New file.
libstdc++-v3:
* tests_flags.in: New file. Split out of ...
* mkcheck.in: ... this. Move flags computation into
tests_flags.in.
* configure.in: Add support for tests_flags.
* confiigure: Regenerate.
gcc/testsuite:
* lib/g++.exp (g++_include_flags): Invoke 'tests_flags --compiler'
instead of 'mkcheck 2'.
From-SVN: r37756
Neil Booth [Sun, 26 Nov 2000 10:50:49 +0000 (10:50 +0000)]
* c-lex.h: Should have been committed.
From-SVN: r37755
Neil Booth [Sun, 26 Nov 2000 10:48:50 +0000 (10:48 +0000)]
Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
* Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
* c-decl.c: Remove parse_in declaration.
* c-lang.c: Similarly.
* c-lex.c: Similarly.
* c-parse.in: Similarly.
* c-pragma.c: Similarly.
* configure.in: Similarly.
* cp/Make-lang.in: Similarly.
* cp/spew.c: Similarly.
* cp/decl2.c: Remove check for lang-c++ option.
* cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
* cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
* c-lex.h: Add declaration of parse_in.
* cppinit.c: Call set_lang after allocating pfile->pending.
* configure: Regenerate.
From-SVN: r37754
Jeff Law [Sun, 26 Nov 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37753
Anthony Green [Sun, 26 Nov 2000 07:53:15 +0000 (07:53 +0000)]
Forgot to commit this ChangeLog
From-SVN: r37752
Anthony Green [Sun, 26 Nov 2000 03:58:56 +0000 (03:58 +0000)]
prims.cc (_Jv_NewObjectArray): Undo placement change.
2000-11-25 Anthony Green <green@redhat.com>
* prims.cc (_Jv_NewObjectArray): Undo placement change.
(_Jv_NewPrimArray): Likewise.
* gcj/array.h (__JArray): Undo const change. Removed constructor.
(class JArray): Removed constructor.
* java/lang/Thread.java (context_class_loader): New private data.
(getContextClassLoader): New method.
(setContextClassLoader): New method.
(Thread): Initialize context_class_loader.
* java/net/URLClassLoader.java: Import java.util.Enumeration.
(getResource): Rename to findResource.
(findResource): New method. Used to be getResource.
(getResourceAsStream): Deleted.
(jarFileize): Extracted logic from URLClassLoader constructor into
this new private method.
(addURL): New protected method.
(URLClassLoader): Call jarFileize. Use addElement instead of
insertElementAt.
(findResources): New method.
* java/lang/ClassLoader.java: Import java.util.Enumeration.
(getResource): Implement correct logic.
(findResource): New method.
(getResources): New method.
(findClass): Create a ClassNotFoundException with the name of the
class rather than nothing at all.
(defineClass) Only throw ClassFormatError.
* java/lang/Class.java (forName): New method.
* java/lang/Class.h (forName): New method.
* java/lang/natClass.cc (forName): New method.
From-SVN: r37751
Zack Weinberg [Sun, 26 Nov 2000 01:58:42 +0000 (01:58 +0000)]
* combine.c (try_combine): Remove redundant test.
From-SVN: r37750
Bryce McKinlay [Sun, 26 Nov 2000 01:48:04 +0000 (01:48 +0000)]
System.java (setProperties): Only call init_properties() if properties is null.
2000-11-24 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/System.java (setProperties): Only call init_properties()
if properties is null.
(getProperties): Ditto.
(getProperty): Ditto.
(setProperty): Call init_properties if properties are null.
(prop_init): Remove field.
* java/lang/natSystem.cc (init_properties): Synchronize the entire
method. Check for null properties after synchronizing instead of
prop_init flag. Set the properties field last for thread safety.
* java/io/ObjectInputStream.java (ObjectInputStream): If DEBUG is set,
test for gcj.dumpobjects property and enable object stream dumping
if it is set.
(dumpElement): No longer native.
(dumpElementln): Ditto.
(setDump): Do not define.
* java/io/natObjectInputStream.cc (dumpElement): Removed.
(dumpElementln): Removed.
(setDump): Removed.
2000-11-24 Bryce McKinlay <bryce@albatross.co.nz>
* configure: Rebuilt.
* Makefile.in: Rebuilt.
* Makefile.am (built_java_source_files): Add Configuration.java.
* configure.in: Add Configuration.java to CONFIG_FILES. Set
LIBGCJDEBUG substitution if --enable-libgcj-debug is specified.
Create `gnu' directory in the build tree.
* gnu/classpath/Configuration.java.in: New file.
From-SVN: r37749
Richard Henderson [Sun, 26 Nov 2000 00:40:46 +0000 (16:40 -0800)]
c-common.h (DECL_C_HARD_REGISTER): New.
* c-common.h (DECL_C_HARD_REGISTER): New.
* c-decl.c (finish_decl): Set it for asm register variables.
* c-semantics.c (emit_local_var): Test it when instantiating one.
From-SVN: r37748
Richard Henderson [Sun, 26 Nov 2000 00:16:18 +0000 (16:16 -0800)]
c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than lineno for the start of the function.
* c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
lineno for the start of the function.
From-SVN: r37747
Richard Henderson [Sun, 26 Nov 2000 00:12:42 +0000 (16:12 -0800)]
dwarf2out.c (file_table, [...]): Remove.
* dwarf2out.c (file_table, file_table_allocated): Remove.
(file_table_allocated): Remove.
(struct file_table): New.
(decl_file_table, line_file_table): New.
(print_dwarf_line_table): Use them.
(size_of_line_prolog): Likewise.
(output_line_info): Likewise.
(add_src_coords_attributes): Likewise.
(gen_subprogram_die): Likewise.
(gen_variable_die): Likewise.
(dwarf2out_add_library_unit_info): Likewise.
(dwarf2out_line): Likewise.
(lookup_filename): Take a struct file_table argument.
(init_file_table): New.
(dwarf2out_init): Use it.
From-SVN: r37746
Joseph Myers [Sat, 25 Nov 2000 19:50:51 +0000 (19:50 +0000)]
method.c (build_mangled_C9x_name): Rename to build_mangled_C99_name.
cp:
* method.c (build_mangled_C9x_name): Rename to
build_mangled_C99_name. Change C9X references in comments to
refer to C99.
testsuite:
* gcc.c-torture/execute/memcheck/driver.c,
gcc.c-torture/execute/memcheck/driver.h, gcc.dg/cpp/if-3.c: Change
C9X references to refer to C99.
From-SVN: r37745
Joseph Myers [Sat, 25 Nov 2000 19:40:19 +0000 (19:40 +0000)]
* invoke.texi: Update sequence points references.
From-SVN: r37744
Joseph Myers [Sat, 25 Nov 2000 19:36:53 +0000 (19:36 +0000)]
acinclude.m4: Change C9X references to refer to C99.
* acinclude.m4: Change C9X references to refer to C99.
* aclocal.m4, configure: Regenerate.
* config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
testsuite/22_locale/codecvt_wchar_t_char.cc,
include/bits/stl_config.h, include/c/bits/std_cwchar.h,
libmath/mathconf.h: Change C9X references to refer to C99.
From-SVN: r37743
Neil Booth [Sat, 25 Nov 2000 19:28:44 +0000 (19:28 +0000)]
c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.c: Remove USE_CPPLIB conditional inclusions.
* c-common.h: Similarly.
* c-decl.c: Similarly.
* c-lang.c: Similarly.
* c-lex.c: Similarly.
* c-parse.in: Similarly.
* c-pragma.c: Similarly.
* c-pragma.h: Similarly.
* gcc.c: Similarly.
* toplev.c: Similarly.
* cp/cp-tree.h: Similarly.
* cp/decl2.c: Similarly.
* cp/lang-specs.h: Similarly.
* cp/lex.c: Similarly.
* cp/lex.h: Similarly.
* cp/spew.c: Similarly.
* java/lang-options.h: Similarly.
* objc/lang-specs.h: Similarly.
* objc/objc-act.c: Similarly.
* configure.in: Remove configure option.
* config.in: Regenerate.
* configure: Regenerate.
From-SVN: r37742
Richard Henderson [Sat, 25 Nov 2000 18:54:33 +0000 (10:54 -0800)]
haifa-sched.c (sched_analyze_1, [...]): Revert 2000-11-22 change.
* haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
Revert 2000-11-22 change.
From-SVN: r37741
Bernd Schmidt [Sat, 25 Nov 2000 18:04:51 +0000 (18:04 +0000)]
Allow combinations involving the flag register
From-SVN: r37740
Philipp Thomas [Sat, 25 Nov 2000 17:50:02 +0000 (17:50 +0000)]
configure.in (ALL_LINGUAS): Remove en_GB and add sv.
gcc:
2000-11-25 Philipp Thomas <pthomas@suse.de>
* configure.in (ALL_LINGUAS): Remove en_GB and add sv.
* configure: Rebuilt.
po:
2000-11-25 Philipp Thomas <pthomas@suse.de>
* sv.po: New swedish translation file.
* en_GB.po: Removed.
From-SVN: r37739
Jakub Jelinek [Sat, 25 Nov 2000 17:38:58 +0000 (18:38 +0100)]
sparc.md (muldi3_v8plus): Remove H constraint.
* config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
Handle CONST_INT as second argument.
* config/sparc/sparc.c (set_extends): Remove first argument.
Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
MOV.
(sparc_check_64): Abort if first argument is not REG.
If it is DImode REG, look at the lower register of the register
pair.
* config/sparc/sparc.c (load_pic_register, restore_regs,
output_return, sparc_v8plus_shift, sparc_function_profiler,
sparc_function_block_profiler, sparc_block_profiler): Fix output
formatting.
* gcc.dg/ultrasp3.c: New test.
From-SVN: r37738
Neil Booth [Sat, 25 Nov 2000 15:39:37 +0000 (15:39 +0000)]
* gcc.dg/cpp/include2.c: Make test locale independent.
From-SVN: r37737
Benjamin Kosnik [Sat, 25 Nov 2000 09:11:15 +0000 (09:11 +0000)]
Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and _ISOC99_SOURCE macros.
2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
Richard Earnshaw <rearnsha@arm.com>
* src/Makefile.am (INCLUDES): Remove unconditional use of
_GNU_SOURCE and _ISOC99_SOURCE macros.
* src/Makefile.in: Regenerate.
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r37736
Jeff Law [Sat, 25 Nov 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r37735
Alexandre Oliva [Sat, 25 Nov 2000 06:35:09 +0000 (06:35 +0000)]
sh.h (TARGET_NONE): New.
* config/sh/sh.h (TARGET_NONE): New.
(TARGET_SWITCHES): For all variant-selecting switch, use
TARGET_NONE to reset all other variant-selecting switch. Added
empty strings to avoid warnings.
(TARGET_DEFAULT): Set to SH1_BIT.
From-SVN: r37734
Alexandre Oliva [Sat, 25 Nov 2000 06:24:05 +0000 (06:24 +0000)]
Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for insn-codes.h.
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
insn-codes.h.
From-SVN: r37733
Alexandre Oliva [Sat, 25 Nov 2000 04:57:39 +0000 (04:57 +0000)]
sh.md (sibcalli, [...]): New insns.
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
(sibcall_pcrel): New insn_and_split.
(sibcall, sibcall_value, sibcall_epilogue): New expands.
From-SVN: r37732
Alexandre Oliva [Sat, 25 Nov 2000 04:42:27 +0000 (04:42 +0000)]
sh.md (GOTaddr2picreg, [...]): Don't set current_function_uses_pic_offset_table.
* config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
symPLT_label2reg, call, call_value): Don't set
current_function_uses_pic_offset_table.
* config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
takes it into account.
(FINALIZE_PIC): Delete, useless.
(LEGITIMATE_CONSTANT_P): Delete, unused.
* config/sh/sh.c (sh_expand_prologue): Don't use
current_function_uses_pic_offset_table. Don't special-case
PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
PIC is enabled.
(sh_expand_epilogue, initial_elimination_offset): Don't
special case PIC_OFFSET_TABLE_REGNUM.
From-SVN: r37731
Alexandre Oliva [Sat, 25 Nov 2000 04:32:45 +0000 (04:32 +0000)]
sh-protos.h (symbol_ref_operand): Declare.
* config/sh/sh-protos.h (symbol_ref_operand): Declare.
* config/sh/sh.md (UNSPEC_CALLER): New constant.
(calli_pcrel, call_valuei_pcrel): Use PIC_REG.
(call_pcrel, call_value_pcrel): New insn_and_splits.
(call, call_value): Use them.
(call_site): New expand.
(sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
* config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
Output call_site label.
(PREDICATE_CODES): Added symbol_ref_operand.
* config/sh/sh.c (symbol_ref_operand): Define.
* emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
to CALL_INSNs in the split sequence.
From-SVN: r37730
Alexandre Oliva [Sat, 25 Nov 2000 04:27:59 +0000 (04:27 +0000)]
* gcc.c-torture/compile/
20001123-2.c: New.
From-SVN: r37729
Kriang Lerdsuwanakij [Sat, 25 Nov 2000 02:40:00 +0000 (02:40 +0000)]
* g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.
From-SVN: r37728
Nick Clifton [Sat, 25 Nov 2000 00:43:32 +0000 (00:43 +0000)]
Use target specific, language specific object files feature to allow build
v850 pragma support into gcc and gxx.
From-SVN: r37727
Nick Clifton [Sat, 25 Nov 2000 00:33:04 +0000 (00:33 +0000)]
Add support for target specific, language specific object files.
From-SVN: r37726
Nick Clifton [Sat, 25 Nov 2000 00:28:09 +0000 (00:28 +0000)]
Add xscale-elf and xscale-coff targets.
Add xscale-elf and xscale-coff targets. (Only supported in binutils at the
moment).
From-SVN: r37725
Richard Kenner [Fri, 24 Nov 2000 23:57:31 +0000 (23:57 +0000)]
* gcc.c (process_command): Use F_OK, not R_OK.
From-SVN: r37724
Benjamin Kosnik [Fri, 24 Nov 2000 23:48:45 +0000 (23:48 +0000)]
codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards.
2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
_GLIBCPP_USE_WCHAR_T guards.
* configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
is, so that checks for existence of generated files actually work.
* configure: Regenerate.
From-SVN: r37723
Arno J. Klaassen [Fri, 24 Nov 2000 23:45:08 +0000 (00:45 +0100)]
* flow.c (print_rtl_and_abort): Remove ANSIism.
From-SVN: r37722
Alexandre Oliva [Fri, 24 Nov 2000 22:06:31 +0000 (22:06 +0000)]
sh.h (GENERAL_REGISTER_P, [...]): New macros.
* config/sh/sh.h (GENERAL_REGISTER_P,
GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
all over.
(SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
* config/sh/sh.c: Use new macros.
* config/sh/sh.md: Likewise.
From-SVN: r37721
Alexandre Oliva [Fri, 24 Nov 2000 21:54:19 +0000 (21:54 +0000)]
sh.md: Clobber MACH_REG and MACL_REG in SImode, instead of just MACH_REG in DImode.
* config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
instead of just MACH_REG in DImode. Always refer to FPSCR_REG
in PSImode.
From-SVN: r37720
Anthony Green [Fri, 24 Nov 2000 21:38:16 +0000 (21:38 +0000)]
libjava.exp (bytecompile_file): Change default from javac to gcj -C.
Fri Nov 24 11:25:20 2000 Anthony Green <green@redhat.com>
* lib/libjava.exp (bytecompile_file): Change default from javac to
gcj -C.
(libjava_arguments): Fix classpath.
* libjava.compile/PR129_B.no-link: New file.
From-SVN: r37719
Tom Tromey [Fri, 24 Nov 2000 21:02:36 +0000 (21:02 +0000)]
prims.cc (_Jv_NewObjectArray): Use palcement new to create array.
* prims.cc (_Jv_NewObjectArray): Use palcement new to create
array.
(_Jv_NewPrimArray): Likewise.
Include <new>.
* gcj/array.h (__JArray): `length' field now const. Added
constructor.
(class JArray): Added constructor.
From-SVN: r37718
Tom Tromey [Fri, 24 Nov 2000 20:54:56 +0000 (20:54 +0000)]
* libjava.compile/PR375.java: New file. For PR gcj/375.
From-SVN: r37717
Tom Tromey [Fri, 24 Nov 2000 20:54:44 +0000 (20:54 +0000)]
* libjava.compile/PR374.java: New file. For PR gcj/374.
From-SVN: r37716
Denis Chertykov [Fri, 24 Nov 2000 20:02:40 +0000 (20:02 +0000)]
avr.c (out_tsthi,out_tstsi): Test simplification bug fixed.
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
fixed.
(machine_dependent_reorg): Wrong optimization based on
NOTICE_UPDATE_CC removed.
From-SVN: r37715
J"orn Rennecke [Fri, 24 Nov 2000 19:51:09 +0000 (19:51 +0000)]
jump.c (delete_computation): Re-instate deletion of feeding insn.
* jump.c (delete_computation): Re-instate deletion of feeding insn.
(delete_insn): Look for REG_LABEL notes.
(redirect_tablejump): Delete feeding insns.
From-SVN: r37714
Bernd Schmidt [Fri, 24 Nov 2000 17:51:51 +0000 (17:51 +0000)]
Make operand numbers contiguous in four patterns.
From-SVN: r37713
Bernd Schmidt [Fri, 24 Nov 2000 17:45:04 +0000 (17:45 +0000)]
Fix crash in fold_range_test
From-SVN: r37712
Bernd Schmidt [Fri, 24 Nov 2000 17:40:09 +0000 (17:40 +0000)]
Fix code that substitutes reloadreg into SET_DEST of previous insn.
From-SVN: r37711
Bernd Schmidt [Fri, 24 Nov 2000 17:36:47 +0000 (17:36 +0000)]
Treat ready list as a (for now, semi-)abstract datatype. Lose max_priority.
From-SVN: r37710
Bernd Schmidt [Fri, 24 Nov 2000 17:11:10 +0000 (17:11 +0000)]
New testcase
From-SVN: r37709
Anthony Green [Fri, 24 Nov 2000 15:29:39 +0000 (15:29 +0000)]
jcf-parse.c (init_jcf_parse): Register current_file_list root.
* jcf-parse.c (init_jcf_parse): Register current_file_list root.
Move current_file_list out of yyparse and make it static.
* expr.c: Declare quick_stack and tree_list_free_list as static
(init_expr_processing): Register quick_stack and
tree_list_free_list roots.
From-SVN: r37708