OSDN Git Service
bothner [Wed, 12 Apr 1995 06:34:50 +0000 (06:34 +0000)]
* fix-header.c (main): Fix loop over required_functions_list
(fatal): Also print inc_filename.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9364
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 11 Apr 1995 21:02:20 +0000 (21:02 +0000)]
(shiftby_operand): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9363
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 11 Apr 1995 21:01:12 +0000 (21:01 +0000)]
(TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT.
(OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9362
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 11 Apr 1995 20:59:16 +0000 (20:59 +0000)]
(ashlsi3): Use nonmemory_operand as a predicate instead of
shiftby_operand. Don't use shiftby_operand in the output statement.
(lshrsi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9361
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Tue, 11 Apr 1995 20:43:19 +0000 (20:43 +0000)]
Bunch of little fixes. See ChangeLog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9360
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 11 Apr 1995 17:41:27 +0000 (17:41 +0000)]
(poplevel): Do output inline function if
DECL_ABSTRACT_ORIGIN points to itself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9359
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 11 Apr 1995 17:36:18 +0000 (17:36 +0000)]
(output_constant): Cast assemble_string argument to char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9358
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 10 Apr 1995 21:39:56 +0000 (21:39 +0000)]
(constrain_operands, case 'E'): Make this work like
constraint character `F' when REAL_ARITHMETIC is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9357
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 10 Apr 1995 21:39:56 +0000 (21:39 +0000)]
(find_reloads, case 'E'): : Make this work like
constraint character `F' when REAL_ARITHMETIC is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9356
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 10 Apr 1995 21:39:56 +0000 (21:39 +0000)]
(record_reg_classes, case 'E'): Make this work like
constraint character `F' when REAL_ARITHMETIC is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9355
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 10 Apr 1995 19:06:40 +0000 (19:06 +0000)]
Undo Match 11th changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9354
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 10 Apr 1995 19:06:10 +0000 (19:06 +0000)]
Undo March 11th changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9353
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 13:23:06 +0000 (13:23 +0000)]
(init_parse_options, cpp_reader): Cast args to bcopy, bcmp, and bzero to
char *.
(add_import, push_parse_file, init_parse_file): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9352
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 13:22:43 +0000 (13:22 +0000)]
Add declaration of xmalloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9351
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 13:22:19 +0000 (13:22 +0000)]
Add declarations of xmalloc and xrealloc.
(cpp_parse_expr): Cast args to bcopy to char *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9350
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 13:22:01 +0000 (13:22 +0000)]
#include config.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9349
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 12:20:36 +0000 (12:20 +0000)]
(make_decl_rtl): Allow section attribute if -fno-common or variable is
not to be placed in common for some other reason.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9348
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 12:20:09 +0000 (12:20 +0000)]
(enum attrs): New attribute, A_NOCOMMON.
(init_attribute): Initialize it.
(decl_attributes): Implement it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9347
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 11:57:09 +0000 (11:57 +0000)]
(simplify_set): Don't move a SUBREG to dest if it is changing the size
of a hard reg in CLASS_CANNOT_CHANGE_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9346
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 11:17:17 +0000 (11:17 +0000)]
(reload_as_needed): Call forget_old_reloads_1 on pattern before reg
elimination.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9345
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 10 Apr 1995 11:16:13 +0000 (11:16 +0000)]
(find_equiv_reg): If goal is a pseudo that got memory, a store into
memory makes it invalid.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9344
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 10 Apr 1995 04:26:01 +0000 (04:26 +0000)]
* pa.c (pa_reorg): Bump label use count for each entry in an
exploded ADDR_VEC
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9343
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 9 Apr 1995 13:22:42 +0000 (13:22 +0000)]
(adddi3, subdi3): Need scratch reg whenever operand 0 in mem and operands 1
not '0'.
(subdi3): Don't treat two non-equal MEMs as non-aliasing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9342
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sun, 9 Apr 1995 11:41:24 +0000 (11:41 +0000)]
64th Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9341
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 9 Apr 1995 02:53:09 +0000 (02:53 +0000)]
* pa.c (pa_reorg): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9340
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Sat, 8 Apr 1995 23:42:29 +0000 (23:42 +0000)]
Correct SELECT_SECTION.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9339
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Sat, 8 Apr 1995 20:38:16 +0000 (20:38 +0000)]
* cpphash.c: Don't use const on compilers that don't support it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9338
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 8 Apr 1995 20:32:01 +0000 (20:32 +0000)]
(expand_increment): Handle case where INCREMENTED has a non-trivial
conversion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9337
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 23:33:16 +0000 (23:33 +0000)]
(TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
errors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9336
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 23:27:05 +0000 (23:27 +0000)]
(VMS_fstat, VMS_stat): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9335
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 23:18:58 +0000 (23:18 +0000)]
(collect_expansion): If traditional, set stringify member to
SHARP_TOKEN regardless of the value of stringify_sharp_token_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9334
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 20:04:38 +0000 (20:04 +0000)]
(simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED, handle
sign- or zero-extending addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9333
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 18:03:52 +0000 (18:03 +0000)]
(init{,_integral,_floating,_complex}_libfuncs):
Change SUFFIX to "char" to avoid confusion with prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9332
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 16:36:39 +0000 (16:36 +0000)]
(expand_computed_goto): Convert from ptr_mode to Pmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9331
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 16:36:20 +0000 (16:36 +0000)]
(convert_memory_address): Add extra arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9330
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 16:35:49 +0000 (16:35 +0000)]
(expand_expr, case ADDR_EXPR): Always call convert_memory_address when
converting; add extra arg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9329
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 16:35:25 +0000 (16:35 +0000)]
(convert_memory_address): No longer static.
New arg, TO_MODE.
Do something special for SYMBOL_REF, LABEL_REF, and CONST.
(memory_address): Add extra arg to call to convert_memory_address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9328
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 12:10:03 +0000 (12:10 +0000)]
(OBJECT_SUFFIX): Move to here; now has period.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9327
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 12:09:51 +0000 (12:09 +0000)]
(OBJECT_SUFFIX): Delete from here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9326
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 12:09:21 +0000 (12:09 +0000)]
(OBJECT_SUFFIX): Default now ".o", not "o".
(all specs): Remove "." before %O; use %O in a few missing cases.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9325
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 7 Apr 1995 11:48:25 +0000 (11:48 +0000)]
(STAGESTUFF): Use $(exeext) for executables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9324
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 7 Apr 1995 08:42:27 +0000 (08:42 +0000)]
* cpplib.c (bcopy, bzero, bcmp): Remove #undefs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9323
138bc75d-0d04-0410-961f-
82ee72b054a4
rms [Fri, 7 Apr 1995 07:32:44 +0000 (07:32 +0000)]
Accept -lites* as op sys.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9321
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 7 Apr 1995 06:20:52 +0000 (06:20 +0000)]
* cpplib.c (SELF_DIR_DUMMY): New macro.
(do_include): Don't pass searchptr to finclude if it is dsp,
since that is on the stack, and would cause a dangling pointer.
If handling #include_next, recognize SELF_DIR_DUMMY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9320
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Fri, 7 Apr 1995 06:19:22 +0000 (06:19 +0000)]
* cppalloc.c (xcalloc): Re-implement using calloc, rather than malloc+bzero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9319
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 7 Apr 1995 04:56:45 +0000 (04:56 +0000)]
* pa.h (MACHINE_DEPENDENT_REORG): Define.
* pa.md (switch_jump): New pattern for jumps which implement
a switch table.
* pa.c (pa_reorg): New function to explode jump tables.
(pa_adjust_insn_length): Account for jumps in switch tables with
unfilled delay slots.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9318
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Thu, 6 Apr 1995 21:31:01 +0000 (21:31 +0000)]
(build_binary_op): Don't call common_type for uncommon pointer types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9317
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 5 Apr 1995 21:16:26 +0000 (21:16 +0000)]
Re-write fixproto/fix-header/etc to use cpplib.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9316
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 5 Apr 1995 20:34:58 +0000 (20:34 +0000)]
Moved 'high-level' error functions from cpperror.c to cpplib.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9315
138bc75d-0d04-0410-961f-
82ee72b054a4
roland [Wed, 5 Apr 1995 03:35:44 +0000 (03:35 +0000)]
(GNU_CPP_PREDEFINES): Remove -D__HURD__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9314
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 4 Apr 1995 21:26:02 +0000 (21:26 +0000)]
* pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
problem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9313
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 4 Apr 1995 21:16:40 +0000 (21:16 +0000)]
* reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN
a the target of another JUMP_INSN to fill a delay slot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9312
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Tue, 4 Apr 1995 17:51:34 +0000 (17:51 +0000)]
63rd Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9311
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 3 Apr 1995 23:19:41 +0000 (23:19 +0000)]
(force_to_mode, case PLUS): Sign extend masks that are negative in OP_MODE.
(simplify_and_const_int): Sign-extend constants when they have the
most significant bit set for the target.
(merge_outer_ops): Likewise.
(simplify_shift_const): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9310
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 3 Apr 1995 23:19:02 +0000 (23:19 +0000)]
(simplify_unary_operation): Sign-extend constants when
they have the most significant bit set for the target.
(simplify_binary_operation): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9309
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Mon, 3 Apr 1995 23:16:19 +0000 (23:16 +0000)]
oops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9308
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 3 Apr 1995 22:54:09 +0000 (22:54 +0000)]
(umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE, not CONSTANT_P.
(smulsi3_highpart): Likewise.
(const_umulsi3_highpart): Use const_uint32_operand instead
of immediate_operand for op3. Delete mode.
(const_smulsi3_highpart): Analogous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9307
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Mon, 3 Apr 1995 22:53:36 +0000 (22:53 +0000)]
(const_uint32_operand): New function.
(const_sint32_operand): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9306
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 3 Apr 1995 22:12:50 +0000 (22:12 +0000)]
(clear_storage, expand_assignment, store_{expr,constructor}): Use ptr_mode
instead of Pmode in some places.
(expand_expr, expand_builtin): Likewise.
(push_block, store_expr): Convert size to Pmode.
(expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9305
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 3 Apr 1995 22:12:15 +0000 (22:12 +0000)]
(convert_memory_address): New function.
(memory_address): Call if it needed.
(promote_mode, case POINTER_TYPE): Use Pmode and pointer extension.
(allocate_dynamic_stack_space): Convert size from ptr_mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9304
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 3 Apr 1995 22:11:26 +0000 (22:11 +0000)]
(nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED.
(num_sign_bit_copies, case REG): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9303
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 3 Apr 1995 22:08:08 +0000 (22:08 +0000)]
(allocate_dynamic_stack_space): Correct typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9302
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 3 Apr 1995 22:00:32 +0000 (22:00 +0000)]
(gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9301
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Mon, 3 Apr 1995 20:37:59 +0000 (20:37 +0000)]
Add -frepo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9300
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Mon, 3 Apr 1995 20:19:05 +0000 (20:19 +0000)]
Get correct bit offset for big endian (SUBREG (REG))
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9299
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Mon, 3 Apr 1995 19:28:01 +0000 (19:28 +0000)]
62nd Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9298
138bc75d-0d04-0410-961f-
82ee72b054a4
roland [Mon, 3 Apr 1995 04:08:34 +0000 (04:08 +0000)]
Include "config/linux.h" instead of "linux.h", to avoid recursion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9297
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sun, 2 Apr 1995 21:34:42 +0000 (21:34 +0000)]
(simplify_relational_operation): Don't simplify A-B for
compare of A and B when the compare is unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9296
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Apr 1995 12:22:56 +0000 (12:22 +0000)]
(stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_ to
_BSD_VA_LIST_.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9295
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Apr 1995 12:11:46 +0000 (12:11 +0000)]
(default_compilers): Pass -W and -w to gnat1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9294
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Apr 1995 11:57:23 +0000 (11:57 +0000)]
(STDC_VALUE): Add #undef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9293
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Apr 1995 11:55:13 +0000 (11:55 +0000)]
(chain_member_purpose): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9292
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Apr 1995 11:54:48 +0000 (11:54 +0000)]
(ASM_FILE_START, LIB_SPEC): Delete from here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9291
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 2 Apr 1995 11:54:18 +0000 (11:54 +0000)]
(RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call chain_member_purpose, not
chain_member_value.
(ASM_FILE_START, LIB_SPEC): Move to here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9290
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Sat, 1 Apr 1995 20:18:49 +0000 (20:18 +0000)]
avoid spurious signed/unsigned comparison warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9289
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 14:46:59 +0000 (14:46 +0000)]
(SHELL): New definition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9288
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 14:45:31 +0000 (14:45 +0000)]
Remove unneeded fixes relating to __stdcall.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9287
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 14:45:11 +0000 (14:45 +0000)]
Remove unneeded #define's for non-ANSI functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9286
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 14:44:55 +0000 (14:44 +0000)]
(LIB_SPEC): Add OLDNAMES.LIB.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9285
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 14:44:35 +0000 (14:44 +0000)]
(CPP_PREDEFINES): Add definitions for __stdcall and __cdecl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9284
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 14:36:47 +0000 (14:36 +0000)]
(cse_insn): When emitting a BARRIER, don't put it after a deleted
insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9283
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 13:50:50 +0000 (13:50 +0000)]
(push_reload): Initialize secondary_{in,out}_icode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9282
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 13:25:16 +0000 (13:25 +0000)]
(print_multilib_info): Don't use LAST_PATH if not set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9281
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 13:15:54 +0000 (13:15 +0000)]
(extv, extzv): Don't use immediate value for operand 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9280
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 12:48:19 +0000 (12:48 +0000)]
(expand_asm_operands): Properly ignore invalid reg in clobber.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9279
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 1 Apr 1995 12:02:06 +0000 (12:02 +0000)]
General code cleanup.
Add prototypes for static functions.
Remove unnecessary casts to (char *); add casts to (U_CHAR *).
Add parentheses suggested by `gcc -Wparentheses'.
Rename local variables as suggested by `gcc -Wshadow'.
<fcntl.h>, <stdlib.h>, <string.h>, <unistd.h>: New includes.
<sys/time.h>, <sys/resource.h>: Include only if defined(RLIMIT_STACK).
<time.h>: Include, unless <sys/time.h> already does.
(HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols.
(HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise.
(__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros.
(PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise.
(bcopy, bzero, bcmp): If #defined by configuration file, use that.
If STDC_HEADERS is defined, use standard C functions.
If BSTRING is defined, or USG and VMS are not defined, use
the C library. Otherwise, use my_bcopy, my_bzero, my_bcmp.
(localtime): Remove no-longer-necessary explicit declaration.
(getenv, index, rindex): Don't declare explicitly if the appropriate system
eader should declare it.
(fdopen): Remove no-longer-used declaration.
(vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF).
(main): Replace `fdopen (dup (fileno (stdout)), "w"))' with `stdout'.
(get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp when both
operands are known to be free of null bytes.
(check_macro_name, compare_defs, collect_expansion): Likewise.
(do_assert, compare_token_lists, assertion_lookup, do_line): Likewise.
(skip_if_group, lookup): Likewise.
(rescan): Remove unused label `startagain'.
Abort instead of printing nonsense if the stack is corrupted when there was an
unterminated successful conditional.
(pcfinclude): Include explicit double-cast through GENERICPTR to identify
particularly egregious type puns.
(create_definition, do_define, check_macro_name): Use %.*s printf format to
avoid painful copying-and-casting.
(do_once): Return void, not (unused) int.
(do_ident, do_pragma, do_sccs): Accept extra arguments so that all
directive-handler's types match.
(do_sccs): Define only if SCCS_DIRECTIVE is defined.
(skip_if_group, dump_single_macro): Add `default: break;' to keep -Wswitch
happy.
(error, warning, error_with_line, vwarning_with_line, pedwarn): Use
stdarg/vararg/vfprintf instead of passing bogus char * args around.
(pedwarn_with_line, pedwarn_with_file_and_line, fatal): Likewise.
(verror, vwarning, verror_with_line, vwarning_with_line): New fcns.
(dump_single_macro): Abort if ap points to garbage.
(make_definition, make_undef, make_assertion): Parameter now char *.
(xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t
instead of unsigned; make pointer parameters GENERICPTR, not char *.
(xcalloc): Use bzero to clear memory instead of using own loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9278
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Mar 1995 23:34:12 +0000 (23:34 +0000)]
Remove #include of machine/ansi.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9277
138bc75d-0d04-0410-961f-
82ee72b054a4
raeburn [Fri, 31 Mar 1995 16:37:52 +0000 (16:37 +0000)]
(umul_ppmm mc68000): Use %# instead of #.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9276
138bc75d-0d04-0410-961f-
82ee72b054a4
meissner [Fri, 31 Mar 1995 14:35:03 +0000 (14:35 +0000)]
Add -fpack-struct.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9275
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Mar 1995 13:40:10 +0000 (13:40 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9274
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Mar 1995 13:26:01 +0000 (13:26 +0000)]
Fix premature close comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9273
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Mar 1995 13:19:01 +0000 (13:19 +0000)]
(expand_asm_operands): Properly handle output that can't be directly
written into.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9272
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Mar 1995 12:26:28 +0000 (12:26 +0000)]
(init_attributes): A_FORMAT is only for decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9271
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 31 Mar 1995 12:26:06 +0000 (12:26 +0000)]
(structsp): Correct error in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9270
138bc75d-0d04-0410-961f-
82ee72b054a4
merrill [Thu, 30 Mar 1995 23:51:30 +0000 (23:51 +0000)]
Remove explicit 0-initializations of static variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9269
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 30 Mar 1995 23:34:12 +0000 (23:34 +0000)]
(get_last_value): Revert back to use prev_nonnote_insn
instead of prev_real_insn. Modify test that ignores USE insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9268
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 30 Mar 1995 23:25:51 +0000 (23:25 +0000)]
(SELECT_SECTION): Apply constant DECL_INITIAL test only to DECLs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9267
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 1995 23:22:33 +0000 (23:22 +0000)]
(warn_if_unused_value): Add declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9266
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 1995 23:22:05 +0000 (23:22 +0000)]
(make warn_if_unused_value): No longer static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9265
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 30 Mar 1995 23:21:34 +0000 (23:21 +0000)]
(internal_build_compound_expr): Warn if LHS of comma expression has no
side effects, or computes value which is not used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9264
138bc75d-0d04-0410-961f-
82ee72b054a4