Richard Kenner
7aaf8abb28
(default_compilers): Generate and use .ii files in the intermediate
...
stage of compiling C++ source.
From-SVN: r6553
1994-02-14 19:13:05 -05:00
Richard Kenner
21a64bf134
(simplify_shift_const, case AND): When remaking binary operation, do
...
it in SHIFT_MODE.
From-SVN: r6552
1994-02-14 19:08:15 -05:00
Ian Lance Taylor
314fc5a925
(output_epilog): Don't output a traceback table if
...
flag_inhibit_size_directive is set.
From-SVN: r6551
1994-02-14 04:50:40 +00:00
Richard Kenner
b0634e7467
(ADJUST_COST): Call rs6000_adjust_cost.
...
From-SVN: r6550
1994-02-13 17:47:06 -05:00
Richard Kenner
a06faf84c1
(rs6000_adjust_cost): Renamed from ppc_adjust_cost.
...
From-SVN: r6549
1994-02-13 17:46:39 -05:00
Ian Lance Taylor
3daf36a4c9
Use ASM_GENERATE_INTERNAL_LABEL rather than assuming what it does
...
From-SVN: r6548
1994-02-13 22:25:55 +00:00
Ian Lance Taylor
266f3aacd5
Clean up some X11 header files for C++; problems found on RS/6000.
...
From-SVN: r6547
1994-02-13 22:08:06 +00:00
Michael Meissner
f09dcaa805
Include stdio.h to get STDIO_PROTO correct.
...
From-SVN: r6546
1994-02-13 18:40:02 +00:00
Doug Evans
fd2c2b2b62
(fatal, error): Fix declarations (make dependant on HAVE_VPRINTF).
...
From-SVN: r6545
1994-02-13 07:34:55 +00:00
Michael Meissner
b9a295c0fc
Use i386/xm-osf.h as OSF/1 xm file.
...
From-SVN: r6544
1994-02-13 00:48:58 +00:00
Richard Kenner
ebef272822
(expand_call): When preserving subexpressions, don't put expensive
...
arguments directly into hard registers.
From-SVN: r6543
1994-02-12 12:29:24 -05:00
Doug Evans
99360286e5
(PROTO): Define.
...
Add prototypes for static functions.
From-SVN: r6542
1994-02-12 16:34:43 +00:00
Richard Kenner
b331b7459e
(REVERSIBLE_CC_MODE): Define.
...
From-SVN: r6541
1994-02-12 08:50:50 -05:00
Richard Kenner
9210df584c
(REVERSIBLE_CC_MODE): Add default definition.
...
(reversible_comparison_p): REVERSIBLE_CC_MODE.
(subst): Always simplify true and false arms if if_then_else_cond succeeds.
(subst, case IF_THEN_ELSE): More canonicalizations; delete some redundant
tests.
(if_then_else_cond): Canonicalize (OP (mult COMP A) (mult REV_COMP B)).
(gen_binary): Simplify (REL_OP (compare X Y) 0) here.
From-SVN: r6540
1994-02-12 08:49:59 -05:00
Torbjorn Granlund
be8fe47095
Conditionalize special treatment of
...
PIC_OFFSET_TABLE_REGNUM on PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
From-SVN: r6539
1994-02-12 13:48:02 +00:00
Torbjorn Granlund
2ab0a5c41c
(expand_shift): Truncate immediate count if SHIFT_COUNT_TRUNCATED.
...
From-SVN: r6538
1994-02-12 12:40:58 +00:00
Per Bothner
5b6e175e29
Don't treat anonymous fields as belonging to the containing object.
...
From-SVN: r6537
1994-02-11 18:52:08 -08:00
Torbjorn Granlund
2d4ffae31a
(ADJUST_COST): Call ppc_adjust_cost.
...
From-SVN: r6536
1994-02-12 01:07:26 +00:00
Torbjorn Granlund
a251ffd0ce
(ppc_adjust_cost): New function. Adjust for TYPE_JMPREG.
...
From-SVN: r6535
1994-02-12 01:07:04 +00:00
Torbjorn Granlund
324e52cc5b
(definition of "type"): Add "jmpreg" as new type.
...
Change "mtlr" to "mtjmpr".
(movsi matcher): Pair `c' and `l' in the same constraint alternative.
(return): Set attribute to "jmpreg".
(indirect_jump): Likewise.
From-SVN: r6534
1994-02-12 01:06:14 +00:00
Richard Kenner
5c5e36c544
(mark_jump_label, case LABEL_REF): Update REG_LABEL note if changing
...
target of jump.
From-SVN: r6533
1994-02-11 20:00:44 -05:00
Doug Evans
b67b29cd33
(VPROTO, VA_START): Define.
...
From-SVN: r6532
1994-02-12 00:51:50 +00:00
Doug Evans
cc92726311
Surround definition of VPROTO, VA_START with #ifndef VPROTO.
...
From-SVN: r6531
1994-02-12 00:50:27 +00:00
Richard Kenner
c77c97664f
(gen_input_reload): If reg-reg add is not valid, try copying reg-reg
...
and adding reg-int.
From-SVN: r6530
1994-02-11 17:39:23 -05:00
Richard Kenner
98aad28669
(expand_builtin): If the builtin was called as __builtin_whatever,
...
pretend we're optimizing.
From-SVN: r6529
1994-02-11 17:35:51 -05:00
Richard Kenner
dc9036088b
(record_reg_classes): Fix logic in case of matching operands.
...
From-SVN: r6528
1994-02-11 17:30:20 -05:00
Doug Evans
9d891e9a7e
Don't define _STDARG_H/etc. if not gcc, it may collide with system's header.
...
From-SVN: r6527
1994-02-11 21:03:09 +00:00
Richard Kenner
e7c692b2cc
(c_expand_return): Do not warn about returning the address of a
...
locally declared extern variable.
From-SVN: r6526
1994-02-10 19:26:21 -05:00
Jeff Law
5921f26b9d
* pa.h (IS_ASM_LOGICAL_LINE_SEPARATOR): Define.
...
From-SVN: r6525
1994-02-10 13:58:23 -07:00
Jeff Law
f7714ced3d
final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default definition.
...
* final.c (IS_ASM_LOGICAL_LINE_SEPARATOR): Provide default
definition.
(asm_insn_count): Use IS_ASM_LOGICAL_LINE_SEPARATOR rather
than assuming the logical line separator is ';'.
From-SVN: r6524
1994-02-10 13:58:13 -07:00
Richard Kenner
b80bba2758
(emit_reload_insns): Use new vars for secondary reloads and icodes.
...
From-SVN: r6523
1994-02-10 09:05:04 -05:00
Richard Kenner
9ec7078b69
(reload_secondary_{reload,icode}): Deleted.
...
(reload_secondary_{in,out}_{reload,icode}): New variables.
(MATCHES, MERGABLE_RELOADS, MERGE_TO_OTHER): Move to front of file.
(push_secondary_reload): New function, from find_secondary_reload.
(find_secondary_relaod): Deleted.
(push_reload): Call push_secondary_reload.
(combine_reloads): Use new vars for secondary reloads and icodes.
From-SVN: r6522
1994-02-10 09:04:07 -05:00
Richard Kenner
b3338715f9
(reload_secondary_{reload,icode}): Deleted.
...
(reload_secondary_{in,out}_{reload,icode}): New variables.
From-SVN: r6521
1994-02-10 09:03:01 -05:00
Richard Kenner
c02a7fbba2
(memory_address): Fix error in last change.
...
From-SVN: r6520
1994-02-10 08:49:33 -05:00
Richard Kenner
41109364f5
Use PROTO for varargs functions.
...
(VPROTO): New macro.
From-SVN: r6519
1994-02-10 08:13:41 -05:00
Richard Kenner
ba63ed560e
If __STDC__, include gstdarg and use ANSI form of varargs.
...
From-SVN: r6518
1994-02-10 08:12:29 -05:00
Richard Kenner
e0e2a8dafa
Use PROTO for varargs functions.
...
If __STDC__, include gstdarg and use ANSI form of varargs.
From-SVN: r6517
1994-02-10 08:11:46 -05:00
Richard Kenner
81a1533366
Use PROTO for varargs functions.
...
From-SVN: r6516
1994-02-10 08:10:06 -05:00
Richard Kenner
9e1b65036d
If __STDC__, include gstdarg and use ANSI form of varargs.
...
(attr_printf): Only declare when defined.
From-SVN: r6515
1994-02-10 08:08:17 -05:00
Richard Kenner
4f90e4a0f7
If __STDC__, include gstdarg and use ANSI form of varargs.
...
From-SVN: r6514
1994-02-10 08:07:10 -05:00
Richard Kenner
6c1e249352
Use PROTO for varargs functions.
...
From-SVN: r6513
1994-02-10 08:04:38 -05:00
Michael Meissner
c18cf4e5ca
Make elf profiling use new calling sequence.
...
From-SVN: r6512
1994-02-09 14:52:46 +00:00
Richard Kenner
29e11dabe9
(earith, ereal_negate, eneg, eisneg, enan, emovo, esub, eadd, ediv):
...
Propagate the sign of NaNs, so that e.g. -(NaN) evaluates to -NaN.
(emul, eremain, e53toe, e64toe, e113toe, e24toe, esqrt): Likewise.
(make_nan): New arg specifies sign of NaN. All callers changed.
(eiisneg): New function.
(esqrt): Compute sqrt(-0.0) to be -0.0, not 0.0.
From-SVN: r6511
1994-02-08 20:17:59 -05:00
Richard Kenner
b9b63425c6
Add popen and pclose to required list for stdio.h.
...
Add putenv to required list for stdlib.h.
Add getopt to required list for unistd.h.
From-SVN: r6510
1994-02-08 19:30:01 -05:00
Richard Kenner
ea9182cd37
Include ctype.h.
...
From-SVN: r6509
1994-02-08 19:26:27 -05:00
Richard Kenner
857d2849a1
(int_fits_type_p): Properly handle case of variable bounds for types.
...
From-SVN: r6508
1994-02-08 19:23:30 -05:00
Richard Kenner
2628709d5a
Append "#include <stdlib.h>" to assert.h if it uses exit or abort.
...
From-SVN: r6507
1994-02-08 19:21:44 -05:00
Richard Kenner
442e881d89
(__builtin_new): If __new_handler returns, keep trying to allocate the memory.
...
(__default_new_handler): Add __ to beginning of name to avoid namespace
clashing.
From-SVN: r6506
1994-02-08 19:19:53 -05:00
Jim Wilson
a6e9783c22
When edit size_t typedef, modify sed pattern to avoid matching typedef uses of size_t.
...
When edit size_t typedef, modify sed pattern to
avoid matching typedef uses of size_t. Likewise when adding
#ifndef GCC_SIZE_T.
From-SVN: r6505
1994-02-08 16:10:31 -08:00
Jim Wilson
a429b3f560
(FIXINCLUDES): Delete definition.
...
From-SVN: r6504
1994-02-08 16:07:04 -08:00