Bruno Haible [Fri, 16 Jan 1998 23:55:44 +0000 (23:55 +0000)]
* error.c (dump_decl): For enum tags, output the tag, not its value.
From-SVN: r17381
Richard Henderson [Fri, 16 Jan 1998 16:21:54 +0000 (08:21 -0800)]
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
From-SVN: r17380
Jeff Law [Fri, 16 Jan 1998 09:16:10 +0000 (02:16 -0700)]
calls.c (expand_call): Move #ifdef code out of macro argument lists.
`
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
From-SVN: r17379
Jeff Law [Fri, 16 Jan 1998 09:16:09 +0000 (02:16 -0700)]
calls.c (expand_call): Move #ifdef code out of macro argument lists.
d
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
From-SVN: r17378
Brendan Kehoe [Fri, 16 Jan 1998 08:59:59 +0000 (03:59 -0500)]
tweak comment
From-SVN: r17377
Manfred Hollstein [Thu, 15 Jan 1998 23:46:28 +0000 (23:46 +0000)]
* config.shared (FLAGS_TO_PASS): Add SHELL.
From-SVN: r17376
Jeffrey A Law [Thu, 15 Jan 1998 23:44:54 +0000 (23:44 +0000)]
* rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
From-SVN: r17375
Jeff Law [Thu, 15 Jan 1998 23:42:59 +0000 (16:42 -0700)]
Minor tweaks & updates.
From-SVN: r17374
Alexandre Oliva [Thu, 15 Jan 1998 23:39:59 +0000 (23:39 +0000)]
configure.in: check whether host and target makefile fragments exist before adding them to...
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
From-SVN: r17373
Jeff Law [Thu, 15 Jan 1998 23:38:58 +0000 (16:38 -0700)]
Work around VxWorks bogus problems.
From-SVN: r17372
Jeff Law [Thu, 15 Jan 1998 03:36:46 +0000 (20:36 -0700)]
Initial revision
From-SVN: r17365
Jeffrey A Law [Thu, 15 Jan 1998 00:01:51 +0000 (00:01 +0000)]
Bump for snapshot.
From-SVN: r17358
Richard Henderson [Wed, 14 Jan 1998 23:10:50 +0000 (15:10 -0800)]
alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
* caller-save.c, calls.c, combine.c, cse.c: Likewise.
* dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
* final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
* halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
* profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
* reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
* unroll.c, varasm.c: Likewise.
* config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
From-SVN: r17357
Jeff Law [Wed, 14 Jan 1998 21:44:01 +0000 (14:44 -0700)]
Fix minor lossage brought over in gcc-2.8.0 merge.
From-SVN: r17356
Jeff Law [Wed, 14 Jan 1998 20:57:58 +0000 (13:57 -0700)]
Bring in final gcc-2.8.0 changes.
From-SVN: r17355
Gavin Koch [Wed, 14 Jan 1998 18:34:35 +0000 (11:34 -0700)]
* mips.h: Fix some type-o's from a previous change.
From-SVN: r17353
Jeffrey A Law [Wed, 14 Jan 1998 00:24:33 +0000 (00:24 +0000)]
loop.c (check_dbra_loop): Make sure initial value is a CONST_INT before trying to normalize it.
* loop.c (check_dbra_loop): Make sure initial value is a
CONST_INT before trying to normalize it.
From-SVN: r17352
Robert Lipe [Tue, 13 Jan 1998 22:27:40 +0000 (22:27 +0000)]
* sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
From-SVN: r17351
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