Commit Graph

2342 Commits

Author SHA1 Message Date
Richard Stallman
d60280fd67 (assertdir): Override usual definition.
From-SVN: r2343
1992-10-06 20:38:24 +00:00
Richard Stallman
29a7b973cd (includedir): Make this /usr/local/include.
From-SVN: r2342
1992-10-06 19:13:33 +00:00
Richard Stallman
0d37a74da4 Delete unused magic cookie comment.
From-SVN: r2341
1992-10-06 19:11:20 +00:00
Richard Stallman
51e787ca98 (install-dir): Create dir $(includedir).
From-SVN: r2340
1992-10-06 18:17:23 +00:00
Richard Stallman
37cbad1ed4 (install-common-headers): chmod assert.h in proper dir.
From-SVN: r2339
1992-10-06 18:15:46 +00:00
Jeff Law
1084923337 pa.md (memory function unit, load case): Loads take two cycles note one.
* pa.md (memory function unit, load case): Loads take two cycles
	note one.

From-SVN: r2338
1992-10-06 10:04:57 -06:00
Torbjorn Granlund
1a72c2b73a (adddi3): Fix typo.
From-SVN: r2337
1992-10-06 11:57:20 +00:00
Richard Stallman
a5c8d7229b In the first part (instead of va-*.h), define __gnuc_va_list, as in gstdarg.h.
In the first part (instead of va-*.h), define
__gnuc_va_list, as in gstdarg.h.  Always use __gunc_va_list
as basis for defining va_list.
Move interaction with BSD-NET2 down to where va_list itself is defined.

From-SVN: r2336
1992-10-06 05:47:25 +00:00
Richard Stallman
3041f3be02 (NO_DOLLAR_IN_LABEL): Undef because gas understands dollars in labels and gdb expects them if configured for gas.
(NO_DOLLAR_IN_LABEL): Undef because gas understands dollars
in labels and gdb expects them if configured for gas.
(STARTFILE_SPEC): Include huge.o to be compatible with native cc.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
(CTOR_LISTS_DEFINED_EXTERNALLY, DO_GLOBAL_DTORS_BODY):
(STARTFILE_SPEC): Conditionally redefine for a collectless version
of gcc if USE_COLLECT2 is not defined.

From-SVN: r2335
1992-10-06 00:26:09 +00:00
Richard Stallman
eef80fde87 Use xgcc, not gcc.
From-SVN: r2334
1992-10-06 00:25:36 +00:00
Richard Stallman
49df5f372b (main): Handle -U before -D (and -A).
(rescan): If traditional, recognize # only at bol.

(main) [VMS]: Use .obj, not .o, in dependencies output.

(do_include): Delete unreachable goto after '"' case.

(do_xifdef): Skip all kinds of whitespace, in bof test.

From-SVN: r2333
1992-10-06 00:24:40 +00:00
Richard Stallman
7a0347fff3 (shadow_tag_warned): Use pedwarn for useless keyword.
(pushdecl): Internally generated vars can be
detected with DECL_SOURCE_LINE of zero, not DECL_IGNORED_P.

(start_enum): Push obstacks, switch to permanent if global.
(finish_enum): Pop obstacks.
(store_parm_decls): When clearing ->names, clear out the values
from the identifiers, restore shadowed values, and clear ->shadowed.

(grokdeclarator): Don't warn of const or volatile function
in a system header file.
(start_struct): Push the obstacks.
Switch to permanent if at top level.
(finish_struct): Pop them.

(store_parm_decls): If we have (erroneously) a prototype
and old-style parm decls, throw away the old-style parm decls.
(finish_decl): Do the pop_obstacks sooner, when it's
time to start allocating in the ambient context's obstack.
Don't call permanent_allocation unless got back to permanent obstack.

(explicit_flag_signed_bitfields): New variable.
(c_decode_option): Set that for -f[un]signed-bitfields.
(grokdeclarator): If that's set, and -fsigned-bitfields,
disregard -traditional when handling bitfield signedness.

From-SVN: r2332
1992-10-06 00:23:17 +00:00
Richard Stallman
ed7601742b Extract line containing "#define YYEMPTY" from
cp-parse.c, and append to cp-parse.h (a la Makefile.in).

From-SVN: r2331
1992-10-06 00:20:42 +00:00
Richard Stallman
d25554549b (find_reloads_address): If tem != ad, then create a new
mem to hold it and store it back into memrefloc.

From-SVN: r2330
1992-10-06 00:19:55 +00:00
Brendan Kehoe
026380ff6b (TREE_VIA_PROTECTED): Set protected_flag, not static_flag.
From-SVN: r2329
1992-10-05 18:39:55 -04:00
Richard Stallman
b4ddf94246 ($(srcdir)/INSTALL): Add -D INSTALLONLY.
From-SVN: r2328
1992-10-05 22:27:37 +00:00
Richard Stallman
35b63115bc (hi_reg_name, qi_reg_name, qi_high_reg_name): Not static.
(PRINT_REG):  Definition moved to i386.h.

From-SVN: r2327
1992-10-05 08:06:02 +00:00
Richard Stallman
74b42c8b80 (hi_reg_name, qi_reg_name, qi_high_reg_name): Declared.
(PRINT_REG):  Definition moved from i386.c.

From-SVN: r2326
1992-10-05 08:05:38 +00:00
Richard Stallman
7f7429ca2c (hard-reg-set.h): Included to get decl of `reg_names'.
(PRINT_REG):  Default definition added.
(dwarf_last_decl):  Variable declaration added.
(output_reg_number):  New function; handle -fverbose-asm reg printing.
(output_mem_loc_descriptor, output_loc_descriptor):  Call it.
(output_decl):  Set `dwarf_last_decl' each time this fn is called.

From-SVN: r2325
1992-10-05 08:04:57 +00:00
Richard Stallman
139fc12e0f (allocate_reload_reg): Always check for asm
on failure instead of simply aborting.

From-SVN: r2324
1992-10-05 06:37:26 +00:00
Richard Stallman
280194b05b (gen_realpart, gen_imagpart): New functions.
From-SVN: r2323
1992-10-05 06:34:26 +00:00
Richard Stallman
2d7050fdca (expand_expr): Use gen_realpart, gen_imagpart.
(expand_expr): For ABS_EXPR, give expand_unop the operand's mode.
(expand_expr): For REALPART_EXPR, IMAGPART_EXPR, just return that part.

From-SVN: r2322
1992-10-05 06:30:54 +00:00
Richard Stallman
decdfa8271 (init_optabs): Use cabs as the only libcall for abs.
(expand_complex_abs): New function.
(expand_unop, expand_binop): Use gen_realpart, gen_imagpart.

From-SVN: r2321
1992-10-05 06:28:37 +00:00
Richard Stallman
86b25e81b9 (allocate_dynamic_stack_space) [MUST_ALIGN]:
Always add to size, always round up to STACK_BOUNDARY,
always round the address.

From-SVN: r2320
1992-10-05 06:27:12 +00:00
Richard Stallman
8c24a2ce8c Fix typo in last change.
From-SVN: r2319
1992-10-04 23:10:06 +00:00
Richard Stallman
be63d91206 (readescape): No warning if digits in \x are all 0's.
From-SVN: r2318
1992-10-04 04:58:30 +00:00
Richard Stallman
bf15a311e9 (expand_complex_abs): Add declaration.
From-SVN: r2317
1992-10-03 18:44:17 +00:00
Michael Meissner
d03cc004f8 Add expand_complex_abs decl.
From-SVN: r2316
1992-10-03 14:47:33 +00:00
Michael Meissner
1aef7785e6 On DEC OSF/1 use x-dec-osf1 for xmake-file
From-SVN: r2315
1992-10-03 11:33:18 +00:00
Tom Wood
bf60ac0dc4 *** empty log message ***
From-SVN: r2314
1992-10-03 09:03:24 +00:00
Richard Stallman
1577a9b4d0 (gen_realpart, gen_imagpart): Declared.
From-SVN: r2313
1992-10-03 05:35:44 +00:00
Richard Stallman
3c5c04c815 (DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs.
From-SVN: r2312
1992-10-03 02:31:20 +00:00
Richard Stallman
52cdd5e580 (output_mem_loc_descriptor, output_loc_descriptor):
Catch cases of bogus DECL_RTL values involving pseudo-regs (for all
target systems) and print an annoying message if we ever see such a case.

From-SVN: r2311
1992-10-03 02:30:30 +00:00
Richard Stallman
36ad49159d (install-common-headers): Use __eprintf as indicator for GCC's assert.h.
From-SVN: r2310
1992-10-03 02:15:20 +00:00
Richard Stallman
9fcedbef65 (install-common-headers): Install assert.h separately, in includedir,
but not if file exists and lacks the magic comment.

From-SVN: r2309
1992-10-03 01:09:38 +00:00
Richard Stallman
a4f602639c Add magic comment at beginning.
From-SVN: r2308
1992-10-03 01:07:56 +00:00
Richard Stallman
7bea819f25 (includedir): New variable.
(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir.

From-SVN: r2307
1992-10-03 01:04:00 +00:00
Richard Stallman
9d1a4667d8 (reload): Move test for failure to find any group to after the loop over i.
(reload): Move test for failure to find any group
to after the loop over i.  Also check that all the regnos fit
below FIRST_PSEUDO_REGISTER.

From-SVN: r2306
1992-10-03 00:38:02 +00:00
Richard Stallman
139e5e0892 (expand_unop): Handle complex negate and abs val.
(init_optabs): Set up libcalls for complex abs.
(init_complex_libcalls): New function.

From-SVN: r2305
1992-10-02 01:42:33 +00:00
Michael Meissner
aa59a86918 Undo some of the index changes, and write our own index/rindex.
From-SVN: r2304
1992-10-02 01:07:59 +00:00
Michael Meissner
d4099651d5 RISC-OS 5.0 changes.
From-SVN: r2303
1992-10-01 21:25:34 +00:00
Jim Wilson
9ad5f9f604 (emit_reload_insns): Add a case to handle
SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code.

From-SVN: r2302
1992-10-01 12:18:06 -07:00
Jim Wilson
ae51bd971e (SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): New macro.  Define this to handle
HImode and QImode stores from FP_REGS to memory similar to above.

From-SVN: r2301
1992-10-01 12:17:02 -07:00
Richard Stallman
b9a24ad42e (declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero.

From-SVN: r2300
1992-10-01 19:01:26 +00:00
Richard Stallman
a50cc0dd8e Expect 56 conflicts for objc.
From-SVN: r2299
1992-10-01 17:38:39 +00:00
Jeff Law
9c36061e48 pa.md (add high part and dp register): Split into two patterns, one for normal code, one for kernels.
* pa.md (add high part and dp register): Split into two patterns,
	one for normal code, one for kernels.  Kernel version only allows
	"r1" as the destination register.

From-SVN: r2298
1992-10-01 11:06:29 -06:00
Jeff Law
caba9473d7 pa.h (LEGITIMIZE_ADDRESS, [...]): Emit a sequence which will cause "addil" instructions to be emitted instead of...
* pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
	which will cause "addil" instructions to be emitted instead of
	"ldil; add" sequences.
	* pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to
	avoid "ldil; add" sequences with %r27 and instead generate "addil"
	sequences.  This avoids a HPUX linker bug when compiling kernels.

From-SVN: r2297
1992-10-01 11:05:02 -06:00
Jeff Law
2fbd8ac74e pa.c (emit_move_sequence): When making a reference to the data space before reload...
* pa.c (emit_move_sequence): When making a reference to the data
	space before reload, emit an insn sequence which is much more
	likely to create "addil" instructions rather than "ldil; add"
	sequences.  Doing so greatly reduces the chance of running into a
	HPUX linker bug when compiling kernels.

From-SVN: r2296
1992-10-01 11:03:46 -06:00
Richard Stallman
e4e13a012e Add mode spec for Emacs.
From-SVN: r2295
1992-10-01 09:05:18 +00:00
Richard Stallman
75d20d4ffd (c-parse.y, objc-parse.y): Construct from c-parse.in.
(gcc.xtar): Depend on c-parse.y, objc-parse.y.
(realclean): Delete c-parse.y, objc-parse.y.

From-SVN: r2294
1992-10-01 09:03:03 +00:00