John Carr [Tue, 13 Jan 1998 09:06:31 +0000 (09:06 +0000)]
gengenrtl.c (gencode): Emit new function obstack_alloc_rtx to allocate rtx.
* gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
to allocate rtx.
(gendef): Call obstack_alloc_rtx.
From-SVN: r17327
Jeff Law [Tue, 13 Jan 1998 07:44:52 +0000 (00:44 -0700)]
Fix it after test commit :-)
From-SVN: r17326
Jeff Law [Tue, 13 Jan 1998 07:44:06 +0000 (00:44 -0700)]
Test mail for commits
From-SVN: r17325
Jeff Law [Tue, 13 Jan 1998 07:37:58 +0000 (00:37 -0700)]
Clarify some collect2 stuff.
From-SVN: r17324
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
Robert Lipe [Tue, 13 Jan 1998 00:12:01 +0000 (00:12 +0000)]
* config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.
From-SVN: r17322
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
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
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
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
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
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
Jeff Law [Sat, 10 Jan 1998 19:57:29 +0000 (12:57 -0700)]
Remove bogus CYGNUS LOCAL markers.
From-SVN: r17315
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
Brendan Kehoe [Fri, 9 Jan 1998 16:09:07 +0000 (11:09 -0500)]
fix comment at the top (just noticed)
From-SVN: r17313
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
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
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
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
Jeff Law [Mon, 5 Jan 1998 11:52:30 +0000 (04:52 -0700)]
Add pointer to iecc comp.compilers archive.
From-SVN: r17295
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
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
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
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
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
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
Jeff Law [Sat, 3 Jan 1998 11:27:57 +0000 (04:27 -0700)]
Minor tweak.
From-SVN: r17288
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
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
Franz Sirl [Sat, 3 Jan 1998 11:14:43 +0000 (04:14 -0700)]
*** empty log message ***
From-SVN: r17285
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
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
Jeff Law [Fri, 2 Jan 1998 15:36:23 +0000 (08:36 -0700)]
Note various modula-3 thingies on the net.
From-SVN: r17280
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
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
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
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
Jeff Law [Thu, 1 Jan 1998 10:06:56 +0000 (03:06 -0700)]
Tweak from Kaveh.
From-SVN: r17275
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
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
Jeffrey A Law [Wed, 31 Dec 1997 09:05:15 +0000 (09:05 +0000)]
* mn10200.md (addsi3, subsi3): Fix thinkos.
From-SVN: r17266
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
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
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
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
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
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
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
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
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
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
Jeff Law [Thu, 25 Dec 1997 00:01:34 +0000 (17:01 -0700)]
Remove reference to CYGNUS LOCAL patch.
From-SVN: r17237
Jeffrey A Law [Thu, 25 Dec 1997 00:00:58 +0000 (00:00 +0000)]
* version.c: Bump for snapshot.
From-SVN: r17236
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
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
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
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
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
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
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
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
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
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
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
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
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
Benjamin Kosnik [Tue, 23 Dec 1997 00:04:13 +0000 (00:04 +0000)]
*** empty log message ***
From-SVN: r17202
Jeff Law [Mon, 22 Dec 1997 10:05:04 +0000 (03:05 -0700)]
Opps. Forgot to check it in.
From-SVN: r17188
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
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
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
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
Jeff Law [Mon, 22 Dec 1997 08:16:44 +0000 (01:16 -0700)]
* c-pragma.c: Include flags.h.
From-SVN: r17180
Richard Henderson [Mon, 22 Dec 1997 02:40:10 +0000 (18:40 -0800)]
It's alpha*-...
From-SVN: r17179
Jeff Law [Sun, 21 Dec 1997 21:43:08 +0000 (14:43 -0700)]
Add pointer to motorola 68k info.
From-SVN: r17178
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
Jeff Law [Sun, 21 Dec 1997 20:55:52 +0000 (13:55 -0700)]
Clarify comment.
From-SVN: r17176
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
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
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
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
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
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
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
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
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
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
Ian Lance Taylor [Fri, 19 Dec 1997 16:55:53 +0000 (16:55 +0000)]
* mips16.S: New file.
From-SVN: r17157
Jeff Law [Fri, 19 Dec 1997 16:44:46 +0000 (09:44 -0700)]
*** empty log message ***
From-SVN: r17156
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
Jeff Law [Fri, 19 Dec 1997 16:34:17 +0000 (09:34 -0700)]
*** empty log message ***
From-SVN: r17154
Jason Merrill [Fri, 19 Dec 1997 01:27:33 +0000 (20:27 -0500)]
tweak
From-SVN: r17144
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
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
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
Jeff Law [Thu, 18 Dec 1997 22:48:31 +0000 (15:48 -0700)]
* mips.c (fatal): Remove declaration.
From-SVN: r17140
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
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
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
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