|
|
1.1.1.9 ! root 1: Thu Oct 6 00:10:41 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 2: ! 3: * Version 1.29 released. ! 4: ! 5: * loop.c (scan_loop): Don't think a `return' insn enters the loop. ! 6: ! 7: * ns32k.md (ashrsi3, etc): New define_expands for right shift. ! 8: ! 9: * reload1.c (choose_reload_targets): Change in the `force_group' ! 10: logic to avoid crashes. ! 11: ! 12: Wed Oct 5 04:09:19 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) ! 13: ! 14: * expr.c (expand_expr, MINUS_EXPR): When negating integer op1, ! 15: truncate it to its mode. ! 16: ! 17: * expmed.c (extract_bit_field): SUBREG error check was wrong; ! 18: SImode SUBREGs are possible and ok in extzv, extv. ! 19: ! 20: * tm-ns32k.md (REGISTER_NAMES): Had two excess elements; deleted. ! 21: ! 22: Mon Oct 3 01:15:51 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) ! 23: ! 24: * toplev.c (main, compile_file): If no files spec'd, use stdin, stdout. ! 25: ! 26: * flow.c (propagate_block): When checking for stack-adjust insns, ! 27: exclude non-SET patterns. ! 28: ! 29: * jump.c (jump_optimize): When changing jump=>return to return, ! 30: must rerecognize the insn. ! 31: ! 32: * toplev.c (compile_file): Allow `-' for main input or output filename. ! 33: ! 34: Sun Oct 2 10:30:09 1988 Richard Stallman (rms at apple-gunkies.ai.mit.edu) ! 35: ! 36: * final.c (final): NOTICE_UPDATE_CC has extra arg, INSN. ! 37: * tm-*.h: Change definitions. ! 38: ! 39: * stmt.c (optimize_bit_field): Use gen_lowpart to make subregs. ! 40: ! 41: * stmt.c (assign_parms): Don't obey regdecls in inline function. ! 42: Don't lose existing REG_NOTES when adding one. ! 43: ! 44: * stmt.c (expand_function_start): Make return rtx before ! 45: marking parms live. ! 46: (expand_function_end): Use use_variable to emit USEs for SAVE_EXPRs. ! 47: ! 48: * stmt.c (expand_return): Handle TRUTH_AND_EXPR like ANDIF; OR also. ! 49: ! 50: * stmt.c (expand_end_stmt_expr): Always set TREE_VOLATILE, ! 51: sometimes TREE_THIS_VOLATILE. ! 52: ! 53: * jump.c (delete_insn): When finding PREV, skip deleted insns. ! 54: ! 55: * varasm.c (output_constant): WORDS_BIG_ENDIAN test was backwards. ! 56: ! 57: * emit-rtl.c (gen_lowpart): Allow MODE > 1 word if X is same size. ! 58: ! 59: * final.c (final): Don't delete no-op moves (jump did it if appro.). ! 60: ! 61: * final.c: Support prescan pass. ! 62: (final_start_function): init_recog and CC_STATUS_INIT mvd to `final'. ! 63: (final): New arg PRESCAN. Do no output if prescanning. ! 64: Don't alter conditionals if PRESCAN < 0 (prescan already done). ! 65: If jump becomes no-op, change it to a NOTE. ! 66: Remember to free the temp space for ASM_OPERANDS. ! 67: ! 68: * final.c (final): Altering store-flag must check STORE_FLAG_VALUE. ! 69: Don't try to do it if that isn't defined. ! 70: Don't try it if condition doesn't test CC0. ! 71: (alter_cond): No need to check COND != 0. ! 72: Handle CC_Z_IN_NOT_N and CC_Z_IN_N. ! 73: (m68k.md): Delete code that handled CC_Z_IN_NOT_N. ! 74: ! 75: * conditions.h: New flag CC_Z_IN_N. ! 76: * tm-*.h: Renumber all CC_... flags to make room. ! 77: ! 78: * combine.c (use_crosses_set_p): Loop start was 1 off. ! 79: ! 80: * local-alloc.c (reg_is_set): When a reg is CLOBBERed and dies in ! 81: one insn, make it live immediately before and after that insn. ! 82: ! 83: * global-alloc.c: Hard reg preferences for global pseudos. ! 84: Var allocno_preferred_reg deleted; new vars hard_reg_preferences ! 85: and regs_someone_prefers. ! 86: (global_alloc): Init those vars. Pass hard_reg_preferences elt ! 87: to find_reg. ! 88: (set_preference): New function makes entries in those vars. ! 89: (global_conflicts): new arg to mark_reg_store. Call set_preference. ! 90: (find_reg): Last arg now a preferred hard_reg_set. ! 91: Scan that set first of all. ! 92: (mark_reg_store): New arg is offset for renumbered regno. ! 93: But the code to use it is turned off. ! 94: ! 95: * global_alloc (check_frame_pointer_required): Handle reg_equiv_address ! 96: like reg_equiv_mem. Don't try to allocate pseudos with equiv mems ! 97: that don't use the frame pointer. ! 98: * reload1.c (reload): Call changed. ! 99: ! 100: * jump.c (sets_cc0_p): Tests whether rtx sets cc0, and whether ! 101: it does nothing but set cc0. ! 102: (find_cross_jump, delete_jump): Use that fn for these tests. ! 103: * loop.c (loop_skip_over): Likewise. ! 104: * reload.c (push_reload): Likewise. ! 105: ! 106: * genoutput.c: Output `const' before the data arrays. ! 107: Define it as nothing if not __STDC__. ! 108: ! 109: Sat Oct 1 02:19:29 1988 Richard Stallman (rms at apple-gunkies.ai.mit.edu) ! 110: ! 111: * expr.c (store_one_arg): 3rd arg to emit_block_move is in bytes. ! 112: ! 113: * cse.c (fold_rtx): Handling ZERO_EXTEND or SIGN_EXTEND of constant, ! 114: if the arg width is too wide to handle, return safely. ! 115: ! 116: * combine.c (FAKE_EXTEND_SAFE_P): Don't allow extend to > 1 word. ! 117: ! 118: * rtl.c (refers_to_regno_p): Moved from reload.c. Not static. ! 119: (reg_overlap_mentioned_p): New function, calls the above. ! 120: * output-*.c: Use that instead of reg_mentioned_p. ! 121: * tm-*.h (NOTICE_UPDATE_CC): Likewise. ! 122: * reload.c (push_reload, combine_reloads): Likewise. ! 123: * reload1.c (choose_reload_targets): Use it to check earlyclobbers. ! 124: ! 125: * reload1.c (choose_reload_targets): Elimination of previous ! 126: output-reload feeding our input now limited to pseudo-regs. ! 127: ! 128: * flow.c (life_analysis): Delete any insn copying reg to itself. ! 129: (propagate_block): Move update of OLD after special life and death ! 130: for CALL_INSNs. ! 131: ! 132: * vax.md (ashrsi3, ashrdi3, rotrsi3): define_expands to negate ! 133: the shift count. ! 134: * expmed.c (expand_shift): Eliminate negate-the-shift-count feature. ! 135: ! 136: * vax.md (and*i3): define_expands which use complement and bit-clear. ! 137: * expmed.c (expand_bit_and): Eliminate feature to do that. ! 138: This function could be eliminated. ! 139: ! 140: * expmed.c (store_bit_field): Handle nested subregs. ! 141: Allow gen_insv to fail; if it does, delete what we did and then ! 142: use store_fixed_bit_field. ! 143: (store_fixed_bit_field): Use gen_lowpart to make SUBREGs. ! 144: Do that for SUBREGs just as for REGs. ! 145: Error check OFFSET must be 0 for REGs. ! 146: (store_split_bit_field): Error check OP0 is a SUBREG when expected. ! 147: (extract_bit_field): Allow gen_ext{,z}v to fail. ! 148: Use gen_lowpart to make subregs. ! 149: (expand_shift): If a try fails, delete any insns it made. ! 150: ! 151: * expmed.c (expand_mult): Use expand_unop to negate. ! 152: When adding 2 powers of 2, do serial shifts, not parallel. ! 153: Handle absval==1 like other powers of 2. ! 154: ! 155: * explow.c (force_reg): Don't lose any existing reg notes. ! 156: ! 157: * stmt.c (expand_start_stmt_expr): Eliminate return value. ! 158: (expand_end_stmt_expr): No need for argument. ! 159: * c-parse.y (primary): Change calls. ! 160: ! 161: Fri Sep 30 01:50:22 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) ! 162: ! 163: * integrate.c (copy_rtx_and_substitute, copy_address): ! 164: 'u' case erroneously returned the translated single element. ! 165: (copy_address): Special cases for frame-ptr and sums containing it. ! 166: MEM and LABEL_REF cases passed wrong arg to copy_rtx_and_substitute. ! 167: (copy_rtx_and_substitute): adjust mode of inline_target for context. ! 168: ! 169: * jump.c (true_regnum): For SUBREG of pseudo, use pseudo's # unchanged. ! 170: ! 171: Thu Sep 29 02:50:46 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) ! 172: ! 173: * i386.md (movsi, mov{q,h}i): Use find_reg_note to look for REG_WAS_0. ! 174: * vax.md (movsi, movhi): Likewise. ! 175: ! 176: * varasm.c (decode_rtx_const): Was setting un.addr.base wrong ! 177: for a CONST. Should be symbol name, not the SYMBOL_REF. ! 178: ! 179: * rtl.c (rtx_equal_p): When comparing registers, check ! 180: REG_FUNCTION_VALUE_P. If there are `u'-slots in the rtx, ignore them. ! 181: ! 182: * rtl.c (reg_mentioned_p): Some rtx types were mistakenly treated ! 183: as uniquified (various constants). ! 184: ! 185: * rtl.c (read_rtx): Element type 'S' is string that may be omitted. ! 186: * rtl.def (define_insn, define_peephole): Add a last element, type 'S'. ! 187: * genoutput.c: Collect these optional last elements and output as ! 188: array `insn_machine_info' of structs `INSN_MACHINE_INFO'. ! 189: The last must be defined as a macro. ! 190: * recog.h (insn_machine_info): Declare it if appropriate. ! 191: ! 192: * regclass.c (record_address_regs): In PLUS case, look inside SUBREGs. ! 193: ! 194: * reload1.c (reload): Use reg_equiv_address for REG_EQUIVs with ! 195: invalid memory addresses. ! 196: When changing pseudos to mem refs at end, do FIX_FRAME_POINTER_ADDRESS ! 197: on their addresses. ! 198: (alter_reg): Check that with reg_equiv_mem. ! 199: (spill_hard_reg): If fp reg, spill regardless of basic_block_needs. ! 200: ! 201: * reload1.c (order_regs_for_reload): Don't put invalid regs into ! 202: potential_reload_regs at all. (They used to go at the end.) ! 203: ! 204: * reload.c (find_reloads): Store all earlyclobber operand in ! 205: reload_earlyclobbers (# in n_earlyclobbers): ! 206: * reload.1 (choose_reload_targets): Don't use value of find_equiv_reg ! 207: if it matches an earlyclobber operand. ! 208: ! 209: * reload.c (find_reloads_address for REG): ! 210: No need for explicitly excluding hard regs in these tests. ! 211: (find_reloads, find_reloads_address_1 for REG): likewise. ! 212: ! 213: * reload.c (push_reload): Code testing reg_equiv_constant should ! 214: be obsolete; add error check to verify this. ! 215: ! 216: * reload.c (hard_reg_set_here_p): Handle CLOBBERs, SUBREGs, overlap. ! 217: (refers_to_regno_p): Handle CLOBBERS. Handle overlap. ! 218: New arg ENDREGNO specs end of range to check for; ! 219: all callers changed (all in this file). ! 220: ! 221: * reload.c (find_reloads): SUBREG like REG in alternate recovery ! 222: for earlyclobber conflict. ! 223: The operands to unswap are those that are supposed to commute. ! 224: When operands match, copy the regclass of earlier one for later one. ! 225: ! 226: * stmt.c (optimize_bit_field): Don't use gen_extend_insn; ! 227: use convert_move, then reorder the insns. ! 228: * optabs.c (gen_extend_insn): Deleted. ! 229: ! 230: * optabs.c (emit_cmp_insn): Don't emit queue before recursion. ! 231: Don't convert size to SImode for cmpstrqi. ! 232: ! 233: * optabs.c (expand_binop): Keep any old REG_NOTES when adding them. ! 234: Always delete_insns_since if returning failure. ! 235: (expand_unop, emit_unop_insn): Keep any old REG_NOTES when adding them. ! 236: * spur.md (movhi): likewise. ! 237: ! 238: * RTL_EXPR_SEQUENCE is now a chain of insns, not a SEQUENCE. ! 239: * emit-rtl.c (emit_insns): New fn, emit a chain of insns. ! 240: * expr.c (expand_expr): Use that. ! 241: Also put const0_rtx in the RTL_EXPR_SEQUENCE (mark RTL_EXPR as output). ! 242: * stmt.c (expand_end_stmt_expr): Use get_insns to get the chain. ! 243: ! 244: * stmt.c (expand_end_stmt_expr): Put the RTL_EXPR on rtl_expr_chain. ! 245: (fixup_var_refs): Scan all waiting RTL_EXPRs not yet output. ! 246: Also scan all stacked sequences on sequence_stack. ! 247: ! 248: * genemit.c (gen_expand): Generate calls to {start,end}_sequence. ! 249: Use `emit' to handle a PARALLEL. ! 250: (FAIL, DONE): Change to fit gen_expand changes. ! 251: ! 252: * emit-rtl.c (change_address): abort if arg isn't a MEM. ! 253: ! 254: * emit-rtl.c: Sequences work now by saving and restoring first_insn ! 255: and last_insn. So these variables are used even when in a sequence. ! 256: emit_to_sequence has been deleted. ! 257: (start_sequence, end_sequence): Save and restore first_insn, last_insn. ! 258: (get_last_insn, add_insn): Sequences no longer need special treatment. ! 259: (delete_insns_since, reorder_insns): likewise. ! 260: (push_to_sequence): Set up to emit to a given existing insn chain. ! 261: ! 262: * emit-rtl.c (copy_rtx_if_shared): Don't copy INSNs. ! 263: Insert missing return stmt in MEM case (for MEMs ok to share). ! 264: (unshare_all_rtx): Now can copy the REG_NOTES simply. ! 265: Copy the LOG_LINKS too. ! 266: ! 267: * emit-rtl.c (make_safe_from): Treat SUBREG as X like a REG. ! 268: (delete_insns_since): Don't lose if FROM is the first insn. ! 269: (emit): Declare void, since no useful value. ! 270: Call simplejump_p properly. ! 271: (restore_reg_data_1): When a reg is an address, do mark_reg_pointer. ! 272: ! 273: * dbxout.c (dbxout_types): Call dbxout_symbol to do the work. ! 274: (dbxout_type_def): Deleted. ! 275: (dbxout_symbol): Set TREE_ASM_WRITTEN when a TYPE_DECL is output. ! 276: Don't output the same one twice. ! 277: ! 278: * cse.c (fold_cc0): LABEL_REF is not zero. ! 279: ! 280: * cse.c (cse_insn): Don't insert src, dest if they are the same place. ! 281: ! 282: * cse.c (lookup_as_function): Return entire rtx, not just operand. ! 283: (cse_insn): Caller changed. Also, copy the result before inserting it. ! 284: ! 285: * cse.c (fold_rtx): Put constant arg last if commutative op. ! 286: Handle idempotents and identities for mult, div, booleans, shifts. ! 287: ! 288: * cse.c (canon_hash): Parens were missing around shifts in "rotates". ! 289: ! 290: * c-convert.c (convert_to_integer): Truncate TRUTH_ANDIF_EXPR ! 291: like TRUTH_AND_EXPR; OR also. ! 292: ! 293: * c-typeck.c (build_binary_op_nodefault): Do truthvalue_conversion ! 294: for TRUTH_ANDIF, etc. ! 295: (build_unary_op): More simplifications for TRUTH_NOT_EXPR; ! 296: uses new fn `invert_truthvalue'. ! 297: ! 298: * recog.c (reg_fits_class_p): New name for reg_renumbered_fits_class_p ! 299: since it no longer needs to renumber. Also it now really assumes ! 300: arg is a REG. Callers changed. ! 301: * reload.c: Callers changed. ! 302: ! 303: * recog.c (general_operand): (SUBREG (MEM...)) need not alter mode. ! 304: (register_operand, nonmemory_operand): (SUBREG (MEM...)) is allowed. ! 305: (memory_operand): (SUBREG (MEM...)) is *not* allowed. ! 306: (mode_independent_operand): Operand names were backwards! ! 307: (No change in effect of this function.) ! 308: ! 309: * print-tree.c (dump): Some expr nodes contain rtx's. Print as rtx's. ! 310: ! 311: Wed Sep 28 18:51:12 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 312: ! 313: * reload1.c (choose_reload_targets): If a reload wanted a group, ! 314: don't allow a single register for it. ! 315: ! 316: Tue Sep 27 11:43:56 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 317: ! 318: * final.c (output_addr_const): Handle DImode CONST_DOUBLEs. ! 319: * tm-*.h (PRINT_OPERAND): Treat DImode CONST_DOUBLE like a CONST_INT. ! 320: ! 321: * vax.md (rotldi3): Insn deleted; it doesn't really exist. ! 322: ! 323: * toplev.c (report_error_function): Also mention the file name, ! 324: for parallel makes. New arg FILE; all callers changed. ! 325: ! 326: Mon Sep 26 15:44:18 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 327: ! 328: * expmed.c (expand_shift): When using extzv, convert OP1 to SImode. ! 329: * c-typeck.c (build_binary_op_nodefault): Convert shift-count ! 330: to int regardless of result type. ! 331: ! 332: * output-spur.c (output_move_double): Fix typo, optype0=>optype1. ! 333: ! 334: * expr.c (expand_call): Avoid null deref on result of FUNCTION_ARG. ! 335: ! 336: * tm-i386.h (FUNCTION_PROFILER): Use correct assembler syntax. ! 337: ! 338: Sun Sep 25 12:13:56 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 339: ! 340: * fixincludes: Handle some files in netdnet, netdna, vaxif, vaxuba. ! 341: ! 342: * reload.c (find_reloads): Make no optional reloads if not -O. ! 343: ! 344: * loop.c (strength_reduce): Can't eliminate a biv if it's used ! 345: to compute a DEST_ADDR giv. Only DEST_REG givs are safe. ! 346: ! 347: * loop.c (general_induction_var): Shift & divide ops are linear ! 348: only in 1st operand; don't look for biv or giv in 2nd operand. ! 349: ! 350: * vax.md (fix_truncdfqi2): Use `%#'. ! 351: ! 352: Sat Sep 24 00:25:48 1988 Richard Stallman (rms at gluteus.ai.mit.edu) ! 353: ! 354: * loop.c (n_times_set, n_times_used): Now file-scope; ! 355: no longer passed as args to several functions. ! 356: ! 357: * loop.c (basic_induction_var): Accept reg as source value ! 358: only if it's invariant. ! 359: (strength_reduce): Benefit calculation and threshold changed. ! 360: Check reducibility of givs before trying to reduce them. ! 361: Check eliminability of biv before considering the givs; ! 362: let this affect the threshold. ! 363: (record_giv): New subroutine adds a giv to the chain. ! 364: ! 365: * ns32k.md (incrementing sp): Use cmpd insns to increment by 4 or 8. ! 366: ! 367: * integrate.c (expand_inline_function): Rename return_label ! 368: to local_return_label; avoid shadowing. ! 369: ! 370: Fri Sep 23 13:57:52 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 371: ! 372: * loop.c (loop_skip_over): Put the new label after the note that ends ! 373: the loop. ! 374: ! 375: * loop.c: New function strength_reduce and subroutines. ! 376: * toplev.c: New var flag_strength_reduce, set from -fstrength-reduce. ! 377: ! 378: * vax.md (sob insns): They were broken, with plus in one place ! 379: and minus in another. Use plus consistently. ! 380: ! 381: * rtl.h (REG_LIBCALL, REG_NONNEG): Two new kinds of reg-note. ! 382: * optabs.c (expand_binop, expand_unop): Make REG_LIBCALL notes. ! 383: * loop.c (scan_loop, move_movables): Move entire library calls. ! 384: Use m->set_src to get the expression, in case it's from a REG_EQUAL. ! 385: (consec_sets_invariant_p): Likewise. ! 386: ! 387: * loop.c (scan_loop): Start scan from loop_top, if entry is rearranged. ! 388: Watch out for pseudo regs created by strength_reduce; ! 389: they can't index regno_last_uid. ! 390: (replace_regs): # regs mapped is now an arg. ! 391: ! 392: * loop.c (count_loop_regs_set): Don't increment n_times_set past 127. ! 393: (consec_sets_invariant_p): Reject if N_SETS arg is 127. ! 394: ! 395: * toplev.c (rest_of_compilation): NREGS arg of loop_optimize deleted. ! 396: ! 397: * c-decl.c (store_parm_decls): Anything but an IDENTIFIER_NODE ! 398: in SPECPARMS indicates a parmlist, not an identifier list. ! 399: (get_parm_info): Use only PARM_DECLs when making the list of arg types. ! 400: ! 401: * combine.c (try_distrib): Boolean ops can't distribute through PLUS. ! 402: MULT can distribute through PLUS and only PLUS. ! 403: ! 404: Thu Sep 22 15:57:41 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 405: ! 406: * jump.c (jump_optimize): uncond jump to a return becomes a return. ! 407: ! 408: * integrate.c (copy_parm_decls, copy_decl_tree): Set TREE_USED. ! 409: Avoid inevitable "unused" warning for these decls. ! 410: ! 411: * c-typeck.c (comptypes): When comparing array types, ! 412: ignore qualifiers of element type. ! 413: ! 414: * tm-*.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Define new macros. ! 415: * final.c (final_start_function): Use them to protect around ! 416: the call to the profiling function. ! 417: * stmt.c (expand_function_start): Set current_function_needs_context ! 418: and current_function_returns_struct. ! 419: ! 420: * stmt.c (expand_null_return_1): If clear_pending_stack_adjust ! 421: doesn't clear it, do the adjust now. ! 422: * expr.c (clear_pending_stack_adjust): No-op if -finline-functions. ! 423: ! 424: * cccp.c (macarg1, skip_if_group): Backslash makes next char ordinary. ! 425: ! 426: * reload.c (find_reloads): Delete code to look for an equiv reg ! 427: for a reg being input-reloaded. This isn't safe. ! 428: * reload1.c (choose_reload_targets): Do it here. ! 429: ! 430: Wed Sep 21 00:36:22 1988 Richard Stallman (rms at hobbes.ai.mit.edu) ! 431: ! 432: * tm-sun3.h (CPP_SPEC): Define it based on TARGET_DEFAULT. ! 433: (STARTFILE_SPEC): Likewise. ! 434: ! 435: * reload1.c (choose_reload_targets): When redirecting prev insn ! 436: into this insn's reload-reg, check this doesn't break the prev insn ! 437: by giving it a reg it can't accept. Use new fn constraint_all_regs_p. ! 438: ! 439: * tm-sparc.h (ASM_OUTPUT_LOCAL): Use .reserve, not .common. ! 440: ! 441: * tree.h (TREE_USED): New attribute macro. ! 442: * c-parse.y (primary): Set TREE_USED in ..._DECL nodes. ! 443: * toplev.c, flags.h: Define and set warn_unused. ! 444: * stmt.c (expand_end_bindings): Warn if any var is unused. ! 445: * print-tree.c (prtypeinfo): Print this attribute. ! 446: ! 447: Tue Sep 20 15:29:01 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 448: ! 449: * assert.h: `assert' must expand to an expression. ! 450: Error message should show arg before expansion, not after. ! 451: ! 452: * c-decl.c (implicitly_declare): Make decl perm if !warn_implicit ! 453: since start_function needs to look inside it in that case. ! 454: ! 455: * toplev.c (announce_function): If we don't print, don't record we did. ! 456: ! 457: Mon Sep 19 15:21:11 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 458: ! 459: * c-parse.y (structsp): If pedantic, warn if comma at end of enumlist. ! 460: ! 461: * reload.c (find_reloads): Check insn_code_number >= 0 when ! 462: looking in insn_operand_strict_low. ! 463: ! 464: * tm-sun[23].h (CPP_SPEC): Rename __HAVE_FPU__ to __HAVE_68881__ ! 465: and put a space after that option. ! 466: ! 467: Sun Sep 18 01:12:56 1988 Richard Stallman (rms at hobbes.ai.mit.edu) ! 468: ! 469: * reload.c (find_reloads): Make optional reloads for explicit MEMs. ! 470: ! 471: * tm-m68k.h (MODES_TIEABLE_P): If no 68881, can tie fixed to floating. ! 472: * m68k.md (movdi): Allow F's (can be DImode now). ! 473: Don't allow f-regs (experiment). Don't preference x-regs. ! 474: (DImode push): Allow y-regs. ! 475: (DFmode push): Allow y-regs, not x-regs. ! 476: ! 477: * reload1.c (modes_equiv_for_class_p): New function. ! 478: (reload): Compare multiple modes for reg group with that function. ! 479: Allows differing modes in some cases when not tieable. ! 480: ! 481: * c-parse.y (check_newline): Let ASM_OUTPUT_IDENT override .ident. ! 482: * tm-3b1.h (ASM_OUTPUT_IDENT): Define this as no-op. ! 483: ! 484: * emit-rtl.c (reorder_insns): Update sequence_{first,last}_insn if nec. ! 485: (get_last_insn): If in a sequence, return last insn of sequence. ! 486: (delete_insns_since): If in a sequence, set sequence_last_insn. ! 487: ! 488: * spur.md (CONST_DOUBLE load insn): Use & for most dests. ! 489: (cond branches): pass additional args to output_compare. ! 490: (movdf, movdi): Use & loading reg from mem. ! 491: (trunc*): Enable these. ! 492: (add): New pattern for adding large immediate operand. ! 493: (shifts): A define_expand for each kind of shift, ! 494: plus a recognizer which outputs repeated insns if necessary. ! 495: (call*): Use r9 as temp, not r2. ! 496: ! 497: * output-spur.c (output_compare): New args NEG_{EXCHANGE_,}OPCODE. ! 498: (singlemove_string): Handle reg as operand 1. ! 499: (output_add_large_offset): Fake add insn with large immediate arg. ! 500: (big_immediate_operand): Match such an arg. ! 501: ! 502: * tm-spur.h (FUNCTION_PROLOGUE): Align the stack pointer. ! 503: Handle bigger frames. ! 504: (TARGET_LONG_JUMP, TARGET_EXPAND_SHIFT): New target flags. ! 505: ! 506: * va-spur.h: Track position in regs and stack separately. ! 507: ! 508: * c-decl.c (duplicate_decls): Warn if prototype follows ! 509: non-prototype definition. ! 510: ! 511: Sat Sep 17 14:30:23 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 512: ! 513: * expr.c (expand_builtin): Avoid crash if arg isn't integer type. ! 514: ! 515: * c-decl.c (duplicate_decls): Just warn if redeclaring a builtin, ! 516: and leave it built in unless it is redefined. ! 517: ! 518: * vax.md (ashlsi3): Use addl3, moval or movad when useful. ! 519: (addsi3): Avoid pushab, movab for constants < 64. ! 520: Do use movab when > 64 when operands match. ! 521: (mov*i): Use mcom* rather than mneg*. ! 522: Use add*3 with two quick immediate args when useful. ! 523: (movhi): Don't use movzbw or cvtbw; said to be slow. ! 524: ! 525: * rtl.h: New macros MEM_VOLATILE_P, MEM_IN_STRUCT_P, ! 526: INSN_DELETED_P, REG_USER_VAR_P, RTX_UNCHANGING_P, RTX_INTEGRATED_P, ! 527: CONSTANT_POOL_ADDRESS_P. ! 528: Most places changed to use them. ! 529: ! 530: Fri Sep 16 11:50:15 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 531: ! 532: * jump.c (jump_optimize): Was testing volatil on non-MEMs erroneously ! 533: when looking for no-op move insns. ! 534: ! 535: * cccp.c (handle_directive): Ignore comments between # and directive. ! 536: ! 537: * integrate.c (copy_rtx_and_substitute): Stack-push memrefs need ! 538: to be copied. ! 539: ! 540: * tm-bsd386.h (ASM_OUTPUT_DOUBLE): Undef previous def. ! 541: ! 542: * reload1.c (alter_reg): Don't reuse spill_stack_slot ! 543: if it isn't big enough for this reg's mode. ! 544: ! 545: * expr.c (emit_move_insn): After force_const_mem, ensure ! 546: mem address is valid. ! 547: (move_block_to_reg, move_block_from_reg): Likewise. ! 548: ! 549: * expr.c (expand_call): Spurious TREE_VALUE on args[i].tree_value. ! 550: ! 551: * m68k.md (zero_extend*): Require register_operand for operand 0. ! 552: ! 553: * stdarg.h (va_start): Alternate defn for sparc. ! 554: ! 555: Thu Sep 15 11:39:06 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) ! 556: ! 557: * c-parse.y (yylex): When atof gives ERANGE, check for "0.0", etc. ! 558: ! 559: * assert.h (__assert): Alternative definition for -traditional. ! 560: ! 561: * output-sparc.c (output_block_move): Initialize xoperands. ! 562: ! 563: * combine.c (try_combine): Never subst for a reg that is incremented. ! 564: ! 565: * m68k.md (cmpm pattern): Make the match_operands match memrefs ! 566: and check that they are pushes in the extra condition. ! 567: This makes reloading handle the pushes properly. ! 568: ! 569: * expr.c (MOVE_RATIO): Make it 15. Allow overriding it. ! 570: 1.1.1.8 root 571: Wed Sep 14 09:50:08 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 572: 1.1.1.9 ! root 573: * c-decl.c (build_enumerator): Use saveable_tree_cons. ! 574: ! 575: * vax.md (movdf): Use movq when safe. ! 576: 1.1.1.8 root 577: * Version 1.28 released. 578: 579: * tm-sparc.h (FIRST_PARM_CALLER_OFFSET): Defined. 580: 581: Tue Sep 13 00:11:37 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) 582: 583: * tree.c (saveable_tree_cons): New function. 584: * c-decl.c (pushtag): Use it; lists of tags needed for inlining. 585: (get_parm_info): Likewise. 586: 587: * print-tree.c (dump): Handle each kind of statement node individually. 588: 589: * integrate.c (copy_decl_tree): Don't pass DECL_RTL through 590: copy_rtx_and_substitute if it's a memref with constant address. 591: 592: * sdbout.c (sdbout_symbol): Don't output garbage when DECL_RTL 593: has a form we don't understand. 594: 595: * reload.c (find_reloads_address_1): Don't reload an autoincrement 596: if it has a suitable hard reg already. 597: 598: * c-typeck.c (process_init_constructor): Error check after digest_init. 599: 600: * c-parse.y (is_reserved_word): Now static. 601: 602: Mon Sep 12 19:19:28 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 603: 604: * i386.md (all push insns): Use `<' for the constraint, 605: since a push_operand won't fit an `m' constraint on this machine. 606: 607: * expr.c (expand_call): If fn name is `__builtin_alloca', 608: it may be alloca. This case arises if the user redeclares 609: `__builtin_alloca'. 610: 611: Sun Sep 11 01:47:01 1988 Richard Stallman (rms at gluteus.ai.mit.edu) 612: 613: * Eliminate MAX_SETS_PER_INSN. 614: * cse.c (cse_insn): Combine all the tables and dynamically allocate. 615: (cse_main): Count the actual number of SETs; don't estimate. 616: * genconfig.c: Don't calculate MAX_SETS_PER_INSN. 617: * stmt.c (expand_asm_operands): No limit on # of output operands. 618: 619: * expr.c (expand_call): 620: Store all non-reg parms first, then store all partially-in-reg 621: parms, then all the (precomputed) wholly-in-reg parms. 622: Special hair for BLKmode parms which must be passed entirely 623: in memory; also for BLKmode parms initialized from function calls, 624: for which it is best to allocate the space before computing value. 625: Use macro FIRST_PARM_CALLER_OFFSET to handle machines where reg 626: parms "take up space" on the stack below the stack pointer. 627: (store_one_arg): Handle case of preallocated stack loc for BLKmode. 628: Update current_args_size here, not in caller. 629: 630: Sat Sep 10 19:58:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 631: 632: * output-sparc.c (output_scc_insn): Changed asm templates. 633: Use common code to emit the move insns and label at the end of fn. 634: (output_mul_by_constant): Use %g1 as temporary reg. 635: 636: * sparc.md (indexed load pattern): Deleted. 637: (fix_truncdfsi2): Don't ignore value of output_fp_move_double. 638: (cse'd multiply): Operand 1 predicate is general_operand. 639: (return peepholes): Conditionalize on ! TARGET_EPILOGUE. 640: 641: * tm-sparc.h (INIT_CUMULATIVE_ARGS,FUNCTION_ARG...): 642: Use partial regs for args that start in regs but won't entirely fit. 643: 644: * tm-sparc.h (CONST_COSTS): 0 for args that can be immediate. 645: (STRUCTURE_SIZE_BOUNDARY): Now 8. 646: (STRUCT_VALUE_OFFSET): Defined as symbolic name for `64'. 647: 648: * expr.c (struct arg_data): New component `stack' says where in the 649: stack to put a BLKmode arg (if it's nonzero). 650: (store_one_arg): Handle case where it's nonzero. 651: (target_for_arg): New fn, precompute stack locn for BLKmode arg. 652: 653: Fri Sep 9 01:41:13 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) 654: 655: * cse.c (fold_rtx): Misnested ifs screwed SUBREG case. 656: 657: * reload.c (find_reloads_toplev): Special case for (SUBREG REG) 658: where REG is equivalent to a CONST_INT. 659: (find_reloads): Don't ignore the value returned by find_reloads_toplev. 660: Treat a (SUBREG constant) like a (SUBREG MEM): set force_reload. 661: 662: * reload.c (push_reload): Abort if memory subreg is not 663: paradoxical; the MEM mode should be narrower than the SUBREG. 664: 665: * stmt.c (fixup_var_ref_1): Fixup memory subregs in an insn 666: copying VAR to or from a register. 667: 668: * m68k.md (movdi, movdf): the x-reg constraint accidentally allowed 669: moving rm to rm with no &. 670: 671: * vax.md (call_value): Typo. 672: 673: * expr.c (emit_block_move, emit_push_insn): prefer movstrqi to movstrsi 674: 675: * m68k.md (FPA multiply): bad opcodes for 3-operand multiply insns. 676: 677: Thu Sep 8 18:22:14 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 678: 679: * c-parse.y: Use YYERROR instead of synonym YYFAIL. 680: BISON VERSIONS PRIOR TO THIS DATE WON'T WORK! 681: 682: * c-typeck.c (digest_init): Use TYPE_MAIN_VARIANT of array elt type. 683: 684: * tm-sun[23].h (CPP_SPEC, ASM_SPEC): Let -m(c|)680[12]0 control 685: options for CPP and assembler. 686: 687: Wed Sep 7 13:44:59 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 688: 689: * New handling of reloading of PRE_DEC, etc. 690: Now reload_in is the PRE_DEC, etc, and reload_inc is always positive. 691: * reload.c (push_reloads): Old code to set reload_inc deleted. 692: (find_reloads_address_1): Call push_reload the new way. 693: (find_inc_amount): Value always positive. 694: * reload1.c (choose_reload_targets): Detect this case. 695: (inc_for_reload): New fn; does the real work for this case. 696: * m68k.md (call, call_value): Fn address must be offsetable. 697: 698: * combine.c (try_distrib): Reject strange cases such as if 699: result of PREV1 or PREV2 is used in a memory address in INSN. 700: 701: * vax.md (movsf): Generate movl instead of movf. 702: 703: * expr.c (expand_call): If have regparms, store all BLKmode args 704: before all the other args. 705: (store_one_arg): New subroutine broken out. 706: 707: * output-sparc.c (output_block_move): Complete rewrite. 708: 709: * sparc.md (cse'd multiply insn): Typo in asm-output code. 710: 711: Tue Sep 6 20:05:48 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 712: 713: * c-parse.y (yylex, etc.) Install Schmidt's perfect hash table. 714: 715: * gcc.c: handle extension `.cc'. 716: 1.1.1.7 root 717: Mon Sep 5 12:09:58 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 718: 719: * Version 1.27 released. 720: 721: * tm-i386.md (PREFERRED_RELOAD_REG): When reloading a QImode, 722: make sure the class doesn't include %esi or %edi. 723: * i386.md (movqi): Eliminate only use of the class `x', 724: for which PREFERRED_RELOAD_REG cannot work. 725: (In next version, get rid of INDEX_CLASS). 726: Also use `*' to cause preferencing of Q_REGS. 727: * tm-m68k.md (PREFERRED_RELOAD_REG): When reloading a QImode, 728: use DATA_REGS. 729: 730: * reload.c (push_reloads): Braino in last change when IN == 0. 731: 732: * flow.c (mark_used_regs, mark_set_1): Bug if HARD_REGNO_NREGS 733: returns 0 for VOIDmode reg (inside a CLOBBER). 734: 735: * c-parse.y (asm_operand): Handle `("REGNAME")' as an operand. 736: * recog.c (decode_asm_operands, asm_noperands): Ignore any CLOBBERs. 737: * regclass.c (reg_names): Variable now global. 738: * stmt.c (expand_asm_operands): Generate CLOBBERS when appropriate. 739: 740: * stmt.c (assign_parms): Ignore parms that aren't PARM_DECLs. 741: 742: * varasm.c (assemble_variable): Do ASM_OUTPUT_EXTERNAL for functions. 743: 744: * c-parse.y (yylex): floatflag is now an enum. 745: Detect invalid use of decimal points (> 1, or in exponent) 746: and multiple exponent letters. 747: 748: * expr.c (expand_call): If inlining fails, set TREE_ADDRESSABLE. 749: 750: Sun Sep 4 00:36:30 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) 751: 752: * c-decl.c (grokdeclarator): A const array becomes an array of consts. 753: * c-typeck.c (build_array_ref): Array ref is const if array elts are. 754: 755: * output-sparc.c (output_move_double): Change criteria for ldd, std. 756: (output_fp_move_double): New alternatives avoid ldd, std for 757: stack refs that aren't aligned. 758: (output_block_move): Use %g1 as temp reg. 759: 760: * sparc.md (floating point load from constant mem address): 761: Use %g1 as temp reg. Use output_move_double in DF case, not ldd. 762: (movsf): Asm insn typo in FPreg to FPreg case. 763: (floatsi{s,d}f2): Constraint changed. 764: Also new special case pattern in front of it. 765: (fix_truncdfsi2): Use output_move_double, not ldd. 766: (addsi3, subsi3): Use %g1 as temp reg. 767: (cse-optimized multiply): Constraint now `g'; output generalized. 768: (andsi3, orsi3, xorsi3): Use %g1 as temp reg. 769: 770: * reload.c (find_reloads): Force int constants into memory just 771: like floating ones, if memory is allowed and no regs are. 772: 773: * expr.c (expand_call): Don't treat structure_value_addr like a parm 774: if the first parm would be passed in a register. 775: Also, write comments for all local vars. 776: 777: * tm-386v.h (START_SPEC): Use {g,m}crt1.o, not {g,m}crt0.o. 778: (LIB_SPEC): Always use crtn.o. 779: 780: Sat Sep 3 13:05:50 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 781: 782: * explow.c (plus_constant): Don't put CONST around lone SYMBOL_REF. 783: 784: * combine.c (subst): Simplify zero- or sign-extend of a constant. 785: 786: * expr.c (expand_expr): for REAL_CST, etc., check for invalid 787: memory addresses and copy into registers. 788: 789: * integrate.c (expand_inline_function): If incoming struct value addr 790: is in memory, map it like a memory parameter. 791: 792: * tm-*.h (FIRST_PARM_OFFSET): Now takes fndecl as argument. 793: * integrate.c (expand_inline_function): Calc., use and save 794: this fns value of FIRST_PARM_OFFSET. 795: (copy_rtx_and_substitute): Use that value. 796: * stmt.c (assign_parms): Likewise. 797: 798: * tm-sparc.h (FIRST_PARM_OFFSET): Make it 64 if value is BLKmode. 799: (STRUCT_VALUE{,_INCOMING}): Put the value in 64(fp). 800: 801: * tm-sparc.h (PRINT_OPERAND_ADDRESS): Print offsets in decimal. 802: Avoid excess `+' before a negative offset. 803: 804: * stmt.c (expand_function_start): Create the return value rtl 805: before making the tail-recursion loop point. 806: 807: * combine.c (gen_lowpart_for_combine): Generate a paradoxical subreg 808: rather than a wider memref. 809: 810: * reload.c (push_reload): Extend last change to case where OUT != 0. 811: 812: Fri Sep 2 11:43:20 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 813: 814: * stmt.c (fixup_var_refs): Adjust last_parm_insn when deleting insns. 815: 816: * expr.c (emit_push_insn): calling memcpy, bump TEMP 2 pointers worth. 817: 818: Thu Sep 1 16:39:57 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 819: 820: * reload1.c (choose_reload_targets): Test for canceled reload 821: before looking inside reload_out. 822: 823: * jump.c (jump_optimize): Bug in last change. 824: 825: * m68k.md (return): Pattern disabled; confuses Aug 29 stmt.c change. 826: * ns32k.md, i386.md: likewise. 827: 828: * emit-rtl.c (emit_note_force): New, like emit_note but always do it. 829: * stmt.c (expand_function_end): Use emit_note_force. 830: 831: Wed Aug 31 11:34:08 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 832: 833: * reload1.c (alter_reg): New arg FROM_REG is hard reg that the pseudo 834: was spilled from. Works with spill_stack_slot. Callers changed. 835: Now all pseudos spilled from one hard reg get the same slot. 836: (reload): Initialize new variable spill_stack_slot. 837: 838: * cse.c (cse_insn): Don't insert floating point mems if -ffloat-store. 839: 840: * reload.c (find_equiv_reg): Allow no equivs for volatile memrefs. 841: Also none for floating mem refs if -ffloat-store. 842: 843: * output-sparc.c (output_mul_by_constant): make `p' and `log' unsigned. 844: 845: Tue Aug 30 13:47:12 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 846: 847: * jump.c (jump_optimize): Ignore other NOTEs while looking for 848: a NOTE_INSN_FUNCTION_END. 849: 850: * integrate.c (save_for_inline): Flush extra call to max_reg_num. 851: Don't copy NOTEs that are NOTE_INSN_FUNCTION_END. 852: (copy_for_inline): Don't copy NOTEs that are NOTE_INSN_FUNCTION_END. 853: 854: * stmt.c (optimize_bit_field): If bit field is SRC, strip subregs 855: from the DEST. 856: 857: * expmed.c (expand_mult): Special case for -1 as one operand. 858: 859: Mon Aug 29 12:14:51 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 860: 861: * stmt.c (expand_goto_internal, expand_fixup): New arg LAST_INSN. 862: (expand_return): Pass that arg in tail-recursive case. 863: (other callers): Pass 0 for that arg. 864: (expand_null_return): Handle HAVE_return nonzero w/ FUNCTION_EPILOGUE. 865: (expand_null_return_1): New fn, has guts of old expand_null_return. 866: (expand_return): Call expand_null_return_1 to pass LAST_INSN arg. 867: (expand_return): Handle HAVE_return nonzero w/ FUNCTION_EPILOGUE. 868: (expand_function_{start,end}): Likewise. 869: (expand_cleanups): Fix typo in recursive-list case. 870: (move_cleanups_up): New fn. 871: 872: * expr.c (expand_call): Execute cleanups_of_this_call on exiting. 873: Notice calls to __builtin_new (but don't do anything about them yet). 874: 875: * reload.c (push_reload): If reloading a (SUBREG (MEM ...) ...), 876: really reload just the MEM in the MEM's own mode. 877: 878: * sparc.md: Define patterns for insns that set the ccs. 879: Define set-flag insns. 880: New patterns for indexed load, and for optimizing signed bit fields. 881: (mulsi3, umulsi3): Give "r" constraint to operand 0. 882: Peephole optimizers recognize some cases where delay insns are safe. 883: Changed patterns for call and return insns as well. 884: 885: * output-sparc.c (single_insn_src_p): New fn. 886: (output_delay_insn): New fn. 887: 888: * tm-sparc.h (TARGET_EPILOGUE): New target flag. 889: (NOTICE_UPDATE_CC): New clause for funny PARALLEL with a REG in it. 890: 891: * m68k.md (movqi): Use *'s to ensure preferencing d-regs. 892: 893: * c-parse.y (datadef): If traditional, no warning about no specs. 894: 895: Sun Aug 28 14:34:33 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 896: 897: * tm-i386.h: Define PROMOTE_PROTOTYPES. 898: POINTER_BOUNDARY now 32. 899: 900: * regclass.c (reg_scan): Compute `max_parallel', max # of sets and 901: clobbers in any insn in this function. 902: * global-alloc.c (global_conflicts): Use that, not MAX_SETS_PER_INSN. 903: 904: * stmt.c (expand_asm_operands): MAX_SETS_PER_INSN limits # output ops. 905: 906: * emit-rtl.c (init_emit_once): Make elt 2 of {f,d}const0_rtx nonzero. 907: 908: * c-decl.c (lang_decode_option): Handle -Wwrite-string. 909: * c-parse.y (combine_strings): If that flag, make array of const char. 910: 911: * expr.c (expand_expr): for INTEGER_CST, always use immed_double_const; 912: never do output_constant_def (it didn't work). 913: Also heed WORDS_BIG_ENDIAN. 914: 915: * varasm.c (output_constant): Handle integer CONST_DOUBLEs. 916: (output_constant_def): Abort if arg is an INTEGER_CST. 917: 918: * emit-rtl.c (gen_rtx): Don't return {f,d}const0_rtx for DImode. 919: 920: Sat Aug 27 12:37:23 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 921: 922: * c-decl.c (pushdecl): Global extern decls set TREE_PUBLIC 923: like local ones. 924: 925: * integrate.c (expand_inline_function): Handle parms that were 926: passed in registers but whose homes are on the stack. 927: 928: * varasm.c (force_const_mem): Output ints according to spec'd mode. 929: ({record,compare}_constant_rtx,const_hash_rtx,decode_rtx_const): 930: Take mode as argument; pass it along. 931: 932: * c-parse.y (read_escape): No warning for `\{' or `\['. 933: 934: Fri Aug 26 12:23:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 935: 936: * stmt.c (fixup_memory_subreg): Typo calculating big-endian adjust. 937: 938: * vax.md (call_value): Handle >255 args as in `call'. 939: 940: Thu Aug 25 16:00:51 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 941: 942: * jump.c (delete_jump): Don't delete the cc-setter if it has autoinc. 943: 944: Wed Aug 24 16:33:37 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 945: 946: * expr.c (expand_expr): For sun with a COND_EXPR, use SUBTARGET 947: if validate_subtarget says ok. 948: 949: * tree.c (build_index_type): make_index_type moved here and renamed. 950: 951: * combine.c (move_deaths_2): New function. 952: (try_distrib): Use that, not move_deaths. 953: 954: * tm-sparc.h (SHIFT_COUNT_TRUNCATED, STORE_FLAG_VALUE): Define them. 955: 956: * tm-sparc.h: FUNCTION_{PRO,EPI}LOGUE: Save room for ins and 957: locals to spill to the frame if any ins *or* locals are live. 958: 959: * tm-sparc.h (NOTICE_UPDATE_CC): Delete the clause that always 960: cleared the cc's for unrecognized insns. 961: 962: * reload1.c (reload_as_needed): Don't try to use a spill-reg 963: in a basic block that wasn't spilled: ignore optional reloads. 964: 965: Tue Aug 23 09:45:05 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 966: 967: * output-sparc.c (output_scc_insn): New function. 968: 969: * expr.c (expand_builtin, alloca): Round result of alloca 970: up to a multiple of STACK_BYTES. 971: 972: * toplev.c (compile_file): Default main_input_filename is cc1 input. 973: 974: * tm-i386.h (FUNCTION_BOUNDARY): 32 avoids extra prefetch. 975: 976: * i386.md (movdi, movdf): Add `&' where needed in constraints. 977: 978: Mon Aug 22 11:57:51 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 979: 980: * symout.c (symout_finish): Allocate typevector after the symout_types. 981: 982: Sun Aug 21 16:10:54 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 983: 984: * tm-3b1.h (ASM_FORMAT_PRIVATE_NAME): Use a `_' as well as `%'. 985: 986: * expr.c (expand_expr): Typo setting MODE for MAX_EXPR. 987: 988: * Makefile (stage*): If ln fails, copy gnulib to stage*. 989: (realclean): Do `clean' and then some. 990: (install): new var USER_H specifies headers to copy. 991: 992: * c-typeck.c (build_binary_op_nodefault): LT_EXPR, etc. 993: on ptr vs int failed to set result_type. 994: (build_conditional_expr): Don't replace nonzero int 995: with null_pointer_node. 996: 997: * combine.c (remove_links, try_distrib): New fns. 998: (subst): New simplifications for ZERO_EXTEND, SIGN_EXTEND. 999: (combine_instructions): Call try_distrib. 1000: (FAKE_EXTEND_SAFE_P): Allow SUBREGs. 1001: 1002: * m68k.md (non-FPA pattern for floatsisf2): Typo, had DF for SF. 1003: 1004: Sat Aug 20 12:04:37 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1005: 1006: * integrate.c (copy_address): Variant of copy_rtx_and_substitute. 1007: (copy_rtx_and_substitute): Use copy_address for MEM address that 1008: doesn't satisfy memory_address_p. 1009: 1010: * reload.c (find_reloads): If force_reload set, don't set WIN 1011: for a MEM even if `m', `o' or `g' in constraint. 1012: 1013: * i386.md (expendqihi2): Typo in asm template. 1014: 1015: * toplev.c (rest_of_compilation): Call clear_const_double_mem. 1016: * varasm.c (init_const_rtx_hash_table): Don't call it here. 1017: (immed_real_const): Don't record the rtx in the REAL_CST node. 1018: (force_const_double_mem, clear_const_double_mem): Use cc0_rtx, not 0, 1019: as flag for a CONST_DOUBLE not on the chain. 1020: 1021: * cccp.c (handle_directive): If traditional, do scan strings 1022: but accept unterminated ones. 1023: (collect_expansion): -traditional: Don't recognize comments in strings. 1024: Stringify arguments that appear within strings. 1025: (skip_quoted_string): -traditional: Always exit at newline. 1026: (macroexpand): -traditional: Don't put `"'s around stringified arg. 1027: (macarg): Set stringified_length accordingly. 1028: 1029: * c-decl.c (duplicate_decls): Avoid error redeclaring fcn after 1030: implicit decl if -traditional. 1031: 1032: * toplev.c (announce_function, report_error_function): 1033: Change communication logic between these fcns. 1034: 1035: * c-decl.c (lang_decode_options): Handle -Wall here. 1036: * toplev.c (main): not here. 1037: 1038: * tm-bsd386.h: Don't include tm-i386.h--be like tm-att386.h 1039: 1040: Fri Aug 19 11:08:36 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1041: 1042: * config-sun4.h: If sparc, include config-sparc.h. 1043: Never include alloca.h. 1044: 1045: * tm-m68k.h (TARGET_SWITCHES): Define `-mc68020', `-mc68000'. 1046: 1047: * c-decl.c (init_decl_processing): If traditional, use signed sizetype. 1048: 1049: * gcc.c (main): Use stderr for printing version. 1050: 1.1.1.6 root 1051: Thu Aug 18 14:42:36 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1052: 1053: * Version 1.26 released. 1054: 1055: * m68k.md (movsi): Constraint change for fpa regs. 1056: 1057: * reload1.c (choose_reload_targets): Clear reg_reloaded_contents 1058: for all regs of a multi-reg group. 1059: 1060: * reload.c (find_equiv_reg): HARD_REGNO_NREGS wants mode, not size. 1061: Check properly for overlap against multiword reload regs. 1062: 1063: Tue Aug 16 14:54:18 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1064: 1065: * varasm.c, expr.c (immed_double_const): immed_real_const_2 renamed. 1066: 1067: * tm-i386.h (SFVALUE): Should be `double'. 1068: * tm-i386v.h (SFVALUE): Don't override it. 1069: 1070: * tm-i386.h (ASM_OUTPUT_ASCII): Don't define it. 1071: * tm-att386.h: Definition moved here. 1072: 1073: * tm-bsd386.h: New file, for Sequent. 1074: * tm-seq386.h: New file, for Sequent. 1075: * config-i386.h: New file, for Sequent. 1076: 1077: * expr.c (push_block): Take account of STACK_POINTER_OFFSET. 1078: (expand_call): Therefore need not do so here. 1079: 1080: * optabs.c (expand_fix): Typo if going via DImode. 1081: 1082: * reload1.c (choose_reload_targets): Don't * reload_reg_rtx if 0. 1083: 1084: Mon Aug 15 01:11:49 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1085: 1086: * integrate.c (copy_for_inline): Don't try copying 0-length vector. 1087: (copy_rtx_and_substitute): Likewise. 1088: 1089: * m68k.md (andsi3): use clrw instead of andw #0. 1090: 1091: * print-tree.c (walk): Don't omit permanent nodes reach from temps. 1092: 1093: * m68k.md (zero_extend...): Reinstall the old zero-extend insns 1094: without names, so they can help the combiner. 1095: 1096: * expr.c (expand_expr): Don't use hard regs as subtargets. 1097: * combine.c (FAKE_EXTEND_SAFE_P): Always consider MEMs safe. 1098: * reload.c (find_reloads): For (SUBREG (MEM ...)) set force_reload. 1099: 1100: * c-parse.y (redescape): Don't warn for `\('. 1101: 1102: * reload.c (find_reloads_address): #if was backwards. 1103: 1104: Sun Aug 14 16:52:22 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1105: 1106: * c-typeck.c (shorten_compare): Change switch to chain of ifs. 1107: 1108: * tm-ns32k.h (PRINT_OPERAND): CONST_DOUBLE contains a double 1109: even if it's SFmode. 1110: (FUNCTION_PROLOGUE): If MAIN_FUNCTION_PROLOGUE defined, run it. 1111: 1112: * cccp.c (file_buf): Rename field `free' to `free_ptr'. 1113: 1114: * Makefile (ALLOCA, MALLOC, LIBDEPS): New variables for easier 1115: customization. Executables depend on LIBDEPS instead of OBSTACK1. 1116: (cccp): Deps and libs now work like the others. 1117: 1118: * output-i386.c (notice_update_cc): Rewritten for clarity. 1119: 1120: * tm-i386.h (OUTPUT_JUMP): If CC_IN_OVERFLOW, abort. 1121: 1122: * recog.c (push_operand): Test for stack_pointer_rtx. 1123: 1124: * integrate.c (copy_rtx_and_substitute): Don't submit push-operands 1125: to `memory_address'--it would lose on machines where pushing is 1126: a special insn, not an addressing mode. 1127: 1128: * output-i386.c (top_dead_p): No more redundancy--that didn't work. 1129: Now one method if optimized, one for call_insns if noopt, one for 1130: other insns if noopt. 1131: (call_top_dead_p): fp_top_dead_p renamed 1132: and only the call-insn clause remains. 1133: 1134: * i386.md (cmpsf, cmpdf): Output was backwards. 1135: (", tstsf, tstdf): Set CC_IN_80387. 1136: (incb pattern): Restrict allowable registers. 1137: (movsf, movdf): Call top_dead_p only when absolutely necessary. 1138: (call_value): Use top_dead_p, not subroutine. 1139: 1140: Sat Aug 13 15:19:23 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1141: 1142: * stupid.c (stupid_life_analysis): If only 1 reg class, 1143: call stupid_find_reg only once. 1144: 1145: * stmt.c (expand_function_start): 1146: Clear current_function_pretend_args_size. 1147: 1148: * expr.c (store_constructor): If target is hard reg, go via a pseudo. 1149: 1150: * varasm.c (real_constant_chain): Now static in this file. 1151: (force_const_double_mem): Put R on chain if not already on. 1152: (clear_const_double_mem): Set XEXP (,2) to 0; 1153: also clear real_constant_chain and the chain links. 1154: * emit-rtl.c (init_emit_once): Put 0 in XEXP (,2) of {d,f}const0_rtx. 1155: * cse.c (canon_hash): For CONST_DOUBLE, ignore elts other than 0,1. 1156: 1157: Fri Aug 12 11:48:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1158: 1159: * reload1.c (order_regs_for_reload): Handle REG_ALLOC_ORDER more spots. 1160: 1161: * global-alloc.c (find_reg): error handling REG_ALLOC_ORDER; 1162: also error skipping regs known to be hopeless. 1163: * local-alloc.c (find_free_reg): error skipping hopeless regs. 1164: * stupid.c (stupid_find_reg): likewise. 1165: 1166: * local-alloc.c (qty_compare_1): typo, had q1 for q2. 1167: 1168: * expr.c (expand_expr): Don't use supplied target when optimizing 1169: arithmetic using a comparison or conditional; that target could be 1170: needed for the result of the comparison. 1171: 1172: * reload1.c (reload): Don't set reg_equiv_constant for hard regs. 1173: 1174: * stupid.c (stupid_life_analysis): Ignore reg R if regno_reg_rtx[R]==0. 1175: 1176: * symout.c (symout_finish): Use perm. links in permanent_fwd_refs. 1177: 1178: * i386.md (movhi, movqi): Check no_labels_between_p. 1179: 1180: Thu Aug 11 10:44:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1181: 1182: * c-parse.y (yylex): Out-of-range float is just a warning. 1183: 1184: * tm-gnx-v3.h: New file for Genix. 1185: * ns32k.md (movsi, call, call_value): GNX_V3 conditionals. 1186: * tm-ns32k.h (PRINT_OPERAND_ADDRESS): Changes for Genix. 1187: 1188: * ns32k.md (insv patterns): Operand 0 is read-write. 1189: 1190: * i386.md (tstsf, tstdf): Don't push the arg if already in st(0). 1191: 1192: * varasm.c (output_constant_def): If EXP is permanent, the rtl is too. 1193: 1194: * tm-*.h (ASM_OUTPUT_{LOCAL,COMMON}): New 4th arg, rounded size 1195: vs unrounded size. 1196: * varasm.c (assemble_variable): Pass new arg. 1197: * symout.c (symout_init): Likewise. 1198: 1199: * cccp.c (rescan): Don't let char const cross lines. 1200: (skip_quoted_string, macarg1, discard_comments): Likewise. 1201: 1202: * expr.c (expand_expr, VAR_DECL case): handle flag_force_addr. 1203: 1204: * tm-i386v.h (TAREGT_DEFAULT): Assume 80387. 1205: * config-i386v.h (alloca): Use __builtin_alloca under GNU C. 1206: 1207: Wed Aug 10 11:23:06 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1208: 1209: * reload.c (find_reloads): Alternative loses 1210: if it has no regs for a reg operand. 1211: 1212: * tm-sun3.h (STARTFILE_SPEC): Define, for fpa's sake. 1213: * tm-m68k.h: New hard regs, reg classes, reg class letters, 1214: target flag and switch, operand syntax and CC handling for fpa. 1215: * m68k.md: Add fpa insn patterns. 1216: * output-m68k.c (standard_SunFPA_constant_p): New fn. 1217: (output_move_const_{single,double}): Handle fpa regs. 1218: (singlemove_string): Handle fpa regs. 1219: 1220: * stmt.c (fixup_memory_subreg): Result had wrong mode. 1221: 1222: * ns32k.md (insv patterns): Adjust bit-number along with address. 1223: 1224: * sparc.md (negdf2, absdf2): Order of the words was backwards. 1225: 1226: * reload1.c (new_spill_reg): End confusion about meaning of 1st arg. 1227: Arg counted_for_nongroups had wrong type. 1228: 1229: * tm-m68k.h (FUNCTION_{PRO,EPI}LOGUE): Round frame size to word bdry. 1230: 1231: Tue Aug 9 07:53:59 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1232: 1233: * tm-i386.h (ASM_OUTPUT_ASCII): Don't lose the sign bit. 1234: 1235: * tm-i386v.h (STARTFILE_SPEC, LIB_SPEC): Use crt1.o, crtn.o. 1236: 1237: * stmt.c (fixup_var_refs_1): fixup all memory subregs. 1238: 1239: * reload1.c (choose_reload_targets): Don't strip paradoxical 1240: subregs from values to be reloaded. 1241: 1242: * cccp.c: Comment out text after #endif. 1243: 1244: * c-parse.y (init): Allow empty braces as init; warn if pedantic. 1245: 1246: * c-decl.c: Move C-specific options from toplev.c. 1247: * c-tree.h: Move their externs from flags.h. 1248: * c-decl.c (lang_decode_option): New fn called by `main'. 1249: * toplev.c (sorry, really_sorry): New error reporting fns. 1250: * c-decl.c (language_string): New var, name of this language. 1251: 1252: * c-parse.y: Don't include flags.h. 1253: * dbxout.c: Do include it. 1254: 1255: * dbxout.c (dbxout_type): Handle function fields and static fields 1256: and basetypes. Handle METHOD_TYPE and REFERENCE_TYPE. 1257: Abort on unexpected tree code. 1258: (dbxout_args): New fn to output prototype arg types. 1259: (everywhere): Use IDENTIFIER_LENGTH instead of strlen. 1260: (dbxout_type_name): Cleanup; avoid strlen. 1261: 1262: * local-alloc.c (reg_is_set): Don't call {post_,}mark_life for pseudos. 1263: 1264: * tree.h (TYPE_BASECLASSES): New field in type nodes. 1265: 1266: * ns32k.md (insv patterns): Was adjusting the address wrong. 1267: 1268: * c-decl.c (grokdeclarator): Just a warning for inline varargs fn. 1269: 1270: Mon Aug 8 08:16:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1271: 1272: * varasm.c (immed_real_const_2): Guts of creating a CONST_DOUBLE. 1273: * expr.c (expand_expr): Use that for 64-bit int constants. 1274: 1275: * loop.c (invariant_p): Don't check x->unchanging; it's not safe. 1276: 1277: * c-typeck.c (build_indirect_ref): Handle flag_volatile here 1278: so that it propagates to component_refs. 1279: * expr.c (expand_expr): No need to handle it here. 1280: 1281: * integrate.c (save_for_inline, expand_inline_function): 1282: Set up insn_map to record mapping of old uids to copied insns. 1283: (copy_for_inline, copy_rtx_and_substitute): Map 'u' refs via insn_map. 1284: 1285: * emit-rtl (emit_label, emit_barrier): Return what was emitted. 1286: 1287: * sdbout.c (sdbout_filename): Split off from sdbout_init. 1288: * tm-encore.h, tm-3b1.h, tm-vaxv.h, tm-att386.h (ASM_FILE_START): 1289: Call sdbout_filename. 1290: 1291: * toplev.c: Better messages for invalid options. 1292: 1293: * tm-m68k.h (PRINT_OPERAND_ADDRESS): Handle labelref+basereg. 1294: 1295: * tm-3b1.h (PUT_SDB_DIM): Override sdbout's definition. 1296: (ASM_FORMAT_PRIVATE_NAME): Override tm-hp...s definition. 1297: (PUT_SDB_PLAIN_DEF): Prepend `~' to specified name. 1298: (SDB_GENERATE_FAKE): Prepend `~'. 1299: 1300: * gcc.c: Include config.h before obstack.h. 1301: 1302: Sun Aug 7 11:17:56 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1303: 1304: * stor-layout.c (layout_decl): Do nothing with CONST_DECL. 1305: Treat FRIEND_DECLs like variables. 1306: (layout_record): Handle VAR_DECLs and FUNCTION_DECLs in the fieldlist. 1307: Handle basetypes (almost like fields). 1308: (layout_type): Handle REFERENCE_TYPE and METHOD_TYPE. 1309: 1310: * tree.c (temp_tree_cons): New fn. 1311: (array_type_nelts, simple_cst_equal): New fns. 1312: (lvalue_p): CALL_EXPR is an lvalue if it returns REFERENCE_TYPE. 1313: () Manage TYPE_REFERENCE_TO. 1314: (TYPE_HASH_SIZE): Bigger. 1315: (type_list_equal): Compare the TREE_PURPOSE fields. 1316: (build_reference_type, build_method_type): New fns. 1317: 1318: * stmt.c (block_stack): Add field `cleanups' to each element. 1319: (expand_{start,end}_bindings, expand_decl): Update that field. 1320: (stack_block_stack): Now includes blocks that have cleanups. 1321: (goto_fixup_chain): Add field `cleanup_list_list'. 1322: (expand_goto_internal): Execute cleanups for blocks being exited. 1323: (expand_fixup): Make a fixup if any block has cleanups. 1324: (fixup_gotos): New args CLEANUPS and DONT_JUMP_IN. 1325: Execute cleanups for blocks being exited, or add to cleanup_list_list. 1326: (expand_end_bindings): New arg DONT_JUMP_IN. Execute any cleanups. 1327: (expand_decl): New arg CLEANUP. 1328: (expand_cleanups, fixup_cleanups): New functions. 1329: * c-decl.c: Calls to expand_decl pass new arg. 1330: * c-parse.y: Calls to expand_end_bindings pass new arg. 1331: 1332: * stmt.c (expand_return): Handle INIT_EXPR, or bare RESULT_DECL. 1333: 1334: * stmt.c (case_stack): Add field `has_default' to each element. 1335: (pushcase,expand_end_case): Maintain and use that field. 1336: 1337: * stmt.c (pushcase): Handle RANGE_EXPR cases. 1338: (pushcase_range): Create RANGE_EXPR cases. 1339: 1340: * final.c (final): Always pass 3 args to ASM_OUTPUT_CASE_END. 1341: * tm-3b1.h: Delete offending spaces. 1342: 1343: Fri Aug 5 16:17:16 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1344: 1345: * integrate.c (copy_rtx_and_substitute): Don't make fp+reg+const 1346: without an intermediate temporary reg. 1347: 1348: * print-tree.c (dump): Don't print an identifier's chain. 1349: 1350: * toplev.c (compile_file): Treat `.i' suffix like `.co'. 1351: 1352: * gcc.c: New config macro CC1_SPEC: extra switches for cc1. 1353: Make a new spec for `.i' files. 1354: 1355: * c-decl.c (pushdecl, finish_decl): Delete duplicate tests. 1356: 1357: * varargs.h: Maybe include va-sparc.h or va-spur.h. 1358: * va-sparc.h: New file. 1359: * va-spur.h: renamed file. 1360: 1361: * tree.h ({TYPE,DECL}_LANG_SPECIFIC): Types and decls can point to 1362: language-specific structures containing other info. 1363: * print-tree.c (dump): Hooks for printing the language-specific 1364: data in types and decls. 1365: 1366: Thu Aug 4 08:54:30 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1367: 1368: * tree.def: Add some tree codes for C++. 1369: 1370: * Rename files: parse.[yh] -> c-parse.[yh], decl.c -> c-decl.c, 1371: typecheck.c -> c-typeck.c. 1372: Part of tree.c split out to c-convert.c. 1373: 1374: * expr.c (push_block): No longer static. 1375: (expand_expr): Handle REFERENCE_EXPR and INIT_EXPR. 1376: (expand_call): Turn a METHOD_TYPE to a FUNCTION_TYPE. 1377: This is probably not all that is required. 1378: 1379: * parse.y (yylex): Use p->rid to check for `signed' and `inline'. 1380: 1381: * tm-sparc.h (ASM_OUTPUT_SOURCE_LINE): typo. 1382: 1383: * sparc.md: Add a pattern for andcc. 1384: (cmpsf): Clobber reg 32 in DFmode. 1385: (branches): There are no unsigned floating branches; abort. 1386: (bgt): Correct name of floating variant. 1387: (mov?i): Load small constants via mov. 1388: (movdf for constants): Use mov, not add, to move regs. 1389: (movsf, floatsi*, fix*): Simplify reg-to-reg-via-mem move generation. 1390: (trunc*): Use mov, not or, to move regs. 1391: (negsi2, one_cmplsi2): Avoid "neg" and "not" assembler syntax. 1392: (call...): Generate "call" insns; handle #-reg-parms value. 1393: * Define some peepholes for return insns. 1394: 1395: * tm-sparc.h (TARGET_SUN_ASM): New target flag. 1396: (TARGET_DEFAULT): Now 1. 1397: (FRAME_POINTER_REQUIRED): Now 1. 1398: (STARTING_FRAME_OFFSET): Now -16. 1399: (LEGITIMATE_CONSTANT_P): Only CONST_DOUBLEs fail. 1400: (FUNCTION_{PROLOGUE,EPILOGUE}): Rewritten. 1401: 1402: * output-sparc.c (small_int): Test for int that mov can load. 1403: (singlemove_string): Use mov, not add. 1404: (output_move_double): Changes for overlap and for use of ldd, std. 1405: (output_fp_move_double): Use ldd, std when safe. 1406: (make_f0_contain_0): Simplify. 1407: 1408: * integrate.c (expand_inline_function): Some special CALL_INSN 1409: handling no longer needed due to REG_FUNCTION_VALUE_P. 1410: 1411: * m68k.md (movqi): Constraints allow moving areg to areg. 1412: 1.1.1.5 root 1413: Wed Aug 3 08:29:31 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1414: 1.1.1.6 root 1415: * Version 1.25 released. 1416: 1.1.1.5 root 1417: * integrate.c (expand_inline_function): Don't let MEM be inline_target. 1418: 1419: Tue Aug 2 09:13:37 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1420: 1421: * integrate.c (INTEGRATE_THRESHOLD): New macro, default dfn here. 1422: (function_cannot_inline_p): Use it. 1423: 1424: * rtl.h (REG_FUNCTION_VALUE_P): New macro. 1425: * stmt.c (expand_function_start): Set that flag in the return reg. 1426: * integrate.c (expand_inline_function, copy_rtx_and_substitute): 1427: Test that flag to test for the return value. 1428: * expmed.c (expand_fixed_bit_field, expand_mult, expand_divmod): ditto. 1429: FUNCTION_VALUE_OUTGOING_REGNO_P no longer needed. 1430: 1431: Mon Aug 1 02:46:08 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1432: 1433: * integrate.c (copy_rtx_and_substitute): If NO_FUNCTION_CSE, 1434: don't break out constant fcn addresses here. 1435: 1436: * expmed.c (expand_fixed_bit_field): Tests of FUNCTION_VALUE_REGNO_P 1437: were backwards. 1438: 1439: Sun Jul 31 13:10:07 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 1440: 1441: * recog.c (indirect_operand): New function. 1442: 1443: * output-i386.c (print_operand): define %*. eliminate %s. 1444: (fp_top_dead_p): In nonopt case, skip stack-adjusts while looking 1445: for the insn that uses the function value. 1446: 1447: * varasm.c (text_section, data_section): New functions. 1448: Replaced explicit printfs elsewhere with calls to them. 1449: * final.c (final_start_function): Use these fns. 1450: * sdbout.c (sdbout_one_type): Use text_section. 1451: * tm-att386.h (ASM_OUTPUT_LOCAL): Use data_section. 1452: 1453: * expr.c (prepare_call_address): Don't pass const via reg if no -O. 1454: 1455: * tm-sparc.h (FUNCTION_{PROLOGUE,EPILOGUE}) Round the size of saved 1456: registers. Fix bug counting saved registers. 1457: 1458: * tm-sparc.h (ASM_OUTPUT_SOURCE_LINE): Define this macro. 1459: 1460: * tm-sparc.h (DEFAULT_SIGNED_CHAR): Now 1. 1461: 1462: * expr.c (expand_builtin, alloca case): Adding stack offset needs 1463: special code if TARGET is a MEM. 1464: 1465: * dbxout.c (dbxout_init): Define Ltext: after the reference to it. 1466: 1467: * tm-3b1.h (ASM_OUTPUT_CASE_LABEL): `short 0' triggers assembler bug; 1468: `short L%nn-L%nn' supposedly works. 1469: 1470: Sat Jul 30 00:25:52 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1471: 1472: * sparc.md (floatsidf2): Minor change in output. 1473: (fix_trunc{sf,df}si2): Similar. 1474: 1475: * output-sparc.c (output_fp_move_double): Minor change in output. 1476: 1477: * stmt.c (assign_parms): Don't count stack space for struct value 1478: address if the function does not have one. 1479: 1480: * sdbout.c: Output .dim's and total size for arrays. 1481: Detect bit-fields properly. 1482: Changed handling of structure tags. 1483: 1484: * reload1.c (new_spill_reg): counted_for_nongroups is a new arg; 1485: store 1 in it if this reg is needed for max_nongroups. 1486: 1487: * reload1.c (choose_reload_targets): Allow inheritance of DFmode 1488: if it needs only one register. 1489: 1490: * reload1.c (choose_reload_targets): Delete the death-note from the 1491: store-insn of an inherited reload if PRESERVE_DEATH_INFO_REGNO_P. 1492: 1493: * reload.c (push_reload): Crash if PREFERRED_RELOAD_CLASS is NO_REGS. 1494: (find_reloads): Smarter handling of forcing CONST_DOUBLE into mem. 1495: Check PREFERRED_RELOAD_CLASS & do this if it says NO_REGS. 1496: 1497: * reload.c (subst_indexed_address): Handle case with 2 regs 1498: and no constant term. 1499: 1500: * local-alloc.c: New variable qty_n_refs, set from reg_n_refs 1501: and tested in qty_compare{,_1}. 1502: (combine_regs): Update qty_n_refs. 1503: Update qty_preferred_or_nothing more intelligently. 1504: 1505: * regclass.c (regclass, reg_class_record, record_address_regs): 1506: Count the number of refs to each reg along with the costs, 1507: and use it when computing the preferred_or_nothing flag. 1508: (Can't use reg_n_refs since that is weighted by loop depth). 1509: 1510: * global-alloc.c (global_alloc): Enable test of OVERLAPPING_REGNO_P 1511: for setting no_global_alloc_regs. 1512: 1513: * expr.c (prepare_call_address): Use force_reg, so it gets a REG_EQUIV. 1514: 1515: * optabs.c (can_{fix,float}_p): Return enum insn_code, not a function. 1516: (init_{fix,float}_tab): Store enum insn_code's in fixtab and floattab. 1517: (expand_{fix,float}): Change calls to can_{fix,float}_p. 1518: Also, use emit_unop_insn to make the actual insns. 1519: 1520: Fri Jul 29 02:42:40 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1521: 1522: * cccp.c (initialize_char_syntax): If dollars_in_identifiers is 0, 1523: set entries for `$' to 0. 1524: Set entries to 1 rather than incrementing them. 1525: 1526: Tue Jul 26 11:14:22 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1527: 1528: * varasm.c (assemble_variable): Make SDB output only if top-level. 1529: 1530: * local-alloc.c (reg_is_set): Arg to mark_life is regno, not qty. 1531: 1532: * output-ns32k.c (print_operand_address): New flag SEQUENT_BASE_REGS 1533: * tm-sequent.h: Define that flag. 1534: 1535: * Makefile: add some missing deps. 1536: 1537: * tm-encore.h (ASM_FILE_START): Changed to do nothing. 1538: 1539: * sdbout.c (sdbout_init): Fix two dumb errors. 1540: 1541: * sdbout.c (sdbout_end_epilogue): No longer takes arg. 1542: Examine current_function_decl here, not in caller. 1543: * final.c: Call changed. 1544: 1545: Mon Jul 25 01:32:54 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1546: 1547: * stor-layout.c (layout_record): Handle PCC_BITFIELD_TYPE_MATTERS. 1548: 1549: * tm-3b1.h (__PTR_TO_INT, __INT_TO_PTR): Define these, to alter 1550: parts of obstack.h. 1551: 1552: Sun Jul 24 17:56:53 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1553: 1554: * Padding for an arg may now go below or above it; new macro 1555: FUNCTION_ARG_PADDING can now choose which, or can inhibit padding. 1556: This makes for compatibility with PCC. 1557: * expr.h: Default definition of that macro. 1558: * expr.c (emit_push_insn): Put the padding above or below. 1559: (expand_call): Don't count the padding if none wanted. 1560: * stmt.c (assign_parms): Adjust parm stack addr if padded below. 1561: Don't count the padding if none wanted. 1562: * tm-3b1.h: Define FUNCTION_ARG_PADDING: no padding for > 4 bytes. 1563: 1564: * final.c (alter_subreg): Now returns the altered value 1565: (but may still modify the original structure). 1566: Handles (SUBREG:DI (CONST_DOUBLE:DF...)) by returning the CONST_DOUBLE. 1567: 1568: * m68k.md (DImode push): now allows `F'. 1569: * ns32k.md (movdi): now allows `F'. 1570: 1571: * tm-m68k.h (FIX_FRAME_POINTER_ADDRESS): 1572: Handle indexed references to frame pointer. 1573: * tm-i386.h, tm-m88k.h, tm-sparc.h: Likewise. 1574: 1575: * cse.c (predecide_loop_entry): Must search for the loop top label. 1576: 1577: Sat Jul 23 08:53:01 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 1578: 1579: * parse.y (yylex): typo in wide strings. 1580: 1581: * tm-vaxv.h, config-vaxv.h: New files for sysV on vax. 1582: 1583: * config-sun4.h: If sparc and not compiling with GCC, include alloca.h. 1584: 1585: Fri Jul 22 02:38:02 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 1586: 1587: * tree.c (build_real_from_int_cst): CHECK_FLOAT_VALUE at proper place. 1588: 1589: * tm-hp9k320.h ({TEXT,DATA}_SECTION_ASM_OP): Should not include a tab. 1590: * final.c (final_start_function): Don't output a tab before those. 1591: 1592: * sdbout.c (PUT_SDB_EPILOGUE_END): New macro. 1593: * sdbout.c (sdbout_end_epilogue): New function to output the C_EFCN. 1594: Like former sdbout_mark_end_function. Uses that macro. 1595: * final.c (final_end_function): Call that function. 1596: * tm-3b1.h: Override PUT_SDB_EPILOGUE_END like the other PUT_SDB... 1597: 1598: * tm-3b1.h (PRINT_OPERAND_ADDRESS, ASM_OUTPUT_INTERNAL_LABEL, 1599: ASM_OUTPUT_CASE_{LABEL,END}): Put a % in names of internal labels. 1600: (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): 1601: New macros, for same reason. 1602: (FUNCTION_PROFILER): New macro, for % and also to put addr in a0. 1603: 1604: * final.c (output_source_line): For fcn's first line, use lineno 1. 1605: * sdbout.c (sdbout_end_function): Clear sdb_begin_function_line 1606: so can recognize first line of next function. 1607: 1608: * sdbout.c (sdbout_init): Output the .file pseudo here. 1609: * tm-3b1.h, tm-att386.h (ASM_FILE_START): Don't do it here. 1610: 1611: * sdbout.c (PUT_SDB_VAL): Output leading tab, like the other macros. 1612: * tm-3b1.h (PUT_SDB_VAL): Likewise. 1613: 1614: * regclass.c (regclass): Cast enums to int, not char. 1615: * varasm.c (record_constant): Likewise. Avoids 3b1 PCC bug. 1616: 1617: * decl.c (pushdecl): Better choice of error message for extern/static. 1618: 1619: * emit-rtl.c: Do look for STRUCT_VALUE_INCOMING_REGNUM. 1620: 1621: Thu Jul 21 02:13:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1622: 1623: * cse.c (canon_hash): CONST_INT case failed to add to prev. value 1624: of HASH; was inconsistent with cse_insn mem address hashing. 1625: 1626: * m68k.md (divide insns): Alternate 3B1 syntax for `swap' insn. 1627: 1628: Wed Jul 20 18:27:10 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1629: 1630: * m68k.md: In shift-by-24 patterns, rejects autoincrement memrefs 1631: since they are mode-dependent. 1632: 1633: Tue Jul 19 13:01:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1634: 1635: * parse.y (check_newline): Handle #ident by writing .ident to output. 1636: * cccp.c: Don't handle #ident; delete IDENT_DIRECTIVE conditionals. 1637: 1638: * stmt.c (expand_end_case): In compares, put constant arg second. 1639: 1640: * jump.c (jump_optimize): Delete conditional jump if followed by 1641: an unconditional jump to the same place. 1642: 1643: Mon Jul 18 17:49:13 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1644: 1645: * emit-rtl.c (init_emit_once): Now STRUCT_VALUE_INCOMING is an 1646: expression for an rtx. It can make a MEM. Likewise STRUCT_VALUE 1647: for outgoing structure value addresses. 1648: 1649: * stmt.c (assign_parms): If incoming struct addr on stack, leave room. 1650: * expr.c (expand_call): If outgoing addr on stack, push it like an arg. 1651: 1652: * PROMOTE_PROTOTYPES means if proto says `char', pass `int'. 1653: * decl.c (get_parm_info): Alter DECL_ARG_TYPE to do this. 1654: * typecheck.c (actualparameterlist): Convert value for this. 1655: * tm-m68k.h: Define PROMOTE_PROTOTYPES. 1656: 1657: Sun Jul 17 14:25:47 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1658: 1659: * jump.c (jump_optimize): peephole can delete insns following INSN. 1660: Set NEXT after peephole. 1661: 1662: * decl.c (finish_decl): Always restart perm alloc if global. 1663: 1664: * stmt.c (assign_parms): When a float is passed as double, store the 1665: float in low-numbered word. Avoids trouble with parm_map in integrate. 1666: 1667: * vax.md: New pattern for decrement and compare against -1. 1668: 1669: Sat Jul 16 14:18:00 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1670: 1671: * decl.c (pushdecl): Ignore previous decl if it's really an error_mark. 1672: 1673: * stmt.c (expand_start_case): Make sure case_stmt.start is a NOTE. 1674: 1675: * combine.c (subst): In the simplification for 1676: (set (zero_extract ...) (and/or/xor (zero_extract ...) const)), 1677: require same memory location in both extracts. 1678: 1679: * *386*: New files. 1680: 1681: * cse.c (fold_rtx): Save time in memory address if it didn't change. 1682: Don't replace cheaper expression with coslier one. 1683: (cse_insn): Reenable generation of REG_WAS_0. It wasn't obsolete. 1684: 1685: * cccp.c: `ident' has 5 letters. 1686: 1687: * final.c (output_source_line): SDB can't handle multiple source 1688: files, so ignore line-NOTEs for other files. 1689: 1690: * hard-reg-set.h: New var reg_class_size (# regs in the class). 1691: * regclass.c (init_reg_class): Set it up. 1692: 1693: * reload.c (find_reloads): If an earlyclobber is in a class of size 1 1694: as an output, reload it as input instead of as output. 1695: 1696: * reload1.c (choose_reload_targets): Improve elimimation of spilled 1697: pseudos made dead by reloading: if pseudo is limited to one block 1698: and that block contains just stores, delete all the stores. 1699: 1700: * reload1.c (choose_reload_targets): reg_has_output_reload is now 1701: static and survives through reload pass. 1702: (forget_old_reloads): Don't cancel data on spilled regs of output 1703: reloads of the insn just made. 1704: 1705: * sdbout.c (sdbout_one_type): Go to .text before defining a type. 1706: (sdbout_block): Test against do_block was backwards. 1707: 1708: * stmt.c (expand_end_function): New args to make a NOTE for last line. 1709: * decl.c (finish_function): Pass the args. 1710: 1711: * rtl.c (no_labels_between): New function. 1712: * vax.md (movsi): Call it. 1713: 1714: * print-tree.c (dump): Don't follow chain of a decl. 1715: 1716: * rtl.c (volatile_refs_p): Moved from flow.c. 1717: 1718: Fri Jul 15 13:36:20 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 1719: 1720: * sdbout.c (PUT_SDB...): Allow config to override any of them. 1721: * sdbout.c (PUT_SDB_{BLOCK,FUNCTION}_{START,END}): New macros. 1722: * tm-3b1.h: Override all of them. 1723: * sdbout.c (SDB_GENERATE_FAKE): New macro to create dummy tag name. 1724: (gen_fake_label): Use SDB_GENERATE_FAKE. 1725: * tm-3b1.h: Override its defn. 1726: 1727: * sdbout.c (sdbout_mark_function_end): Unused; deleted. 1728: 1729: * tm-3b1.h: Define SDB_DEBUGGING_INFO. 1730: 1731: Thu Jul 14 01:55:15 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 1732: 1733: * config-sunv4.h: New file for Sunos version 4. 1734: 1735: * tm-sun3.h (CPP_SPEC): Define mc68010 or mc68020, depending. 1736: 1737: Tue Jul 12 15:31:30 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1738: 1739: * stmt.c (expand_fixup, expand_goto_internal): New functions to 1740: emit a jump that can restore the stack level, even without tree node. 1741: (expand_null_return, expand_exit_loop, etc.): Use expand_goto_internal. 1742: (expand_end_function): Do fixup_gotos after emitting return_label. 1743: 1744: * cse.c (predecide_loop_entry): Avoid using JUMP_LABEL. 1745: * flow.c (find_basic_blocks): Avoid using JUMP_LABEL. 1746: 1747: * flow.c (insn_dead_p): Delete special case for stack-adjust insns. 1748: (life_analysis): Mark those insns with INSN_VOLATILE here. 1749: (mark_used_regs): a SET of a hard reg, in a volatile insn, 1750: always makes its source live. 1751: 1752: Mon Jul 11 10:46:26 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1753: 1754: * ns32k.md (floatqidf2): Commented out since assemblers warn about it. 1755: 1756: Sun Jul 10 11:49:23 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1757: 1758: * decl.c (xref_tag): Default the TYPE_MODE of enum xrefs 1759: to avoid making MEM and REG with VOIDmode. 1760: 1761: * vax.md (call): If > 255 args, pop them explicitly. 1762: 1763: Sat Jul 9 10:53:47 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1764: 1765: * symout.c (symout_types): Fix up forward refs to previously 1766: undefined structure types. 1767: (filter_undefined_types): New function. 1768: (symout_finish, symout_function_end): Output any never-defined structs. 1769: * toplev.c (rest_of_compilation): call symout_function_end. 1770: 1771: * parse.y: Don't declare errno if it's a macro. 1772: 1773: * tm-hp9k320 (FUNCTION_PROFILER): Pass ptr in a0, not d0. 1774: 1775: * typecheck.c (truthvalue_conversion): Flush unnec recursive call. 1776: (build_cond_expr): Bug testing zeroness of IFEXP with TREE_LITERAL. 1777: 1778: * cse.c (fold_cc0): Constants not CONST_INT are certainly nonzero. 1779: * fold-const.c (fold): ADDR_EXPR is not equal to zero. 1780: 1781: * cccp.c (macroexpand): Disable the macro even if traditional. 1782: (rescan): Error if use a disabled macro. 1783: 1784: * combine.c (try_combine): Don't substitute a different reg into 1785: an auto-increment. Handle multiple REG_INC notes in I1 or I2. 1786: 1787: * decl.c (implicitly_declare): Don't reuse old implicit decl. 1788: 1789: * varasm.c (assemble_variable): Avoid syntax err if no DBX and no SDB. 1790: * final.c (output_source_line): likewise. 1791: 1792: * fold-const.c (fold): PLUS/MINUS_EXPR: in case of cancellation, 1793: convert result to original type. 1794: 1795: * regclass.c (reg_class_record): Changed arguments include address 1796: of entire vector of constraints. 1797: 1798: Fri Jul 8 07:59:00 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1799: 1800: * reload1.c (reload): Find groups of more than 2 registers. 1801: 1802: Thu Jul 7 08:33:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1803: 1804: * expr.c (emit_push_insn): Typo adjusting arg for bcopy 1805: if not STACK_GROWS_DOWNWARD. 1806: 1807: * gnulib.c (_cmpsf2): Value is int, not SFVALUE. 1808: 1809: Wed Jul 6 11:53:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1810: 1811: * tm-encore.h, tm-3b1.h: Replace ASM_FILE_START; output a .file. 1812: 1813: * *m88*: New files for Motorola 88000. They don't really work. 1814: 1815: Tue Jul 5 14:40:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1816: 1817: * local-alloc.c (combine_regs): Don't tie a reg to itself. 1818: 1819: * finxincludes: Make a variable LIB for the target dir. 1820: 1821: * m68k.md (movhi, addhi3, addsi3): Micro-optimize choice of asm insns. 1822: 1823: * expr.c (expand_expr): Use new macros NO_DEFER_POP, OK_DEFER_POP 1824: in several places, to keep stack predictable. 1825: 1826: Mon Jul 4 09:50:18 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1827: 1828: * integrate.c (function_cannot_inline_p): Increase threshold size. 1829: 1830: * flags.h (use_gdb_dbx_extensions): New variable. 1831: * toplev.c: 1832: 1833: * sdbout.c (PUT_SDB_TAG): Delete duplicate defn. 1834: 1835: * expr.c (expand_expr): For FIX_TRUNC_EXPR to unsigned short/char, 1836: REALLY go via signed int. 1837: 1838: * loop.c (may_trap_p): Was detecting floating arithmetic incorrectly. 1839: 1840: * tm-news800.h (CPP_PREDEFINES): Add sony and sony_news. 1841: 1842: * parse.y (check_newline): Avoid infinite loop at eof. 1843: 1.1.1.4 root 1844: Sat Jul 2 10:35:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1845: 1846: * Version 1.24 released. 1847: 1848: * stmt.c (expand_asm_operands): Produce proper no-outputs insn. 1849: * recog.c (asm_noperands): Detect no-outputs insns. 1850: (decode_asm_operands): Likewise. 1851: * reload.c (find_reloads): Likewise (add case ASM_OPERANDS:). 1852: 1853: * local-alloc.c (block_alloc): Tests of qty_compare were backwards. 1854: 1855: * flow.c (life_analysis): Turn off code that finds regs live at 1856: function start and marks them not local to any basic block. 1857: 1858: * cse.c (insert_regs): Fix typo (UNITS_PER_WORD). 1859: 1860: * cccp.c: Define max. 1861: 1862: * expr.c (expand_expr): Put each SAVE_EXPR's reg on save_expr_regs, 1863: if not optimizing. 1864: * stmt.c (expand_function_end): Mark each of those regs live 1865: at the end and also retroactively at the beginning of the function. 1866: 1867: * output-vax.c (print_operand_address): New function from old macro. 1868: * tm-vax.h (PRINT_OPERAND_ADDRESS): Call that function. 1869: 1870: * config-vms.h: If not under GNU C, define X_OK, etc. 1871: 1872: * expr.c (move_by_pieces_1): Use * to call GENFUN. 1873: (expand_expr): Compare DECL_FUNCTION_CODE against an enum const. 1874: (preexpand_calls): Likewise. 1875: * genrecog.c (write_tree): Likewise. 1876: * final.c (final): Use * to call the output function. 1877: * reload.c (push_reload): Rename `noshare' to `dont_share'. 1878: 1879: * genoutput.c (output_epilogue): Put more newlines in insn_outfun. 1880: * genemit (gen_exp): Put in more newlines. 1881: 1882: Fri Jul 1 00:23:57 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1883: 1884: * global-alloc.c (allocno_compare): Avoid comparisons of floats 1885: since that is sensitive to roundoff errors. 1886: 1887: Thu Jun 30 09:25:40 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1888: 1889: * sdbout.c (PUT_SDB_{DEF,TAG}): Use ASM_OUTPUT_LABELREF. 1890: (PUT_SDB_PLAIN_DEF): New name for old defn of PUT_SDB_DEF 1891: (sdbout_one_type): Use PUT_SDB_PLAIN_DEF for `.eos'. 1892: 1893: * tree.c (allocation_temporary_p): New fcn. 1894: (all_types_permanent): New variable. 1895: (make_node): If that's set, make each ...TYPE node permanent. 1896: * decl.c (grokdeclarator): If traditional, make decl data permanent. 1897: (finish_decl): Make the rtl permanent too. 1898: * stor-layout.c (layout_type): If type is permanent, 1899: make its layout data permanent too. 1900: 1901: * cccp.c: Choose C++ or C at run time via var `cplusplus'. 1902: Separate cplusplus_include_default from include_default. 1903: Get GNU-specific include directory names from macros 1904: GCC_INCLUDE_DIR and GPLUSPLUS_INCLUDE_DIR. 1905: (main): Initialize based on CPLUSPLUS; `-+' sets it. 1906: * Makefile: Set *_INCLUDE_DIR based on $(libdir). 1907: 1908: Tue Jun 28 09:25:49 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1909: 1910: * tree.c (copy_node): Round LENGTH up to multiple of sizeof (int). 1911: 1912: * expr.c (emit_push_insn): Avoid using PUSH_ROUNDING if not defined. 1913: 1914: * sparc.md (floatsisf2): Insert missing brace. 1915: (mulsi3): Replace reg_o0_rtx, reg_o1_rtx. 1916: 1917: * tm-sparc.h: Define DBX_DEBUGGING_INFO. 1918: 1919: * parse.y (yylex): If traditional, no error for out-of-range float. 1920: 1921: * Makefile: Comment saying how to compile on an Apollo. 1922: 1923: * tm-sparc.h (ASM_FILE_START): Switch to new calling convention. 1924: 1925: * decl.c (init_decl_processing): Create type nodes for 64-bit ints. 1926: (grokdeclarator): use them for `long long'. Warn only if pedantic. 1927: 1928: * optabs.c (init_optabs): Add missing DImode insn names. 1929: 1930: * expr.c (emit_block_move, emit_push_insn): Use movstrqi if appro. 1931: 1932: * expr.c (convert_move): use extendsidi if appropriate. 1933: 1934: * cccp.c (initialize_builtins): Don't install __STDC__ if traditional. 1935: (main): Call initialize_builtins after option processing. 1936: 1937: * integrate.c (output_inline_function): Set current_function_decl. 1938: 1939: * cse.c (fold_rtx): Typo in avoiding 32-bit shifts. 1940: 1941: * cccp.c: Add forward-decl. 1942: 1.1.1.3 root 1943: Mon Jun 27 18:06:42 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1944: 1945: * hard-reg-set.h (reg_alloc_order): New variable 1946: based on REG_ALLOC_ORDER, a new machine-description macro. 1947: * regclass.c (reg_alloc_order): Define it. 1948: * local-alloc.c (find_free_reg): Handle reg_alloc_order. 1949: * global-alloc.c (find_reg): Likewise. 1950: * stupid.c (stupid_find_reg): Likewise. 1951: 1952: Sun Jun 26 10:47:47 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1953: 1954: * Version 1.23 released. 1955: 1956: * tm-3b1.h: Define IDENT_DIRECTIVE. 1957: 1958: * tm-encore.h: Define SDB_DEBUGGING_INFO. 1959: Define SCCS_DIRECTIVE and IDENT_DIRECTIVE. 1960: 1961: * output-ns32k.c: Decl of paren_base_reg_printed must be outside fcns. 1962: 1963: * tm-encore.h (ASM_OUTPUT_DOUBLE): Do 0f, not 0l. 1964: (CPP_PREDEFINES): No -Dns32032. 1965: 1966: * sdbout.c: Include syms.h, not storclass.h. 1967: (unnamed_struct_member): Decl was missing. 1968: (PUT_SDB_INT_VAL, PUT_SDB_VAL): Fix typos. 1969: (sdbout_types, sdbout_one_type, sdbout_parms): Fix typos. 1970: 1971: * Makefile: Add file sdbout.o. 1972: Changed comments pertaining to sysV. 1973: Make a separate target `doc' to make the info files. 1974: 1975: * m68k.md (bit-field insns): Use nonimmediate_operand for the thing 1976: to extract from. 1977: * vax.md (QImode bit-field insns): Likewise. 1978: 1979: * recog.c (nonimmediate_operand): Accept any nonconst general operand. 1980: 1981: Sat Jun 25 07:54:42 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1982: 1983: * cse.c (lookup_as_function): arg to exp_equiv_p was missing. 1984: 1985: Fri Jun 24 09:14:47 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1986: 1987: * recog.c (memory_operand): Allow (subreg (mem...)). 1988: 1989: Thu Jun 23 07:34:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1990: 1991: * decl.c (finish_enum): Compute minimum value like maximum. 1992: If minimum is negative, install it in the type and make it signed. 1993: 1994: * stor-layout.c (layout_record): STRUCTURE_SIZE_BOUNDARY is minimum. 1995: (layout_type): A RECORD_TYPE or UNION_TYPE must be BLKmode if 1996: any member is BLKmode. This is to prevent putting it in a register. 1997: (layout_decl): If decl's type is BLKmode, the decl *must* be BLKmode. 1998: 1999: * local-alloc.c (find_free_reg): Never allocate the frame pointer reg. 2000: 2001: * tm-sequent.h (PRINT_OPERAND): Bug in SFmode CONST_DOUBLE. 2002: * tm-encore.h: Likewise. 2003: 2004: * flow.c (flow_analysis): Bug in n_basic_blocks error check. 2005: 2006: * stmt.c (expand_asm_operands): Emit no insn if an arg is erroneous. 2007: 2008: Tue Jun 21 08:34:24 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2009: 2010: * reload.c (find_reloads_address): Write back *loc even if 2011: subst_reg_equivs makes no change, in case subst_index_address did. 2012: 2013: * flow.c: Define macros for -1 and -2 as values of reg_basic_block. 2014: (mark_used_regs): Add an `else'; no change in behavior. 2015: (mark_label_ref): Abort if LABEL_REF doesn't contain a CODE_LABEL. 2016: (find_basic_blocks): Extra error check. 2017: 2018: * output-ns32k.c (print_operand_address): Changes in handling of 2019: register-indirect, and of indexing by sb register. 2020: 2021: Mon Jun 20 04:55:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2022: 2023: * cccp.c (collect_definition): Compute needed space more accurately. 2024: Abort if use more space than was allocated. 2025: (rescan) [USE_C_ALLOCA]: Do alloca (0) after handle_directive. 2026: 2027: * genflags.c (gen_insn): Put parens around defns of HAVE_... macros. 2028: 2029: Sun Jun 19 02:52:53 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2030: 2031: * expr.c (emit_push_insn): Consider PARM_BOUNDARY when compensating 2032: for size of a pushed arg to bcopy. 2033: 2034: Sat Jun 18 07:20:54 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2035: 2036: * New files sparc.md, tm-sparc.h, config-sparc.h, output-sparc.c. 2037: 2038: * final.c (final): After an ADDR_{,DIFF_}VEC, do ASM_OUTPUT_CASE_END. 2039: * tm-3b1.h: Define ASM_OUTPUT_CASE_END. 2040: (PRINT_OPERAND_ADDRESS): Ref the case tables via an intermediate symbol 2041: `LDnnn' whose def. is output by ASM_OUTPUT_CASE_END. 2042: (ASM_OUTPUT_CASE_LABEL): Add missing newline. 2043: 2044: * reload.c (find_equiv_reg): Reject a MEM containing an autoincrement. 2045: 2046: Fri Jun 17 06:58:37 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 2047: 2048: * genpeep.c (main): Write `extern' in the decl for `peep_operand'. 2049: 2050: * flow.c (propagate_block): When a dead insn has a REG_RETVAL note, 2051: call mark_set_regs anyway, so that `significant' is updated. 2052: 2053: * jump.c (follow_jumps): New arg IGNORE_LOOPS. If 0, don't follow 2054: the insn at the beginning of a loop that enters the loop; this avoids 2055: interference with loop optimizer. 2056: (jump_optimize, tension_vector_labels): Pass that arg. 2057: 2058: * loop.c (loop_optimize): Mention invalid multiple-entry loops in log. 2059: 2060: * m68k.md (extv, extzv): Fix # of alternatives mismatch in constraints. 2061: 2062: Thu Jun 16 03:06:48 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) 2063: 2064: * genrecog.c (change_state): Was mishandling printing XVECEXP indices 2065: greater than 9. 2066: 2067: * combine.c (subst, simplify_and_const_int): Avoid making SUBREG 2068: of a non-REG. 2069: 2070: * expr.c (expand_expr): For FIX_TRUNC_EXPR to unsigned short/char, 2071: go via signed int. 2072: 2073: * optabs.c (expand_fix): Copy hard_libcall_value reg only once. 2074: 2075: * reload1.c (order_regs_for_reload): Init all elements 2076: of potential_reload_regs to -1. 2077: 2078: * Prevent generation of (set (reg) (plus ... (label_ref ...))). 2079: * explow.c (memory_address_noforce): Like `memory_address' but 2080: never force it into a register. 2081: * expr.c (do_tablejump): Use that. 2082: * m68k.md (casesi): Use that. 2083: 2084: * rtl.h (struct rtx_def, GET_CODE, PUT_CODE): If SHORT_ENUM_BUG, 2085: define the `code' field as a short. 2086: 2087: Wed Jun 15 01:25:57 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2088: 2089: * gcc.c (CPP_SPEC): New spec set by config.h gives flags to cpp. 2090: * tm-*.h for m68k: Define CPP_SPEC to define __HAVE_FPU__ on 2091: appropriate conditions. 2092: 2093: * combine.c (subst): Simplify (not (minus x 1)) and (neg (minus x y)). 2094: 2095: Mon Jun 13 02:22:43 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) 2096: 2097: * typecheck.c (build_array_ref): Avoid duplicate errmsg if index 2098: is an error-mark. 2099: 2100: Sun Jun 12 23:04:39 1988 Richard Stallman (rms at corn-chex.ai.mit.edu) 2101: 2102: * cccp.c (handle_directive): If -traditional, quotes aren't special. 2103: (rescan): Assume newline ends a string constant. 2104: 2105: * cccp.c, cexp.y: Make all fcns non-static; add some forward decls. 2106: 2107: * various: add static forward-decls for various functions. 2108: 2109: Fri Jun 10 00:25:18 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2110: 2111: * reload1.c (choose_reload_targets): When writing back an incremented 2112: value (handling reload_inc), write back to the real place, not to 2113: OLDEQUIV (a register that holds the same value). 2114: 2115: * tm-m68k.h (LEGITIMIZE_ADDRESS): Don't give force_operand a target. 2116: This can cause the use of multiple insns with same output reg, 2117: which can confuse cse. 2118: 2119: * loop.c (consec_sets_invariant_p): 2120: If invariant_p ever returns 2, we return 2. 2121: New arg is # of consecutive sets to look for, 2122: since this info is no longer in n_times_set at move_movables. 2123: (scan_loop): If consec_sets_invariant_p returns 2, set m->cond. 2124: (move_movables): check consecutive insns if m->consec && m->cond. 2125: 2126: * tm*.h: ASM_DECLARE_FUNCTION_NAME now takes 3rd arg, 2127: the FUNCTION_DECL node. 2128: * varasm.c (assemble_function): Pass this arg. 2129: 2130: * expr.c (expand_call, expand_builtin [alloca]): 2131: If STACK_POINTER_OFFSET is defined, add it to stack pointer contents 2132: before using it as address of actual data on the stack. 2133: * stmt.c (expand_decl): Likewise. 2134: 2135: * stmt.c (assign_parms): If 1st parm named `__builtin_va_alist' 2136: came in regs, pretend it came on stack. 2137: Handle pretending a BLKmode var came on the stack. 2138: If REG_PARM_STACK_SLOT, count stack space for each parm 2139: even if the parm came in a register; and use that stack space 2140: if the parm needs to be addressable or is BLKmode. 2141: Rearrange to simplify conditionals. 2142: 2143: Thu Jun 9 01:21:29 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2144: 2145: * local-alloc.c: 2146: `qty_...' vectors' elements for hard-reg-numbers now aren't used. 2147: `reg_qty' elements for hard-reg numbers now aren't used, 2148: and the element for a pseudo is never a hard-reg number. 2149: (local_alloc): No need to reset those elements. 2150: No need to reset elements out of range of prev block's NEXT_QTY. 2151: (reg_is_born, reg_is_set, wipe_dead_reg): 2152: Divide labor in same way for hard regs and pseudos; 2153: simplify using fact that locality-to-basic-block has been precomputed 2154: and recorded in reg_qty; avoid refs to reg_qty[HARDREG]. 2155: (reg_is_born, wipe_dead_regs): Block-number arg no longer needed. 2156: 2157: * local-alloc.c (combine_regs): Remove old code for tying hard regs 2158: to pseudos; great simplification results. 2159: Use find_regno_note, not regno_dead_p. 2160: 2161: Wed Jun 8 00:18:04 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2162: 2163: * reload.c (subst_reg_equivs): Set a flag if anything is changed. 2164: (find_reloads_address): Check that flag to avoid extra work. 2165: Also check early for safe reg+const address and avoid work. 2166: 2167: * reload.c (find_reloads): Use loops instead of bcopy. 2168: Check early for insn with no real constraints, and return. 2169: Also check for move from hard reg to hard reg and return. 2170: 2171: * cse.c (canon_reg): Rewrite for speed; use a switch. 2172: (cse_insn): Don't call find_reg_note if REG_NOTES is 0. 2173: 2174: * cse.c (cse_insn): Store modified SET_SRC even if there's a REG_EQUIV. 2175: Inhibition was needed when the SET_SRC was the only place to find the 2176: equivalent value; now it is in the REG_EQUIV note. 2177: 2178: * stmt.c (expand_asm_operands): If NINPUTS is 0, make vec of no elts. 2179: * regclass.c (reg_scan_mark_refs): Don't lose if XVEC (x,i) is 0. 2180: 2181: Tue Jun 7 03:51:28 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2182: 2183: * stmt.c (assign_stack_local): If big-endian and MODE is narrow, 2184: the bytes actually used are the least significant. 2185: 2186: * parse.y (skip_white_space): Accept char as arg; let caller read it. 2187: (yylex): Change call. 2188: (check_newline): Return 1st nonwhite char after skipping lines. 2189: (skip_white_space): Change call. 2190: * toplev.c (compile_file): Change call. 2191: 2192: * gcc.c: Pass -traditional to cc1. 2193: 2194: * cse.c (cse_insn): Return very early for (set (reg) (call...)). 2195: Mainly to save time. 2196: (cse-insn) Old code to add REG_WAS_0 note wasted time but did nothing. 2197: 2198: * expr.c (clear_pending_stack_adjust): Really do clear it, 2199: if current fcn doesn't want to be inline. 2200: 2201: * cse.c (cse_insn): Speedup: instead of safe_hash, use canon_hash 2202: or HASHREG. 2203: 2204: Mon Jun 6 21:47:23 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2205: 2206: * jump.c (rtx_renumbered_equal_p): Reject ADDR_VEC fast. 2207: 2208: * cse.c (cse_insn): Ignore a REG_EQUIV or REG_EQUAL note if the 2209: equivalent value is the same as the SET_SRC of the insn. 2210: 2211: * flow.c (life_analysis): Don't call volatile_refs_p for a CALL_INSN; 2212: just assume value is 1. 2213: (propagate_block): Don't call mark_{used,set}_regs for a stack-pop 2214: since if it isn't dead it has no effect on any useful life data. 2215: (mark_set_1): Return quickly if setting stack-ptr, and almost as 2216: quickly if setting any hard reg. 2217: (mark_used_regs): Likewise for refs. 2218: Also don't scan the vector of an ADDR_VEC or ADDR_DIFF_VEC. 2219: (volatile_refs_p): Likewise. 2220: 2221: * varasm.c (output_constant): Discard NOP_EXPR and CONVERT_EXPR 2222: in integer case (they were for casting a pointer). 2223: 2224: * parse.y (compstmt_or_error): Parse a compstmt after ignoring error. 2225: Use this for fctn body so that an error after store_parm_decls 2226: won't recover to xdecls and call store_parm_decls again. 2227: Typical cause was missing semi at end of last parmdecl. 2228: 2229: * parse.y: Add missing semicolons in actions. 2230: (yylex): Don't use yylloc. 2231: 2232: Sun Jun 5 16:14:40 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2233: 2234: * typecheck.c (build_array_ref): Check arg types here, to make 2235: error message more accurate (not about "addition"). 2236: 2237: Thu Jun 2 02:41:40 1988 Richard Stallman (rms at rice-krispies.ai.mit.edu) 2238: 2239: * cccp.c (collect_expansion): `#' isn't special if -traditional. 2240: 2241: * dbxout.c (dbxout_parms): Don't output a regparm symbol 2242: unless the parm got a hard reg assigned. 2243: 2244: * tm-encore.h (ASM_OUTPUT_DOUBLE): Use 0f... not 0d... 2245: 2246: * tm-vax.h (CHECK_FLOAT_VALUE): Define this. 2247: 2248: Wed Jun 1 17:13:00 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2249: 2250: * expr.c (expand_call): Have sequence points between args. 2251: 2252: Tue May 31 00:27:06 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2253: 2254: * expmed.c (store_fixed_bit_field): Avoid shifting by 32. 2255: * cse.c (fold_rtx): 2256: * symout.c (subrange_p): likewise. 2257: 2258: * local-alloc.c (block_alloc): If operands 1 and 2 commute, 2259: try tying output to operand 2 if operand 1 won't do. 2260: 2261: * toplev.c (compile_file): Pass main_input_file to symout_init. 2262: 2263: * tree.c (build_real, build_real_from_int_cst): 2264: Call CHECK_FLOAT_VALUE if it's defined, to report out-of-range values. 2265: 2266: * tree.c (build_real, build_real_from_int_cst): New 1st arg TYPE. 2267: * parse.y (yylex): Pass this arg; requires parsing suffixes first. 2268: * fold-const.c (fold, combine, fold_convert): Pass this arg. 2269: Handling of float binops in `combine' simplified. 2270: 2271: * tm-encore.h (CPP_PREDEFINES): Remove -Dencore since CC lacks it. 2272: 2273: * final.c (output_source_line): Let ASM_OUTPUT_SOURCE_LINE 2274: be used for SDB also. 2275: 2276: Mon May 30 00:21:15 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2277: 2278: * cse.c (insert): Was inserting in wrong place in list. 2279: (exp_equiv_p): Was failing to check validity when x == y. 2280: 2281: * tree.c (build_pointer_type): Handle saveable_obstack 2282: like current_obstack. 2283: 2284: * decl.c (finish_decl): Error in test for zero-size array warning. 2285: 2286: * reload.c (find_equiv_reg): New arg MODE specifies mode in which 2287: an equivalent value is needed. Equivalence must be good in that mode. 2288: In addition, notice overlap with multiword register modes. 2289: Simplify, knowing that registers have already been renumbered. 2290: It was invalidating memory-goals too easily; setting a reg 2291: only invalidates memory-goal if its address varies. 2292: * reload.c, reload1.c, jump.c: Calls pass the new argument. 2293: 2294: * cccp.c: For correct ANSI, must reject `$' in identifiers. 2295: (dollars_in_ident): Variable says whether to allow them. 2296: (rescan): Handle `$' as randomchar if that's 0. 2297: (main): dollars_in_ident is set to 0 by -$, to 1 by -traditional. 2298: (rescan, do_define): Delete former pedantic warnings for `$'. 2299: (initialize_char_syntax, initialize_builtins): Inits split to two 2300: functions; former is called after options are scanned 2301: so `$' is in is_idchar conditionally. 2302: * gcc.c: For -ansi, pass -$ to cccp. 2303: * toplev.c, flags.h: Define dollars_in_ident. 2304: * parse.y (yylex): Treat $ as punctuation unless dollars_in_ident. 2305: Delete old pedantic warning about $. 2306: * tm-vms.h: Define DOLLARS_IN_IDENTIFIERS as 1. 2307: 2308: * cccp.c (rescan): Preprocessing numbers can have signs, after `e'. 2309: 2310: * integrate.c (expand_inline_function): Abort, don't return failure, 2311: if max_regno is too low. I believe this can't happen. 2312: 2313: * typecheck.c (build_binary_op_nodefault): 2314: For ordered comparisons, no pedantic warning about void *. 2315: For MAX, MIN, ditto, and also don't allow pointer vs 0. 2316: 2317: * typecheck.c (build_unary_op): Don't allow pointer for +. 2318: 2319: * typecheck.c (convert_for_assignment): 2320: Add missing warning for case of unrelated pointer types. 2321: Change criteria for new ANSI C draft. 2322: 2323: * optabs.c (expand_binop): Don't set unused target_is_not_an_operand. 2324: 2325: * fold-const.c (fold_convert): Don't set unused inprec, outprec. 2326: 2327: * emit-rtl.c, parse.y: Delete unused var. 2328: 2329: * stor-layout.c (add_vc_sizes): Unused function deleted. 2330: * loop.c (constant_high_bytes): #if 0 this unused function. 2331: 2332: * gcc.c (fatal): Add missing arg to delete_temp_files. 2333: 2334: * cccp.c (dump_defn_1): Add missing arg to skip_quoted_string. 2335: 2336: * reload.c (find_reloads): If constraints don't fit in an `asm', 2337: print error instead of aborting. 2338: 2339: * regclass.c (reg_class_record): Ignore `&' in constraint. 2340: 2341: Sun May 29 00:20:23 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2342: 2343: * Makefile: Run ranlib only if /usr/bin/ranlib exists. 2344: Add comment saying what to do on system V. 2345: 2346: * tree.c (suspend_momentary): Switch to the saveable_obstack 2347: for the sake of inline functions. 2348: 2349: * flags.h (enum debugger): New enum for write_symbols. 2350: * toplev.c, varasm.c, final.c: Use the enum constants where appro. 2351: Add calls to sdbout paralleling the calls to dbxout; 2352: put each in the appropriate conditional {SDB,DBX}_DEBUGGING_INFO. 2353: 2354: * toplev.c (main): Delete -noreg option; it's now the default. 2355: Make -O an alias for -opt. Rename -g to -gg. -g is alias for -G. 2356: Accept and ignore -Wtrigraphs. 2357: * gcc.c: Simplify the specs. 2358: 2359: * toplev.c (compile_file), tm-*.h: 2360: ASM_FILE_START is now a statement, not just a string to be output. 2361: Output it *after* determining the real source file name. 2362: 2363: * fold-const.c (fold): Simplify x >= CST to x > CST-1 (CST positive). 2364: To simplify this, canonicalize relationals to put constat last. 2365: 2366: * decl.c (duplicate_decls): Make a 2nd errmsg to show previous decl. 2367: 2368: * cccp.c (file_size_and_mode): Delete temporary VMS bootstrap patch. 2369: 2370: * tm-att386.h: New file. 2371: 2372: * decl.c (pushdecl): Warn if a local `extern' decl precedes 2373: a file-scope `static' decl. 2374: 2375: * expr.c (expand_call): No warning for failure to inline. 2376: 2377: * expmed.c (extract_bit_field): copy operand 1 of extv or extzv 2378: into register if memory isn't allowed. 2379: 2380: Sat May 28 02:10:56 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2381: 2382: * gnulib.c, Makefile: Delete va_end. 2383: 2384: * final.c, symout.c: Check DBX_DEBUGGING_INFO, not NO_DBX_FORMAT. 2385: 2386: * genemit.c (gen_expand): Notice a CALL inside a PARALLEL. 2387: 2388: * regclass.c (init_reg_sets_1): Part of init_reg_set is put in this 2389: new fn which is called after options are scanned. 2390: Now CONDITIONAL_REGISTER_USAGE can depend on the options. 2391: (fix_register): Just alter the data that init_reg_sets_1 will look at. 2392: 2393: * reload1.c (reload): Don't complain if two different but tieable 2394: modes require groups of the same regclass (assuming same size group). 2395: 2396: * cccp.c: Add 3rd arg to all `open' calls. 2397: 2398: * parse.y (check_newline): Typo prevented ignoring whitespace. 2399: 2400: * cccp.c (perror_with_name): fprintf had harmful extra arg. 2401: 2402: * cccp.c (main, trigraph_pcp): -Wtrigraphs means warn if any trigraphs. 2403: 2404: * emit-rtl.c (gen_sequence): If LEN is 1, avoid looking at PATTERN 2405: of something that doesn't have one. 2406: 2407: * reload1.c (alter_frame_pointer_addresses): frame pointer can 2408: occur by itself, not just inside a PLUS. 2409: (reload): Call eliminate_frame_pointer before reload_as_needed. 2410: Otherwise the latter can make reload insns that copy the frame ptr 2411: to a data reg, but 68k can't copy sp+const to a data reg. 2412: 2413: * decl.c (implicitly_declare): Always save the implicit decl 2414: permanently. Reuse an old one if it exists. 2415: * tree.c (resume_temporary_allocation): Used after `end_temporary...' 2416: to go back to temporary allocation. 2417: 2418: * stor-layout (layout_{type,decl}): Call variable_size. 2419: (variable_size): Turn a size into a SAVE_EXPR and either compute 2420: it right away or put it on a list to be computed later. 2421: (get_pending_sizes): Return that list and clear it out. 2422: * stmt.c (expand_start_function): Tell `variable_size' to compute 2423: sizes right away, and compute those saved on the list. 2424: (expand_end_function): Tell it to put them on a list. 2425: 2426: Fri May 27 00:02:34 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 2427: 2428: * dbxout.c (dbxout_symbol): For local static var, use 'V', not 'v'. 2429: 2430: * gcc.c (main): Don't handle SIGHUP or SIGTERM if shell ignored it. 2431: 2432: * Makefile, gcc.c: Propagate Make var `libdir' to gcc search path. 2433: 2434: * expr.c (expand_expr): a PARM_DECL with no rtl can occur in size of 2435: `a' in `foo (a,i) int i; struct {int x[i];} a;', so report an error. 2436: 2437: * flow.c (insn_dead_p): insn that makes stack bigger is never dead. 2438: * combine.c (try_combine): Don't splice out stores into stack ptr. 2439: 2440: * reload.c (find_equiv_reg): Test given regno for OVERLAPPING_REGNO_P. 2441: 2442: * varasm.c (assemble_variable): Use saveable_obstack for allocation. 2443: 2444: Thu May 26 01:17:00 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 2445: 2446: * integrate.c (save_for_inline): Clear unused slots in parmdecl_map. 2447: (There may be some non-parm regs below max_parm_regno.) 2448: * integrate.c (copy_for_inline): Don't crash if parmdecl_map elt is 0. 2449: 2450: * Don't fail to output a static inline function that was referenced 2451: via a local extern decl before its definition. 2452: * expr.c (expand_call): If need to mark a fcn decl addressable, 2453: mark the identifier addressable also. 2454: * typecheck.c (mark_addressable): If marking fcn addressable, 2455: mark the identifier as well. 2456: * decl.c (start_function): If identifier was marked addressable, 2457: propagate it to the function. 2458: 2459: * parse.y (yylex): Check for ERANGE after atof is called. 2460: (Sun doesn't report ERANGE.) 2461: 2462: * loop.c (may_trap_p): Any floating arithmetic may trap. 2463: 2464: Wed May 25 00:03:34 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 2465: 2466: * parse.y: Delete `noalias'. 2467: (asm_operand): Don't allow this to be empty. 2468: (asm_operands): Do allow this to be empty. 2469: 2470: * reload.c (operands_match_p): Don't let REG and SUBREG match 2471: if the reg isn't a hard reg. 2472: No longer nec. to check reg_renumber, now that reload 2473: substitutes the hard regno. 2474: 2475: * reload1.c (reload): Counting existing spilled groups, 2476: check HARD_REGNO_MODE_OK so we don't get fooled by an odd-even pair. 2477: Spill entire need for new groups before spilling any solitary regs. 2478: Reg already counted against max_nongroups can't become part of a group. 2479: (new_spill_reg): Do bookkeeping associated with a new spill-reg. 2480: (n_spills): This var is now static, no longer passed as arg 2481: within the file. 2482: 2483: (reload_reg_class_lower): Handle all group-reloads before solitaries. 2484: (choose_reload_targets): therefore #if 0 the special code for 2485: finding solitary registers that aren't suitable for groups. 2486: But fix two bugs in it: braino deciding whether a reload 2487: is looking for 1 register (not a group). Use CLASS_MAX_NREGS. 2488: Also braino deciding whether a spill reg can be in a group. 2489: Did not fix bug that it fails to test HARD_REGNO_MODE_OK, 2490: so it might split up an even-odd pair. 2491: 2492: * vax.md: Special patterns for 8 and 16-bit fields, to make 2493: move-insns (like the ones for the 68k). 2494: 2495: * tree.c (convert_to_integer): Pass truncation down thru COND_EXPR 2496: as through a binary operator. 2497: 2498: * typecheck.c (build_cond_expr): If unpromoted operand types match, 2499: don't promote them--let containing expression promote (just once). 2500: 2501: Tue May 24 14:46:26 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu) 2502: 2503: * combine.c (subst): Simplify (subreg (sign_extend X) 0). 2504: 2505: * tm-hp9k320.h: Delete NO_DBX_FORMAT. 2506: * Most tm...h files: Define DBX_DEBUGGING_INFO. 2507: * dbxout.c: Change conditional to DBX_DEBUGGING_INFO. 2508: 2509: * integrate.c (expand_inline_function): If inline fcn was declared to 2510: return QI, but actually computes an SI, use SImode for INLINE_TARGET 2511: but actually return a QI. 2512: 2513: * varasm.c (force_const_mem): Failed to determine alignment bdry 2514: from machine mode. 2515: 2516: * jump.c (jump_optimize): Don't delete (move X Y) if X or Y is a 2517: PRESERVE_DEATH_INFO_REGNO_P register. 2518: 2519: * final.c (output_addr_const): In PLUS, output constant term last. 2520: 2521: * final.c (final): Before outputting an insn, do FINAL_PRESCAN_INSN. 2522: 2523: * final.c (next_block_index): No longer static. 2524: (final): Add SDB_DEBUGGING_INFO cases for outputing NOTEs 2525: for beginning and end of a block. 2526: (output_source_line): Add SDB_DEBUGGING_INFO case for line number. 2527: * varasm.c (assemble_function): Add code for SDB symbol output. 2528: 2529: * gnulib.c: Allow config to override INTIFY. 2530: New macro SFVALUE for data type to return a single-float in. 2531: 2532: * combine.c (remove_death): No longer `static'. 2533: 2534: * reload1. (choose_reload_targets): PRESERVE_DEATH_INFO_REGNO_P 2535: selects hard regs for which death info should be updated for final. 2536: 2537: * reload1.c (reload_as_needed): Let INSN_CLOBBERS_REGNO_P 2538: prevent inheritance of certain reloads. 2539: 2540: * reload.c (find_equiv_reg): Let OVERLAPPING_REGNO_P reject 2541: an equiv reg. Needed for funny float regs on 80387. 2542: 2543: * cccp.c (do_ident): Define #ident as a no-op if IDENT_DIRECTIVE. 2544: Warn if pedantic. 2545: (do_sccs): Warn if pedantic. 2546: 2547: * emit-rtl.c (restore_reg_data): Set cur_insn_uid--prevent duplicates. 2548: 1.1.1.9 ! root 2549: See file OChangeLog. 1.1 root 2550: 2551: Local Variables: 2552: mode: indented-text 2553: left-margin: 8 2554: fill-column: 76 2555: version-control: never 2556: End:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.