OSDN Git Service

pf3gnuchains/gcc-fork.git
24 years agoMissed toplevel Changelog in my previous commit.
geoffk [Mon, 10 Jan 2000 20:54:02 +0000 (20:54 +0000)]
Missed toplevel Changelog in my previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31306 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-10 Jeff Sturm <jsturm@sigma6.com>
tromey [Mon, 10 Jan 2000 20:02:47 +0000 (20:02 +0000)]
2000-01-10  Jeff Sturm  <jsturm@sigma6.com>

* java/lang/natMath.cc (pow): Cast args to `double', not
`jdouble'.
(atan2): Likewise.
(IEEEremainder): Likewise.
* java/lang/mprec.h: Don't wrap includes in `extern "C"'.
* java/lang/fdlibm.h: Don't wrap includes in `extern "C"'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31305 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* combine.c (expand_field_assignment): Do not discard SUBREGs
oliva [Mon, 10 Jan 2000 19:56:15 +0000 (19:56 +0000)]
* combine.c (expand_field_assignment): Do not discard SUBREGs
while computing nonzero_bits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31304 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in: Use mt-aix43 to handle *_TARGET defs,
geoffk [Mon, 10 Jan 2000 18:33:55 +0000 (18:33 +0000)]
* configure.in: Use mt-aix43 to handle *_TARGET defs,
not mh-aix43.
* config/mh-aix43: Delete, move to mt-aix43.
* config/mt-aix43: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31303 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Mon, 10 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31302 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * jcf-write.c (generate_bytecode_insns): Emit invokeinterface
green [Mon, 10 Jan 2000 01:26:27 +0000 (01:26 +0000)]
* jcf-write.c (generate_bytecode_insns): Emit invokeinterface
bytecodes in the correct order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31301 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-09 Anthony Green <green@cygnus.com>
green [Sun, 9 Jan 2000 22:25:54 +0000 (22:25 +0000)]
2000-01-09  Anthony Green  <green@cygnus.com>

* java/lang/natString.cc (init): Test for overflow condition
during out of bounds check.
(getChars): Throw StringIndexOutOfBoundsException, not
ArrayIndexOutOfBoundsException.
(getBytes): Ditto.
(regionMatches): Obey case option during string comparison.

* configure.host (ligcj_interpreter): New variable.  Enable
interpreter by default on IA-32.
* configure.in:  Examine libgcj_interpreter.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31300 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago(CLEAR_INSN_CACHE): Say that R0 is clobbered.
nickc [Sun, 9 Jan 2000 20:28:55 +0000 (20:28 +0000)]
(CLEAR_INSN_CACHE): Say that R0 is clobbered.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31299 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix compile time warnings about signed vs unsigned constants
nickc [Sun, 9 Jan 2000 20:03:01 +0000 (20:03 +0000)]
Fix compile time warnings about signed vs unsigned constants

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31298 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoApply patch from Phillip Blundel to use single STR/LDR when only loading
nickc [Sun, 9 Jan 2000 19:42:57 +0000 (19:42 +0000)]
Apply patch from Phillip Blundel to use single STR/LDR when only loading
storing a single register in a function prologue/epilogue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31296 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/ns32k/ns32k.md (load or push effective address): Operand 1
hp [Sun, 9 Jan 2000 16:18:57 +0000 (16:18 +0000)]
* config/ns32k/ns32k.md (load or push effective address): Operand 1
must have SImode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31295 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (jcf-dump, gcjh): Move ../errors.o before $(LIBS).
ghazi [Sun, 9 Jan 2000 14:30:28 +0000 (14:30 +0000)]
* Makefile.in (jcf-dump, gcjh): Move ../errors.o before $(LIBS).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31294 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
ghazi [Sun, 9 Jan 2000 14:23:35 +0000 (14:23 +0000)]
* elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
assignment used as truth value.

* function.c (assign_temp): Mark parameter `dont_promote' with
ATTRIBUTE_UNUSED.  Wrap variable `unsignedp' with macro
PROMOTE_FOR_CALL_ONLY.

* genrecog.c (write_subroutine): Mark variable `operands' with
ATTRIBUTE_UNUSED.

* optabs.c (prepare_cmp_insn): Mark parameter `align' with
ATTRIBUTE_UNUSED.

* sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
(sdbout_begin_block, sdbout_end_block): Likewise for `file'.

* toplev.c (note_deferral_of_defined_inline_function): Likewise
for `decl'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31293 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x.h: Tidy up comments.
m.hayes [Sun, 9 Jan 2000 09:09:51 +0000 (09:09 +0000)]
* config/c4x.h: Tidy up comments.
* config/c4x.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31292 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sun, 9 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31291 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDon't fall off the end of main
zack [Sun, 9 Jan 2000 07:14:03 +0000 (07:14 +0000)]
Don't fall off the end of main

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31290 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fold-const.c (lshift_double, rshift_double): Handle
wehle [Sun, 9 Jan 2000 06:03:45 +0000 (06:03 +0000)]
* fold-const.c (lshift_double, rshift_double): Handle
shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31289 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* toplev.c (rest_of_compilation): Initialize cse_not_expected as
oliva [Sat, 8 Jan 2000 20:30:18 +0000 (20:30 +0000)]
* toplev.c (rest_of_compilation): Initialize cse_not_expected as
in prepare_function_start().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31288 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFix bug restoring stack from interrupt handler.
nickc [Sat, 8 Jan 2000 20:15:56 +0000 (20:15 +0000)]
Fix bug restoring stack from interrupt handler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31287 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago* gcc.dg/20000108-1.c: New test.
oliva [Sat, 8 Jan 2000 19:53:48 +0000 (19:53 +0000)]
* gcc.dg/20000108-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31286 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Sat, 8 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31285 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoWed Dec 8 15:33:26 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Sat, 8 Jan 2000 01:59:33 +0000 (01:59 +0000)]
Wed Dec  8 15:33:26 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * expr.c (java_lang_expand_expr): Switch to permanent obstack
        before calling expand_eh_region_start and expand_start_all_catch.
        * except.c (expand_start_java_handler): Switch to permanent
        obstack before calling expand_eh_region_start.
        (expand_end_java_handler): Switch to permanent obstack before
        calling expand_start_all_catch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31284 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoThu Jan 6 16:31:28 2000 Anthony Green <green@cygnus.com>
apbianco [Fri, 7 Jan 2000 23:07:52 +0000 (23:07 +0000)]
Thu Jan  6 16:31:28 2000  Anthony Green  <green@cygnus.com>

        * expr.c (java_lang_expand_expr): Switch to permanent obstack
        before building constant array decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31283 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x/c4x.md (*subqf3_set): Fix typo.
m.hayes [Fri, 7 Jan 2000 22:51:21 +0000 (22:51 +0000)]
* config/c4x/c4x.md (*subqf3_set): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31282 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
m.hayes [Fri, 7 Jan 2000 22:48:54 +0000 (22:48 +0000)]
* config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31281 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago- Update copyright, oops.
dje [Fri, 7 Jan 2000 22:30:22 +0000 (22:30 +0000)]
- Update copyright, oops.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31279 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * mauve-libgcj: Don't disable ClassTest.
tromey [Fri, 7 Jan 2000 20:42:26 +0000 (20:42 +0000)]
* mauve-libgcj: Don't disable ClassTest.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31278 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoThu Jan 6 00:54:10 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Fri, 7 Jan 2000 20:28:11 +0000 (20:28 +0000)]
Thu Jan  6 00:54:10 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * jcf-write.c (generate_byecode_conditional): Fixed indentation in
        method invocation and typo in conditional expression.
        (generate_bytecode_insns): COND_EXPR can be part of a binop. Issue
        the appropriate NOTE_POP.
        * parse.y (patch_binop): Shift value mask to feature the right
        type.

(This is a fix for the PR #122:
 http://sourceware.cygnus.com/ml/java-prs/2000-q1/msg00000.html)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31277 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/natClass.cc (getClasses): Wrote.
tromey [Fri, 7 Jan 2000 20:23:01 +0000 (20:23 +0000)]
* java/lang/natClass.cc (getClasses): Wrote.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31276 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * rs6000.c (processor_target_table): Add power3 as alias for 630.
dje [Fri, 7 Jan 2000 18:33:12 +0000 (18:33 +0000)]
* rs6000.c (processor_target_table): Add power3 as alias for 630.
* aix43.h: Revert Aug 2 change.
(HAS_INIT_SECTION): Define, not visible yet.
(LD_INIT_SWITCH): Define, not visible yet.
* t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.

* glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.

* collect2.c (main): Expand ld2 size further.
(export_object_lst): Cast assignment to avoid warning.
(main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
(scan_prog_file, COFF): Do not collect initialization or
finalization functions generated for entire shared object if
init/fini support present.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31275 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoMerge duplicate definitions in svr4.h into elfos.h
nickc [Fri, 7 Jan 2000 18:30:43 +0000 (18:30 +0000)]
Merge duplicate definitions in svr4.h into elfos.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31274 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * fold-const.c (real_hex_to_f): Remove duplicate declaration of
mmitchel [Fri, 7 Jan 2000 16:37:04 +0000 (16:37 +0000)]
* fold-const.c (real_hex_to_f): Remove duplicate declaration of
expon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31273 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * lang-specs.h (__GXX_ABI_VERSION): New preprocessor macro.
nathan [Fri, 7 Jan 2000 12:01:53 +0000 (12:01 +0000)]
* lang-specs.h (__GXX_ABI_VERSION): New preprocessor macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31272 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
law [Fri, 7 Jan 2000 08:56:40 +0000 (08:56 +0000)]
    * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
        crtstuff.c.
        (crtbegin.o, s-crtS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31271 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Fri, 7 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31270 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT.
jason [Fri, 7 Jan 2000 07:06:59 +0000 (07:06 +0000)]
    * decl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT.
        * pt.c (instantiate_decl): Defer comdat templates that might not be
        needed.

        * cp-tree.h (DECL_NEEDED_P): Also true if !DECL_COMDAT.
        * decl2.c (finish_vtable_vardecl): Don't check !DECL_COMDAT.
        (finish_file): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31269 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agofix
jason [Fri, 7 Jan 2000 05:57:58 +0000 (05:57 +0000)]
fix

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31268 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * alpha.md (adddi_2+1): Limit offset such that it will be
rth [Fri, 7 Jan 2000 01:46:25 +0000 (01:46 +0000)]
    * alpha.md (adddi_2+1): Limit offset such that it will be
        loadable with a single ldah+lda pair.
        (adddi_2+2): Explicitly fail split if we can't make it work.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31267 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
khan [Fri, 7 Jan 2000 00:42:12 +0000 (00:42 +0000)]
2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* protoize.c: Conditionally include unistd.h.
(IS_SAME_PATH_CHAR): New macro.
(IS_SAME_PATH): New macro.
(CPLUS_FILE_SUFFIX): New macro.
(cplus_suffix): New static variable.
(is_abspath): New static function.
(in_system_include_dir): Handle DOS style pathnames.
(file_could_be_converted): Likewise.
(file_normally_convertible): Likewise.
(directory_specified_p): Likewise.
(file_excluded_p): Likewise.
(abspath): Likewise.
(shortpath): Likewise.
(referenced_file_is_newer): Likewise.
(save_def_or_dec): Likewise.
(do_processing): Likewise.
(main): Likewise.
(edit_file): Likewise. Use rename instead of link.
(rename_c_file): Likewise. Don't rename syscalls file.
(munge_compile_params): Define null device for DOS based systems.
(process_aux_info_file): Use binary mode if appliable.
(edit_file): Likewise.
* invoke.texi (Running Protoize): Document C++ suffixes used.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31265 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
khan [Fri, 7 Jan 2000 00:16:51 +0000 (00:16 +0000)]
2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
IS_DIR_SEPARATOR macros.
* collect2.c: Likewise.
* cppinit.c: Likewise.
* dwarf2out.c: Likewise.
* gcc.c: Likewise.
* gcov.c: Likewise.
* prefix.c: Likewise.
* rtl.c: Likewise.
* toplev.c: Likewise.
* system.h: And move to here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31264 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agonew
jason [Fri, 7 Jan 2000 00:06:44 +0000 (00:06 +0000)]
new

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31263 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * error.c (dump_decl): operator new, not operatornew.
jason [Thu, 6 Jan 2000 23:54:34 +0000 (23:54 +0000)]
    * error.c (dump_decl): operator new, not operatornew.

        * class.c (field_decl_cmp): A nontype is "greater" than a type.
        * search.c (lookup_field_1): Look for the last field with the
        desired name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31262 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoFri Dec 24 00:25:29 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
apbianco [Thu, 6 Jan 2000 22:06:22 +0000 (22:06 +0000)]
Fri Dec 24 00:25:29 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* Makefile.in (LIBDEPS): Added gcc's errors.o
(../jcf-dump$(exeext):): Link with gcc's errors.o
(../gcjh$(exeext):): Likewise.
* expr.c (expand_java_NEW): Layout the entire target type instead of
  laying out its methods only.
(lookup_field): Layout the class after having loaded it.
* java-tree.h (java_debug_context): Declared.
* jcf-io.c (toplev.h): Included.
(find_class): Removed assignment to jcf's outofsynch
  field. Force source file to be read if newer than its matching
  class file. Tweaked debug messages.
* jcf-parse.c (jcf_out_of_synch): Deleted.
(read_class): Call to jcf_out_of_synch removed.
* jcf.h (typedef struct JCF): Field `outofsynch' deleted.
(jcf_out_of_synch): Prototype deleted.
* parse.h (struct parser_ctxt): `minus_seen', `java_error_flag',
  `deprecated' and `class_err': integer turned into bit fields.
New bit fields `saved_data_ctx' and `saved_data'. Fixed comments.
* parse.y (package_list): New global.
(package_declaration:): Record newly parsed package name.
(extra_ctxp_pushed_p): Static global deleted.
(java_parser_context_save_global): Create buffer context for the
  purpose of saving globals, if necessary.
(java_parser_context_restore_global): Pop context pushed for the
  purpose of saving globals, if necessary.
(java_debug_context_do): New prototype and function.
(java_debug_context): Likewise.
(do_resolve_class): Use already parsed package names to qualify
  and lookup class candidate.
(java_pre_expand_clinit): Removed unnecessary local variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31261 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
khan [Thu, 6 Jan 2000 22:00:02 +0000 (22:00 +0000)]
2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

* prefix.c (update_path): Fix typo in variable name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31260 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
rth [Thu, 6 Jan 2000 20:25:41 +0000 (20:25 +0000)]
    * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
        (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
        (count_reg_sets_1, count_reg_references): Likewise.
        (flow_loops_level_compute): Start counting actual loop depth at 1.
        (flow_loops_find): Likewise.
        * local-alloc.c (update_equiv_regs): Likewise.
        * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31259 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/natClass.cc (_getConstructors): Correctly check
tromey [Thu, 6 Jan 2000 18:18:15 +0000 (18:18 +0000)]
* java/lang/natClass.cc (_getConstructors): Correctly check
whether method name is the init name.
(getMethod): Look at accflags on method in `klass', not `this'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31258 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
gdr [Thu, 6 Jan 2000 14:29:08 +0000 (14:29 +0000)]
2000-01-06  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>

       * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
       FIRST_PSEUDO_REGISTER
       * dwarf2out.c: Don't include frame.h
       * dwarfout.c: Likewise
       * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
       frame.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31257 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
hubicka [Thu, 6 Jan 2000 13:03:58 +0000 (13:03 +0000)]
* reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
dead registers.

* i386.c (movsf splitter): Fix typo in my last checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31256 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Thu, 6 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31255 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/natClass.cc (getMethod): Compute offset relative to
tromey [Thu, 6 Jan 2000 00:56:21 +0000 (00:56 +0000)]
* java/lang/natClass.cc (getMethod): Compute offset relative to
`klass's methods table, not `this's table.

* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA):
In unwrapping/widening case, check whether `k' is null, not
whether it is primitive.  Initialize `num' from `argelts', not
`paramelts'.  Correct create and pass arguments to ffi_call.
Don't let presence of `this' argument affect index used to look in
argument arrays.
(COPY): Set appropriate element in `values' vector.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31253 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agooops - typo in previous delta
nickc [Wed, 5 Jan 2000 23:31:29 +0000 (23:31 +0000)]
oops - typo in previous delta

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31251 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoAdd support for generating unique sections for unitialised data.
nickc [Wed, 5 Jan 2000 23:26:06 +0000 (23:26 +0000)]
Add support for generating unique sections for unitialised data.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31250 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/natClass.cc: Include <gcj/method.h>.
tromey [Wed, 5 Jan 2000 22:52:54 +0000 (22:52 +0000)]
* java/lang/natClass.cc: Include <gcj/method.h>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31249 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
m.hayes [Wed, 5 Jan 2000 22:43:53 +0000 (22:43 +0000)]
* config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
SI, or DI.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31248 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x/c4x.md(udivqi3, divqi3): Delete.
m.hayes [Wed, 5 Jan 2000 22:38:12 +0000 (22:38 +0000)]
* config/c4x/c4x.md(udivqi3, divqi3): Delete.
(umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
(*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
(*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
(*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.

* c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31247 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/Class.h (_getMethods): Correctly declare as private,
tromey [Wed, 5 Jan 2000 22:29:27 +0000 (22:29 +0000)]
* java/lang/Class.h (_getMethods): Correctly declare as private,
not public.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31246 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/Class.h (_getMethods): Declare.
tromey [Wed, 5 Jan 2000 22:22:10 +0000 (22:22 +0000)]
* java/lang/Class.h (_getMethods): Declare.
* java/lang/Class.java (_getMethods): Declare.
* java/lang/natClass.cc (getDeclaringClass): Always return NULL.
(getDeclaredClasses): Always return empty array.
(_getMethods): New method.
(getMethods): Wrote.
(getDeclaredMethod): Return `rmethod'.
(finit_name): New global.
(getDeclaredMethods): Check for finit_name.
(_getMethods): Likewise.
(getMethod): Only return public methods.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31245 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
zack [Wed, 5 Jan 2000 19:26:23 +0000 (19:26 +0000)]
2000-01-05 11:25 -0800  Zack Weinberg  <zack@rabi.columbia.edu>

* c-decl.c (finish_enum): Simplify code to determine minimum and
maximum values of the enum, and calculate the type.  Remove check
for FUNCTION_DECLs in the values list, which cannot happen.  Replace
the DECL_INITIAL of each enumeration constant with a copy converted
to the enumeration type.  When updating variant types, don't bother
updating the type itself.

* c-typeck.c (build_binary_op): Simplify conditional expressions
when weeding out spurious signed-unsigned warnings.  Add new
spurious warning category: if the unsigned quantity is an enum
and its maximum value fits in signed_type(result_type).  Update
commentary.
(build_conditional_expr): Warn here if one alternative is signed
and the other is unsigned.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31244 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoRemove extraneous comments
nickc [Wed, 5 Jan 2000 17:45:49 +0000 (17:45 +0000)]
Remove extraneous comments

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31243 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/reflect/natMethod.cc (get_ffi_type): Test size of
tromey [Wed, 5 Jan 2000 17:23:34 +0000 (17:23 +0000)]
* java/lang/reflect/natMethod.cc (get_ffi_type): Test size of
jboolean and select correct ffi type on that basis.
(_Jv_CallNonvirtualMethodA): Handle `void' return type.
Constructor call always has `void' return type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31242 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/lang/Class.h (getSignature): Updated.
tromey [Wed, 5 Jan 2000 16:35:20 +0000 (16:35 +0000)]
* java/lang/Class.h (getSignature): Updated.
* java/lang/Class.java (getSignature): Updated.
* java/lang/natClass.cc (getSignature): Added `is_constructor'
argument.
(getConstructor): Ensure constructor is public.
(_getConstructors): Check for public-ness of constructor when
`declared' is false, not when it is true.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31241 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoIncorrect code gen fix in reload
crux [Wed, 5 Jan 2000 12:41:07 +0000 (12:41 +0000)]
Incorrect code gen fix in reload

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31240 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.ns/koenig8.C: New test.
nathan [Wed, 5 Jan 2000 11:48:19 +0000 (11:48 +0000)]
* g++.old-deja/g++.ns/koenig8.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31239 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * decl2.c (lookup_arg_dependent): Deal with FNS not being a
nathan [Wed, 5 Jan 2000 11:45:33 +0000 (11:45 +0000)]
* decl2.c (lookup_arg_dependent): Deal with FNS not being a
FUNCTION_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31238 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.other/cast4.C: New test.
nathan [Wed, 5 Jan 2000 10:11:25 +0000 (10:11 +0000)]
* g++.old-deja/g++.other/cast4.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31237 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * typeck.c (build_static_cast): Don't strip target qualifiers
nathan [Wed, 5 Jan 2000 10:10:53 +0000 (10:10 +0000)]
* typeck.c (build_static_cast): Don't strip target qualifiers
when casting from a class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31236 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/compile/20000105-2.c: New test.
law [Wed, 5 Jan 2000 09:01:37 +0000 (09:01 +0000)]
    * gcc.c-torture/compile/20000105-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31235 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Wed, 5 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31234 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agofix typo
jason [Wed, 5 Jan 2000 08:23:15 +0000 (08:23 +0000)]
fix typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31233 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * gcc.c-torture/compile/20000105-1.c: New test.
law [Wed, 5 Jan 2000 07:27:01 +0000 (07:27 +0000)]
    * gcc.c-torture/compile/20000105-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31232 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (m68*-*-rtemscoff*): New target, formal name for
law [Wed, 5 Jan 2000 07:10:35 +0000 (07:10 +0000)]
    * configure.in (m68*-*-rtemscoff*): New target, formal name for
        old m68*-*-rtems*.
        (m68*-*-rtemself*): New target.
        (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
        (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
        (sparc*-*-rtemself*): New target.
        (sparc*-*-rtems*): Now elf not a.out.
        * config/i386/rtems.h: Include config/rtems.h.
        * config/i386/rtemself.h: Include config/rtems.h.
        * config/i960/rtems.h: Include config/rtems.h.
        * config/m68k/rtems.h: Include config/rtems.h.
        * config/m68k/rtemself.h: Include config/rtems.h.
        * config/mips/rtems64.h: Include config/rtems.h.
        * config/pa/rtems.h: Include config/rtems.h.
        * config/rs6000/rtems.h: Include config/rtems.h.
        * config/sh/rtems.h: Include config/rtems.h.
        * config/sh/rtemself.h: Include config/rtems.h.
        * config/sparc/rtems.h: Include config/rtems.h.
        * config/sparc/rtemself.h: Include config/rtems.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31231 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * final.c (shorten_branches): Correctly compute length of
law [Wed, 5 Jan 2000 07:01:00 +0000 (07:01 +0000)]
    * final.c (shorten_branches): Correctly compute length of
        asms without operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31230 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * cse.c (cse_insn): Missing cast added.
law [Wed, 5 Jan 2000 06:55:02 +0000 (06:55 +0000)]
* cse.c (cse_insn): Missing cast added.
* loop.c (loop_reg_used_before_p): Ditto.
* gcse.c (Pre_gcse, hoist_code): Ditto.
* varasm.c (decode_rtx_const): Ditto.
* except.c (push_ehqueue): Ditto.
* cccp.c (index0): Ditto.
* toplev.c (main): Useless `&' removed before function name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31229 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoCopyright date
law [Wed, 5 Jan 2000 06:32:16 +0000 (06:32 +0000)]
Copyright date

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31228 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdate copyright dates.
law [Wed, 5 Jan 2000 06:30:24 +0000 (06:30 +0000)]
Update copyright dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31227 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdate copyright date.
law [Wed, 5 Jan 2000 06:29:24 +0000 (06:29 +0000)]
Update copyright date.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31226 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in: Add pj target.
law [Wed, 5 Jan 2000 05:57:17 +0000 (05:57 +0000)]
    * configure.in: Add pj target.
        * configure: Regenerate.
        * config/pj: New directory.
        * config/pj/lib1funcs.S: New file.
        * config/pj/linux.h: New file.
        * config/pj/pj.c: New file.
        * config/pj/pj.md: New file.
        * config/pj/pjl.h: New file.
        * config/pj/t-pj: New file.
        * config/pj/xm-pj.h: New file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31225 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * toplev.c (rest_of_compilation): Run shorten-branches before
law [Wed, 5 Jan 2000 05:32:27 +0000 (05:32 +0000)]
    * toplev.c (rest_of_compilation): Run shorten-branches before
        reg-stack for now.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31224 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
m.hayes [Tue, 4 Jan 2000 23:57:40 +0000 (23:57 +0000)]
* config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
macros so that they're consistent with their names.
* config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
* config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31221 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * Makefile.in: Rebuilt with newer automake.
tromey [Tue, 4 Jan 2000 23:06:17 +0000 (23:06 +0000)]
* Makefile.in: Rebuilt with newer automake.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31220 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
warrenl [Tue, 4 Jan 2000 22:41:58 +0000 (22:41 +0000)]
* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
comment.
(receive): Set the sender's address in the DatagramPacket.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31218 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
m.hayes [Tue, 4 Jan 2000 22:12:59 +0000 (22:12 +0000)]
* config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
modified inadvertently.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31217 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoApplied Joel Sherrill's patch to add v850-rtems target
nickc [Tue, 4 Jan 2000 22:02:43 +0000 (22:02 +0000)]
Applied Joel Sherrill's patch to add v850-rtems target

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31216 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
khan [Tue, 4 Jan 2000 21:11:17 +0000 (21:11 +0000)]
2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>

* gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
(__gthread_key_create): Likewise.
  (__gthread_key_dtor):  Likewise.
(__gthread_once): Fix logic.
(__gthread_key_delete): Cast away constness.

* i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
* invoke.texi: Document.
* i386/mingw32.h (CPP_SPEC): Use.
(LIBGCC_SPEC): Likewise.
* i386/crtdll.h (LIBGCC_SPEC): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31215 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
khan [Tue, 4 Jan 2000 21:09:51 +0000 (21:09 +0000)]
2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>

* pexecute.c: Conditionally include string.h.
(fix_argv): Handle embedded whitespace in args for Mingw32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31214 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
dje [Tue, 4 Jan 2000 20:29:31 +0000 (20:29 +0000)]
* rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
(HANDLE_PRAGMA_PACK): Undefine.
(SLOW_UNALIGNED_ACCESS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31213 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago- Document SLOW_UNALIGNED_ACCESS change.
dje [Tue, 4 Jan 2000 20:10:19 +0000 (20:10 +0000)]
- Document SLOW_UNALIGNED_ACCESS change.
- Update copyright.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31212 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
dje [Tue, 4 Jan 2000 20:09:19 +0000 (20:09 +0000)]
* expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
to default definition.
(store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
(store_fixed_bit_field): Call macro with word_mode and alignment.
(extract_bit_field): Call macro with relevant mode and alignment.
* expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
to default definition.
(move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
and alignment.
(move_by_pieces_ninsns): Likewise.
(clear_by_pieces): Likewise.
(emit_push_insn): Likewise.
(store_field): Call macro with relevant mode and alignment.
(expand_expr): Likewise.
(expand_expr_unaligned): Likewise.

* rs6000.h (HANDLE_PRAGMA_PACK): Define.
(SLOW_UNALIGNED_ACCESS): Define.
(CASE_VECTOR_MODE): Always use 32-bit offsets.
(ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
(EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
(toc_section): Likewise and .toc pseudo-op.
(ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
64-bit mode.
(TEXT_SECTION_ASM_OP): Likewise.
(ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
32-bit offsets.

* a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
* alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
* arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
* gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
* fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31211 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regclass.c: Revert my Jan 4 change to loop cost computation.
law [Tue, 4 Jan 2000 18:46:46 +0000 (18:46 +0000)]
    * regclass.c: Revert my Jan 4 change to loop cost computation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31210 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
hubicka [Tue, 4 Jan 2000 18:26:39 +0000 (18:26 +0000)]
* regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
compilation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31209 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-04 Stan Cox <scox@cygnus.com>
scox [Tue, 4 Jan 2000 17:19:41 +0000 (17:19 +0000)]
2000-01-04  Stan Cox  <scox@cygnus.com>
* haifa-sched.c (build_control_flow): Change unreachable simple
loop test to check if current block has only one predecessor.
(find_rgns): Initialize degree.  Use dest as degree index, not src.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31208 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
ghazi [Tue, 4 Jan 2000 16:29:41 +0000 (16:29 +0000)]
* builtins.c (expand_builtin_strlen): Initialize variable `icode'.

* calls.c (expand_call): Likewise for
`old_stack_arg_under_construction'.

* cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.

* function.c (pad_to_arg_alignment): Likewise for `save_var' and
`save_constant'.

* gcc.c (execute): Likewise for `ut' and `st'.

* genattrtab.c (attr_rtx): Likewise for `rt_val'.

* genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.

* jump.c (jump_optimize_1): Likewise for `temp2'.

* local-alloc.c (block_alloc): Likewise for `r1'.

* loop.c (recombine_givs): Likewise for `life_start' and `life_end'.

* reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
(subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.

* regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
and `set2'.

* reload.c (find_reloads): Likewise for `goal_alternative_number'
and `goal_earlyclobber'.

* scan-decls.c (scan_decls): Likewise for `prev_id_end'.

* sdbout.c (sdbout_one_type): Likewise for `member_scl'.

* stupid.c (stupid_life_analysis): Likewise for `chain'.

* unroll.c (copy_loop_body): Likewise for `copy'.

* varasm.c (output_constructor): Likewise for `byte'.

ch:
* actions.c (update_else_range_for_int_const): Initialize
variables `lowval' and `highval'.
(update_else_range_for_range): Likewise for `low_range_val' and
`high_range_val'.

cp:
* class.c (warn_hidden): Initialize variable `fndecl'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31207 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoUpdate copyright
ghazi [Tue, 4 Jan 2000 16:11:32 +0000 (16:11 +0000)]
Update copyright

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31206 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
ghazi [Tue, 4 Jan 2000 16:09:57 +0000 (16:09 +0000)]
* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
we're using gcc.

* Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31205 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * g++.old-deja/g++.brendan/array1.C: Modify explicit external libc
ghazi [Tue, 4 Jan 2000 15:52:23 +0000 (15:52 +0000)]
* g++.old-deja/g++.brendan/array1.C: Modify explicit external libc
references to printf & atoi to conform to ANSI standard.
* g++.old-deja/g++.brendan/code-gen1.C: Likewise.
* g++.old-deja/g++.brendan/code-gen2.C: Likewise.
* g++.old-deja/g++.brendan/code-gen3.C: Likewise.
* g++.old-deja/g++.brendan/code-gen4.C: Likewise.
* g++.old-deja/g++.brendan/code-gen6.C: Likewise.
* g++.old-deja/g++.brendan/complex1.C: Likewise.
* g++.old-deja/g++.brendan/copy1.C: Likewise.
* g++.old-deja/g++.brendan/copy2.C: Likewise.
* g++.old-deja/g++.brendan/copy3.C: Likewise.
* g++.old-deja/g++.brendan/copy4.C: Likewise.
* g++.old-deja/g++.brendan/copy5.C: Likewise.
* g++.old-deja/g++.brendan/copy6.C: Likewise.
* g++.old-deja/g++.brendan/copy7.C: Likewise.
* g++.old-deja/g++.brendan/copy8.C: Likewise.
* g++.old-deja/g++.brendan/crash11.C: Likewise.
* g++.old-deja/g++.brendan/crash14.C: Likewise.
* g++.old-deja/g++.brendan/ctors1.C: Likewise.
* g++.old-deja/g++.brendan/ctors2.C: Likewise.
* g++.old-deja/g++.brendan/delete2.C: Likewise.
* g++.old-deja/g++.brendan/dtors1.C: Likewise.
* g++.old-deja/g++.brendan/dtors2.C: Likewise.
* g++.old-deja/g++.brendan/dtors3.C: Likewise.
* g++.old-deja/g++.brendan/eh1.C: Likewise.
* g++.old-deja/g++.brendan/groff1.C: Likewise.
* g++.old-deja/g++.brendan/init3.C: Likewise.
* g++.old-deja/g++.brendan/misc12.C: Likewise.
* g++.old-deja/g++.brendan/misc7.C: Likewise.
* g++.old-deja/g++.brendan/new2.C: Likewise.
* g++.old-deja/g++.brendan/operators4.C: Likewise.
* g++.old-deja/g++.brendan/operators5.C: Likewise.
* g++.old-deja/g++.brendan/overload2.C: Likewise.
* g++.old-deja/g++.brendan/overload7.C: Likewise.
* g++.old-deja/g++.brendan/redecl2.C: Likewise.
* g++.old-deja/g++.brendan/reference1.C: Likewise.
* g++.old-deja/g++.brendan/sizeof5.C: Likewise.
* g++.old-deja/g++.brendan/template24.C: Likewise.
* g++.old-deja/g++.brendan/template3.C: Likewise.
* g++.old-deja/g++.brendan/vtables1.C: Likewise.
* g++.old-deja/g++.jason/inline3.C: Likewise.
* g++.old-deja/g++.jason/opeq.C: Likewise.
* g++.old-deja/g++.law/arg5.C: Likewise.
* g++.old-deja/g++.law/arm7.C: Likewise.
* g++.old-deja/g++.law/ctors11.C: Likewise.
* g++.old-deja/g++.law/cvt8.C: Likewise.
* g++.old-deja/g++.law/init9.C: Likewise.
* g++.old-deja/g++.law/refs4.C: Likewise.
* g++.old-deja/g++.law/template2.C: Likewise.
* g++.old-deja/g++.law/visibility24.C: Likewise.
* g++.old-deja/g++.law/vtable3.C: Likewise.
* g++.old-deja/g++.mike/asm2.C: Likewise.
* g++.old-deja/g++.mike/eh1.C: Likewise.
* g++.old-deja/g++.mike/misc1.C: Likewise.
* g++.old-deja/g++.mike/misc13.C: Likewise.
* g++.old-deja/g++.mike/misc14.C: Likewise.
* g++.old-deja/g++.mike/ns12.C: Likewise.
* g++.old-deja/g++.mike/p1248.C: Likewise.
* g++.old-deja/g++.mike/p3708.C: Likewise.
* g++.old-deja/g++.mike/p3708a.C: Likewise.
* g++.old-deja/g++.mike/p3708b.C: Likewise.
* g++.old-deja/g++.mike/p646.C: Likewise.
* g++.old-deja/g++.mike/p700.C: Likewise.
* g++.old-deja/g++.mike/p783.C: Likewise.
* g++.old-deja/g++.mike/p783a.C: Likewise.
* g++.old-deja/g++.mike/p783b.C: Likewise.
* g++.old-deja/g++.mike/p786.C: Likewise.
* g++.old-deja/g++.mike/p789.C: Likewise.
* g++.old-deja/g++.mike/p789a.C: Likewise.
* g++.old-deja/g++.mike/p807a.C: Likewise.
* g++.old-deja/g++.other/delete3.C: Likewise.
* g++.old-deja/g++.other/dyncast1.C: Likewise.
* g++.old-deja/g++.other/dyncast2.C: Likewise.
* g++.old-deja/g++.other/dyncast3.C: Likewise.
* g++.old-deja/g++.other/empty1.C: Likewise.
* g++.old-deja/g++.other/temporary1.C: Likewise.
* g++.old-deja/g++.pt/memtemp14.C: Likewise.
* g++.old-deja/g++.pt/t16.C: Likewise.
* g++.old-deja/g++.pt/tiemann2.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31204 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
hubicka [Tue, 4 Jan 2000 14:44:03 +0000 (14:44 +0000)]
* i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
all FP constants for constant->reg moves.
(ix86_split_to_parts): Try to convert memory address into immediate
when available in the constant pool.
* i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
moves.
(LEGITIMATE_CONSTANT_P): Return 1.
* i386.md (pushsf): New splitter to convert constant pool memory
reference to immediate.
(mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
reload.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31203 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoRestrict i386 flag setting shift patterns
crux [Tue, 4 Jan 2000 11:49:01 +0000 (11:49 +0000)]
Restrict i386 flag setting shift patterns

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31202 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago * ginclude/stdbool.h: Support compilation as C++.
loewis [Tue, 4 Jan 2000 10:12:22 +0000 (10:12 +0000)]
* ginclude/stdbool.h: Support compilation as C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31201 138bc75d-0d04-0410-961f-82ee72b054a4

24 years ago2000-01-04 Tom Tromey <tromey@cygnus.com>
tromey [Tue, 4 Jan 2000 08:46:52 +0000 (08:46 +0000)]
2000-01-04  Tom Tromey  <tromey@cygnus.com>

* java/lang/reflect/natConstructor.cc (newInstance): Pass
declaring class as return_type argument to
_Jv_CallNonvirtualMethodA.
* java/lang/reflect/natMethod.cc (_Jv_CallNonvirtualMethodA): In
constructor case, create object and use it as `this' argument.
* java/lang/Class.h (_getConstructors): Declare.
(_getFields): Declare.
* java/lang/Class.java (getConstructors): Wrote.
(_getConstructors): New native method.
(getDeclaredConstructors): Wrote.
(_getFields): Declare new native method.
* java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Removed
incorrect comment.
(getMethod): Work correctly when class is primitive.
(getDeclaredMethods): Likewise.  Compute offset using `method',
not `mptr'.
(getDeclaredMethod): Likewise.
(getConstructor): Wrote.
(ConstructorClass): New define.
(getDeclaredConstructor): Wrote.
(_getConstructors): New method.
(_getFields): New method.
(getFields): Wrote.

* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Added -D_GNU_SOURCE.

* prims.cc: Remove `#pragma implementation'.
* gcj/array.h: Remove `#pragma interface'.

* prims.cc (_Jv_equaln): New function.
* java/lang/Class.java (getSignature): Declare.
* resolve.cc (_Jv_LookupDeclaredMethod): Moved to natClass.cc.
* java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Moved from
resolve.cc.
(getSignature): New method.
(getDeclaredMethod): Wrote.
(getMethod): Wrote.
Include StringBuffer.h.
* java/lang/Class.h (Class): Added _Jv_FromReflectedConstructor
as a friend.  Unconditionally declare _Jv_LookupDeclaredMethod as
a friend.
(getSignature): Declare.
* include/jvm.h (_Jv_GetTypesFromSignature): Declare.
(_Jv_equaln): Declare.
(_Jv_CallNonvirtualMethodA): Declare.
* Makefile.in: Rebuilt.
* Makefile.am (nat_source_files): Added natConstructor.cc.
(java/lang/reflect/Constructor.h): New target.
* java/lang/reflect/natConstructor.cc: New file.
* java/lang/reflect/Constructor.java (newInstance): Now native.
(declaringClass): Renamed from decl_class.
(offset): Renamed from index.
(getType): New native method.
(getModifiers): Now native.
(getParameterTypes): Call getType if required.
(hashCode): Include hash code from declaring class.
(modifiers): Removed.
(toString): Call getType if required.
* gcj/method.h (_Jv_FromReflectedConstructor): New function.
* java/lang/reflect/natMethod.cc (hack_call): New method.
Removed `#if 0' around FFI code.
Include <gnu/gcj/RawData.h>.
(invoke): Use _Jv_CallNonvirtualMethodA.  Throw
IllegalArgumentException when argument object and class disagree.
(_Jv_GetTypesFromSignature): New function.
(getType): Use it.
(ObjectClass): New define.
(_Jv_CallNonvirtualMethodA): New function.
* java/lang/reflect/Method.java (hack_trampoline): New method.
(hack_call): New native method.

1999-12-21  Per Bothner  <per@bothner.com>

* java/lang/natClass.cc (getDeclaredMethods): Correctly compute
offset in new Method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31199 138bc75d-0d04-0410-961f-82ee72b054a4

24 years agoDaily bump.
law [Tue, 4 Jan 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31198 138bc75d-0d04-0410-961f-82ee72b054a4