]> gcc.gnu.org Git - gcc.git/log
gcc.git
24 years agonatString.cc (init): Test for overflow condition during out of bounds check.
Anthony Green [Sun, 9 Jan 2000 22:25:54 +0000 (22:25 +0000)]
natString.cc (init): Test for overflow condition during out of bounds check.

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.

From-SVN: r31300

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

From-SVN: r31299

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

From-SVN: r31298

24 years agoApply patch from Phillip Blundel to use single STR/LDR when...
Philip Blundell [Sun, 9 Jan 2000 19:42:57 +0000 (19:42 +0000)]
Apply patch from Phillip Blundel to use single STR/LDR when...

Apply patch from Phillip Blundel to use single STR/LDR when only loading
storing a single register in a function prologue/epilogue.

From-SVN: r31296

24 years agons32k.md (load or push effective address): Operand 1 must have SImode.
Hans-Peter Nilsson [Sun, 9 Jan 2000 16:18:57 +0000 (16:18 +0000)]
ns32k.md (load or push effective address): Operand 1 must have SImode.

* config/ns32k/ns32k.md (load or push effective address): Operand 1
must have SImode.

From-SVN: r31295

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

From-SVN: r31294

24 years agoelfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around assignment used as truth...
Kaveh R. 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.

* 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'.

From-SVN: r31293

24 years agoc4x.h: Tidy up comments.
Michael Hayes [Sun, 9 Jan 2000 09:09:51 +0000 (09:09 +0000)]
c4x.h: Tidy up comments.

* config/c4x.h: Tidy up comments.
* config/c4x.c: Likewise.

From-SVN: r31292

24 years agoDaily bump.
Jeff Law [Sun, 9 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31291

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

From-SVN: r31290

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

* fold-const.c (lshift_double, rshift_double): Handle
shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.

From-SVN: r31289

24 years agotoplev.c (rest_of_compilation): Initialize cse_not_expected as in prepare_function_st...
Alexandre 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().

* toplev.c (rest_of_compilation): Initialize cse_not_expected as
in prepare_function_start().

From-SVN: r31288

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

From-SVN: r31287

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

From-SVN: r31286

24 years agoDaily bump.
Jeff Law [Sat, 8 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31285

24 years agoexpr.c (java_lang_expand_expr): Switch to permanent obstack before calling expand_eh_...
Alexandre Petit-Bianco [Sat, 8 Jan 2000 01:59:33 +0000 (01:59 +0000)]
expr.c (java_lang_expand_expr): Switch to permanent obstack before calling expand_eh_region_start and...

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.

From-SVN: r31284

24 years agoexpr.c (java_lang_expand_expr): Switch to permanent obstack before building constant...
Anthony Green [Fri, 7 Jan 2000 23:07:52 +0000 (23:07 +0000)]
expr.c (java_lang_expand_expr): Switch to permanent obstack before building constant array decl.

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.

From-SVN: r31283

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

From-SVN: r31282

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

From-SVN: r31281

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

From-SVN: r31279

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

From-SVN: r31278

24 years agore GNATS gcj/122 (SP mismatch error from certain code constructs)
Alexandre Petit-Bianco [Fri, 7 Jan 2000 20:28:11 +0000 (12:28 -0800)]
re GNATS gcj/122 (SP mismatch error from certain code constructs)

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)

From-SVN: r31277

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

From-SVN: r31276

24 years agors6000.c (processor_target_table): Add power3 as alias for 630.
David Edelsohn [Fri, 7 Jan 2000 18:33:12 +0000 (13:33 -0500)]
rs6000.c (processor_target_table): Add power3 as alias for 630.

* 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.

From-SVN: r31275

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

From-SVN: r31274

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

* fold-const.c (real_hex_to_f): Remove duplicate declaration of
expon.

From-SVN: r31273

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

From-SVN: r31272

24 years agoMakefile.in (crtend.o): Pass @inhibit_libc@ to compilation of crtstuff.c.
Jeffrey A Law [Fri, 7 Jan 2000 08:56:40 +0000 (08:56 +0000)]
Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of crtstuff.c.

        * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
        crtstuff.c.
        (crtbegin.o, s-crtS): Likewise.

From-SVN: r31271

24 years agoDaily bump.
Jeff Law [Fri, 7 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31270

24 years agodecl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT.
Jason Merrill [Fri, 7 Jan 2000 07:06:59 +0000 (07:06 +0000)]
decl2.c (comdat_linkage): Don't set DECL_DEFER_OUTPUT.

        * 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.

From-SVN: r31269

24 years agofix
Jason Merrill [Fri, 7 Jan 2000 05:57:58 +0000 (00:57 -0500)]
fix

From-SVN: r31268

24 years agoalpha.md (adddi_2+1): Limit offset such that it will be loadable with a single ldah...
Richard Henderson [Fri, 7 Jan 2000 01:46:25 +0000 (17:46 -0800)]
alpha.md (adddi_2+1): Limit offset such that it will be loadable with a single ldah+lda pair.

        * 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.

From-SVN: r31267

24 years agoprotoize.c: Conditionally include unistd.h.
Mumit Khan [Fri, 7 Jan 2000 00:42:12 +0000 (00:42 +0000)]
protoize.c: Conditionally include unistd.h.

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.

From-SVN: r31265

24 years agocccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros.
Mumit Khan [Fri, 7 Jan 2000 00:16:51 +0000 (00:16 +0000)]
cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and IS_DIR_SEPARATOR macros.

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.

From-SVN: r31264

24 years agonew
Jason Merrill [Fri, 7 Jan 2000 00:06:44 +0000 (19:06 -0500)]
new

From-SVN: r31263

24 years agoerror.c (dump_decl): operator new, not operatornew.
Jason Merrill [Thu, 6 Jan 2000 23:54:34 +0000 (18:54 -0500)]
error.c (dump_decl): operator new, not operatornew.

        * 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.

From-SVN: r31262

24 years agoMakefile.in (LIBDEPS): Added gcc's errors.o
Alexandre Petit-Bianco [Thu, 6 Jan 2000 22:06:22 +0000 (22:06 +0000)]
Makefile.in (LIBDEPS): Added gcc's errors.o

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.

From-SVN: r31261

24 years agoprefix.c (update_path): Fix typo in variable name.
Mumit Khan [Thu, 6 Jan 2000 22:00:02 +0000 (22:00 +0000)]
prefix.c (update_path): Fix typo in variable name.

2000-01-06  Mumit Khan  <khan@xraylith.wisc.edu>

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

From-SVN: r31260

24 years agoflow.c (mark_set_1): Use loop_depth+1 as reference weight.
Richard Henderson [Thu, 6 Jan 2000 20:25:41 +0000 (12:25 -0800)]
flow.c (mark_set_1): Use loop_depth+1 as reference weight.

        * 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.

From-SVN: r31259

24 years agonatClass.cc (_getConstructors): Correctly check whether method name is the init name.
Tom Tromey [Thu, 6 Jan 2000 18:18:15 +0000 (18:18 +0000)]
natClass.cc (_getConstructors): Correctly check whether method name is the init name.

* java/lang/natClass.cc (_getConstructors): Correctly check
whether method name is the init name.
(getMethod): Look at accflags on method in `klass', not `this'.

From-SVN: r31258

24 years agodefaults.h (DWARF_FRAME_REGISTERS): if not defined, default to FIRST_PSEUDO_REGISTER
Gabriel Dos Reis [Thu, 6 Jan 2000 14:29:08 +0000 (15:29 +0100)]
defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to FIRST_PSEUDO_REGISTER

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

From-SVN: r31257

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

* reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
dead registers.

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

From-SVN: r31256

24 years agoDaily bump.
Jeff Law [Thu, 6 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31255

24 years agonatClass.cc (getMethod): Compute offset relative to `klass's methods table, not ...
Tom Tromey [Thu, 6 Jan 2000 00:56:21 +0000 (00:56 +0000)]
natClass.cc (getMethod): Compute offset relative to `klass's methods table, not `this's table.

* 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.

From-SVN: r31253

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

From-SVN: r31251

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

From-SVN: r31250

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

From-SVN: r31249

24 years agot-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF, SI, or DI.
Michael Hayes [Wed, 5 Jan 2000 22:43:53 +0000 (22:43 +0000)]
t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF, SI, or DI.

* config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
SI, or DI.

From-SVN: r31248

24 years agoc4x.md (udivqi3, divqi3): Delete.
Michael Hayes [Wed, 5 Jan 2000 22:38:12 +0000 (22:38 +0000)]
c4x.md (udivqi3, divqi3): Delete.

* 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.

From-SVN: r31247

24 years agoClass.h (_getMethods): Correctly declare as private, not public.
Tom Tromey [Wed, 5 Jan 2000 22:29:27 +0000 (22:29 +0000)]
Class.h (_getMethods): Correctly declare as private, not public.

* java/lang/Class.h (_getMethods): Correctly declare as private,
not public.

From-SVN: r31246

24 years agoClass.h (_getMethods): Declare.
Tom Tromey [Wed, 5 Jan 2000 22:22:10 +0000 (22:22 +0000)]
Class.h (_getMethods): Declare.

* 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.

From-SVN: r31245

24 years agoc-decl.c (finish_enum): Simplify code to determine minimum and maximum values of...
Zack Weinberg [Wed, 5 Jan 2000 19:26:23 +0000 (19:26 +0000)]
c-decl.c (finish_enum): Simplify code to determine minimum and maximum values of the enum...

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.

From-SVN: r31244

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

From-SVN: r31243

24 years agonatMethod.cc (get_ffi_type): Test size of jboolean and select correct ffi type on...
Tom Tromey [Wed, 5 Jan 2000 17:23:34 +0000 (17:23 +0000)]
natMethod.cc (get_ffi_type): Test size of jboolean and select correct ffi type on that basis.

* 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.

From-SVN: r31242

24 years agoClass.h (getSignature): Updated.
Tom Tromey [Wed, 5 Jan 2000 16:35:20 +0000 (16:35 +0000)]
Class.h (getSignature): Updated.

* 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.

From-SVN: r31241

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

From-SVN: r31240

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

From-SVN: r31239

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

* decl2.c (lookup_arg_dependent): Deal with FNS not being a
FUNCTION_DECL.

From-SVN: r31238

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

From-SVN: r31237

24 years agotypeck.c (build_static_cast): Don't strip target qualifiers when casting from a class.
Nathan Sidwell [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.

* typeck.c (build_static_cast): Don't strip target qualifiers
when casting from a class.

From-SVN: r31236

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

From-SVN: r31235

24 years agoDaily bump.
Jeff Law [Wed, 5 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31234

24 years agofix typo
Jason Merrill [Wed, 5 Jan 2000 08:23:15 +0000 (03:23 -0500)]
fix typo

From-SVN: r31233

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

From-SVN: r31232

24 years agoconfigure.in (m68*-*-rtemscoff*): New target, formal name for old m68*-*-rtems*.
Joel Sherrill [Wed, 5 Jan 2000 07:10:35 +0000 (07:10 +0000)]
configure.in (m68*-*-rtemscoff*): New target, formal name for old m68*-*-rtems*.

        * 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

From-SVN: r31231

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

        * final.c (shorten_branches): Correctly compute length of
        asms without operands.

From-SVN: r31230

24 years agocse.c (cse_insn): Missing cast added.
Jeff Law [Wed, 5 Jan 2000 06:55:02 +0000 (23:55 -0700)]
cse.c (cse_insn): Missing cast added.

* 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.

From-SVN: r31229

24 years agoCopyright date
Jeff Law [Wed, 5 Jan 2000 06:32:16 +0000 (23:32 -0700)]
Copyright date

From-SVN: r31228

24 years agoUpdate copyright dates.
Jeff Law [Wed, 5 Jan 2000 06:30:24 +0000 (23:30 -0700)]
Update copyright dates.

From-SVN: r31227

24 years agoUpdate copyright date.
Jeff Law [Wed, 5 Jan 2000 06:29:24 +0000 (23:29 -0700)]
Update copyright date.

From-SVN: r31226

24 years agoconfigure.in: Add pj target.
Steve Chamberlain [Wed, 5 Jan 2000 05:57:17 +0000 (05:57 +0000)]
configure.in: Add pj target.

        * 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

From-SVN: r31225

24 years agotoplev.c (rest_of_compilation): Run shorten-branches before reg-stack for now.
Jeffrey A 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.

        * toplev.c (rest_of_compilation): Run shorten-branches before
        reg-stack for now.

From-SVN: r31224

24 years agoc4x.h (IS_XXX_REG, [...]): Swap behaviour of macros so that they're consistent with...
Michael Hayes [Tue, 4 Jan 2000 23:57:40 +0000 (23:57 +0000)]
c4x.h (IS_XXX_REG, [...]): Swap behaviour of macros so that they're consistent with their names.

* 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.

From-SVN: r31221

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

From-SVN: r31220

24 years agonatPlainDatagramSocketImpl.cc (peek): Removed unnecesary comment.
Warren Levy [Tue, 4 Jan 2000 22:41:58 +0000 (22:41 +0000)]
natPlainDatagramSocketImpl.cc (peek): Removed unnecesary comment.

* java/net/natPlainDatagramSocketImpl.cc (peek): Removed unnecesary
comment.
(receive): Set the sender's address in the DatagramPacket.

From-SVN: r31218

24 years agoc4x.md (*addqi3_noclobber_reload): Ensure that CC never modified inadvertently.
Michael Hayes [Tue, 4 Jan 2000 22:12:59 +0000 (22:12 +0000)]
c4x.md (*addqi3_noclobber_reload): Ensure that CC never modified inadvertently.

* config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
modified inadvertently.

From-SVN: r31217

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

From-SVN: r31216

24 years agogthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
Mumit Khan [Tue, 4 Jan 2000 21:11:17 +0000 (21:11 +0000)]
gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.

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.

From-SVN: r31215

24 years agopexecute.c: Conditionally include string.h.
Mumit Khan [Tue, 4 Jan 2000 21:09:51 +0000 (21:09 +0000)]
pexecute.c: Conditionally include string.h.

2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>

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

From-SVN: r31214

24 years agosysv4.h (ASM_OUTPUT_DEF): Undefine.
David Edelsohn [Tue, 4 Jan 2000 20:29:31 +0000 (20:29 +0000)]
sysv4.h (ASM_OUTPUT_DEF): Undefine.

* rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
(HANDLE_PRAGMA_PACK): Undefine.
(SLOW_UNALIGNED_ACCESS): Define.

From-SVN: r31213

24 years ago- Document SLOW_UNALIGNED_ACCESS change.
David Edelsohn [Tue, 4 Jan 2000 20:10:19 +0000 (15:10 -0500)]
- Document SLOW_UNALIGNED_ACCESS change.

- Update copyright.

From-SVN: r31212

24 years agoexpmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters to default definition.
David Edelsohn [Tue, 4 Jan 2000 20:09:19 +0000 (20:09 +0000)]
expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters to default definition.

* 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.

From-SVN: r31211

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

From-SVN: r31210

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

* regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
compilation.

From-SVN: r31209

24 years agohaifa-sched.c (build_control_flow): Change unreachable simple loop test to check...
Stan Cox [Tue, 4 Jan 2000 17:19:41 +0000 (17:19 +0000)]
haifa-sched.c (build_control_flow): Change unreachable simple loop test to check if...

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.

From-SVN: r31208

24 years agobuiltins.c (expand_builtin_strlen): Initialize variable `icode'.
Kaveh R. Ghazi [Tue, 4 Jan 2000 16:29:41 +0000 (16:29 +0000)]
builtins.c (expand_builtin_strlen): Initialize variable `icode'.

* 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'.

From-SVN: r31207

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

From-SVN: r31206

24 years agoconfigure.in (ac_libiberty_warn_cflags): Turn on warnings if we're using gcc.
Kaveh R. 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.

* configure.in (ac_libiberty_warn_cflags): Turn on warnings if
we're using gcc.

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

From-SVN: r31205

24 years agoarray1.C: Modify explicit external libc references to printf & atoi to conform to...
Kaveh R. Ghazi [Tue, 4 Jan 2000 15:52:23 +0000 (15:52 +0000)]
array1.C: Modify explicit external libc references to printf & atoi to conform to ANSI...

* 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.

From-SVN: r31204

24 years agoi386.c (ix86_expand_move): Allow pushes of memory, offload to memory all FP constants...
Jan Hubicka [Tue, 4 Jan 2000 14:44:03 +0000 (15:44 +0100)]
i386.c (ix86_expand_move): Allow pushes of memory, offload to memory all FP constants for constant->reg moves.

* 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.

From-SVN: r31203

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

From-SVN: r31202

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

From-SVN: r31201

24 years ago[multiple changes]
Tom Tromey [Tue, 4 Jan 2000 08:46:52 +0000 (08:46 +0000)]
[multiple changes]

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.

From-SVN: r31199

24 years agoDaily bump.
Jeff Law [Tue, 4 Jan 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r31198

24 years ago* fold-const.c (make_range): Don't try to reverse an unbounded range.
J"orn Rennecke [Tue, 4 Jan 2000 08:36:51 +0000 (08:36 +0000)]
* fold-const.c (make_range): Don't try to reverse an unbounded range.

From-SVN: r31197

24 years agoUpdate copyright
Jeff Law [Tue, 4 Jan 2000 08:11:05 +0000 (01:11 -0700)]
Update copyright

From-SVN: r31196

24 years agoUpdate copyrights
Jeff Law [Tue, 4 Jan 2000 08:10:30 +0000 (01:10 -0700)]
Update copyrights

From-SVN: r31195

24 years agoUpdate copyright
Jeff Law [Tue, 4 Jan 2000 08:01:42 +0000 (01:01 -0700)]
Update copyright

From-SVN: r31194

24 years agoUpdate copyrights.
Jeff Law [Tue, 4 Jan 2000 07:58:40 +0000 (00:58 -0700)]
Update copyrights.

From-SVN: r31193

24 years agoregclass.c (regclass): Properly compute loop_cost.
Jeffrey A Law [Tue, 4 Jan 2000 07:26:08 +0000 (07:26 +0000)]
regclass.c (regclass): Properly compute loop_cost.

        * regclass.c (regclass): Properly compute loop_cost.  Adjust
        comments.

From-SVN: r31192

This page took 0.099661 seconds and 5 git commands to generate.