Commit Graph

2637 Commits

Author SHA1 Message Date
Richard Stallman
2f6f882470 (integer_overflow): Do nothing unless pedantic.
From-SVN: r2538
1992-10-21 06:54:16 +00:00
Jim Wilson
cfb2c0b179 Change global-alloc.c to global.c.
From-SVN: r2537
1992-10-20 14:15:03 -07:00
Jim Wilson
c0524a3483 Change global-alloc.c to global.c
From-SVN: r2536
1992-10-20 14:13:38 -07:00
Roland McGrath
967e44126c entered into RCS
From-SVN: r2535
1992-10-20 21:12:16 +00:00
Jim Wilson
d9bb485941 (call, call_value): Use 'd' not 'r' constraint for scratch.
From-SVN: r2534
1992-10-20 14:10:46 -07:00
Jim Wilson
3030f79d9b (WORD_SWITCH_TAKES_ARG): Add -Ttext and -Tbss.
From-SVN: r2533
1992-10-20 14:01:45 -07:00
Jim Wilson
b4b05f160a (WORD_SWITCH_TAKES_ARG): Add -Ttext and -Tbss.
From-SVN: r2532
1992-10-20 13:58:39 -07:00
Jim Wilson
e459b6d072 (WORD_SWITCH_TAKES_ARG): Add -Tbss.
From-SVN: r2531
1992-10-20 13:56:32 -07:00
Jim Wilson
7e8f4a4958 (WORD_SWITCH_TAKES_ARG): Delete, now unnecessary.
From-SVN: r2530
1992-10-20 13:55:29 -07:00
Jim Wilson
ebb8e0c6c6 (WORD_SWITCH_TAKES_ARG): Handle -Ttext and -Tbss in addition to -Tdata.
From-SVN: r2529
1992-10-20 13:54:08 -07:00
Tom Wood
e6d9804cef (dwarfout_file_scope_decl): Generate DIEs for
built-in non-fundamental types.

From-SVN: r2528
1992-10-20 20:49:26 +00:00
Richard Kenner
59b2d7222d (copy_rtx_and_substitute): Don't assume force_operand on an address returns a REG; it might be a SUBREG.
(copy_rtx_and_substitute): Don't assume force_operand on an address
returns a REG; it might be a SUBREG.  Use force_reg.

From-SVN: r2527
1992-10-20 06:50:14 -04:00
Richard Kenner
c45a13a68d (force_operand): Clarify comment to say what it can return.
From-SVN: r2526
1992-10-20 06:49:30 -04:00
Richard Stallman
86a2c12a2b (store_field): If trying to sign-extend a constant, use value_mode as
the mode.

From-SVN: r2525
1992-10-20 10:47:23 +00:00
Richard Stallman
2f145821b7 (make_node, copy_node): Don't assume node length is multiple of int.
From-SVN: r2524
1992-10-20 08:57:43 +00:00
Richard Stallman
71bde1f321 (write_tree): For type SPLIT, check subroutine return
values for non-zero value not positive value.

From-SVN: r2523
1992-10-20 07:51:30 +00:00
Richard Stallman
d3c738e1ce (print_table, scan_table): Add support for XPG4's %S and %C formats for printing/reading wide characters.
(print_table, scan_table): Add support for XPG4's %S and %C formats
for printing/reading wide characters.  %lc and %ls too.

From-SVN: r2522
1992-10-20 07:37:27 +00:00
Richard Stallman
a4c1783163 Add #undef getopt after getopt.h.
From-SVN: r2521
1992-10-20 07:13:36 +00:00
Torbjorn Granlund
d2288d8d4f (output_epilogue): Restore sp's value if no frame pointer.
From-SVN: r2520
1992-10-19 22:26:11 +00:00
Torbjorn Granlund
989d792e2a (WORD_SWITCH_TAKES_ARG): Delete sparc related cruft.
From-SVN: r2519
1992-10-19 21:57:38 +00:00
Tom Wood
c9b26f89d1 (SECONDARY_INPUT_RELOAD_CLASS): Require a temporary for a
pic address with a large constant term.

(FUNCTION_PROFILER_LENGTH, FUNCTION_BLOCK_PROFILER_LENGTH,
	BLOCK_PROFILER_LENGTH, REG_PUSH_LENGTH, REG_POP_LENGTH): Added.
	(ADJUST_INSN_LENGTH): Account for profiling code.

From-SVN: r2518
1992-10-19 21:00:14 +00:00
Tom Wood
5785e34c37 (emit_move_sequence): Add scratch register.
(emit_move_sequence): Add scratch register.  All callers
	changed.
	(legitimize_address): Add scratch register.  All callers changed
	to pass zero instead of gen_reg_rtx result.  Allocate another temp
	register for -fPIC case.  Use scratch register for pic cases with
	a large constant term.

From-SVN: r2517
1992-10-19 20:59:51 +00:00
Tom Wood
1a31d08dae (reload_insi): New pattern.
(addsi3 pattern for large constants): Delete.  Causes reload trouble.

From-SVN: r2516
1992-10-19 20:59:31 +00:00
Richard Stallman
f1553cbb35 (libobjc.a): Don't mkdir objc if dir exists.
From-SVN: r2515
1992-10-19 20:47:23 +00:00
Michael Meissner
43365a358e RISC-OS System V patches for index/rindex.
From-SVN: r2514
1992-10-19 14:58:53 +00:00
Richard Stallman
8ba23f20ec (mostlyclean): Delete libobjc.a.
(libobjc.a): Create the objc subdir.

From-SVN: r2513
1992-10-19 07:37:36 +00:00
Arne H. Juul
d8880feaa4 *** empty log message ***
From-SVN: r2512
1992-10-19 00:50:52 +00:00
Richard Stallman
aee9dc31f9 (canon_reg): Don't call validate_change if INSN is zero.
From-SVN: r2511
1992-10-18 19:56:07 +00:00
Richard Stallman
9074de27ac (store_field): Typo in last change.
From-SVN: r2510
1992-10-18 19:13:01 +00:00
Richard Stallman
c575213d96 (PRINT_OPERAND): For `h', always use OPERAND_HIGH_ADJ_PART
even for integer constant addresses.

From-SVN: r2509
1992-10-18 08:37:44 +00:00
Richard Stallman
bc9aee2d4d (output_addr_const): Always use FILE, not asm_out_file.
From-SVN: r2508
1992-10-18 08:16:49 +00:00
Richard Stallman
c2f4acb703 (process_init_constructor): When initializing a union,
handle the case of an empty init list.

From-SVN: r2507
1992-10-18 08:12:53 +00:00
Richard Stallman
e8db4813db (collect_expansion): Don't add whitespace at end if inside a string and not traditional.
(collect_expansion): Don't add whitespace at end
if inside a string and not traditional.
(rescan): At end of string, if inside macro, always keep scanning.

From-SVN: r2506
1992-10-18 07:15:41 +00:00
Richard Stallman
057f494bb8 (all.build): New rule for making gcc with a cross-compiler.
(install.build): New target.
(line 271): Add `####build overrides'.
(gen*.o): Depend on hconfig.h, not config.h.
($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o,
 $(HOST_PREFIX_1)rtlanal.o, $(HOST_PREFIX_1)obstack.o,
 $(HOST_PREFIX_1)malloc.o): Add final `h' to the regexp to replace.

(gcc.xtar): Fix typo in last change.
(mostlyclean): Don't use $(MAKEFLAGS) for objc subdir stuff.

From-SVN: r2505
1992-10-18 05:30:48 +00:00
Richard Stallman
5c4d7cfb47 (store_field): If signed bitfield and want value, sign extend.
From-SVN: r2504
1992-10-18 05:09:47 +00:00
Richard Stallman
ca3e4a2f2d (find_reloads_address): Redo last change: copy the mem
in the same way it's usually done.

From-SVN: r2503
1992-10-18 00:49:34 +00:00
Richard Stallman
4006fe4f1b (SIZE_TYPE): Fix typo in #ifndef.
From-SVN: r2502
1992-10-17 23:27:53 +00:00
Richard Stallman
5b6a946c33 (string.h): Remove #defines for other compiler's builtin functions.
From-SVN: r2501
1992-10-17 21:21:32 +00:00
Richard Stallman
eae92d827e (va_list) [__SVR4_2__]: Don't set or test _VA_LIST.
From-SVN: r2500
1992-10-17 07:39:31 +00:00
Richard Stallman
037080855f (get_inner_reference): If flag_volatile, treat every INDIRECT_REF as volatile.
From-SVN: r2499
1992-10-17 07:23:29 +00:00
Richard Stallman
eda5fa7b7e (cplusplus_comments): New var.
(main): Set it according to options.
(rescan, handle_directive, skip_if_group, validate_else):
(skip_to_end_of_comment, macarg1, discard_comments):
Use cplusplus_comments to enable C++ comment syntax.

From-SVN: r2498
1992-10-17 07:22:43 +00:00
Richard Stallman
8328559dec Do nothing if _ANSI_STDDEF_H already defined.
From-SVN: r2497
1992-10-17 04:41:39 +00:00
Richard Stallman
f5a2fb25ba (gen_lowpart_common): Fix typo in last change.
From-SVN: r2496
1992-10-17 04:33:09 +00:00
Richard Stallman
3d77b9c27d Correct previous patch.
From-SVN: r2495
1992-10-17 03:44:53 +00:00
Richard Stallman
f6ba5fe9cc (start_class): For an INTERFACE_TYPE, push to permanent obstack.
(build_message_expr): Use TYPE_MAIN_VARIANT when comparing types.

From-SVN: r2494
1992-10-17 01:37:08 +00:00
Richard Stallman
5baa9d1f70 (libobjc.a): Don't use $(MAKEFLAGS).
Add braces around shell variable references.

From-SVN: r2493
1992-10-17 00:17:56 +00:00
Michael Meissner
ba4dd4d883 Protect all defines with ifndef.
From-SVN: r2492
1992-10-16 18:22:19 +00:00
Tom Wood
265ce9f859 (libobjc.a): Compute srcdir1 without changing directories.
(libobjc.a):  Compute srcdir1 without changing
	directories.  Use srcdir1 to locate objc/Makefile.  Put quotes
	around all potential multi-word values.  Recompute GCC_FOR_TARGET.
	(sublibobjc.a): Use same text as libobjc.a.
	(mostlyclean): Use $(MAKE) and srcdir1 for objc action.

From-SVN: r2491
1992-10-16 14:46:08 +00:00
Richard Stallman
2740a6786b (find_fixup_replacement): Renamed from find_replacement.
From-SVN: r2490
1992-10-16 14:38:26 +00:00
Richard Stallman
37a5211207 (output_addressed_constants): Handle NON_LVALUE_EXPR.
From-SVN: r2489
1992-10-16 08:35:42 +00:00