gcc.git
25 years agoJakub Jelinek <jj@ultra.linux.cz>
Richard Henderson [Mon, 2 Aug 1999 22:58:04 +0000 (15:58 -0700)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
        (RTX_OK_FOR_OLO10): Likewise.
        (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
        %lo(), allow it in addresses...
        (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
        * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
        does not make sense.
        * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
        (sparc_output_scratch_registers): New function.
        (output_function_prologue, sparc_flat_output_function_prologue): Use
        it.
        * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
        defined.
        * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
        * configure.in: Add check for .register pseudo-op support in as and
        check for offsetable %lo().
        * acconfig.h: Add templates for the above checks.
        * configure: Regenerate.

Richard Henderson  <rth@cygnus.com>

        * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
        * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
        * sparc/sol2.h (TARGET_DEFAULT): Likewise.

From-SVN: r28414

25 years agoloop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class.
J"orn Rennecke [Mon, 2 Aug 1999 22:50:49 +0000 (22:50 +0000)]
loop.c (strength_reduce): When doing biv->giv conversion, fix up reg_biv_class.

* loop.c (strength_reduce): When doing biv->giv conversion, fix up
reg_biv_class.

From-SVN: r28413

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Mon, 2 Aug 1999 22:34:17 +0000 (00:34 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/float-sparc.h: New file.
        * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
        sparc-*-linux-gnu and sparc64-*-linux*.

From-SVN: r28412

25 years ago* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.
Richard Henderson [Mon, 2 Aug 1999 21:33:32 +0000 (14:33 -0700)]
* cp-tree.h (TYPE_PTRMEMFUNC_P): Check TYPE_LANG_SPECIFIC non-null.

From-SVN: r28409

25 years agoFranz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl [Mon, 2 Aug 1999 20:40:56 +0000 (20:40 +0000)]
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * rs6000.c (rs6000_va_list): Type is an array.
        (rs6000_va_start): Don't doubly adjust for varargs.
        (rs6000_va_arg): Evaluate long long GPR adjustment.

From-SVN: r28408

25 years agoAdapted from tests from Franz Sirl:
Richard Henderson [Mon, 2 Aug 1999 20:36:53 +0000 (13:36 -0700)]
Adapted from tests from Franz Sirl:

        * gcc.c-torture/execute/va-arg-7.c: New test.
        * gcc.c-torture/execute/va-arg-8.c: New test.

From-SVN: r28407

25 years ago[multiple changes]
David Edelsohn [Mon, 2 Aug 1999 20:20:12 +0000 (16:20 -0400)]
[multiple changes]

Mon Aug  2 16:15:57 1999  David Edelsohn  <edelsohn@gnu.org>

* rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
-maix64 and -maix32.
(ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
LINK_SPEC): Change appropriately.
* rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
(u_short_cint_operand): Likewise.
* rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
for 64-bit hosts.
* rs6000/t-aix43 (MULTILIB): Change to -m64.

* invoke.texi (RS/6000 Submodel): Document 64-bit processor options.

Mon Aug  2 16:15:57 1999  Geoff Keating  <geoffk@cygnus.com>

* rs6000/rs6000.c (num_insns_constant_wide): Correct
for type promotion.
(add_operand): Get test correct for 64-bit HOST_WIDE_INT.
(non_add_cint_operand): Likewise.
(logical_operand): Likewise.
(non_logical_cint_operand): Likewise.
(print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
(print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
(rs6000_select_rtx_section): Suppress warning.
(small_data_operand): Suppress warning.
(rs6000_got_register): Suppress warning.
* rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
type, so `J' is generally the wrong constraint for a SImode value;
use `L' instead.
(andsi3_internal2): Likewise.
(andsi3_internal3): Likewise.
(iorsi3_internal1): Likewise.
(xorsi3_internal1): Likewise.
(movsi): Likewise.
(movsf_softfloat): Likewise.
(scc insns): Likewise.
(movsi+2): Preserve sign bits of SImode constant.
(floatsidf2_internal+1): Sign-extend SImode constant correctly.
(movdf+1): Sign-extend properly.
(movdi_32+1): Sign-extend properly.
(scc insns): Sign-extend properly.

* md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
K, L, and T.

From-SVN: r28406

25 years agoalpha.c (override_options): Move ev6 alpha_tp frobbing out of -mcpu parsing code.
Richard Henderson [Mon, 2 Aug 1999 19:37:58 +0000 (12:37 -0700)]
alpha.c (override_options): Move ev6 alpha_tp frobbing out of -mcpu parsing code.

        * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
        -mcpu parsing code.
        (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
        * alpha.md (all fp insns): Likewise.

From-SVN: r28404

25 years agoUnroll my commit of 1999/08/01 16:14:58, there was a communications mixup
Geoffrey Keating [Mon, 2 Aug 1999 15:44:50 +0000 (15:44 +0000)]
Unroll my commit of 1999/08/01 16:14:58, there was a communications mixup
about its status.

From-SVN: r28403

25 years agoOnly define STRICT_ALIGNMENT if it is not already defined.
Nick Clifton [Mon, 2 Aug 1999 14:06:07 +0000 (14:06 +0000)]
Only define STRICT_ALIGNMENT if it is not already defined.

From-SVN: r28402

25 years agopa.c (legitimize_pic_address): Clarify comments.
Jeffrey A Law [Mon, 2 Aug 1999 09:45:16 +0000 (09:45 +0000)]
pa.c (legitimize_pic_address): Clarify comments.

        * pa.c (legitimize_pic_address): Clarify comments.  Do not call the
        pic_load_label generator directly.
        * pa.md (pic_load_label): Clarify comments.  Remove modes on operands.
        No longer a named pattern.

From-SVN: r28401

25 years agoI'm a dufus.
Jeff Law [Mon, 2 Aug 1999 09:29:33 +0000 (03:29 -0600)]
I'm a dufus.

From-SVN: r28400

25 years agoCall force_operand if X does not satisfy general_operand
Nick Clifton [Mon, 2 Aug 1999 08:40:22 +0000 (08:40 +0000)]
Call force_operand if X does not satisfy general_operand

From-SVN: r28399

25 years agoDaily bump.
Jeff Law [Mon, 2 Aug 1999 07:45:46 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28398

25 years agofix-header.c (main): When testing for CONTINUED, use string equality, not pointer...
Jeffrey A Law [Mon, 2 Aug 1999 07:37:40 +0000 (07:37 +0000)]
fix-header.c (main): When testing for CONTINUED, use string equality, not pointer equality.

        * fix-header.c (main): When testing for CONTINUED, use string
        equality, not pointer equality.

From-SVN: r28396

25 years ago* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
Dan Nicolaescu [Mon, 2 Aug 1999 07:31:09 +0000 (07:31 +0000)]
* sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.

From-SVN: r28395

25 years agoNew tests
Mark Mitchell [Mon, 2 Aug 1999 06:44:33 +0000 (06:44 +0000)]
New tests

From-SVN: r28393

25 years ago* call.c (build_conditional_expr): Fix typo in comment.
Mark Mitchell [Mon, 2 Aug 1999 06:19:31 +0000 (06:19 +0000)]
* call.c (build_conditional_expr): Fix typo in comment.

From-SVN: r28391

25 years ago* gcc.c-torture/compile/990801-2.c: New test.
Jeffrey A Law [Mon, 2 Aug 1999 05:57:31 +0000 (05:57 +0000)]
* gcc.c-torture/compile/990801-2.c: New test.

From-SVN: r28390

25 years ago* splay-tree.h (splay_tree_insert): Return the new node.
Mark Mitchell [Mon, 2 Aug 1999 05:54:50 +0000 (05:54 +0000)]
* splay-tree.h (splay_tree_insert): Return the new node.

From-SVN: r28389

25 years agocse.c (cse_insn): Fix loop which deletes insns after a jump that has become an uncond...
Jeffrey A Law [Mon, 2 Aug 1999 05:53:02 +0000 (05:53 +0000)]
cse.c (cse_insn): Fix loop which deletes insns after a jump that has become an unconditional jump.

        * cse.c (cse_insn): Fix loop which deletes insns after a jump
        that has become an unconditional jump.

From-SVN: r28388

25 years agom68k.c (output_function_prologue): Fix typo in CPU32 case.
Jeffrey A Law [Mon, 2 Aug 1999 04:49:11 +0000 (04:49 +0000)]
m68k.c (output_function_prologue): Fix typo in CPU32 case.

        * m68k.c (output_function_prologue): Fix typo in CPU32 case.
        (output_function_epilogue): Similarly.

From-SVN: r28382

25 years ago* gcc.c-torture/compile/990801-1.c: New test.
Jeffrey A Law [Mon, 2 Aug 1999 04:31:35 +0000 (04:31 +0000)]
* gcc.c-torture/compile/990801-1.c: New test.

From-SVN: r28381

25 years agoconfigure.in: Check for bstring.h.
Alexandre Oliva [Sun, 1 Aug 1999 23:39:53 +0000 (23:39 +0000)]
configure.in: Check for bstring.h.

1999-08-01  Alexandre Oliva  <oliva@dcc.unicamp.br>

* configure.in: Check for bstring.h.
* configure, include/config.h.in: Rebuilt.
* java/net/natPlainDatagramSocketImpl.cc: #include bstring.h.
* java/net/natPlainSocketImpl.cc: Likewise.

From-SVN: r28378

25 years agoCheck in part of an earlier patch that got lost
Bernd Schmidt [Sun, 1 Aug 1999 19:16:15 +0000 (19:16 +0000)]
Check in part of an earlier patch that got lost

From-SVN: r28376

25 years agors6000.c (num_insns_constant_wide): Correct for type promotion.
Geoff Keating [Sun, 1 Aug 1999 16:14:58 +0000 (16:14 +0000)]
rs6000.c (num_insns_constant_wide): Correct for type promotion.

* config/rs6000/rs6000.c (num_insns_constant_wide): Correct
for type promotion.
(add_operand): Get test correct for 64-bit HOST_WIDE_INT.
(non_add_cint_operand): Likewise.
(logical_operand): Likewise.
(non_logical_cint_operand): Likewise.
(print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
(print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
(rs6000_select_rtx_section): Suppress warning.
(small_data_operand): Suppress warning.
(rs6000_got_register): Suppress warning.
* config/rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
type, so `J' is generally the wrong constraint for a SImode value;
use `L' instead.
(andsi3_internal2): Likewise.
(andsi3_internal3): Likewise.
(iorsi3_internal1): Likewise.
(xorsi3_internal1): Likewise.
(movsi): Likewise.
(movsf_softfloat): Likewise.
various unnamed compare insns: Likewise.
(movsi+2): Preserve sign bits of SImode constant.
(floatsidf2_internal+1): Sign-extend SImode constant correctly.
(movdf+1): Preserve high bits of DFmode constant.
(movdi_32+1): Sign-extend properly.
various unnamed compare insns: Sign-extend properly.

* unroll.c (loop_iterations): Convert HOST_WIDE_INT to unsigned
properly for mode.
* expmed.c (expand_mult_highpart): Convert HOST_WIDE_INT from unsigned
properly for mode.
(expand_divmod): Likewise.
* optabs.c (expand_fix): Keep HOST_WIDE_INT constants properly signed.
(expand_binop): Sometimes there is work to do when changing
the mode of a CONST_INT.

From-SVN: r28375

25 years agoBackport of GC branch patches part 2: kill stmt status saving.
Bernd Schmidt [Sun, 1 Aug 1999 12:07:41 +0000 (12:07 +0000)]
Backport of GC branch patches part 2: kill stmt status saving.

From-SVN: r28374

25 years agoDaily bump.
Jeff Law [Sun, 1 Aug 1999 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28373

25 years ago* Makefile.in (ALL_CFLAGS): Add '-W -Wall'.
Kaveh R. Ghazi [Sun, 1 Aug 1999 04:26:47 +0000 (04:26 +0000)]
* Makefile.in (ALL_CFLAGS): Add '-W -Wall'.

From-SVN: r28372

25 years agoNEWS: Likewise.
Tom Tromey [Sun, 1 Aug 1999 04:04:04 +0000 (04:04 +0000)]
NEWS: Likewise.

* NEWS: Likewise.
* THANKS: New file.

From-SVN: r28371

25 years agoconfigure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyna...
Alexandre Oliva [Sun, 1 Aug 1999 00:14:32 +0000 (00:14 +0000)]
configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r...

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* configure.in: Check for struct hostent_data and need for
-D_REENTRANT for gethostbyname_r declaration.
* java/net/natInetAddress.cc: Define _REENTRANT if needed.
(lookup): Use hostent_data for fixed_buffer.
* configure, include/config.h.in: Rebuilt.

From-SVN: r28369

25 years agolibjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as...
Alexandre Oliva [Sat, 31 Jul 1999 23:52:52 +0000 (23:52 +0000)]
libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that
defaults to javac, as Sun-javac compiler or compatible.
(libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST
nor TOOL_EXECUTABLE are set.  Set `original_ld_library_path' from
environment.
(libjava_arguments): Prepend `.' and `$srcdir/$subdir' to
CLASSPATH, for `support' sources.  Search for libgcj.spec in
`$objdir/..', by adding -B to GCJ_UNDER_TEST.  Append
original_ld_library_path to ld_library_path.
* libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from
GCJ_UNDER_TEST, calculated just like in libjava.exp.

From-SVN: r28364

25 years agomips_sgi_mach_dep.s: Enable PIC option.
Alexandre Oliva [Sat, 31 Jul 1999 23:50:05 +0000 (23:50 +0000)]
mips_sgi_mach_dep.s: Enable PIC option.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* mips_sgi_mach_dep.s: Enable PIC option.

From-SVN: r28363

25 years agonatSystem.cc (arraycopy): Use bcopy if memmove is not available.
Alexandre Oliva [Sat, 31 Jul 1999 23:41:15 +0000 (23:41 +0000)]
natSystem.cc (arraycopy): Use bcopy if memmove is not available.

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

* java/lang/natSystem.cc (arraycopy): Use bcopy if memmove is not
available.  Don't cast memmove args to (void*).
* configure.in: Do not abort if memmove is not available.

From-SVN: r28360

25 years agogcc.texi: Use terms "GNU Compiler Collection" and "GCC".
Joe Buck [Sat, 31 Jul 1999 13:28:54 +0000 (13:28 +0000)]
gcc.texi: Use terms "GNU Compiler Collection" and "GCC".

        * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
        Also update copyright.

From-SVN: r28359

25 years agoBackport of GC branch patches part 1: kill eh status saving.
Bernd Schmidt [Sat, 31 Jul 1999 12:46:53 +0000 (12:46 +0000)]
Backport of GC branch patches part 1: kill eh status saving.

From-SVN: r28357

25 years agopa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead of depending on a magic...
Jeffrey A Law [Sat, 31 Jul 1999 10:27:42 +0000 (10:27 +0000)]
pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead of depending on a magic constant value.

        * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
        of depending on a magic constant value.  Update comments.
        (hppa_expand_prologue): Similarly.

From-SVN: r28356

25 years agopa.md (reload_indi, [...]): Allow any register for the original reload register.
Jeffrey A Law [Sat, 31 Jul 1999 10:11:08 +0000 (10:11 +0000)]
pa.md (reload_indi, [...]): Allow any register for the original reload register.

        * pa.md (reload_indi, reload_outdi): Allow any register for the
        original reload register.

From-SVN: r28355

25 years agoDaily bump.
Jeff Law [Sat, 31 Jul 1999 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28354

25 years agocall.c (build_conditional_expr): Call convert_from_reference to avoid reference/non...
Mark Mitchell [Sat, 31 Jul 1999 06:09:13 +0000 (06:09 +0000)]
call.c (build_conditional_expr): Call convert_from_reference to avoid reference/non-reference type confusion.

* call.c (build_conditional_expr): Call convert_from_reference to
avoid reference/non-reference type confusion.  Fix typo.

From-SVN: r28353

25 years agoFix typo in help message.
Jim Wilson [Sat, 31 Jul 1999 02:43:44 +0000 (02:43 +0000)]
Fix typo in help message.

* cccp.c (print_help): Change marcos to macros.

From-SVN: r28352

25 years agoUpdate for label differences.
Richard Henderson [Sat, 31 Jul 1999 01:26:09 +0000 (18:26 -0700)]
Update for label differences.

From-SVN: r28351

25 years agotypeck2.c (initializer_constant_valid_p): Moved to c-common.c.
Richard Henderson [Sat, 31 Jul 1999 01:13:32 +0000 (18:13 -0700)]
typeck2.c (initializer_constant_valid_p): Moved to c-common.c.

        * typeck2.c (initializer_constant_valid_p): Moved to c-common.c.
        * cp-tree.h (initializer_constant_valid_p): Remove.

From-SVN: r28350

25 years agoc-typeck.c (initializer_constant_valid_p): Move ...
Richard Henderson [Sat, 31 Jul 1999 01:13:08 +0000 (18:13 -0700)]
c-typeck.c (initializer_constant_valid_p): Move ...

        * c-typeck.c (initializer_constant_valid_p): Move ...
        * c-common.c (initializer_constant_valid_p): ... here.  Use
        FOO_TYPE_P instead of tests against TREE_CODE.  Allow subtraction
        of label addresses.
        * c-common.h (initializer_constant_valid_p): Declare.
        * c-tree.h (initializer_constant_valid_p): Remove.

From-SVN: r28349

25 years agosol2-c1.asm: Align the stack.
Mathias Froehlich [Fri, 30 Jul 1999 23:40:09 +0000 (23:40 +0000)]
sol2-c1.asm: Align the stack.

        * config/i386/sol2-c1.asm: Align the stack.
        * config/i386/sol2-gc1.asm: Likewise.

From-SVN: r28348

25 years agosparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto -Asparclite for sparc86x.
Vladimir Makarov [Fri, 30 Jul 1999 22:44:08 +0000 (22:44 +0000)]
sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto -Asparclite for sparc86x.

1999-07-30  Vladimir Makarov  <vmakarov@loony.cygnus.com>

* config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
  -Asparclite for sparc86x.
(CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
  sparc86x.
(ASM_CPU_SPEC): Use -Asparclite for sparc86x.

From-SVN: r28347

25 years agoJakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek [Fri, 30 Jul 1999 21:55:06 +0000 (23:55 +0200)]
Jakub Jelinek  <jj@ultra.linux.cz>

        * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
        the user if using the non-default arch size in BI_ARCH configuration.
        * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.

        * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
        Fix patterns so that they actually match.
        (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
        (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
        (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
        TARGET_HARD_MUL32.
        (mulsidi3): Reflect this in the expand.
        (smulsi3_highpart): Only on TARGET_ARCH32.
        (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
        (const_umulsidi3_sp32): Renamed from const_umulsidi3.
        (umulsidi3): Reflect this in the expand.
        (umulsi3_highpart): Only on TARGET_ARCH32.
        (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
        don't require g0 to be zero.
        (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
        ({,u}divsi3): New expands.
        ({,u}divsi3_sp64): New patterns.
        (after lshrdi3_v8plus): Four new patterns to help combiner
        optimizing nested mixed mode shifts.

        * config/sparc/sparc.c (sparc_override_options): Use deprecated
        v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
        speed things up. Don't use them by default on plain v9 in 64bit
        mode, according to what SPAMv9 sais.

        * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
        top 32 bits of %[og][0-7] in signal handlers.
        Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.

From-SVN: r28346

25 years agoWarning fixes:
Kaveh R. Ghazi [Fri, 30 Jul 1999 18:31:34 +0000 (18:31 +0000)]
Warning fixes:

        * expr.c (build_java_soft_divmod): Provide a default case in switch.
        (java_lang_expand_expr): Mark parameters `target', `tmode' and
        `modifier' with ATTRIBUTE_UNUSED.

        * gjavah.c (process_file): Add braces around ambiguous `else'.

        * jcf-dump.c (print_access_flags, localvar_free): Change return
        type to void.

        * parse.y (java_complete_expand_method): Initialize variable
        `exception_copy'.
        (resolve_qualified_expression_name): Likewise for `field_decl'.
        (patch_method_invocation): Likewise for `class_to_search'.
        (qualify_ambiguous_name): Likewise for `name' and `ptr_type'.
        (patch_assignment): Likewise for `lhs_type'.

        * verify.c (verify_jvm_instructions): Remove unused variable
        `caller'.

From-SVN: r28344

25 years agopa.md (zvdep_imm32): Renamed from zvdep_imm.
Jeffrey A Law [Fri, 30 Jul 1999 10:51:02 +0000 (10:51 +0000)]
pa.md (zvdep_imm32): Renamed from zvdep_imm.

        * pa.md (zvdep_imm32): Renamed from zvdep_imm.
        (ashlsi3): Corresponding changes.

From-SVN: r28343

25 years ago* pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
Jeffrey A Law [Fri, 30 Jul 1999 09:01:20 +0000 (09:01 +0000)]
* pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.

From-SVN: r28342

25 years agoDaily bump.
Jeff Law [Fri, 30 Jul 1999 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28341

25 years ago* pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
Jeffrey A Law [Fri, 30 Jul 1999 00:38:08 +0000 (00:38 +0000)]
* pa.h (FIRST_PARM_CALLER_OFFSET): Delete.

From-SVN: r28340

25 years agoFix a cross toolchain build problem
Bernd Schmidt [Thu, 29 Jul 1999 18:09:33 +0000 (18:09 +0000)]
Fix a cross toolchain build problem

From-SVN: r28339

25 years agoUse force_operand to make sure that the buffer address is in a suitable form
Nick Clifton [Thu, 29 Jul 1999 08:23:27 +0000 (08:23 +0000)]
Use force_operand to make sure that the buffer address is in a suitable form
to be passed to force_reg.

From-SVN: r28334

25 years agoDaily bump.
Jeff Law [Thu, 29 Jul 1999 07:45:15 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28333

25 years agopa.md (indirect_jump): Remove mode from match_operand.
Jeffrey A Law [Thu, 29 Jul 1999 07:26:58 +0000 (07:26 +0000)]
pa.md (indirect_jump): Remove mode from match_operand.

        * pa.md (indirect_jump): Remove mode from match_operand.  Verify
        proper mode in the condition string.
        (icacheflush, dcacheflush): Remove modes from match_operands.

From-SVN: r28332

25 years agopa.c (emit_move_sequence): Always convert scratch_reg to the proper mode before using it.
Jeffrey A Law [Thu, 29 Jul 1999 06:21:12 +0000 (06:21 +0000)]
pa.c (emit_move_sequence): Always convert scratch_reg to the proper mode before using it.

        * pa.c (emit_move_sequence): Always convert scratch_reg to the
        proper mode before using it.

From-SVN: r28331

25 years agomips.c: system.h handles MIN and MAX, don't undefine them here.
Geoff Keating [Thu, 29 Jul 1999 03:31:26 +0000 (03:31 +0000)]
mips.c: system.h handles MIN and MAX, don't undefine them here.

        * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
        them here.

From-SVN: r28329

25 years agopa.md (adddi3, subdi3): Turn into a define_expand/define_insn pair.
Jeffrey A Law [Wed, 28 Jul 1999 23:19:44 +0000 (23:19 +0000)]
pa.md (adddi3, subdi3): Turn into a define_expand/define_insn pair.

        * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
        pair.

From-SVN: r28328

25 years agopa.c (store_reg): Do not call add_high_const generator directly.
Jeffrey A Law [Wed, 28 Jul 1999 22:34:57 +0000 (22:34 +0000)]
pa.c (store_reg): Do not call add_high_const generator directly.

        * pa.c (store_reg): Do not call add_high_const generator directly.
        (load_reg, set_reg_plus_d): Likewise.
        * pa.md (add_high_const): No longer a named pattern.

From-SVN: r28327

25 years agopa.c (legitimize_address): Consistently use Pmode rather than SImode.
Jeffrey A Law [Wed, 28 Jul 1999 21:46:39 +0000 (21:46 +0000)]
pa.c (legitimize_address): Consistently use Pmode rather than SImode.

        * pa.c (legitimize_address): Consistently use Pmode rather than
        SImode.  Do not call gen_pic2_highpart directly anymore.
        * pa.md (pic2_highpart): No longer a named pattern.
        (pic2_lo_sum): Similarly.  Reformat to make more readable.

From-SVN: r28326

25 years agofix typo.
Jeff Law [Wed, 28 Jul 1999 19:50:47 +0000 (13:50 -0600)]
fix typo.

From-SVN: r28324

25 years ago* README: Update.
Jeffrey A Law [Wed, 28 Jul 1999 19:50:11 +0000 (19:50 +0000)]
* README: Update.

From-SVN: r28322

25 years agopa.md (call, call_value): Use "word_mode" instead of "SImode" as needed.
Jeffrey A Law [Wed, 28 Jul 1999 19:38:02 +0000 (19:38 +0000)]
pa.md (call, call_value): Use "word_mode" instead of "SImode" as needed.

        * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
        needed.

From-SVN: r28321

25 years agopa.md (reload_indi, [...]): Scratch register should be a DImode register.
Jeffrey A Law [Wed, 28 Jul 1999 19:21:34 +0000 (19:21 +0000)]
pa.md (reload_indi, [...]): Scratch register should be a DImode register.

        * pa.md (reload_indi, reload_outdi): Scratch register should
        be a DImode register.
        (call, call_value): Use "word_mode" instead of "SImode" as needed.

From-SVN: r28320

25 years ago* builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
Franz Sirl [Wed, 28 Jul 1999 18:29:01 +0000 (18:29 +0000)]
* builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.

From-SVN: r28319

25 years agoWrong patch -- builtin_saveregs has already corrected for !stdarg_p.
Richard Henderson [Wed, 28 Jul 1999 18:26:26 +0000 (11:26 -0700)]
Wrong patch -- builtin_saveregs has already corrected for !stdarg_p.

From-SVN: r28318

25 years agopa.c (hppa_builtin_saveregs): Use get_varargs_alias_set and tag the spill mems.
Richard Henderson [Wed, 28 Jul 1999 18:24:29 +0000 (11:24 -0700)]
pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set and tag the spill mems.

        * pa.c (hppa_builtin_saveregs):  Use get_varargs_alias_set
        and tag the spill mems.
        (hppa_va_start): New.
        (hppa_va_arg): New.
        * pa.h (EXPAND_BUILTIN_VA_START): New.
        (EXPAND_BUILTIN_VA_ARG): New.

From-SVN: r28317

25 years agomn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set and tag the spill...
Richard Henderson [Wed, 28 Jul 1999 18:23:04 +0000 (11:23 -0700)]
mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set and tag the spill mems.

        * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
        and tag the spill mems.
        (mn10300_va_start): New.
        (mn10300_va_arg): New.
        * mn10300.h (EXPAND_BUILTIN_VA_START): New.
        (EXPAND_BUILTIN_VA_ARG): New.

From-SVN: r28316

25 years agomn10200.c (mn10200_va_arg): New.
Richard Henderson [Wed, 28 Jul 1999 18:21:02 +0000 (11:21 -0700)]
mn10200.c (mn10200_va_arg): New.

        * mn10200.c (mn10200_va_arg): New.
        * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.

From-SVN: r28315

25 years agobuiltins.c (std_expand_builtin_va_arg): Use int_size_in_bytes rather than play with...
Richard Henderson [Wed, 28 Jul 1999 18:20:07 +0000 (11:20 -0700)]
builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes rather than play with TREE_INT_CST_LOW.

        * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
        rather than play with TREE_INT_CST_LOW.

From-SVN: r28314

25 years agoegcs_update (files_and_dependencies): Fixed typo in gcc/cstamp-h.in.
Alexandre Oliva [Wed, 28 Jul 1999 17:52:02 +0000 (17:52 +0000)]
egcs_update (files_and_dependencies): Fixed typo in gcc/cstamp-h.in.

* egcs_update (files_and_dependencies): Fixed typo in
gcc/cstamp-h.in.  Added gcc/config.in.

From-SVN: r28313

25 years agoPatch from Phillip Blundell <pb@nexus.co.uk> to add arm/thumb uclinux support.
Philip Blundell [Wed, 28 Jul 1999 08:52:05 +0000 (08:52 +0000)]
Patch from Phillip Blundell  <pb@nexus.co.uk>  to add arm/thumb uclinux support.

From-SVN: r28312

25 years agoKill CYGNUS LOCAL tags.
Richard Henderson [Wed, 28 Jul 1999 08:32:34 +0000 (01:32 -0700)]
Kill CYGNUS LOCAL tags.

From-SVN: r28311

25 years agocall.c (conditional_conversion): Don't build BASE_CONVs for conversions between thing...
Mark Mitchell [Wed, 28 Jul 1999 08:20:09 +0000 (08:20 +0000)]
call.c (conditional_conversion): Don't build BASE_CONVs for conversions between things that have the same type.

* call.c (conditional_conversion): Don't build BASE_CONVs for
conversions between things that have the same type.
(build_conditional_expr): Tweak.
(convert_like): Some BASE_CONVs really do require the generation
of code.

* init.c (perform_member_init): Don't go through build_modify_expr
for simple initializations.

From-SVN: r28310

25 years agoDaily bump.
Jeff Law [Wed, 28 Jul 1999 07:47:15 +0000 (01:47 -0600)]
Daily bump.

From-SVN: r28309

25 years agopa.md (post_store, pre_load): New expanders.
Jeffrey A Law [Wed, 28 Jul 1999 05:21:38 +0000 (05:21 +0000)]
pa.md (post_store, pre_load): New expanders.

        * pa.md (post_store, pre_load): New expanders.
        (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
        (post_ldwm, pre_stwm): Make these unnamed patterns since we never
        need to directly generate RTL for them.
        * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
        changes.

From-SVN: r28307

25 years agonew
Jason Merrill [Wed, 28 Jul 1999 00:45:57 +0000 (20:45 -0400)]
new

From-SVN: r28305

25 years agocp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.
Jason Merrill [Wed, 28 Jul 1999 00:45:12 +0000 (00:45 +0000)]
cp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.

* cp-tree.h (DECL_VIRTUAL_CONTEXT): New macro.
* typeck.c (expand_ptrmemfunc_cst): Calculate delta correctly for
virtual functions and MI.  Simplify.

From-SVN: r28304

25 years agotweak whitespace
Jason Merrill [Tue, 27 Jul 1999 22:58:58 +0000 (18:58 -0400)]
tweak whitespace

From-SVN: r28303

25 years agomethod.c: Remove prototype for largest_union_member.
Jason Merrill [Tue, 27 Jul 1999 22:58:38 +0000 (22:58 +0000)]
method.c: Remove prototype for largest_union_member.

* method.c: Remove prototype for largest_union_member.
* pt.c (determine_specialization): Fix uninitialized warning.
* lex.c (real_yylex): Likewise.

From-SVN: r28302

25 years agoclass.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS here too.
Mark Mitchell [Tue, 27 Jul 1999 20:17:13 +0000 (20:17 +0000)]
class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS here too.

* class.c (override_one_vtable): Adjust the use of BINFO_VIRTUALS
here too.

From-SVN: r28301

25 years agoaix43.h (ASM_CPU_SPEC, [...]): Add rs64a and PPC630.
David Edelsohn [Tue, 27 Jul 1999 20:10:38 +0000 (20:10 +0000)]
aix43.h (ASM_CPU_SPEC, [...]): Add rs64a and PPC630.

* aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
* rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
(rs6000_cpu): Choose between 32-bit and 64-bit default processors.
(secndary_reload_class): Make TARGET_ELF conditional compile.
(print_operand_address): Similar.
(output_toc): Print all values as hex.
(get_issue_rate): Rearrange and add RS64A and PPC630.
* rs6000.h (processor_type): Add RS64A and PPC630.
(PROCESSOR_POWERPC): Change to PROCESSOR_750.
(PROCESSOR_POWERPC64): New.
(PROMOTE_MODE): Use word_mode.
(RTX_COSTS): Add RS64A and PPC630.
* rs6000.md (scheduling information): Add lmul and ldiv
representing 64-bit integer multiply and divide.  Add rs64a and
PPC630 information.
(ashldi3): Add support for "rldic" instruction.
* sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.

From-SVN: r28300

25 years agosparc.c (sparc_override_options): Enable SPARCLITE instead of V8 for sparclite86x...
Vladimir Makarov [Tue, 27 Jul 1999 19:44:41 +0000 (19:44 +0000)]
sparc.c (sparc_override_options): Enable SPARCLITE instead of V8 for sparclite86x in cpu_table.

Tue Jul 27 15:31:53 1999  Vladimir Makarov  <vmakarov@toad.to.cygnus.com>

* config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
instead of V8 for sparclite86x in cpu_table.

From-SVN: r28299

25 years agocp-tree.h (BINFO_VIRTUALS): Document new format.
Mark Mitchell [Tue, 27 Jul 1999 18:15:21 +0000 (18:15 +0000)]
cp-tree.h (BINFO_VIRTUALS): Document new format.

* cp-tree.h (BINFO_VIRTUALS): Document new format.
* class.c (modify_one_vtable): Change prototype accordingly.
(modify_all_vtables): Likewise.
(modify_all_direct_vtables): Likewise.
(modify_all_indirect_vtables): Likewise.
(build_vtable_entry_for_fn): New function.
(set_rtti_entry): Simplify for new BINFO_VIRTUALS format.
(modify_vtable_entry): Likewise.
(add_virtual_function): Likewise.
(build_vtbl_initializer): New function.
(finish_vtbls): Simplify for new BINFO_VIRTUALS format.
(fixup_vtable_deltas1): Likewise.
(fixup_vtable_deltas): Likewise.
(override_one_vtable): Likewise.
(finish_struct_1): Likewise.
* error.c (dump_expr): Likewise.
* search.c (get_abstract_virtuals_1): Likewise.
(get_abstract_virtuals): Likewise.
(expand_upcast_fixups): Likewise.
* tree.c (debug_binfo): Likewise.
* decl2.c (mark_vtable_entries): Don't bash abstract virtuals to
__pure_virtual here.

From-SVN: r28298

25 years agoFix SDB debug output generation for ARM/COFF
Bernd Schmidt [Tue, 27 Jul 1999 17:02:42 +0000 (17:02 +0000)]
Fix SDB debug output generation for ARM/COFF

From-SVN: r28297

25 years agoAdd clones of fp-cmp-1 for float/long double; Change name of unknown register
Michael Meissner [Tue, 27 Jul 1999 15:03:03 +0000 (15:03 +0000)]
Add clones of fp-cmp-1 for float/long double; Change name of unknown register

From-SVN: r28296

25 years agoegcs_update (files_and_dependencies): New function...
Alexandre Oliva [Tue, 27 Jul 1999 13:26:37 +0000 (13:26 +0000)]
egcs_update (files_and_dependencies): New function...

* egcs_update (files_and_dependencies): New function, with
complete list of files to be updated, as well as their
dependencies.
(touch_files): Check the timestamp of each generated file against
its dependencies'.
(main): New flags --touch, --list and --help.  Remove the
pre-update step.

From-SVN: r28295

25 years agoadd EOL to keep patch happy.
Jeff Law [Tue, 27 Jul 1999 10:35:03 +0000 (04:35 -0600)]
add EOL to keep patch happy.

From-SVN: r28294

25 years agoexpr.c (expand_expr, [...]): Get the mode from the tree for op1, not the rtl.
Jason Merrill [Tue, 27 Jul 1999 10:23:05 +0000 (10:23 +0000)]
expr.c (expand_expr, [...]): Get the mode from the tree for op1, not the rtl.

* expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
tree for op1, not the rtl.

From-SVN: r28292

25 years agotry again
Jason Merrill [Tue, 27 Jul 1999 10:10:49 +0000 (06:10 -0400)]
try again

From-SVN: r28291

25 years agoDaily bump.
Jeff Law [Tue, 27 Jul 1999 07:45:11 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r28288

25 years agom88k.c (m88k_builtin_saveregs): Break out the constructor code to m88k_va_start,...
Richard Henderson [Tue, 27 Jul 1999 07:21:59 +0000 (00:21 -0700)]
m88k.c (m88k_builtin_saveregs): Break out the constructor code to m88k_va_start, leaving only the register spill.

        * m88k.c (m88k_builtin_saveregs): Break out the constructor code
        to m88k_va_start, leaving only the register spill.
        (m88k_build_va_list): New.
        (m88k_va_start): New.
        (m88k_va_arg): New.
        * m88k.h (BUILD_VA_LIST_TYPE): New.
        (EXPAND_BUILTIN_VA_START): New.
        (EXPAND_BUILTIN_VA_ARG): New.

From-SVN: r28287

25 years agoCorrect typo in my last change
Geoffrey Keating [Tue, 27 Jul 1999 06:49:29 +0000 (06:49 +0000)]
Correct typo in my last change

From-SVN: r28286

25 years agors6000.c (rs6000_expand_builtin_saveregs): Rename from expand_builtin_saveregs.
Geoff Keating [Tue, 27 Jul 1999 06:34:43 +0000 (06:34 +0000)]
rs6000.c (rs6000_expand_builtin_saveregs): Rename from expand_builtin_saveregs.

* config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
Rename from expand_builtin_saveregs.
* config/rs6000/rs6000.c (EXPAND_BUILTIN_SAVEREGS): Change caller.

From-SVN: r28285

25 years agoi960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set for the register...
Richard Henderson [Tue, 27 Jul 1999 05:53:14 +0000 (22:53 -0700)]
i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set for the register spill block.

        * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
        for the register spill block.
        (i960_build_va_list): New.
        (i960_va_start): New.
        (i960_va_arg): New.
        * i960.h (BUILD_VA_LIST_TYPE): New.
        (EXPAND_BUILTIN_VA_START): New.
        (EXPAND_BUILTIN_VA_ARG): New.
        * i960.md (store_multiple): Use change_address on individul mems.

From-SVN: r28284

25 years agobuiltins.c (stabilize_va_list): Don't INDIRECT_REF through an ARRAY_TYPE.
Richard Henderson [Tue, 27 Jul 1999 05:43:56 +0000 (22:43 -0700)]
builtins.c (stabilize_va_list): Don't INDIRECT_REF through an ARRAY_TYPE.

        * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
        an ARRAY_TYPE.
        (std_expand_builtin_va_start): Back out one word if !stdarg_p.
        (expand_builtin_va_end): Evaluate arg for side effects.
        * c-common.c (c_common_nodes_and_builtins): Construct a
        va_list_arg_type_node to handle array decomposition to pointer.

From-SVN: r28283

25 years agoexcept.c (start_dynamic_cleanup): Use force_operand on the buffer's address.
Richard Henderson [Tue, 27 Jul 1999 01:53:02 +0000 (18:53 -0700)]
except.c (start_dynamic_cleanup): Use force_operand on the buffer's address.

        * except.c (start_dynamic_cleanup): Use force_operand on the
        buffer's address.

From-SVN: r28282

25 years agotree.c (build_cplus_new): Adjust call to abstract_virtuals_error as per 1999-07-26...
Mark Mitchell [Tue, 27 Jul 1999 01:35:35 +0000 (01:35 +0000)]
tree.c (build_cplus_new): Adjust call to abstract_virtuals_error as per 1999-07-26 change.

* tree.c (build_cplus_new): Adjust call to abstract_virtuals_error
as per 1999-07-26 change.

* typeck.c (c_sizeof): Don't allow non-static data members.
(expr_sizeof): Likewise.

From-SVN: r28280

25 years agonew
Jason Merrill [Tue, 27 Jul 1999 01:11:10 +0000 (21:11 -0400)]
new

From-SVN: r28279