Commit Graph

15074 Commits

Author SHA1 Message Date
Robert Lipe 936cb32345 * config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.
From-SVN: r17322
1998-01-12 17:12:01 -07:00
Mumit Khan 2309252659 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
1998-01-12 16:49:57 -07:00
Jim Wilson 32318600e9 * mips.md (return_internal): Change mode from SImode to VOIDmode.
From-SVN: r17320
1998-01-12 16:42:43 -07:00
Jason Merrill a0d5fba7d2 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
1998-01-12 04:44:59 -05:00
J. Kean Johnston ef720b21fd sco5.h (STARTFILE_SPEC, [...]): Correctly handle "-static".
* i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
        "-static".

From-SVN: r17318
1998-01-10 14:11:00 -07:00
Stan Cox cde218471b 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
1998-01-10 14:03:36 -07:00
J"orn Rennecke 184bb750da 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
1998-01-10 13:54:37 -07:00
Jeff Law 9d1943807a Remove bogus CYGNUS LOCAL markers.
From-SVN: r17315
1998-01-10 12:57:29 -07:00
Jeffrey A Law 3f9e9508c3 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
1998-01-10 12:30:33 -07:00
Brendan Kehoe 9e28580c86 fix comment at the top (just noticed)
From-SVN: r17313
1998-01-09 11:09:07 -05:00
Richard Henderson 3b80f6ca69 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
1998-01-08 13:17:05 -08:00
Jason Merrill f4a233434d 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
1998-01-07 19:29:08 -05:00
Brendan Kehoe b450b6999c 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
1998-01-05 13:35:07 -05:00
John F. Carr 1c72c7f64f 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
1998-01-05 05:00:00 -07:00
Jeff Law 291672e58b Add pointer to iecc comp.compilers archive.
From-SVN: r17295
1998-01-05 04:52:30 -07:00
Jeffrey A Law 8fa4e1b4e1 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
1998-01-05 03:45:59 -07:00
Nigel Stephens eb774d8d9a 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
1998-01-04 12:25:36 -07:00
Gavin Koch 2bcb2ab326 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
1998-01-04 08:43:52 -07:00
Mumit Khan d39cd7a1e9 config.sub: Add mingw32 support.
* config.sub: Add mingw32 support.
        * configure.in: Likewise.
        * config/mh-mingw32: New file.

From-SVN: r17291
1998-01-03 17:10:33 -07:00
Scott Snyder db0d1ed937 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
1998-01-03 17:02:05 -07:00
Kaveh R. Ghazi 86e011adce * gcov-io.h: Include sys/types.h to ensure we get size_t.
From-SVN: r17289
1998-01-03 04:29:44 -07:00
Jeff Law 1a9a83b1d1 Minor tweak.
From-SVN: r17288
1998-01-03 04:27:57 -07:00
Franz Sirl 93ad003a50 configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
/
        * configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

From-SVN: r17287
1998-01-03 04:16:38 -07:00
Franz Sirl da741f3dfd configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1
* configure.in: Finalize support for {alpha|powerpc}*-*-linux-gnulibc1

From-SVN: r17286
1998-01-03 04:16:36 -07:00
Franz Sirl 6decbc24a4 *** empty log message ***
From-SVN: r17285
1998-01-03 04:14:43 -07:00
Kaveh R. Ghazi 7987395822 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
From-SVN: r17284
1998-01-03 04:09:27 -07:00
Jim Wilson 35a42f5f33 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
1998-01-02 15:50:23 -07:00
Jeff Law 4aa0a3f4e8 Note various modula-3 thingies on the net.
From-SVN: r17280
1998-01-02 08:36:23 -07:00
Weiwen Liu ef86d2ee00 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
From-SVN: r17279
1998-01-01 20:59:12 -08:00
Richard Henderson 6c174fc0e6 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
1998-01-01 20:48:04 -08:00
Richard Henderson 8fbf199e91 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
1998-01-01 07:40:57 -08:00
Jeffrey A Law aa2ae67960 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
1998-01-01 05:55:19 -07:00
Jeff Law 9f1ff8e8ea Tweak from Kaveh.
From-SVN: r17275
1998-01-01 03:06:56 -07:00
Jeffrey A Law 2d490e3e4e 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
1998-01-01 02:51:30 -07:00
Ian Lance Taylor 6e26218fc9 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
1997-12-31 11:48:25 +00:00
Jeffrey A Law 1b31097e5d * mn10200.md (addsi3, subsi3): Fix thinkos.
From-SVN: r17266
1997-12-31 02:05:15 -07:00
Richard Henderson 194faace59 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
1997-12-29 16:02:54 -08:00
Ian Lance Taylor 975602f82c 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
1997-12-29 06:40:28 -07:00
Jeff Law 2d48c13dc2 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
1997-12-29 06:15:21 -07:00
Jeff Law 0eb1ad44b6 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
1997-12-29 06:15:11 -07:00
Michael Meissner eff0f7ace5 Do not define inhibit_libc if it was already defined
From-SVN: r17258
1997-12-29 12:59:45 +00:00
Brendan Kehoe 6a4b833147 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
1997-12-28 03:24:10 -07:00
Jeffrey A Law 2c3a56ad15 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
1997-12-27 16:34:14 -07:00
David Edelsohn fc97718fe2 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
From-SVN: r17246
1997-12-27 14:47:12 -07:00
Jeffrey A Law 5b5a2a1ecc * cse.c (rtx_cost): Remove conflicting default case.
From-SVN: r17245
1997-12-27 14:44:26 -07:00
Richard Henderson 128f7968b1 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
1997-12-27 13:20:07 -08:00
Jeff Law ab30fd533b Remove reference to CYGNUS LOCAL patch.
From-SVN: r17237
1997-12-24 17:01:34 -07:00
Jeffrey A Law e81b4fbe92 * version.c: Bump for snapshot.
From-SVN: r17236
1997-12-24 17:00:58 -07:00
Teemu Torma f24af81bca 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
1997-12-24 16:56:08 -07:00
Jeffrey A Law df3b6ab30e 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
1997-12-24 16:29:39 -07:00