Commit Graph

5556 Commits

Author SHA1 Message Date
Richard Stallman
bc5730037e (bytecode.realclean): Don't delete bi-lexer.c.
From-SVN: r5569
1993-10-03 22:33:03 +00:00
Richard Kenner
d3328f5500 (output_constant_def): Copy string as well as string node when
deferring output of constants.

From-SVN: r5568
1993-10-03 16:45:14 -04:00
Richard Kenner
8814306200 Initial revision
From-SVN: r5567
1993-10-03 15:42:39 -04:00
Richard Earnshaw
32620c1a42 Recognize operating system "riscix*"; recognize acorn as vendor
From-SVN: r5566
1993-10-03 16:50:05 +00:00
Richard Earnshaw
44d971f540 Initial revision
From-SVN: r5565
1993-10-03 16:33:02 +00:00
Richard Earnshaw
ff9940b015 Major rewrite -- See ChangeLog for details
From-SVN: r5564
1993-10-03 16:33:02 +00:00
James Van Artsdalen
b980bec031 (addhi3): Use byte opcodes when the low byte of a word is known to be zero.
From-SVN: r5563
1993-10-02 22:26:01 +00:00
Richard Kenner
d81481d3d9 (can_combine_p): Allow an insn with a REG_EQUIV note that reads memory
to be moved past an insn that writes memory.

From-SVN: r5562
1993-10-02 14:10:47 -04:00
Richard Kenner
1ddb342ad7 (record_reg_classes): Skip to next alternative when we skip normal
cost computation.

From-SVN: r5561
1993-10-02 14:09:01 -04:00
Richard Kenner
4d1a011f56 Add prototypes to static declarations.
(PROTO): New macro.
(dup2, putenv): Functions return integers; add type and returns.

From-SVN: r5560
1993-10-02 14:07:37 -04:00
Richard Kenner
3771b9b217 (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if -fvolatile-global.
From-SVN: r5559
1993-10-02 14:06:03 -04:00
Richard Kenner
3cd252c320 (build_string): Make lifetime of string the same as tree node.
From-SVN: r5558
1993-10-02 14:03:56 -04:00
Doug Evans
65c4237934 (CPP_PREDEFINES): Add system/cpu/machine assertions where missing.
From-SVN: r5557
1993-10-02 08:55:06 +00:00
Richard Stallman
c8cdb42bc6 Test __sequent__ like __BSD_NET2__.
From-SVN: r5556
1993-10-02 02:11:53 +00:00
Torbjorn Granlund
cdf4112f22 (insert_regs): Always return something.
(simplify_unary_operation): Remove unused variable.
(cse_process_notes): Likewise.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.

From-SVN: r5555
1993-10-02 00:27:43 +00:00
Jim Wilson
7ab742b1a7 entered into RCS
From-SVN: r5554
1993-10-01 16:34:31 -07:00
Richard Stallman
1a78c1015f (bc_generate): New VMS DCL function.
(bc_generate): New VMS DCL function.  Takes a BC
header file that needs to be generated, and builds it.

Compile entries listed in BI_ALL.OPT, and then call
bc_generate for every header file listed in BC_ALL.OPT

From-SVN: r5553
1993-10-01 23:13:57 +00:00
Richard Stallman
d029b00b22 Write out the definitions from Makefile.in for the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and BI_ALL.opt.
Write out the definitions from Makefile.in for
the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and
BI_ALL.opt.  Remove "bytecode " from compiler options files so
compiler will link correctly.

From-SVN: r5552
1993-10-01 23:11:18 +00:00
Richard Stallman
5ec4e39ecf (LIB_SPEC): Handle -p anmd -pg outermost.
From-SVN: r5551
1993-10-01 22:52:36 +00:00
Richard Stallman
e4623f4f57 (build_modify_expr): Check whether recursive calls return error_mark_node.
From-SVN: r5550
1993-10-01 22:49:56 +00:00
Jim Wilson
a7fd196c67 (gen_input_reload): Handle PLUS with MEM operand
exactly the same as a PLUS with a REG operand.

From-SVN: r5549
1993-10-01 15:29:09 -07:00
Jim Wilson
d9771f6295 (form_sum): Undo Sep 28 change.
From-SVN: r5548
1993-10-01 15:27:08 -07:00
Jim Wilson
0e54aab2ca (cc1, cc1plus, cc1obj): Delete superfluous dependencies on bytecode.
(cc1, cc1plus, cc1obj): Delete superfluous
dependencies on bytecode.
(stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files.

From-SVN: r5547
1993-10-01 15:23:16 -07:00
Torbjorn Granlund
37328f92f8 (LINK_SPEC): Pass "-a -archive" when debugging.
(LIB_SPEC): Make sure to add space between flags.

From-SVN: r5546
1993-10-01 22:19:39 +00:00
Torbjorn Granlund
d4c5360df0 (LIB_SPEC): Make sure to add space between flags.
From-SVN: r5545
1993-10-01 22:18:47 +00:00
Doug Evans
c3efc7c4d6 (MD_FILE): New macro.
(md): New dependency.
(clean): Remove file md if md.pre-cpp exists.
(distclean): Remove md.pre-cpp.

From-SVN: r5544
1993-10-01 22:16:34 +00:00
Michael Meissner
15af062fc5 Do not put halfpic cruft into libgcc.a on OSF/1.
From-SVN: r5543
1993-10-01 20:02:40 +00:00
Richard Kenner
03ef2c3bc5 (R_KR): New macro.
(FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust for
more registers present.
(REG_ALLOC_ORDER, REG_CLASS_CONTENTS, REGISTER_NAMES): Likewise.
(HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, REGNO_REG_CLASS): Likewise.
(CONDITIONAL_REGISTER_USAGE): Swap names rather than replacing them.

(TARGET_LARGE_MEMORY): New flag; change value for all others.
(ENCODE_SECTION_INFO): New macro.
(TARGET_SWITCHES): Add "normal" and change values.

From-SVN: r5542
1993-10-01 10:46:05 -04:00
Richard Kenner
964119deb7 (gpc_reg_operand): Include kernel registers.
(call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY and
SYMBOL_REF_FLAG.

From-SVN: r5541
1993-10-01 10:45:16 -04:00
Jeff Law
0e5bad531b reorg.c (optimize_skip): Do not thread a jump to a new target if doing so would invalidate the insn in...
* reorg.c (optimize_skip): Do not thread a jump to a new
        target if doing so would invalidate the insn in the jump's
        delay slot.

From-SVN: r5540
1993-09-30 21:23:10 -06:00
Brendan Kehoe
56ae2659f7 bi-lexer.c (scan_string): Do xmalloc if buffer is null and xrealloc if it's not, not the other way around.
* bi-lexer.c (scan_string): Do xmalloc if buffer is null and
        xrealloc if it's not, not the other way around.

From-SVN: r5539
1993-09-30 14:21:55 -04:00
Jan Brittenson
e2aa118528 (bc_end_function, seg_data): Use bcopy instead of memcpy.
From-SVN: r5538
1993-09-30 07:57:15 -07:00
Richard Kenner
cc5edac673 (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle case when ARG1
splits and VARSIGN is -1.

From-SVN: r5537
1993-09-30 05:53:43 -04:00
Richard Stallman
a11826d1fc (stamp-bcopname, stamp-bcopcode):
Use shorter names for temporary files.
(bc-emit.o): Depend on bc-arity.h.

From-SVN: r5536
1993-09-30 01:52:21 +00:00
Richard Kenner
f5a2889838 (reg_or_short_operand): Remove redundant test.
From-SVN: r5535
1993-09-29 18:46:53 -04:00
Richard Kenner
38b3167eb6 (rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, not XINT.
From-SVN: r5534
1993-09-29 18:35:15 -04:00
Richard Kenner
e51edaa389 (GEN_INT): Add missing cast to HOST_WIDE_INT.
From-SVN: r5533
1993-09-29 18:34:51 -04:00
Doug Evans
d91f5bfa6b (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): redefine in a simpler way.
From-SVN: r5532
1993-09-29 21:31:49 +00:00
Doug Evans
94e21bd7ba fixincludes (sys/spinlock.h): change references of "../machine/*.h" to <machine/*.h>
* fixincludes (sys/spinlock.h): change references of
"../machine/*.h" to <machine/*.h>

From-SVN: r5531
1993-09-29 21:25:02 +00:00
Jim Wilson
85cc7011a5 Add prototypes for static function.
(add_dependence, remove_dependence, regno_use_in): Now static.
(schedule_insns): Have dummy version also take FILE * parameter.

From-SVN: r5530
1993-09-29 12:04:41 -07:00
Paul Eggert
f7531123b5 (quote_string): New function.
(special_symbol, write_output, output_line_command): Use it to quote
special characters in file names on output.
(do_line): Parse escape sequences in #line directives' file names.

From-SVN: r5529
1993-09-29 05:42:10 +00:00
Paul Eggert
cf1d841dcb (ignore_escape_flag): Remove var.
(check_newline, yylex): Do not ignore escapes when reading file names,
because escapes are the only way to represent file names containing '"'.

From-SVN: r5528
1993-09-29 05:42:10 +00:00
Richard Stallman
0d38001f71 (find_reloads): Don't call find_reloads_toplev
(or anything like that)	for match_operator operands.

From-SVN: r5527
1993-09-29 02:21:41 +00:00
Paul Eggert
bb2f42b1ca (quote_string): New function.
(special_symbol): Use it to properly quote special chars in __FILE__.

From-SVN: r5526
1993-09-29 01:29:31 +00:00
Richard Kenner
db6b21866d (expand_inline_function): Push and pop temp slots around making new
temp slots and freeing them.

From-SVN: r5525
1993-09-28 21:27:07 -04:00
Richard Kenner
0088fcb195 (expand_assignment, expand_expr, do_jumps): Push and pop temp slots
around making new temp slots and freeing them.

From-SVN: r5524
1993-09-28 21:26:23 -04:00
Richard Kenner
0eb202977b (push_temp_slots, pop_temp_slots): Always change level.
From-SVN: r5523
1993-09-28 21:24:47 -04:00
Richard Stallman
af463efd96 Initial revision
From-SVN: r5522
1993-09-29 00:19:28 +00:00
Richard Stallman
265ff835ce (xmalloc): New function.
From-SVN: r5521
1993-09-28 23:23:24 +00:00
Richard Stallman
0ce958d059 Include stdio.h.
(xmalloc): New function.

From-SVN: r5520
1993-09-28 23:23:11 +00:00