gcc.git
26 years agoClarify some collect2 stuff.
Jeff Law [Tue, 13 Jan 1998 07:37:58 +0000 (00:37 -0700)]
Clarify some collect2 stuff.

From-SVN: r17324

26 years agoconfigure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4 for now.
Robert Lipe [Tue, 13 Jan 1998 00:15:16 +0000 (00:15 +0000)]
configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4 for now.

        * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
        for now.

From-SVN: r17323

26 years ago* config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.
Robert Lipe [Tue, 13 Jan 1998 00:12:01 +0000 (00:12 +0000)]
* config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.

From-SVN: r17322

26 years agomingw32.h (INCOMING_RETURN_ADDR_RTX): Delete.
Mumit Khan [Mon, 12 Jan 1998 23:49:57 +0000 (23:49 +0000)]
mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete.

        * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
        of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
        (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.

From-SVN: r17321

26 years ago* mips.md (return_internal): Change mode from SImode to VOIDmode.
Jim Wilson [Mon, 12 Jan 1998 23:42:43 +0000 (23:42 +0000)]
* mips.md (return_internal): Change mode from SImode to VOIDmode.

From-SVN: r17320

26 years agoinit.c (build_new_1): Split out from build_new.
Jason Merrill [Mon, 12 Jan 1998 09:44:59 +0000 (09:44 +0000)]
init.c (build_new_1): Split out from build_new.

* init.c (build_new_1): Split out from build_new.
(build_new): Just return a NEW_EXPR.
* expr.c (cplus_expand_expr): Handle NEW_EXPR.
* decl2.c (get_temp_regvar): Tweak.
* cp-tree.h (TREE_CALLS_NEW): Comment out.
* class.c (resolves_to_fixed_type_p): Remove use.
* method.c (build_opfncall): Likewise.
* call.c (build_new_op): Likewise.
Fix problem with 'new' in default argument.

From-SVN: r17319

26 years agosco5.h (STARTFILE_SPEC, [...]): Correctly handle "-static".
J. Kean Johnston [Sat, 10 Jan 1998 21:11:00 +0000 (21:11 +0000)]
sco5.h (STARTFILE_SPEC, [...]): Correctly handle "-static".

        * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
        "-static".

From-SVN: r17318

26 years agoi386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode suffix from operand 3.
Stan Cox [Sat, 10 Jan 1998 21:03:36 +0000 (21:03 +0000)]
i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode suffix from operand 3.

        * i386.md: (movsicc_1, movhicc_1):  For alternate 3 set the opcode
        suffix from operand 3.

From-SVN: r17317

26 years agoregmove.c: New implementation of regmove pass.
J"orn Rennecke [Sat, 10 Jan 1998 20:54:37 +0000 (20:54 +0000)]
regmove.c: New implementation of regmove pass.

        * regmove.c: New implementation of regmove pass.
        * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
        decls, make them have external linkage.  Return a value from
        optimize_reg_copy_1.
        * reload.h (count_occurrences): Add decl.
        * reload1.c (count_occurrences): Delete decl, make it have external
        linkage.
        * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17316

26 years agoRemove bogus CYGNUS LOCAL markers.
Jeff Law [Sat, 10 Jan 1998 19:57:29 +0000 (12:57 -0700)]
Remove bogus CYGNUS LOCAL markers.

From-SVN: r17315

26 years agoregclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P if it is not defined.
Jeffrey A Law [Sat, 10 Jan 1998 19:30:33 +0000 (19:30 +0000)]
regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P if it is not defined.

        * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
        if it is not defined.

From-SVN: r17314

26 years agofix comment at the top (just noticed)
Brendan Kehoe [Fri, 9 Jan 1998 16:09:07 +0000 (11:09 -0500)]
fix comment at the top (just noticed)

From-SVN: r17313

26 years agoMakefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
Richard Henderson [Thu, 8 Jan 1998 21:17:05 +0000 (13:17 -0800)]
Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.

* Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
* emit-rtl.c (gen_rtx): Move special code to ...
(gen_rtx_CONST_INT): New function.
(gen_rtx_REG): New function.
(*): Update all calls to gen_rtx.
* genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
* rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
(GEN_INT): Call gen_rtx_CONST_INT.
* gengenrtl.c: New file.

From-SVN: r17312

26 years agoexception.cc (__eh_alloc, __eh_free): New fns.
Jason Merrill [Thu, 8 Jan 1998 00:29:08 +0000 (00:29 +0000)]
exception.cc (__eh_alloc, __eh_free): New fns.

* exception.cc (__eh_alloc, __eh_free): New fns.
(__cp_push_exception, __cp_pop_exception): Use them.
(__uncatch_exception): Call terminate here if no exception.
* except.c (build_terminate_handler): New fn.
(expand_start_catch_block): Use it.
(expand_exception_blocks): Likewise.
(alloc_eh_object): New fn.
(expand_throw): Use it.  Protect exception init with terminate.
* typeck.c (build_modify_expr): Remove code that ignores trivial
methods.

From-SVN: r17309

26 years agobastring.cc (basic_string::Rep::operator delete): Don't claim to return from dealloca...
Brendan Kehoe [Mon, 5 Jan 1998 18:35:07 +0000 (18:35 +0000)]
bastring.cc (basic_string::Rep::operator delete): Don't claim to return from deallocate, since this is a void method.

* std/bastring.cc (basic_string::Rep::operator delete): Don't claim
to return from deallocate, since this is a void method.

From-SVN: r17297

26 years agoalias.c (*_dependence): Call base_alias_check before canon_rtx.
John F. Carr [Mon, 5 Jan 1998 12:00:00 +0000 (12:00 +0000)]
alias.c (*_dependence): Call base_alias_check before canon_rtx.

        * alias.c (*_dependence): Call base_alias_check before canon_rtx.
        (base_alias_check): If no base found for address call canon_rtx and
        try again.

From-SVN: r17296

26 years agoAdd pointer to iecc comp.compilers archive.
Jeff Law [Mon, 5 Jan 1998 11:52:30 +0000 (04:52 -0700)]
Add pointer to iecc comp.compilers archive.

From-SVN: r17295

26 years agomips.c (mips_expand_prologue): Handle large frame with no outgoing arguments for...
Jeffrey A Law [Mon, 5 Jan 1998 10:45:59 +0000 (10:45 +0000)]
mips.c (mips_expand_prologue): Handle large frame with no outgoing arguments for mips16.

        * mips.c (mips_expand_prologue): Handle large frame with no outgoing
        arguments for mips16.
        (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
        Don't lose if tsize is zero after handling large stack for mips16.
        * mips.md (return): For trivial return, return address is in $31.

From-SVN: r17294

26 years agomips16.S: Various changes to make it work with -msingle-float and -EL.
Nigel Stephens [Sun, 4 Jan 1998 19:25:36 +0000 (19:25 +0000)]
mips16.S: Various changes to make it work with -msingle-float and -EL.

        *  mips/mips16.S: Various changes to make it work with -msingle-float
        and -EL.

From-SVN: r17293

26 years agomips.c, [...]: First cut at merging in mips16 support.
Gavin Koch [Sun, 4 Jan 1998 15:43:52 +0000 (15:43 +0000)]
mips.c, [...]: First cut at merging in mips16 support.

        * mips.c, mips.h, mips.md: First cut at merging in mips16
        support.  Major modifications throughout all three files.
Note mips16 doesn't work yet (no epilogue support), but I'll be working
on that shortly :-)

Co-Authored-By: Ian Lance Taylor <ian@cygnus.com>
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17292

26 years agoconfig.sub: Add mingw32 support.
Mumit Khan [Sun, 4 Jan 1998 00:10:33 +0000 (00:10 +0000)]
config.sub: Add mingw32 support.

        * config.sub: Add mingw32 support.
        * configure.in: Likewise.
        * config/mh-mingw32: New file.

From-SVN: r17291

26 years agoconfigure.in: Make gthr-default.h a forwarding header instead of a symlink.
Scott Snyder [Sun, 4 Jan 1998 00:02:05 +0000 (17:02 -0700)]
configure.in: Make gthr-default.h a forwarding header instead of a symlink.

        * configure.in: Make gthr-default.h a forwarding header instead of
        a symlink.

From-SVN: r17290

26 years ago* gcov-io.h: Include sys/types.h to ensure we get size_t.
Kaveh R. Ghazi [Sat, 3 Jan 1998 11:29:44 +0000 (11:29 +0000)]
* gcov-io.h: Include sys/types.h to ensure we get size_t.

From-SVN: r17289

26 years agoMinor tweak.
Jeff Law [Sat, 3 Jan 1998 11:27:57 +0000 (04:27 -0700)]
Minor tweak.

From-SVN: r17288

26 years agoconfigure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
Franz Sirl [Sat, 3 Jan 1998 11:16:38 +0000 (04:16 -0700)]
configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

/
        * configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

From-SVN: r17287

26 years agoconfigure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
Franz Sirl [Sat, 3 Jan 1998 11:16:36 +0000 (04:16 -0700)]
configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

        * configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

From-SVN: r17286

26 years ago*** empty log message ***
Franz Sirl [Sat, 3 Jan 1998 11:14:43 +0000 (04:14 -0700)]
*** empty log message ***

From-SVN: r17285

26 years ago* pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
Kaveh R. Ghazi [Sat, 3 Jan 1998 11:09:27 +0000 (11:09 +0000)]
* pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.

From-SVN: r17284

26 years agocrtstuff.c (__frame_dummy): New function for irix6.
Jim Wilson [Fri, 2 Jan 1998 22:50:23 +0000 (22:50 +0000)]
crtstuff.c (__frame_dummy): New function for irix6.

        * crtstuff.c (__frame_dummy): New function for irix6.
        (__do_global_ctors): Call __frame_dummy for irix6.
        * iris6.h (LINK_SPEC): Hide __frame_dummy too.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17281

26 years agoNote various modula-3 thingies on the net.
Jeff Law [Fri, 2 Jan 1998 15:36:23 +0000 (08:36 -0700)]
Note various modula-3 thingies on the net.

From-SVN: r17280

26 years ago* alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
Weiwen Liu [Fri, 2 Jan 1998 04:59:12 +0000 (04:59 +0000)]
* alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.

From-SVN: r17279

26 years agoc-decl.c (init_decl_processing): Provide proper fallback symbol for __builtin_memset.
Richard Henderson [Fri, 2 Jan 1998 04:48:04 +0000 (20:48 -0800)]
c-decl.c (init_decl_processing): Provide proper fallback symbol for __builtin_memset.

* c-decl.c (init_decl_processing): Provide proper fallback symbol
for __builtin_memset.
* expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
not INTEGER_CST.  Assert arg 3 is a constant.
* alpha.c (mode_width_operand): Accept 64-bit modes.
(mode_mask_operand): Likewise.
(print_operand): Likewise for 'M' and 'U' codes.
(alpha_expand_unaligned_load): New function.
(alpha_expand_unaligned_store): Likewise.
(alpha_expand_unaligned_load_words): Likewise.
(alpha_expand_unaligned_store_words): Likewise.
(alpha_expand_block_move): Likewise.
(alpha_expand_block_clear): Likewise.
* alpha.h (MOVE_RATIO): New define.
* alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
(insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
* alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
(CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.

From-SVN: r17278

26 years agoconfigure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
Richard Henderson [Thu, 1 Jan 1998 15:40:57 +0000 (07:40 -0800)]
configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.

* configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
* configure: Update.

From-SVN: r17277

26 years agoemit-rtl.c (operand_subword): Correctly handle extracting a word from a CONST_DOUBLE...
Jeffrey A Law [Thu, 1 Jan 1998 12:55:19 +0000 (12:55 +0000)]
emit-rtl.c (operand_subword): Correctly handle extracting a word from a CONST_DOUBLE for 16bit targets with...

* emit-rtl.c (operand_subword): Correctly handle extracting a word
from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.

From-SVN: r17276

26 years agoTweak from Kaveh.
Jeff Law [Thu, 1 Jan 1998 10:06:56 +0000 (03:06 -0700)]
Tweak from Kaveh.

From-SVN: r17275

26 years agomn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate for first argument.
Jeffrey A Law [Thu, 1 Jan 1998 09:51:30 +0000 (09:51 +0000)]
mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate for first argument.

        * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
        for first argument.

From-SVN: r17274

26 years agoconfigure.in: Set and subsitute host_exeext.
Ian Lance Taylor [Wed, 31 Dec 1997 11:48:25 +0000 (11:48 +0000)]
configure.in: Set and subsitute host_exeext.

* configure.in: Set and subsitute host_exeext.  Use it when creating
the assembler and linker symlinks.
* configure: Rebuild.
* Makefile.in (exeext): Set to @host_exeext@.
(build_exeext): New variable, set to @build_exeext@.
(FLAGS_TO_PASS): Pass down build_exeext.
(STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
  programs.

From-SVN: r17267

26 years ago* mn10200.md (addsi3, subsi3): Fix thinkos.
Jeffrey A Law [Wed, 31 Dec 1997 09:05:15 +0000 (09:05 +0000)]
* mn10200.md (addsi3, subsi3): Fix thinkos.

From-SVN: r17266

26 years agosparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of save+restore.
Richard Henderson [Tue, 30 Dec 1997 00:02:54 +0000 (16:02 -0800)]
sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of save+restore.

* sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
save+restore.  Fix pic+big_offset delay slot.  Use "pic" case for
unix always, since we want to be able to thunk to functions in a
shared library from an application.

From-SVN: r17262

26 years agot-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
Ian Lance Taylor [Mon, 29 Dec 1997 13:40:28 +0000 (13:40 +0000)]
t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.

        * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
        (LIB1ASMSRC, LIB1ASMFUNCS): Define.
More mips16 merge stuff.

From-SVN: r17261

26 years agoexpr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...
Jeff Law [Mon, 29 Dec 1997 13:15:21 +0000 (06:15 -0700)]
expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...

d
        * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
        offset's mode is not ptr_mode, convert it.

From-SVN: r17260

26 years agoexpr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...
Jeff Law [Mon, 29 Dec 1997 13:15:11 +0000 (06:15 -0700)]
expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF...

a
        * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
        offset's mode is not ptr_mode, convert it.

From-SVN: r17259

26 years agoDo not define inhibit_libc if it was already defined
Michael Meissner [Mon, 29 Dec 1997 12:59:45 +0000 (12:59 +0000)]
Do not define inhibit_libc if it was already defined

From-SVN: r17258

26 years agoDon't make gperf depend upon libg++.
Brendan Kehoe [Sun, 28 Dec 1997 10:24:10 +0000 (10:24 +0000)]
Don't make gperf depend upon libg++.

        * config.shared (TOLIBGCXX) [DOING_GPERF]: Delete.
        (LIBS) [DOING_GPERF]: Make it just `-L../libstdc++ -lstdc++'.
Bring over from devo.

From-SVN: r17249

26 years agoflow.c (find_basic_blocks): Don't create a new basic block for calls in a LIBCALL...
Jeffrey A Law [Sat, 27 Dec 1997 23:34:14 +0000 (23:34 +0000)]
flow.c (find_basic_blocks): Don't create a new basic block for calls in a LIBCALL block.

        * flow.c (find_basic_blocks): Don't create a new basic block
        for calls in a LIBCALL block.

From-SVN: r17247

26 years ago* config/fp-bit.c (L_df_to_sf): Fix typo in last change.
David Edelsohn [Sat, 27 Dec 1997 21:47:12 +0000 (21:47 +0000)]
* config/fp-bit.c (L_df_to_sf): Fix typo in last change.

From-SVN: r17246

26 years ago* cse.c (rtx_cost): Remove conflicting default case.
Jeffrey A Law [Sat, 27 Dec 1997 21:44:26 +0000 (21:44 +0000)]
* cse.c (rtx_cost): Remove conflicting default case.

From-SVN: r17245

26 years agoconfigure.in: Move default enabling of Haifa out of for loop.
Richard Henderson [Sat, 27 Dec 1997 21:20:07 +0000 (13:20 -0800)]
configure.in: Move default enabling of Haifa out of for loop.

        * configure.in: Move default enabling of Haifa out of for loop.
        * configure: Rebuild.

From-SVN: r17244

26 years agoRemove reference to CYGNUS LOCAL patch.
Jeff Law [Thu, 25 Dec 1997 00:01:34 +0000 (17:01 -0700)]
Remove reference to CYGNUS LOCAL patch.

From-SVN: r17237

26 years ago* version.c: Bump for snapshot.
Jeffrey A Law [Thu, 25 Dec 1997 00:00:58 +0000 (00:00 +0000)]
* version.c: Bump for snapshot.

From-SVN: r17236

26 years agoMakefile.in (GTHREAD_FLAGS): New var.
Teemu Torma [Wed, 24 Dec 1997 23:56:08 +0000 (23:56 +0000)]
Makefile.in (GTHREAD_FLAGS): New var.

* Makefile.in (GTHREAD_FLAGS): New var.
(LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
(distclean): Remove gthr-default.h.
* configure.in: Accept dce as a thread package.
Check for thread.h and pthread.h.
Link gthr-default.h to appropriate thread file and set
gthread_flags.
(hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
include multilib definitions from pa/t-dce-thr.
(sparc-*-solaris2*): Enable threads by default, if thread.h or
pthread.h is found, preferring posix threads over solaris ones.
* config/pa/t-dce-thr: New file.
* config/pa/t-pa: Removed multilibs.
* config/sparc/t-sol2: Ditto.
* gthr.h: New file.
* gthr-single.h: New file.
* gthr-posix.h: New file.
* gthr-solaris.h: New file.
* gthr-dce.h: New file.
* libgcc-thr.h: Removed.
* objc/thr-dce.c: New file copied from thr-decosf1.c.
* frame.c: Include gthr.h instead of libgcc-thr.h.
* libgcc2.c: Include gthr.h instead of libgcc-thr.h.
(eh_context_initialize): If __gthread_once fails, use static eh
context.
(eh_context_free): Call __gthread_key_dtor.

From-SVN: r17235

26 years agolibstdc++.exp (test_libstdc++): Set LD_LIBRARY_PATH and SHLIB_PATH appropriately.
Jeffrey A Law [Wed, 24 Dec 1997 23:29:39 +0000 (23:29 +0000)]
libstdc++.exp (test_libstdc++): Set LD_LIBRARY_PATH and SHLIB_PATH appropriately.

        * lib/libstdc++.exp (test_libstdc++): Set LD_LIBRARY_PATH
        and SHLIB_PATH appropriately.

From-SVN: r17234

26 years agocse.c (max_insn_uid): New variable.
Jim Wilson [Wed, 24 Dec 1997 22:54:37 +0000 (22:54 +0000)]
cse.c (max_insn_uid): New variable.

        * cse.c (max_insn_uid): New variable.
        (invalidate): Remove CYGNUS LOCAL patch.
        (cse_around_loop): Use max_insn_uid.
        (cse_main): Set max_insn_uid.

From-SVN: r17231

26 years ago* expr.h (MUST_PASS_IN_STACK): Allow target port to override.
Jeffrey A Law [Wed, 24 Dec 1997 22:31:54 +0000 (22:31 +0000)]
* expr.h (MUST_PASS_IN_STACK): Allow target port to override.

From-SVN: r17230

26 years agoabi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT, and define __LONG...
Jim Wilson [Wed, 24 Dec 1997 22:10:46 +0000 (22:10 +0000)]
abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT, and define __LONG_MAX__ appropriately.

        * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
        and define __LONG_MAX__ appropriately.  Add support for -mabi=X,
        -mlong64, and -mgp{32,64} options.
        * mips.c (mips_abi): Change type to int.
        * mips.h (enum mips_abi_type): Delete.
        (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
        (mips_abi): Change type to int.

From-SVN: r17229

26 years agoflags.h, [...]: Remove flag_alias_check; optimization is now always enabled.
John Carr [Wed, 24 Dec 1997 21:44:46 +0000 (14:44 -0700)]
flags.h, [...]: Remove flag_alias_check; optimization is now always enabled.

        * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
        optimization is now always enabled.
        * calls.c (expand_call): Recognize C++ operator new as malloc-like
        function.
        * alias.c (memrefs_conflict_p): Eliminate tests now done by
        base_alias_check.
        (*_dependence): Call canon_rtx before base_alias_check.
        (init_alias_once): New function to precompute set of registers which
        can hold Pmode function arguments.
        * rtl.h: Declare init_alias_once.
        * toplev.c (compile_file): Call init_alias_once.

From-SVN: r17227

26 years agoflags.h, [...]: Remove flag_alias_check; optimization is now always enabled.
John Carr [Wed, 24 Dec 1997 21:39:44 +0000 (14:39 -0700)]
flags.h, [...]: Remove flag_alias_check; optimization is now always enabled.

        * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
        optimization is now always enabled.
        * calls.c (expand_call): Recognize C++ operator new as malloc-like
        function.
        * alias.c (memrefs_conflict_p): Eliminate tests now done by
        base_alias_check.
        (*_dependence): Call canon_rtx before base_alias_check.
        (init_alias_once): New function to precompute set of registers which
        can hold Pmode function arguments.
        * rtl.h: Declare init_alias_once.
        * toplev.c (compile_file): Call init_alias_once.

From-SVN: r17226

26 years agotree.c (restore_tree_status): Do not dereference a null pointer.
Jeffrey A Law [Wed, 24 Dec 1997 21:33:48 +0000 (21:33 +0000)]
tree.c (restore_tree_status): Do not dereference a null pointer.

        * tree.c (restore_tree_status): Do not dereference a null pointer.
Brought over from devo.  SHould fix 921215-1.c compilation failures.

From-SVN: r17225

26 years agogenattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to RLIMIT_STACK.
Paul Eggert [Tue, 23 Dec 1997 11:55:03 +0000 (11:55 +0000)]
genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to RLIMIT_STACK.

        * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
        RLIMIT_STACK.  This maintains consistency with the recent, similar
        patch to cccp.c and toplev.c.

From-SVN: r17218

26 years ago* config.guess: HP 9000/803 is a PA1.1 machine.
Jeffrey A Law [Tue, 23 Dec 1997 11:40:37 +0000 (11:40 +0000)]
* config.guess: HP 9000/803 is a PA1.1 machine.

From-SVN: r17217

26 years agogenattrtab.c (expand_units): For large nr opclasses, expand function_units_used with...
Richard Henderson [Tue, 23 Dec 1997 05:34:27 +0000 (21:34 -0800)]
genattrtab.c (expand_units): For large nr opclasses, expand function_units_used with ORX to prevent blowups.

* genattrtab.c (expand_units): For large nr opclasses, expand
function_units_used with ORX to prevent blowups.  Tag with FFS.
(num_unit_opclasses): New variable.
(gen_unit): Update it.
(enum operator): Add ORX_OP.
(operate_exp): Treat ORX as or, except don't expand across an if.
Reuse number rtx's after operating on them.
(check_attr_value): Accept IOR, AND, & FFS.
(write_test_expr): Transmute `in_comparison' to `flags'.  Allow
for attribute value caching.  Handle CONST_STRING, IF_THEN_ELSE.
(write_expr_attr_cache, write_toplevel_expr): New functions.
(write_attr_get): Handle FFS-tagged expressions.
(make_canonical): Don't expand const attributes.
(convert_const_symbol_ref): Dike out.
(evaluate_eq_attr): Handle SYMBOL_REF.
(main): Don't emit get_attr_foo for const attributes.
* alpha.c (override_options): Reinstate PROCESSOR_EV6.
(alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
* alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
* alpha.md: Redo all of the scheduling, adding EV6 support, and
combining function units where possible.
(attr "type"): Split loads, stores, cmov into int/fp.  Combine
multiplies and divides.  Add EV6 sqrt, ftoi, itof.
(attr "opsize"): New attribute.
(sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
(movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
to control register allocation.
(movsi2-1, movdi2-1): Likewise.

From-SVN: r17212

26 years agoalpha.h (CPP_PREDEFINES, [...]): Move OSF/1 specific defines out.
Richard Henderson [Tue, 23 Dec 1997 04:42:30 +0000 (20:42 -0800)]
alpha.h (CPP_PREDEFINES, [...]): Move OSF/1 specific defines out.

* alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
Move OSF/1 specific defines out.
* alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
Move Linux specific defines out.
(LINK_SPEC): Genericize.
(ASM_FILE_START): Emit .arch if using more than the base insn set.
(ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
(SDB_DEBUGGING_INFO): Remove; gas can't handle it.
(HANDLE_SYSV_PRAGMA): Define.
* alpha/osf.h: New file.
* alpha/linux.h: Split.  Retain file-format independant defines.
Import Linux bits from elf.h.
(CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
(FUNCTION_PROFILER): _mcount takes its address in $28.
(MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
* alpha/linux-ecoff.h: New file.
* alpha/linux-elf.h: New file.
* alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
* alpha/win-nt.h (TARGET_DEFAULT): Define.
* configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
Add new headers as appropriate.
* configure.in (alpha*): Enable Haifa by default.
(*-*-winnt3*): Change to winnt*, since we're not v3 specific.
* configure: Rebuild.

From-SVN: r17211

26 years agoMakefile.in (clean): Remove the stages with their objects here ...
Richard Henderson [Tue, 23 Dec 1997 03:16:26 +0000 (19:16 -0800)]
Makefile.in (clean): Remove the stages with their objects here ...

* Makefile.in (clean): Remove the stages with their objects here ...
(distclean): ... instead of here.

From-SVN: r17210

26 years ago*** empty log message ***
Benjamin Kosnik [Tue, 23 Dec 1997 00:04:13 +0000 (00:04 +0000)]
*** empty log message ***

From-SVN: r17202

26 years agoOpps. Forgot to check it in.
Jeff Law [Mon, 22 Dec 1997 10:05:04 +0000 (03:05 -0700)]
Opps.  Forgot to check it in.

From-SVN: r17188

26 years agocall.c (add_builtin_candidate): Add default case in enumeration switch.
Kaveh R. Ghazi [Mon, 22 Dec 1997 09:35:49 +0000 (09:35 +0000)]
call.c (add_builtin_candidate): Add default case in enumeration switch.

        * call.c (add_builtin_candidate): Add default case in enumeration
        switch.
        (build_new_op): Likewise.
        (convert_like): Likewise.
        * cvt.c (build_expr_type_conversion): Likewise.
        * tree.c (real_lvalue_p): Likewise.
        (lvalue_p): Likewise.
        (cp_tree_equal): Likewise.
        * typeck.c (comptypes): Likewise.
        (build_component_ref): Likewise.
        (build_function_call_real): Likewise.
        (build_binary_op_nodefault): Likewise.
        (build_unary_op): Likewise.
        (build_modify_expr): Likewise.
        * typeck2.c (initializer_constant_valid_p): Likewise.

From-SVN: r17187

26 years agocse.c (rtx_cost): Add default case in enumeration switch.
Kaveh R. Ghazi [Mon, 22 Dec 1997 09:31:41 +0000 (09:31 +0000)]
cse.c (rtx_cost): Add default case in enumeration switch.

        * cse.c (rtx_cost): Add default case in enumeration switch.
        * fix-header.c (recognized_macro): Likewise.
        (recognized_extern): Likewise.
        (write_rbrac): Likewise.
        * objc/objc-act.c (encode_aggregate): Likewise.
        (gen_declarator): Likewise.
        (gen_declspecs): Likewise.

From-SVN: r17186

26 years agohaifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill...
Jeff Law [Mon, 22 Dec 1997 08:55:49 +0000 (01:55 -0700)]
haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were...

        * haifa-sched.c (create_reg_dead_note): Detect and handle another
        case where we kill more regs after sched than were killed before
        sched.
        * sched.c (create_reg_dead_note): Similarly.

From-SVN: r17183

26 years agohaifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill...
Jeff Law [Mon, 22 Dec 1997 08:55:43 +0000 (01:55 -0700)]
haifa-sched.c (create_reg_dead_note): Detect and handle another case where we kill more regs after sched than were...

        * haifa-sched.c (create_reg_dead_note): Detect and handle another
        case where we kill more regs after sched than were killed before
        sched.
        * sched.c (create_reg_dead_note): Similarly.

[[Split portion of a mixed commit.]]

From-SVN: r17182.2

26 years ago* c-pragma.c: Include flags.h.
Jeff Law [Mon, 22 Dec 1997 08:16:44 +0000 (01:16 -0700)]
* c-pragma.c: Include flags.h.

From-SVN: r17180

26 years agoIt's alpha*-...
Richard Henderson [Mon, 22 Dec 1997 02:40:10 +0000 (18:40 -0800)]
It's alpha*-...

From-SVN: r17179

26 years agoAdd pointer to motorola 68k info.
Jeff Law [Sun, 21 Dec 1997 21:43:08 +0000 (14:43 -0700)]
Add pointer to motorola 68k info.

From-SVN: r17178

26 years agocygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers.
Mumit Khan [Sun, 21 Dec 1997 21:07:08 +0000 (21:07 +0000)]
cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything about system headers.

        * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
        about system headers.
        (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
        and also to resolve symbols in prefix.c.
        * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
        between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
        when the definitions in auto-config.h is not visible.
        (HAVE_BZERO): Likewise.
        (HAVE_BCMP): Likewise.
        (HAVE_RINDEX): Likewise.
        (HAVE_INDEX): Likewise.

From-SVN: r17177

26 years agoClarify comment.
Jeff Law [Sun, 21 Dec 1997 20:55:52 +0000 (13:55 -0700)]
Clarify comment.

From-SVN: r17176

26 years agopa.c (emit_move_sequence): Handle a function label source operand.
Jeffrey A Law [Sun, 21 Dec 1997 20:50:37 +0000 (20:50 +0000)]
pa.c (emit_move_sequence): Handle a function label source operand.

        * pa.c (emit_move_sequence): Handle a function label source
        operand.

From-SVN: r17174

26 years agoconfigure.in (host_makefile_frag, [...]): Handle multiple config files.
H.J. Lu [Sun, 21 Dec 1997 15:50:35 +0000 (08:50 -0700)]
configure.in (host_makefile_frag, [...]): Handle multiple config files.

d
        * configure.in (host_makefile_frag, target_makefile_frag):
        Handle multiple config files.
        (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and
        alpha-*-*.

From-SVN: r17170

26 years agoconfigure.in (host_makefile_frag, [...]): Handle multiple config files.
H.J. Lu [Sun, 21 Dec 1997 15:50:33 +0000 (08:50 -0700)]
configure.in (host_makefile_frag, [...]): Handle multiple config files.

F
        * configure.in (host_makefile_frag, target_makefile_frag):
        Handle multiple config files.
        (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and
        alpha-*-*.

From-SVN: r17169

26 years agoc-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas...
Nick Clifton [Sun, 21 Dec 1997 15:24:48 +0000 (08:24 -0700)]
c-pragma.c (handle_pragma_token): Generate warning messages about unknown pragmas if warn_unknown_pragmas is set.

        * c-pragma.c (handle_pragma_token): Generate warning messages
        about unknown pragmas if warn_unknown_pragmas is set.
        * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
        line option to set variable: warn_unknown_pragmas.

From-SVN: r17168

26 years ago* decl2.c (lang_decode_option): Add support for -Wunknown-pragmas.
Nick Clifton [Sun, 21 Dec 1997 15:22:02 +0000 (15:22 +0000)]
* decl2.c (lang_decode_option): Add support for -Wunknown-pragmas.

From-SVN: r17167

26 years agomot3300.h (ASM_BYTE_OP): Don't include '\t' in the definition.
Manfred Hollstein [Sun, 21 Dec 1997 14:48:50 +0000 (14:48 +0000)]
mot3300.h (ASM_BYTE_OP): Don't include '\t' in the definition.

        * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
        definition.
        (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.

From-SVN: r17166

26 years agoMakefile.in (FPBIT_FUNCS, [...]): Define.
Jeff Law [Sun, 21 Dec 1997 13:45:26 +0000 (06:45 -0700)]
Makefile.in (FPBIT_FUNCS, [...]): Define.

L
        * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
        (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
        generate more fine grained floating point emulation libraries.
        * config/fp-bit.c: Add protecting #ifdef to all functions so
        that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
        then compile all suitable functions.
        (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
        underscores to avoid namespace pollution.
        * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
        (FPBIT): Define.
        * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
        (FPBIT): Define.
        (DPBIT): Define.

From-SVN: r17165

26 years agoMakefile.in (FPBIT_FUNCS, [...]): Define.
Jeff Law [Sun, 21 Dec 1997 13:45:24 +0000 (06:45 -0700)]
Makefile.in (FPBIT_FUNCS, [...]): Define.

e
        * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
        (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
        generate more fine grained floating point emulation libraries.
        * config/fp-bit.c: Add protecting #ifdef to all functions so
        that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
        then compile all suitable functions.
        (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
        underscores to avoid namespace pollution.
        * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
        (FPBIT): Define.
        * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
        (FPBIT): Define.
        (DPBIT): Define.

From-SVN: r17164

26 years agoMakefile.in (FPBIT_FUNCS, [...]): Define.
Jeffrey A Law [Sun, 21 Dec 1997 13:45:20 +0000 (13:45 +0000)]
Makefile.in (FPBIT_FUNCS, [...]): Define.

        * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
        (libgcc2.a): Depend on $(DPBIT) and $(FPBIT).  Add rules to
        generate more fine grained floating point emulation libraries.
        * config/fp-bit.c: Add protecting #ifdef to all functions so
        that they can be compiled separately.  If !FINE_GRAINED_LIBRARIES,
        then compile all suitable functions.
        (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
        underscores to avoid namespace pollution.
        * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
        (FPBIT): Define.
        * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
        (FPBIT): Define.
        (DPBIT): Define.

From-SVN: r17163

26 years agobitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.
Kaveh R. Ghazi [Sat, 20 Dec 1997 11:31:54 +0000 (11:31 +0000)]
bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.

        * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
        of the declaration.
        * c-decl.c (finish_decl): Use parentheses around && within ||.
        * rtl.c: Include stdlib.h.
        (read_skip_spaces): Add parentheses around assignments used as
        truth values.
        (read_rtx): Initialize list_rtx.
        * cppexp.c (parse_number): Use || when operands are truth values.
        * alias.c (find_base_value): Add default case.
        (memrefs_conflict): Likewise.
        * combine.c (sets_function_arg_p): Likewise.
        * genemit.c (gen_exp): Likewise.
        * local-alloc.c (contains_replace_regs): Likewise.
        * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
        * fold-const.c (fold_convert): Use "&&" for truth values.
        (fold): Add default case.
        * sdbout.c (sdbout_field_types): Fix typo in declaration.
        (sdbout_one_type): Add default case.
        * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
        (some_operand): Add default case.
        (input_operand): Likewise.
        (signed_comparison_operator): Likewise.
        (divmod_operator): Likewise.
        (alpha_set_memflags_1): Likewise.
        * reload1.c (reload_cse_simplify_operands): Ensure function
        always returns a value.
        * scan-decls.c (scan_decls): Likewise.
        * c-lex.c (skip_white_space): Fix typo in declaraion.
        * c-typeck.c (comp_target_types): Add parentheses around assignment
        used as truth value.
        (print_spelling): Likewise.
        (constructor_implicit, constructor_result): Remove unused variables.
        * collect2.c (scan_library): Protect prototype with
        #ifdef SCAN_LIBRARIES.
        * emit-rtl.c (find_line_note): Fix typo in declaration.
        * final.c (asm_insn_count): Protect prototype with
        #ifdef HAVE_ATTR_length.
        * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
        (try_pre_increment_1, try_pre_increment): Likewise.
        * regclass.c (auto_inc_dec_reg_p): Protect prototype with
        #ifdef FORBIDDEN_INC_DEC_CLASSES.  Make return type explicit.
        * gcov-io.h (__store_long, __write_long, __read_long): Fix
        unsigned/signed comparisons.
        * gcov.c (read_files): Remove unused "first_type" variable.
        (scan _for_source_files): Initialize s_ptr.
        (function_summary): Eliminate "%lf" formatting, use %ld for
        longs.
        (output_data): Initialize branch_probs and last_line_num.
        Eliminate "%lf" formatting, use "%ld" for longs.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17158

26 years ago* mips16.S: New file.
Ian Lance Taylor [Fri, 19 Dec 1997 16:55:53 +0000 (16:55 +0000)]
* mips16.S: New file.

From-SVN: r17157

26 years ago*** empty log message ***
Jeff Law [Fri, 19 Dec 1997 16:44:46 +0000 (09:44 -0700)]
*** empty log message ***

From-SVN: r17156

26 years agoexpr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.
Ian Lance Taylor [Fri, 19 Dec 1997 16:43:29 +0000 (16:43 +0000)]
expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.

        * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
        expression.
        * stmt.c (expand_end_case): Likewise.
        * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
        * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
        * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise.

From-SVN: r17155

26 years ago*** empty log message ***
Jeff Law [Fri, 19 Dec 1997 16:34:17 +0000 (09:34 -0700)]
*** empty log message ***

From-SVN: r17154

26 years agotweak
Jason Merrill [Fri, 19 Dec 1997 01:27:33 +0000 (20:27 -0500)]
tweak

From-SVN: r17144

26 years agoMake-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory.
Andreas Schwab [Thu, 18 Dec 1997 23:27:58 +0000 (23:27 +0000)]
Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory.

* objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
the build directory.
(libobjc.a): Update dependency list.
(libobjc.dll): Likewise.  Use libobjc_entry.o from the build
directory.
(objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
(objc.mostlyclean): Remove runtime-info.h.

From-SVN: r17143

26 years agotree.c (build_range_type): Allow creation of ranges with no maximum.
Richard Henderson [Thu, 18 Dec 1997 23:20:19 +0000 (15:20 -0800)]
tree.c (build_range_type): Allow creation of ranges with no maximum.

* tree.c (build_range_type): Allow creation of ranges with no maximum.
* dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
* dwarf2out.c (add_subscript_info): Likewise.
* dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
* sdbout.c (plain_type_1): Likewise.
* stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
Likewise.
* fold-const.c (int_const_binop, fold_convert, make_range, fold):
Likewise.

From-SVN: r17142

26 years ago* com.c (ffecom_sym_transform_): Assumed arrays have no upper bound.
Richard Henderson [Thu, 18 Dec 1997 23:11:42 +0000 (15:11 -0800)]
* com.c (ffecom_sym_transform_): Assumed arrays have no upper bound.

From-SVN: r17141

26 years ago* mips.c (fatal): Remove declaration.
Jeff Law [Thu, 18 Dec 1997 22:48:31 +0000 (15:48 -0700)]
* mips.c (fatal): Remove declaration.

From-SVN: r17140

26 years agointegrate.c (get_label_from_map): New function.
Jeff Law [Thu, 18 Dec 1997 22:42:41 +0000 (15:42 -0700)]
integrate.c (get_label_from_map): New function.

        * integrate.c (get_label_from_map): New function.
        (expand_inline_function): Use it.  Initialize the label_map to
        NULL_RTX instead of gen_label_rtx.
        (copy_rtx_and_substitute): Use get_label_from_map.
        * integrate.h (get_label_from_map): New function.
        (set_label_from_map): New macro.
        * unroll.c (unroll_loop): Use them.
        (copy_loop_body): Ditto.

From-SVN: r17139

26 years agopt.c (coerce_template_parms): Make sure to digest_init if possible.
Mark Mitchell [Thu, 18 Dec 1997 19:26:14 +0000 (19:26 +0000)]
pt.c (coerce_template_parms): Make sure to digest_init if possible.

* pt.c (coerce_template_parms): Make sure to digest_init if
possible.

From-SVN: r17138

26 years agomips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
Ian Lance Taylor [Thu, 18 Dec 1997 18:45:57 +0000 (18:45 +0000)]
mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.

        * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
        (INIT_TARGET_OPTABS): Define.
        * mips/ecoff.h: Include gofast.h before mips.h.
        (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
        * mips/elf64.h: Likewise.
        * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.

From-SVN: r17137

26 years agounroll.c (calculate_giv_inc): Handle constant increment found in a MEM with an approp...
Gavin Koch [Thu, 18 Dec 1997 17:31:01 +0000 (17:31 +0000)]
unroll.c (calculate_giv_inc): Handle constant increment found in a MEM with an appropriate REG_EQUAL note.

        * unroll.c (calculate_giv_inc): Handle constant increment found in
        a MEM with an appropriate REG_EQUAL note.

From-SVN: r17136

26 years agodecl.c (duplicate_decls): Make the newdecl virtual if the olddecl was...
Mark Mitchell [Thu, 18 Dec 1997 16:45:28 +0000 (16:45 +0000)]
decl.c (duplicate_decls): Make the newdecl virtual if the olddecl was...

* decl.c (duplicate_decls): Make the newdecl virtual if the
olddecl was, just as is done with other attributes of olddecl.

From-SVN: r17135

26 years agotypeck.c (unary_complex_lvalue): Ignore op0 when taking the address of an OFFSET_REF.
Jason Merrill [Thu, 18 Dec 1997 15:07:48 +0000 (15:07 +0000)]
typeck.c (unary_complex_lvalue): Ignore op0 when taking the address of an OFFSET_REF.

* typeck.c (unary_complex_lvalue): Ignore op0 when taking the
address of an OFFSET_REF.

From-SVN: r17134

26 years ago* calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
Gavin Koch [Thu, 18 Dec 1997 15:00:06 +0000 (15:00 +0000)]
* calls.c (expand_call): Implement LOAD_ARGS_REVERSED.

From-SVN: r17133