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