Commit Graph

8441 Commits

Author SHA1 Message Date
Richard Kenner
e7eefaecef (output_function_epilogue): Use a1 as scratch, not a0.
From-SVN: r8416
1994-11-10 19:11:48 -05:00
Richard Kenner
9014010351 (FUNCTION_{PRO,EPI}LOGUE): Add code to adjust stack when no frame
pointer.

From-SVN: r8415
1994-11-10 19:11:24 -05:00
Richard Kenner
931493c6b2 (CLIB): Add -lPW.
(ALLOCA): Delete.

From-SVN: r8414
1994-11-10 18:44:33 -05:00
Richard Kenner
1485e7c183 Make argument type const for popen and tempnam in stdio.h and for
strdup in string.h, for OSF/1 V3.0.

From-SVN: r8413
1994-11-10 18:37:50 -05:00
Richard Kenner
55960f52ea (decl_attributes): Check for attributes with leading and trailing
double underscores.

From-SVN: r8412
1994-11-10 18:02:50 -05:00
Richard Kenner
1f21a9799f (va_arg): Add cast to void * to suppress warning.
From-SVN: r8411
1994-11-10 17:55:03 -05:00
Richard Kenner
4b341aaa63 (FUNCTION_{PRO,EPI}LOGUE): Don't define.
(IMMEDIATE_PREFIX, REGISTER_PREFIX): Define.

From-SVN: r8410
1994-11-10 17:48:15 -05:00
Richard Kenner
2cedb812b4 ({print,scan}_char_table): Allow `L' modifier for integer output formats.
(check_format_info): Treat `ll' like `q'.

From-SVN: r8409
1994-11-10 15:55:49 -05:00
Richard Kenner
57fa673965 (movsi): In TOC symbol case, use "la" for PowerPC.
(movdi): Handle TOC symbol just like movsi.

From-SVN: r8408
1994-11-10 15:41:50 -05:00
Richard Kenner
a2991183af (init_objc): Add missing casts to args of bcopy.
From-SVN: r8407
1994-11-10 15:07:16 -05:00
Richard Kenner
bab5e7d550 (lang_init): Ensure line number is 0, not -1.
From-SVN: r8406
1994-11-10 15:04:44 -05:00
Richard Kenner
f46b6be4cb (dump_single_macro, dump_defn_1): If -traditional, dump macros in traditional style.
(dump_single_macro, dump_defn_1): If -traditional, dump macros in
traditional style.  This also avoids a bogus error message if the
macro uses traditional stringizing.

From-SVN: r8405
1994-11-08 07:27:24 -05:00
Michael Bushnell
f6eb850d30 [!POSIX]: Only define O_RDONLY and O_WRONLY if they are not already
defined for us.

From-SVN: r8404
1994-11-08 02:29:16 +00:00
Jim Wilson
1dc8a823f9 (try_combine): Update split_code after converting MULT
to ASHIFT.

From-SVN: r8403
1994-11-07 16:31:46 -08:00
Torbjorn Granlund
58371476ee (subdi3): Delete % from constraints.
From-SVN: r8402
1994-11-07 22:52:31 +00:00
Torbjorn Granlund
31a7290c89 (one_cmplsi2): Fix typo in NOT mode.
From-SVN: r8401
1994-11-07 22:52:16 +00:00
Torbjorn Granlund
bd5adf7823 (mulqi3): Fix typo in MULT mode.
From-SVN: r8400
1994-11-07 22:51:50 +00:00
Torbjorn Granlund
ee75768801 (subqi3): Delete % from constraints.
From-SVN: r8399
1994-11-07 22:51:21 +00:00
Torbjorn Granlund
ad8bd902ce (DImode load-with-update matcher): Fix typo in MEM mode.
(compare patterns): Fix several typos, SImode => CCmode.

From-SVN: r8398
1994-11-07 22:49:32 +00:00
Richard Kenner
e6ddeaf73e (ASM_IDENTIFY_GCC): Use proper definition for SGS assembler.
From-SVN: r8397
1994-11-07 12:47:31 -05:00
Richard Kenner
9200adce70 (process_command): Ignore LIBRARY_PATH and LPATH if cross-compiler.
From-SVN: r8396
1994-11-07 11:02:15 -05:00
Richard Kenner
9c05a5ad82 (PREFERRED_RELOAD_CLASS): FP constants rejected by 'G' are OK for
class FP_REGS.

From-SVN: r8395
1994-11-05 14:25:31 -05:00
Richard Kenner
db907e7b32 (store_one_arg): Preserve any temp slots whose address may have been
taken.

From-SVN: r8394
1994-11-05 14:22:12 -05:00
Richard Kenner
dde866c662 ({save,restore}_386_machine_status): Cast args to bcopy to char *.
From-SVN: r8393
1994-11-05 14:08:24 -05:00
Richard Kenner
a269864eb9 (subst_asm_stack_regs): Cast args to bcopy to char *.
(BLOCK_NUM): Rework to avoid cast of abort to int *.
(find_blocks): Don't use BLOCK_NUM on lhs.
(reg_to_stack, record_arg_reg_life): Cast arg to bzero to char *.

From-SVN: r8392
1994-11-05 14:04:50 -05:00
Richard Kenner
9b232232af (reload): Cast args to bcopy to char *.
From-SVN: r8391
1994-11-05 14:03:27 -05:00
Richard Kenner
4ba46f43cb (GET_REAL, PUT_REAL): Cast args to bcopy to char *.
From-SVN: r8390
1994-11-05 14:02:41 -05:00
Richard Kenner
e1fe312fe6 (rescan): Do not preserve newlines after macro name if rescanning a macro expansion.
(rescan): Do not preserve newlines after macro name
if rescanning a macro expansion.  Instead, preserve them if
not outputting marks.

From-SVN: r8389
1994-11-05 08:29:23 -05:00
Richard Kenner
10022ff710 (VMS_TARGET): Define.
From-SVN: r8388
1994-11-04 17:25:24 -05:00
Richard Kenner
03f8961460 Include tree.h and VMS-specific functions #ifdef VMS_TARGET.
From-SVN: r8387
1994-11-04 17:25:01 -05:00
Richard Kenner
245564053a (bc_emit_bytecode): Add missing cast.
From-SVN: r8386
1994-11-04 16:31:59 -05:00
Richard Kenner
13837939f4 (main): Cast enum to char in output.
From-SVN: r8385
1994-11-04 16:31:17 -05:00
Richard Kenner
44dbcb17bf (c-parse.o, c-lex.o): c-parse.h is in $(srcdir).
From-SVN: r8384
1994-11-03 18:55:32 -05:00
Paul Eggert
6411126c9b Makefile.in (spew.o, [...]): Depend on $(srcdir)/parse.h, not parse.h.
* Makefile.in (spew.o, lex.o, pt.o):
	Depend on $(srcdir)/parse.h, not parse.h.

From-SVN: r8383
1994-11-03 18:50:02 -05:00
Paul Eggert
d77620cb1c (spew.o, lex.o, pt.o): Depend on $(srcdir)/parse.h, not parse.h.
From-SVN: r8382
1994-11-03 18:47:46 -05:00
Richard Kenner
38250554a3 (EXTRA_CONSTRAINT): 'R' matches a SYMBOL_REF for TOC entry.
(PRINT_OPERAND_PUNCT_VALID_P): Recognize '*'.
(PREDICATE_CODES): input_operand can now match SYMBOL_REF.

From-SVN: r8381
1994-11-03 18:11:49 -05:00
Richard Kenner
cfaaaf2e4b (print_operand): New code '*' to print TOC register number.
(input_operand): Allow address of TOC entry.

From-SVN: r8380
1994-11-03 18:11:16 -05:00
Richard Kenner
015183c668 (movsi): New alternative for SYMBOL_REF source operand.
From-SVN: r8379
1994-11-03 18:09:09 -05:00
Richard Kenner
858072f0da TOOL_INCLUDE_DIR is not C++-aware.
From-SVN: r8378
1994-11-03 18:03:09 -05:00
Richard Kenner
dd947ed946 (mips_output_external): Exclude alloca from list of used external
functions.

From-SVN: r8377
1994-11-03 17:23:18 -05:00
Richard Kenner
3913f03a60 (add_high_const): Add missing mode for PLUS.
From-SVN: r8376
1994-11-01 18:50:47 -05:00
Richard Kenner
d50d63c056 (simplify_unary_operation, case TRUNCATE): Set LV and HV.
From-SVN: r8375
1994-11-01 18:39:35 -05:00
Richard Kenner
cd6ab2c2f4 (struct extern_list): Put code back outside of #ifdef VMS.
(vms_check_external, vms_flush_pending_externals): Likewise.

From-SVN: r8374
1994-11-01 18:36:18 -05:00
Per Bothner
dc0b92c413 (*-unknown-freebsd): Remove [-(] from UNAME_RELEASE.
From-SVN: r8373
1994-11-01 11:27:21 -08:00
Richard Kenner
0bb6c81b1c (movsf...
(movsf, movdf, movxf): If we are moving floating point constants to a
non-memory location that aren't 0 or 1, assume we need the pic
register if -fpic.

From-SVN: r8372
1994-10-31 16:18:02 -05:00
Jim Wilson
2f0da90602 (GO_IF_LEGITIMATE_ADDRESS): Don't allow TFmode LO_SUM.
From-SVN: r8371
1994-10-31 10:26:19 -08:00
Jim Wilson
c2e39c12c3 (movtf+3): Disable pattern.
From-SVN: r8370
1994-10-31 10:24:39 -08:00
Richard Kenner
2d44400163 (expand_expr, COND_EXPR case): Don't use original target as a temp if it's a volatile mem ref.
(expand_expr, COND_EXPR case): Don't use original target as a temp if
it's a volatile mem ref.  Finish previous patch (don't expand "X ? A &
1 : A" as "A & (X != 0)").

From-SVN: r8369
1994-10-31 08:11:19 -05:00
Richard Kenner
eb11192f9f (ASM_GLOBALIZE_LABEL): Pass new args to vms_check_external.
(ASM_OUTPUT_EXTERNAL): Just call vms_check_external.
(ASM_{,FINISH_}DECLARE_OBJECT_NAME, ASM_FILE_END): Define.

From-SVN: r8368
1994-10-31 08:07:01 -05:00
Richard Kenner
a252028f29 Include tree.h #ifdef VMS.
(struct extern_list): Move inside #ifdef VMS; add SIZE and IN_CONST fields;
make `extern_head' static; add second list head.
(vms_check_external): Move inside #ifdef VMS; give new args; maintain list of
both pending external symbols and previously defined ones.
(vms_flush_pending_externals): New function.

From-SVN: r8367
1994-10-31 08:06:15 -05:00