Herman ten Brugge [Tue, 13 Jan 1998 21:45:28 +0000 (22:45 +0100)]
* cppexp.c: Include gansidecl.h
From-SVN: r17350
Ian Lance Taylor [Tue, 13 Jan 1998 21:43:41 +0000 (21:43 +0000)]
svr4.h (LINK_SPEC): Never specify -h.
* svr4.h (LINK_SPEC): Never specify -h.
* ptx4.h (LINK_SPEC): Likewise.
* rs6000/sysv4.h (LINK_SPEC): Likewise.
* sparc/sol2.h (LINK_SPEC): Likewise.
From-SVN: r17349
Jeff Law [Tue, 13 Jan 1998 21:42:33 +0000 (14:42 -0700)]
Update copyrights.
From-SVN: r17348
Richard Henderson [Tue, 13 Jan 1998 21:40:27 +0000 (13:40 -0800)]
* c-typeck.c (comptypes): Exit early on NULL input.
From-SVN: r17347
Richard Henderson [Tue, 13 Jan 1998 21:38:31 +0000 (13:38 -0800)]
haifa-sched.c (schedule_insns): Correctly remove inter-block dependencies after reload.
* haifa-sched.c (schedule_insns): Correctly remove inter-block
dependencies after reload.
From-SVN: r17346
Franz Sirl [Tue, 13 Jan 1998 21:21:05 +0000 (14:21 -0700)]
* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
From-SVN: r17345
Jeff Law [Tue, 13 Jan 1998 21:13:28 +0000 (14:13 -0700)]
* alpha/vms.h (DIR_SEPARATOR): define
From-SVN: r17344
Bruno Haible [Tue, 13 Jan 1998 21:10:35 +0000 (21:10 +0000)]
Makefile.in (stamp-proto): Remove.
* Makefile.in (stamp-proto): Remove.
(protoize.o, unprotoize.o): Straightforward compile.
* unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
From-SVN: r17343
Jeffrey A Law [Tue, 13 Jan 1998 21:06:08 +0000 (21:06 +0000)]
* lang-options.h: Add missing options.
From-SVN: r17342
Lee Iverson [Tue, 13 Jan 1998 21:01:03 +0000 (21:01 +0000)]
config-ml.in (multi-do): LDFLAGS must include multilib designator.
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
From-SVN: r17341
Mumit Khan [Tue, 13 Jan 1998 20:58:47 +0000 (20:58 +0000)]
cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip off the trailing @[NUM] added by ENCODE_SECTION_INFO.
* i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
off the trailing @[NUM] added by ENCODE_SECTION_INFO.
Also update copyright forgotten in last change.
From-SVN: r17340
Jeffrey A Law [Tue, 13 Jan 1998 20:54:16 +0000 (20:54 +0000)]
netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
* sparc/netbsd.h, vax/netbsd.h: Likewise.
From-SVN: r17339
Shigeya Suzuki [Tue, 13 Jan 1998 20:35:41 +0000 (05:35 +0900)]
* i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
From-SVN: r17338
H.J. Lu [Tue, 13 Jan 1998 20:31:57 +0000 (20:31 +0000)]
* libtxi/Makefile.in (AR_FLAGS): Defined as "rc".
From-SVN: r17337
H.J. Lu [Tue, 13 Jan 1998 20:28:27 +0000 (20:28 +0000)]
configure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists.
* configure.in (CHECK_SUBDIRS): Set to testsuite only if
${srcdir}/../gcc exists.
(configdirs): Include testsuite only if ${srcdir}/../gcc exists.
* tests/Makefile.in (check): Depend on $(CHECK).
* tests/configure.in (CHECK): Set to "check-iostream
check-stdio" if ${srcdir}/../../gcc doesn't exists.
From-SVN: r17336
H.J. Lu [Tue, 13 Jan 1998 20:24:06 +0000 (20:24 +0000)]
configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
�
* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
From-SVN: r17335
Jeff Law [Tue, 13 Jan 1998 20:24:04 +0000 (13:24 -0700)]
configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
�
* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
From-SVN: r17334
Jim Wilson [Tue, 13 Jan 1998 18:01:56 +0000 (18:01 +0000)]
Avoid shell errors when target_cpu_default* contains a | character.
* configure.in (target_cpu_default, target_cpu_default2): Use double
quotes around them when testing their value.
* configure: Rebuilt.
From-SVN: r17333
Jeff Law [Tue, 13 Jan 1998 16:40:20 +0000 (09:40 -0700)]
undo test change
From-SVN: r17332
Jeff Law [Tue, 13 Jan 1998 16:39:53 +0000 (09:39 -0700)]
Test
From-SVN: r17331
Anonymous CVS User [Tue, 13 Jan 1998 16:30:05 +0000 (16:30 +0000)]
Test
From-SVN: r17330
Jeff Law [Tue, 13 Jan 1998 16:27:20 +0000 (09:27 -0700)]
Testing.
From-SVN: r17329
Brendan Kehoe [Tue, 13 Jan 1998 12:54:24 +0000 (12:54 +0000)]
decl.c (init_decl_processing): Only call init_rtti_processing FLAG_RTTI is set.
* decl.c (init_decl_processing): Only call init_rtti_processing
FLAG_RTTI is set.
From-SVN: r17328
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