OSDN Git Service
ghazi [Mon, 27 Nov 2000 05:00:06 +0000 (05:00 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37777
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Nov 2000 04:25:32 +0000 (04:25 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37776
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37775
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 27 Nov 2000 04:10:57 +0000 (04:10 +0000)]
Reverted erroneous Makefile.am commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37774
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 27 Nov 2000 04:09:54 +0000 (04:09 +0000)]
Forgot to commit these ChangeLog entries.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37773
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 27 Nov 2000 04:07:48 +0000 (04:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37772
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
(_Jv_NewPrimArray): Likewise.
* gcj/array.h (__JArray): `length' field now const. Added
constructor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37771
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Mon, 27 Nov 2000 03:16:14 +0000 (03:16 +0000)]
Initial jndi check-in
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37770
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 27 Nov 2000 03:02:00 +0000 (03:02 +0000)]
2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/istream_unformatted.cc (test05): Fixup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37769
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 27 Nov 2000 00:05:39 +0000 (00:05 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37768
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 26 Nov 2000 23:24:21 +0000 (23:24 +0000)]
* libjava.compile/weirddecl.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37767
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 26 Nov 2000 20:02:40 +0000 (20:02 +0000)]
* 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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37766
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 26 Nov 2000 19:30:31 +0000 (19:30 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37765
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 26 Nov 2000 19:30:27 +0000 (19:30 +0000)]
* cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
current buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37764
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sun, 26 Nov 2000 19:15:39 +0000 (19:15 +0000)]
* makefile.vms: Remove EGCS references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37763
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Sun, 26 Nov 2000 19:12:18 +0000 (19:12 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37762
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 26 Nov 2000 17:31:13 +0000 (17:31 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37761
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 26 Nov 2000 17:26:59 +0000 (17:26 +0000)]
* g++.old-deja/g++.other/overload12.C
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37760
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Sun, 26 Nov 2000 16:21:01 +0000 (16:21 +0000)]
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)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37759
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 26 Nov 2000 15:16:32 +0000 (15:16 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37758
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 26 Nov 2000 15:04:25 +0000 (15:04 +0000)]
* fold-const.c (fold, case CONVERT_EXPR): Always return tree of
proper type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37757
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 26 Nov 2000 12:20:50 +0000 (12:20 +0000)]
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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37756
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 26 Nov 2000 10:50:49 +0000 (10:50 +0000)]
* c-lex.h: Should have been committed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37755
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 26 Nov 2000 10:48:50 +0000 (10:48 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37754
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 26 Nov 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37753
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 26 Nov 2000 07:53:15 +0000 (07:53 +0000)]
Forgot to commit this ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37752
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 26 Nov 2000 03:58:56 +0000 (03:58 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37751
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 26 Nov 2000 01:58:42 +0000 (01:58 +0000)]
* combine.c (try_combine): Remove redundant test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37750
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sun, 26 Nov 2000 01:48:04 +0000 (01:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37749
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 26 Nov 2000 00:40:46 +0000 (00:40 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37748
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 26 Nov 2000 00:16:18 +0000 (00:16 +0000)]
* c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
lineno for the start of the function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37747
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 26 Nov 2000 00:12:42 +0000 (00:12 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37746
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 25 Nov 2000 19:50:51 +0000 (19:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37745
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 25 Nov 2000 19:40:19 +0000 (19:40 +0000)]
* invoke.texi: Update sequence points references.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37744
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 25 Nov 2000 19:36:53 +0000 (19:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37743
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 25 Nov 2000 19:28:44 +0000 (19:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37742
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 25 Nov 2000 18:54:33 +0000 (18:54 +0000)]
* haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
Revert 2000-11-22 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37741
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Sat, 25 Nov 2000 18:04:51 +0000 (18:04 +0000)]
Allow combinations involving the flag register
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37740
138bc75d-0d04-0410-961f-
82ee72b054a4
pthomas [Sat, 25 Nov 2000 17:50:02 +0000 (17:50 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37739
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 25 Nov 2000 17:38:58 +0000 (17:38 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37738
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 25 Nov 2000 15:39:37 +0000 (15:39 +0000)]
* gcc.dg/cpp/include2.c: Make test locale independent.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37737
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 25 Nov 2000 09:11:15 +0000 (09:11 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37736
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 25 Nov 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37735
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 25 Nov 2000 06:35:09 +0000 (06:35 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37734
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 25 Nov 2000 06:24:05 +0000 (06:24 +0000)]
* Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
insn-codes.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37733
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 25 Nov 2000 04:57:39 +0000 (04:57 +0000)]
* gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
(sibcall_pcrel): New insn_and_split.
(sibcall, sibcall_value, sibcall_epilogue): New expands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37732
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 25 Nov 2000 04:42:27 +0000 (04:42 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37731
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 25 Nov 2000 04:32:45 +0000 (04:32 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37730
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 25 Nov 2000 04:27:59 +0000 (04:27 +0000)]
* gcc.c-torture/compile/
20001123-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37729
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Sat, 25 Nov 2000 02:40:00 +0000 (02:40 +0000)]
* g++.old-dega/g++.pt/ttp62.C: Call abort() on failure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37728
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37727
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 25 Nov 2000 00:33:04 +0000 (00:33 +0000)]
Add support for target specific, language specific object files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37726
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Sat, 25 Nov 2000 00:28:09 +0000 (00:28 +0000)]
Add xscale-elf and xscale-coff targets. (Only supported in binutils at the
moment).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37725
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 24 Nov 2000 23:57:31 +0000 (23:57 +0000)]
* gcc.c (process_command): Use F_OK, not R_OK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37724
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 24 Nov 2000 23:48:45 +0000 (23:48 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37723
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 24 Nov 2000 23:45:08 +0000 (23:45 +0000)]
* flow.c (print_rtl_and_abort): Remove ANSIism.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37722
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 24 Nov 2000 22:06:31 +0000 (22:06 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37721
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 24 Nov 2000 21:54:19 +0000 (21:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37720
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 24 Nov 2000 21:38:16 +0000 (21:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37719
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 24 Nov 2000 21:02:36 +0000 (21:02 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37718
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 24 Nov 2000 20:54:56 +0000 (20:54 +0000)]
* libjava.compile/PR375.java: New file. For PR gcj/375.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37717
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 24 Nov 2000 20:54:44 +0000 (20:54 +0000)]
* libjava.compile/PR374.java: New file. For PR gcj/374.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37716
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Fri, 24 Nov 2000 20:02:40 +0000 (20:02 +0000)]
* config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
fixed.
(machine_dependent_reorg): Wrong optimization based on
NOTICE_UPDATE_CC removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37715
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 24 Nov 2000 19:51:09 +0000 (19:51 +0000)]
* jump.c (delete_computation): Re-instate deletion of feeding insn.
(delete_insn): Look for REG_LABEL notes.
(redirect_tablejump): Delete feeding insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37714
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 17:51:51 +0000 (17:51 +0000)]
Make operand numbers contiguous in four patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37713
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 17:45:04 +0000 (17:45 +0000)]
Fix crash in fold_range_test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37712
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 17:40:09 +0000 (17:40 +0000)]
Fix code that substitutes reloadreg into SET_DEST of previous insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37711
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 17:36:47 +0000 (17:36 +0000)]
Treat ready list as a (for now, semi-)abstract datatype. Lose max_priority.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37710
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 17:11:10 +0000 (17:11 +0000)]
New testcase
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37709
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 24 Nov 2000 15:29:39 +0000 (15:29 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37708
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 14:22:01 +0000 (14:22 +0000)]
Fix bug in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37707
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 11:49:46 +0000 (11:49 +0000)]
Overhaul sequence point warnings (again)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37706
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 11:36:27 +0000 (11:36 +0000)]
Avoid a bit of copy propagation when there's a REG_EQUIV note
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37705
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Fri, 24 Nov 2000 11:28:51 +0000 (11:28 +0000)]
Avoid hard register combinations
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37704
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 24 Nov 2000 10:30:46 +0000 (10:30 +0000)]
* c-parse.in (unary_expr): Move VA_ARG from here ...
(primary): ... to here.
cp:
* parse.y (unary_expr): Move VA_ARG from here ...
(primary): ... to here.
testsuite:
* g++.old-deja/g++.other/vaarg4.C: New test.
* gcc.c-torture/compile/
20001123-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37703
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 24 Nov 2000 09:56:27 +0000 (09:56 +0000)]
cp:
* semantics.c (finish_id_expr): If type is error_mark, return
error_mark.
testsuite:
* g++.other/crash24.C: Adjust and remove XFAIL.
* g++.other/crash37.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37702
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 24 Nov 2000 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37701
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Thu, 23 Nov 2000 20:15:36 +0000 (20:15 +0000)]
* expr.c (store_constructor): If a field is non addressable and
the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37700
138bc75d-0d04-0410-961f-
82ee72b054a4
bernds [Thu, 23 Nov 2000 18:19:18 +0000 (18:19 +0000)]
Try to dump some information before aborting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37699
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 23 Nov 2000 15:19:36 +0000 (15:19 +0000)]
cp:
* pt.c (lookup_template_class): Simplify loop exit constructs.
Cope when there is no partial instantiation of a template
template member.
testsuite:
* g++.old-deja/g++.pt/instantiate9.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37698
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 23 Nov 2000 13:24:28 +0000 (13:24 +0000)]
Use UNSPEC_MOVA in newly-introduced mova_const
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37697
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 23 Nov 2000 13:23:04 +0000 (13:23 +0000)]
* emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
is narrower than requested mode.
(gen_highpart): Abort if register mode is narrower than
requested mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37696
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 23 Nov 2000 11:30:46 +0000 (11:30 +0000)]
* config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
If not glibc 2.1 or higher, include <gnu/types.h> and define
__off64_t as __loff_t and #define __THROW as empty.
* libio/libio.h [__P]: Move __THROW and __PMT into their own
ifndef:s.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37695
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Thu, 23 Nov 2000 11:04:45 +0000 (11:04 +0000)]
* cse.c (cse_insn): Initialise all regcost variables.
Fix a typo add missing '='.
Only compare costs if there is a replacement insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37694
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 23 Nov 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37693
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 23 Nov 2000 06:46:31 +0000 (06:46 +0000)]
2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
Make deprecated strstream header consistent with new and new.h.
* include/backward/strstream.h: Add. Use using declarations to
scope strstreambuf, istrstream, ostrstream, strstream to global
scope.
* include/backward/strstream: Remove using declarations.
* src/Makefile.am (base_headers): Add strstream.
* src/Makefile.in: Regenerate.
* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
to be consistent with other headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37692
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 23 Nov 2000 06:37:23 +0000 (06:37 +0000)]
* final.c (output_addr_const) [LABEL_REF]: Simplify.
[MINUS]: Enclose non-CONST_INTs in parentheses.
[default]: Try OUTPUT_ADDR_CONST_EXTRA.
* tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
* varasm.c (decode_rtx_const) [CONST]: If it's not something
PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
instead of abort()ing.
* sh.c (output_pic_addr_const): Removed. Fixed all callers.
* sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
formerly handled in output_pic_addr_const.
* sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
operands of MINUS in CONSTs so that decode_rtx_const() will
accept them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37691
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 23 Nov 2000 06:20:16 +0000 (06:20 +0000)]
* config/sh/sh.md (mova_const): New pattern.
(GOTaddr2picreg): Use it.
* config/sh/sh.c (broken_move): Match it.
(mova_p): Don't match it.
(machine_dependent_reorg): Adjust it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37690
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 23 Nov 2000 06:04:16 +0000 (06:04 +0000)]
2000-11-22 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (build_outer_field_access): New local `decl_ctx', use
it. Check for field's context and current class immediate outer
context inheritance.
(outer_field_access_p): Consider fields inherited from the last
enclosing context.
(build_access_to_thisn): Stop at the last enclosing context if
necessary.
Fixes gcj/367.
(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01335.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37689
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 23 Nov 2000 05:51:07 +0000 (05:51 +0000)]
* porting.texi: Expand libtool information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37688
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 23 Nov 2000 05:45:47 +0000 (05:45 +0000)]
2000-11-23 Mark Wielaard <mark@klomp.org>
* name-finder.cc (lookup): Check for a NULL _Jv_argv before
attempting lookup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37687
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 23 Nov 2000 05:40:27 +0000 (05:40 +0000)]
Formatting and coment changes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37686
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 23 Nov 2000 05:18:41 +0000 (05:18 +0000)]
2000-11-23 Bryce McKinlay <bryce@albatross.co.nz>
* java/util/Vector.java: Improve exception messages.
(Vector): Check initialCapacity for IllegalArgumentException.
(tromToSize): Don't check for elementCount == elementData.length
case.
(toArray): Don't try to set null marker if target array is the same
length as the vector.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37685
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 23 Nov 2000 04:53:40 +0000 (04:53 +0000)]
* include/bits/ios_base.h (ios_base::failure::~failure,
ios_base::failure::what): Move defintion to ...
* src/ios.cc (ios_base::failure::~failure): ... here.
src/ios.cc (ios::failure::what): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37684
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 23 Nov 2000 04:22:48 +0000 (04:22 +0000)]
* config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
Moved most register-number #defines...
* config/sh/sh.md (define_constants): ... here. Use macros to
refer to registers and unspecs.
* config/sh/sh.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37683
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 23 Nov 2000 03:25:47 +0000 (03:25 +0000)]
2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
Make deprecated strstream header consistent with new and new.h.
* include/backward/strstream.h: Add. Use using declarations to
scope strstreambuf, istrstream, ostrstream, strstream to global
scope.
* include/backward/strstream: Remove using declarations.
* src/Makefile.am (base_headers): Add strstream.
* src/Makefile.in: Regenerate.
* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
to be consistent with other headers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37682
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 23 Nov 2000 03:03:33 +0000 (03:03 +0000)]
2000-11-22 Richard Henderson <rth@redhat.com>
* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37681
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 23 Nov 2000 02:22:03 +0000 (02:22 +0000)]
gcc toplevel:
* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
(splay-tree.o, hash.o): Likewise.
GCONFIG_H: New.
(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
(hashtab.o): Likewise.
(gcov.o): Depend on $(CONFIG_H).
* configure.in: #include insn-codes.h in tm.h.
f:
* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).
java:
* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).
cp:
* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37680
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 22 Nov 2000 23:57:50 +0000 (23:57 +0000)]
* cplus-dem.c (main): Handle gnat_demangling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37679
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 22 Nov 2000 23:53:03 +0000 (23:53 +0000)]
* mangle.c (mangle_conv_op_name_for_type): Don't use `__op'
prefix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37678
138bc75d-0d04-0410-961f-
82ee72b054a4