Commit Graph

15087 Commits

Author SHA1 Message Date
H.J. Lu
ffa551c8d6 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
1998-01-13 13:24:06 -07:00
Jeff Law
2c44362274 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
1998-01-13 13:24:04 -07:00
Jim Wilson
c43143f6a1 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
1998-01-13 10:01:56 -08:00
Jeff Law
d45b3d875b undo test change
From-SVN: r17332
1998-01-13 09:40:20 -07:00
Jeff Law
fe30ff7b7d Test
From-SVN: r17331
1998-01-13 09:39:53 -07:00
Anonymous CVS User
34af74f55f Test
From-SVN: r17330
1998-01-13 16:30:05 +00:00
Jeff Law
f682fc8f00 Testing.
From-SVN: r17329
1998-01-13 09:27:20 -07:00
Brendan Kehoe
1737fe20c5 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
1998-01-13 07:54:24 -05:00
John Carr
4b8140a62f 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
1998-01-13 01:06:31 -08:00
Jeff Law
82de9b284f Fix it after test commit :-)
From-SVN: r17326
1998-01-13 00:44:52 -07:00
Jeff Law
8e088a50e9 Test mail for commits
From-SVN: r17325
1998-01-13 00:44:06 -07:00
Jeff Law
2385157616 Clarify some collect2 stuff.
From-SVN: r17324
1998-01-13 00:37:58 -07:00
Robert Lipe
fe07d4c1cc 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
1998-01-12 17:15:16 -07:00
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