|
|
1.1.1.22! root 1: Sun Sep 20 02:02:50 1992 Richard Stallman ([email protected]) ! 2: ! 3: * Version 1.42 released. ! 4: ! 5: Fri Sep 18 15:58:15 1992 James Van Artsdalen (james at bigtex.cactus.org) ! 6: ! 7: * fixinc.new: Don't look for *.h symlinks if the host doesn't ! 8: have symlinks. ! 9: ! 10: Fri Sep 18 02:34:02 1992 Richard Stallman ([email protected]) ! 11: ! 12: * fixinc.new: New file. ! 13: ! 14: Fri Sep 11 02:58:48 1992 Richard Stallman ([email protected]) ! 15: ! 16: * cccp.c (main): Handle -DFOO=BAR in predefs. ! 17: ! 18: Tue Sep 8 02:18:59 1992 Richard Stallman ([email protected]) ! 19: ! 20: * expr.c (expand_increment): If OP0 is volatile, read it only once. ! 21: ! 22: * gcc.c (compilers): Pass -O* to cc1 or cc1plus. ! 23: ! 24: Wed Sep 2 00:30:49 1992 Richard Stallman ([email protected]) ! 25: ! 26: * tm-vax.h (LIB_SPEC): Fix unmatched braces. ! 27: * tm-ultrix.h (CPP_PREDEFINES): Delete leading space. ! 28: ! 29: Mon Aug 31 04:08:52 1992 Richard Stallman ([email protected]) ! 30: ! 31: * fold-const.c (const_binop): Delete special case for mult by 3. ! 32: 1.1.1.21 root 33: Thu Aug 27 04:20:43 1992 Richard Stallman ([email protected]) 34: 35: * version 1.41 released. 36: 37: Mon Aug 24 00:20:27 1992 Richard Stallman ([email protected]) 38: 39: * sparc.md (floatsisf2, floatsidf2): Make two alternatives; 40: put r for op1 in first, and fm in second. 41: 42: * cse.c (fold_rtx): Don't make a constant that's a sum of two symbols. 43: 44: Sun Aug 23 02:45:28 1992 Richard Stallman ([email protected]) 45: 46: * cccp.c (handle_directive): When copying directive, copy the char 47: after a \ without otherwise handling it. 48: 49: * c-typeck.c (build_binary_op_nodefault): Don't shorten signed divide. 50: 51: Tue Aug 11 10:41:54 1992 Michael Meissner ([email protected]) 52: 53: * config.gcc (mips-*-os5): Add new varients for MIPS computers 54: using RISC-OS revision 5.00, to turn off shared libraries by 55: default, since the MIPS linker complains about the location of the 56: frame pointer that GCC uses when linking against shared libraries. 57: 58: * tm-mips-5.h (new file): Tm file for MIPS RISC-OS, revision 5.00. 59: 60: * tm-mips-5b.h (new file): Tm file for MIPS RISC-OS, revision 5.00 61: with the BSD4.3 environment as default. 62: 63: * tm-mips-5s.h (new file): Tm file for MIPS RISC-OS, revision 5.00 64: with the System V.3 environment as default. 65: 66: Mon Jul 20 16:07:12 1992 Pat Rankin ([email protected]) 67: 68: * tm-vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): change _c$main_args to 69: uppercase instead of relying on gas to make the case translation 70: 71: Mon Jul 20 17:39:25 1992 Pat Rankin ([email protected]) 72: 73: * tm-vax.h (FUNCTION_PROLOGUE): adjust the stack allocation size by 74: STARTING_FRAME_OFFSET (normally 0, so no change in generated code). 75: * tm-vms.h (STARTING_FRAME_OFFSET): redefine, to reserve an extra 76: longword at top of local stack in case user calls VAXC$ESTABLISH(). 77: 78: Sun Jul 12 15:29:46 1992 Richard Stallman ([email protected]) 79: 80: * cse.c (canon_hash): 81: Fp and ap regs are not volatile even if SMALL_REGISTER_CLASSES. 82: 83: Sat Jul 11 16:21:52 1992 Richard Stallman ([email protected]) 84: 85: * expmed.c (expand_divmod): Don't use non-register target. 86: 87: Sun Jul 5 13:09:21 1992 Richard Stallman ([email protected]) 88: 89: * configure: New file. 90: 91: Mon Jun 29 12:54:07 1992 Richard Stallman ([email protected]) 92: 93: * toplev.c (main): Accept -O0 (don't optimize). 94: 95: Tue Jun 23 06:15:47 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) 96: 97: * stmt.c (expand_return): Add missing emit_queue call in tail 98: recursion case. 99: 100: Wed Jun 10 17:56:57 1992 Richard Stallman ([email protected]) 101: 102: * c-parse.y (check_newline): After calling yylex, transfer nextchar 103: into finput using ungetc. 104: 105: Sat Jun 6 15:00:22 1992 Richard Stallman ([email protected]) 106: 107: * toplev.c (main): Accept -O1 and -O2. 108: 109: Fri May 29 22:10:58 1992 Richard Stallman ([email protected]) 110: 111: * reload.1 (new_spill_reg): Undo Nov 28 change. 112: 113: * emit-rtl.c (gen_highpart): Typo sign-extending CONST_INT. 114: 115: * expr.c (expand_expr): For VAR_DECL inside ARRAY_REF, 116: verify that DECL_INITIAL is really a CONSTRUCTOR. 117: 118: Wed May 27 06:44:42 1992 Richard Stallman ([email protected]) 119: 120: * dbxout.c (errno): Declare it. 121: 122: * tm-pyr.h (PCC_BITFIELD_TYPE_MATTERS): Define as 1. 123: 124: Tue May 26 10:28:19 1992 Michael Meissner ([email protected]) 125: 126: * loop.c (loop_has_volatile): New static variable to record 127: whether the loop has any volatile references in it. 128: (prescan_loop): Set loop_has_volatile. 129: (check_dbra_loop): Don't reverse loop if there are any volatile 130: references in it. 131: 132: Fri May 22 23:48:04 1992 Richard Stallman ([email protected]) 133: 134: * cccp.c (finclude): Null-terminate input before trigraph_pcp. 135: 136: Sun May 17 22:32:22 1992 Richard Stallman ([email protected]) 137: 138: * rtlanal.c (dead_or_partially_set_p): New function. 139: * combine.c (move_deaths): Use that. 140: 141: Sat Apr 18 17:43:26 1992 Richard Stallman ([email protected]) 142: 143: * varasm.c (make_decl_rtl): 144: Don't warn if local explicit reg var has an initial value. 145: 146: Sat Apr 18 16:41:01 1992 Richard Kenner (kenner at vlsi1.ultra.nyu.edu) 147: 148: * tree.c (save_expr): Must do something with read-only tree that 149: has side-effects. 150: 151: Thu Feb 13 02:34:02 1992 Richard Stallman ([email protected]) 152: 153: * cccp.c (skip_if_group): Skip comments after the #. 154: 155: * cccp.c (macarg): Don't assume stringify will compress spaces. 156: (macroexpand): In stringify, compress space only outside tokens. 157: 158: Tue Feb 11 16:58:27 1992 Richard Stallman ([email protected]) 159: 160: * combine.c (subst): Preserve all bits outside the field 161: when simplifying (set (zero_extend...) (and (zero_extend...) const)). 162: 163: Sat Feb 1 01:05:34 1992 Richard Stallman ([email protected]) 164: 165: * expr.c: Include recog.h just once. 166: 167: * dbxout.c (dbxout_init): Output current directory in N_SO sym. 168: 169: Tue Jan 28 00:39:34 1992 Richard Stallman ([email protected]) 170: 171: * fold-const.c (fold_convert): Properly handle real-to-real case. 172: 173: * loop.c (can_jump_outside_range_p): New function. 174: (loop_can_jump_out_p): New function. 175: (check_dbra_loop): Check that. 176: 177: Mon Jan 27 22:55:19 1992 Richard Stallman ([email protected]) 178: 179: * cccp.c (main): Add terminating null, then call trigraph_pcp. 180: 181: Mon Jan 20 00:04:10 1992 Richard Stallman ([email protected]) 182: 183: * expr.c (expand_call): When clearing is_integrable, call 184: mark_addressable too. 185: 186: * tm-pyr.h (PCC_BITFFIELD_TYPE_MATTERS): Defined. 187: (STRUCTURE_SIZE_BOUNDARY): Deleted. 188: 189: Wed Jan 15 01:16:05 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) 190: 191: * tm-sparc.h (FIRST_PARM_OFFSET): Fix typo. 192: 193: Mon Jan 13 16:14:12 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu) 194: 195: * c-decl.c (grokdeclarator): Turn off incomplete array element warning. 196: 197: Fri Dec 20 19:27:50 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 198: 199: * tm-sparc.h (WORD_SWITCH_TAKES_ARG): Add -assert. 200: (LINK_SPEC): Pass -assert to linker. 201: 202: * expr.c (expand_call): Treat vfork and sigsetjmp like setjmp. 203: 204: Thu Dec 19 01:34:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 205: 206: * expr.c (store_expr): Handle copying too-short STRING_CST. 207: 208: * gstdarg.h (_VA_LIST): Handle this like _VA_LIST_. 209: 210: Sat Dec 14 16:10:11 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 211: 212: * tm-ultrix.h (CPP_PREDEFINED): Add __unix, __ultrix, __bsd4_2. 213: 214: Tue Dec 10 16:11:18 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 215: 216: * expr.c (move_block_to_reg): No error if block appears unaligned. 217: (move_block_from_reg): Likewise. 218: 219: Thu Nov 28 14:18:28 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 220: 221: * tm-mips-news (CPP_SPEC): Added more -D options. 222: (WORDS_BIG_ENDIAN, BYTES_BIG_ENDIAN, MIPS_NEWS): Deleted. 223: 224: * reload1.c (new_spill_reg): Error if spill explicit reg. 225: 226: * out-sparc.c (single_insn_src_p): Do test MINUS for large int arg. 227: 228: Sun Nov 24 23:08:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 229: 230: * tm-sun3.h (LINK_SPEC): -g no longer sets -Bstatic. 231: 232: Tue Nov 19 14:58:56 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 233: 234: * fold-const.c (combine): If result is single-float, truncate to fit. 235: (fold): Don't add 1 to float constant if that doesn't change the value. 236: 237: Sun Nov 17 01:38:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 238: 239: * config.gcc (i860-gas): Set `machine'. 240: 241: Sat Nov 16 14:18:33 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 242: 243: * ecoff-cmp: Use ld to do stripping. 244: 245: * sdbout.c (sdbout_symbol): Do nothing for var if LOCAL is 0. 246: * toplev.c (compile_file): For sdb, output file-scope vars at end. 247: 248: Mon Nov 11 09:22:41 1991 Michael Meissner (meissner at osf.org) 249: 250: * cccp.c (make_undef): Fix off by one error in calling do_under. 251: 252: Wed Oct 23 17:19:17 1991 Richard Stallman ([email protected]) 253: 254: * stddef.h: Conditional on __sys_stdtypes_h. 255: 256: * m68k.md (compare shift right by 24): Don't allow increment addrs. 257: 258: Mon Oct 21 23:08:02 1991 Richard Stallman ([email protected]) 259: 260: * c-decl.c (grokdeclarator): Fix error message for long float. 261: 262: Sun Oct 20 22:16:40 1991 Richard Stallman ([email protected]) 263: 264: * reload.c (find_reloads): Warning or error for misuse of `&'. 265: (this_insn_is_asm): New variable. 266: (push_reload): Verify specified reg class is at least possible. 267: * toplev.c (warning_for_asm): New function. 268: 269: Sat Oct 19 12:22:23 1991 Richard Stallman ([email protected]) 270: 271: * tm-sun3.h, tm-sparc.h (WORD_SWITCH_TAKES_ARG): 272: Check for Tdata as well as target. 273: 274: Tue Oct 8 13:40:23 1991 Richard Stallman ([email protected]) 275: 276: * expr.c (store_expr): All non-static constructors need spec. handling. 277: 278: * tm-sparc.h (LINK_SPEC): -g no longer sets -Bstatic. 279: 280: Sat Oct 5 17:47:19 1991 Richard Stallman ([email protected]) 281: 282: * expmed.c (expand_mult): Avoid multiple refs to volatile mem. 283: 284: Thu Sep 26 20:52:17 1991 Michael Meissner (meissner at osf.org) 285: 286: * integrate.c (expand_inline_function): Make sure all REG_NOTES are 287: copied as needed as well as the normal pattern. 288: 289: Sun Sep 22 02:07:55 1991 Richard Stallman ([email protected]) 290: 291: * c-typeck.c (build_unary_op): Disallow address of cast. 292: 293: * caller-save.c (emit_mult_restore): Fix typo testing sign of offset. 294: 295: * varasm.c (assemble_variable): Prevent overflow in size in bytes. 296: 297: * fixincludes: Redirect cmp output to /dev/null; don't close it. 298: 299: * i386.md (call_value) [FMTOWNS]: Don't use fpregs. 300: * tm-fmtowns.h: New file. 301: 302: Wed Sep 11 21:06:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 303: 304: * gvarargs.h, va-mips.h (va_list): Now an alias for __va___list. 305: (__va___list): This is a typedef. 306: 307: Sat Sep 7 13:09:51 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 308: 309: * optabs.c (expand_float, expand_fix): Use 0.5, not 1.0, in ldexp. 310: 311: Fri Sep 6 00:25:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 312: 313: * c-decl.c (init_decl_processing): Set up void_list_node. 314: (get_parm_info): Use that. 315: 316: * reload1.c (eliminate_frame_pointer): If insn becomes unrecognizable, 317: assume it still fits the same pattern as before (but for reloading). 318: 319: Thu Sep 5 21:25:21 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 320: 321: * out-sparc.c (output_move_double): Properly unincrement addreg1. 322: 323: Wed Sep 4 18:53:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 324: 325: * fixincludes : Change `m68k' to `__m68k__' in all #if's. 326: 327: Mon Sep 2 15:08:38 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 328: 329: * c-typeck.c (build_array_type): Better error messages. 330: 331: Sat Aug 31 01:55:45 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 332: 333: * out-sparc.c (single_insn_src_p): Undo July 29 change 334: as regards everything except shifts. 335: 336: Fri Aug 30 04:42:19 1991 James Van Artsdalen (james at bigtex.cactus.org) 337: 338: * tm-i386.h (OUTPUT_JUMP): Use cc_prev_status. 339: 340: Thu Aug 29 01:17:06 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 341: 342: * tm-delta68k.h (PUT_SDB_START_DIM): Renamed from PUT_SDB_DIM. 343: 344: Wed Aug 28 19:18:43 1991 Richard Stallman ([email protected]) 345: 346: * tm-sparc.h: Reverted change of Aug 4; loses with alloca. 347: 348: Tue Aug 27 23:20:50 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 349: 350: * expr.c (move_block_to_reg, move_block_from_reg): 351: Don't return prematurely after using movsi_unaligned. 352: 353: Mon Aug 26 20:59:17 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 354: 355: * c-parse.y (yylex): Cast shorts[n] to long before shifting. 356: * fold-const.c (decode): Likewise. 357: 358: * i386.md (seq, etc.): Clear the cc_status. 359: 360: Sat Aug 24 14:31:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 361: 362: * expr.c (store_constructor): Handle union constructor. 363: 364: Sat Aug 17 14:34:35 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 365: 366: * stmt.c (expand_end_case): 367: When filling labelvec from case range, avoid overflow in i. 368: 369: Fri Aug 16 18:09:44 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 370: 371: * Makefile (install): Create bindir. Install gcc as $(bindir)/gcc. 372: 373: Sat Aug 10 15:18:02 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 374: 375: * ns32k.md (call_value): Consistently realize function is operand 1. 376: 377: Thu Aug 8 13:36:25 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 378: 379: * toplev.c (main): Accept -g with warning if not supported. 380: 381: * tm-m68k.h (LEGITIMIZE_ADDRESS): Copy address before changing it. 382: (COPY_ONCE): New macro, subroutine for LEGITIMIZE_ADDRESS. 383: 384: * tm-i386.h (FIX_FRAME_POINTER_ADDRESS): Remove spurious backslash. 385: 386: Sun Aug 4 15:39:24 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 387: 388: * Kludge to preallocate stack space for stack args on Sparc. 389: * expr.c (expand_call): Support STACK_SPACE_FOR_CALLS. 390: (init_pending_stack_adjust): Likewise. 391: * stmt.c (frame_offset): No longer static. 392: * tm-sparc.h (STACK_SPACE_FOR_CALLS): Defined. 393: (STACK_ARGS_ADJUST): Defined. 394: 395: Thu Aug 1 17:22:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 396: 397: * tm-i860.h (MAX_PARM_BOUNDARY): Defined. 398: (GO_IF_LEGITIMATE_ADDRESS): Add parens around & operator. 399: (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Use sp, not r3 (that's fp). 400: * i860.md (movsf): Don't reload high address part if already loaded. 401: (cmplesf, cmpledf, cmpgesf, cmpgedf): Set CC_NEGATED; swap operands. 402: * out-i860.c (strict_single_insn_op_p): 403: Fix criterion for loading high half. 404: (output_load_address): #if 0 since not used. 405: 406: Wed Jul 31 12:36:37 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 407: 408: * fixincludes: New variable INCLUDES specifies input dir. 409: 410: Tue Jul 30 17:24:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 411: 412: * stmt.c (expand_end_stmt_expr): Force out the queue. 413: Protect the value from the queue. 414: 415: * stddef.h (WCHAR_T): Also test and define _WCHAR_T_. 416: 417: * expr.c (move_block_to_reg): Check for QUEUED only within MEM. 418: 419: Sun Jul 28 16:15:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 420: 421: * move-if-change: Use -f with rm and mv. 422: 423: Sat Jul 27 13:03:50 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 424: 425: * fixincludes (memvar.h): Make two defs of CAT, one ANSI and one trad. 426: 427: * combine.c (try_combine): Reject if I1DEST used between I2 and I3. 428: 429: Wed Jul 24 13:54:41 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 430: 431: * cse.c (cse_insn): Don't use HASHREG. 432: Detect all volatile destinations. 433: (HASHREG): Deleted. 434: 435: * tm-m68k.h (NOTICE_UPDATE_CC): 436: Calls clear status even if value in address reg. 437: 438: Fri Jul 19 15:50:46 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 439: 440: * varasm.c (make_decl_rtl): Set EXTERNAL_SYMBOL_P only if TREE_PUBLIC. 441: 442: Tue Jul 16 20:16:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 443: 444: * Makefile [comments for SCO] (CC, OLDCC): Add some -D options. 445: 446: Wed Jul 10 13:18:03 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 447: 448: * cccp.c (hack_vms_include_specification): Fix typos. 449: 450: Tue Jul 9 21:17:43 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 451: 452: * fold-const.c (mul_double): Add parens to avoid precedence errors. 453: 454: Mon Jul 8 22:17:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 455: 456: * c-parse.y (yylex): Pedantic warning here for `asm'. 457: No warning for `__asm__'. 458: (maybe_type_qual, maybeasm, extdef): No warning here. 459: 460: Sun Jul 7 15:29:42 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 461: 462: * README-ENCAP: New file. (Actually, it used to exist, and went away.) 463: 464: * emit-rtl.c (gen_highpart): Handle a const_int. 465: 466: * integrate.c (copy_rtx_and_substitute): Avoid change_address. 467: 468: * stmt.c (expand_end_stmt_expr): Instead of 0, use const0_rtx. 469: 470: * c-decl.c (NULL): Undef before defining. 471: 472: * tm-9k320.h (STANDARD_STARTFILE_PREFIX): Let this be overridden. 473: 474: Sat Jul 6 14:51:15 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 475: 476: * expr.c (expand_assignment): Don't abort for volatile structure field 477: even if the structure is in a register. 478: 479: * fold-const.c (div_and_round_double): Make lnum and lden unsigned. 480: Use the small-denominator algorithm only for denom < 2**24. 481: Fix backward conditionals in ?: operators in general case. 482: Change i + j to i - 1 + j when indexing num. 483: 484: Wed Jul 3 11:40:27 1991 Michael Meissner (meissner at osf.org) 485: 486: * expr.c (move_block_from_reg, move_block_to_reg): Protect block 487: addresses from queued memory insns, which occur for things like *p++. 488: 489: * expr.c (move_block_from_reg, move_block_to_reg): Add an alignment 490: field that gives how much alignment the structure has. If the md 491: file provides movsi_unaligned, use it if the structure is not 492: properly aligned. Change all callers to pass the alignment in bits. 493: 494: * stmt.c (assign_params): Pass structure alignment to 495: move_block_from_reg. 496: 497: * mips.md (movsi_unaligned): New define_expand to handle unaligned 498: moves. 499: (movsi_ulw, movsi_usw): New define_insn's to handle unaligned moves 500: to/from a register. 501: 502: Tue Jul 2 16:56:28 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 503: 504: * cccp.c: Include descrip.h. 505: 506: Mon Jul 1 21:04:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 507: 508: * out-ns32k.c (output_move_double): 509: Use CONSTANT_P to check for single-word constant. 510: 511: Sun Jun 30 16:12:34 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 512: 513: * gnulib2.c (__builtin_saveregs): 514: For i860, make data structure fit in with va-i860.h. 515: 516: * reload1.c (choose_reload_regs): Don't use reg_reloaded_contents 517: for a reg that has a reg_equiv_address. 518: 519: * gnulib2.c, gnulib.c (abort): Get rid of any macro definition. 520: 521: Sat Jun 29 09:27:12 1991 Michael Tiemann (tiemann at cygint.cygnus.com) 522: 523: * out-sparc.c (single_insn_src_p): Reject any ASHIFT patterns with 524: non-REG second operand. 525: 526: Sat Jun 29 06:25:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 527: 528: * tm-vax.h (CPP_SPEC, LIB_SPEC): New macros. 529: 530: * reload.c (push_reload): Handle two different inmodes, etc. 531: 532: * gcc.c (S_ISREG): Define if not defined. 533: (delete_temp_files): Use it. 534: 535: * limits.h (UCHAR_MAX, CHAR_MAX, USHRT_MAX): Delete `U'. 536: (LONG_MAX, ULONG_MAX): Add `L'. 537: 538: Fri Jun 28 22:21:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 539: 540: * Makefile (realclean): Delete stage1, stage2, stage3. 541: 542: * gcc.c (fatal) [HAVE_VFPRINTF]: Do print the program name. 543: 1.1.1.20 root 544: Sat Jun 1 01:10:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 545: 546: * Version 1.40 released. 547: 548: * i386.md (divmodsi4, udivmodsi4): Add separate define_expands 549: to force duplicated args into registers. 550: 551: Thu May 30 00:32:18 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 552: 553: * expr.c (expand_expr): 554: Don't lose volatility of fields in COMPONENT_REF. 555: 556: * fixincludes (stdtypes.h): Handle wchar_t like the other types. 557: 558: Tue May 28 12:34:24 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 559: 560: * cse.c (canon_hash): Don't hash hard regs if SMALL_REGISTER_CLASSES. 561: * tm-i386.h (SMALL_REGISTER_CLASSES): Define it. 562: 563: * expr.c (store_one_arg): Set used after calling push_rounding. 564: 565: * tm-decstatn.h (CPP_PREDEFINES): Add __ versions of macros. 566: 567: * tm-apollo68.h (LIB_SPEC): Renamed from LINK_SPEC. 568: 569: Sun May 26 00:52:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 570: 571: * cse.c (refers_to_mem_p): Handle constants as addresses. 572: 573: Thu May 23 12:35:25 1991 John Vasta (vasta at apollo.hp.com) 574: 575: * tm-apollo68.h (STARTFILE_SPEC): Remove unneeded 576: conditional and use correct file for ANSI mode. 577: (LIB_SPEC): Deleted. 578: (LINK_SPEC): Specify -e switch. 579: 580: Wed May 22 14:35:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 581: 582: * tm-i386isc.h (STARTFILE_SPEC): Add missing %s. 583: 584: * tm-vaxv.h (ASM_OUTPUT_LOCAL): Use data_section. 585: 586: Mon May 20 12:38:39 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 587: 588: * Makefile (float.h): Pass certain vars down to nested make. 589: 590: * hard-params.c [NO_LONG_DOUBLE]: Inhibit handling of long double. 591: 592: * m68k.md (trunc*): Clear cc if use wider insn. 593: 594: Sun May 19 14:45:46 1991 Ron Guilmette (rfg at ncd.com) 595: 596: * Makefile.in (clean): Delete stage1...stage4. 597: (realclean): Delete cexp.output. 598: 599: * fixincludes: Handle BSD43__IO* and BSD43_CTRL like IO* and CTRL. 600: 601: Sun May 19 15:00:05 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 602: 603: * fixincludes (machine/cpu.h): 604: Create in proper dir. Fix mips/cpu.h too. 605: 606: Fri May 17 15:41:22 1991 James Van Artsdalen (james at bigtex.cactus.org) 607: 608: * tm-i386v4.h (ASM_OUTPUT_COMMON): Don't attempt alignment on a 609: three byte boundary. 610: 611: Thu May 16 12:46:37 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 612: 613: * expr.c (convert_to_mode): Don't use gen_lowpart on most constants. 614: 615: Mon May 13 23:42:03 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 616: 617: * expmed.c (store_bit_field, extract_bit_field): 618: Temporarily set volatile_ok when checking predicates. 619: 620: * explow.c (force_not_mem): Do nothing for BLKmode. 621: 622: * tree.c (real_value_from_int_cst): Add parens to fix misparsings. 623: 624: Sun May 12 22:39:42 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 625: 626: * tree.c (real_value_from_int_cst): Make MASK unsigned. 627: 628: Wed May 8 11:19:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 629: 630: * rtl.c (reg_note_name): Put in REG_UNSET. Remove dead ones. 631: 632: * tree.c (real_value_from_int_cst): Avoid converting unsigned to float. 633: 634: * stor-layout.c (round_size): Cast to int when comparing modes. 635: 636: * tm-ultrix.h (CPP_PREDEFINES): Define __vax. 637: 638: Mon May 6 13:29:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 639: 640: * out-i386.c (fp_top_dead_p1): Look past any number of labels. 641: 642: * tm-aix386.h (ASM_FILE_START): Discard directories from .file arg. 643: 644: Sat May 4 14:36:26 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 645: 646: * tm-hp9k320.h (CPP_SPEC): Always define _HPUX_SOURCE. 647: Move other standard predefs with underscores here. 648: (CPP_PREDEFINES): Standard predefs moved from here. 649: 650: * hard-params.c (EPROP): Avoid comparing a with out if bad is 1. 651: 652: Thu May 2 14:43:48 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 653: 654: * math-68881.h (pow): Negate x if negative when taking log. 655: 656: * c-decl.c (finish_enum): Don't store the enum as the type of any of 657: its enumerator values. 658: 659: Wed May 1 15:02:15 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 660: 661: * c-decl.c (finish_enum): Rewrite handling of min and max values. 662: Rewrite handling of flag_short enums. 663: * stor-layout.c (round_size): New subroutine. 664: 665: * out-i386.c (fp_top_dead_p1): Use mentions_fp_top to check dest. 666: 667: Tue Apr 30 14:41:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 668: 669: * expr.c (expand_call): Copy value to mem via a pseudo. 670: 671: * tm-decstatn.h (CPP_PREDEFINES): Define __mips and __LANGUAGE_C. 672: 673: * fixincludes (machine/cpu.h): Delete superfluous `static'. 674: 675: * Makefile (maketest): Don't stop on error in `if' statement. 676: 677: Mon Apr 29 12:29:16 1991 (Eric Youngdale at [email protected]) 678: 679: * cccp.c (hack_vms_include_specification): Modified conversion of 680: unix filenames to VMS filenames, if no VMS device or directory is 681: present and a unix style directory name is present. In this case, use 682: the first unix directory name as the VMS device spec. This is only 683: used in '#include <...>' type includes, when the include file has 684: not been found in the standard locations. 685: 686: Mon Apr 29 22:18:47 1991 James Van Artsdalen (james at bigtex.cactus.org) 687: 688: * tm-att386.h (ASM_OUTPUT_LOCAL): Align static local variables. 689: 690: Mon Apr 29 13:50:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 691: 692: * reload1.c (emit_reload_insns): When changing the mode, 693: make a REG, not a SUBREG. 694: 695: * out-i386.c (print_operand): For non-'c', print prefix for LABEL_REF. 696: 697: * c-decl.c (pushdecl): Just a warning for type of extern not global. 698: 699: Wed Apr 17 12:44:16 1991 Richard Stallman (rms at apple-gunkies) 700: 701: * stmt.c (use_variable, use_variable_after): Handleg subregs. 702: 703: Sat Apr 13 10:10:28 1991 Eric Youngdale ([email protected]) 704: 705: * cccp.c (hack_vms_include_specification) Made parsing more 706: intelligent when confronted with something like: 707: "SYS$SYSROOT:[SYSLIB.]/foo.h". Previously this routine would 708: return a file specification that had a syntax error. This example 709: will now parsed to "SYS$SYSROOT:[SYSLIB]foo.h". 710: 711: Fri Apr 12 02:37:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 712: 713: * expmed.c (store_bit_field): Don't die if VALUE is constant 714: for a field bigger than a word. 715: 716: * tm-sparc.h (FUNCTION_BLOCK_PROFILER): Must set %o0 to the address 717: LPBX0 by adding in the low part of the address before calling 718: ___bb_init_func. 719: 720: * cccp.c (skip_to_end_of_comment): Handle warn_comment. 721: 722: * out-m68k.c (output_move_double): Really test HOST_WORDS_BIG_ENDIAN. 723: 724: * config.gcc (i386-isc): New target. 725: * tm-i386isc.h: New file. 726: 727: * m68k.md (dbra patterns): Use `=' in constraint of op 0. 728: 729: Sat Mar 30 15:16:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 730: 731: * ns32k.md (andcbhi3, andcbqi3): Constraint shouldn't say commutative. 732: 733: * tm-mips.h, tm-sparc.h, tm-spur.h (CONST_DOUBLE_OK_FOR_LETTER_P): 734: Use CONST_DOUBLE_LOW and CONST_DOUBLE_HIGH. 735: 736: Fri Mar 29 16:17:59 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 737: 738: * tm-hp9k2bsd.h: New file. 739: * config.h (hp9k200-bsd): New target. 740: 741: Thu Mar 28 16:31:50 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 742: 743: * tm-vax.h (CHECK_FLOAT_VALUE): Change float max to ...444e+38. 744: 745: Wed Mar 27 19:57:33 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 746: 747: * integrate.c (access_parm_map): Use /, not %, in setting WORD. 748: 749: Sun Mar 24 23:47:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 750: 751: * gcc.c (store_arg): Use xrealloc. 752: (xrealloc, xmalloc): Change error message. 753: 754: Sat Mar 23 03:42:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 755: 756: * gnulib.c [GNULIB_NEEDS_DOUBLE]: Override FLOAT_ARG_TYPE, FLOATIFY. 757: 758: Fri Mar 22 00:46:42 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 759: 760: * integrate.c (frame_pointer_sum_p): New function. 761: (copy_rtx_and_substitute): Use that. 762: 763: * cccp.c (bzero, etc.): Don't test for BSD--it's never defined. 764: 765: Tue Mar 19 21:25:52 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu) 766: 767: * gstab.h: Renamed from stab.h. 768: * dbxout.c, symout.c, final.c: Include under that name. 769: 770: * stddef.h (wchar_t): New typedef. 771: 772: Sun Mar 17 21:01:56 1991 Richard Stallman ([email protected]) 773: 774: * fixincludes (dnetdb.h): Fix missing semi in nodeent. 775: (rusers.h): Code to fix this file was duplicated. 776: 777: Sat Mar 16 15:25:56 1991 Richard Stallman ([email protected]) 778: 779: * toplev.c (compile_file): Write out all static consts that are used. 780: 781: Thu Mar 14 16:56:03 1991 Richard Stallman (rms at mole.ai.mit.edu) 782: 783: * tm-att386.h (ASM_OUTPUT_SKIP): Delete duplicate #define. 784: 785: * out-sparc.c (output_block_move): 786: Conditionalize templates at end on NO_UNDERSCORES. 787: 788: Tue Mar 12 23:48:11 1991 Richard Stallman (rms at mole.ai.mit.edu) 789: 790: * fixincludes: Quote the # in an echo. 791: 792: Sun Mar 10 20:11:04 1991 Richard Stallman (rms at mole.ai.mit.edu) 793: 794: * expr.c (emit_library_call): Support GNULIB_NEEDS_DOUBLE. 795: * tm-i860.h (GNULIB_NEEDS_DOUBLE): Define it. 796: 797: Sun Mar 3 15:13:50 1991 Michael Meissner (meissner at osf.org) 798: 799: * out-mips.c (function_arg_partial_nregs): Fix passing two 800: structures, each of which contains two doubles to a function which 801: returns a structure -- the problem was caused when the 1.37.1 code 802: was modified to have two fields for the FUNCTION_ARG routines, 803: arg_number which is the number of arguments, and arg_words which is 804: the total number of words passed, instead of the old arg_number 805: which counted the words. The function_arg_partial_nregs routine was 806: returning -1 for the second call. In 1.37.1, the macro 807: FUNCTION_ARG_PARTIAL_NREGS was only called one time, if it returned 808: non-zero. This no longer seems the case for 1.39. 809: 810: Sun Mar 10 19:06:36 1991 Richard Stallman (rms at mole.ai.mit.edu) 811: 812: * tm-harris.h (ASM_FILE_START): Output a .file. 813: 814: * tm-mips.h (TARGET_MEM_FUNCTIONS): Define on certain systems. 815: 816: Fri Mar 8 15:51:15 1991 Richard Stallman (rms at mole.ai.mit.edu) 817: 818: * gcc.c (delete_temp_files): Delete only ordinary files. 819: 820: Thu Mar 7 17:51:11 1991 Richard Stallman (rms at mole.ai.mit.edu) 821: 822: * c-typeck.c (build_array_ref): Notice if array expression 823: is const or volatile. 824: 825: Tue Mar 5 14:21:57 1991 Richard Stallman (rms at mole.ai.mit.edu) 826: 827: * c-decl.c (store_parm_decls): If -traditional, 828: allow unsigned int in prototype in place of int. 829: 830: * stmt.c (fixup_gotos): Handle jumping to end of rtl. 831: 832: * tm-mips-news.h (DECSTATION): Definition deleted. 833: (MIPS_NEWS): Define it. 834: 835: * config.gcc (i860-gas): New target. 836: * tm-i860g.h: New file. 837: 838: Mon Mar 4 00:39:11 1991 Richard Stallman (rms at mole.ai.mit.edu) 839: 840: * fixincludes: Fix typos handling size_t and ptrdiff_t. 841: 842: * out-mips.c: Include sys/types.h. 843: 844: Sun Mar 3 01:11:46 1991 Richard Stallman (rms at mole.ai.mit.edu) 845: 846: * cccp.c (include_defaults, cplusplus_include_defaults): 847: Use CC_INCLUDE_DIR. 848: (CC_INCLUDE_DIR): Define by default as /use/include. 849: * tm-mips.h (CC_INCLUDE_DIR): Define, if MIPS_BSD43. 850: (CPP_SPEC): Don't do -I to handle -ZSYSV, -ZBSD43. 851: 852: Sat Mar 2 16:22:59 1991 Richard Stallman (rms at mole.ai.mit.edu) 853: 854: * expr.c (expand_call): Use argpos, not i, where appropriate. 855: 856: Wed Feb 27 15:46:54 1991 Richard Stallman (rms at mole.ai.mit.edu) 857: 858: * gnulib.c (FLOAT_ARG_TYPE, FLOATIFY): New macros. 859: (__*sf*): Use them for `float' args. 860: 861: * stmt.c (fixup_gotos): Check that jump into bindings 862: really comes from before the start of the bindings. 863: Use TREE_REGDECL to indicate error message printed. 864: 865: Tue Feb 26 15:46:35 1991 Richard Stallman (rms at mole.ai.mit.edu) 866: 867: * c-decl.c (grokdeclarator): Check for errors before warnings. 868: 869: Mon Feb 25 20:46:43 1991 Richard Stallman (rms at mole.ai.mit.edu) 870: 871: * sdbout.c (SDB_NO_FORWARD_REFS): Renamed from MAYBE. 872: (plain_type_1): Don't call sdb_record_type_name if no forward refs. 873: 874: * integrate.c (expand_inline_function): Copy REG_USERVAR_P to new regs. 875: (copy_rtx_and_substitute): Likewise. 876: 877: * c-typeck.c (digest_init): Handle STRING_CST before same-type case. 878: 879: * make-cc1.com, make-cccp.com: Set default dir for batch use. 880: 881: Sun Feb 24 17:14:09 1991 Richard Stallman (rms at mole.ai.mit.edu) 882: 883: * out-sparc.c (output_fp_move_double): Typo choosing inc_reg. 884: If we use %g1, then put that into the memref. 885: 886: * loop.c (check_dbra_loop): Win if loop biv is used only for counting. 887: 888: Sat Feb 23 13:36:13 1991 Richard Stallman (rms at mole.ai.mit.edu) 889: 890: * sdbout.c (sdbout_one_type): Changed #ifndef MAYBE controlling 891: call to sdbout_field_types into #ifdef. It seems it was backwards. 892: 893: * c-decl.c (grokdeclarator): Error for `signed void', etc. 894: Warning for `signed my_int', and only if pedantic. 895: 896: Fri Feb 22 12:45:06 1991 Richard Stallman (rms at mole.ai.mit.edu) 897: 898: * tm-i386sco.h (STRUCT_RETURN_CALLER_POP): Define it. 899: 900: * stmt.c (expand_end_loop): Don't be fooled by notes at loop end. 901: 902: Thu Feb 21 21:34:12 1991 Richard Stallman (rms at mole.ai.mit.edu) 903: 904: * tm-sun2os4.h (LINK_SPEC): New macro. 905: * tm-sun386i.h (LINK_SPEC): Undef before redefining. 906: 907: Mon Feb 11 00:06:19 1991 Richard Stallman (rms at mole.ai.mit.edu) 908: 909: * Makefile (libg): Rule deleted. 910: (install): Don't create libg.a. 911: 912: * out-mips.c (mips_asm_file_start, make_temp_file): New functions. 913: * tm-mips.h (ASM_FILE_START): Use those functions. 914: 915: * gcc.c (do_spec_1): Handle %G. 916: (LIBG_SPEC): New macro. 917: (link_spec): Use %G. 918: * tm-mips.h (LIBG_SPEC): Define this as empty string. 919: 920: Sun Feb 10 23:03:45 1991 Richard Stallman (rms at mole.ai.mit.edu) 921: 922: * integrate.c (copy_parm_decls): Set TREE_INLINE before pushdecl. 923: 924: Sat Feb 9 16:31:28 1991 Richard Stallman (rms at mole.ai.mit.edu) 925: 926: * loop.c (eliminate_biv, can_eliminate_biv_p): 927: For compare insn and constant coeffs, check for overflow. 928: For variable coeffs, or variable endpoint, don't allow inequality. 929: 930: Fri Feb 8 18:04:43 1991 Richard Stallman (rms at mole.ai.mit.edu) 931: 932: * Makefile (libg): Put one (null) member in the library. 933: 934: Thu Feb 7 22:20:24 1991 Richard Stallman (rms at mole.ai.mit.edu) 935: 936: * tm-i386v4.h (ASM_OUTPUT_COMMON): Override; put alignment in output. 937: 938: * tm-news.h (FUNCTION_PROLOGUE): Correct syntax of link insn. 939: (PRINT_OPERAND_ADDRESS): Use period, not colon, before index reg width. 940: 941: Wed Feb 6 23:59:42 1991 Richard Stallman (rms at mole.ai.mit.edu) 942: 943: * config.gcc (mips-sysv): Use xm-umips.h. 944: * tm-mips-sysv.h (TARGET_MEM_FUNCTIONS): Define it. 945: 946: Tue Feb 5 00:45:58 1991 Richard Stallman (rms at mole.ai.mit.edu) 947: 948: * c-parse.y (combine_strings): Finish fixing wide strings. 949: 950: * reload1.c (possible_group_p): New subroutine. 951: (reload): Don't kill last group when looking for a non-group. 952: 953: * expmed.c (expand_divmod): If emit a cmp, must copy op0 to a reg. 954: 955: * expr.c (expand_builtin): For ffs, get mode from TREE_TYPE. 956: 957: * tm-att386.h (ASM_OUTPUT_SKIP): In text seg, make explicit zeros. 958: 959: Mon Feb 4 17:39:36 1991 Richard Stallman (rms at mole.ai.mit.edu) 960: 961: * c-typeck.c (digest_init): Error if init array with another array. 962: 963: Sun Feb 3 22:05:40 1991 Richard Stallman (rms at mole.ai.mit.edu) 964: 965: * m68k.md (extend QI to HI): Typo in clr insn. 966: 967: * c-parse.y (combine_strings): Subtract properly from LEN when copying. 968: (init_lex, yylex): max_wide is now measured in wide chars, not bytes. 969: 970: Sat Feb 2 12:32:41 1991 Richard Stallman (rms at mole.ai.mit.edu) 971: 972: * xm-m68k.h (HOST_WORDS_BIG_ENDIAN): Define it. 973: 974: Thu Jan 31 00:33:33 1991 Richard Stallman (rms at mole.ai.mit.edu) 975: 976: * tm-aix386.h (ASM_OUTPUT_LOCAL): Ok to use bss, since no shared libs. 977: (LINK_SPEC): Pass through all -K and -T options. 978: * xm-aix386.h (TRUE, FALSE): Undef if already def, to avoid warning. 979: 980: * c-decl.c (pushdecl): Don't make an extern global for -traditional 981: if it uses any local types. 982: 983: * tm-sun386i.h (PCC_BITFFIELD_TYPE_MATTERS): Use 1 as value. 984: (LINK_SPEC): Copy definition from xm-sun386i.h. 985: * xm-sun386i.h (LINK_SPEC): Definition deleted. 986: 987: * tm-hp9k320.h (STANDARD_STARTFILE_PREFIX): Once again always redefine. 988: 989: Wed Jan 30 16:27:14 1991 Richard Stallman (rms at mole.ai.mit.edu) 990: 991: * fixincludes (sys/stdtypes.h): Edit this to handle _SIZE_T, etc. 992: 993: Mon Jan 28 12:48:20 1991 Richard Stallman (rms at mole.ai.mit.edu) 994: 995: * loop.c (loop_reg_used_before_p): Scan explicitly, don't use luids. 996: 997: Thu Jan 24 18:15:08 1991 Richard Stallman (rms at mole.ai.mit.edu) 998: 999: * expr.c (expand_expr, case for ARRAY_REF): Use build_pointer_type. 1000: 1001: * loop.c (strength_reduce): Substitute regs inside some reg notes. 1002: 1.1.1.19 root 1003: Wed Jan 16 15:34:38 1991 Richard Stallman (rms at mole.ai.mit.edu) 1004: 1005: * Version 1.39 released. 1006: 1007: * config.gcc (i386-esix): New alternative. 1008: * tm-i386esix.h: New file. 1009: 1010: * expr.c (expand_call): Don't put libcall notes on const function call 1011: unless there is a suitable value-copying insn at the end. 1012: 1013: * config.gcc (delta68k): New alternative. 1014: * tm-delta68k.h, xm-delta68k.h: New files. 1015: 1016: Tue Jan 15 01:37:21 1991 Richard Stallman (rms at mole.ai.mit.edu) 1017: 1018: * loop.c (scan_loop): Condition for movability was wrong. 1019: A reg that isn't necessarily set may be unsafe 1020: even if used only inside the loop. 1021: However, a reg used only in the same basic block after the set is safe. 1022: So is a reg that isn't a user-level variable. 1023: 1024: * combine.c (try_distrib): Don't push + thru negative-count shift. 1025: * tm-vax.h (NEGATIVE_SHIFT_COUNT): Define to enable that change. 1026: 1027: Mon Jan 14 18:17:58 1991 Richard Stallman (rms at mole.ai.mit.edu) 1028: 1029: * stmt.c (assign_parms) [FIRST_PARM_CALLER_OFFSET]: 1030: If that's negative, adjust first_parm_offset rather than 1031: stack_args_size for size of structure value address. 1032: (Kludge to make sparc work.) 1033: 1034: * fixincludes-V4: Handle #lint. 1035: 1036: * tm-i386sco.h (CPP_PREDEFINES): Get rid of the %-spec. 1037: (CPP_SPEC): Override this; handle -scointl here. 1038: 1039: Sun Jan 13 23:06:25 1991 Richard Stallman (rms at mole.ai.mit.edu) 1040: 1041: * fixincludes (sys/file.h): Fix incorrect conditional in Ultrix. 1042: 1043: Sat Jan 12 14:25:02 1991 Richard Stallman (rms at mole.ai.mit.edu) 1044: 1045: * i386.md (movsf, movdf): Change constraints to ensure opt reload. 1046: 1047: Fri Jan 11 13:22:22 1991 Richard Stallman (rms at mole.ai.mit.edu) 1048: 1049: * tm-tower-as.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): 1050: Use %u. 1051: (PUT_SDB_START_DIM): New macro. 1052: (PUT_SDB_DIM): Deleted. 1053: 1054: * tm-next.h (LIB_SPEC, STARTFILE_SPEC): Don't support -p. 1055: 1056: Thu Jan 10 13:05:46 1991 Richard Stallman (rms at mole.ai.mit.edu) 1057: 1058: * tm-sun2.h (CC1_SPEC): Define to ignore -sun2 and -target. 1059: (WORD_SWITCH_TAKES_ARG): Define to recognize -target. 1060: (LIB_SPEC): Define; handle -a. 1061: * tm-sun3os4.h: New file. 1062: 1063: * tm-mips-news.h (CPP_SPEC): Update include directory version. 1064: (MACHINE_TYPE): Change this string. 1065: 1066: * tm-next.h (LIB_SPEC): Use -lsys_s, not -lc. 1067: 1068: * Makefile (gnulib): Depend on config.status. 1069: 1070: Mon Jan 7 15:03:53 1991 Richard Stallman (rms at mole.ai.mit.edu) 1071: 1072: * c-typeck.c (process_init_constructor): Error if values 1073: provided for an array of empty elements. 1074: Rename variable `error' to `error_flag'. 1075: 1076: * out-i386.c (function_epilogue) [STRUCT_RETURN_CALLER_POP]: 1077: Don't pop struct value arg if -fpcc-struct-return. 1078: * expr.c (expand_call) [STRUCT_RETURN_CALLER_POP]: 1079: Change handling of structure_value_addr. 1080: 1081: * cse.c (cse_insn): In special case for (set REG0 REG1), 1082: change any REG_EQUIV notes to REG_EQUAL. 1083: 1084: Sun Jan 6 13:51:59 1991 Richard Stallman (rms at mole.ai.mit.edu) 1085: 1086: * tm-sun386i.h (PCC_BITFIELD_TYPE_MATTERS): Define it. 1087: 1088: * out-i386.c (fp_top_dead_p1): Follow jump only if optimizing. 1089: 1090: Fri Jan 4 23:17:41 1991 Richard Stallman (rms at mole.ai.mit.edu) 1091: 1092: * tm-att386.h (ASM_OUTPUT_LOCAL): Change back to data section. 1093: 1094: Thu Jan 3 13:31:41 1991 Richard Stallman (rms at mole.ai.mit.edu) 1095: 1096: * loop.c (move_movables): Do reg substitutions on REG_EQUAL, REG_EQUIV. 1097: 1098: * out-i386.c (fp_top_dead_p1): Follow one jump or label. 1099: 1100: * rtl.c (read_rtx): Cast type of NULL vector. 1101: 1102: Wed Jan 2 18:59:34 1991 Richard Stallman (rms at mole.ai.mit.edu) 1103: 1104: * out-i386.c (fp_call_internal): Use fp_top_dead_p1, not top_dead_p. 1105: * reload1.c (emit_reload_insns): Undo previous change. 1106: 1107: Tue Jan 1 12:01:43 1991 Richard Stallman (rms at mole.ai.mit.edu) 1108: 1109: * integrate.c (expand_inline_function): 1110: Handle parms passed in reg but stored in memory. 1111: 1112: * ecoff-cmp: Specify `c' in option to tail. 1113: 1114: * reload1.c (emit_reload_insns) [PRESERVE_DEATH_INFO_REGNO_P]: 1115: Move notes to output reload even if dest is reg. 1116: Check for notes matching by hard reg, even if different origin. 1117: Really scan all the output reload insns. 1118: 1119: Mon Dec 31 16:04:11 1990 Richard Stallman (rms at mole.ai.mit.edu) 1120: 1121: * stupid.c (stupid_find_reg): Don't use reg if OVERLAPPING_REGNO_P. 1122: 1123: * i386.md (push for SFmode): Operand of fst was missing. 1124: * out-i386.c (fp_call_internal): Discard result if unused. 1125: 1126: Sat Dec 29 16:37:10 1990 Richard Stallman (rms at mole.ai.mit.edu) 1127: 1128: * Makefile (install): Use basename on eachfile; BSD make adds dirs. 1129: 1130: * cccp.c (macroexpand): Test traditional when computing expansion size. 1131: 1132: Thu Dec 27 23:42:42 1990 Richard Stallman (rms at mole.ai.mit.edu) 1133: 1134: * reload.c (find_reloads_address_1): For auto-increment, save the reg 1135: before replacing it with something being reloaded. 1136: 1137: Fri Dec 21 18:31:38 1990 Richard Stallman (rms at mole.ai.mit.edu) 1138: 1139: * Version 1.38. 1140: 1141: * tm-i386vgas.h (STARTFILE_SPEC, LIB_SPEC): Deleted. 1142: 1.1.1.18 root 1143: Sun Dec 16 18:10:20 1990 Richard Stallman (rms at mole.ai.mit.edu) 1144: 1145: * tm-i386vgas.h (ASM_OUTPUT_LABELREF): Do prepend `_' again. 1146: 1147: * tm-sun3.h (ASM_OUTPUT_FLOAT*, ASM_OUTPUT_DOUBLE*): 1148: Use double_is_minus_zero to test for -0.0. 1149: * out-m68k.c (double_is_minus_zero): New function. 1150: 1151: Fri Dec 14 00:57:30 1990 Richard Stallman (rms at mole.ai.mit.edu) 1152: 1153: * tm-sun3.h (ASM_OUTPUT_FLOAT*, ASM_OUTPUT_DOUBLE*): 1154: Use `iszero' and `signbit' to check for -0.0. 1155: 1156: * recog.c (offsettable_address_p): Use OFFSETTABLE_ADDRESS_P. 1157: * tm-i860.h (OFFSETTABLE_ADDRESS_P): Define this. 1158: 1159: Wed Dec 12 16:11:05 1990 Richard Stallman (rms at mole.ai.mit.edu) 1160: 1161: * gvarargs.h: Avoid duplicate inclusion using _VARARGS_H. 1162: 1163: * c-decl.c (grokdeclarator): Always promote short even if -mshort. 1164: 1165: Tue Dec 11 23:12:51 1990 Richard Stallman (rms at mole.ai.mit.edu) 1166: 1167: * expr.c (convert_move): Do compare before slt. 1168: Handle destination not valid in slt. 1169: 1170: Mon Dec 10 00:27:04 1990 Richard Stallman (rms at mole.ai.mit.edu) 1171: 1172: * out-sparc.c (output_fp_move_double): Bugs in last change: 1173: Use adj_offsettable_operand when possible. 1174: Choose a reg other than fp to increment. 1175: 1176: Sun Dec 9 23:21:05 1990 Richard Stallman (rms at mole.ai.mit.edu) 1177: 1178: * cccp.c (collect_expansion): Don't check for /* */ concat here. 1179: (macroexpand): Always use raw arg if traditional. 1180: 1181: Wed Dec 5 13:52:16 1990 Richard Stallman (rms at mole.ai.mit.edu) 1182: 1183: * optabs.c (expand_binop): Handle insn_before == 0. 1184: 1185: * Makefile (includes): Export LIB. 1186: 1187: Tue Dec 4 21:27:00 1990 Richard Stallman (rms at mole.ai.mit.edu) 1188: 1189: * loop.c (consec_sets_giv): Give proper type to force, force2. 1190: 1191: Mon Dec 3 15:57:19 1990 Richard Stallman (rms at mole.ai.mit.edu) 1192: 1193: * cccp.c (special_symbol): Use time_t as type of t. 1194: 1195: Sun Dec 2 16:43:31 1990 Richard Stallman (rms at mole.ai.mit.edu) 1196: 1197: * config.gcc (tower): New alternative. 1198: * tm-tower.h, tm-tower-as.h, xm-tower.h: New files. 1199: 1200: * stddef.h (ptrdiff_t): Prevent redefinition, as with size_t. 1201: (size_t): Define all the macros used to prevent redefinition. 1202: 1203: Fri Nov 30 14:25:49 1990 Michael Meissner (meissner at osf.org) 1204: 1205: * out-mips.c (init_cumulative_args, function_arg_advance, 1206: function_arg, function_arg_partial_nregs): Type CUMULATIVE_ARGS is 1207: now a pointer to a structure instead of a structure. New field 1208: arg_words tracks number of words consumed so far and arg_number just 1209: tracks physical numbers of arguments. Make four single precision 1210: floating point arguments passed via prototypes use $f12, $f14, $6, 1211: and $7, just like mips cc. 1212: 1213: * tm-mips.h (INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE, 1214: FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS): Type CUMULATIVE_ARGS is 1215: now a pointer to a structure instead of a structure, and storage is 1216: allocated via alloca. 1217: 1218: Thu Nov 29 22:03:57 1990 Richard Stallman (rms at mole.ai.mit.edu) 1219: 1220: * tm-vax.h (BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER): New macros. 1221: 1222: Tue Nov 27 12:03:36 1990 Richard Stallman (rms at mole.ai.mit.edu) 1223: 1224: * tm-hp9k320.h (STANDARD_STARTFILE_PREFIX): Don't alter if already set. 1225: 1226: Tue Nov 27 12:28:45 1990 Michael Meissner (meissner at osf.org) 1227: 1228: * out-mips.c (function_arg, function_arg_advance): Pass single 1229: precision floating point numbers to prototyped functions by assuming 1230: only one word is passed rather than two unless the argument is 1231: passed in a floating point register. This behavior matches the MIPS 1232: C compiler. 1233: 1234: * tm-mips.h (CPP_SPEC): Add -D_MIPSEB -D_SYSTYPE_SYSV -D_LANGUAGE_C 1235: to SGI's CPP_SPEC. 1236: (MIPS_DEBUGGING_INFO): New macro. 1237: (PUT_SDB_*): Write debug information to the temporary file that 1238: buffers the text section, instead of using the current output file. 1239: 1240: * tm-iris.h (CPP_PREDEFINES): Move -D_LANGUAGE_C from CPP_PREDEFINES 1241: to CPP_SPEC since it's in the compiler name space, -ansi should not 1242: disable it. 1243: 1244: Mon Nov 26 18:37:39 1990 Michael Meissner (meissner at osf.org) 1245: 1246: * mips.md (stack compressor peephole): Remove check against 1247: stack_args_preallocated, since nobody sets it. 1248: (anonymous add/subtract patterns): Explicitly use the assembler 1249: temporary register if adding/subtracting a constant that won't fit 1250: in 16 bits -- Silicon Graphics asm complains. 1251: (fix_truncdfsi2, fix_truncsfsi2) Rewrite so that optimization of 1252: repeated conversions of the same number do not generate an insn not 1253: found error message (the generated insn was optimized to a gp->gp 1254: register move inside of a parallel with a clobber of a hard fp 1255: register). The new insns describe the machine more faithfully, and 1256: allow things like clobbering the fp register containing the value, 1257: if it is the last use rather than using a specific hard register. 1258: (fixuns_truncsfsi2, fixuns_truncdfsi2): New patterns to 1259: automatically convert {single,double} precision to unsigned. 1260: (anonymous move df/sf patterns): Put the operands to mfc1 in the 1261: order the assembler likes them (always put gp reg first, even if 1262: moving from gp register to fp register). 1263: (wild_insn): Remove bogus insn which is commented out. 1264: (jump): Remove TARGET_PIC code for now. 1265: 1266: * out-mips.c (toplevel, function_epilogue, mips_asm_file_end, 1267: mips_output_external): If optimizing for the global pointer, emit 1268: all code after processing the entire program, rather than emitting 1269: the code at the end of the function. Also, properly sized .extern's 1270: are emitted for variables that are not defined in the current 1271: module. This is because the MIPS assembler uses single pass 1272: semantics, and will emit a 2 instruction sequence for externals it 1273: doesn't know anything about, and GCC emits data definitions at the 1274: end of the program. You can't just emit a properly sized .extern 1275: either, because the assembler will complain if it sees an .extern 1276: followed by a definition. The ADDRESSABLE bit in the identifier 1277: node for the external name is used to indicate whether a definition 1278: for the name exists or not. This replaces code which told the 1279: assembler to preprocess the source, and include the same source 1280: twice. 1281: (sym_lineno): Add a new variable to keep trace of labels emitted 1282: after each .loc for Silicon Graphics. 1283: (function_prologue, function_epilogue, toplevel): Explicitly use 1284: temporary registers for stack frames > 32K, since the Silicon 1285: Graphics system doesn't automatically use $at if the value overflows, 1286: also save an instruction or two for large stack frames. 1287: (init_cumulative_args): Fix to work with the method types G++ 1288: produces as well as normal function types. 1289: (compare_collect): In debug code, print the mode symbolically. 1290: (trace): Take two additional arguments which are passed to fprintf. 1291: (override_options): Remove unsupported -mpic code. 1292: 1293: * tm-decstatn.h (toplevel): Add a GNU copyright. 1294: 1295: * tm-iris.h (toplevel): Add a GNU copyright. 1296: (CPP_SPEC): If -ansi, define __EXTENSIONS__. 1297: (SGI_TARGET): Define this for other mips files. 1298: (LABEL_AFTER_LOC): New macro to put a label after .loc. 1299: (SET_FILE_NUMBER): New macro to force .file/.loc file # to be 1. 1300: (ADJUST_STACK_SIZE): Don't deal with variable arguments. 1301: 1302: * tm-mips.h (*_SPEC): Add #ifdef's so other files can define their 1303: own, without #undef. 1304: (LINK_SPEC, ASM_SPEC): Pass -EB/-EL to assembler, linker so cross 1305: compilers can be made from little endian mips to big endian mips and 1306: vica versa. Generate an error message if the wrong flag is used. 1307: Do not pass -EB/-EL to Silicon Graphics assembler/linker. 1308: (CPP_SPEC, MACHINE_NAME): Add Silicon Graphics defaults. 1309: (MIPS_TEMP?_REGNUM): New macros for temporary registers used in the 1310: prologue and epilogue if the stack frame is > 32K. 1311: (ASM_OUTPUT_LABEL): If optimizing the global pointer, set the 1312: addressable bit in the indentifier node, so that mips_asm_file_end 1313: and mips_output_external can figure out if a particular identifier 1314: really is external to the compiliation unit. 1315: (ASM_OUTPUT_COMMON): Same change as ASM_OUTPUT_LABEL. 1316: (ASM_OUTPUT_LOCAL): Same change as ASM_OUTPUT_LABEL. 1317: (MACHINE_TYPE): Key off of OSF_OS and SGI_TARGET macros. 1318: (TARGET_DEFAULT): For OSF/1 make -mgas and -G 0 default. 1319: (STACK_POINTER_OFFSET): Define as 0. 1320: (external variables): Declare flag_omit_frame_pointer, 1321: sdb_label_count, mips_section_threshold, and sym_lineno. 1322: (STACK_ARGS_ADJUST): Protect with an #ifndef. 1323: (FUNCTION_PROFILER): Talk to the MIPS profiling routines the same 1324: way the MIPS compiler does. 1325: (INDIRECTABLE_ADDRESS_P): Allow disp+reg in addition to reg+disp. 1326: (ASM_FILE_START): If optimizing for the global pointer, create a 1327: temporay stream to hold text until program ends. Put gcc_compiled. 1328: in the data section. 1329: (ASM_DECLARE_FUNCTION_NAME): Switch file streams used to the text 1330: stream if optimizing for the global pointer. 1331: (ASM_FILE_END): New macro to invoke mips_asm_file_end function. 1332: (ASM_OUTPUT_SOURCE_LINE): Invoke macro LABEL_AFTER_LOC after .loc, 1333: so that Silicon Graphics can put out a label after each .loc. 1334: (ASM_OUTPUT_SOURCE_FILENAME): Invoke macro SET_FILE_NUMBER to set 1335: the file number, so Silicon Graphics can hardwire this to 1. 1336: (LABEL_AFTER_LOC, SET_FILE_NUMBER): Provide defaults if not Silicon 1337: Graphics. 1338: (ASM_OUTPUT_ASCII): Assign parameter to local variable, and remove 1339: special \a, \v support. 1340: (ASM_OUTPUT_IDENT): Dump #ident directives into .data. 1341: 1342: Mon Nov 26 16:50:57 1990 Richard Stallman (rms at mole.ai.mit.edu) 1343: 1344: * cccp.c (main): Handle -w. 1345: (warning): Do nothing if -w. 1346: * gcc.c (compilers): Pass -w to cpp. 1347: 1348: Sun Nov 25 16:37:10 1990 Richard Stallman (rms at mole.ai.mit.edu) 1349: 1350: * expr.c (emit_push_insn): Don't pad at all if space already allocated 1351: and padding is upward. 1352: 1353: * gcc.c (do_spec_1): Handle %W{...}. 1354: (compilers): Use %W{...} when passing -o option. 1355: 1356: Sat Nov 24 16:50:11 1990 Richard Stallman (rms at mole.ai.mit.edu) 1357: 1358: * va-mips.h (va_list): Don't typedef if _VA_LIST_ is defined. 1359: 1360: Wed Nov 21 15:57:48 1990 Richard Stallman (rms at mole.ai.mit.edu) 1361: 1362: * expr.c (expand_expr, expand_assignment): 1363: Check for TREE_THIS_VOLATILE in ARRAY_REF. 1364: expand_assignment failed to handle volstruct at all. 1365: 1366: Tue Nov 20 17:47:22 1990 Richard Stallman (rms at mole.ai.mit.edu) 1367: 1368: * out-sparc.c (output_fp_move_double): Handle reg+reg address 1369: when moving each word separately. 1370: 1371: * ns32k.md (addsi3): Don't use `addr' for very large displacements. 1372: 1373: * recog.c (address_operand): Don't allow volatile mem as indirect. 1374: 1375: Mon Nov 19 14:55:44 1990 Richard Stallman (rms at mole.ai.mit.edu) 1376: 1377: * out-sparc.c (output_fp_move_double): Don't assume arrays are aligned. 1378: 1379: Sun Nov 18 19:21:10 1990 Richard Stallman (rms at mole.ai.mit.edu) 1380: 1381: * expr.c (emit_push_insn): set extra to 0 once the padding is done, 1382: to avoid padding twice. 1383: 1384: Thu Nov 15 21:56:07 1990 Richard Stallman (rms at mole.ai.mit.edu) 1385: 1386: * math-68881.h (HUGE_VAL): Add extra braces on Sun. 1387: 1388: Wed Nov 14 14:30:29 1990 Richard Stallman (rms at mole.ai.mit.edu) 1389: 1390: * c-decl.c (grokdeclarator): Don't ignore prototype if -traditional. 1391: 1392: Tue Nov 13 18:16:47 1990 Richard Stallman (rms at mole.ai.mit.edu) 1393: 1394: * out-i860.c (output_block_move): Move .Lm%3 down one insn. 1395: 1396: Wed Nov 7 00:01:18 1990 Richard Stallman (rms at mole.ai.mit.edu) 1397: 1398: * c-parse.y (component_decl_list): Allow missing semi at end. 1399: 1400: Tue Nov 6 20:49:57 1990 Richard Stallman (rms at mole.ai.mit.edu) 1401: 1402: * expr.c (expand_builtin): For ffs, use mode of operand. 1403: 1404: * xm-iris.h (alloca): Don't define it. 1405: * tm-iris.h (CPP_SPEC): Define variant symbols starting with _. 1406: Define __EXTENSIONS__. 1407: 1408: * config.gcc (editing .gdbinit): Search current dir, not just srcdir. 1409: 1410: Sun Nov 4 12:55:03 1990 Richard Stallman (rms at mole.ai.mit.edu) 1411: 1412: * i386.md (extend*): Take out last change. 1413: Unix assembler rejects movsx... 1414: 1415: * expr.c (expand_expr): Special case for ignored volatile 1416: failed to return. 1417: 1418: Fri Nov 2 15:30:48 1990 Richard Stallman (rms at mole.ai.mit.edu) 1419: 1420: * va-i860.h (_VA_LIST): New macro avoids duplicate typedefs. 1421: 1422: * gnulib2.c (__builtin_saveregs): Add version for i860. 1423: 1424: * out-i860.c (output_block_move): Rearrange the copy loop. 1425: Now uses two labels and a more complicated lead-in. 1426: 1427: Thu Nov 1 18:15:11 1990 Richard Stallman (rms at mole.ai.mit.edu) 1428: 1429: * config.gcc (sun3, etc.): Assume os4 as default for Sun 3 and Sun 4. 1430: 1431: * math-68881.h (HUGE_VAL): Alternate definition for Suns. 1432: 1433: * tm-i386v.h (STARTFILE_SPEC, LIB_SPEC): Handle -posix. 1434: (CPP_SPEC): New macro. 1435: (LIB_SPEC): Handle -shlib. 1436: 1437: Wed Oct 31 22:12:33 1990 Richard Stallman (rms at mole.ai.mit.edu) 1438: 1439: * config.gcc (ultrix): New alternative. 1440: 1441: * i386.md (extend*): Change opcode to movsx. Was movs. 1442: 1443: Tue Oct 30 17:03:46 1990 Richard Stallman (rms at mole.ai.mit.edu) 1444: 1445: * tm-aix386.h (ASM_FILE_START): Don't do .noopt or .optim. 1446: 1447: * cccp.c (make_definition): Convert newline to newline-newline. 1448: 1449: Mon Oct 29 11:43:46 1990 Richard Stallman (rms at mole.ai.mit.edu) 1450: 1451: * fixincludes: Fix missing semi in rusers.h. 1452: 1453: Sun Oct 28 17:23:50 1990 Richard Stallman (rms at mole.ai.mit.edu) 1454: 1455: * cccp.c (macarg1): Don't skip the char after */. 1456: 1457: * Makefile: Put an `else' in every shell `if'. 1458: 1459: * m68k.md (zero-extend QI): Use gen_rtx, not change_address. 1460: 1461: * Makefile (USER_H): List va-*.h explicitly. 1462: (toplev.o): Depend on RTL_H. 1463: (expr.o): Depend on typeclass.h. 1464: (stamp-*): Depend on move-if-change. 1465: (install): Depend on various header files and gcc.1. 1466: (gcc.o): Depend on gvarargs.h and obstack.h. 1467: 1468: * i860.md (movsf): Handle moving CONST_DOUBLE to cpu reg. 1469: 1470: Fri Oct 26 11:16:03 1990 Richard Stallman (rms at mole.ai.mit.edu) 1471: 1472: * Makefile (libg): Add else to the if. 1473: 1474: Thu Oct 25 21:17:05 1990 Richard Stallman (rms at mole.ai.mit.edu) 1475: 1476: * integrate.c (access_parm_map): Handle refs to all words of DF reg. 1477: 1478: Wed Oct 24 13:50:13 1990 Richard Stallman (rms at mole.ai.mit.edu) 1479: 1480: * c-typeck.c (build_array_ref): Use main variant for value type. 1481: 1482: * expr.c (expand_expr): For ARRAY_REF, preserve const and volatile. 1483: 1484: * cccp.c (macarg1): Skip the */ that ends a comment. 1485: 1486: * cccp.c (rescan): Use newline_fix testing for comments before #. 1487: (handle_directive): Likewise, in comments before directive name. 1488: (rescan): Process macro when terminated by comment. 1489: Ignore backslash-newline in C++ comment. 1490: 1491: Tue Oct 23 20:35:13 1990 Richard Stallman (rms at mole.ai.mit.edu) 1492: 1493: * cccp.c (collect_expansion): Remove newline from error message. 1494: Error for ## at beginning or end of definition. 1495: 1496: * m68k.md (zero-extend QI): When pushing, store value at 1(sp). 1497: 1498: Mon Oct 22 13:07:31 1990 Richard Stallman (rms at mole.ai.mit.edu) 1499: 1500: * cccp.c (rescan): In the loop that handles numbers, discard \newline. 1501: 1502: * cccp.c (S_ISREG): Fix typo: do use the argument. 1503: 1504: * xm-sparc.h (alloca.h): Don't include if alloca already defined. 1505: 1506: Sun Oct 21 16:28:04 1990 Richard Stallman (rms at mole.ai.mit.edu) 1507: 1508: * reload.c (find_equiv_regs): Reject reg that overlaps goal. 1509: 1510: * expmed.c (extract_bit_field): For big fields, make sure 1511: value really goes in the target. 1512: 1513: Fri Oct 19 13:21:25 1990 Richard Stallman (rms at mole.ai.mit.edu) 1514: 1515: * fold-const.c (split_tree): Use NEGATE_EXPR to negate *conp. 1516: 1517: * expr.c (emit_push_insn): Allow const0_rtx for multi-word constant. 1518: 1519: Thu Oct 18 17:38:17 1990 Richard Stallman (rms at mole.ai.mit.edu) 1520: 1521: * reload1.c (choose_reload_regs): Cast reg class used as index. 1522: 1523: Wed Oct 17 00:21:25 1990 Richard Stallman (rms at mole.ai.mit.edu) 1524: 1525: * stmt.c (push_structure_value, pop_structure_value): New fns. 1526: * expr.c (expand_call): Use them if structure value needed. 1527: 1528: * gcc.c (do_spec_1): Null-terminate error message. 1529: 1530: * sdbout.c (sdbout_symbol): Handle subreg as DECL_RTL. 1531: This happens for vars from the parms of inline functions. 1532: * dbxout.c (dbxout_symbol): Likewise. 1533: 1534: Tue Oct 16 13:22:05 1990 Richard Stallman (rms at mole.ai.mit.edu) 1535: 1536: * expmed.c (extract_bit_field, store_bit_field): 1537: Handle fields wider than a word. 1538: Restrict special case for word-sized field to aligned words. 1539: 1540: * stddef.h (size_t): Also inhibit if _SIZE_T_. 1541: 1542: * cccp.c (macarg1): If traditional, let backslash quote always. 1543: 1544: * fixincludes (CTRL): Don't put quotes around a quote. 1545: 1546: Sun Oct 14 21:28:32 1990 Richard Stallman (rms at mole.ai.mit.edu) 1547: 1548: * flow.c (life_analysis): No hard regs for any pseudos live at setjmp. 1549: 1550: * c-decl.c (duplicate_decls): Don't suppress warning for fn defn 1551: after implicit declaration, if fn has already been defined. 1552: 1553: Thu Oct 11 13:15:36 1990 Richard Stallman (rms at mole.ai.mit.edu) 1554: 1555: * expr.c (saveregs_value): New variable. 1556: (init_expr): Init the variable. 1557: (expand_builtin): Don't call __builtin_saveregs twice in one function. 1558: 1559: * va-*.h: Rename all structure fields to start with __. 1560: * va-pyr.h: Rename variables also. 1561: (va_start): Delete the unmatched {. 1562: (va_end): Now a nop. 1563: 1564: Wed Oct 10 22:01:59 1990 Richard Stallman (rms at mole.ai.mit.edu) 1565: 1566: * va-sparc.h (__va_ctl): Rename fields to start with __. 1567: 1568: Tue Oct 9 14:47:53 1990 Richard Stallman (rms at mole.ai.mit.edu) 1569: 1570: * flow.c (propagate_block): Include NOTE at end of block in scan. 1571: 1572: * fixincludes: Fix missing semicolon in rstat.h. 1573: 1574: Mon Oct 8 13:09:40 1990 Richard Stallman (rms at mole.ai.mit.edu) 1575: 1576: * loop.c (eliminate_biv): Handle mult_val < 0 by reversing compare. 1577: 1578: * cccp.c (main): Handle .S when removing suffix for deps output. 1579: 1580: Sun Oct 7 23:33:24 1990 Richard Stallman (rms at mole.ai.mit.edu) 1581: 1582: * tm-i386v.h (STARTFILE_SPEC): Handle -p here. 1583: (LIB_SPEC): Not here. 1584: 1585: Sun Sep 30 21:35:52 1990 Richard Stallman (rms at mole.ai.mit.edu) 1586: 1587: * print-tree.c (print_node_brief): Declare i for printing REAL_CST. 1588: 1589: Sat Sep 29 18:40:08 1990 Richard Stallman (rms at mole.ai.mit.edu) 1590: 1591: * fixincludes: For link pointing outside /usr/include, 1592: use $x rather than $dest. 1593: 1594: Wed Sep 26 12:44:54 1990 Richard Stallman (rms at mole.ai.mit.edu) 1595: 1596: * tm-mips-news.h: New file. 1597: 1598: * out-i860.c (output_size_for_block_move): Don't decrement. 1599: (output_block_move): Decrement initial storing address instead. 1600: 1601: * c-parse.y (yylex): Always try unsigned int if `u' is written. 1602: 1603: * tm-seq386.h (LINK_SPEC): Define it. 1604: 1605: * c-typeck.c (build_unary_op): Don't let &* make an lvalue. 1606: 1607: Sun Sep 23 14:59:21 1990 Richard Stallman (rms at mole.ai.mit.edu) 1608: 1609: * cccp.c (S_ISREG): Define it unless overridden. 1610: (main, finclude): Use that. 1611: 1612: * reload1.c (reload): If insn after a function call uses the 1613: function value, and that reg is spilled, and the insn might 1614: use it for reloading, add an extra need. 1615: (reload_as_need): Detect such insns for new arg to choose_reload_regs. 1616: (choose_reload_regs): In that case, don't choose function value reg. 1617: 1618: * tm-convex1.h, tm-convex2.h (CPP_SPEC): Define __NO_INLINE_MATH. 1619: 1620: Sat Sep 22 14:01:00 1990 Richard Stallman (rms at mole.ai.mit.edu) 1621: 1622: * tree.c (build_index_type): Don't hash variable-bound type. 1623: 1624: * tm-aix386.h (LIB_SPEC): Different library name for -p. Always -lc. 1625: (LINK_SPEC): Don't pass -lg or -g. 1626: (CPP_PREDEFINES): Define _I386 and _AIX; don't define unix. 1627: (SDB_DEBUGGING_INFO): Define it. 1628: (DBX_DEBUGGING_INFO): Undefine it. 1629: (ASM_FILE_START): Output .noopt if not optimizing. 1630: (PCC_BITFIELD_TYPE_MATTERS): Define it. 1631: (FUNCTION_PROFILER): Add definition. 1632: 1633: Thu Sep 20 13:16:39 1990 Richard Stallman (rms at mole.ai.mit.edu) 1634: 1635: * tm-hp9k320.h (PROFILE_BEFORE_PROLOGUE): Define it. 1636: (FUNCTION_PROFILER): Don't redefine if not HPUX_ASM. 1637: 1638: Tue Sep 18 22:46:02 1990 Richard Stallman (rms at mole.ai.mit.edu) 1639: 1640: * sdbout.c (sdbout_one_type): Don't output undefined structs, etc. 1641: 1642: Mon Sep 17 13:35:45 1990 Richard Stallman (rms at mole.ai.mit.edu) 1643: 1644: * mips.md (movdf): Move words in opposite order if overlap. 1645: 1646: Sun Sep 16 16:27:29 1990 Richard Stallman (rms at mole.ai.mit.edu) 1647: 1648: * toplev.c (rest_of_decl_compilation): Output TYPE_DECL here for sdb 1649: only if top_level. 1650: 1651: * expr.c (expand_builtin): Error for __builtin_nextarg 1652: if function definition doesn't have `...'. 1653: 1654: * c-typeck.c (build_conditional_expr): Don't skip arg promotion. 1655: 1656: Fri Sep 14 17:26:59 1990 Richard Stallman (rms at mole.ai.mit.edu) 1657: 1658: * sdbout.c (plain_type_1): Save up array dims on the way out 1659: in the reverse order. 1660: (plain_type): Print the innermost ones, reversing them. 1661: 1662: Thu Sep 13 16:00:05 1990 Richard Stallman (rms at mole.ai.mit.edu) 1663: 1664: * gstdarg.h: New name for stdarg.h. 1665: * Makefile (install): Rename gstdarg.h while installing it. 1666: 1667: * fixincludes: Discard `.' from value of `files'. 1668: 1669: * sdbout.c (PUT_SDB_LAST_DIM): Get rid of SDB_DELIM. 1670: (plain_type): Output accumulated array dims and size. 1671: (plain_type_1): Eliminate arg NOSIZE. Save up dims and size. 1672: Call self rather than plain_type for pointers and functions. 1673: (sdbout_array_type, sdbout_array_depth): Functions deleted. 1674: 1675: Wed Sep 12 18:47:30 1990 Richard Stallman (rms at mole.ai.mit.edu) 1676: 1677: * expmed.c (expand_divmod): Use divmod insn for divide if appro. 1678: 1679: Tue Sep 11 13:24:58 1990 Richard Stallman (rms at mole.ai.mit.edu) 1680: 1681: * gnulib.c (_bb_init_func): Library member now named _bb. 1682: 1683: Mon Sep 10 13:07:39 1990 Richard Stallman (rms at mole.ai.mit.edu) 1684: 1685: * sdbout.c (plain_type_1): New argument NOSIZE. Inhibits size output. 1686: (sdbout_array_type): Call plain_type_1 directly; set NOSIZE. 1687: 1688: * sdbout.c (sdbout_array_type): New argument DEPTH. 1689: Don't output more than SDB_MAX_DIM dimensions. 1690: (sdbout_array_depth): New function. 1691: (plain_type_1): Start DEPTH by calling sdbout_array_depth. 1692: 1693: Sun Sep 9 18:05:56 1990 Richard Stallman (rms at mole.ai.mit.edu) 1694: 1695: * tm-mips.h (CPP_SPEC): Error for -EL and -EB. 1696: 1697: * sdbout.c (plain_type_1): Test KNOWN_TYPE_TAG with TREE_ASM_WRITTEN. 1698: (sdbout_symbol): Call sdbout_one_type before the switch. 1699: (sdbout_field_types): Look at targets of pointers. 1700: (sdbout_one_type): Call sdbout_field_types. 1701: 1702: * stor-layout.c (layout_record): Update size_unit adding var to var. 1703: 1704: * tm-i386v4.h: New file. 1705: 1706: Fri Sep 7 13:10:24 1990 Richard Stallman (rms at mole.ai.mit.edu) 1707: 1708: * cccp.c (STDC_VALUE): New macro, defaulting to 1. 1709: (intialize_builtins): Use that. 1710: 1711: * print-tree.c (print_node): Correct first_rtl for SAVE_EXPR. 1712: 1713: * m68k.md (movqi): `st' does not set cc's. 1714: 1715: Wed Sep 5 16:18:04 1990 Richard Stallman (rms at mole.ai.mit.edu) 1716: 1717: * Makefile (includes): Use proper directory. 1718: 1719: Tue Sep 4 13:01:37 1990 Richard Stallman (rms at mole.ai.mit.edu) 1720: 1721: * c-decl.c (store_parm_decls): Let extra_warnings control 1722: warnings about parms not declared. 1723: 1724: * local-alloc.c (block_alloc): Don't try to lower qty_birth 1725: if reg_qty is negative. 1726: 1727: * flow.c (life_analysis): Move code to detect stack-adjust insns. 1728: It was unreachable. 1729: 1730: * reload1.c (reload): Don't complete group with explicitly used reg. 1731: 1732: Mon Sep 3 14:37:41 1990 Richard Stallman (rms at mole.ai.mit.edu) 1733: 1734: * Makefile (RANLIB): Don't specify the directory. 1735: 1736: * local-alloc.c (reg_classes_overlap_p): Cast enums to ints. 1737: 1738: Fri Aug 31 17:09:38 1990 Michael Meissner (meissner at osf.org) 1739: 1740: * mips.md (anonymous add insn before addsi3): Allow offsets from the 1741: frame pointer to be >16 bits, just like the stack pointer. This is 1742: to prevent insn's not found generated when optimizing programs that 1743: have stack frames more than 32K, and the optimizer wants to load the 1744: address of an array into a register, it does so by generating a PLUS 1745: insn with the appropriate offset. This PLUS insn is never checked 1746: to see if the machine can handle the offset. 1747: (anonymous subtract insn before subsi3): same change as above. 1748: (addsi3): Don't accept large constants with a !n constraint. Just 1749: reject any large constants, the anonymous add pattern before addsi 1750: will catch references to the stack and frame pointers. 1751: (subsi3): Same change as addsi3. 1752: 1753: Sat Sep 1 16:14:31 1990 Richard Stallman (rms at mole.ai.mit.edu) 1754: 1755: * expr.c (convert_move): Don't forget to set `target'. 1756: 1757: Fri Aug 31 14:37:36 1990 Richard Stallman (rms at mole.ai.mit.edu) 1758: 1759: * sdbout.c (sdbout_begin_block): Delete excess arg to sdbout_block. 1760: 1761: Wed Aug 29 17:01:55 1990 Richard Stallman (rms at mole.ai.mit.edu) 1762: 1763: * local-alloc.c (combine_regs): Don't combine regs if classes 1764: fail to overlap usefully, if either reg says preferred or nothing. 1765: (reg_classes_overlap_p): New function. 1766: 1767: Tue Aug 28 21:28:54 1990 Richard Stallman (rms at mole.ai.mit.edu) 1768: 1769: * sdbout.c (plain_type_1): Output .dim X,Y...; for multi-dim array. 1770: (sdbout_array_dim): New recursive subroutine. 1771: (PUT_SDB_DIM): Macro eliminated. 1772: (PUT_SDB_START_DIM, PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM): New macros. 1773: * tm-3b1.h: Override PUT_SDB_START_DIM. 1774: 1775: Sun Aug 26 21:28:20 1990 Richard Stallman (rms at mole.ai.mit.edu) 1776: 1777: * cccp.c (make_definition): Eliminate any backslash-newline. 1778: 1779: Sat Aug 25 17:20:47 1990 Richard Stallman (rms at mole.ai.mit.edu) 1780: 1781: * tm-att386.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): New macros. 1782: (BSS_SECTION_ASM_OP): New macro. 1783: (ASM_OUTPUT_LOCAL): Call bss_section, don't just print .bss. 1784: 1785: Fri Aug 24 17:16:28 1990 Richard Stallman (rms at mole.ai.mit.edu) 1786: 1787: * cse.c (rtx_cost): Cost of MEM depends on number of words. 1788: 1789: * i860.md (movsf, movdf): Allow moving G to m in constraints. 1790: * tm-i860.h (CONST_COSTS): Make SFmode constant cheaper. 1791: 1792: Thu Aug 23 14:19:20 1990 Richard Stallman (rms at mole.ai.mit.edu) 1793: 1794: * c-typeck.c (digest_initializer): No pedantic warning for string 1795: and array of unsigned char. 1796: 1797: * tree.c (get_identifier): Do id_clash_len stuff if length equals that. 1798: 1799: Wed Aug 22 15:06:11 1990 Richard Stallman (rms at mole.ai.mit.edu) 1800: 1801: * loop.c (scan_loop): Don't use REG_EQUAL notes as invariants 1802: unless they come with REG_RETVAL notes. 1803: 1804: Tue Aug 21 20:03:51 1990 Michael Meissner (meissner at osf.org) 1805: 1806: * Makefile (install): Add code to build libg.a if it doesn't exist 1807: when installing GCC. 1808: 1809: * out-mips.c (toplevel): add external declaration for asm_out_file, 1810: and 2 new FILE *'s (asm_out_data_file, asm_out_text_file) so we can 1811: switch between two files when optimizing for the global pointer. 1812: Also add a structure type to hold the linked list of externs that 1813: GCC wishes to emit. 1814: 1815: Everything between the function prologue and epilogue are written to 1816: a temporary file, which is written to the normal output file after 1817: the entire program is processed. This is needed because the MIPS 1818: assembler assumes that all externals should be referenced with a 2 1819: instruction sequence instead of the faster 1 instruction sequence 1820: off of the GP, unless a proper .extern proceeds any use. We can't 1821: emit the .extern because the assembler will complain if later there 1822: is a definition for the variable, such as GCC puts out at the end of 1823: the program. 1824: 1825: (compare_collect): print mode symbolically in debug code. 1826: 1827: (mips_output_external): Remove code which used the preprocessor to 1828: handle the global pointer, and remember all externs in a linked list 1829: for use at the end of the program. 1830: 1831: (mips_asm_file_end): If optimizing the global pointer, emit all 1832: externals which don't have definitions as the appropriate sized 1833: .extern, and then emit the code for functions that was written to a 1834: temporary file, so that the code comes after the appropriate 1835: definition or declaration. 1836: 1837: (function_epilogue): If optimizing for the global pointer, switch 1838: the current output file to the data file after all of the epilogue 1839: is written out. 1840: 1841: * tm-mips.h (ASM_SPEC): Duplicate ASM_SPEC into 2 #ifdef sections (one 1842: for the little endian DECstation, and the other for everybody else 1843: who uses the MIPS in a big endian mode), and pass the appropriate 1844: -EL and -EB switches to the assembler. This allows building a cross 1845: compiler for a different endian MIPS. 1846: 1847: (LINK_SPEC): Pass -EL and -EB to linker, just like ASM_SPEC. 1848: 1849: (MACHINE_TYPE): For DECstation, specify "Ultrix Dec Mips" instead of 1850: just "Dec Mips". 1851: 1852: (FUNCTION_PROFILER): Call _mcount in the appropriate MIPS fashion. 1853: 1854: (ASM_FILE_START): If optimizing for the global pointer, open a 1855: temporary file to write the code to (see out-mips.c above). 1856: 1857: (ASM_DECLARE_FUNCTION_NAME): If optimizing for the global pointer, 1858: switch the current output file to asm_out_text_file. 1859: 1860: (ASM_OUTPUT_COMMON): Remove the old code which used the preprocessor 1861: to optimize for the global pointer. 1862: 1863: Tue Aug 21 17:44:49 1990 Richard Stallman (rms at mole.ai.mit.edu) 1864: 1865: * make-cc1.com: Compile and link version.c. 1866: 1867: * expr.c (convert_move): Handle expand_unop retval not same as target. 1868: 1869: * reload.c (find_reloads): For register letters, don't win if BLK. 1870: 1871: * flow.c (mark_set_1, mark_used_regs): Update reg_first_use. 1872: (allocate_for_life_analysis): Allocate and clear it. 1873: * local-alloc.c (block_alloc): Calculate INSN_MAP. 1874: Get first use of each reg from reg_first_use. 1875: 1876: * tm-vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Distinguish C from C++. 1877: (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Add a const data section. 1878: (ASM_OUTPUT_EXTERNAL): Use that section. 1879: (SELECT_SECTION): Go to that section when appropriate. 1880: 1881: Mon Aug 20 13:00:53 1990 Richard Stallman (rms at mole.ai.mit.edu) 1882: 1883: * gcc.c (process_command): Split -oFOO into two arguments. 1884: 1885: * out-mips.c, tm-mips.h: Changes by Meissner. 1886: 1887: * stmt.c (expand_asm_operands): Handle COMPONENT_REF and 1888: ARRAY_REF directly as output operands. Avoids crash if BLKmode. 1889: 1890: * tm-i386vgas.h: New file, copied from tm-i386gas.h. 1891: (ASM_OUTPUT_LABELREF): Eliminate leading underscores. 1892: (STARTFILE_SPEC, LIB_SPEC): Define as in tm-i386v.h. 1893: (PCC_BITFIELD_TYPE_MATTERS): Likewise. 1894: * config.gcc (i386-sysv-gas): Use the new file. 1895: 1896: * tm-i860.h (PRINT_OPERAND): Convert double to float 1897: for SFmode operand. 1898: (PRINT_OPERAND_EXTRACT_FLOAT): New macro. 1899: 1900: Sun Aug 19 17:23:10 1990 Richard Stallman (rms at mole.ai.mit.edu) 1901: 1902: * c-parse.y (lineno): Delete definition--it's in toplev. 1903: 1904: * output.h: Make all variables extern. 1905: 1906: * tm-hp9k320bsd.h (CPP_SPEC): Def __HAVE_68881__ like __HAVE_FPU__. 1907: 1908: * fixincludes: Handle uses of _IO* followed by spaces. 1909: Change redirections for cd when testing that directory exists. 1910: 1911: Thu Aug 16 22:44:35 1990 Richard Stallman (rms at mole.ai.mit.edu) 1912: 1913: * out-sparc.c (output_scc_insn): Clear CC_IN_FCCR after 1914: operation since setting a register to the result of a 1915: floating-point comparision affects the INTEGER condition code 1916: register. 1917: 1918: * stmt.c: fixup_gotos must ignore blocks started after the goto. 1919: (block_start_count): New variable, and slot in some structures. 1920: (expand_function_start): Initialize it. 1921: (expand_start_bindings): Increment it and store in struct nesting. 1922: (expand_goto): Store it in struct goto_fixup. 1923: (fixup_gotos): Compare fixup's count with block's count. 1924: 1925: Wed Aug 15 16:46:04 1990 Richard Stallman (rms at mole.ai.mit.edu) 1926: 1927: * out-i860.c (output_size_for_block_move): Do subtract ALIGN. 1928: 1929: Mon Aug 13 17:45:13 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1930: 1931: * tm-i860.h (GO_IF_LEGITIMATE_ADDRESS): Typo testing offset alignment. 1932: 1933: * config.gcc (sun3-mach): New alternative. 1934: * tm-sun3mach.h: New file. 1935: 1936: * m68k.md (bfextu patterns): Set CC_NOT_NEGATIVE. 1937: 1938: Sun Aug 12 14:25:23 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1939: 1940: * tree.h (enum built_in_function): Delete comma after last name. 1941: * c-parse.h (enum rid): Likewise. 1942: * expr.h (enum optab_methods): Likewise. 1943: 1944: * config.gcc (genix): Set target_machine. 1945: * tm-genix.h (ASM_OUTPUT_DOUBLE): New overriding definition. 1946: 1947: Thu Aug 9 15:19:17 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1948: 1949: * tm-hp9k320.h (CPP_SPEC): Define _HPUX_SOURCE if not ANSI. 1950: (CPP_PREDEFINES): Don't define it here. 1951: Do define alternatives with __ prepended. 1952: 1953: * tm-mips.h (CPP_SPEC): Don't do -I if -nostdinc. 1954: 1955: Wed Aug 8 13:35:00 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1956: 1957: * cccp.c (do_define, do_undef): Warn if macro name is `defined'. 1958: 1959: * tm-mips.h (ASM_INT_OP): Add missing space. 1960: 1961: * tm-sun386i.h (ASM_IDENTIFY_GCC): If profiling, put a NOP after 1962: gcc_compiled. 1963: 1964: Tue Aug 7 12:19:46 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1965: 1966: * out-mips.c (need_ent_after_loc): Variable deleted. 1967: (function_prologue): Output initial .ent and initial label. 1968: * tm-mips.h: Add extern declarations. 1969: (ASM_SPEC): No -nocpp if optimizing. 1970: (STACK_ARGS_ADJUST): Round size up to 16. Nothing else. 1971: (PRINT_OPERAND_ADDRESS): Eliminate irrelevant things 1972: such as scaled indexing. 1973: (ASM_OUTPUT_SOURCE_FILENAME): Simplify code. 1974: (ASM_OUTPUT_SOURCE_LINE): Flush code to handle need_ent_after_loc. 1975: (ASM_DECLARE_FUNCTION_NAME): Likewise. 1976: (*_SECTION_ASM_OP): Delete the \n. 1977: 1978: * pyr.md (extendsfdf2, truncsfdf2, float*, fix*): Use `&'. 1979: 1980: Mon Aug 6 12:46:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1981: 1982: * c-decl.c (grokdeclarator): Don't warn if initialized fcn is extern. 1983: (start_decl): Don't warn at all for initialized extern. 1984: 1985: * final.c (final_start_function): Handle PROFILE_BEFORE_PROLOGUE. 1986: (profile_function): New subroutine. 1987: 1988: * tm-i386sco.h: New file. 1989: * config.gcc (i386-sco): New alternative. 1990: 1991: Sun Aug 5 12:36:46 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 1992: 1993: * stor-layout.c (layout_record, layout_union): Test value of 1994: PCC_BITFIELD_TYPE_MATTERS for being nonzero, if it is defined. 1995: * tm-*.h: Define with value 1. 1996: * tm-vax.h (PCC_BITFIELD_TYPE_MATTERS): Depends on -mvaxc-alignment. 1997: 1998: * proto.h: New file. 1999: * Makefile.in (USER_H): Add that file. 2000: 2001: * loop.c (other_reg_use_p): Change && to || in test at beginning. 2002: 2003: Fri Aug 3 00:18:35 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2004: 2005: * gcc.c (ENDFILE_SPEC): New macro. 2006: (do_spec_1): Handle %E. 2007: (link_spec): Use %E. 2008: 2009: * xm-i386.h (alloca): Define without arg. 2010: 2011: * Makefile (RANLIB): New var, used in various places. 2012: 2013: * gnulib2.c (__bb_init_func): Add dummy function to prevent warning. 2014: 2015: * Makefile (install): Look for ranlib in both places. 2016: (stage1, ...): Likewise. And run ranlib even after ln. 2017: 2018: Tue Jul 31 23:59:45 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2019: 2020: * tm-encore.h (FUNCTION_PROFILER): Override, putting `.' in label. 2021: 2022: Mon Jul 30 13:52:45 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2023: 2024: * gnulib2.c (__floatdidf): Fix typo. 2025: 2026: Sun Jul 29 16:05:27 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2027: 2028: * tm-vms.h (ASM_OUTPUT_EXTERNAL): Check TREE_READONLY. 2029: 2030: * xm-vms.h (alloca): Use built-in alloca. 2031: 2032: Fri Jul 27 15:07:00 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2033: 2034: * combine.c (subst): Handle (ASHIFT 1 x) in (EQ (AND ... y) 0) 2035: only if little-endian. 2036: 2037: Thu Jul 26 17:22:56 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2038: 2039: * tm-mips.h (ASM_OUTPUT_SOURCE_LINE): Delete pic stuff (was for v2). 2040: 2041: * fold-const.c (rshift_double): Reset carry after each shift of 2042: one bit. 2043: 2044: Wed Jul 25 16:21:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2045: 2046: * tm-vms.h (ASM_OUTPUT_EXTERNAL): Use assemble_name. 2047: 2048: Tue Jul 24 15:35:04 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2049: 2050: * c-typeck.c (build_binary_op_nodefault): Allow compare of any 2051: pointer with const void *, etc. 2052: 2053: * reload1.c (reload): Don't use fixed reg or frame pointer in group. 2054: 2055: * c-decl.c (grokdeclarator): Error for initialized parm. 2056: 2057: Mon Jul 23 14:33:53 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2058: 2059: * Makefile (install): chmod only the header files. 2060: 2061: Sat Jul 21 13:58:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2062: 2063: * cccp.c (O_RDONLY): Define it if not defined. 2064: 2065: * c-decl.c (finish_decl): No error for nonstatic incomplete array. 2066: 2067: Sat Jul 14 14:59:33 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2068: 2069: * gcc.c (compilers): Pass -P to cpp. 2070: 2071: * tm-mips.h (ASM_OUTPUT_SOURCE_LINE): Handle TARGET_GAS, TARGET_PIC. 2072: 2073: Thu Jul 12 12:28:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2074: 2075: * stor-layout.c (layout_record): Handle BITFIELD_NBYTES_LIMITED. 2076: 2077: * stmt.c (group_case_nodes): Don't group across an overflow. 2078: 2079: * combine.c (subst, case LSHIFT): Use gen_lowpart_for_combine. 2080: 2081: Wed Jul 11 15:17:32 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2082: 2083: * combine.c (subst, case LSHIFT): 2084: Fix condition for (lshift ... (sign_extend ...)). 2085: 2086: Tue Jul 10 17:02:54 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2087: 2088: * c-decl.c (pushdecl): No shadow warning if TREE_INLINE is set. 2089: * integrate.c (copy_parm_decls): Set TREE_INLINE in the copies. 2090: (copy_decl_tree): Likewise. 2091: 2092: * c-parse.y (yylex): Terminate token_buf after integer. 2093: 2094: Mon Jul 9 16:56:55 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2095: 2096: * expr.c (expand_call): Don't check args[i].partial when bumping 2097: negative args_size up to 0. 2098: 2099: * sparc.md (call recognizers): Don't allow address arithmetic. 2100: 2101: Sun Jul 8 14:22:22 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2102: 2103: * c-typeck.c (build_c_cast): Reinsert missing default_conversion call. 2104: 2105: * gnulib.c (__bb_init_func): Ensure this defines >=1 symbol. 2106: 2107: Fri Jul 6 12:28:44 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2108: 2109: * c-typeck.c (build_indirect_ref): 2110: No error if result is incomplete array. 2111: 2112: * m68k.md (casesi2 recognizer): Handle new ASM_RETURN_CASE_JUMP macro. 2113: 2114: * expmed.c (store_bit_field, extract_bit_field): New arg TOTAL_SIZE. 2115: Don't extract a bigger unit from memory than this. 2116: * expr.c: Callers changed. 2117: (store_field): New arg TOTAL_SIZE; callers changed. 2118: 2119: * xm-ns32k.h: Use built in alloca. 2120: * ns32k.md (movsf): Output float constants only if GAS_SYNTAX. 2121: (call, call_value): Support JSR_ALWAYS. 2122: Change handling of bsr for GAS_SYNTAX. 2123: 2124: Thu Jul 5 15:05:19 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2125: 2126: * mips.md (divdf3): Fix spacing in output. 2127: (movdf): Fix bad output storing CPU regs into memory. 2128: * out-mips.c (function_prologue): Bug testing fmask. 2129: (function_epilogue): Bug in spacing in output. 2130: 2131: * c-typeck.c (build_conditional_expr): Handle ((void *) 0). 2132: Allow 0 versus function pointer. 2133: 2134: Tue Jul 3 21:43:40 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2135: 2136: * c-decl.c (finish_struct): Lay out any array typedefs now completed. 2137: (layout_array_type): New function. 2138: (grokdeclarator): Don't warn for incomplete array in typedef. 2139: 2140: * tm-*.h (ASM_OUTPUT_COMMON): Use %u, not %d. 2141: (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise. 2142: 2143: Mon Jul 2 12:07:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2144: 2145: * i386.md (tstsf): Clobber reg 0 in SImode. 2146: 2147: Sun Jul 1 14:28:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2148: 2149: * stddef.h: Check __SIZE_T also. 2150: 2151: * toplev.c: Include types.h first. 2152: 2153: * i386.md (trunc*2): Don't allow moving symbolic constant to memory. 2154: Use wider move only for symbolic constant. 2155: 2156: * tm-convex.h (LINK_SPEC): Posix link flags. 2157: * tm-convex.h (STARTFILE_SPEC): Posix start files. 2158: * tm-convex[12].h (CPP_SPEC): Posix defines. 2159: * tm-convex[12].h (LIB_SPEC): Posix libraries. 2160: * tm-conv[12]os7.h: New files. 2161: * config.gcc: use tm-conv*os7 if /usr/include/stdlib.h isn't there. 2162: 2163: * xm-convex.h (S_IFMT, S_IFREG): make visible if hidden for posix. 2164: * xm-convex.h (_PROTO): define to keep 8.0 includes from screwing up. 2165: 2166: * tm-convex.h (ASM_OUTPUT_{FLOAT,DOUBLE}, PRINT_OPERAND): 2167: use %e instead of %#g, which is broken or non-posix. 2168: 2169: * tm-convex.h (current_section_is_text): make extern. 2170: * out-convex.c (current_section_is_text): define here. 2171: * tm-convex.h (OVERRIDE_OPTIONS), out-convex.c (override_options): 2172: useless; remove. 2173: * tm-convex.h (CPP_PREDEFINES): remove parsec, long gone from 2174: system includes. 2175: 2176: Fri Jun 29 12:42:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2177: 2178: * tm-vax.h (LEGITIMATE_CONSTANT_P): Fix typo. 2179: 2180: * out-mips.c (function_arg_partial_nregs): Round size up to words. 2181: 2182: Thu Jun 28 12:50:44 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2183: 2184: * cse.c (cse_insn): Replace src only with general_operand 2185: unless moving to a register. 2186: 2187: * expr.c (expand_expr): Use assign_stack_local for constructors. 2188: 2189: * Makefile (STAGESTUFF): Change names of stamp files. 2190: 2191: * pyr.md (tstqi): Change comma to semicolon. 2192: 2193: * out-mips.c (init_cumulative_args): Fix name of debug_tree. 2194: 2195: * vax.md (movsi special case): Fix assembler syntax. 2196: * tm-vax.h (LEGITIMATE_CONSTANT_P): Add missing backslashes. 2197: * tm-ultrix.h (DOLLARS_IN_IDENTIFIERS): Define as 1. 2198: 2199: Wed Jun 27 14:04:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2200: 2201: * expr.c (emit_move_insn): Force constants to mem only if predicate 2202: fails. 2203: * out-vax.c (supergeneral_operand): New function. 2204: * vax.md (movsi): Use that predicate. 2205: 2206: * out-mips.c (function_prologue): Don't use sp_str in .frame. 2207: Use sw rather than sd in cases 5 and 7. 2208: 2209: Tue Jun 26 14:21:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2210: 2211: * rtl.h (EXTERNAL_SYMBOL_P): New macro. 2212: * varasm.c (make_decl_rtl): Set it if variable is external. 2213: * tm-vms.h (NO_EXTERNAL_INDIRECT_ADDRESS): Define this. 2214: * tm-vax.h (INDIRECTABLE_CONSTANT_ADDRESS_P): New macro. 2215: Value depends on NO_EXTERNAL_INDIRECT_ADDRESS. 2216: (INDIRECTABLE_ADDRESS_P, LEGITIMATE_CONSTANT_P): Value depends... 2217: (NONINDIRECT_ADDRESS_P): New macro. 2218: (GO_IF_NONINDEXED_ADDRESS): Use NONINDIRECT_ADDRESS_P sometimes. 2219: * vax.md (movsi special case): New pattern for loading 2220: illegitimate constants. 2221: * out-vax.c (print_operand_address): Handle reg+(reg+const). 2222: 2223: * tm-sparc.h (LINK_SPEC): Delete spurious `-'. 2224: * tm-sun386i.h (LINK_SPEC): Define it, handling -Bstatic and aliases. 2225: * tm-sun3.h (ASM_OUTPUT_FLOAT_OPERAND): Delete spurious `\n'. 2226: (ASM_OUTPUT_DOUBLE_OPERAND): Likewise. 2227: 2228: Mon Jun 25 18:45:51 1990 Michael Meissner (meissner at osf.org) 2229: 2230: * sdbout.c: If not on a COFF system, define COFF symbols by hand. 2231: 2232: * out-mips.c (legitimize_constant_expr): Delete unused function. 2233: (output_load_immediate, addr_compensate): Delete unused functions. 2234: (compare_restore): Redo code based on eliminating peepholes. 2235: (function_prologue): New function, emit correct entry sequence. 2236: (function_epilogue): New function, emit correct exit sequence. 2237: Also output .ent, .frame, .mask, .fmask, and .end, for back tracing. 2238: (mips_fix_frame_pointer): New function to eliminate frame. 2239: (function_arg_partial_nregs, function_arg, function_arg_advance): 2240: (init_cumulative_args): New funtions. 2241: 2242: * stdarg.h (va_arg): Alternate definition for mips. 2243: * va-mips.h: Total rewrite. 2244: These changes in tm-mips.h have not yet been done. 2245: * tm-mips.h (ASM_OUTPUT_DOUBLE): Put floating point out in hex. 2246: (ASM_OUTPUT_FLOAT): Put floating point out in hex. 2247: (PRINT_OPERAND): Add 'D', 'L', and 'M' codes. 2248: (STRUCTURE_SIZE_BOUNDARY): Set this to 8 for MIPS cc compatibility. 2249: (CC1_SPEC): Add -O1 which is same as -O. 2250: (CC1_SPEC): Add -O3 which is -O2 + -finline-functions. 2251: (TARGET_SWITCHES): Use hex for options. 2252: (TARGET_SWITCHES): Rename -munix to -mmips-as. 2253: (TARGET_SWITCHES): Add -mgas as oppisite of -mmips-as. 2254: (TARGET_SWITCHES): Add -mpic, -mpic-large-object (but no code yet). 2255: (TARGET_SWITCHES): Make -mdebug* comments match reality. 2256: (PROMOTE_PROTOTYPES): Define this macro. 2257: (FIXED_REGISTERS): Allow $f0, $f2, and $f14 to be allocated. 2258: (NO_LIBG): Define this macro. 2259: (TARGET_VERSION): Be more specific about which vendors MIPS system. 2260: (ASM_FILE_START): Call ASM_OUTPUT_SOURCE_FILENAME, print_options. 2261: (ASM_OUTPUT_SOURCE_FILENAME): Emit correct .file directive. 2262: (ASM_OUTPUT_SOURCE_LINE): Emit correct .loc directive. 2263: (EXTRA_SECTIONS): Add rdata_section. 2264: (SELECT_SECTION, SELECT_SECTION_MODE): Use .rdata if feasible. 2265: (SDB_DEBUGGING): Define this, but only line #'s supported now. 2266: (FRAME_POINTER_REQUIRED): Allow no frame ptr in leaf procedures. 2267: (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+70000 as address. 2268: (various): Use MIPS profiling (no _mcount). 2269: (various): Add new macros to classify registers. 2270: (NO_UNDERSCORES): Define this for G++. 2271: 2272: * mips.md (peepholes): Merge 4 peepholes, delete 24 unneeded ones. 2273: Replaced with an anonymous pattern for a test insn. 2274: (call_value): Change to a define_insn. 2275: (movsi, movhi, movqi): Don't fall through at end, to avoid a warning. 2276: (movsf special case for immediate args): Pattern deleted. 2277: (movdf special case for immediate args): Pattern deleted. 2278: (movsf, movdf): Use new macros to distinguish fp regs. 2279: Add letter `y' to constraints. 2280: (cmpsi): Allow arith_operand for second operand. 2281: (hi and qi tests): Patterns deleted. 2282: (jump): Handle TARGET_PIC. 2283: (tablejump): Pattern moved. 2284: (conditional branches): Align the comments that are output. 2285: (call, call_value): Make predicates more specific. 2286: Don't output any comments. 2287: 2288: * out-mips.c: Include flags.h. Include tree.h at beginning. 2289: Define numerous variables counting things used in this compilation. 2290: (my_print_rtx): Deleted. Callers use debug_rtx. 2291: (output_load_immediate): Simply output an li instruction. 2292: (print_options): Body rewritten. Now always defined, but body 2293: is in an #if 0. 2294: (abort_show_logged, my_print_insncode): Functions deleted. 2295: (abort_with_insn): Now use `error' to print the message. 2296: (mips_section_get): Function deleted. 2297: (override_options): Update mips_section_threshold, once and for all. 2298: 2299: Mon Jun 25 16:54:13 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2300: 2301: * integrate.c (output_inline_function): Pass dummies for new args 2302: to init_function_start. 2303: 2304: * stddef.h: Check _T_SIZE as well as _SIZE_T. 2305: 2306: Sun Jun 24 17:15:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2307: 2308: * stmt.c (init_function_start): New args give file/line for first note. 2309: * c-decl.c (store_parm_decls): Pass them. 2310: * final.c (final_start_function): For sdb, don't output a line number, 2311: just set last_linenum. 2312: 2313: * tm-att386.h (ASM_OUTPUT_LOCAL): Put it in .bss section. 2314: 2315: Fri Jun 22 12:40:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2316: 2317: * cccp.c (handle_directive): Always ignore empty directive. 2318: 2319: * tree.h (BUILT_IN_NEXT_ARG): Define it. 2320: * c-decl.c (init_decl_processing): Declare __builtin_next_arg. 2321: * expr.h (current_function_arg_offset_rtx): Declare it. 2322: * stmt.c (assign_parms): Set that variable at end. 2323: * expr.c (expand_builtin): Implement __builtin_next_arg. 2324: * stdarg.h (va_start): Use __builtin_next_arg. 2325: * function.c (push_function_context, pop_function_context): 2326: Save and restore current_function_arg_offset_rtx. 2327: * function.h (struct function): New field for this. 2328: 2329: Wed Jun 20 15:26:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2330: 2331: * tm-apollo68.h (FUNCTION_ARG_PADDING): Never pad. 2332: (STACK_BOUNDARY): Make it 32. 2333: (CPP_SPEC): Add spaces. Define _APOLLO_SOURCE if not -ansi. 2334: 2335: * expr.c (expand_call): If have STACK_BOUNDARY and push insns, 2336: compute stack_align when size is rounded, and use later 2337: to push the space for the rounding. 2338: 2339: Tue Jun 19 15:41:53 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2340: 2341: * genextract.c (gen_peephole): Use sizeof (rtx), not UNITS_PER_WORD. 2342: 2343: * reload1.c (reload_inheritance_insn): New variable. 2344: (reg_reloaded_insn): New variable. 2345: (choose_reload_regs): Update those variables. 2346: (emit_reload_insns): Use them to remove deaths from insns 2347: that used input reloads. 2348: (reload_as_needed): Clear reg_reloaded_insn when necessary. 2349: 2350: Mon Jun 18 13:25:59 1990 Michael Meissner (meissner at osf.org) 2351: 2352: * mips.md (probe): Make a single insn, just a memref. 2353: 2354: * mips.md (ashlqi3, ashlhi3, one_cmplqi2, one_cmplhi2): Deleted. 2355: (ashlsi3, ashrsi3, lshrsi3, neg*, one_cmplsi2): Simplified. 2356: Don't output comments. Use more specific predicates. 2357: 2358: * mips.md (movsf, movdf): Use L, M codes to avoid #ifdef's. 2359: Also simplify and don't output comments. 2360: (anonymous patterns for those insns): Deleted. 2361: (loading floating constant): New patterns added. 2362: (move qi to si pattern): Deleted; ridiculous. 2363: (movdi, movsi, movhi, movqi): No need to check for moving reg to self. 2364: 2365: * mips.md (nop): Use .set noreorder to placate assembler. 2366: 2367: Sun Jun 17 01:19:26 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2368: 2369: * Makefile (stamp-*.c, stamp-*.h): Remove .c or .h from names. 2370: 2371: * tm-i860.h (GO_IF_LEGITIMATE_ADDRESS): Displacement must be multiple 2372: of the alignment of the operand. 2373: 2374: * i860.md (signed bit field recognizers): Don't shift by >31 bits. 2375: 2376: * out-i860.c (output_delayed_branch): Pass register properly to 2377: load_opcode. 2378: 2379: * sdbout.c (sdbout_symbol): Get right regno for var-length object. 2380: 2381: * c-decl.c (duplicate_decls): Types don't "match" if one is error. 2382: 2383: * cexp.y (yylex): Ignore carriage return. 2384: * cccp.c (initialize_char_syntax): Likewise. 2385: 2386: Sun Jun 17 01:19:26 1990 Michael Meissner (meissner at osf.org) 2387: 2388: * mips.md (general/fp reg move patterns): Use codes L, M, D. 2389: (movdi): Likewise. And don't output useless comments. 2390: Use the assembler temp reg for non-offsettable address. 2391: (movsi, movhi, movqi): Output nothing for move from reg to itself. 2392: Output li to load a constant. Use `move' instead of `add'. 2393: Don't output useless comments. 2394: (load-address pattern): Deleted; handled by addsi3 pattern. 2395: 2396: * mips.md (addsi3, mulsi3): Make both input predicates arith_operand 2397: since they are commutative. 2398: (andsi3, iorsi3, xorsi3): Likewise. 2399: 2400: * tm-mips.h (MOST_SIGNIFICANT_WORD, LEAST_SIGNIFICANT_WORD): New. 2401: 2402: * tm-mips.h (PRINT_OPERAND): New codes D, L, M. 2403: * mips.md (anddi3, iordi3, xordi3): Use earlyclobber to stop overlap. 2404: Use new print code D. 2405: 2406: * mips.md (andsi3, iorsi3, xorsi3): Make predicates more specific. 2407: (andhi3, ..., andqi3, ...): Patterns deleted. 2408: (patterns for nor): New anonymous patterns. 2409: * out-mips.c (uns_arith_operand): New function. 2410: 2411: * mips.md (trunc*, zero_extend*, extend*, fix_trunc*, float*): 2412: Use more specific predicates. 2413: 2414: * mips.md (addhi3, ..., addqi3, ...): Patterns deleted. 2415: (addsi3, subsi3, mulsi3, divsi3): Make predicates more specific. 2416: Delete useless comments from assembler code. 2417: Use more generic op codes rather than special cases such as addiu. 2418: (divmodsi4, udivmodsi4, udivsi3, modsi3, umodsi3): New patterns. 2419: (abssf2, absdf2): New patterns. 2420: 2421: Sat Jun 16 22:52:44 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2422: 2423: * c-typeck.c (process_init_constructor): Handle unions. 2424: (digest_init): Use that for union inits. 2425: 2426: Wed Jun 6 19:20:20 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2427: 2428: * loop.c (move_movables): In insn-deleting loop, check p != 0. 2429: 2430: Sun Jun 3 22:44:12 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2431: 2432: * c-decl.c (grokdeclarator): Warn about extern with initializer. 2433: 2434: Sat Jun 2 14:46:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2435: 2436: * c-decl.c (grokdeclarator): Handle const and volatile with parm 2437: specified as function type. 2438: 2439: * varasm.c (immed_real_const_1): Don't confuse -0.0 with 0.0. 2440: 2441: * tm-sun3.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Handle -0.0. 2442: (ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise. 2443: Note: Sun 4 (under SunOS 4) seems to work okay without this change. 2444: Perhaps printf works better in that version. 2445: 2446: Fri Jun 1 13:38:41 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2447: 2448: * expr.c (expand_call): For const function, pop stack before and aft. 2449: 2450: Thu May 31 12:59:28 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2451: 2452: * expr.c (expand_call): Don't round stack block if size negative. 2453: 2454: * fold-const.c (fold): Preserve sign on constant when other terms 2455: cancel (after call to split_tree). 2456: 2457: Wed May 30 20:49:10 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2458: 2459: * c-parse.y (primary, fndef): Use YYFAIL, since YYERROR was changed. 2460: 2461: * out-m68k.c (output_move_double): Don't test HOST_WORDS_BIG_ENDIAN 2462: since that only exists in version 2. 2463: * tm-m68k.h (PRINT_OPERAND_EXTRACT_FLOAT): New macro wasn't mentioned. 2464: Don't test HOST_WORDS_BIG_ENDIAN. 2465: (PRINT_OPERAND_PRINT_FLOAT): New macro wasn't mentioned before. 2466: (PRINT_OPERAND): Use them. 2467: 2468: Tue May 29 21:35:23 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2469: 2470: * optabs.c (expand_float): Don't use hard reg for intermediate result. 2471: 2472: * c-parse.y (yylex): Fix typo in handling of ERANGE. 2473: 2474: * sparc.md (tstdf, tstsf): Use a CLOBBER, not a USE, on f0. 2475: 2476: * sparc.md (eager branch peepholes): Fix typos. 2477: * tm-sparc.h (OUTPUT_JUMP): Define this. 2478: 2479: * print-tree.c (print_lang_identifier): New function. 2480: 2481: Sat May 26 13:42:04 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2482: 2483: * sdbout.c (sdb_begin_function_line): Now -1 if not in use. 2484: (sdbout_end_function): Set it to -1. 2485: 2486: Fri May 25 00:18:29 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2487: 2488: * print-tree.c: Total rewrite. 2489: 2490: Thu May 24 21:26:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2491: 2492: * cccp.c (macarg): When popping frame, free via free_ptr, not buf. 2493: 2494: Tue May 22 21:41:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2495: 2496: * c-decl.c (finish_decl): Discard any variable sizes in the decl. 2497: 2498: * pyr.md (mulsi3, adddi3, ...): Use symmetrical predicates in 2499: commutative patterns. 2500: (tsthi, tstqi): Set CC_NO_OVERFLOW 2501: * out-pyr.c (notice_update_cc): Don't do that here for 2502: explicit cc-setting insns. 2503: 2504: Sat May 19 12:41:44 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2505: 2506: * tm-i386gas.h (ASM_OUTPUT_ALIGN): Use log as arg to .align. 2507: (ASM_OUTPUT_ALIGN_CODE): Likewise. 2508: 2509: Wed May 16 16:09:47 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2510: 2511: * tm-pyr.h (FIXED_REGISTERS, CALL_USED_REGISTERS): 2512: Reserve register lr15 as fixed, for test instructions. 2513: * pyr.md (tsthi, tstqi): Use cvtXw into lr15 rather than test. 2514: 2515: * expr.c (expand_expr): Make sure a volatile value is referenced 2516: even if value is ignored. 2517: 2518: * c-typeck.c (truthvalue_conversion): Result COND_EXPR gets type int. 2519: (invert_truthvalue): Simplify COND_EXPR. 2520: 2521: Tue May 15 16:51:41 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2522: 2523: * c-decl.c (complete_array_type): Compensate for wide string constants. 2524: 2525: Mon May 14 15:31:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2526: 2527: * c-parse.y (combine_strings): Fix errors computing wide string length. 2528: 2529: Sat May 12 15:17:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2530: 2531: * i386.md (trunc**): Use long move if source is constant. 2532: * out-i386.c (PRINT_REG): Handle CODE == 'k'. 2533: 2534: * ns32k.md (signed bitfield extract): Don't output assembler comment. 2535: 2536: Fri May 11 14:45:06 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2537: 2538: * tm-i860.h (ASM_OUTPUT_CASE_LABEL): Align to multiple of 4. 2539: 2540: Thu May 10 23:43:31 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2541: 2542: * out-i860.c (single_insn_src_p, strict_single_insn_src_p): 2543: Correct conditions for needing multiple instructions. 2544: (output_delayed_branch): Likewise. 2545: 2546: Tue May 8 13:54:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2547: 2548: * tm-ultrix.h: New file. 2549: 2550: Mon May 7 18:47:47 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2551: 2552: * i386.md (test... recognizers): Output symbolic constant first. 2553: 2554: Sat May 5 12:18:05 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2555: 2556: * rtlanal.c (dead_or_set_p): Compare register numbers, not addresses. 2557: 2558: Thu May 3 16:56:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2559: 2560: * expmed.c (store_bit_field): Maximum size for loading mem struct 2561: into reg comes from the mode of the value to be stored. 2562: Alignment is no restriction if it matches BIGGEST_ALIGNMENT. 2563: Always do the real work in SImode if couldn't use MEM. 2564: (extract_bit_field): Likewise. 2565: 2566: * tm-sparc.h (PRINT_OPERAND): Handle new codes I and U. 2567: * sparc.md (delay slot peepholes): Use them to handle CC_NO_OVERFLOW. 2568: (negated jump recognizer): Likewise. 2569: * sparc.md (addcc and subcc recognizers): Test for validity of 2570: ignoring overflow with ignore_overflow_conditional_p. 2571: * out-sparc.c (ignore_overflow_conditional_p): New function. 2572: 2573: * pyr.md (bitw recognizer): Set CC_NO_OVERFLOW. 2574: 2575: Mon Apr 30 01:39:14 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2576: 2577: * stor-layout.c (build_int): Make arg unsigned. 2578: 2579: * cccp.c (macarg1): `\' not special outside strings. 2580: 2581: * c-typeck.c (build_unary_op): In increment ops, 2582: typo checking for ptr to void/function. 2583: Check original type for this and for amount of increment. 2584: 2585: Sat Apr 28 16:43:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2586: 2587: * c-typeck.c (build_indirect_ref): Error if target is incomplete type. 2588: 2589: Fri Apr 27 13:02:10 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2590: 2591: * reload1.c (order_regs_for_reload): Count multi-word pseudos right. 2592: 2593: * flow.c (mark_set_1): Handle nested SUBREG, SIGN_EXTRACT, 2594: STRICT_LOW_PART, etc. Also, always set subreg_p when setting 2595: a bit field, even if modes are same. 2596: 2597: Thu Apr 26 17:52:17 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2598: 2599: * cccp.c (handle_directive): Don't pass directive through if no_output. 2600: 2601: Tue Apr 24 13:40:25 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2602: 2603: * pyr.md (addsi3): Use general_operand for both inputs. 2604: 2605: * i860.md: Add missing = in some output constraints. 2606: 2607: Mon Apr 23 16:37:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2608: 2609: * combine.c (subst): When checking reg_last_set, verify nonzero. 2610: 2611: * ns32k.md (ashlhi3): Avoid using %1. 2612: 2613: Sat Apr 21 21:05:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2614: 2615: * stmt.c (assign_parms): Don't make entry_parm and stack_parm valid. 2616: Leave them explicit stack slots. 2617: (validize_mem): Copy it, don't alter it. 2618: 2619: Thu Apr 19 15:23:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2620: 2621: * out-sparc.c (find_addr_reg): Avoid using frame pointer. 2622: 2623: Sun Apr 15 13:42:24 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2624: 2625: * expr.c (emit_library_call): Precompute reg and partial of all parms, 2626: to do it in proper order. 2627: 2628: * integrate.c (save_for_inline): Copy reg notes after all insns. 2629: 2630: * final.c (final_scan_insn): No block profiling before jump table. 2631: 2632: Sat Apr 14 00:19:47 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2633: 2634: * i386.md (tstdf): Clobber reg in SImode, like cmpdf. 2635: (blt, ble): New define_expands. RTL like before except, 2636: for floats, reverse prev compare or test and do bgt/bge. 2637: 2638: Thu Apr 12 21:27:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2639: 2640: * expr.c (expand_call): New variable argpos counts args in the 2641: order written. For comparison with n_named_args. 2642: 2643: * c-decl.c (duplicate_decls): Preserve DECL_INITIAL from old 2644: function def to new one. 2645: 2646: * cccp.c (macroexpand): Count Newline Space as part of whitespace 2647: sequence when stringifying. 2648: 2649: Tue Apr 10 21:08:06 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2650: 2651: * cccp.c (do_line): No error if string follows number without space. 2652: 2653: Mon Apr 9 15:37:11 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2654: 2655: * Makefile (install): Turn off x bit on headers and man page. 2656: 2657: * i860.md (cmpeqsf, etc.): Change opcode name to pfeq.ss, etc. 2658: 2659: * tm-m68k.h (PRINT_OPERAND_PRINT_FLOAT): Delete spurious backslash. 2660: 2661: * c-decl.c (store_parm_decls): Don't do storedecls in prototype case. 2662: That was discarding the enumerators already pushdecl'd. 2663: 2664: * tm-m68k.h (NOTICE_UPDATE_CC): Undo last change. 2665: 2666: Sun Apr 8 19:00:09 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2667: 2668: * out-m68k.c (output_move_double, standard_68881_constant_p): 2669: Do word-swap when cross-compiling from little-endian machine. 2670: 2671: Sat Apr 7 00:45:49 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2672: 2673: * sparc.md (addcc and subcc patterns): Set CC_NO_OVERFLOW. 2674: 2675: * out-mips.c (output_load_immediate): Fix bug for values 2676: between -2**15 and -2**16; don't use addi. 2677: 2678: Thu Apr 5 14:00:41 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2679: 2680: * stdarg.h (va_start): Round initial pointer value down 2681: to double boundary. This is to eliminate big-endian adjustment. 2682: 2683: * c-typeck.c (build_c_cast): Reject array types for result. 2684: 2685: * fixincludes: Don't ignore errors when making dirs. 2686: But check whether dir already exists. 2687: 2688: Wed Apr 4 01:59:03 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2689: 2690: * c-decl.c (grokdeclarator): Complain if fn defn has `typedef' etc. 2691: 2692: Tue Apr 3 22:09:12 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2693: 2694: * expmed.c (store_bit_field): Don't do big-endian adjust twice. 2695: Do this by changing the mode whenever it is done. 2696: Some places must now cope with subregs. 2697: (extract_bit_field): Likewise. 2698: 2699: Fri Mar 30 15:54:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2700: 2701: * c-decl.c (c_build_type_variant): New function. 2702: (grokdeclarator): Call that, for ARRAY_TYPE only, in fields and vars. 2703: * c-decl.c, c-typeck.c: All calls to build_type_variant use that now. 2704: 2705: Wed May 2 16:34:25 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2706: 2707: * tm-sun3.h (CC1_SPEC): Ignore -target. 2708: (WORD_SWITCH_TAKES_ARG): Define it. 2709: * tm-sparc.h (CC1_SPEC): Ignore -target and -dalign. 2710: (WORD_SWITCH_TAKES_ARG): Define it. 2711: 2712: Thu Mar 29 15:34:53 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2713: 2714: * final.c (end_final): For basic block profiling, don't output 2715: source file name. Instead, append ".d", and remove ".c". 2716: * gnulib.c (__bb_init_func): New name for __bb_init_function. 2717: Conditionalize on mc68000, not m68k. 2718: Fix other typos. 2719: * Makefile (LIBFUNCS): Add _bb_init_func. 2720: 2721: * xm-sun386i.h (LINK_SPEC): Handle -static. 2722: 2723: Wed Mar 28 16:21:53 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2724: 2725: * c-decl.c (duplicate_decls): Preserve DECL_FRAME_SIZE from definition 2726: past subsequent declarations. 2727: 2728: * c-decl.c (xref_tag): If global_binding_level, make nodes permanent. 2729: 2730: * expr.c (expand_call): Handle STACK_BOUNDARY when using push insns. 2731: 2732: * stmt.c (assign_parms): Note how PUSH_ROUNDING affects stack 2733: parm size. 2734: 2735: * tm-mips.h (STRUCTURE_SIZE_BOUNDARY): Changed from 16 to 8. 2736: 2737: Tue Mar 27 14:24:00 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2738: 2739: * m68k.md (movsi, movhi, movstricthi, movqi, movstrictqi): 2740: Avoid both clr and st on volatile mem, but only on 68000. 2741: (SImode store 0 recognizer): Likewise. 2742: 2743: Mon Mar 26 15:01:02 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2744: 2745: * m68k.md (movqi): Don't use `st' insn on volatile memory. 2746: 2747: * tm-m68k.h (NOTICE_UPDATE_CC): addq and subq do update cc's 2748: even if destination is an address register. 2749: 2750: * cccp.c (discard_comments): Handle backslash-newline. 2751: 2752: Sun Mar 25 20:21:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2753: 2754: * cccp.c (handle_directive): Discard backslash-newline within <...>. 2755: 2756: Fri Mar 23 00:52:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2757: 2758: * c-decl.c (grokdeclarator): Warn if array element is incomplete. 2759: 2760: * xm-hp9k320.h (USE_C_ALLOCA): Define if not compiling with GCC. 2761: 2762: * expr.c (emit_call_1): Pass FUNTYPE directly to RETURN_POPS_ARGS. 2763: 2764: Thu Mar 22 22:33:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2765: 2766: * c-decl.c (get_parm_info): Void parm is special only if no name. 2767: 2768: * loop.c (may_not_optimize): Static var replaces local `may_not_move'. 2769: (strength_reduce): Don't accept those regs as givs. 2770: 2771: Wed Mar 21 17:14:00 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2772: 2773: * ns32k.md (stack adjust insn): Don't use cmpd or cmpqd on Sequent. 2774: * tm-sequent.h (SEQUENT_ADJUST_STACK): Define this. 2775: 2776: * Makefile (gnulib): Use OLDAR, not AR. 2777: (OLDAR): New variable. 2778: 2779: * expr.c (expand_call): Don't reuse pending_stack_adjust for argblock 2780: if inhibit_defer_pop. 2781: 2782: Tue Mar 20 02:41:15 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2783: 2784: * va-sparc.h: New file, handles changed calling convention. 2785: 2786: * expr.c (push_block): New argument EXTRA. All callers changed. 2787: (emit_push_insn): Use that for the padding when using push_block. 2788: 2789: * ns32k.md (ashlsi3): `return' was missing. 2790: 2791: * tm-sparc.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): 2792: Only word-aligned BLKmodes can go in registers. 2793: (FUNCTION_ARG_PARTIAL_NREGS): Likewise. 2794: * tm-spur.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Likewise. 2795: * expr.c (expand_call): If encounter a stack parm before offset 2796: gets up to zero, make it zero. 2797: * stmt.c (assign_parms): Likewise. 2798: 2799: Mon Mar 19 00:06:35 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2800: 2801: * assert.h (__assert) [not __GNUC__]: Rename arg to avoid stringify. 2802: 2803: * gcc.c (main): Handle SIGPIPE. 2804: 2805: Sat Mar 17 14:13:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2806: 2807: * loop.c (general_induction_var): When adding sub-giv to ARG, 2808: don't produce an add_val that can't be the source of an add insn. 2809: 2810: Fri Mar 16 15:26:41 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2811: 2812: * tm-vms.h (NO_DOLLAR_IN_LABEL): Define this. 2813: 2814: * sparc.md (andncc, orncc, xorncc patterns): Delete `%' in constraint. 2815: 2816: Thu Mar 15 22:02:02 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2817: 2818: * expmed.c (extract_bit_field, store_bit_field): 2819: When changing mode of a reg to SImode, also do big-endian correction. 2820: Consistently use BYTES_BIG_ENDIAN to decide how bits are numbered. 2821: Fix stray ref to CODE_FOR_extzv in case for extv. 2822: 2823: * c-typeck.c (build_unary_op): Allow function type args to `!', 2824: since they convert to pointers. 2825: 2826: * stmt.c (init_function_start): Set max_structure_value_size to -1. 2827: 2828: Sun Mar 11 18:39:40 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2829: 2830: * reload1.c (spill_hard_reg): 2831: Typo: index regs_explicitly_used with regno. 2832: 2833: * cse.c (cse_insn): When replacing constant with reg+const, 2834: don't make a REG_EQUIV note unless there already is one. 2835: 2836: * gcc.c (fatal): Flush spurious arg to delete_temp_files. 2837: 2838: * Makefile (gnulib, stamp-gnulib2): Ignore error in ranlib. 2839: 2840: Sat Mar 10 16:07:27 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2841: 2842: * loop.c (other_reg_use_p): New name for only_reg_use_p. 2843: Return 0 if IN == EXPR. 2844: (check_eliminate_biv, strength_reduce): Re-invert the test 2845: using other_reg_use_p. 2846: 2847: Thu Mar 8 02:17:50 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2848: 2849: * ns32k.md (movsi, movdi): Handle floating point registers. 2850: 2851: * reload.c (find_reloads_toplev): Do BYTES_BIG_ENDIAN offset 2852: only within a word. 2853: 2854: * stdarg.h: Use _VA_LIST_ as macro to indicate already loaded. 2855: 2856: * tm-alliant.h (FUNCTION_PROLOGUE): Use `linkl' on 68020. 2857: 2858: Tue Mar 6 23:44:15 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2859: 2860: * cccp.c (macroexpand): Fix bug in scanning strings for stringify. 2861: 2862: Fri Mar 2 00:27:14 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2863: 2864: * out-mips.c (tree_code_name): Declaration deleted. 2865: 2866: Thu Mar 1 22:59:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2867: 2868: * assert.h (__assert): Don't call abort; use 0 as value. 2869: * gnulib.c (__eprintf): Call abort here. 2870: 2871: Wed Feb 28 13:11:24 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2872: 2873: * Makefile (install): When installing $${eachfile}, use basename. 2874: 2875: Fri Feb 23 13:21:27 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2876: 2877: * c-parse.y (readescape): For x, avoid overflow when shifting in if. 2878: 2879: Thu Feb 22 19:09:48 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2880: 2881: * fixincludes: Delete directories before creating them. 2882: When making internal symbolic directory links, chase 2883: chain of existing links to the end. 2884: 2885: * dbxout.c (dbxout_type): Always use main variant. 2886: 1.1.1.17 root 2887: Wed Feb 21 00:25:39 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2888: 2889: * Version 1.37.1 released. 2890: 2891: * tm-mips.h (ASM_OUTPUT_ADDR_VEC_ELT and ASM_OUTPUT_ADDR_DIFF_ELT): 2892: Start label names with $. 2893: 2894: Sun Feb 18 13:58:04 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2895: 2896: * tm-mips.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): 2897: Start name with $. 2898: 2899: * integrate.c (expand_inline_function): Round up size of parm_map. 2900: 2901: Sat Feb 17 20:56:05 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2902: 2903: * tm-hp9k320.h (CPP_SPEC): Remove _INCLUDE__STDC__. 2904: 2905: Sun Feb 11 20:11:25 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2906: 2907: * Version 1.37 released. 2908: 2909: * c-decl.c (complete_array_type): In permanent type, add perm nodes. 2910: 2911: * out-i386.c (print_operand_address): Handle a MULT by itself. 2912: 2913: Sat Feb 10 14:35:03 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2914: 2915: * ns32k.md (movsf): Convert double constant to float. 2916: 2917: Fri Feb 9 00:02:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2918: 2919: * c-decl.c (duplicate_decls): Don't lose alignment of OLDDECL. 2920: 2921: * cccp.c (handle_directive): Keep comments by copying them explicitly. 2922: 2923: * cccp.c (rescan): When scanning for open-paren after macro name, 2924: discard comments if appropriate. 2925: 2926: Thu Feb 8 14:19:41 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2927: 2928: * c-decl.c (build_enumerator): Error if value outside range of int. 2929: 2930: * tm-hp9k320.h (CPP_SPEC): Define _INCLUDE__STDC__ if not traditional. 2931: * tm-hp9k310.h: Missing file brought back. 2932: 2933: Mon Feb 5 12:49:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2934: 2935: * reload1.c (spill_hard_reg): Return 1 if reg is explicitly used. 2936: (reload): Cancel dummy reloads using regs subject to spill. 2937: 2938: Sun Feb 4 12:37:00 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2939: 2940: * tm-3b1g.h: New file. 2941: * config.gcc (3b1g, 3b1-gas): New alternative. 2942: 2943: * tm-att386.h (ASM_OUTPUT_COMMON): Don't use rounded size. 2944: 2945: Fri Feb 2 17:04:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2946: 2947: * integrate.c (copy_for_inline): Use real width of rtunion in bcopy. 2948: * emit-rtl.c (copy_rtx_if_shared): Likewise. 2949: 2950: * assert.h (assert) [__STDC__]: Use comma operator to avoid warning. 2951: 2952: * c-decl.c (grokdeclarator): Traditionally change return type float 2953: to double. 2954: 2955: * cse.c (predecide_loop_entry): Give up unless simple jump enters loop. 2956: 2957: Thu Feb 1 02:02:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2958: 2959: * tm-convex.h (FASCIST_ASSEMBLER, VTABLE_USES_MASK, VINDEX_MAX): 2960: New definitions to control c++ files. 2961: 2962: * reload1.c (inc_for_reload): Forget reg_last_reload_reg 2963: for the reg being inc'd. 2964: 2965: * limits.h (INT_MIN): Define so it has type `int', not unsigned. 2966: (CHAR_MIN, SCHAR_MIN, SHRT_MIN): Put arens around value. 2967: 2968: Wed Jan 31 12:54:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2969: 2970: * tm-mips.h (FUNCTION_PROLOGUE): Use CONST_OK_FOR_LETTER_P to see 2971: if can update fp in one addiu insn. 2972: 2973: * reload1.c (reload): Reject fixed regs when finding groups to spill. 2974: 2975: * assert.h (assert) [NDEBUG]: Make value nonempty. 2976: (assert) [no NDEBUG]: Split into a version for __STDC__ and one not. 2977: (_assert) [__STDC__]: Pass expression and file separately to _eprintf. 2978: (_assert) [not __STDC__]: Likewise, but implemented differently. 2979: * gnulib.c (__eprintf): Handle 3 args plus format string. 2980: 2981: * tm-i386.h (STACK_BOUNDARY): Define it. 2982: 2983: Sat Jan 27 17:58:30 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2984: 2985: * hard-params.c: Use explicit file name to include self. 2986: 2987: Fri Jan 26 01:38:29 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2988: 2989: * cccp.c (rescan): Set beg_of_line when string ends at newline. 2990: (skip_quoted_string): Don't swallow newline that ends a string. 2991: (handle_directive): No need to back up here. 2992: Pass LIMIT as second arg to skip_quoted_string. 2993: 2994: * cccp.c (rescan): If traditional, end preproc number after expt sign. 2995: 2996: Thu Jan 25 01:57:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 2997: 2998: * loop.c (general_induction_var): Reject widening multiply. 2999: 3000: * i860.md (andsi3): Truncate xop2 constant to 16 bits. 3001: 3002: Wed Jan 17 12:33:52 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3003: 3004: * tm-mips.h (CC1_SPEC): Don't complain about -g. 3005: 3006: * c-typeck.c (build_compound_expr): Delete special case 3007: that ignores expressions without side effects. 3008: 3009: * stor-layout.c (layout_type): Struct requires BLKmode if any field 3010: crosses a word boundary. 3011: 3012: * reload1.c (choose_reload_regs): Refix Sequent problem correctly. 3013: 3014: Tue Jan 16 12:03:42 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3015: 3016: * c-parse.y (unary_expr): If sizeof or alignof gets a comma expr 3017: which has array or function type, coerce it to pointer. 3018: 3019: * fold-const.c (combine): Propagate carry when subtracting from 0. 3020: 3021: * fold-const.c (fold): For x++==const, do arith in type of const. 3022: 3023: Mon Jan 15 19:24:04 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3024: 3025: * cexp.y (exp): Accept unary +. 3026: 3027: Sun Jan 14 12:18:49 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3028: 3029: * fold-const.c (lshift_double, rshift_double, lrotate_double): 3030: (rrotate_double): Don't shift more than width of operand. 3031: 3032: Fri Jan 12 18:50:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3033: 3034: * recog.c (next_insns_test_no_inequality): Return 1 at end of rtl. 3035: 3036: Thu Jan 11 14:09:47 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3037: 3038: * cccp.c (skip_if_group): Skip strings even if -traditional. 3039: (handle_directive): Likewise, when handling copy_command. 3040: 3041: * i860.md (movsf): Ensure F to f is reloaded via r. 3042: 3043: Wed Jan 10 15:03:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3044: 3045: * Makefile [3b1]: Propose redefinition of CCLIBFLAGS. 3046: 3047: * reload1.c (choose_reload_regs): Break down hairy if expression. 3048: 3049: * loop.c (loop_skip_over): Do nothing if don't find expected compare. 3050: 3051: Sun Jan 7 00:58:06 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3052: 3053: * config.gcc: Add i386-mach. 3054: * xm-i386.h: Use built-in alloca if compiling with GCC. 3055: 3056: * optabs.c (emit_cmp_insn): Set CLASS after MODE. 3057: 3058: Sat Jan 6 15:33:32 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3059: 3060: * out-mips.c (function_arg, function_arg_advance): 3061: Define typedef for CUMULATIVE_ARGS, and use it here. 3062: 3063: * cccp.c (main): Recognize `.C' for -M. 3064: 3065: * c-parse.y (yylex): Put 0 at end of wide string. 3066: 3067: * tm-mips.h (CC1_SPEC): Don't distort meaning of -O. 3068: 3069: Fri Jan 5 12:12:31 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3070: 3071: * gcc.c (link_command_spec): If LIBS_COMPILED_WITH_GCC, gnulib is last. 3072: 3073: Thu Jan 4 23:58:59 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3074: 3075: * Makefile (c-parse.tab.o): Add explicit compilation cmd. 3076: 3077: Wed Jan 3 00:27:53 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3078: 3079: * Makefile (install): Use nested foreach-loop to expand va*.h. 3080: 3081: Mon Jan 1 19:36:49 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3082: 3083: * expr.c (store_one_arg): Round size up for move_block_to_reg. 3084: (expand_call): Round up when emitting USE insns. 3085: * stmt.c (assign_parms): Round size up for move_block_from_reg. 3086: 3087: * reload1.c (alter_reg): Undo big-endian conversion from 3088: assign_stack_local. 3089: 3090: Sun Dec 31 20:10:52 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3091: 3092: * tree.h (struct tree_common): Declare `code' as char, not int. 3093: 3094: Thu Dec 28 13:49:43 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3095: 3096: * gnulib.c (__fixunsdfsi): Turn large numbers to small for conversion. 3097: 3098: * Makefile (includes): Set variable LIB. Run from `./'. 3099: 3100: Wed Dec 27 18:54:25 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3101: 3102: * Makefile (CCLIBFLAGS): Add -O. 3103: (gnulib): Remove -O here. 3104: (HARD_PARAMS_FLAGS): Like CCLIBFLAGS but no -O. 3105: (hard-params, hard-params.o): Use that. 3106: 3107: * loop.c (can_eliminate_biv_p, eliminate_biv): If add_val non zero, 3108: it must be a constant or register. 3109: 3110: Mon Dec 25 00:02:31 1989 Torbj|rn Granlund (tege at zevs.sics.se) 3111: 3112: * tm-pyr.h (FIXUNS_TRUNC_LIKE_FIX_TRUNC): Should not be defined. 3113: The cvtdw instruction causes a trap for floating point values 3114: that are out-of-range for a signed int. 3115: 3116: * out-pyr.c (has_direct_base): Don't accept 0 as a base, if there 3117: is a register displacement. This is a workaround of a bug in 3118: /bin/as. (/bin/as changes things like "cmpw 8(reg),0(reg)" into 3119: "cmpw 8(reg),(reg)", which is invalid assembler.) 3120: 3121: Sun Dec 24 11:51:52 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3122: 3123: * expr.c (emit_move_insn): Lossage validating mem addr of constant. 3124: 3125: * varasm.c (record_constant_1): Missing `return' in ADDR_EXPR case. 3126: 3127: Sat Dec 23 10:54:22 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3128: 3129: * ns32k.md (extract byte from register): Delete #if conditionals. 3130: Assume 32532 always. 3131: (adjust stack): Likewise. 3132: 3133: Thu Dec 21 10:24:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3134: 3135: * i860.md (load DF constant to reg): Typo: extra percent sign. 3136: (floatsidf2): Two words of a double were backwards. 3137: 3138: * reload1.c (alter_reg): 3139: Always do big-endian correction on slot address. 3140: 3141: * gnulib.c (__fixunsdfsi): Don't rely on host compiler for unsigned. 3142: 3143: * i386.md (float push recognizers): Don't pop fpreg if not dead. 3144: 3145: Sun Dec 17 12:13:37 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3146: 3147: * tm-hp9k320.h (CPP_PREDEFINES): Add __hp9000s300, _HPUX_SOURCE. 3148: 3149: Sat Dec 16 17:49:30 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3150: 3151: * loop.c (strength_reduce): When writing insn to init a biv, 3152: update life range of reg used to init it. 3153: 3154: * combine.c (try_combine): Do combine (y = x, x = y). 3155: 3156: * loop.c (strength_reduce): When finding initial value of a biv, 3157: notice assignments to subregs of it, etc. 3158: 3159: Fri Dec 15 00:42:31 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3160: 3161: * m68k.md (fpa float and float-trunc): Accept general_operand. 3162: 3163: * integrate.c (expand_inline_function): 3164: Put caller's line number after inline stuff. 3165: Put callee's line number before parm manipulation. 3166: 3167: * If local-alloc assumes a reg does not conflict, 3168: don't use it as dummy reload. 3169: * local-alloc.c (wipe_dead_reg): Add REG_UNSET note. 3170: * reload.c (find_dummy_reload): Check for that note. 3171: 3172: * vax.md (casesi): New pattern for super-trivial cse case. 3173: 3174: * jump.c (jump_optimize): Realize that more things can follow 3175: the NOTE_INSN_FUNCTION_END note. Change in two places, 3176: for optimized and one for unoptimized. 3177: 3178: Sat Dec 9 15:21:07 1989 Richard M. Stallman (rms at ccvi) 3179: 3180: * expr.c (expand_expr): For conversion ops, copy CONST_INT to reg 3181: to avoid lossage on VOIDmode in convert_move or expand_float. 3182: * optabs.c (expand_float): Abort if FROM has VOIDmode. 3183: 3184: * final.c (final_scan_insn): Delete unused label. 3185: 3186: Thu Dec 7 01:42:30 1989 Richard M. Stallman (rms at ccvi) 3187: 3188: * sdbout.c (MAKE_LINE_SAFE): Ensure arg is > sdb_begin_function_line. 3189: (sdbout_begin_block, sdbout_end_block, sdbout_end_function): Use it. 3190: 3191: * jump.c (jump_optimize): Leave block-beg, block-end notes 3192: in old context when swapping two ranges of insns. 3193: (squeeze_block_notes): New function. 3194: 3195: * expr.c (expand_call): For pcc struct, return reg mode is Pmode. 3196: 3197: * c-typeck.c (build_conditional_expr): 3198: Only explicit ints allow predetermined choice. 3199: 3200: Wed Dec 6 19:02:07 1989 Richard M. Stallman (rms at ccvi) 3201: 3202: * toplev.c: Undef FFS after including param.h. 3203: 3204: Tue Dec 5 16:01:18 1989 Richard M. Stallman (rms at ccvi) 3205: 3206: * mips.md (movsf): Use mtc1 where needed. 3207: 3208: * reload1.c (choose_reload_regs): If run out of spill regs, 3209: set must_reuse and try again. 3210: 3211: Mon Dec 4 00:18:24 1989 Richard M. Stallman (rms at ambroise) 3212: 3213: * reload1.c (alter_reg): 3214: Don't set spill_stack_slot_width if from_reg is -1. 3215: 3216: * cse.c (cse_end_of_basic_block): Typos checking NOTE insns. 3217: 3218: * math-68881.h (pow): Add parens around `&'. 3219: 3220: * loop.c (can_eliminate_biv_p, eliminate_biv): 3221: In COMPARE, verify the biv is one of the arguments. 3222: (strength_reduce): When eliminating biv, check for use 3223: in a giv in an address, just as in check_eliminate_biv. 3224: 3225: * stupid.c (reg_order): Make it int, in case reg # is large. 3226: (stupid_reg_compare, stupid_life_analysis): Implement this. 3227: 3228: Sun Dec 3 14:17:36 1989 Richard M. Stallman (rms at ambroise) 3229: 3230: * tm-att386.h (ASM_OUTPUT_LOCAL): Don't generate .lcomm. 3231: Go back to putting the variable in the data section. 3232: 3233: * expr.c (do_jump): Cast XVECLEN to int for subtracting 1. 3234: 3235: * reload.c (decompose): Handle SUBREGs. 3236: 3237: * c-typeck.c (build_modify_expr): Prevent -Wall warning 3238: when we generate a COMPOUND_EXPR for (?:)=. 3239: 3240: Mon Nov 27 15:39:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3241: 3242: * Makefile [pyramid]: Use CLIB, not ALLOCA, to access libPW.a. 3243: Use -lc explicitly first. 3244: 3245: * pyr.md (SI test recognizer): Fix syntax error, 3246: 3247: * c-decl.c (grokdeclarator): Don't test size of error_mark_node 3248: as type of a field. 3249: 3250: Sun Nov 26 12:36:01 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 3251: 3252: * tm-mips.h (CONST_OK_FOR_LETTER_P): Delete extra paren. 3253: 3254: Wed Nov 22 12:56:41 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3255: 3256: * pyr.md (mode conversion peepholes): Set CC_NO_OVERFLOW. 3257: * out-pyr.c (consecutive_operands): Don't expect wrap from reg15 to 16. 3258: 3259: * Makefile: Fix directions for pyramid. 3260: 3261: * tm-mips.h (CONST_OK_FOR_LETTER_P): Define `K'. 3262: (SMALL_INT): Range is 16 bits, not 17. 3263: (SMALL_INT_UNSIGNED): New macro. 3264: * mips.md (andsi3, iorsi3, xorsi3): Use `K', not `I'. 3265: 3266: * mips.md (negsi2): Accept general_operand as input. 3267: 3268: Tue Nov 21 10:57:45 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3269: 3270: * mips.md (one_cmpl*): Accept general_operand as input. 3271: 3272: Mon Nov 20 11:18:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3273: 3274: * expr.c (expand_expr): For MINUS_EXPR, don't explicitly negate int 3275: constant if it is in a mode too wide for host machine int. 3276: 3277: * cse.c (fold_rtx): Simulate negative shift counts. 3278: 3279: Sun Nov 19 14:36:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3280: 3281: * out-pyr.c (notice_update_cc): Set CC_NO_OVERFLOW in many cases. 3282: 3283: * cse.c (fold_rtx, fold_cc0): Handle float trap. 3284: 3285: Sat Nov 18 00:17:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3286: 3287: * varasm.c (output_constant): Handle float trap in fprintf. 3288: * toplev.c (float_signal): Don't print message. 3289: * fold-const.c (combine): Print it here. 3290: 3291: * sparc.md (extend patterns): Handle CONST_INT as operand. 3292: 3293: * out-i386.c (singlemove_string): Fix paren error. 3294: 3295: Fri Nov 17 12:19:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3296: 3297: * expr.c (expand_increment): For pre-increment, copy the rtx to return. 3298: 3299: * c-parse.y (compstmt): There may be implicit decls, so check 3300: and maybe keep the level. 3301: 3302: * tm-mips.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): 3303: Use call_used_regs, not a private copy. 3304: 3305: Thu Nov 16 00:28:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3306: 3307: * reload1.c: Keep track of paradoxical subregs of each pseudo, 3308: and make extra stack space for their sake. 3309: (reload): Record max size paradoxical subreg for each pseudo. 3310: (scan_paradoxical_subreg): New subroutine for that. 3311: (reload): Make stack slots big enough for that size. 3312: 3313: * tm-i860.h (ASM_DECLARE_FUNCTION_NAME): Define it, 3314: so we can output a no-op before each function. 3315: 3316: * tm-pyr.h (INIT_CUMULATIVE_ARGS): Simplify. 3317: Pass function type to aggregate_value_p. 3318: 3319: * fold-const.c (fold): 3320: For foo++ > const, don't change if foo++ could overflow. 3321: 3322: * loop.c (eliminate_biv): 3323: Fix typo; check both coeffs when comparing givs. 3324: 3325: Wed Nov 15 00:12:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3326: 3327: * integrate.c (copy_for_inline): Correctly handle RTL type "u". 3328: 3329: * jump.c (delete_insn): Extra test for PREV != 0. 3330: 3331: Tue Nov 14 17:31:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3332: 3333: * tm-sun3.h (LINK_SPEC): Specify -L to control choice of -lm. 3334: 3335: * tm-pyr.h (INIT_CUMULATIVE_ARGS): 3336: If -fpcc-struct-return, always do the scalar thing. 3337: 3338: * function.c (expand_function_end): Use FUNCTION_OUTGOING_VALUE. 3339: 3340: Sat Nov 11 00:18:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3341: 3342: * tm-sun386.h (ASM_OUTPUT_COMMON): Use ROUNDED, not SIZE. 3343: (ASM_OUTPUT_LOCAL): Likewise. Also, generate .lcomm 3344: rather than a .data area symbol. 3345: * tm-att386.h: Likewise. 3346: 3347: Fri Nov 10 15:04:15 1989 Richard Stallman (rms at rice-chex) 3348: 3349: * caller-save.c (emit_mult_restore, emit_mult_save): 3350: Improve arithmetic for address to save at. 3351: 3352: Thu Nov 9 00:14:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3353: 3354: * tm-pyr.h (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): 3355: Don't use obsolete pushw and popw insns. 3356: (ASM_OUTPUT_ALIGN): Ensure arg in range 2 to 5. 3357: * pyr.md (tstdi): Pattern deleted. 3358: (SImode test recognizer): Output ucmpw if jump is unsigned. 3359: 3360: * out-sparc.c (operands_satisfy_eager_branch_peephole): 3361: Check for moves between FP and non-FP regs; they take two insns. 3362: * sparc.md (eager branch peepholes): Likewise. 3363: (Ordinary delayed branch peepholes): Similar check. 3364: * out-sparc.c (single_insn_extra_test): New subroutine. 3365: 3366: Wed Nov 8 18:19:51 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3367: 3368: * combine.c (subst): In (sign_extend:M (subreg:N (and:M .. <const>) 0)) 3369: insist that constant be positive in mode N. 3370: 3371: Tue Nov 7 23:25:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3372: 3373: * rtl.h: Undefine FFS in case it was defined by the system. 3374: 3375: Mon Nov 6 14:43:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3376: 3377: * tm-i860.h, tm-m88k.h, tm-pyr.h, tm-spur.h (INIT_CUMULATIVE_ARGS): 3378: Test aggregate_value_p, not just BLKmode. 3379: 3380: * gnulib2.c (__builtin_saveregs): Moved from gnulib.c. 3381: Code added for mips. 3382: 3383: * pyr.md (conditional branch recognizers): Don't simplify if not -O. 3384: 3385: * out-pyr.c (extend_and_branch): Handle two constant operands. 3386: 3387: * integrate.c (function_cannot_inline_p): Don't inline if alloca used. 3388: 3389: Sun Nov 5 02:59:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3390: 3391: * Always make a LET_STMT and notes for the top level of a function 3392: if it has any subblocks. 3393: * c-decl.c (struct binding_level): New field keep_if_subblocks. 3394: (poplevel): Obey the new field. 3395: (keep_next_if_subblocks): New variable. 3396: (pushlevel): Use that variable. 3397: (store_parm_decls): Set that variable. 3398: (compstmt): Pass nonzero to expand_end_bindings 3399: for the new kept binding levels. 3400: (kept_level_p): New function. 3401: 3402: * xm-mips.h: Define USE_C_ALLOCA if compiling with CC. 3403: 3404: * tm-alliant.h (CHECK_FLOAT_VALUE): Define this. 3405: 3406: * expr.c (expand_call): Make valreg 0 if passing structure address. 3407: 3408: Sat Nov 4 23:27:02 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3409: 3410: * caller-save.c (emit_mult_save, emit_mult_restore): 3411: Test regs for suitability as address before using as temps. 3412: 3413: * cccp.c (make_definition, do_define): Better error checks for name. 3414: 3415: Fri Nov 3 01:05:04 1989 Torbj|rn Granlund (tege at echnaton) 3416: 3417: * pyr.md (tstdi): New pattern. Use 64-bit shift with count zero. 3418: 3419: * pyr-tm.h: -mretd pops args with the retd insn. 3420: 3421: * pyr.md (peep-holes for loop optimizations): Use the R output 3422: format in PRINT_OPERAND, don't use output_branch. 3423: * out-pyr.c: No need for functions output_branch, output_inv_branch. 3424: 3425: * tm-pyr.h (ASM_OUTPUT_ALIGN): Don't truncate alignment to two. 3426: 3427: Wed Nov 1 00:38:27 1989 Torbj|rn Granlund (tege at echnaton.sics.se) 3428: 3429: * out-pyr.c (output_inv_branch): When reversing test operands, ne 3430: remains ne, and eq eq eq. 3431: 3432: * pyr.md: Cleanup output code for compare patterns. 3433: 3434: * pyr.md (return): Adjust frame pointer if 3435: current_function_pretend_args_size != 0. 3436: 3437: * pyr.md (extendsidi2): Use general_operand for the input operand. 3438: 3439: * pyr.md, out-pyr.c: Output shift insns with output_shift. 3440: 3441: * tm-pyr.h, out-pyr.c: Make NOTICE_UPDATE_CC understand how 3442: condition codes are really set. Define flag CC_VALID_FOR_UNSIGNED 3443: with to make it possible not to reset cc after each compare or 3444: test. 3445: * pyr.md: Don't use CC_STATUS_INIT for most patterns. 3446: 3447: * out-pyr.c (already_sign_extended): Cleanup, correct, optimize. 3448: 3449: * out-pyr.c: rename radr_diff to constant_diff. 3450: 3451: * out-pyr.c (movdi_possible): Don't combine moves from memory to 3452: memory, because of possible address aliasing. Don't combine moves 3453: with register destination if the source operands are depending on 3454: the destination of the first move, as in 3455: 3456: movw (pr3),pr3 3457: movw 4(pr3),pr4. 3458: 3459: * out-pyr.c (consecutive_operands): Handle SUBREG in addition to REG. 3460: 3461: * out-pyr.c (output_move_double): movl of immediate *sign* extends. 3462: 3463: Tue Oct 31 22:51:39 1989 Torbj|rn Granlund (tege at echnaton.sics.se) 3464: 3465: * pyr.md (cmpsi): Don't expand this. It's just slower. 3466: 3467: * out-pyr.c (extend_and_branch): Handle only QImode and HImode. 3468: Flush code specific for SImode. 3469: 3470: * out-pyr.c (extend_and_branch): To make zero extensions to HImode 3471: of constants not crash: 3472: * out-pyr.c (ensure_extended): Call extend_const if it's a 3473: CONST_INT. Don't call extend_const from extend_and_branch. 3474: * pyr.md, out-pyr.md: Use global variable test_mode to determine the 3475: mode of tests and compares. Set in define_expands for tests and 3476: compares. Used in extend_and_branch. 3477: * out-pyr.c: Pass mode between extend_and_branch and ensure_extended. 3478: 3479: * out-pyr.c (extend_and_branch): Accept SUBREG whereever REG is 3480: accepted. 3481: * out-pyr.c (weird_memory_memory): Accept SUBREG whereever REG is 3482: accepted. 3483: 3484: Thu Nov 2 13:02:15 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3485: 3486: * gnulib2.c (lshrdi2, and other shifts): Take second arg as long long. 3487: 3488: * out-i386.c (fp_pop_int): Use %L0 in fistp insn. 3489: 3490: Wed Nov 1 00:05:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3491: 3492: * stmt.c (init_function_start): Init max_parm_reg. 3493: 3494: * varasm.c (compare_constant_1): For ADDR_EXPR, compare symbol name. 3495: (record_constant_1): Likewise. 3496: 3497: * out-sparc.c (output_mul_by_constant): Constant zero is legitimate. 3498: 3499: * caller-save.c (emit_mult_restore, emit_mult_save): 3500: Handle stack addresses which are invalid. 3501: 3502: * cse.c (use_related_value): Don't abort if offset is 0. 3503: 3504: Tue Oct 31 15:08:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3505: 3506: * config.gcc (pyramid): Set $machine to pyr. 3507: 3508: * Makefile: Change temp file names from tmp-insn-* to tmp-*. 3509: 3510: * expr.c (expand_call): OK_DEFER_POP for is_const was once too many. 3511: 3512: Sun Oct 29 00:53:46 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3513: 3514: * c-parse.y (yylex): Prevent warning for numbers that underflow. 3515: 3516: * stmt.c (assign_parms): Convert stack addresses to valid addresses. 3517: (validize_mem): New subroutine. 3518: 3519: * stmt.c (check_for_full_enumeration_handling): Accept enum type 3520: as argument (since was finding it incorrectly). 3521: Delete special case for constant index. 3522: (expand_end_case): Pass enum type; check for constant index. 3523: 3524: * cexp.y (initialize_random_junk): Test DOLLARS_IN_IDENTIFIERS 3525: for nonzeroness. 3526: 3527: Fri Oct 27 16:25:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3528: 3529: * tm-next.h (__inline): define as macro for old 1.34 Next uses. 3530: 3531: Wed Oct 25 17:59:33 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3532: * stmt.c: Include recog.h. 3533: 3534: Tue Oct 24 19:23:11 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3535: 3536: * combine.c (try_combine): Don't move a volatile asm. 3537: 3538: Mon Oct 23 01:45:34 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3539: 3540: * combine.c (try_combine): Don't install a subreg relating two modes 3541: that aren't tieable. 3542: 3543: * gnulib2.c (__fixdfdi): Declare __fixunsdfdi. 3544: 3545: * combine.c: Make uid_cuid an int *. 3546: (combine_instructions): Allocate as such. 3547: * loop.c: Make uid_luid an int *. 3548: (loop_optimize): Allocate as such. 3549: 3550: Sun Oct 22 16:34:28 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3551: 3552: * stmt.c (fixup_var_refs_1): New insn before a CALL goes before 3553: the preceding USEs. 3554: 3555: Sat Oct 21 00:51:49 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3556: 3557: * out-pyr.c (extend_and_branch): Allow SUBREG like REG. 3558: * pyr.md (mem-reg and reg-mem HI, QI patterns): 3559: Don't match unless one arg is MEM. 3560: 3561: * out-sparc.c (output_fp_move_double): Use ldd only when safe, 3562: on same conditions used for std. 3563: 3564: * Makefile (gnulib): Fix comments for editing for hpux. 3565: 3566: Fri Oct 20 00:27:00 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3567: 3568: * out-i386.c (singlemove_string): Handle ordinary constants as input. 3569: 3570: * reload1.c (choose_reload_regs): Arg of HARD_REGNO_MODE_OK 3571: was the pseudo; should be the reload reg. 3572: 3573: * tm-decstatn.h (CPP_PREDEFINES): Add bsd4_2, ultrix, MIPSEL, 3574: host_mips, R3000, LANGUAGE_C, SYSTYPE_BSD. 3575: * tm-mips.h (CPP_PREDEFINES): Add host_mips, R3000, MIPSEB, LANGUAGE_C. 3576: (CPP_SPEC): Remove those from here. 3577: Define __SYSTYPE_*__ always. Define SYSTYPE_* only if not -ansi. 3578: No CPP_SPEC needed for decstation. 3579: Correct typos in option tests. 3580: 3581: Thu Oct 19 18:16:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3582: 3583: * tm-m68k.h, tm-alliant.h (PRINT_OPERAND): 3584: Don't print :l for address if :w was already printed. 3585: 3586: Wed Oct 18 13:03:52 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3587: 3588: * tm-mips.h (FUNCTION_PROLOGUE): Get rid of __0__gcc macro. 3589: Store that value in frame_stack_difference. 3590: (FUNCTION_EPILOGUE): Get rid of __0__gcc macro. 3591: (FIX_FRAME_POINTER_ADDRESS): Use frame_stack_difference. 3592: * out-mips.c (frame_stack_difference): Define here. 3593: 3594: * gcc.c (compilers): Define __GNUG__ if g++. 3595: 3596: Tue Oct 17 01:17:07 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3597: 3598: * tm-i860.h (HAVE_PRE_INCREMENT): Undefine this. 3599: 3600: * mips.md (movsf): New alternatives for r registers. 3601: * tm-mips.h (FUNCTION_PROLOGUE): Handle big stack frames. 3602: * out-mips.c (function_arg): Handle mode distinction for floating args. 3603: 3604: * pyr.md (mtstsw pattern): Accept general_operand. 3605: 3606: * i860.md (movsf): New alternatives: allow loading r from F. 3607: Prefer f-reg as reload when moving m from F. 3608: * tm-i860.h (PRINT_OPERAND): Handle CONST_DOUBLE if SFmode. 3609: 3610: Sun Oct 15 19:45:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3611: 3612: * i860.md (movhi, movqi): Support moves to/from fp regs. 3613: 3614: * sparc.md (cse'd multiply): New pattern for mult. by -1. 3615: 3616: * out-i860.c (load_opcode, store_opcode): Handle DImode and fp reg. 3617: 3618: * expr.c (emit_library_call, expand_call): Make a SEQUENCE for 3619: any needed USE insns and pass them to emit_call_1. 3620: (emit_call_1): Place the passed SEQUENCE immediately before the 3621: generated CALL_INSN even if gen_call made more than one insn. 3622: 3623: Fri Oct 13 00:12:46 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3624: 3625: * recog.c (constrain_operands): Add case for `&'. 3626: 3627: * expmed.c (extract_bit_field): With structure reg fetched from mem, 3628: don't put in subreg if mode already correct. 3629: (store_bit_field): Typo: had extzv, wanted insv. 3630: 3631: * stmt.c (expand_function_start): Call init_recog. 3632: 3633: Thu Oct 12 01:48:30 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3634: 3635: * cccp.c (macarg1): Count newlines even after backslash. 3636: 3637: * c-decl.c (pushdecl): Don't warn for explicit extern 3638: followed by static. That case is useful for incomplete arrays. 3639: 3640: * tm-sparc.h (SELECT_RTX_SECTION): Test was backwards. 3641: 3642: Wed Oct 11 00:35:25 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3643: 3644: * tm-seq386.h (DBX_DEBUGGING_INFO): Override this. 3645: (HARD_REGNO_MODE_OK): Override this. 3646: 3647: Mon Oct 9 01:09:25 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3648: 3649: * i860.md (movdi): accept F source in 2nd alternative. 3650: Accept G source in 3rd. 3651: (adddi3, subdi3): Typo in opcode of output. 3652: 3653: Sun Oct 8 01:38:27 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3654: 3655: * tm-mips.h (ASM_SPEC): Pass -nocpp to as. 3656: 3657: * c-decl.c (grokdeclarator): Ignore variant differences 3658: when preserving typedef types from being altered. 3659: 3660: Sat Oct 7 00:46:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3661: 3662: * xm-mips.h: Use __builtin_alloca. 3663: 3664: Fri Oct 6 00:30:42 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3665: 3666: * reload.c (find_equiv_reg): Do let xregno be a pseudo reg, 3667: but don't call HARD_REGNO_NREGS in that case. 3668: 3669: Thu Oct 5 00:30:39 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3670: 3671: * reload.c (find_equiv_reg): Don't let xregno be a non-hard reg. 3672: Don't do OVERLAPPING_REGNO_P on a pseudo reg number. 3673: 3674: * i386.md (trunchiqi2, etc.): Output %1 with size of destination. 3675: * out-i386.c (PRINT_REG): Support 'b' as CODE. 3676: 3677: * combine.c (try_distrib): Make sure we don't move a reg use 3678: across a store into that reg. 3679: 3680: * reload1.c (order_regs_for_reload): Rate fixed regs at LARGE+2, 3681: and explicitly used regs at LARGE+1. 3682: 3683: * stor-layout.c (build_int): When memoizing, make permanent nodes. 3684: 3685: Wed Oct 4 19:40:37 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3686: 3687: * xm-i860.h: Missing file added. 3688: 3689: Mon Oct 2 16:26:33 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3690: 3691: * reload1.c (emit_reload_insns): Reject any OLDEQUIV that is 3692: in use in any other reload of this insn. 3693: 3694: * expr.c (expand_call): Don't put on notes for const functions 3695: if there aren't real insns to hold them. 3696: 3697: Sun Oct 1 19:50:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3698: 3699: * integrate.c (expand_inline_function): Handle PARALLEL in CALL_INSNs 3700: when setting follows_call. 3701: 3702: * i860.md (pfeq, pfgt and pfle patterns): Add f0 as 3rd arg. 3703: 3704: * integrate.c (save_for_inline): Don't delete NOTE_INSN_FUNCTION_END. 3705: 3706: Fri Sep 29 08:56:30 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3707: 3708: * tm-next.h (LINK_SPEC): Typo for -Z option. 3709: 3710: Thu Sep 28 12:57:11 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3711: 3712: * reload.c (decompose): Handle case of pseudo with no hard reg. 3713: 3714: Wed Sep 27 01:20:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3715: 3716: * explow.c (round_push): Fix typo: return fast if ALIGN is 1. 3717: 3718: * varasm.c (in_text_section): New function. 3719: * tm-3b1.h (ASM_OUTPUT_SKIP): Use that. 3720: 3721: Tue Sep 26 02:40:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3722: 3723: * c-typeck.c (commontype): If one arg is error_mark_node, return other. 3724: 1.1.1.16 root 3725: Sun Sep 24 00:21:24 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3726: 1.1.1.17 root 3727: * c-decl.c (poplevel): When popping a local extern decl, 3728: save the TREE_USED bit in the identifier. 3729: * toplev.c (compile_file): Check that, printing "not used" warnings. 3730: 3731: * tree.c (make_node): Always put PARM_DECL in saveable_obstack. 3732: 1.1.1.16 root 3733: * Version 1.36 released. 3734: 3735: * genextract.c (main): Pass `insn' as arg to `fatal_insn_not_found'. 3736: 3737: * tahoe.md (casel patterns): Use %@ for operand of .align. 3738: * tm-tahoe.h (PRINT_OPERAND): %@ prints `1'. 3739: * tm-harris.h (PRINT_OPERAND): Redefine it; %@ prints `2'. 3740: 3741: * config.gcc (decstation): New entry. 3742: 3743: * tm-harris.h: New file, using tm-tahoe.h. 3744: 3745: * tm-decstatn.h, tm-mips-bsd.h, tm-mips-sysv.h: New files. 3746: 3747: Sat Sep 23 00:28:14 1989 Alain Lichnewsky (lich at glenlivet) 3748: 3749: * added -Zxxx flag in tm-mips.h. (-Z stands for systype) 3750: 3751: used as -ZSYSV or -ZBSD43 on RISC_OS. I suppose 3752: that at somepoint -ZPOSIX might be required for Ultrix. 3753: 3754: * changed command issued to loader to set -systype and to get 3755: crt1 crtn instead of crt0. 3756: 3757: * changed predefines for cpp to agree with RISC-OS 3758: 3759: * tm-mips.h checks for machine type ( defined(ultrix) == DECSTATION) 3760: so that user does not have to go in and change tm-mips.h anymore 3761: 3762: * cpp defines mips host_mips unix and SYSTYPE_SYSV 3763: or SYSTYPE_BSD43. 3764: 3765: Fri Sep 22 00:31:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3766: 3767: * pyr.md (andsi3): Flush spurious paren. 3768: 3769: * Makefile (hard-params): Don't use LIBS or LIBDEPS. 3770: 3771: * rtl.c (init_rtl): 3772: Use malloc to allocate the string for format of CONST_DOUBLE. 3773: Don't fail to store in rtx_format. 3774: 3775: Thu Sep 21 00:33:13 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3776: 3777: * print-tree.c (dump): Move decl of P in REAL_CST case. 3778: 3779: * fold-const.c (fold): For ABS_EXPR, handle REAL_IS_NOT_DOUBLE. 3780: 3781: * c-convert.c (convert_to_real): Use REAL_VALUE_ATOF to make 0. 3782: 3783: * mips.md (movdi): Handle constant with or without WORDS_BIG_ENDIAN. 3784: For alternative 2, output just 2 store insns, not 3. 3785: 3786: * dbxout.c (dbxout_symbol): Optionally go to .data for 3787: a static file-scope variable. 3788: * tm-vax.h: Define DBX_STATIC_STAB_DATA_SECTION to request this. 3789: 3790: * varasm.c (output_constant, force_const_mem): 3791: ASM_OUTPUT_DOUBLE_INT now takes rtx as argument. 3792: 3793: * gvarargs.h [__NeXT__]: Undefine macros defined by stdardg.h. 3794: Define _VARARGS_H. 3795: 3796: * stddef.h (size_t): Don't define it if _SIZE_T macro is defined. 3797: (NULL): Undef any previous defn. 3798: 3799: * cexp.y (NULL): Don't define if already defined. 3800: 3801: * emit-rtl.c (force_next_line_note): New function. 3802: * stmt.c (expand_function_start): Call that just before returning. 3803: 3804: Wed Sep 20 01:22:16 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3805: 3806: * c-parse.y (asm_clobbers): 3807: Allow string concatenation: call combine_strings. 3808: 3809: Mon Sep 18 00:04:06 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3810: 3811: * expr.c (expand_call): If calling const function, don't defer 3812: pops for this call. 3813: 3814: * c-parse.y (yylex): When float constant ends in `f', 3815: actually truncate to a single-float. 3816: 3817: Sun Sep 17 01:36:43 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3818: 3819: * gcc.c (SWITCH_TAKES_ARG): -A takes an arg. 3820: (link_spec): Inhibit start files when -A. 3821: 3822: * convex.md (call, call_value): Supply dummy arg to RETURN_POPS_ARGS. 3823: 3824: * gnulib2.c (__fixunsdfdi): After removing top half, A can be neg. 3825: (__cmpdi2, __ucmpdi2): Was misusing macros HIGH and LOW-- 3826: use .s.high and .s.low to extract words from long_long. 3827: 3828: * Makefile (gnulib2): Run `./gcc'. 3829: 3830: * Makefile (float.h): Use `make', not `$(MAKE)'. 3831: (hard-params.o): Use `$(srcdir)' in deps as in commands. 3832: 3833: * out-tahoe.c (output_move_double): Handle constant operand 1. 3834: 3835: Sat Sep 16 01:15:24 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3836: 3837: * reload1.c (emit_reload_insns): Put death note for input reload reg 3838: even if reload was inherited. 3839: 3840: * out-i860.c (output_block_move): Typo loading size of block. 3841: 3842: * m68k.md (dbra patterns): Do CC_STATUS_INIT. 3843: 3844: * cse.c (fold_rtx): Check GET_MODE_CLASS before floating negate. 3845: 3846: Fri Sep 15 00:39:44 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3847: 3848: * combine.c (subst): Don't combine (subreg (mem)) 3849: if subreg's mode is wider than mem's mode. 3850: 3851: Thu Sep 14 04:33:51 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3852: 3853: * Makefile (clean): Delete temp files used in making gnulib. 3854: 3855: * tm-next.h (LINK_SPEC): Pass -Z and -seglinkedit options. 3856: 3857: Tue Sep 12 01:06:39 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3858: 3859: * stor-layout.c (layout_type): Ignore MAX_FIXED_MODE_SIZE for ints. 3860: 3861: * mips.md (cmpsi + bleu peephole): Should output unsigned insn. 3862: 3863: * expmed.c (store_bit_field, extract_bit_field): If loading mem 3864: into reg for bit field insn, don't use a larger mode than insn wants. 3865: 3866: * Makefile (stamp-gnulib2): Depend on gcc, cc1, cpp to avoid 3867: wrong order of making when parallel. 3868: 3869: * Makefile (float.h): Do use $(MAKE) to run recursive make. 3870: 3871: Mon Sep 11 00:49:11 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3872: 3873: * cccp.c (main): Test for missing arg after -o, etc. 3874: 3875: * tm-next.h: Nearly completely new. 3876: 3877: * gcc.c (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Move after config.h. 3878: 3879: * cccp.c: Cast some args to strcpy and strcat. 3880: 3881: * genoutput.c (error): Declare arg S. 3882: 3883: * tm-pyr.h, pyr.md, out-pyr.c, xm-pyr.h: New files. 3884: * config.gcc: New item for pyr. 3885: 3886: * gvarargs.h: If __pyr__, use va-pyr.h. 3887: 3888: Sun Sep 10 00:48:43 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3889: 3890: * reload1.c (inc_for_reload): Really return the first of the insns. 3891: 3892: * stor-layout.c (build_int): Memoize size nodes for sizes <= 32. 3893: 3894: * loop.c (check_dbra_loop): Don't reverse a biv that is used 3895: in between its update and the loop endtest insn. 3896: 3897: Sat Sep 9 02:10:49 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3898: 3899: * stor-layout.c (genop): Don't use `combine' for nonexplicit constants. 3900: Handle some identity elements, etc., directly. 3901: (layout_basetypes): Function deleted. 3902: (layout_record): Ignore any TYPE_DECLs in the fieldlist. 3903: Don't do PCC_BUTFIELD_TYPE_MATTERS hack on field with ERROR_MARK type. 3904: (layout_union): Delete error check for base types. 3905: Ignore any TYPE_DECLs in the fieldlist. 3906: (layout_type): Copy layout info directly into all variants of type. 3907: Delete unused local `x'. 3908: 3909: * mips.md (movdi): Handle constant source operand. 3910: (movsi): Some output code moved to output_load_immediate. 3911: * out-mips.c (output_load_immediate): New function. 3912: 3913: * config.gcc (iris): Use tm-iris.h and xm-iris.h. 3914: 3915: * integrate.c (copy_for_inline): Copy all nonconstant MEM addresses. 3916: 3917: * tm-3b1.h (ASM_OUTPUT_SPACE): New override defn, to output explicit 3918: bytes of 0 if in text segment. 3919: 3920: Fri Sep 8 19:15:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3921: 3922: * combine.c (try_combine): Don't do i3dest stuff if i3 isn't a SET. 3923: 3924: Thu Sep 7 00:16:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3925: 3926: * integrate.c (function_cannot_inline_p): Fn is "not even close" 3927: only if > 3 * max_insns. 3928: 3929: * toplev.c (fatal_insn_not_found): New fn. 3930: * genextract.c (main): Make insn_extract call that fn. 3931: 3932: * integrate.c (expand_inline_function): Don't abort about bad offset 3933: in a parm whose type is error_mark_node. 3934: Make another syntax level to hold parm destructors. 3935: 3936: * tm-mips.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): 3937: Increment push_loc after, not before, each reg save or restore. 3938: When storing reg 9 or 29, use offset tsize-4. 3939: Make tsize larger by 4 initially. 3940: (STARTING_FRAME_OFFSET): -8, not -4. 3941: 3942: * gcc.c (choose_temp_base): Make use of TMPDIR and P_tmpdir 3943: if they exist. 3944: 3945: * toplev.c, gcc.c, cccp.c, gen*.c (fancy_abort): 3946: New function which can be used to replace `abort'. 3947: 3948: * toplev.c (main): Save argv, argc in save_argv, save_argc. 3949: 3950: * jump.c (delete_insn): Always advance NEXT across deleted insns, 3951: in case not optimizing. Fixes setting current_function_returns_null. 3952: 3953: * symout.c: Include stddef.h with <...>. 3954: 3955: Wed Sep 6 00:39:35 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3956: 3957: * gcc.c (find_exec_file): Was using `argbuf[0]' where wanted `prog'. 3958: 3959: * combine.c (combine_instructions): Dont call record_dead_and_set_regs 3960: if insn has become a NOTE. 3961: 3962: * reload.c (combine_reloads): Update reload_when_needed. 3963: 3964: * jump.c (delete_insn): If delete label on ADDR_VEC, delete table too. 3965: (jump_optimize): If ADDR_DIFF_VEC label has 1 ref, delete it and table. 3966: 3967: * gunlib2.c (__fixunsdfdi, __floatdfdi): Make the long long, 3968: and/or its two halves, unsigned. 3969: 3970: * reload1.c (reload): When setting double_reg_address_ok, 3971: require it to be offsettable. 3972: * out-sparc.c (output_fp_move_double): Now safe to use std 3973: for all reg+reg addresses. 3974: 3975: * vax.md: Add another simplified-casesi pattern for operand 0 constant. 3976: 3977: * cse.c (fold_rtx): Don't truncate VAL at end if WIDTH is 0. 3978: Don't alter WIDTH for that purpose based on the operands. 3979: 3980: * stmt.c (warn_if_unused_value): && or || is ok if 2nd op has effect. 3981: 3982: * c-parse.y (ALIGNOF unary_expr): Find a larger value if possible. 3983: 3984: * reload.c (combine_reloads): Don't combine an output address reload. 3985: (find_reloads): Call combine_reloads after setting reload_when_needed. 3986: (find_reloads_address): Update OPERAND if copy the operand. 3987: 3988: * cccp.c (macroexpand): Missing arg no error in 1-arg macro if -trad. 3989: 3990: Tue Sep 5 14:12:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 3991: 3992: * reload.c (find_dummy_reload): Don't use the output reg if it is 3993: a fixed reg which can overlap with other regs. 3994: 3995: * cse.c (exp_equiv_p): Two vectors must have same length. 3996: 3997: * tree.def (WITH_CLEANUP_EXPR): Print-name string was wrong. 3998: 3999: * optabs.c (expand_fix): Undo previous change (unsigned conversion). 4000: It doesn't work. 4001: 4002: * gcc.c: Pass -i option to cpp. It takes an arg. 4003: 4004: * cccp.c (cplusplus_include_defaults) [VMS]: Typo in array indices. 4005: 4006: * Makefile (gnulib): Create it in tmpgnulib, then rename at the end. 4007: 4008: * i860.md (movdi from constant pattern): Fix `st' opcode typos. 4009: 4010: * Makefile (hard-params*): Use CCLIBFLAGS, not CFLAGS. 4011: 4012: Fri Sep 1 03:43:50 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4013: 4014: * tm-i386gas.h (ASM_OUTPUT_ALIGN): .align arg isn't a log, in gas. 4015: (ASM_OUTPUT_ALIGN_CODE): Align labels, etc. to 4-byte boundary. 4016: 4017: * integrate.c (save_for_inline): Delete NOTE_INSN_DELETED notes. 4018: 4019: * Makefile (clean): Delete dbr and jump2 dumps. 4020: 4021: * Makefile (gnulib, gnulib2): Compile in main dir, not libtemp subdir. 4022: This avoids trouble with -I options, etc. 4023: 4024: Thu Aug 31 15:07:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4025: 4026: * reload1.c (emit_reload_insns): 4027: Be specific moving REG_DEAD notes to an output reload. 4028: Sometimes move them to output-operand-address reloads. 4029: 4030: * out-sparc.c (output_fp_move_double): Very cautious about std. 4031: Use it only for something visibly aligned, or for an array element. 4032: 4033: * cccp.c (main) [VMS]: Remove dirs and extension from PROGNAME. 4034: (pfatal_with_name) [VMS]: Return VMS system call error code as status. 4035: (cplusplus_include_defaults) [VMS]: Add GNU_GXX_INCLUDE. 4036: 4037: * xm-vms.h (FATAL_EXIT_CODE): Now (44 | 0x10000000). 4038: 4039: * expr.c (do_store_flag): Allow more values of STORE_FLAG_VALUE. 4040: 4041: * gnulib2.c (__fixunsdfdi): Explicitly cast doubles to `long int' 4042: to avoid infinite recursion. 4043: 4044: Wed Aug 30 13:28:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4045: 4046: * loop.c (skip_consec_insns): Skip NOTEs. 4047: 4048: * loop.c (general_induction_var): If G or V is a nonreplaceable giv, 4049: give up. If G is allocated here, consider it replaceable. 4050: 4051: * stupid.c: Make uid_suid, reg_where_born and reg_where_dead 4052: vectors of ints, not short. 4053: 4054: Tue Aug 29 00:21:13 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4055: 4056: * tm-iris.h: Fix typo in formfeed char. 4057: 4058: * out-i860.c (singlemove_string): Add missing `.l' to `st', `ld'. 4059: 4060: * loop.c (general_induction_var): Don't set G from 2nd op. of MINUS, 4061: since that would negate the result. 4062: 4063: Mon Aug 28 00:16:36 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4064: 4065: * dbxout.c (dbxout_symbol): When we need a pointer type, don't 4066: record it in TYPE_POINTER_TO, lest it not live as long as its target. 4067: 4068: * tm-hp9k320.h (CPP_PREDEFINES): Delete __hp9000s300 and _HPUX_SOURCE. 4069: 4070: * Makefile (gnulib): Deleted stamp-gnulib2 in wrong dir. 4071: (hard-params.o): Copy it into current dir before compiling. 4072: (STAGESTUFF): Include the stamp-*.[ch] files. 4073: 4074: Sun Aug 27 13:59:39 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4075: 4076: * out-i860.c (output_size_for_block_move): Typo in CC_KNOW_HI_R31. 4077: 4078: * integrate.c (expand_inline_function): Ignore insns to set value reg 4079: if we don't want the value. 4080: 4081: * varasm.c (make_function_rtl, make_decl_rtl): Use DECL_ASSEMBLER_NAME. 4082: 4083: * Makefile (stamp-gnulib2): Don't explicitly delete old members, 4084: just replace them. 4085: 4086: * m68k.md, alliant.md (trunchiqi): Use movew if moving from memory 4087: or from a const_int. 4088: 4089: * integrate.c (expand_inline_function): Set first_parm_offset 4090: later on, after computing the args, in case those args 4091: contain inline function calls. 4092: 4093: * alliant.md (movqi): Like recent change in m68k.md. 4094: 4095: Sat Aug 26 00:26:03 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4096: 4097: * tm-hp9k320.h (CPP_PREDEFINES): Take out m68k and mc68000. 4098: * tm-news.h (CPP_PREDEFINES): Add mc68000. 4099: 4100: Fri Aug 25 15:37:35 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4101: 4102: * optabs.c (expand_fix): Can convert to unsigned int 4103: by subtracting 2**(N-1), converting to signed, and adding 2**(N-1). 4104: 4105: * reload.c (find_reloads_address): For out-of-range stack slot, 4106: reload the displacement into a reg. 4107: (find_reloads_toplev): For subreg of a reg with a reg_equiv_address, 4108: turn the whole thing into a memref. 4109: 4110: Thu Aug 24 14:07:03 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4111: 4112: * c-decl.c (grokdeclarator): If function is declared `extern inline', 4113: set current_extern_inline. 4114: (start_function): In that case, set TREE_EXTERN in function decl. 4115: * toplev.c (rest_of_compilation): In that case, don't really compile. 4116: (compile_file): Don't output such functions at the end either. 4117: 4118: * c-typeck.c (build_function_call): Do set NAME if we have one. 4119: 4120: * Prevent any variability in results of qsort. 4121: * stupid.c (stupid_reg_compare): Compare by regno as last resort. 4122: * global-alloc.c (allocno_compare): Same idea. 4123: * local-alloc.c (qty_compare_1): Same idea. 4124: * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Same idea. 4125: 4126: * cccp.c (macroexpand): If read one arg, but it's whitespace, 4127: consider that 0 args for checking number of args. 4128: Improve plurals in error messages. 4129: 4130: * expr.h (inhibit_defer_pop): New name for current_args_size, 4131: now declared here. 4132: (NO_DEFER_POP, OK_DEFER_POP): Moved here. 4133: * expr.c: Names related to current_args_size renamed. 4134: (clear_current_args_size): Deleted. 4135: * stmt.c (expand_function_start): Init inhibit_defer_pop here. 4136: 4137: * stmt.c (expand_start_stmt_expr): Do NO_DEFER_POP. 4138: (expand_end_stmt_expr): Do OK_DEFER_POP, and don't do deferred pops. 4139: 4140: * Makefile (c-parse.tab.c): Pass -o option to Bison. 4141: 4142: Wed Aug 23 23:14:06 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4143: 4144: * expmed.c (store_bit_field, extract_bit_field): 4145: Use GET_MODE_WIDER_MODE to scan possible modes for bestmode. 4146: 4147: * Makefile (stamp-gnulib2): Discard error messages from `ar d'. 4148: 4149: Tue Aug 22 00:31:51 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4150: 4151: * final.c (output_source_line): In COFF, don't output `.ln 0'. 4152: 4153: * Makefile (stamp-gnulib2): Depend on gnulib. For parallel make. 4154: 4155: * stmt.c (uninitialized_vars_warning): Don't crash if DECL_RTL is 0. 4156: 4157: * i386.md (truncdfsf2): Pay attention whether stack top is dead. 4158: 4159: Mon Aug 21 22:02:40 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4160: 4161: * reload1.c (choose_reload_regs): Don't use regno uninitialized, 4162: in the code that does find_equiv_reg. 4163: 4164: Sun Aug 20 00:06:47 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4165: 4166: * m68k.md (movqi): Was outputting bad code for areg->mem and mem->areg. 4167: 4168: * explow.c (memory_address): Handle a hard reg in wrong reg class. 4169: 4170: * stmt.c (expand_function_end): Set REG_FUNCTION_VALUE_P in return 4171: reg when returning address of structure value block. 4172: 4173: * integrate.c (save_for_inline): Preserve integrated bit on insns. 4174: 4175: Sat Aug 19 14:20:07 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu) 4176: 4177: * combine.c (subst): Don't change (subreg:M (mem:N ...)) to 4178: (mem:M ...) if address is mode-dependent. 4179: 4180: * config.gcc: Copy and alter Makefile for any srcdir except `.'. 4181: In that case, make a .gdbinit as well. 4182: 4183: * sparc.md (andcbsi3, iorcbsi3, xorcbsi3): These are not commutative. 4184: 4185: * vax.md (cmpv and cmpzv patterns): Use COMPARE, not MINUS. 4186: 4187: Fri Aug 18 12:24:52 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4188: 4189: * alliant.md (movqi): Change move to mov in assembler code. 4190: 4191: * integrate.c (expand_inline_function): 4192: Handle args passed in regs and copied to slots reached via arg ptr. 4193: 4194: * out-sparc.c (output_delayed_branch): 4195: Do alter_subreg on operands of delay insn. 4196: 4197: * reload1.c (choose_reload_regs): Look for a reg to share 4198: before one that we won't share. 4199: 4200: * expr.h: Define OPTAB_MUST_WIDEN. 4201: * optabs.c (expand_binop): Handle that case. 4202: * expmed.c (expand_shift): Use that when widening lshift to ashift. 4203: 4204: * optabs.c (emit_cmp_insn): Use CONST0_RTX, not individual vars. 4205: 4206: * gnulib2.c (lsh*di3, ash*di3): Return right away if count is zero. 4207: Otherwise tried to shift by 32. 4208: Also replace constant 32 by something symbolic. 4209: 4210: * final.c (output_source_line): Output line number in COFF 4211: even if wrong file. 4212: 4213: Thu Aug 17 15:16:34 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4214: 4215: * Makefile (version.o): Make this a target; specify source file. 4216: (obstack.o): Likewise. 4217: 4218: * config.gcc (i860): New alternative. 4219: 4220: * i860.md (movstrsi): Record the alignment as operand 3. 4221: Renumber following (internal) operands. 4222: * out-i860.c (output_block_move): Rewrite as in out-sparc.c. 4223: (output_size_for_block_move): Likewise. And don't 4224: subtract alignment from the size. 4225: 4226: Wed Aug 16 13:27:12 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4227: 4228: * loop.c (combine_movables): Don't combine zero-extend 4229: registers that live outside the loop. 4230: 4231: * integrate.c (expand_inline_function): Use copy_to_mode_reg 4232: to set up this_struct_value_rtx, to handle sums right. 4233: 4234: * Makefile: Use $(srcdir) in bison output files used as deps. 4235: Supply some missing deps. 4236: (*.info, doc): *.info files go in srcdir. 4237: 4238: Tue Aug 15 00:11:12 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4239: 4240: * i860.md, tm-i860.h, out-i860.c: New files. 4241: 4242: * c-decl.c (duplicate_decls): Fix bug determining whether NEWDECL 4243: is a definition or just a decl. 4244: Combine code to preserve various things from old definition 4245: through a declaration. 4246: 4247: * config.gcc: Scan all args at beginning, setting variables. 4248: Arg of form -srcdir=... sets srcdir explicitly. 4249: srcdir now doesn't contain a slash, and is used with a slash. 4250: 4251: * Makefile (install): Copy header files and gcc.1 from srcdir. 4252: But copy float.h from current dir. (Remove that from USER_H.) 4253: (various): Use new variable INCLUDES to get the -I options. 4254: Add -I. at the beginning of these. 4255: (gnulib, gnulib2): Likewise, use SUBDIR_INCLUDES. 4256: Also, get source file from srcdir. 4257: Also, depend on $(CONFIG_H). 4258: (alloca.o): Get alloca.c from srcdir. 4259: 4260: * reload1.c (emit_reload_insns): Bug in last change: 4261: don't fail to set this_reload_insn. 4262: 4263: * Makefile (Bison rules): Specify $(srcdir) for target and source. 4264: (Explicit C rules): Specify $(srcdir)/ for source in commands. 4265: Use sed to eliminate `./' in normal case. 4266: (insn-*.c): Use $(srcdir) to run move-if-change. 4267: 4268: * config.gcc: Check . and .. for the sources. 4269: If in .., use that when making links. 4270: Also, copy Makefile, alter srcdir in it, and add a VPATH. 4271: 4272: * stmt.c (expand_end_case): When converting CONST_INT index 4273: to an INTEGER_CST, sign-extend if signed type. 4274: 4275: Mon Aug 14 13:51:08 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4276: 4277: * c-decl.c (duplicate_decls): Warn for qualifier mismatch 4278: only if pedantic; don't consider it a type mismatch. 4279: Merge the qualifiers of the two decls if the types match. 4280: 4281: * expmed.c (store_bit_field): For insv, memref displacement 4282: always counts in bytes, regardless of unit fetched. 4283: When checking predicate of op0, accept any mode. 4284: 4285: * optabs.c (expand_float): One call to can_float_p had args backwards. 4286: 4287: * loop.c (check_dbra_loop): Set the JUMP_LABEL of the new jump insn. 4288: Increment label's use count rather than storing 2. 4289: 4290: * Makefile: Instead of $<, which fails in certain makes, 4291: use $@ and then substitute in the name with sed. 4292: 4293: * out-sparc.c (output_scc_insn): Handle CC_REVERSED for ordered tests. 4294: Use orcc insns to store the result and set cc's for it. 4295: 4296: * sparc.md (scc combination patterns): 4297: Use operands[0] as basis for recorded cc value. 4298: 4299: * gnulib2.c (floatdidf, fixdfdi, fixunsdfdi): New functions. 4300: 4301: * gnulib.c (floatdidf, fixdfdi, fixunsdfdi): Deleted. 4302: (union longlong, union double_di): Deleted. 4303: (HIGH, LOW): Deleted. 4304: These were deleted because most did not handle full range of DI 4305: and they didn't use the right calling convention for DI. 4306: 4307: Sun Aug 13 13:06:45 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4308: 4309: * c-typeck.c (comptypes): Qualifiers must match. 4310: (Was already true for scalars.) 4311: Also, array elt qualifiers must match. 4312: 4313: * tm-apollo68.h (STRUCT_VALUE): Make it 0. 4314: (This was done before and lost.) 4315: * out-i386.c (function_epilogue): Use ret $4 to pop structure address. 4316: (This was done before and lost.) 4317: 4318: * out-i386.c (call_top_dead_p): Don't fail to check 4319: the rtx code of the insns themselves. 4320: (This was done before and lost.) 4321: 4322: * out-sparc.c (output_block_move): If align is 8, make it 4. 4323: 4324: * typeclass.h: New file. 4325: * expr.c: Include it. 4326: (expand_builtin): Use those codes in __builtin_classify_type. 4327: 4328: * Makefile (all, lang-c): Reinstall gnulib2. 4329: 4330: * Makefile (gnulib2): Don't give up if `ar d' fails. 4331: 4332: * expr.c (emit_library_call): New 2nd arg NO_QUEUE. 4333: All callers changed to pass it. 4334: * optabs.c (expand_binop, expand_unop): Don't call emit_queue. 4335: Instead, pass 1 for NO_QUEUE to emit_library_call. 4336: 4337: Sat Aug 12 12:05:22 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4338: 4339: * reload1.c (emit_reload_insns): Decision for where to put input 4340: reload insn is now common to ordinary case and auto-increment. 4341: Likewise, updating these positions afterward. 4342: 4343: * stmt.c (assign_parms): Treat last named arg as nameless. 4344: * expr.c (expand_call): Likewise. 4345: 4346: * explow.c (copy_to_mode_reg): Use force_operand for PLUS or MULT. 4347: (copy_addr_to_reg): Use copy_to_mode_reg. 4348: 4349: * expmed.c (store_bit_field): Handle case where insv rejects memrefs. 4350: 4351: * tm-convex.h (ASM_OUTPUT_ALIGN): Magic to handle the fact 4352: that this is not called when LOG is 0. 4353: 4354: Fri Aug 11 16:39:51 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4355: 4356: * emit-rtl.c (get_lowpart): For multi-word, in error check, 4357: test the unit size of the containing mode. 4358: 4359: * cccp.c (macroexpand, dump_all_macros): Return void. 4360: (macroexpand): Cast sprintf arg to char*. 4361: (error, warning, error_with_line): Declare first arg char*. 4362: 4363: Thu Aug 10 21:42:13 1989 Richard Stallman (rms at hobbes.ai.mit.edu) 4364: 4365: * expr.c (expand_call): 4366: Use force_operand to copy arithmetic to register. 4367: 4368: * dbxout.c (dbxout_symbol): Go back to N_FUN for const variable. 4369: 4370: * integrate.c (expand_inline_function): Use proper machine mode 4371: for a structure value in memory at address passed by caller. 4372: 4373: Wed Aug 9 15:21:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4374: 4375: * config.gcc: Delete unnecessary variable assignments in case stmt. 4376: (isi68-nfp): New alternative. 4377: 4378: * combine.c (try_combine): Don't substitute for a register 4379: which is being explicitly clobbered. 4380: 4381: * This change was requested for C++. 4382: * varasm.c (decode_reg_name, make_decl_rtl): Arg ASMSPEC now char *. 4383: * toplev.c (rest_of_decl_compilation): Likewise. 4384: * c-decl.c (finish_decl): Change call to rest_of_decl_compilation. 4385: 4386: * tree.h (struct tree_decl): Pack machine_mode into 8 bits. 4387: 4388: * explow.c (memory_address, copy_to_reg): 4389: Use force_operand to copy arithmetic to register. 4390: 4391: * tm-isi68-nfp.h: New file. 4392: * tm-isi68.h: Allow overriding TARGET_DEFAULT, and let that 4393: change CPP_SPEC and LINK_SPEC. 4394: (ASM_FILE_START): No `.globl fltused' if soft-float. 4395: 4396: Tue Aug 8 21:50:52 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4397: 4398: * varasm.c (const_hash): For constructor, mask TREE_TYPE to HASHBITS 4399: bits and take modulo, so we don't get negative numbers. 4400: 4401: * varasm.c (record_constant_1, compare_constant_1): 4402: Record and compare the width of an integer. 4403: 4404: * varasm.c (assemble_function, assemble_variable, get_or_assign_label): 4405: (force_const_mem): Don't call ASM_OUTPUT_ALIGN if boundary is 1. 4406: 4407: * c-decl.c (duplicate_decls): Consider const and volatile as part of 4408: type when checking for match and when installing new type into OLDDECL. 4409: 4410: * expr.c (do_store_flag): Make sure target fits operand predicate. 4411: Also, omit the AND insn when true-value is 1 4412: and the mode we get is wider than the one we want. 4413: 4414: * genrecog.c (main): Make insn-recog.c include real.h. 4415: 4416: Mon Aug 7 16:58:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4417: 4418: * genemit.c (main): Define `operands' as `emit_operands', 4419: not `recog_operands'. 4420: 4421: * reload1.c (emit_reload_insns): Don't copy back a dead output reg. 4422: 4423: Sun Aug 6 13:56:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4424: 4425: * sdbout.c (plain_type_1, sdbout_one_type): Use the main variant. 4426: (sdbout_type_fields): No need to check TREE_ASM_WRITTEN here, 4427: since sdbout_one_type does that. 4428: 4429: * expr.c (do_store_flag): Ensure the CLOBBER doesn't clobber an input. 4430: 4431: * fold-const.c (fold_convert): Attempt to avoid overflow 4432: when converting real to integer. Use unsigned conversion for 4433: low part; always convert as positive and then change sign; 4434: subtract high part before converting low part. 4435: Also, check for real values out of range for chosen int type; 4436: warn and do not convert. 4437: 4438: * tm-hp9k320.h (CPP_SPEC) [not HPUX_ASM]: Don't define mc68000 here. 4439: (CPP_PREDEFINES): Remove mc68k, add m68k and mc68000. 4440: [HPUX_ASM]: Define CPP_SPEC here as in the other case, 4441: but add __HPUX_ASM__ to each alternative. 4442: 4443: * tm-m68k.h (FUNCTION_EPILOGUE): Call new hook FUNCTION_EXTRA_EPILOGUE. 4444: * tm-altos3068.h (FUNCTION_EXTRA_EPILOGUE): Define it. 4445: 4446: * Makefile: Use $< wherever appropriate. 4447: Also put definitions of customization vars before the comments 4448: saying how to override them. 4449: 4450: Sat Aug 5 14:15:39 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4451: 4452: * i386.md (sne): Typo in opcode name. 4453: 4454: * tree.h (struct tree_identifier): Delete redundant/unused error_locus. 4455: 4456: Fri Aug 4 00:04:10 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4457: 4458: * varasm.c (const_hash, compare_constant_1, record_constant_1): 4459: Compare types only for record constructors, not for array constructors. 4460: 4461: * dbxout.c (dbxout_parms): When outputing parm from home in local slot, 4462: with address from the RTL, don't do big-endian correction on it. 4463: 4464: * c-typeck.c (build_unary_op): Do default conversion for unary +. 4465: 4466: * cccp.c (rescan): Accept comments between macro and its args. 4467: 4468: * c-decl.c (lang_decode_option): -traditional implies writable strings. 4469: 4470: * cccp.c (trigraph_pcp): Make warning msg more accurate. 4471: 4472: * c-typeck.c (c_expand_asm_operands): Delete the default promotion 4473: which was inserted mysteriously since 1.35. 4474: 4475: * global-alloc.c (global_conflicts): Allocate regs_set only once. 4476: Make it twice as big since clobbers are stored twice. 4477: 4478: * sparc.md (block move patterns): Record and use alignment operand. 4479: * out-sparc.c (output_block_move): Get alignment from there. 4480: (output_size_for_block_move): Greatly simplified. 4481: 4482: * tm-i386v.h (PCC_BITFIELD_TYPE_MATTERS): Define it. 4483: 4484: * stor-layout.c (layout_record): Anonymous bitfields don't affect 4485: overall structure alignment, in PCC_BITFIELD_TYPE_MATTERS case. 4486: 4487: * loop.c (strength_reduce): Prevent hard reg from becoming biv or giv. 4488: 4489: * combine.c (subst): Simplify (eq (neg ...) (const_int 0)). 4490: 4491: Thu Aug 3 13:08:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4492: 4493: * cse.c (fold_rtx): For (op var const) special cases, also check 4494: for constant as first argument. 4495: 4496: * c-decl.c (pushtag): For global_binding_level, make permanent nodes. 4497: 4498: * expr.c (do_store_flag): Put the CLOBBER before the comparison. 4499: 4500: * expr.c (emit_push_insn): Conditionalize recent changes 4501: on no FIRST_PARM_CALLER_OFFSET, so they don't happen on sparc. 4502: 4503: * out-sparc.c (gen_scc_insn): 4504: Don't be confused by CLOBBER emitted by do_store_flag. 4505: Skip past such insns looking for last_insn. 4506: Don't alter last_insn; instead, patch it to a NOTE and emit new insn. 4507: 4508: * varasm.c (const_hash, compare_constant_1, record_constant_1): 4509: For a CONSTRUCTOR, hash/compare/record type as well as elts. 4510: 4511: * cse.c (cse_insn): July 18 change was wrong. 4512: Now, invalidate at the beginning any regs explicitly clobbered 4513: so they will not be substituted for if they appear as inputs. 4514: * sparc.md (movstrsi): Copy addresses to temp regs, then use them. 4515: 4516: * loop.c (record_giv): When comparing life spans for setting 4517: ->forces, use luids consistently, not uids. 4518: 4519: * sparc.md (ashlsi3, ashrsi3, lshrsi3): Truncate constants mod 32. 4520: 4521: Wed Aug 2 17:50:30 1989 Richard Stallman (rms at sugar-bombs) 4522: 4523: * mips.md (patterns to move a subreg): Deleted. 4524: 4525: Sun Jul 30 19:23:13 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4526: 4527: * gcc.c (process_command): Skip `-b' like `-B', in 2nd scan. 4528: 4529: * xm-sunos4.h: Deleted. 4530: * tm-sparc.h, tm-sun3.h: Define LINK_SPEC here instead. 4531: * tm-sun4os3.h: Undef it here. 4532: * tm-sun3os3.h, tm-sun3os3nf.h: New files to undef LINK_SPEC. 4533: * config.gcc: Use those new files where needed. 4534: 4535: * config.gcc: Delete sun3-fpa and sun3-os4-fpa. 4536: * tm-sun3-fpa.h: Deleted. 4537: 4538: * cccp.c (do_include): Mention even non-ex files for -M. 4539: 4540: * out-mips.c (addr_compensate): Handle HImode. 4541: * mips.md (Set HI from subreg of SI rule): 4542: Allow operand in memory. 4543: 4544: * mips.md (cmpqi, cmphi): Patterns deleted. 4545: (cmpsi, cmpsf, cmpdf): Change predicates to register_operand. 4546: 4547: * cexp.y (rule for ?:): Result is unsigned if either operand is. 4548: 4549: * expr.c (emit_push_insn): If PARTIAL > 0, load the partial regs 4550: at the end, in case the rest of the push does a function call. 4551: 4552: * reload1.c (alter_frame_pointer_addresses): 4553: After altering a PLUS, re-fetch CODE before scanning subexps. 4554: 4555: * stmt.c (assign_parms): Don't copy the arg pointer value 4556: if it is also the frame pointer. If we do copy it, 4557: inhibit REG_EQUIV notes for parms copied into pseudo regs 4558: 4559: * integrate.c (copy_for_inline, copy_rtx_and_substitute): 4560: Set up filename and lineno fields of copy of ASM_OPERANDS. 4561: 4562: Sat Jul 29 18:58:49 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4563: 4564: * integrate.c (expand_inline_function): Handle struct-value-addr 4565: passed in memory just like that passed in reg: 4566: in either case, translate the pseudo-reg made in 4567: expand_function_start. 4568: (function_cannot_inline_p): Permit inlining in that case. 4569: But reject it if using pcc-style return convention. 4570: 4571: * stor-layout.c (layout_type): Consider STRICT_ALIGNMENT 4572: for ARRAY_TYPE just as for RECORD_TYPE. 4573: 4574: Wed Jul 26 12:54:59 1989 Richard M. Stallman (rms at mipos3) 4575: 4576: * cse.c (fold_rtx): If WIDTH is zero for binary operator, 4577: look at the modes of the original operands. 4578: 4579: * cse.c (cse_insn): Set prev_insn_explicit_cc0, for (set (cc0) INT). 4580: (predecide_loop_entry): Likewise. 4581: (fold_rtx): Look at it, for (if_then_else (cc0) ...). 4582: 4583: * expr.c (expand_builtin): Pass back return value from 4584: __builtin_saveregs. 4585: 4586: * stmt.c (assign_parms): Allow arg pointer reg not to be fixed. 4587: If it is not, copy it to a pseudo reg and use that later on. 4588: 4589: Tue Jul 25 15:42:04 1989 Richard M. Stallman (rms at mipos3) 4590: 4591: * expr.c (expand_builtin): New builtin __builtin_classify_type. 4592: * tree.h, c-decl.c: Additional support. 4593: 4594: * flow.c (mark_used_regs): Treat arg pointer like stack pointer. 4595: 4596: * expr.c (emit_library_call): 4597: Pass (tree)0 as TYPE arg to FUNCTION_ARG, etc. 4598: 4599: Mon Jul 24 11:18:10 1989 Richard M. Stallman (rms at mipos3) 4600: 4601: * loop.c (regs_match_p): Fix braino. 4602: 4603: * integrate.c (copy_for_inline, copy_rtx_and_substitute): 4604: Make ASM_OPERANDS constraint vector be shared like operand vector. 4605: 4606: * xm-iris.h: New file. 4607: 4608: * Makefile (stage4): New target. 4609: 4610: * gnulib2.c (badd, bsub, bmul, bdiv): If want long value from 4611: arithmetic, widen the operands first. 4612: (__div_internal aka bdiv): Rename to __bdiv. 4613: 4614: * sparc.md (seq combination patterns): Fully initialize cc_status. 4615: 4616: * expr.c (emit_push_insn): Like July 19 change, for BLKmode. 4617: 4618: * stmt.c (expand_function_end): Stack-restore for alloca 4619: is now done after the return_label. 4620: 4621: * loop.c (scan_loop): Set MAYBE_NEVER for conditional jump to loopbeg. 4622: 4623: * integrate.c (copy_rtx_and_substitute): Allow mapping of hard regs. 4624: (expand_inline_function): Always create parm_map. 4625: Handle structure value that way if nec. even if no parms. 4626: Otherwise, find the pseudo used in the function to hold the 4627: structure address, and map it to a new pseudo. 4628: 4629: * expr.c (expand_call): 4630: Use mark_addressable to make FNDECL addressable. 4631: * c-typeck.c (mark_addressable): No longer static. 4632: 4633: * cse.c (cse_insn): Modify last change: don't canon_reg 4634: for hard regs inside clobbers. 4635: 4636: * expr.c (expand_assignment): ALIGN arg to store_field comes from 4637: the structure, not from the value stored. 4638: 4639: Fri Jul 21 16:23:45 1989 Richard M. Stallman (rms at mipos3) 4640: 4641: * stmt.c (warn_if_unused_value): Don't warn for a cast 4642: around a MODIFY_EXPR. 4643: 4644: * tm-hp9k320.h (PCC_STATIC_STRUCT_RETURN): Undefine it. 4645: (CPP_PREDEFINES): Add some. 4646: 4647: * combine.c (simplify_and_const_int): 4648: Simplify (and (ashiftrt (zero_extend FOO) N) M). 4649: 4650: * optabs.c (expand_binop): When widening, 4651: for some operations we need not actually extend. 4652: 4653: Thu Jul 20 16:16:35 1989 Richard M. Stallman (rms at mipos3) 4654: 4655: * Makefile (insn-emit.o): Depend on insn-codes.h. 4656: 4657: * stmt.c (check_for_full_enumeration_handling): 4658: Handle all cases for TYPE_NAME of enum type. 4659: 4660: Wed Jul 19 17:00:39 1989 Richard M. Stallman (rms at mipos3) 4661: 4662: * fold-const.c (fold_convert): Don't fail to force_fit_type. 4663: 4664: * expr.c (emit_push_insn): When pushing only part of scalar on stack, 4665: adjust stack offset not to count the words not pushed. 4666: 4667: * stmt.c (expand_function_end): Always put return structure address 4668: in return register. 4669: 4670: * c-typeck.c (process_init_constructor): Assume 0 for nameless field. 4671: 4672: * recog.c (general_operand, memory_operand): 4673: Check validity of mem address using the mode of the MEM. 4674: 4675: * fixincludes: When calling egrep, use redirect, not -s. 4676: 4677: Tue Jul 18 11:18:55 1989 Richard M. Stallman (rms at mipos3) 4678: 4679: * Makefile (bootstrap*): Pass value of libdir down. 4680: 4681: * cse.c (cse_insn): Do canon_reg on any CLOBBERs and USEs. 4682: 4683: * cse.c (cse_insn): Don't use no_labels_between_p to check 4684: for jump to following label; find following label and compare. 4685: 4686: * combine.c (try_combine): Don't substitute into subreg(x)=y 4687: if modes of x and y are not tieable. 4688: 4689: * out-i386.c (call_top_dead_p): Don't fail to check 4690: the rtx code of the insns themselves. 4691: 4692: * i386.md (tstsf, tstdf): Don't discard TOS if not dead. 4693: 4694: * stupid.c: Don't use regs with PRESERVE_DEATH_INFO_REGNO_P 4695: for pseudos which live across jumps or labels. 4696: (stupid_life_analysis): Update last_jump_suid, last_label_suid. 4697: (stupid_mark_refs): Use those to set reg_crosses_blocks. 4698: (stupid_find_reg): Check that data, passed from stupid_life_analysis. 4699: 4700: * toplev.c (main): Avoid using caddr_t. 4701: 4702: * mips.md (inverted bgeu peephole): Typo in opcode. 4703: 4704: Mon Jul 17 12:29:45 1989 Richard M. Stallman (rms at mipos3) 4705: 4706: * i386.md (mulb patterns): Turned off due to assembler bug. 4707: 4708: * rtl.c (read_name): Use 0, not NULL, for character. 4709: 4710: * alliant.md (movqi): Typos in mov opcodes. 4711: 4712: * tm-sparc.h, tm-spur.h (CONST_DOUBLE_OK_FOR_LETTER_P): 4713: Use CONST_DOUBLE_LOW, etc. 4714: 4715: * stmt.c (expand_function_end): Check value of EXIT_IGNORE_STACK, 4716: not just whether defined. 4717: 4718: * i386.md (seq, etc.): New patterns. 4719: * expr.c (do_store_flags): If result is wrong mode, 4720: ensure rest of bits are cleared. 4721: Before storing low part of TARGET, emit a CLOBBER for it. 4722: 4723: * i386.md (load address): Use an immediate add if possible. 4724: 4725: * i386.md (ashlsi3): Don't generate leal; shift is faster. 4726: 4727: * Now struct_value_rtx is 0 to treat it as a parm. 4728: * expr.c (expand_call): Implement that. 4729: * integrate.c (expand_inline_function): Don't freak out. 4730: * tm-apollo68.h (STRUCT_VALUE): Make it 0. 4731: 4732: * On 386, called function must pop the structure value address. 4733: * tm-i386.h (STRUCT_VALUE): Don't change this. 4734: Address is now pushed but not counted as a parm. 4735: * out-i386.c (function_epilogue): Use ret $4 to pop that address. 4736: * output.h: Declare the current_function_... variables. 4737: * final.c: Include output.h. 4738: 4739: * varasm.c (make_decl_rtl): Insert missing `else', validating reg decl. 4740: 4741: Fri Jul 14 14:12:17 1989 Richard M. Stallman (rms at mipos3) 4742: 4743: * out-sparc.c, out-spur.c (output_move_double): 4744: Fixed typo, addreg0 => addreg1. 4745: 4746: * c-decl.c (lang_decode_option): Handle -fshort-enums. 4747: (finish_enum): In that case, give enum minimum number of bytes. 4748: * toplev.c (main): Default flag_short_enums. 4749: * toplev.c, flags.h (flag_short_enums, flag_signed_char): 4750: Define those flags here, not in c-decl.c and c-tree.h. 4751: 4752: * i386.md (mulqi3, umulqi3): New patterns. 4753: 4754: * c-convert.c (convert_to_integer): Tighter restrictions on 4755: distributing truncation through max, min, and multiplication. 4756: If operands were extended from unsigned, make the operation 4757: unsigned. 4758: 4759: * cccp.c (main): Fix bug where #include <...>, when -I- was used, 4760: failed to search standard dirs and/or searched some dirs 4761: intended only for #include "...". 4762: 4763: * tm-mips.h (FUNCTION_PROLOGUE,FUNCTION_EPILOGUE): 4764: Increment push_loc after store or load, not before. 4765: 4766: Thu Jul 13 11:24:30 1989 Richard M. Stallman (rms at mipos3) 4767: 4768: * emit-rtl.c (add_insn_after): Don't update last_insn 4769: if insn is in a sequence. Instead, update end of sequence. 4770: 4771: * stmt.c (fixup_var_refs): Update end of stacked sequence. 4772: 4773: * stmt.c (expand_function_start): Set result rtl before assign_parms. 4774: 4775: * optabs.c (emit_unop_insn): Set PREV_INSN after preliminaries. 4776: 4777: * stmt.c (warn_if_unused_value): Do CONVERT_EXPR like NOP_EXPR. 4778: 4779: * stmt.c (expand_function_start): Make sure parm_birth_insn 4780: is a NOTE. 4781: 4782: * Makefile (clean): Delete tmp-insn-*. 4783: 4784: Wed Jul 12 14:24:12 1989 Richard M. Stallman (rms at mipos3) 4785: 4786: * i386.md (mulqi3): Restrict operand 2 to `q' reg. 4787: 4788: * reload1.c (choose_reload_regs): Check HARD_REGNO_MODE_OK 4789: for regs to be inherited. 4790: Also check HARD_REGNO_MODE_OK at end for modes of both 4791: reload_in and reload_out as well as reload_mode. 4792: 4793: * Makefile (maketest): Update for config subdir. 4794: 4795: Tue Jul 11 16:29:57 1989 Richard M. Stallman (rms at mipos3) 4796: 4797: * integrate.c (copy_decl_tree): Copy TREE_USED of each LET_STMT. 4798: 4799: * make-cc1.com: Changes by Angel Li. 4800: Define variables CC, CFLAGS, LDFLAGS, LIBS. 4801: Use LIBR library, not LIB. Specify a /INC in CFLAGS. 4802: Use MCR to run the gen* files. Add some comments. 4803: * make-cccp.com: Similar. 4804: * config-gcc.com: New file. 4805: 4806: * stmt.c (assign_parms): Compute parm alignment from passed type. 4807: 4808: * c-typeck.c (actualparameterlist): Instead of truncating 4809: and then promoting for PROMOTE_PROTOTYPES, go straight to int. 4810: 4811: * c-parse.y (setspecs): Save old current_declspecs on a stack. 4812: (decl, component_decl): Restore from that stack. 4813: 4814: Wed Jul 5 15:01:00 1989 Richard Stallman (tiemann at yahi) 4815: 4816: * tm-aix386.h, xm-aix386.h: New files. 4817: 4818: * loop.c (check_dbra_loop): Handle either test or compare 4819: for insn two before loop end; detect and reject anything else. 4820: 4821: * expr.c (expand_call, expand_builtin): If alloca is done, 4822: set current_function_calls_alloca. 4823: * stmt.c (expand_function_end): If so, generate code to save and 4824: restore the stack pointer, if not EXIT_IGNORE_STACK. 4825: 4826: * ns32k.md (movsi): Fixes for moving from fp or sp. 4827: 4828: * tm-mips.h (ASM_OUTPUT_ASCII): Start new .ascii every 256 chars. 4829: 4830: Tue Jul 4 11:01:00 1989 Richard Stallman (tiemann at yahi) 4831: 4832: * reload1.c (choose_reload_targets): Don't depend on 4833: reload_spill_index when cancelling invalid inheritance. 4834: Also, abort if trying to preserve death info 4835: on a spill reg used in operand addressing. 4836: 4837: * fold-const.c (fold): Don't fold "foo"[n] here. 4838: * expr.c (expand_expr): Do it here. 4839: Handle wide strings correctly. 4840: 4841: * i386.md (movsf,movdf): Disallow mem-mem moves. 4842: Enable mem-to-reg moves. 4843: 4844: * c-decl.c (finish_{struct,enum}): Warn if inside parm decls. 4845: (in_parm_level_p, declare_parm_level): Record when inside. 4846: * c-parse.y (parmlist, parmlist_or_identifiers): Call 4847: declare_parm_level. 4848: 4849: * c-decl.c (parmlist_tags_warning): Revise warning message text. 4850: 4851: * tm-hp9k320.h (ASM_SPEC): Pass -V switch to assembler. 4852: 4853: * tm-sun386.h (ASM_START_FILE): Truncate filename to 14 chars. 4854: 4855: * c-typeck.c (decl_constant_value): Use only literal values. 4856: 4857: Sat Jul 1 17:29:54 1989 Richard Stallman (tiemann at yahi) 4858: 4859: * integrate.c (copy_rtx_and_substitute): Don't make nested SUBREGs. 4860: 4861: * stmt.c (expand_function_start): Set new global 4862: current_function_returns_pointer. 4863: 4864: * stmt.c (get_frame_size): Return the size, not the offset. 4865: * integrate.c (expand_inline_function): When setting FP_DELTA, 4866: compensate for this change. 4867: * tm-alliant.h,tm-mips.h,tm-sparc.h,tm-tahoe.h 4868: (FUNCTION_PROLOGUE,FUNCTION_EPILOGUE): Compensate. 4869: 4870: * out-mips.c (function_arg): Return 0 for BLKmode. 4871: 4872: * tm-mips.h (FUNCTION_INCOMING_ARG): Delete; no register windows. 4873: * out-mips.c (function_inarg): Delete; no longer used. 4874: 4875: * mips.md (addsi3): Use register_operand for operands 0,1. 4876: (load address): New pattern, following movsi. 4877: (fix_trunc*): Use trunc insn, not cvt. 4878: (cmpfs + bgt peephole): Operands were backwards in template. 4879: 4880: * gcc.c (main): Record in explicit_link_files which input files go 4881: straight to linker. If linker is not run, complain about them. 4882: (execute): Increment execution_count, to show we were called. 4883: 4884: * gcc.c (validate_all_switches): Check ASM_SPEC, CC1_SPEC, etc., 4885: so we find all switches that could be valid. 4886: 4887: * varasm.c (output_constructor): Position fields according to 4888: DECL_OFFSET; don't try to compute alignment here. 4889: 4890: * tm-sparc.h (PCC_BITFIELD_TYPE_MATTERS): Define this. 4891: 4892: * reload1.c (emit_reload_insns): Fix stupid error in last change. 4893: 4894: * c-decl.c (duplicate_decls): If redeclaring builtin, give error is 4895: type mismatched; otherwise warn only if -W. 4896: 4897: * jump.c (jump_back_p): Verify that PREV is not null. 4898: 4899: Mon Jun 26 13:50:28 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4900: 4901: * reload1.c (choose_reload_regs): If number of reloads needing 4902: spill regs exceeds n_spills, don't inherit any reloads. 4903: 4904: * sdbout.c (sdbout_record_type_name): Dumb error in last change. 4905: 4906: * reload1.c (emit_reload_insns): Extend last change: don't use 4907: equiv reg if reg is in use at same stage of insn, either. 4908: 4909: Sun Jun 25 00:00:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4910: 4911: * reload1.c (emit_reload_insns): Don't use an equivalent register 4912: to reload from, if that register was used for reloading 4913: earlier in this insn. 4914: 4915: * sdbout.c (sdbout_record_type_name): Handle a TYPE_DECL as the 4916: type name. Get rid of TYPE_TAG_NAME as separate macro. 4917: 4918: * optabs.c (emit_cmp_insn): Args to memcmp are addresses, not blocks. 4919: 4920: * reload1.c (choose_reload_regs): Typo, clearing reload_override_in. 4921: 4922: * tm-i386.h: Add register classes SIREG and DIREG. 4923: (enum reg_class, REG_CLASS_NAMES): Define class names. 4924: (REGNO_REG_CLASS, REG_CLASS_CONTENTS): Define their contents. 4925: (REG_CLASS_FROM_LETTER): Define letters `S' and `D'. 4926: 4927: Sat Jun 24 00:17:16 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4928: 4929: * c-decl.c (keep_next_level): New function. 4930: (struct binding): New slot `keep' says make a LET_STMT for this level. 4931: (pushlevel, poplevel): Implement that. 4932: * c-parse.y (stmt exprs): Call keep_next_level. 4933: 4934: * sdbout.c (plain_type_1): Handle REFERENCE_TYPE, METHOD_TYPE. 4935: Correct for size less than 0. 4936: (plain_type): Correct for size less than 0. 4937: 4938: * global-alloc.c (mark_reg_set): For CLOBBERs, call mark_reg_clobber. 4939: 4940: * reload1.c (order_regs_for_reload): Among regs explicitly used, 4941: prefer those used less often. 4942: 4943: * reload1.c (choose_reload_regs): If we find alternate place 4944: to reload from, verify it after all reloads assigned. 4945: New variable reload_override_in used for this. 4946: 4947: * combine.c (record_dead_and_set_regs): Look inside SIGN_EXTEND and 4948: STRICT_LOW_PART for place being set. 4949: (subst): When using reg_last_set to find what a register contains, 4950: verify the entire register was set. 4951: 4952: * toplev.c (rest_of_decl_compilation): Report invalid register name. 4953: 4954: Fri Jun 23 13:19:41 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4955: 4956: * tm-hp9k3bsd.h: New file. 4957: * config.gcc: New target hp9k320-bsd. 4958: 4959: * gcc.c (record_temp_file): Don't add a name twice to one queue. 4960: 4961: * stmt.c (expand_expr_stmt): Call warn_if_unused_value. 4962: (warn_if_unused_value): Code extracted from expand_expr_stmt. 4963: Recurse to handle COMPOUND_EXPR. Don't warn about COND_EXPR. 4964: 4965: * tm-encore.h (DBX_REGISTER_NUMBER): Override tm-ns32k.h; 4966: return operand unchanged. 4967: 4968: * reload1.c (emit_reload_insns): Don't use recog_memoized 4969: on an asm. 4970: 4971: * jump.c (delete_insn): Update last_insn. 4972: * emit-rtl.c (set_last_insn): New function. 4973: 4974: * reload1.c (reload): Put a note at end of insn chain. 4975: 4976: * gcc.c: Put cpp output of .S file into a .s file. 4977: 4978: Thu Jun 22 22:14:35 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4979: 4980: * optabs.c (expand_binop, expand_unop): Emit queue before library call. 4981: It is done within emit_library_call, and cse screws up if there is a 4982: queued insn in the middle of a cse-able sequence. 4983: 4984: Wed Jun 21 11:57:22 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4985: 4986: * tm-mips.h (CPP_PREDEFINES): Define -Dunix. 4987: 4988: * reload.c (combine_reloads): Combined reload needed for entire insn. 4989: 4990: * c-parse.y (yylex): Braino checking for out-of-range escape seq. 4991: 4992: * stor-layout.c (layout_union): Handle PCC_BITFIELD_TYPE_MATTERS. 4993: (layout_struct): Don't let a bitfield cross the storage unit 4994: of its type, if PCC_BITFIELD_TYPE_MATTERS. 4995: 4996: Tue Jun 20 00:03:48 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 4997: 4998: * varasm.c (get_or_assign_label): Let CONSTANT_ALIGNMENT specify 4999: alignment of the constant. 5000: CONSTANT_ALIGNMENT is a new optional macro. 5001: 5002: * varasm.c (force_const_mem, get_or_assign_label): 5003: Make buffer bigger. 5004: 5005: * toplev.c (print_target_switch_defaults): New fn called for -version. 5006: 5007: * toplev.c (compile_file): Detect error closing output file. 5008: 5009: * stor-layout.c (fixup_unsigned_type): Don't shift by 32. 5010: 5011: * stmt.c (emit_case_nodes): Pass UNSIGNEDP along to emit_cmp_insn. 5012: 5013: * stmt.c (expand_end_case): If index is narrow and cannot be 5014: directly compared, widen it just once. 5015: 5016: * c-parse.y (yylex): Support multi-character constants. 5017: Thorough rewrite of char constant parsing. 5018: 5019: * c-decl.c (pushdecl): Replace local extern function decl with 5020: previous global decl if latter is inline, or builtin, or has 5021: more arg type info. 5022: 5023: * hard-params.c (xmalloc): Define it, for alloca.c. 5024: 5025: * tm-hp9k320.h (STANDARD_STARTFILE_PREFIX): Override -D in Makefile. 5026: 5027: * expmed.c (store_fixed_bit_field): Avoid shift by 32. 5028: 5029: * stmt.c (expand_function_start): Emit a NOTE_INSN_FUNCTION_BEG. 5030: * final.c (final_scan_insn): For SDB output, do the 5031: sdbout_begin_function at that note. 5032: 5033: * reload1.c (choose_reload_regs): If a reload reg inherits 5034: from a previous reload, verify safety after all reloads are assigned. 5035: 5036: * c-decl.c (build_enumerator): Remove no-op casts. 5037: 5038: * reload.c (find_reloads): If an earlyclobber operand matches 5039: an input operand it is constrained to match, that's not a problem. 5040: If an earlyclobber operand loses due to earlyclobber, its matching 5041: input operand also loses. 5042: 5043: * reload1.c (choose_reload_regs): Don't use result of find_equiv_reg 5044: if that reg is used for reloading in an earlier part of the insn. 5045: 5046: * cse.c (fold_rtx): If WIDTH is 0, don't try sign-extending ARG0, ARG1. 5047: 5048: * Makefile (hard-params*): Use $(OLDCC). 5049: 5050: * c-typeck.c (c_alignof): No warning for -pedantic. 5051: 5052: * c-parse.y (readescape): Don't have both error and warning 5053: on one hex escape. 5054: 5055: * c-parse.y (yylex): Treat vertical tab as white space. 5056: (skip_white_space): Likewise. 5057: 5058: * c-parse.y (datadef): If pedantic, warn for stray semicolon. 5059: 5060: * expr.c (expand_increment): Pass accurate unsignedp arg 5061: to expand_binary_op. 5062: 5063: Mon Jun 19 13:36:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5064: 5065: * config.gcc (news, news-gas): Use xm-m68k.h. 5066: 5067: * final.c (output_asm_label, output_addr_const): Make buf bigger. 5068: 5069: * cexp.y (main): Handle EOF on input. 5070: (lookup, warning): Provide as a dummy. 5071: (is_idchar, is_idstart): Declare as unsigned char. 5072: 5073: * cexp.y (parse_escape): Use TARGET_NEWLINE, etc., as values. 5074: Support hex escapes. Warn if octal or hex escape doesn't fit in char. 5075: 5076: * cexp.y (yylex): Sign-extend char constants if appropriate. 5077: 5078: * genemit.c: Make insn-emit.c include insn-flags.h. 5079: 5080: * gcc.c: Move record_temp_file past page which declares vflag. 5081: 5082: * integrate.c (expand_inline_function): If copying an insn with 5083: a REG_EQUIV note, make a similar note. 5084: 5085: * Allow reload regs to be reused for parts of an insn. 5086: * reload.c (find_reloads): Classify each reload for which part 5087: of the insn it is needed in. 5088: (find_reloads_address, etc.): Pass down the overall operand 5089: that this is part of, to record it on address reloads. 5090: (push_reload): Record that for each reload. 5091: * reload1.c (reload): Compute maximum needs of any part of the insn. 5092: (choose_reload_regs): Part of old choose_reload_targets. 5093: Hairier criteria for inheriting reloads and for which ones are 5094: available for the next insn to inherit. 5095: (emit_reload_insns): The rest of old choose_reload_targets. 5096: Emit reload insns in proper order according to where they are needed. 5097: * Record `reload_reg_in_use' separately for each part of the insn. 5098: (mark_reload_reg_in_use): New function. 5099: (reload_reg_free_p, reload_reg_free_before_p): New functions. 5100: (reload_reg_reaches_end_p): New function. 5101: 5102: * expr.c (expand_expr): Emit queue in X+=(Y?Z:A) optimization. 5103: 5104: * rtlanal.c (rtx_equal_p): Check vectors have same length. 5105: 5106: Sun Jun 18 12:16:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5107: 5108: * stmt.c (expand_expr_stmt): Maybe warn if top-level operator 5109: makes an unused result. 5110: 5111: * gcc.c (delete_temp_files, delete_failure_queue): 5112: If -v, report failures in unlink. 5113: 5114: * Makefile (includes): New target to run fixincludes. 5115: (install): Swap arms of if-statement. 5116: 5117: Sat Jun 17 12:41:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5118: 5119: * stor-layout.c (layout_union): Arg to error_with_decl was missing. 5120: 5121: * ns32k.md (movsf): Use CONST_DOUBLE_LOW to extract from CONST_DOUBLE. 5122: 5123: * loop.c (consec_sets_giv): Change type of force, force2. 5124: 5125: * combine.c (dump*): Declare arg as FILE*. 5126: 5127: * Makefile (clean): Delete hard-params. 5128: 5129: * flow.c (life_analysis): Use a special obstack for the temporary 5130: regsets. 5131: 5132: * m68k.md (clr pattern): On 68000, use moveq to clear data reg. 5133: 5134: * gvarargs.h: File varargs.h renamed. 5135: The old name conflicted with <varargs.h>, now that -I. is used. 5136: * tree.c, expr.c, emit-rtl.c: Change #include commands. 5137: * Makefile (install): Install gvarargs.h under name varargs.h. 5138: * gcc.c: Include gvarargs.h, not system's varargs.h. 5139: 5140: * Makefile: Use -I$(srcdir) before -I$(srcdir)/config. 5141: * config/tm.h: Deleted; didn't work if config was a symlink. 5142: 5143: * cse.c (cse_insn): Record location of inner_dest 5144: so it can be replaced properly if a new MEM rtx is made. 5145: 5146: Fri Jun 16 14:17:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5147: 5148: * make-cc1.com: Compile and link rtlanal.c. 5149: 5150: * c-typeck.c (build_array_ref): Call fold on the array ref. 5151: * fold-const.c (fold): Simplify array ref of string constant. 5152: 5153: * stmt.c (expand_asm_operands): Fix error message. 5154: 5155: * Makefile (gnulib2): Remove old members before compiling new. 5156: Fix stupid errors. 5157: * gnulib2.c (__cmpdi2, __ucmpdi2): Typos in names of interface unions. 5158: 5159: * genconfig.c (main): Don't write MAX_CLOBBERS_PER_INSN; obsolete. 5160: Add 3 to MAX_RECOG_OPERANDS. 5161: 5162: * cse.c (fold_cc0): Extra arg specifies machine mode. 5163: Callers changed. 5164: (cse_insn): Record original mode of each src for this purpose. 5165: 5166: Thu Jun 15 12:35:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5167: 5168: * gnulib2.c (_cmpdi2, _ucmpdi2): Moved here from gnulib.c. 5169: Use long long for argument type. 5170: 5171: * rtlanal.c (may_trap_p): Moved here from loop.c. 5172: Return 1 for division by explicit zero. 5173: 5174: * reload1.c (eliminate_frame_pointer, alter_frame_pointer_addresses): 5175: Rerecognize insns which are changed by this. 5176: 5177: * i386.md (call_value): Don't return prematurely. 5178: 5179: * alliant.md (movqi): Handle moving Aregs to mem and vice versa. 5180: (bftst -> btst): Restrict to bitpos less than 8 5181: so operand may be non-offsettable. 5182: (nop): New pattern. 5183: (return): Was disabled; now deleted. 5184: * tm-alliant.h (PRINT_OPERAND_PUNCT_VALID_P): Define it. 5185: * out-alliant.c (output_btst): Same change as in out-m68k.c 5186: 5187: * alliant.md, out-alliant.c: Offsetable -> offsettable. 5188: 5189: * c-parse.y (rule for stmt_exprs): Make the LET_STMT volatile. 5190: 5191: * c-decl.c (duplicate_decls): Don't save inline function data 5192: from previous definition if a new *definition* is seen. 5193: 5194: * integrate.c (access_parm_map): Handle subregs and constants. 5195: 5196: * stmt.c (expand_return): Don't crash if DECL_RTL (DECL_RESULT()) is 0. 5197: 5198: * tm-tahoe.h (LONGJMP_RESTORE_FROM_STACK): Define it. 5199: 5200: * tm-mips.h (CONSTANT_P): Deleted; duplicates rtl.h. 5201: 5202: Fri Jun 9 01:39:30 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5203: 5204: * Makefile (float.h): Avoid using $(MAKE). 5205: 5206: * Don't cram two things into STMT_BODY of a LET_STMT. 5207: * tree.h (struct bind_stmt): New field, subblocks. 5208: (STMT_SUBBLOCKS): New macro to access it. 5209: * print-tree.c (walk): Print new field. 5210: * tree.c (build_let_stmt): Store the old BODY arg into subblocks field. 5211: * c-parse.y (stmt expr rule): Put rtl expr alone into body field. 5212: * dbxout.c (dbxout_block): Recurse on subblocks, not body. 5213: * sdbout.c, symout.c: Likewise. 5214: * integrate.c (copy_decl_tree): Likewise. 5215: * stmt.c (setjmp_protect, uninitialized_vars_warning): Likewise. 5216: * expr.c (expand_expr): For LET_STMT, simply use its body. 5217: 5218: * machmode.def: Add sixth arg to each entry. 5219: * tree.h, rtl.h, rtl.c: Add arg to DEF_MACHMODE. 5220: * rtl.h (GET_WIDER_MODE): New macro; table in rtl.c. 5221: * expr.c (expand_expr): Use that for widening multiply. 5222: 5223: * stmt.c (fixup_var_refs_1): When converting MEM to QImode for 5224: bit field, adjust the address if possible to make bitpos 5225: less than 8. 5226: * m68k.md (bftst -> btst): Restrict to bitpos less than 8 5227: so operand may be non-offsettable. 5228: 5229: * cccp.c (do_line): Accept and pass on 3rd arg for enter or leave file. 5230: 5231: * out-m68k.c (output_btst): Handle COUNT bigger than size of unit. 5232: 5233: * cccp.c (CHECK_DEPTH): Macro to detect instack overflow. 5234: (finclude, macroexpand, expand_to_temp_buffer): Use that. 5235: 5236: * cccp.c (rescan): Don't check for disabled macro if traditional. 5237: (macroexpand): Don't disable macro if traditional. 5238: 5239: * sdbout.c (sdbout_one_type): Take out last change; assembler barfs. 5240: 5241: * c-parse.y (maybe_attribute): Eliminate #-syntaxes. 5242: Make ATTRIBUTE the name for __attribute. 5243: 5244: * c-parse.gperf: Add __attribute{,__} and __signed{,__}. 5245: * c-parse.y: Install results of that change. 5246: 5247: * Fix bug in sizeof ({...}). 5248: * c-decl.c (poplevel): Set TREE_USED. Return the LET_STMT. 5249: * c-parse.y (stmt-expr rule): Put the RTL_EXPR in the LET_STMT, 5250: clear its TREE_USED, and use it as the result. 5251: * expr.c (expand_expr): Allow LET_STMT as an expr. 5252: Set its TREE_USED and expand the TREE_VALUE of its body. 5253: * dbxout.c (dbxout_block): Ignore LET_STMT if TREE_USED not set. 5254: * sdbout.c, symout.c: Likewise. 5255: 5256: Thu Jun 8 00:06:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5257: 5258: * c-parse.y (yylex): Extend ERANGE-inhibitor for 0.0 5259: to 0.0e0 as well. 5260: 5261: * flow.c (life_analysis): Prevent allocation of regs live at setjmp 5262: on certain machines. Controlled by LONGJMP_RESTORE_FROM_STACK. 5263: Sets reg_live_length to -1. 5264: * local-alloc.c (block_alloc): Be prepared for that. 5265: * tm-vax.h (LONGJMP_RESTORE_FROM_STACK): Define it. 5266: 5267: * gnulib2.c (all interfaces): Declare args and values as long long, 5268: and split them using unions. 5269: 5270: * loop.c (check_dbra_loop): Don't reverse loop if there are two 5271: refs to varying addresses. Consider foo[i] = foo[i-1]. 5272: (count_nonfixed_refs): Subroutine to count them. 5273: 5274: * cexp.y: Distinguish signed and unsigned. 5275: An integer value is now represented by a struct. 5276: All rules for arithmetic changed. 5277: (yylex): Adapt to change in yylval data type. 5278: 5279: * limits.h (LONG_MIN): Make sure it's a signed long. 5280: 5281: * sdbout.c (sdbout_one_type): Output types of fields first, 5282: if they are structs. Don't go through pointers. 5283: (sdbout_field_types): Subroutine for that 5284: 5285: Wed Jun 7 13:00:44 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5286: 5287: * fixincludes: Switch to /usr/include before doing vuid_event.h. 5288: Use $2 as output directory for sed. 5289: 5290: * tm-i386.h (FUNCTION_PROFILER): Put counter address in %edx. 5291: * tm-i386v.h (LIB_SPEC): Use -L/usr/lib/libp if profiling. 5292: 5293: * expr.c (expand_increment): Typo testing for BImode component. 5294: 5295: * convex changes from csmith: 5296: * tm-convex.h: use EXTRA_SECTIONS to do .bss. 5297: out-convex.c: set_section, align_section are now unused. 5298: * convex.md: add pattern to pick an A-reg destination for sums 5299: whose source involves a dedicated A reg (frame or arg pointer) 5300: * convex.md: immediate and, or, xor instructions store a 32-bit 5301: result. Fix instructions that assumed it was 64. 5302: 5303: * mips.md (probe): New pattern to create stack space. 5304: 5305: * Makefile (float.h): Ignore errors from hard-params. 5306: Specify ./ to run it. 5307: 5308: Tue Jun 6 15:45:27 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5309: 5310: * out-tahoe.c: Rename `offsetable' to `offsettable'. 5311: 5312: * tahoe.md (nop): New pattern. 5313: 5314: * i386.md (umul...): Constrain operand 1 as `0', not `a'. 5315: `a' sometimes wanted two a-regs for operands 0 and 1. 5316: 5317: * cccp.c: Forward-declare some structs. 5318: 5319: * c-decl.c: Rearrange fcn fwd decls and struct decls. 5320: 5321: * expr.c: Move some fcn fwd decls after structs their args use. 5322: * genpeep.c, genextract.c: Likewise. 5323: 5324: * loop.c: Forward-declare some structs. 5325: 5326: * stmt.c: Move decls of structs before those of static functions. 5327: 5328: * loop.c (strength_reduce): Delete extra arg to check_eliminate_biv. 5329: 5330: * integrate.c (expand_inline_function): Supply missing arg 5331: to convert_to_mode. 5332: 5333: * gcc.c (handle_braces): Supply missing arg to do_spec_1. 5334: 5335: * explow.c (lookup_static_chain): Accept a context arg. 5336: 5337: * expmed.c (store_split_bit_field): Pass ALIGN arg 5338: to extract_fixed_bit_field. 5339: 5340: * expr.c (expand_assignment): Convert TYPE_ALIGN to bytes. 5341: (store_constructor, expand_expr): Likewise. 5342: 5343: * m68k.h: NO_ADDSUB_Q conditionals turn off all addq, subq insns. 5344: (Fully supported only with MOTOROLA and HPUX_ASM flags.) 5345: 5346: * jump.c (do_cross_jump): Don't die if LABEL is 0. 5347: 5348: * tm-mips.h (PRINT_OPERAND_PUNCT_VALID_P): New macro. 5349: * tm-iris.h: New file. Unsplit lines accidentally split. 5350: 5351: Mon Jun 5 15:39:30 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5352: 5353: * integrate.c (output_inline_function): Call init_function_start, 5354: not expand_function_start. 5355: * emit-rtl.c (restore_reg_data): No need to init reg_rtx_no. 5356: 5357: * stmt.c (init_function_start): Set current_function_returns_struct. 5358: 5359: * rtlanal.c (reg_set_between_p): New fn analogous to reg_used_between_p 5360: * loop.c (strength_reduce): Reject biv initial value which is altered 5361: subsequently before actual loop start. 5362: 5363: * rtlanal.c: New file split out from rtl.c. 5364: Has things not used in the gen files. 5365: 5366: * loop.c (strength_reduce): Reject biv initial value in a hard reg 5367: clobbered by an intervening function call. 5368: 5369: * tree.c (get_identifier): New flag needed to enable id-clash warnings. 5370: (start_identifier_warnings): Set that flag. 5371: * c-decl.c (init_decl_processing): Call that, after making built-ins. 5372: 5373: Sat Jun 3 14:41:34 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5374: 5375: * final.c (final_scan_insn): No basic block profiling at jump tables. 5376: 5377: * stmt.c (expand_decl): Probe the stack to make pages exist. 5378: * expr.c (expand_builtin): Likewise, for alloca. 5379: 5380: * move-if-change: Specify /bin/sh. 5381: 5382: * tm-ns32k.h (INDIRECTABLE_2_ADDRESS_P): Don't accept PLUS 5383: with constant operands but not inside CONST. 5384: 5385: * integrate.c (output_inline_function, save_for_inline): 5386: Save stack_slot_list, and restore it for actual output. 5387: * emit-rtl.c (gen_inline_header_rtx): New arg for this. 5388: 5389: * emit-rtl.c (restore_reg_data): Initialize reg_rtx_no. 5390: (restore_reg_data_1): Handle reg_rtx_no jumping past 5391: reg_pointer_flag_length. 5392: 5393: * reload1.c (alter_reg): Do nothing if regno_reg_rtx has 0. 5394: 5395: * integrate.c (copy_rtx_and_substitute): Typos for stack parm 5396: addresses in PLUS case. 5397: 5398: * genoutput.c (gen_insn, gen_peephole): Make output_n fns static. 5399: (output_prologue): Use new macro DEFAULT_MACHINE_INFO if defined. 5400: 5401: * tree.h (enum machine_mode): Define MAX_MACHINE_MODE as in rtl.h. 5402: 5403: Fri Jun 2 15:40:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5404: 5405: * cccp.c (do_include): A file included via a system header file 5406: counts as a system header file for -M. 5407: 5408: * gnulib2.c: Support boolean ops and shifts. 5409: 5410: * loop.c (emit_iv_inc): Use emit_iv_init_code. 5411: 5412: * rtl.h (CONST0_RTX): Don't try to cast abort. 5413: 5414: * tm-news.h (PRINT_OPERAND_ADDRESS): Fix typo `reg_name'. 5415: Delete two garbage lines. 5416: 5417: * loop.c (eliminate_biv): Use emit_iv_init_code to compute comparison 5418: value. If value is constant, recognize the insn, and if that fails, 5419: put the value in a register. 5420: 5421: Thu Jun 1 16:56:39 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5422: 5423: * print-tree.c (dump): Don't die if rtx components are null. 5424: 5425: * expmed.c (expand_mult_add): New fn to do A * X + B. 5426: (make_tree): New subroutine. 5427: * loop.c (emit_iv_init_code): Use that. Much simpler now. 5428: 5429: Tue May 30 17:20:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5430: 5431: * fold-const.c (fold): Use TREE_SET_CODE to store in tree codes. 5432: 5433: * tree.h (struct tree_common): Make `code' an unsigned int. 5434: (TREE_CODE, TREE_SET_CODE): Put in casts. 5435: 5436: * optabs.c (emit_cmp_insn): Supply all the args in recursive calls. 5437: 5438: * toplev.c (report_error_function): Fix typo; METHOD_TYPE missing. 5439: 5440: * fixincludes: Add code to make internal non-directory links. 5441: 5442: Mon May 29 21:36:28 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5443: 5444: * gcc.c (find_exec_file): Try both with and without machine_suffix. 5445: (find_file): Use machine_suffix here too. 5446: 5447: Sat May 27 00:02:26 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5448: 5449: * reload.c (decompose): OFFSET wasn't initialized. 5450: 5451: * cse.c (cse_main): Assign monotonic cuids. 5452: (make_regs_eqv, CHEAPER): Use cuids, not uids. 5453: (cse_end_of_basic_block): Return a cuid, not a uid. 5454: 5455: * expr.c (expand_builtin): For BUILTIN_SAVEREGS, range of regs 5456: moved included one extra previous insn. 5457: 5458: * emit-rtl.c (emit_line_note): Don't check -g here. 5459: (emit_note): For line number when no -g, increment cur_insn_uid anyway. 5460: * stmt.c (expand_start_case): Always output a NOTE_INSN_DELETED. 5461: 5462: * loop.c (loop_optimize): Don't count line-number NOTEs for luids. 5463: Prevents -g from affecting optimization decisions. 5464: 5465: Fri May 26 17:31:15 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5466: 5467: * local-alloc.c (block_alloc): Don't count notes in insn_number. 5468: Prevents -g from affecting order of allocation. 5469: 5470: Thu May 25 14:12:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5471: 5472: * local-alloc.c (block_alloc): Clear full length of regs_live_at. 5473: 5474: * ns32k.md (cmpsi): Make this the first cmp pattern. 5475: 5476: * jump.c (do_cross_jump): Skip NOTEs while checking for existing label. 5477: 5478: * cse.c (cse_insn): When no-oping a jump, decrement use count of label. 5479: (cse_basic_block): If label use count is 0, go past it. 5480: 5481: * integrate.c (access_parm_map): New fn, broken out of 5482: copy_rtx_and_substitute, handles case of mem ref to stack arg. 5483: (copy_rtx_and_substitute): Call it. 5484: Also use it for address of a stack arg. 5485: 5486: * gen*.c (fatal): Declare 1st arg as string. 5487: 5488: Wed May 24 00:13:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5489: 5490: * optabs.c (init_optabs): Handle movdi and movdf insns. 5491: 5492: * final.c (end_final): Realign locn ctr after outputting string. 5493: 5494: * tm-sparc.h (LINK_SPEC): Link bb_link.o before standard lib. 5495: 5496: * tm-sun386i.h (LINK_SPEC): Accept and ignore -sun386. 5497: 5498: * gcc.c (find_exec_file): Use machine_suffix. 5499: (process_command): Set that for -b option. 5500: 5501: * integrate.c (function_cannot_inline_p): No size limit 5502: for functions declared inline. 5503: 5504: * loop.c (skip_consec_insns): New fn, skip several insns or libcalls. 5505: (force_movables): New fn, part of scan_loop broken out. 5506: (ignore_some_movables): New fn, ignore a movable whose insn 5507: is within another movable's libcall. 5508: (scan_loop): Call those three. 5509: Don't handle m->consec for zero-extend movables, since always 0. 5510: 5511: Tue May 23 12:58:24 1989 Joe Weening (weening at gang-of-four.stanford.edu) 5512: 5513: * config/alliant.md: 5514: Removed operand classes 'x', 'y', 'G', 'H'. 5515: Added "%." to many opcodes to simplify comparison with m68k.md. 5516: Changed TARGET_68881 to TARGET_CE. 5517: Changed floating-point insns to better describe the Alliant CE. 5518: Most args to floating-point insns are now nonimmediate_operand. 5519: Removed special insns for pushing doublewords onto stack. 5520: Added non-CE versions of movsf and movdf to avoid using FP 5521: registers in this case. 5522: (float*i*f2): Don't allow immediate ops. 5523: (sne): Fix typo, fsne => fsneq. 5524: (call, call_value): Changed to always pop args from stack 5525: upon return; this gives better code than before and conforms 5526: to Alliant calling standard. 5527: Incorporated some recent changes to m68k.md. 5528: 5529: * config/out-alliant.c: 5530: (regno_reg_class): Removed FPA reg classes. 5531: (output_move_const_double): Function not needed, removed. 5532: 5533: * config/tm-alliant.h: 5534: Removed FPA registers and reg classes. 5535: Target flags: changed TARGET_68881 to TARGET_CE, removed 5536: TARGET_RTD, TARGET_REGPARM, TARGET_FPA. 5537: Removed TARGET_CE test in several places since we need to 5538: use FP regs even for non-CE programs. 5539: (TARGET_VERSION, CPP_SPEC): Define for Alliant. 5540: (CONDITIONAL_REGISTER_USAGE): Removed, not needed. 5541: (FRAME_POINTER_REQUIRED): Defined. 5542: (RETURN_POPS_ARGS): Defined. 5543: (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): 5544: Use fp0 to return floating-point values. 5545: (FUNCTION_ARG): Remove TARGET_REGPARM code. 5546: (FUNCTION_ARG_PARTIAL_NREGS): Always 0. 5547: (FUNCTION_PROFILER): Define for Alliant. 5548: (FUNCTION_EPILOGUE): Remove use of rtd instruction. 5549: Renamed CC_IN_68881 to CC_IN_FP. 5550: (NOTICE_UPDATE_CC): Incorporate changes that were made 5551: in tm-m68k.h. 5552: 5553: * config/xm-alliant.h (LINK_SPEC): Pass -X to linker. 5554: 5555: Tue May 23 12:58:24 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5556: 5557: * sdbout.c: Don't include c-tree.h. 5558: 5559: * tree.c (build_index_type): Use sizetype for min and max values. 5560: Convert maxval rather than clobbering it. 5561: 5562: * tm-hp9k320.h: Finish unterminated comment. 5563: 5564: * sdbout.c (sdbout_parms): Use gen_fake_label for anonymous parm. 5565: 5566: Sun May 21 12:58:06 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5567: 5568: * stmt.c (aggregate_value_p): New fn says whether expression is a type 5569: that functions cannot return as a scalar. 5570: (assign_parms, expand_function_start): Use that. 5571: * expr.c (expand_call): Likewise. 5572: 5573: * gcc.c (delete_failure_queue): New subroutine. 5574: (delete_temp_files): No longer delete the failure queue. 5575: (main): Delete failure queue after each failing compilation. 5576: 5577: Sat May 20 13:16:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5578: 5579: * varasm.c (force_const_mem): New optional macro SELECT_RTX_SECTION. 5580: 5581: * mips.md: Change %u0 to %:. 5582: (movsi): Add constraint alternative accepting address arg. 5583: 5584: * fold-const.c (mul_double): Special case for 2nd arg 2, 4, 8. 5585: (combine): Special case shortcuts for plus, minus, mult, div. 5586: 5587: * stmt.c (expand_function_start): Simplify hairy statement for 3B1. 5588: * expr.c (expand_call): Likewise. 5589: 5590: * math-68881.h: New file. 5591: 5592: * m68k.md (movqi): Handle moving aregs to mem and vice versa. 5593: 5594: * dbxout.c (dbxout_type): Don't test use_gdb_dbx_extensions 5595: in cases that occur in C. 5596: 5597: * stmt.c (expand_function_{start,end}): Make DECL_RESULT's rtl 0 5598: when function returns no value. 5599: 5600: * tree.c (build_decl): Initialize DECL_PRINT_NAME, DECL_ASSEMBLER_NAME. 5601: 5602: * c-decl.c (store_parm_decls): Call init_function_start. 5603: 5604: Thu May 18 00:41:37 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5605: 5606: * stmt.c (expand_null_return_1): New arg USE_GOTO says jump to 5607: return_label even if could otherwise use a return insn. 5608: Make a return_label if we need one and don't have one already. 5609: If have parm cleanups, always jump to cleanup_label. 5610: (expand_null_return): Pass 1 for USE_GOTO if cleanups pending. 5611: (expand_return): Set LAST_INSN if have local cleanups or parm cleanups. 5612: Use that if jumping to tail-recursion label. 5613: Optimization for returning a comparison is safe for local cleanups 5614: but don't do it if there are parm cleanups. 5615: Calling expand_null_return_1, pass 1 for USE_GOTO if local cleanups. 5616: (this_contour_has_cleanups_p): New function. 5617: 5618: * stmt.c (init_function_start): New function, beginning of 5619: expand_function_start broken out. 5620: Use DECL_PRINT_NAME to get function's name. 5621: (expand_function_start): Now two args, function and PARMS_HAVE_CLEANUPS 5622: Compute RETURN_LABEL sooner; make one if parm cleanups. 5623: If parms have cleanups, put scalar return value in pseudo-reg. 5624: Don't mark that pseudo with REG_FUNCTION_VALUE_P. 5625: (expand_function_end): Simplify decisions about output of return_label 5626: and return insn. 5627: If DECL_RESULT is pseudo-reg, copy it to real return reg. 5628: 5629: * stmt.c (expand_function_end): Handle ordinary struct values 5630: like pcc, but only if unoptimized. 5631: (expand_function_start): Make a return_label for ordinary struct value. 5632: 5633: * stor-layout.c (layout_type): Handle METHOD_TYPE like FUNCTION_TYPE. 5634: (layout_decl): Allow TYPE_DECL. 5635: 5636: * stor-layout.c (layout_basetypes): Code for basetypes broken 5637: out of layout_record. Sets the type size tentatively. 5638: (layout_record): Start with that tentative size. 5639: Also, don't do anything with CONST_DECL members. 5640: 5641: * stor-layout.c (layout_union): Simpler error report for static memb. 5642: 5643: * reload1.c (eliminate_frame_pointer): Reduce PUSH_ROUNDING 5644: conditional to apply only to push instructions. 5645: 5646: * expr.c (expand_call): Fix stupid errors handling MAX_PARM_BOUNDARY. 5647: * stmt.c (assign_parms): Likewise. 5648: 5649: * toplev.c (announce_function, report_error_function): 5650: (error_with_decl, warning_with_decl): Use DECL_PRINT_NAME. 5651: 5652: * toplev.c (compile_file): Subtract integration_time from parse_time. 5653: 5654: * toplev.c (compile_file): Don't output read-only static variables 5655: at end of compilation if address was not used. 5656: 5657: * toplev.c (rest_of_compilation): Handle flag_syntax_only. 5658: 5659: * toplev.c (main): Handle -g0 and -G0 options. 5660: For -g and -G, set use_gdb_dbx_extensions. 5661: 5662: * toplev.c (main): Set `progname'. 5663: (pfatal_with_name, fatal_io_error, {error,warning}_with_file_and_line): 5664: (sorry): Print value of `progname', not "cc1". 5665: 5666: * tree.def: Delete FRIEND_DECL. Add PUSH_EXPR and POP_EXPR. 5667: 5668: * tree.c (simple_cst_equal): Handle INDIRECT_REF. 5669: 5670: * tree.c (lvalue_p): Handle METHOD_TYPE. Handle NEW_EXPR. 5671: 5672: * tree.c (copy_list): New function. 5673: 5674: * tree.h (struct tree_decl): New fields print_name and assembler_name. 5675: (DECL_PRINT_NAME, DECL_ASSEMBLER_NAME): New accessors. 5676: 5677: * c-decl.c (LONG_DOUBLE_TYPE_SIZE): New compilation parameter. 5678: 5679: Wed May 17 22:07:17 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) 5680: 5681: * dbranch.c (emit_delay_sequence): Reset insn code to -1 when 5682: turning insn into a sequence so that it won't think that it matches 5683: something in the md file. 5684: 5685: * dbranch.c (insn_eligible_p): Call refers_to_regno_p with a 5686: non-zero range. 5687: 5688: * dbranch.c (pnote): Modified to make sure instruction clobbered 5689: register is a set, rather than, say, a clobber. 5690: 5691: Wed May 17 14:01:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5692: 5693: * sdbout.c (sdbout_parms): Handle parm with no name. 5694: 5695: * loop.c (combine_movables): Test for overlap of zero-extend regs 5696: was screwed up. 5697: 5698: * c-typeck.c (c_sizeof{,_nowarn}): Convert from bytes to chars, 5699: since c defines sizeof (char) as 1. 5700: (pointer_int_sum, pointer_diff): Use c_sizeof{,_nowarn}. 5701: 5702: Tue May 16 16:27:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5703: 5704: * reload1.c (choose_reload_targets): Don't reuse regs 5705: mentioned in reload_reg_rtx. 5706: 5707: * tm-tahoe.h, tahoe.md, out-tahoe.c, xm-tahoe.h: New files. 5708: 5709: Mon May 15 16:25:12 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5710: 5711: * fixincludes: Exit with explicit status 0 at end. 5712: cd to /usr/include before cd to subtree root in case of relative link. 5713: Create dir $LIB earlier. 5714: When checking for a link, treat .. like an absolute target. 5715: 5716: * symout.c (symout_block_symbols): Give every local decl a typespec. 5717: * cexp.y (parse_number): 5718: * flow.c (life_analysis, dump_flow_info): 5719: 5720: * loop.c (consec_sets_invariant_p): Logic error accepted consec sets 5721: of which only one was invariant. 5722: 5723: * expr.c (expand_expr): Use no subtargets inside loops. 5724: * stmt.c (inside_loop): New function. 5725: 5726: Sun May 14 00:11:07 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5727: 5728: * tree.h: Declare long long types. 5729: 5730: * c-parse.y (combine_strings): Make string contents saveable. 5731: 5732: * tree.c (savealloc): New function. 5733: 5734: * m68k.md (movdi): % missing in fmove%.d. 5735: 5736: * c-parse.y (yylex): Detect overflow past 64-bits. 5737: Detect specially numbers not fitting in signed long long. 5738: 5739: Sat May 13 13:16:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5740: 5741: * reload1.c (alter_frame_pointer_addresses): Preserve volatility. 5742: 5743: * varasm.c (output_constructor): Die if BITS_PER_UNIT is too big 5744: for this function to work. 5745: 5746: * genpeep.c (match_rtx): For match_operator, match the operands, too. 5747: 5748: * varasm.c (output_constant): Use ASM_OUTPUT_DOUBLE_INT for DImode. 5749: 5750: * stor-layout.c (make_signed_type, make_unsigned_type): 5751: (fixup_unsigned_type): Use HOST_BITS_PER_INT. 5752: 5753: * stor-layout.c (layout_type): Use TFmode if appro. 5754: 5755: * optabs.c (emit_cmp_insn): Use mode sizes to check cmpstrqi, cmpstrhi. 5756: 5757: * c-typeck.c (get_floating_type): Compare MODE against modes of types. 5758: (signed_type, unsigned_type, signed_or_unsigned_type, type_for_size): 5759: Handle long long types. 5760: (digest_init): Don't assume width of `char' is BITS_PER_UNIT. 5761: 5762: * c-parse.y (yylex): For truncating chars, use width of `char' type. 5763: Allow `ll' in int constants and make long long. 5764: Also make long long if constant won't fit in an int. 5765: 5766: * c-decl.c (SHORT_TYPE_SIZE): Round up when dividing. 5767: 5768: Fri May 12 22:36:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5769: 5770: * real.h: Allow multiple inclusion. 5771: 5772: * tm-sun386i.h (DBX_REGISTER_NUMBER): Bizarre renumbering. 5773: 5774: Thu May 11 00:36:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5775: 5776: * fixincludes: Fix non-ansi declaration of sprintf in X11/Xmu.h 5777: 5778: * c-parse.y (stmt from expr): Do default conversion if useful 5779: for sake of ({...}). 5780: 5781: * sparc.md (andcc recognizer): Operand missing in subreg. 5782: 5783: Wed May 10 17:20:38 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5784: 5785: * rtl.c (read_name): Error if name is missing. 5786: (dump_and_abort): Don't print char args if -1. 5787: 5788: * i386.md (umulqihi3): Operand numbers were missing. 5789: 5790: * reload1.c (choose_reload_targets): Allow spill reg in find_equiv_reg 5791: if it's free and correct class. 5792: 5793: * cse.c (canon_hash): Handle empty strings. 5794: 5795: * cccp.c (macroexpand): Newline newline treated like real white space 5796: when stringifying. 5797: 5798: * Rename *offsetable* to *offsettable*. 5799: 5800: Tue May 9 22:54:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5801: 5802: * c-decl.c (finish_type): Layout any variants of the type. 5803: 5804: Tue May 9 12:30:28 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) 5805: 5806: * final.c (final_scan_insn, final): Added an argument to 5807: final_scan_insn to disallow peephole processing (to turn it off 5808: during delayed branch scheduling). 5809: 5810: * final.c (final_scan_insn): Made insn not matching any MD rtl a 5811: criteria for delayed branch case. Moved delayed branch case to just 5812: before real insn recognition to reduce the number of insns on which 5813: recog_memoized is called. 5814: 5815: Mon May 8 15:02:42 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5816: 5817: * fixincludes (LIB): Allow overriding. 5818: 5819: * cccp.c: Don't search /usr/include/CC by default. 5820: 5821: Mon May 8 13:09:21 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) 5822: 5823: * print-tree.c (dump): Fixed typo; IDENTIFIER ==> IDENTIFIER_NODE. 5824: 5825: Sun May 7 12:44:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5826: 5827: * print-tree.c (dump): TYPE_NAME may be IDENTIFIER or TYPE_DECL. 5828: 5829: Sat May 6 00:13:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5830: 5831: * tree.def: Define EXACT_DIV_EXPR, for when remainder known as 0. 5832: * fold-const.c (combine, fold, div_and_round_double): Handle new code. 5833: * expr.c (expand_expr): Likewise. 5834: * c-typeck.c (pointer_diff): Use EXACT_DIV_EXPR. 5835: 5836: * integrate.c (expand_inline_function): Use size of passed type 5837: for allocating stack slot with that type. 5838: 5839: * c-parse.y (maybe_attribute, attribute*): New syntax for Apollos. 5840: These tokens currently not generated. 5841: 5842: Fri May 5 18:43:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5843: 5844: * toplev.c [USG]: Undefine FLOAT for sake of sys/param.h on hpux. 5845: 5846: * optabs.c (expand_binop): If backtracking, don't delete insns made 5847: for -fforce-mem. 5848: 5849: Thu May 4 01:57:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5850: 5851: * reload.c (find_reloads): Don't compare an earlyclobber operand 5852: with itself. 5853: 5854: * reload.c (immune_p): Constants and stack slots don't overlap. 5855: 5856: * Put no-ops in front of loops and labels, 5857: to prevent confusion in the debugger. 5858: * c-parse.y (loops and labels): Call emit_nop. 5859: * stmt.c (emit_nop): New function--sometimes emit a no-op. 5860: * *.md (nop): New insn. 5861: 5862: * expr.c (expand_call): Typo in arg to FIRST_PARM_CALLER_OFFSET. 5863: 5864: Wed May 3 01:34:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5865: 5866: * loop.c (scan_loop): Scanning around end of loop 5867: should not set maybe_never. 5868: 5869: * Rename SELECT_VARIABLE_SECTION to SELECT_SECTION. 5870: * varasm.c (get_or_assign_label): Use SELECT_SECTION if defined. 5871: * varasm.c: Use EXTRA_SECTION_FUNCTIONS if defined (new macro). 5872: 5873: * mips.md: Change %u to %u0 to avoid error check. 5874: 5875: * tm-mips.h (TARGET_VERSNUM): Inc. to 1 08. 5876: (TARGET_VERSION): Change strings. 5877: (AL_DEBUG): Don't define it. 5878: (HARD_REGNO_MODE_OK): Add some casts to int. 5879: (STACK_ARGS_ADJUST): Name was misspelled. 5880: (PRINT_OPERAND_ADDRESS): Just abort for MEM, POST_INC, etc. 5881: (EXTRA_SECTIONS, SELECT_VARIABLE_SECTION, SELECTORS_EXTRA_SECTIONS, 5882: SELECT_VARIABLE_CONST_SECTION): New macros. 5883: (ASM_FILE_END): Change function name. 5884: * out-mips.c (function_arg_advance): Delete debugging printfs. 5885: (function_inarg, function_arg): Likewise. 5886: (compare_collect, compare_restore): Add some. 5887: 5888: * reload1.c (reload): Fix handling of caller_save_needed. 5889: 5890: * stmt.c (expand_function_start): Clear caller_save_needed. 5891: 5892: * stmt.c (emit_case_nodes): Some compiler has trouble with calling 5893: a function pointer. 5894: * gnulib.c: likewise. 5895: 5896: Tue May 2 15:32:25 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5897: 5898: * loop.c (combine_movables): For zero extend, 5899: do each from-mode separately. 5900: 5901: Mon May 1 00:18:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5902: 5903: * tm-apollo68.h: New file. 5904: 5905: * c-parse.y (is_reserved_word, hash): Add keywords `__asm__', etc. 5906: * c-parse.gperf: Corresponding changes. 5907: 5908: * c-parse.y (check_newline): Set main_input_filename before 5909: considering optional arguments. 5910: 5911: * final.c (final_scan_function): Return next insn to process. 5912: Usually that's the following insn; occasionally, previous compare. 5913: 5914: * c-decl.c (DOUBLE_TYPE_SIZE): Wrong value. 5915: 5916: * reload.c (decompose): Failed to return value. 5917: 5918: * Support local specified-register variables. 5919: * varasm.c (decode_reg_name): New function, cvt asmspec to regnum. 5920: (make_decl_rtl): Call that. 5921: * toplev.c (rest_of_decl_compilation): Handle local specified-register 5922: declarations. 5923: 5924: * i386.md (tstqi, trunc*qi): Constrain to `q' regs. 5925: 5926: * loop.c (scan_loop, move_movables): ->global for zero-extend register 5927: now means register is used outside range from where it is set 5928: to the following label. Non-global zero-extend regs 5929: may be entirely cleared. 5930: 5931: * loop.c (combine_movables): Loop that combines matching movables 5932: broken out from scan_loop. 5933: Now also combine non-global zero-extend registers with each other 5934: if their lifespans don't overlap. 5935: 5936: * c-typeck.c (build_unary_op, ADDR_EXPR of a COMPONENT_REF): 5937: Always convert to desired result type. 5938: 5939: Sun Apr 30 12:58:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5940: 5941: * c-decl.c (init_decl_processing): New macros parameterize int types. 5942: CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, 5943: FLOAT_TYPE_SIZE, DOUBLE_TYPE_SIZE. 5944: 5945: * fixincludes: Use sed instead of ex. No problem with split lines. 5946: 5947: * print-tree.c (dump): Print type's name, if any. 5948: 5949: * c-parse.y: Use __inline, not plain inline. 5950: 5951: * toplev.c: New option -fdelayed-branch. 5952: (compile_file): Open and close dbranch dump file. 5953: Collect and print dbranch time. 5954: (rest_of_compilation): Optionally do dbranch scheduling, 5955: only if HAVE_DELAYED_BRANCH. 5956: (main): Handle -dd. 5957: 5958: * rtl.c (copy_rtx): Handle null pointers as code `e'. 5959: 5960: * final.c (dbr_sequence_length): New function. 5961: (final_scan_insn): Most of `final' broken out. 5962: Add support for SEQUENCE insns. 5963: last_ignored_compare and new_block now top-level static. 5964: 5965: * c-parse.y (MAX_WORD_LENGTH): Long enough for __volatile. 5966: 5967: Sat Apr 29 13:03:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5968: 5969: * c-parse.y (asm statements): Output line numbers. 5970: 5971: * loop.c (emit_iv_init_code, emit_iv_inc, eliminate_biv): Copy 5972: additive term rtx's to prevent sharing between insns. 5973: 5974: * c-parse.y (check_newline): Increment input_file_stack_tick. 5975: * toplev.c (report_error_function): Describe input stack only if 5976: changed. 5977: 5978: * c-decl.c (finish_struct): Reject zero width for named field. 5979: 5980: * tm-sun3.h (CC1_SPEC): Prevent error on `-sun3'. 5981: * tm-sparc.h (CC1_SPEC): Prevent error on `-sun4'. 5982: 5983: * Makefile (cleanconfig): cleanlinks renamed; also delete gnulib. 5984: (gnulib): Delete stamp-gnulib2 since gnulib2 should be redone after. 5985: 5986: Fri Apr 28 00:38:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 5987: 5988: * config.gcc (genix): Correct xm file name. 5989: 5990: * tm-genix.h: Undefine ASM_SPEC inherited from tm-encore.h. 5991: 5992: * Makefile: Make float.h using hard-params. 5993: (clean): Delete float.h. 5994: 5995: * hard-params.c: New program. 5996: 5997: * varasm.c (assemble_variable): Use SELECT_VARIABLE_SECTION if defined. 5998: (in_section): Use EXTRA_SECTIONS if defined. 5999: 6000: * toplev.c (compile_file): Call ASM_FILE_END if defined. 6001: 6002: * gcc.c (SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Let config override. 6003: 6004: * loop.c (emit_iv_init_code): Force A to a reg if it isn't. 6005: 6006: Thu Apr 27 12:51:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6007: 6008: * tm-mips.h (ASM_START_FILES): Don't call print_options. 6009: Don't call the funny abort-functions. 6010: * out-mips.c: Delete funny debugging functions and aborts. 6011: (print_options): #if 0. 6012: (compare_restore): Test for COMPARE, not MINUS. 6013: (mips_section_get, mips_output_external, mips_asm_final): New fns. 6014: 6015: * input.h: New file with *input_filename, lineno and input_file_stack. 6016: Included in toplev.c and c-parse.y. 6017: * c-decl.c (finish_function): LINENO is now arg. 6018: * c-parse.y: Calls changed. 6019: 6020: * c-parse.y (check_newline): Handle `1' or `2' from cpp 6021: by pushing or popping input_file_stack. 6022: * toplev.c (compile_file): Push main input file on input_file_stack. 6023: (report_error_function): If in include file, print the chain 6024: of include-locations. 6025: 6026: * cccp.c (output_line_command): New arg says whether entering or 6027: leaving a file. Output `1' or `2' on #-line if so. Callers changed. 6028: 6029: * gnulib2.c: Little-endian fixes from [email protected]. 6030: 6031: * fixincludes: Wrong quoting in `echo' command. 6032: 6033: * tm-mips.h (REG_P): Duplicate defn deleted. 6034: (PRINT_OPERAND): `\' was missing. 6035: 1.1.1.15 root 6036: Wed Apr 26 02:44:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6037: 1.1.1.16 root 6038: * cccp.c (handle_directive): Preprocess even #pragma, but copy 6039: to output file afterward. 6040: (do_pragma): Use standard calling convention. 6041: (install_builtins, special_symbol): Define __INCLUDE_LEVEL__. 6042: 6043: * cccp.c (do_include): Don't forget to close file. 6044: 6045: * final.c (output_asm_insn): Use PRINT_OPERAND_PUNCT_VALID_P 6046: to validate punctuation after percent. 6047: * tm-m68k.h, tm-alliant.h, tm-ns32k.h, tm-vax.h, tm-i386.h: 6048: Define PRINT_OPERAND_PUNCT_VALID_P. 6049: 1.1.1.15 root 6050: * Version 1.35 released. 6051: 6052: * c-decl.c (grokdeclarator): Use INT_CST_LT only on int constants. 6053: 6054: Tue Apr 25 15:47:11 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6055: 6056: * reload.c (find_reloads_address_1): Always return a value. 6057: 6058: * flow.c (mark_set_1): Look inside zero_extract, sign_extract. 6059: 6060: * expr.c (emit_library_call) [STACK_ARGS_ADJUST]: 6061: Fix typo for `struct args_size'. 6062: 6063: Mon Apr 24 00:12:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6064: 6065: * flow.c (mark_set_1): Look inside strict_low_part. 6066: 6067: * c-typeck.c (decl_constant_value): Don't use var's init if volatile. 6068: 6069: * print-tree.c (dump): Don't call walk on rtx's. 6070: 6071: * integrate.c (expand_inline_function): Convert expanded arg from 6072: passed mode to nominal mode. 6073: 6074: Sun Apr 23 13:14:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6075: 6076: * fixincludes: fix _IO macros if split across two lines. 6077: Fix typo: EOF was indented. 6078: 6079: * gnulib2.c: New file with DImode library routines. 6080: * Makefile (gnulib2): Put them into gnulib. 6081: Must be explicitly requested. 6082: 6083: Fri Apr 21 13:45:45 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6084: 6085: * cccp.c (main): Don't turn on trigraphs for -Wtrigraphs or -Wall; 6086: use -trigraphs for that. 6087: 6088: * cccp.c (main): Use -trigraphs to enable trigraphs. 6089: * gcc.c: Pass -trigraphs to cpp; don't pass -T. 6090: 6091: * Makefile: Variable srcdir relates location of sources 6092: to current directory. Default is `.'. 6093: 6094: * integrate.c (expand_inline_function): When copying expanded arg, 6095: use mode it's passed in, not arg's nominal mode. 6096: 6097: * dbxout.c (dbxout_block): Print generated name with assemble_name. 6098: 6099: Thu Apr 20 12:36:09 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6100: 6101: * stdarg.h: check __sparc__ instead of sparc. 6102: 6103: Tue Apr 18 18:58:03 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6104: 6105: * tm-next.h (STARTFILE_SPEC): Define it. 6106: 6107: Mon Apr 17 19:56:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6108: 6109: * dbxout.c (dbxout_block): Use ASM_GENERATE_INTERNAL_LABEL to format 6110: the labels LBB... and LBE... 6111: 6112: Sun Apr 16 23:57:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6113: 6114: * mips.md: Change MINUS to COMPARE where appropriate. 6115: 6116: Sat Apr 15 16:11:49 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6117: 6118: * c-decl.c (finish_struct, redeclaration_error_message): 6119: Rename variables named OLD and NEW. 6120: 6121: * sparc.md (cse'd mult pattern): Handle memory operands. 6122: Optimize small integer operands. 6123: 6124: * stmt.c (expand_decl): On sparc, ensure dynamic arrays of doubles 6125: are properly aligned, despite unaligned STACK_POINTER_OFFSET. 6126: 6127: Fri Apr 14 10:59:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6128: 6129: * expr.c (expand_call): Bugs treating struct value address as param: 6130: do so only if it's supposed to be pushed; 6131: decode value of FUNCTION_ARG properly. 6132: 6133: * tm-altos3068.h (CPP_SPEC): Some braces were dropped. 6134: 6135: * gcc.c (pexecute): Print message when exec fails. 6136: (perror_exec): New fn. 6137: (perror_with_name,pfatal_with_name): Change message syntax. 6138: 6139: * tm-hp9k320.h (ASM_IDENTIFY_GCC): Define as no-op. 6140: 6141: Wed Apr 12 00:20:31 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6142: 6143: * cse.c (cse_insn): Can record constant value being stored in 6144: a bit field, if we can tell that truncation won't change it. 6145: 6146: * m68k.md (bfset, bfclr, bfchg insns): Do CC_STATUS_INIT 6147: since the cc's are set from the old contents. 6148: 6149: * gcc.c (compilers): Running `as', put -o option before input file. 6150: 6151: * gcc.c: Delete output file only if that file's compilation fails. 6152: * gcc.c (record_temp_file): Changed args: always_delete, fail_delete. 6153: (store_arg): Likewise. Callers changed. 6154: (clear_failure_queue): Called after each compilation. 6155: 6156: Tue Apr 11 01:18:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6157: 6158: * combine.c (subst): (SET (ZERO_EXTRACT) (OR (ZERO_EXTRACT) const)) 6159: optimization was sometimes invalid. 6160: 6161: * tm-m68k.h (NOTICE_UPDATE_CC): A doubleword move that requires 2 insns 6162: does not set the cc's usefully. 6163: 6164: * Makefile (cleanlinks): Just do `clean', not `realclean'. 6165: (realclean): Delete config links also. 6166: 6167: * expr.c (expand_call): Handle case where return value is in memory 6168: but TARGET is a register. 6169: 6170: * c-typeck.c (build_binary_op_nodefault): New arg ERROR_CODE 6171: is passed to binary_op_error instead of CODE. 6172: All callers changed. 6173: (binary_op_error): CODE = NOP_EXPR is new special case. 6174: (truthvalue_conversion): Call build_binary_op_nodefault directly 6175: and specify NOP_EXPR for the error code. 6176: 6177: * c-decl.c (xref_tag): If pedantic, warn on fwd ref to enum. 6178: 6179: Mon Apr 10 19:44:48 1989 Chris Smith (csmith at mozart) 6180: 6181: * tm-convex.h (PCC_BITFIELD_TYPE_MATTERS): It doesn't, 6182: but set it anyway. It makes for better code on this 6183: word machine. 6184: 6185: * convex.md (one_compl*): add not:QI and not:HI, which 6186: do get used after all. 6187: 6188: * tm-convex.h (A_REG_P, S_REG_P): define new macros 6189: convex.md: use them 6190: 6191: * convex.md (addsi3): tidy up constraints. 6192: 6193: * tm-convex.h (REG_OK_FOR_INDEX_P): stack pointer is not ok. 6194: 6195: * convex.md: add a pattern to push REG+CONST so we can 6196: prefer an A reg. 6197: 6198: * tm-convex.h (tstqi): should sign extend, not zero extend. 6199: 6200: * expr.c (convert_move): Extending narrow to DI via SI, 6201: operand of extendsidi2 was wrong. 6202: 6203: * emit-rtl.c (gen_lowpart): Handle CONST_DOUBLE. 6204: 6205: Mon Apr 10 05:19:39 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6206: 6207: * recog.c (nonmemory_operand): Test constant operands 6208: as general_operand does. 6209: 6210: * tm-m68k.h (PRINT_OPERAND): Limit effect of code `d' 6211: to constant addresses. 6212: 6213: * loop.c (can_eliminate_biv_p, eliminate_biv): Don't rely on givs with 6214: nonconstant coefficients, since the coeffs could be zero. 6215: 6216: * loop.c (can_eliminate_biv_p): Check each giv for ! ignore 6217: before assuming it can be used. 6218: (check_eliminate_biv): New fn, a piece of strength_reduce broken out. 6219: 6220: * cccp.c (error_from_errno): New fn, like error and perror_with_name. 6221: (do_include): Call that if open fails. 6222: (finclude): Print I/O error msg before closing desc. 6223: 6224: * c-decl.c (shadow_tag): If more than one tag or structure, 6225: or anything other than a tag, warning. 6226: 6227: * c-parse.y (components): Just warn if memb decl has no member, 6228: and only if pedantic. 6229: 6230: * loop.c (strength_reduce): Print uids, not luids, for dump. 6231: (record_giv): giv_count field counts only DEST_REG givs. 6232: (check_dbra_loop): src_two_before_end was set wrong. 6233: 6234: * loop.c (record_giv): New arg LOOP_END; all callers changed. 6235: Don't mark giv replaceable if used past LOOP_END. 6236: (find_mem_givs): New arg LOOP_END; all callers changed. 6237: 6238: * out-i386.c (FP_CALL): Make this a `return' stmt. 6239: 6240: Fri Apr 7 11:56:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6241: 6242: * expr.c (expand_expr, case ..._DECL): Preserve mode thru 6243: calling change_address. 6244: 6245: * expr.c (emit_library_call): Typo: ARGNUM => COUNT. 6246: 6247: * expr.c (preexpand_calls, expand_call): Take note of RETURN_IN_MEMORY. 6248: * stmt.c (assign_parms): Likewise. 6249: * integrate.c (function_cannot_inline_p): Likewise. 6250: 6251: * STACK_ARGS_ADJUST: Arg is now a `struct arg_data' and it should 6252: be updated in place. 6253: * tm-mips.h: Define it. 6254: * expr.c (expand_call): Adapt to this. Assume padding comes after args 6255: so turn off the feature of changing the args' offsets. 6256: (emit_library_call): Adapt to this. 6257: 6258: * tm-mips.h (PRINT_OPERAND): Use CONST_DOUBLE_{LOW,HIGH}. 6259: Truncate SFmode constants to single precision. 6260: 6261: * c-typeck.c (mark_addressable): Fix test for local vs global reg var. 6262: 6263: * config.gcc: Change `:-' to `-' in var refs. 6264: Shell on convex doesn't handle `:-'. 6265: 6266: Thu Apr 6 00:09:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6267: 6268: * integrate.c (expand_inline_function): Compare actual's mode 6269: against formal's DECL_ARG_TYPE's mode, not TREE_TYPE's mode. 6270: 6271: * c-decl.c (implicitly_declare): Make the decl permanent if 6272: in global binding level. (Can happen for certain invalid input.) 6273: 6274: * c-typeck.c (build_modify_expr): Block path that made a MODIFY_EXPR 6275: containing an ERROR_MARK. 6276: 6277: * config/tm.h: New file. 6278: 6279: * loop.c (only_reg_use_p): Fix bugs in recursion, add some fast 6280: special cases. Comment on return value was backwards. 6281: (strength_reduce): Negate the value of only_reg_use_p. 6282: 6283: * genoutput.c (output_prologue): Output `#include hard-reg-set.h'. 6284: * Makefile: insn-output.o depends on that. 6285: 6286: * toplev.c (main): Typo recognizing -Wswitch. 6287: 6288: * config.gcc (mips): New alternative. 6289: * tm-mips.h, out-mips.c, mips.md, va-mips.h: New files. 6290: * varargs.h: Include va-mips.h if on mips. 6291: 6292: Wed Apr 5 16:58:04 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6293: 6294: * c-decl.c (duplicate_decls): Rename OLD, NEW to OLDDECL, NEWDECL. 6295: 6296: * stmt.c (expand_function_start): Ref subr instead of 6297: current_function_decl; should make no difference. 6298: 6299: * stmt.c (assign_parms): Do extra padding for some parms, 6300: controlled by MAX_PARM_BOUNDARY. 6301: * expr.c (expand_call): Same thing for caller side. 6302: Note this is implemented only for machines that lack push insns. 6303: Also, in both cases, it doesn't handle variable-size args. 6304: 6305: Tue Apr 4 12:22:06 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6306: 6307: * gcc.c (find_file): Try STANDARD_EXEC_PREFIX for startfiles too. 6308: 6309: * varasm.c (make_decl_rtl): Delete never-executed clause. 6310: 6311: * spur.md (movqi, loadhi, extend*, zero_extendhisi): 6312: Make subregs with C code, not RTL patterns, so we can 6313: avoid generating subreg of subreg. 6314: 6315: * optabs.c (emit_cmp_insn): Not all clauses always succeed, 6316: so stop using `else' structure. 6317: 6318: * stmt.c (expand_return): Avoid moving void to void, in cleanups case. 6319: 6320: Mon Apr 3 18:04:33 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6321: 6322: * m68k.md (cmphi): Don't allow a-reg vs a-reg, since that sign-extends. 6323: If there is one a-reg, make sure it is not last. 6324: 6325: Sun Apr 2 13:02:26 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6326: 6327: * stor-layout.c (agg_mode): Use highest mode that has desired size. 6328: Allow all integer modes, but reject sizes > MAX_FIXED_MODE_SIZE. 6329: (That defaults to the size of DImode.) 6330: 6331: * machmode.def: Add PSI, PDI and XF, CXF modes. 6332: 6333: Sat Apr 1 00:50:11 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6334: 6335: * ns32k.md (ashd, lshd): Delete patterns that logand the count with 31. 6336: The shift count is not truncated on this machine. 6337: 6338: * combine.c (subst): Simplify nested or's, nested xor's. 6339: (try_distrib): XOR doesn't distribute through anything. 6340: 6341: * rtl.c (rtx_equal_p): Don't die on null pointers. 6342: 6343: * loop.c (eliminate_biv): Use COMPARE, not MINUS, in generated compare. 6344: 6345: * loop.c (invariant_p): Mem refs in constant pool are invariant. 6346: 6347: * c-decl.c (redeclaration_error_message): If -traditional, allow 6348: redeclarations of typedef provided they agree. 6349: 6350: * c-decl.c (start_decl): Do expand_decl on the decl that pushdecl 6351: returns. If there was a prev. decl with a different type, 6352: we have changed its type and cleared its old rtl, so it need new rtl. 6353: 6354: Sat Apr 1 00:50:11 1989 Matthew Self (rms at sugar-bombs.ai.mit.edu) 6355: 6356: * expr.c (convert_move): Modified to use mode classes 6357: instead of refering to specific machine modes. 6358: 6359: * expr.c (do_jump): Converted to use CONST0_RTX macro. 6360: do_jmp no longer refers to any machine modes directly except 6361: for VOIDmode! 6362: 6363: * expr.c (compare, compare1): Modified to use CONST0_RTX 6364: macro. No longer refers to any machine modes directly 6365: except VOIDmode and BLKmode! 6366: 6367: * machmode.def: Documented assumptions made about the order 6368: of machine modes during mode widening. 6369: 6370: * optabs.c (expand_binop, expand_twoval_binop, expand_unop, 6371: emit_cmp_insn): Added mode widening which is independent of 6372: specific machine modes. It assumes that we may widen to any 6373: higher numbered mode of the same mode class. 6374: NOTE: the checks for VOIDmode ops which were present in 6375: QI and HI to SI widening are now present in all widening. 6376: I assume this is correct. Also, widening is now possible 6377: from QI to HI. This may or may not be a good thing.... 6378: 6379: * rtl.h (CONST0_RTX): Added definition of new macro 6380: CONST0_RTX (mode). 6381: 6382: * rtl.h (GET_NOTE_INSN_NAME, GET_REG_NOTE_NAME): New macros. 6383: * rtl.c (note_insn_name, reg_note_name): New tables. 6384: * rtl.def (NOTE): Change last field from `i' to `n'. 6385: * rtl.c (print_rtx): Print mode of INSN_LIST or EXPR_LIST as reg-note. 6386: Print operand code `n' as name of kind of note. 6387: (read_rtx): treat `n' like `i'. 6388: 6389: * loop.c (struct induction): Add `mode' field. 6390: (strength_reduce, record_giv): Set the `mode' field in V. 6391: (can_eliminate_biv_p, eliminate_biv): Use that field. 6392: 6393: * loop.c (struct iv_class): `init_insn' records what inits the biv. 6394: Replaces `init_val_set' flag. 6395: (strength_reduce): Update and test `init_insn' instead. 6396: Use of a biv between its init and the start of the loop 6397: does not preclude its elimination from the loop. 6398: Setting a giv is ok for eliminating a biv, even if giv is "ignore", 6399: since that just means giv will be combined with another. 6400: Handle some DEST_ADDR givs for that purpose. 6401: Test for giv-setting before check can_eliminate_biv_p. 6402: New error check for replaceable giv whose value needed after loop. 6403: (only_reg_use_p): New fn. 6404: 6405: * expr.c (expand_expr): PLUS, MINUS with EXPAND_SUM: 6406: Associate even harder. 6407: 6408: * loop.c (strength_reduce): Treat all constant biv init vals like ints. 6409: 6410: * loop.c (strength_reduce): Clear all_reduced when v->ignore is set; 6411: the code to check this later didn't always do the job. 6412: 6413: * loop.c (verify_loop): Set loop_continue. 6414: (scan_loop): mention its value. 6415: * rtl.h: Define NOTE_INSN_LOOP_CONT. 6416: * stmt.c (expand_loop_continue_here): Output one. 6417: 6418: Fri Mar 31 10:08:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6419: 6420: * c-typeck.c (pointer_int_sum, pointer_diff): Treat const void * like 6421: void *. 6422: 6423: * rtl.c (rtx_addr_varies_p): Don't die on null exp. 6424: * cse.c (refers_to_mem_p, refers_to_p): Likewise. 6425: 6426: * gcc.c (validate_switches, validate_all_switches): New fns. 6427: Mark a switch as valid if any compiler spec or the linker spec 6428: matches it, even for languages not being used. 6429: 6430: Thu Mar 30 00:22:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6431: 6432: * loop.c (loop_optimize, move_movables): when moving a `clr' insn used 6433: in zero-extension, sometimes change it to an `and' so that the 6434: significant low bits are not clobbered. 6435: 6436: * cccp.c: Implement __BASE_FILE__ and #once. 6437: (savestring): New fn. 6438: (struct file_name_list): new name for struct directory_stack. 6439: (enum node_type): Add T_ONCE, T_BASE_FILE. 6440: (directive_table): Add #pragma once. 6441: (initialize_builtins): Add __BASE_FILE__. 6442: (special_symbol): Handle __BASE_FILE__, together with __FILE__. 6443: (do_include): Ignore the file if it's on the #pragma once list. 6444: (do_once): New fn; add current file to #pragma once list. 6445: 6446: * cccp.c (do_include): Don't add non-ex files to list of deps. 6447: 6448: * config.gcc: Use {...:-...}, not {...=...}. 6449: 6450: * c-parse.y: Add precedence for IF/ELSE, and for parens; 6451: avoids some conflicts. 6452: 6453: * tm-newsgas.h: Include tm-news.h and define USE_GAS. 6454: 6455: * tm-news.h: New name for tm-news800.h. 6456: If not USE_GAS, define SONY_ASM. 6457: Don't define USE_GAS by default. 6458: (CPP_PREDEFINES): Various alternatives depending on processor type. 6459: (ASM_FORMAT_PRIVATE_NAME): Override this. 6460: (ASM_IDENTIFY_GCC): Override; output nothing. 6461: (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Round fsize up to % 4. 6462: Max for halfword link insn is 32k, not 64k. 6463: (FUNCTION_EPILOGUE): Don't output move.l if no regs to restore. 6464: (PRINT_OPERAND_ADDRESS): Change handling of tableref pc-rel addresses. 6465: * m68k.md (movhi): Add SONY_ASM conditional. 6466: 6467: * cse.c (cse_insn): If replacing a dest address, preserve MEM_IN_STRUCT 6468: 6469: * gcc.c (error, fatal): alternate varargs defns if HAVE_VPRINTF. 6470: 6471: Wed Mar 29 09:54:13 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6472: 6473: * gcc.c (process_command): Check WORD_SWITCH_TAKES_ARG, so that 6474: -Tdata can be handled right. 6475: 6476: * stmt.c (check_for_full_enumeration_handling): new fn, for warn_switch 6477: (expand_end_case): Call it, if orig index was enum. 6478: * toplev.c (main): Handle -Wswitch. 6479: * c-parse.y (SWITCH stmt): Pass orig switch expr to expand_end_case. 6480: 6481: * tm-*.h, out-*.c: Uniformly use reg_names, not reg_name, and don't 6482: define any duplicates. 6483: * final.c: Delete reg_name. 6484: 6485: * c-parse.y (is_reserved_word): Add keywords __asm and __inline; 6486: also __const and __volatile. 6487: (yylex): Keywords that start with `__' are recognized regardless of 6488: -traditional or -ansi. 6489: 6490: * c-parse.y (check_newline): Always recognize #ident. 6491: Macro IDENT_DIRECTIVE is no more. 6492: If ASM_OUTPUT_IDENT is undefined, don't output anything for #ident. 6493: * tm-3b1.h: Don't define IDENT_DIRECTIVE or ASM_OUTPUT_IDENT. 6494: * tm-encore.h, tm-i386gas.h, tm-i368v.h, tm-sun386i.h, tm-vaxv.h: 6495: Don't define IDENT_DIRECTIVE; define ASM_OUTPUT_IDENT to output in 6496: default way. 6497: 6498: * expr.h (RETURN_IN_MEMORY): New macro, default defn here. 6499: * expr.c (expand_call): Use it to control where to return value. 6500: * stmt.c (expand_function_start): Likewise. 6501: 6502: * out-sparc.c (find_addr_reg): Abort if none found. 6503: Eliminate confusion; do only one change between tests for PLUSness. 6504: (output_move_double): Arg to find_addr_reg is address, not mem ref. 6505: * out-m68k.c, out-spur.c, out-i386.c, out-alliant.c: Likewise. 6506: 6507: * jump.c (find_cross_jump): Don't let either E1 or E2 be included 6508: in the range of matching insns preceding the other (E2 or E1). 6509: 6510: * c-parse.y (check_newline): No error for `#pragma\n'. 6511: 6512: * Makefile (gcc.o): Control STANDARD_STARTFILE_PREFIX here. 6513: 6514: * stmt.c (walk_fixup_memory_subreg): handle null. 6515: 6516: * tm-sparc.h (FUNCTION_BLOCK_PROFILER): Change LPBnn to LPYnn, 6517: to avoid conflict with final.c. 6518: 6519: Tue Mar 28 15:23:17 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6520: 6521: * cccp.c (do_include): If fail, print system error message. 6522: (perror_with_name): Use more standard error format. Inc. `errors'. 6523: 6524: * dbxout.c (dbxout_function): Output any temporary types 6525: that were made by dbxout itself. 6526: 6527: * stmt.c: always use an epilogue if pcc-struct-return. 6528: (expand_function_start): Compute return_label after testing that. 6529: (expand_function_end): Output a return insn after pcc-struct-return 6530: processing, if there is a return insn. 6531: (expand_null_return): Don't output a return insn, in that case. 6532: Simplify the conditions--depends entirely on HAVE_return. 6533: 6534: * tm-m68k.h (FUNCTION_BLOCK_PROFILER): Use jsr, not call. 6535: 6536: * reload.c (find_reloads): Certain mem addresses will be offsetable 6537: after reloading; in particular, those where reg_equiv_address applies. 6538: 6539: * loop.c (check_dbra_loop): Change MINUS to COMPARE. 6540: 6541: * c-typeck.c (convert_for_assignment): Return THE standard error_mark. 6542: 6543: Thu Mar 23 09:39:02 1989 Richard M. Stallman (rms at watson) 6544: 6545: * c-parse.y (components): Error if empty. 6546: 6547: * dbxout.c (dbxout_symbol): Output const variables as N_STSYM. 6548: 6549: * varasm.c (force_const_mem): Use ASM_OUTPUT_DOUBLE_INT if defnd. 6550: 6551: * c-decl.c (grokdeclarator): Warn about `long long long'. 6552: 6553: * reload1.c (reload): When changing REG to MEM, clear REG_USERVAR_P. 6554: * final.c (alter_subreg): Preserve volatile bit of MEM. 6555: 6556: * m68k.md (cmpsi, cmphi): Permit cmpm. 6557: 6558: * gcc.c (find_file): Use standard_startfile_prefix_2. 6559: Now search /usr/local/lib/, /lib/ and /usr/lib/. 6560: 6561: * tm-m68k.h (PRINT_OPERAND): Support code `d'. 6562: * m68k.md (cmpsi, cmphi, cmpqi): Use it for all mem addresses. 6563: 6564: * final.c (output_asm_insn): Don't allow %LETTER without an 6565: operand number. 6566: * tm-m68k.h, m68k.md, tm-hp9k320.h, tm-news*.h: Use %@ instead of %s. 6567: * tm-alliant.h, alliant.md: Likewise. 6568: * i386.md, out-i386.h: Put `0' after each %L, %W, %B, %S, %Q, %R. 6569: 6570: * stmt.c (expand_end_stmt_expr): Pop pending stack args. 6571: 6572: * varasm.c (assemble_variable): For 0-size common variable, 6573: allocate at least 1 byte. 6574: 6575: * tm-encore.h (ASM_OUTPUT_DOUBLE, PRINT_OPERAND): Use 0f, not 0l, 6576: for doubles. 6577: 6578: Mon Mar 13 10:24:56 1989 Richard M. Stallman (rms at ccvi) 6579: 6580: * out-i386.h (function_prologue, function_epilogue): 6581: Use call_used_regs, not a copy, so -f options work. 6582: Save regs in the opposite order. 6583: Save regs even starting from 0 if they happen to be call-saved. 6584: 6585: * Bug fixes from Rob McMahon. 6586: 6587: * loop.c (strength_reduce): When inserting insn to set 6588: nonreplaceable giv, put it after all the consecutive insns 6589: that compute it. 6590: 6591: * reload.c (find_reloads): When forcing const to mem, 6592: use the insn's operand mode, not the const's mode. 6593: 6594: * reload1.c (choose_reload_targets): Use wider of inmode and outmode 6595: when determining have_groups. 6596: 6597: * reload1.c (choose_reload_targets): typo checked wrong insn with 6598: constraint_accepts_reg_p. 6599: 6600: * reload1.c (choose_reload_targets): Enable #if-0'd code for 6601: forgetting old reloads in case of output reload from a non-spill-reg. 6602: 6603: Sun Mar 12 00:04:49 1989 Richard M. Stallman (rms at ccvi) 6604: 6605: * c-parse.y (yyerror): Add forward-decl here. 6606: * c-tree.h: Delete decl here. 6607: 6608: * New macro USE_C_ALLOCA. 6609: * cse.c (cse_main): Do alloca (0) to clear out C alloca. 6610: * flow.c (life_analysis): 6611: * local-alloc.c (local_alloc): 6612: * reload1.c (reload_as_needed): likewise. 6613: 6614: * loop.c (emit_iv_init_code, eliminate_biv): 6615: Always put constant in a PLUS last. 6616: 6617: * gcc.c (make_switch): Unused function deleted. 6618: 6619: *gcc.c (switches): Each switch has a `used' field. 6620: (process_command): Init it to 0 when making `switches'. 6621: (do_spec_1, handle_braces, give_switch): Set to 1 when switch is used. 6622: (main): If it remains 0 at the end, print error message. 6623: 6624: * expr.c (convert_move, convert_to_mode): Don't truncate a MEM in 6625: place if it is volatile. 6626: 6627: * loop.c (strength_reduce): When reducing a giv, if the biv is 6628: incremented between the giv's creation and its use, increment 6629: the reduced giv var *after* its use. 6630: 6631: * c-decl.c (duplicate_decls): Warn about proto vs nonproto 6632: only if no other errors apply. 6633: 6634: * jump.c (invert_exp): Don't crash if arg is null. 6635: 6636: * alliant.md (float*i*f2): Don't allow immediate ops. 6637: (sne): Fix typo, fsne => fsneq. 6638: 6639: * expr.c (store_one_arg, expand_call): When size doesn't matter, 6640: pass const0_rtx, not (rtx) 0. 6641: 6642: * expr.c (do_jump): Args to invert_exp were missing. 6643: 6644: * gcc.c (store_arg): Now 2 separate args for delete-on-success 6645: and delete-on-failure. All calls changed. 6646: (do_spec_1): DELETE_THIS_FILE is meaningful for output files. 6647: 6648: * config/xm-alliant.h (LINK_SPEC): Pass -X to linker. 6649: 6650: Sat Mar 11 10:30:41 1989 Richard M. Stallman (rms at ccvi) 6651: 6652: * tm-*.h, xm-*.h, *.md: Moved to subdir `config'. 6653: * output-*.c: Moved to `config/out-*.c'. 6654: * Makefile (.c.o): Define rule to use -Iconfig when compiling. 6655: (various): Delete the commands from some compilation rules. 6656: Put -Iconfig in other compilation commands. 6657: Also some reordering of variable defs and comments for cleanliness. 6658: (realclean): Change a shell comment to a Make comment. 6659: 6660: * fold-const.c (fold): Simplify and extend TRUTH_... operators 6661: knowing that args must be ints and values will be 0 or 1. 6662: 6663: * gcc.hlp: New file (for VMS). 6664: 6665: * reload1.c (reload): Don't let two 2-groups overlap. 6666: 6667: * reload.c (push_reloads): When a plain reg matches a reload 6668: for an increment, don't change the reload_in to a plain reg. 6669: Leave the increment there. 6670: 6671: * integrate.c (expand_inline_function): Don't try to inline 6672: unless the parm machine modes really match what's expected. 6673: 6674: * stmt.c (emit_case_nodes): default_label is an rtx, not tree. 6675: 6676: * tm-next.h (DOLLARS_IN_IDENTIFIERS): Define it as 1. 6677: 6678: * output-sparc.c (output_move_double): Don't trust random structs 6679: to be double-word aligned. 6680: 6681: * gcc.c: Pass -Wcomments to cpp. 6682: 6683: * rtl.def (ASM_OPERANDS): New operands, source file and line. 6684: * rtl.h (ASM_OPERANDS_*): New macros for components of ASM_OPERANDS. 6685: * stmt.c (expand_asm_operands): Use new fields, not REG_ASM_* notes. 6686: * toplev.c (error_for_asm): likewise. 6687: * rtl.h (enum reg_note): Delete REG_ASM_FILE, REG_ASM_LINE. 6688: 6689: * combine.c (try_combine): Check explicitly for volatility in I2, I1. 6690: 6691: Fri Mar 10 19:30:10 1989 Richard M. Stallman (rms at ccvi) 6692: 6693: * c-parse.y (GOTO stmt): Set TREE_USED for the label. 6694: * c-decl.c (poplevel): Warn about unused label. 6695: 6696: * c-decl.c (warn_pointer_arith, warn_strict_prototypes): New vars. 6697: (lang_decode_options): Options to set them. 6698: * c-typeck.c (pointer_int_sum, c_sizeof): Maybe warn if bad target. 6699: * c-decl.c (grokparms): Maybe warn if nonprototype fn decl. 6700: 6701: * flags.h, toplev.c (warn_shadow): New flag. 6702: * toplev.c (main): Decode it. 6703: * c-decl.c (pushdecl): Maybe warn about any shadowing. 6704: Existing parm-shadowing warning now disabled if shadowing decl 6705: is also a parm. 6706: 6707: * flags.h, toplev.c (warn_id_clash, id_clash_len): New flags. 6708: * toplev.c (main): Decode -Wid-clash-LEN. 6709: * tree.c (get_identifier): Implement warning if two idents match. 6710: 6711: * toplev.c (compile_file): Warn about statics defined and unused. 6712: 6713: * rtl.h (CONST0_RTX): New macro. 6714: 6715: * recog.c (offsetable_address_p): New 1st arg says whether to demand 6716: a strictly valid address. 6717: (offsetable_memref_p): Pass nonzero. 6718: * stmt.c (optimize_bit_field): Pass zero. 6719: 6720: * cccp.c (main): Allow -Wcomment like -Wcomments. 6721: * c-decl.c (lang_decode_options): Likewise. 6722: 6723: Sun Mar 5 15:02:59 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu) 6724: 6725: * m68k.md [tstdf, cmp[sd]f, truncdfsf2, floatsi[sd]f2, add[sd]f3, 6726: sub[sd]f3, mul[sd]f3, div[sd]f3, neg[sd]f2, abs[sd]f2]: Made sure 6727: that the test function's in the match_operands of the define_expand 6728: and define_insn's matched, and made that test function 6729: "register_operand" when both define_insn's really needed registers 6730: in that spot. 6731: 6732: Sat Mar 4 00:25:37 1989 Richard M. Stallman (rms at c2v) 6733: 6734: * expr.c (emit_push_insn): Don't ever bypass the big-endian 6735: padding at the end. 6736: 6737: * cccp.c (deps_output): Break line if would otherwise exceed 75 chars. 6738: Make a name for that value 75. 6739: 6740: * combine.c (subst): Handle general case of (subreg (sign_extend X)). 6741: 6742: * tm-sun386i.h (CPP_PREDEFINES): Define `sun'. 6743: 6744: * fixincludes: change `find' calls to find dirs thru symlinks. 6745: 6746: * flow.c (mark_set_1): (set (subreg (reg N))...) 6747: does make reg N significant for this basic block. 6748: 6749: Fri Mar 3 13:55:25 1989 Richard M. Stallman (rms at c2v) 6750: 6751: * c-decl.c (parmlist_tags_warning): Print an explanation 6752: for the first such warning. 6753: 6754: * i386.md (extendsfdf): Let op 1 match op0 if that is an fp reg. 6755: 6756: * expr.c (expand_call): Fix stupid errors copying pcc struct value. 6757: 6758: * varasm.c (output_constructor): Discard NOP_EXPRs from build_c_cast. 6759: 1.1.1.14 root 6760: Thu Feb 23 05:55:57 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6761: 6762: * Version 1.34 released. 6763: 6764: * c-typeck.c (build_c_cast): If EXPR is an error mark, return that. 6765: 6766: * fold-const.c (div_and_round_double): Abort if divisor is 0. 6767: (combine): Likewise, for real constants. 6768: (real_zerop): New subroutine. 6769: (fold): Don't try to fold division if divisor is 0. 6770: Don't try to fold reals if can't do arithmetic on them. 6771: Don't try to compare reals for TRUTH_..._EXPR if can't do arith. 6772: Use real_zerop to test reals for zeroness. 6773: For TRUTH_ANDIF_EXPR and TRUTH_ORIF_EXPR, can simplify based on 6774: first operand alone. 6775: 6776: * c-typeck.c (store_init_value): Fix error msg text. 6777: 6778: * tm-sparc.h (FUNCTION_PROFILER): Use `mcount'. 6779: * tm-sun4os3.h (FUNCTION_PROFILER): Override it; use `.mcount'. 6780: 6781: Wed Feb 22 04:33:22 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6782: 6783: * tm-hp9k320.h (CPP_SPEC, CPP_PREDEFINES): Make handling of 6784: -Dmc68000 depend on TARGET_DEFAULT. 6785: 6786: * tm-sparc.h (FUNCTION_PROFILER): Missing newline in fprintf. 6787: 6788: * integrate.c (expand_inline_function): Don't map struct-value-address 6789: in memory if fn does not use it. 6790: 6791: * c-parse.y (check_newline): At skipline, detect eof. 6792: 6793: * stmt.c (uninitialized_vars_warning): Change text of warning. 6794: 6795: Tue Feb 21 03:58:50 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6796: 6797: * output-sparc.c (output_mul_insn): Handle case of both args 6798: in reg 8, or both in reg 9. 6799: 6800: * tm-sparc.h (ASM_SPEC): Define, to handle -pipe. 6801: 6802: * tm-sparc.h (FUNCTION_PROFILER): Add omitted fprintf args. 6803: (BLOCK_PROFILER): Likewise. Use tempvar. 6804: 6805: * m68k.md (QImode btst): Allow nonoffsetable mem refs. 6806: 6807: Mon Feb 20 00:32:42 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6808: 6809: * flow.c (mark_used_regs): Don't record about global reg vars. 6810: 6811: * config.gcc (convex-*): tm file names are tm-convex1.h, tm-convex2.h. 6812: 6813: * tm-vax.h, tm-ns32k.h, tm-alliant.h: Define PCC_STATIC_STRUCT_RETURN. 6814: 6815: * gcc.c (compilers): Pass `-a' to cc1. 6816: * tm-sun3.h, tm-sparc.h (LIB_SPEC): Define, to handle `-a'. 6817: 6818: * expr.c (emit_push_insn): Copy stack addresses to be passed to bcopy; 6819: old method of preadjustment is broken by changes in emit_library_call. 6820: 6821: * c-decl.c (finish_decl): New temp `temporary'; don't get confused 6822: about whether allocation was temporary. 6823: 6824: Sun Feb 19 17:03:35 1989 Chris Smith (csmith at mozart) 6825: 6826: * tm-convex.h: define PCC_STATIC_STRUCT_RETURN 6827: 6828: * convex.md: 6829: remove pshea patterns, movsi does it better. 6830: add ashift:DI abs:DF abs:SF 6831: (tstdi): use a clobbered register instead of a bogus DImode zero. 6832: (trunchiqi2): delete noninstruction cvth.b 6833: (udivsi3, udivhi3, udivqi3): deleted, expand_divmod does it now. 6834: (call, call_value): delete stupid call/ret -> jump optimization. 6835: (call, call_value): flush call_ap_check, use reg_mentioned_p instead. 6836: 6837: * convex.md: (movxx): swap constraint alternatives so that the 6838: leftmost alternative is (set =g r). This makes (set mem const) 6839: get combinable input reloads of const instead of uncombinable 6840: output reloads to mem. They still do not combine, but wtf, 6841: I'll inch up on it. 6842: 6843: * output-convex.c: (const_double_{high,low}_int): new routines 6844: to pick apart const_doubles for assembler. 6845: 6846: Sun Feb 19 01:40:17 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6847: 6848: * sparc.md (shift memory right 24 bits): Another `a1' typo. 6849: 6850: * config.gcc (convex-*): Delete troublesome whitespace. 6851: 6852: * c-decl.c (grokparms): Delete redundant `parm != 0' tests. 6853: 6854: * stmt.c (fixup_memory_subreg): Slight simplification. 6855: 6856: * tm-sparc.h (FUNCTION_PROFILER): Fill delay slot. 6857: (FUNCTION_BLOCK_PROFILER): Use sethi. 6858: (BLOCK_PROFILER): Use %g2, not %g0. Use sethi. 6859: 6860: Sat Feb 18 02:11:25 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6861: 6862: * expr.c (expand_expr): Ignore const array's initial value 6863: if it's an error_mark. 6864: * c-decl.c (finish_decl): Set DECL_INITIAL to an error_mark 6865: if the decl is a permanent node. 6866: 6867: * cccp.c (rescan): If traditional, if macro ends inside string, 6868: keep scanning for the end of the string. 6869: (handle_directive): A line of just `#' becomes blank. 6870: (collect_expansion): \ in strings traditionally doesn't hide macro arg. 6871: 6872: * m68k.md, alliant.md (addsi3): New alternative a=r+a, in addition 6873: to old a=a+r, needed since reload-insns are not commuted. 6874: 6875: Fri Feb 17 03:15:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6876: 6877: * tm-m68k.h (PCC_STATIC_STRUCT_RETURN): Define it. 6878: * toplev.c, flags.h: New var flag_pcc_struct_return. 6879: * stmt.c (expand_function_start): Obey new flag and new variable. 6880: * expr.c (expand_call): Obey new flag and new variable. 6881: * varasm.c (assemble_static_space): New function. 6882: 6883: * stmt.c (expand_return): If we need cleanups, compute retval first 6884: into pseudo reg, then do the cleanups, then copy it to return reg. 6885: 6886: Thu Feb 16 02:59:52 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6887: 6888: * regclass.c (init_reg_sets_1): Win if STATIC_CHAIN_REGNUM undefined. 6889: 6890: * expr.c (expand_call): Handle conflict between two precomputed 6891: args that are both function calls returning structures. 6892: 6893: * loop.c (move_movables): Bkwds test of m->partial, for a matching reg. 6894: 6895: * expr.c (emit_library_call, expand_call): Handle STACK_ARGS_ADJUST. 6896: 6897: Wed Feb 15 01:59:15 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6898: 6899: * toplev.c (flag_caller_saves): New var, for -fcaller-saves. 6900: DEFAULT_CALLER_SAVES controls initial value. 6901: * global-alloc.c (find_reg): Do caller saves only if flag set. 6902: * local-alloc.c (find_free_reg): Do caller saves only if flag set. 6903: * tm-alliant.h, tm-convex.h: Define DEFAULT_CALLER_SAVES. 6904: 6905: Wed Feb 15 01:59:15 1989 Chris Smith (rms at sugar-bombs.ai.mit.edu) 6906: 6907: * caller-save.c: New file. 6908: * regs.h (CALLER_SAVE_PROFITABLE): New macro. 6909: (reg_n_calls_crossed): new int-vector replaces reg_crosses_calls. 6910: * flow.c (allocate_for_life_analysis, propagate_block, dump_flow_info): 6911: Use reg_n_calls_crossed. 6912: * stupid.c (stupid_mark_refs, stupid_life_analysis): Likewise. 6913: * global-alloc.c (find_reg): Sometimes allocate call-clobbered regs 6914: for call-crossing pseudos. 6915: New arg ACCEPT_CALL_CLOBBERED; callers changed. 6916: * local-alloc.c (find_free_reg): Similar changes. 6917: (qty_n_calls_crossed): New int-vector replaces qty_crosses_calls. 6918: (alloc_qty, local_alloc, combine_regs, find_free_reg): change that var. 6919: * regclass.c (call_fixed_regs, call_fixed_reg_set): new vars. 6920: (init_reg_sets_1): Initialize them. 6921: * reload1.c (reload): Call caller-saves processing if needed. 6922: 6923: Wed Feb 15 01:59:15 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6924: 6925: * expr.c (expand_expr): INTEGER_CST for DImode: don't handle 6926: endianness here. So CONST_DOUBLE_LOW is always the low word. 6927: * varasm.c (force_const_mem): Handle it here. 6928: 6929: * expr.c (convert_move): widening followed by extendsidi2 had braino. 6930: 6931: * integrate.c: Don't include ctype.h; not needed and kills Sun cpp. 6932: 6933: * m68k.md (cmpsf, cmpdf and their recognizers): 6934: Replace MINUS with COMPARE. 6935: Also, use VOIDmode for COMPAREs, not SF or DF. 6936: 6937: * optabs.c (sign_expand_binop): Handle ops such as division where 6938: an unsigned char could be widened and handled with signed int insns. 6939: * expmed.c (expand_divmod): Use that. 6940: 6941: * c-typeck.c (digest_init): Allow for type variants in validating 6942: initialization from a string constant. 6943: 6944: * c-typeck.c (decl_constant_value): Disable opt. if pedantic or 6945: outside functions, so that validity of program is never affected. 6946: 6947: * fold-const.c (fold): Signedness-test for ABS_EXPR was backwards. 6948: 6949: Tue Feb 14 01:30:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6950: 6951: * cccp.c (main): Don't omit normal output, if we want deps on 6952: a separate stream. 6953: 6954: * c-decl.c (grokdeclarator): Don't record any arg types for functions 6955: if -traditional. 6956: 6957: * print-tree.c (prtypeinfo): Mention permanent attribute. 6958: 6959: * tm-next.h: New file. 6960: 6961: * c-typeck.c (decl_constant_value): The DECL_INITIAL may be ERROR_MARK. 6962: 6963: * c-decl.c (duplicate_decls): For fns, new static decl overrides 6964: old non-static one. 6965: 6966: * emit-rtl.c (gen_lowpar, gen_highpart): Use change_address, so we 6967: preserve volatility, etc. 6968: 6969: * stmt.c (expand_expr_stmt): Use emit_filename, emit_lineno 6970: as file and line for any warning. 6971: * emit-rtl.c (emit_line_note): Set those vars. 6972: 6973: * c-decl.c (store_parm_decls): If -Wimplicit, warn of arg with no decl. 6974: 6975: * recog.c (offsetable_address_p): Use strict_memory_address_p, 6976: since called from reload.c. 6977: 6978: Mon Feb 13 03:11:50 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6979: 6980: * sparc.md (compare-to-reg patterns): Some still had MINUS. 6981: 6982: * toplev.c (main): Warn if `-a' on system that can't handle it. 6983: 6984: * stmt.c (expand_asm_operands): Delete unused local `val'. 6985: (pushcase_range): Likewise for `value'. 6986: (fixup_var_refs): Likewise for `insn'. 6987: * emit-rtl.c (start_sequence): Likewise for `save'. 6988: * loop.c (scan_loop): Likewise for `before_start'. 6989: * expr.c (expand_expr): Delete label `binop1'. 6990: 6991: * reload1.c (constraint_accepts_reg_p): Handle SUBREGs of REGs. 6992: 6993: Sun Feb 12 05:37:46 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 6994: 6995: * gnulib.c (__bb_init_func): New function 6996: 6997: * tm-m68k.h (BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER): Defined. 6998: 6999: Sat Feb 11 00:05:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7000: 7001: * tm-sparc.h (FUNCTION_PROFILER): Make it really work. 7002: (BLOCK_PROFILER, FUNCTION_BLOCK_PROFILER): New macros. 7003: 7004: * final.c (final): Use BLOCK_PROFILER at start of each basic block. 7005: (final_start_function): Use FUNCTION_BLOCK_PROFILER if -a. 7006: (end_final): New fn to output the block-profiling tables. 7007: * toplev.c (profile_block_flag): Set if -a. 7008: (compile_file): Call end_final. 7009: 7010: * combine.c (try_combine): Avoid combining in most cases if I3 7011: has an inc or dec and I1 or I2 uses the same register. 7012: 7013: * tree.c (size_in_bytes, int_size_in_bytes): Use type's main variant. 7014: 7015: * c-typeck.c (actualparameterlist): Error if parm type is incomplete. 7016: 7017: * expr.c (expand_call): Ignore args that have incomplete type. 7018: 7019: Fri Feb 10 02:26:02 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7020: 7021: * c-parse.y (case stmts): strip dummy NOP_EXPRs. 7022: 7023: * reload1.c (reload_as_needed): Clear reg_{has,is}_output_reload here, 7024: (choose_reload_targets): not here. 7025: 7026: Thu Feb 9 01:35:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7027: 7028: * output-sparc.c (output_mul_by_constant): Forget cc status. 7029: 7030: * stmt.c (assign_parms): Don't put volatile parms in regs. 7031: 7032: * vax.md (jlbs/jlbc recognizers): Move them before jbc/jbs recognizers. 7033: 7034: * cse.c (fold_rtx): Handle (EQ (COMPARE ...) (CONST_INT 0)). 7035: 7036: * c-typeck.c (default_conversion, digest_init): For static const 7037: nonvolatile scalar variable, use its initial value if known. 7038: 7039: * expr.c (expand_expr: case COMPONENT_REF): If containing structure 7040: comes out volatile, leave the component MEM volatile too. 7041: 7042: * hard-reg-set.h: Fix multi-word case macros to swallow semicolon. 7043: 7044: * c-typeck.c (default_conversion): In array=>ptr, volatility 7045: of target type comes from TREE_THIS_VOLATILE, not TREE_VOLATILE. 7046: 7047: * reload1.c (forget_old_reload_1, choose_reload_targets): 7048: New array reg_is_output_reload is converse of reg_has_output_reload. 7049: forget_old_reload_1 needs both. 7050: 7051: Wed Feb 8 01:26:24 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7052: 7053: * reload1.c (forget_old_reloads_1): New fn, guts of forget_old_reloads. 7054: Do process a spill reg if it isn't used for reloading in this insn. 7055: (forget_old_reloads): Deleted, replaced with note_stores. 7056: (reload_as_needed): Undo Feb 1 change. 7057: Call forget_old_reloads_1 on pseudos autoincremented and not reloaded. 7058: 7059: * c-typeck.c (convert_for_assignment): Handle variant types. 7060: 7061: * c-decl.c (lang_decode_option): -Wall implies -Wunused. 7062: 7063: Tue Feb 7 01:32:28 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7064: 7065: * combine.c (try_combine): Don't try adding outputs to an asm_operands. 7066: 7067: * cse.c (CHEAPER): Don't ever let a hard reg get ahead of a pseudo. 7068: 7069: * stmt.c (fixup_gotos): Don't crash on undef label if THISBLOCK is 0. 7070: 7071: * c-decl.c (parmlist_tags_warning): New fn. 7072: * c-parse.y (parmlist, parmlist_or_identifiers): Call it, 7073: to warn about any tags defined inside the parmlist. 7074: * c-decl.c (grokparms): Don't warn about ptr to incomplete type. 7075: The new warning is better. 7076: 7077: Mon Feb 6 01:11:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7078: 7079: * expr.c (store_constructor): Incorrect ALIGN arg in store_field calls. 7080: 7081: * c-parse.y (%union): Delete unused alternative. 7082: 7083: * c-decl.c (grokparms): Use main variant to test for ptr to incomplete. 7084: 7085: * c-decl.c (finish_enum): Delete superfluous init for `pair'. 7086: 7087: * cse.c (fold_rtx): Optimize X+0, X-0 in floating point. 7088: Fix typo in PLUS case; omitted value to compare GET_MODE_CLASS against. 7089: (equiv_constant): Allow CONST_DOUBLE. 7090: 7091: * cse.c: Optimize past if-statements that are known to fail. 7092: (cse_insn): If condjump becomes uncond to end of this block, 7093: set cse_skip_to_next_block. 7094: (cse_basic_block): If that happens, ignore rest of block, and maybe 7095: treat next block as part of this one (if tables have room). 7096: Resume insn that starts next basic block to be scanned. 7097: (cse_main): Make room for at least 500 qtys. 7098: (cse_end_of_basic_block): Subroutine broken out of cse_main. 7099: 7100: * c-parse.y (hash, is_reserved_word): Rewrite: new hash technique. 7101: 7102: * c-decl.c (duplicate_decls): Be smart about proto vs nonproto mismatch 7103: involving a function definition. 7104: 7105: Sun Feb 5 17:31:12 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7106: 7107: * alliant.md (movdi): Typo in `fmoved'. 7108: (ftruncsf2): Handle moving into fp reg. 7109: 7110: * jump.c (jump_optimize): Typo in testing PRESERVE_DEATH_INFO_REGNO_P. 7111: 7112: * reload1.c (choose_reload_targets): Move all death notes to the 7113: output reload insn. 7114: 7115: * m68k.md (fix_truncsfsi2,fix_truncdfsi2): Use accurate rtl pattern. 7116: 7117: * loop.c (delete_insn_forces): Use presence of REG_RETVAL to check 7118: for value-of-library-call insn. 7119: 7120: Sat Feb 4 18:17:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7121: 7122: * integrate.c (expand_inline_function): Make addresses of stack 7123: slots valid somehow. 7124: 7125: * tm-3b1.h (DIVSI3_LIBCALL, etc.): Define these macros; avoid gnulib. 7126: 7127: * expmed.c (store_bit_field): Avoid (subreg (mem)) when converting 7128: VALUE1 to SImode. 7129: 7130: * jump.c (jump_optimize): Do delete USE and CLOBBER insns. 7131: This is needed for proper jump optimization. 7132: 7133: * rtl.def (COMPARE): New code. 7134: * *.md (compare and related patterns): Use COMPARE, not MINUS:VOID. 7135: * loop.c (eliminate_biv, can_eliminate_biv_p): Likewise. 7136: * cse.c (fold_rtx, fold_cc0, cse_insn): 7137: * output-m88k.c (output_{f,}compare, output_store): 7138: * output-sparc.c (strict_single_insn_op_p, single_insn_src_p, safe_insn_src_p): 7139: * combine.c (subst): 7140: * jump.c (jump_back_p): 7141: 7142: Fri Feb 3 18:34:27 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7143: 7144: * output-i386.c (notice_update_cc): If arith insn sets the cc's, 7145: discard all remnants of previous cc value and flags. 7146: 7147: * sparc.md (ashiftrt mem by 24): Fix typo `a1'. 7148: 7149: Thu Feb 2 14:55:44 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7150: 7151: * output-sparc.c (output_mul_insn): Clear the CC status. 7152: 1.1.1.13 root 7153: Wed Feb 1 20:01:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7154: 7155: * Version 1.33 released. 7156: 7157: * reload1.c (reload_as_needed): On entering new basic block, 7158: if it didn't need reload regs, forget all inherited contents of those. 7159: 7160: * tm-alliant.h (NOTICE_UPDATE_CC): Floating moves don't set the cc's. 7161: Also delete the clauses and tests for FPA regs. 7162: 7163: Tue Jan 31 21:51:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7164: 7165: * config.gcc: Handle convex-c1, convex-c2. 7166: * tm-convex1.h, tm-convex2.h: New files that include tm-convex.h. 7167: * tm-convex.h: Define switches -mnoc1, -mnoc2. 7168: 7169: * config.gcc: rename `nofp' to `nfp', to match the file names. 7170: 7171: Mon Jan 30 22:12:15 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7172: 7173: * output-sparc.c (output_delay_insn): Extract the operands, 7174: call alter_subreg, constrain_operands and NOTICE_UPDATE_CC. 7175: So callers other than output_eager_then_insn don't lose. 7176: (output_eager_then_insn): No need to do that stuff. 7177: 7178: * symout.c (symout_block_symbols): Handle (MEM (REG)) for 7179: variable-sized arrays. 7180: 7181: * tm-encore.h (ASM_SPEC): Always pass -j; avoid jump-range lossage. 7182: 7183: Sun Jan 29 17:06:26 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7184: 7185: * alliant.md: Fix refs to CONST_DOUBLEs to use CONST_DOUBLE_{HIGH,LOW}. 7186: 7187: * combine.c (subst): (minus (zero_extend ...) (const_int ...)) opt. 7188: now limited to within the context of (set (cc0) ...). 7189: 7190: Sat Jan 28 14:26:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7191: 7192: * cse.c (fold_cc0): Missing `&' extracting CONST_DOUBLEs. 7193: (fold_rtx): Don't put CONST_DOUBLEs together into a (CONST (PLUS...)). 7194: 7195: * output-convex.c (gen_cmp): Recognize CONST_DOUBLE as a constant. 7196: 7197: * tree.c (build_real_from_int_cst): Typo in REAL_ARITHMETIC case. 7198: 7199: * Makefile (bootstrap2): Don't use bootstrap3 as subroutine. 7200: 7201: * varasm.c (force_const_mem): Put the CONST_DOUBLE on the chain 7202: if its MEM is stored in it; so it can be cleared at end of function. 7203: 7204: * stmt.c (emit_case_nodes): Put a compare before each cond-jump. 7205: Two cond-jumps after one cond is invalid and makes cse produce garbage. 7206: 7207: Fri Jan 27 01:05:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7208: 7209: * tm-sun2.h (CPP_SPEC): Define __HAVE_68881__ only if -m68881. 7210: 7211: * c-decl.c (start_decl): Don't expand_decl if DECL already has rtl. 7212: (grokparms): If just declaring fcn, incomplete parm type is just 7213: a warning, and don't discard the specified type. 7214: 7215: * expmed.c (expand_divmod): Be smarter about not clobbering args 7216: with intermediate results; one mem can clobber another, and a reg 7217: can clobber a mem. 7218: 7219: * tm-i386.h (FUNCTION_PROFILER): Use LPREFIX. May actually work now. 7220: * tm-i386gas.h: Include tm-bsd386.h, not tm-att386.h. 7221: This means changing asm syntax. 7222: #undef DBX_NO_XREFS and DBX_CONTIN_LENGTH. 7223: 7224: * sparc.md (eager branch peepholes): Don't forget 2nd arg to 7225: safe_insn_src_p. 7226: Don't print warnings. 7227: * output-sparc.c: (strict_single_insn_op_p): Return 0 for floating 7228: REG or MEM, since copying that may take 2 insns. 7229: (operands_satisfy_eager_branch_peephole): require delay insn to 7230: be strict_single_insn_op_p as well as safe_insn_src_p. 7231: (operand_clobbered_before_used_after): Don't print warnings. 7232: 7233: * varasm.c (decode_rtx_const): Clear entire structure incl. gaps. 7234: Avoids spurious hash mismatches. 7235: (force_const_mem): If CONST_DOUBLE, store its CONST_DOUBLE_MEM field. 7236: Also look in that field rather than hashing, to save time. 7237: 7238: * c-typeck.c (build_c_cast): If value is literal, mark NOP_EXPR as so. 7239: (store_init_value): Change error msg. 7240: 7241: * c-decl.c (duplicate_decls): Classify prototype vs nonprototype 7242: mismatches better. 7243: 7244: * tm-3b1.h: Fix comment. 7245: 7246: Wed Jan 25 12:46:50 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7247: 7248: * Makefile (cleanlinks): Use -f. 7249: 7250: Tue Jan 24 17:54:16 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7251: 7252: * cse.c (canon_hash): Fix paren error in last change. 7253: 7254: * varasm.c (immed_real_const_1): Missing arg to bcmp. 7255: 7256: Mon Jan 23 02:43:45 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7257: 7258: * stor-layout.c (layout_type): BLKmode elts force array to be BLKmode. 7259: 7260: * genpeep.c, genoutput.c, genemit.c: Put `#include "real.h"' in output. 7261: 7262: * stmt.c (expand_expr_stmt): No "no effect" warning for error-mark. 7263: 7264: * varargs.h: Rename implicit arg name to __builtin_va_alist 7265: which triggers code in assign_parms. Does this really matter? 7266: 7267: * sparc.md (sne): New define_expand. 7268: (seq recognizers): Handle sne as well. 7269: * output-sparc.c ({strict_,}single_insn_src_p): 7270: Some NEG and MINUS insns are actually 2 asm insns. 7271: (safe_insn_src_p): No floating arith is safe; they can trap. 7272: (eq_or_neq): New fn, for seq/sne recognizers. 7273: 7274: * c-decl.c (grokdeclarator, size of array type): 7275: Strip from SIZE any NOP_EXPRs that don't change anything. 7276: 7277: * reload.c, recog.c: Include real.h so constraint macros can examine 7278: CONST_DOUBLEs. 7279: 7280: Sun Jan 22 04:12:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7281: 7282: * c-decl.c (init_decl_processing): Define __builtin_saveregs. 7283: * tree.h: likewise. 7284: * expr.c (expand_builtin): Handle it. 7285: 7286: * tm-sparc.h: Define TARGET_EAGER and -meager. 7287: * sparc.md (eager branch peepholes): Reenable, but test TARGET_EAGER. 7288: Change fb insns to use %F. Delete `,a' from some of them. 7289: * jump.c (jump_optimize): Don't delete USE and CLOBBER insns. 7290: 7291: * xm-vms.h (const): Define it as empty. 7292: 7293: * make-cccp.com: Move the rename of cexp_tab.c. 7294: Compile cccp.c with no macro definitions. 7295: 7296: * cccp.c (main): VMS conditional for setting max_include_len. 7297: 7298: Sat Jan 21 12:53:00 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7299: 7300: * varargs.h (va_start): On sparc, call __builtin_saveregs. 7301: Delete the old conditional that used va-sparc.h. 7302: Rename macros and locals to start with two underscores. 7303: * va-sparc.h: File deleted. 7304: 7305: * c-decl.c (store_parm_decls): Initialize OTHERS. 7306: 7307: * stmt.c (assign_parms): Obey layout_decl. 7308: 7309: Fri Jan 20 02:19:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7310: 7311: * cse.c (fold_rtx): For SYMBOL_REF and LABEL_REF, mask address 7312: to 16 bits. 7313: 7314: * tree.h (NUM_TREE_CODES): NUM_TREE_CODE renamed. 7315: 7316: Thu Jan 19 13:53:24 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7317: 7318: * c-typeck.c (mark_addressable): For global reg var, report error. 7319: Now returns an int; value of 0 means caller should fail. 7320: All calls (in this file) changed. 7321: 7322: * stor-layout.c (layout_decl): Don't let an more than 1 word 7323: of any aggregate go in any 1 register. (Needed for machines whose 7324: integer regs are 64 bits). 7325: 7326: * tm-convex.h, xm-convex.h, convex.md, output-convex.c: new files. 7327: 7328: * expr.c (convert_move): Use extendqidi2, etc. for converting 7329: small ints to double ints. Use zero_extendsidi2 rather than 7330: clearing the high half. 7331: 7332: Wed Jan 18 01:20:52 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7333: 7334: * varasm.c (make_decl_rtl): If global `register' decl is invalid, 7335: make ordinary non-register rtl. 7336: 7337: * output-sparc.c (operand_clobbered_before_used_after): new fn. 7338: (reg_clobbered_p, safe_insn_src_p): New fns. 7339: (single_insn_src_p): Treat constants all as ok, even though not 7340: always literally so. Also accept some SIGN_EXTENDs and ZERO_EXTENDs. 7341: (strict_single_insn_src_p): New fn, like above but is strict 7342: about constants and constant memory addresses. 7343: (relop): New fn. 7344: (output_move_double): Don't make a MEM, and don't use %m. 7345: (output_delayed_branch): New name for output_delay_insn. 7346: Now handle non-small constant operands. 7347: Avoid duplicate loads of g1 for constant addresses. 7348: Use recog_operand directly for output of the delay insn. 7349: (output_delay_insn): Now a completely new fn. 7350: (output_eager_then_insn, next_real_insn_no_labels): New fns. 7351: (operands_satisfy_eager_branch_peephole): New fn. 7352: 7353: * sparc.md: New peepholes for testing a recently used operand. 7354: New peepholes for delayed branches, incl. conditional ones. 7355: ** Some of them commented out because they seem not to work. 7356: (andcc recognizer): Fix typo, missing %. 7357: (bgt): Change bgt to bg in output. 7358: (reversed jumps): Replace with one pattern using match_operand. 7359: It uses %F to output the condition. 7360: (movsi): For round-valued immed const, use just a sethi. 7361: For other immed, use explicit sethi and or. 7362: (movhi, movqi): use `move' for reg source or small int source. 7363: For other immed, use explicit sethi and or. 7364: (movsi, etc.): Handle all constant addresses like SYMBOL_REFs. 7365: (movsf): Delete never-used duplicate code for constant addresses. 7366: (addsi3, subsi3, cse'd multiply): Use sethi and or, rather than set. 7367: (andsi3, iorsi3, xorsi3): Likewise. 7368: (jump): Make an annulled branch. 7369: 7370: * tm-sparc.h (PROMOTE_PROTOTYPES): Define this. 7371: (GO_IF_LEGITIMATE_ADDRESS): Now accept all constant addresses; 7372: also cleaned up. 7373: (NOTICE_UPDATE_CC): Don't change the G1 status when storing in memory. 7374: Assume all PARALLEL insns are peepholes. 7375: (PRINT_OPERAND): New codes C and N for outputting conditions, 7376: either forward or reversed. Also F for reversed floating. 7377: 7378: * jump.c (delete_for_peephole): New function to delete range of insns. 7379: * genpeep.c (gen_peephole): Output code to use this. 7380: 7381: * Makefile (install): Fix typo, had $${name} for $${file}. 7382: 7383: Tue Jan 17 00:00:12 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7384: 7385: * i386.md (ashlsi3): Use addl or leal for special cases. 7386: 7387: * c-decl.c (grokdeclarator): Make a non-global VAR_DECL public 7388: if it is external. 7389: 7390: * masm386.c: Clean up formatting. 7391: 7392: * cse.c (fold_rtx): Typo simplifying x|0 or x^0 7393: when the 0 comes second. 7394: 7395: * expmed.c (store_fixed_bit_field): For halfwords, verify that 7396: the field fits in an *aligned* halfword. 7397: (extract_fixed_bit_field): likewise. 7398: 7399: * expmed.c (store_split_bit_field): New arg align, passed in from 7400: store_fixed_bit_field and passed back to it. 7401: (extract_split_bit_field): likewise. 7402: 7403: * expr.c: Reinsert changes from Jan 2, mysteriously deleted Jan 3. 7404: Also changes from Dec 23, Dec 28 and Dec 29. 7405: 7406: * tm-i386.h: Likewise for changes from Dec 30. 7407: 7408: * c-typeck.c (build_component_ref): If field's type is error-mark, 7409: return an error-mark. 7410: 7411: Mon Jan 16 14:16:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7412: 7413: * genpeep.c (main): Output code to exit early if insn is followed 7414: by a barrier. 7415: (gen_peephole): Reject barriers just like labels. 7416: 7417: * stmt.c (do_jump_if_equal): New arg UNSIGNEDP, for emit_cmp_insn. 7418: Caller changed. Now static. 7419: 7420: * final.c (final): Set INSN_DELETED_P in insns when output. 7421: 7422: * final.c (final): Re-set BODY if peephole does anything. 7423: 7424: * c-decl.c (grokparms): Ignore anything but PARM_DECLs in the list. 7425: (store_parm_decls): If we had a prototype, separate out anything other 7426: than a PARM_DECL declared in it, and pushdecl those at the end, 7427: after DECL_ARGUMENTS is set. 7428: 7429: * stmt.c (expand_end_case): Do stack adjusts after computing index. 7430: 7431: * expr.c (store_one_arg): Handle padding for case of BLKmode 7432: for which space was preallocated. 7433: 7434: * integrate.c (copy_rtx_and_substitute): When copying asm insn, 7435: preserve sharing of the input-operand vectors. 7436: (expand_inline_function): Clear {orig,copy}_asm_operands_vector 7437: to make that mechanism work. 7438: (save_for_inline, copy_for_inline): Likewise. 7439: 7440: * stmt.c (expand_asm_operands): Reject `+' in constraints. 7441: Every output constraint requires `='; inputs reject it. 7442: 7443: * stmt.c (expand_function_end): Arg to fixup_gotos was missing. 7444: 7445: Sun Jan 15 00:28:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7446: 7447: * cccp.c, gcc.c (main): Handle SIGPIPE. 7448: (pipe_closed): New fn; report suitable fatal error. 7449: 7450: * loop.c (loop_optimize): Initialize moved_once. 7451: 7452: * gcc.c (do_spec): Don't call `execute' if value != 0. 7453: Delete redundant second call to do_spec_1. 7454: 7455: * toplev.c (compile_file): Make declared-but-not-defined warnings 7456: only if -Wunused. 7457: 7458: * stmt.c (emit_case_nodes): Fix typo setting gen_ble_pat. 7459: 7460: * tm-sparc.h ({U,}MODSI3_LIBCALL): Name was wrong. 7461: 7462: * gcc.c (env_exec_prefix refs): Don't try to open via it if it's null. 7463: 7464: * output-sparc.c (output_store, output_load_{fixed,floating}): 7465: Fixed confusions between the mem ref and its address. 7466: 7467: * cse.c (canon_hash): global_regs has entries only for hard regs. 7468: * flow.c (insn_dead_p, mark_set_p, mark_used_regs): Likewise. 7469: 7470: * cse.c (fold_rtx): More simplifications for MULT, IOR, AND, XOR 7471: DIV and shifts with one arg 0 or 1. 7472: 7473: Sat Jan 14 11:41:11 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7474: 7475: * c-typeck.c (build_array_ref): If pedantic, check for regdecl arrays. 7476: 7477: * fixincludes: Make all subdirs in advance, so no need for `dirname'. 7478: 7479: * genpeep.c (gen_peephole): Delete code to increment LABEL_NUSES; 7480: instead, clear JUMP_LABEL for any jumps being deleted. 7481: No need to test INSN1 for being a label, since not called then. 7482: [If any of the matched insns is a JUMP_INSN, set want_jump, 7483: and in that case make the matched peephole a JUMP_INSN itself.] 7484: That's in an #if 0 now; it's good in jump, but not in final. 7485: 7486: * jump.c (jump_optimize): Don't do peepholes here. 7487: * final.c (final): Do them here. 7488: 7489: * jump.c (jump_optimize): In optimizing `if (foo) bar; else break;', 7490: don't try to invert anything but a standard-looking conditional jump. 7491: 7492: * jump.c (jump_optimize): Do peepholes on ALL BUT the first pass. 7493: 7494: * gcc.c (env_exec_prefix): New var used like user_exec_prefix 7495: but set from envvar GCC_EXEC_PREFIX. 7496: 7497: Fri Jan 13 13:21:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7498: 7499: * genpeep.c (gen_peephole): Test INSN1 for a label at the very start, 7500: then test following insns at the end of the loop. 7501: 7502: * sparc.md (call recognizers): do CC_STATUS_INIT, for %g1. 7503: 7504: Thu Jan 12 02:13:49 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7505: 7506: * varasm.c (make_decl_rtl): Recognize more error cases for reg vars: 7507: BLKmode, or initializer given. 7508: Distinguisn missing asm from invalid name. 7509: 7510: * expr.c (expand_call): Never return 0; return const0_rtx instead. 7511: This makes expand_expr more uniform. 7512: 7513: * c-decl.c (grokparms): For ptr to incomplete type, just warn; 7514: don't change the parm's type. 7515: 7516: * stmt.c (expand_return): Set RETVAL_RHS so as to recognize 7517: tail-recursive fcn returning void. 7518: Unconditionally test value of expand_expr for being a REG. 7519: 7520: * reload.c (find_reloads): Don't process insns that have 7521: no constraint alternatives. No more need for have_constraints. 7522: 7523: * recog.c (constrain_operands): New local var nalternatives. 7524: Don't bother checking the insn if nalternatives is 0. 7525: 7526: Wed Jan 11 01:27:48 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7527: 7528: * Implement global register decls. 7529: 7530: * varasm.c (make_decl_rtl): Handle global register vars. 7531: (make_function_rtl): Set function_defined: after 1st function dfn. 7532: (assemble_variable): Ignore global register vars. 7533: 7534: * c-decl.c (grokdeclarator): Don't reject global register decls. 7535: (builtin_function): Use make_decl_rtl, not make_function_rtl, 7536: to avoid setting function_defined. 7537: 7538: * regclass.c (init_reg_class{,_1}): Init and process global_regs. 7539: They are fixed, and call-clobbered. 7540: 7541: * flow.c (insn_dead_p): Storing one of global_regs is never dead. 7542: (mark_used_regs, mark_set_1): A global reg is never dead. 7543: 7544: * cse.c (canon_hash): Consider global regs volatile. 7545: 7546: 7547: * expr.c (do_jump): Know how to invert jumps which are sequences. 7548: 7549: * dbxout.c, symout.c, final.c: On USG, use our own stab.h. 7550: 7551: * tm-i386gas.h: New file for GAS on sysV (with DBX debugging info). 7552: 7553: * m68k.md (bfchg and bfins patterns): Make # alternatives uniform. 7554: * alliant.md: Likewise; also in movdf patterns. 7555: 7556: * genoutput.c (output_epilogue): Spurious `break' disabled 7557: error check for mismatched # of alternatives. 7558: (output_epilogue, scan_operands): Errors in input are not fatal. 7559: 7560: * flow.c (regno_uninitialized): Avoid crash if no basic blocks. 7561: 7562: * sparc.md (move insns): Delete special patterns that handled 7563: symbolic constant addresses. The main move patterns now do this. 7564: * output-sparc.c (output_store, output_load_{fixed,floating}): 7565: Subroutines to do the work for this; has the code from those 7566: special patterns. Also fixed bugs in testing against cc_status.mdep. 7567: 7568: * output-sparc.c (output_delay_insn): Clear the CC status. 7569: This is necessary for %g1 in the case of a call insn. 7570: 7571: * tm-i386.h (REG_CLASS_CONTENTS): INDEX_REGS is now all but ESP. 7572: (REGNO_REG_CLASS): Corresponding change. 7573: (REG_CLASS_FROM_LETTER): Eliminate `x' letter since not used. 7574: 7575: * optabs.c (emit_cmp_insn): New arg ALIGN, used for BLKmode. 7576: All callers changed. 7577: Pass alignment (as rtx) as 4th arg to cmpstr gen functions. 7578: Use cmpstrhi if available. 7579: * expr.c (compare): Only this call passes a nonzero ALIGN. 7580: 7581: * expr.c (emit_push_insn, emit_block_move): Pass alignment (as rtx) 7582: as 4th arg to movstr gen functions. 7583: 7584: Tue Jan 10 23:43:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7585: 7586: * stor-layout.c (layout_type): Use BLKmode, if a struct isn't 7587: aligned well enough for a scalar mode. 7588: 7589: * expr.c (expand_expr): For static CONSTRUCTOR, ensure memory 7590: address is made valid. 7591: 7592: * genpeep.c (match_rtx): For MATCH_OPERATOR, set max_opno, n_operands. 7593: 7594: Mon Jan 9 17:07:56 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7595: 7596: * varasm.c (output_constant): Split strings every 2000 chars. 7597: 7598: * stmt.c (expand_end_case): Test bkwds, handling constant switch arg. 7599: 7600: Fri Jan 6 09:11:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7601: 7602: * output-sparc.c (output_delay_insn): Add parens to first if test. 7603: (output_move_double): Turn addr for `sethi' into MEM for %m. 7604: 7605: * c-typeck.c (convert_for_assignment): move test for ERROR_MARK. 7606: 7607: * c-parse.y (unary_expr): Allow cast_expr as arg of unary op. 7608: 7609: * stmt.c (expand_decl): Don't abort if FUNCTION_DECL lacks rtl; 7610: assemble_variable is called after this. 7611: 7612: * c-parse.y (primary -> identifier): Separate case for undeclared 7613: identifier outside of functions; avoids confusing error msgs. 7614: 7615: Thu Jan 5 01:24:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7616: 7617: * Makefile (install): Ignore errors in all `if' commands. 7618: Create $(libdir) if nec. 7619: 7620: * Makefile (insn-*.[ch]): Put in empty commands. May help Ultrix Make. 7621: 7622: * stmt.c (emit_case_nodes): New arg UNSIGNEDP says do unsigned jumps. 7623: Arg INDEX is an rtx, not a tree. 7624: (expand_end_case): Pass that arg. 7625: (node_has_{low,high}_bound): check for overflow, avoid confusion. 7626: 7627: Wed Jan 4 02:24:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7628: 7629: * sparc.md (movdi, movdf): Use `&' constraint when loading reg from; 7630: otherwise can lose on (set (reg X) (mem (plus (reg X) (reg X+1)))). 7631: 7632: * expr.c (emit_push_insn): For memory scalar partially going in regs, 7633: copy each word to reg before pushing. Avoids memory-to-memory move. 7634: Make the displaced address valid. 7635: Also delete unfinished STACK_OFFSET variable. 7636: 7637: * c-parse.y (check_newline): Read just one #-directive and return. 7638: This prevents lossage when toplev.c calls it to get the main input file 7639: name, and it gets a following #ident as well. 7640: 7641: * c-decl.c (lang_decode_option): Set warn_cast_qual for -Wcast-qual. 7642: * c-typeck.c (build_c_cast): Issue some warnings if set. 7643: 7644: * tm-3b1.h (ASM_OUTPUT_CASE_LABEL): Missing `;'. 7645: 7646: Tue Jan 3 18:07:31 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7647: 7648: * expr.c (emit_library_call): Do force_operand on each operand 7649: if it isn't a REG, MEM or constant. 7650: Do this, or mode conversions, earlier, before loading any hard regs. 7651: 7652: * m68k.md (addsi3) [SGS]: Put a zero displacement in the `lea'. 7653: 7654: * c-typeck.c (default_conversion): Don't lose `const' or `volatile' 7655: when converting array type to pointer. 7656: 7657: Mon Jan 2 01:18:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7658: 7659: * expmed.c (store_bit_field, store_fixed_bit_field): New arg, 7660: alignment in bytes the structure is known to have. 7661: (store_fixed_bit_field): Handle working in halfwords, 7662: in case the pointer isn't known to have fullword alignment. 7663: * expmed.c (extract_bit_field, extract_fixed_bit_field): likewise. 7664: (extract_bit_field): fix unsignedp arg to extract_fixed_bit_field. 7665: * expr.c (store_field): New arg, passed to {store,extract}_bit_field 7666: (expand_assignment, store_constructor): Pass that arg. 7667: (expand_expr): Pass new arg to extract_bit_field. 7668: 7669: * m68k.md (casesi_2 recognizer): Offset always 6 for 3b1. 7670: 7671: * c-typeck.c (convert_for_assignment): Strip from rhs no-op NOP_EXPRs 7672: put on by build_c_cast (to make the result not an lvalue). 7673: (build_modify_expr, build_compound_expr): likewise. 7674: (build_conditional_expr): likewise. 7675: (actualparameterlist, build_function_call): likewise. 7676: (default_conversion, truthvalue_conversion): likewise. 7677: 7678: * loop.c (move_movables): If reg has moved out of one loop, 7679: divide `savings' by 2. 7680: 7681: Sun Jan 1 03:00:07 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7682: 7683: * c-typeck.c (truthvalue_conversion): Distribute the conversion 7684: into the arms of a COND_EXPR. 7685: 7686: * cse.c (fold_rtx): Don't fold a MINUS with VOIDmode 7687: into a symbolic constant--it's incorrect. 7688: 7689: * cse.c (cse_insn): If SRC is a subreg with known value, simplify it. 7690: 7691: * integrate.c (copy_rtx_and_substitute): Allow a ref to a part of 7692: MEM parm whose actual parm is a reg, provided it refs 7693: the low part of the MEM. 7694: (function_cannot_inline_p): Don't inline functions which have 7695: aggregate parameters and take their addresses. This could produce 7696: refs to non-low-parts, which copy_rtx_and_substitute can't handle. 7697: 7698: * c-typeck.c (build_modify_expr): If lhs is COND_EXPR, 7699: make a COMPOUND_EXPR to ensure the rhs is computed before the branch. 7700: 7701: * Implement -pipe. 7702: * gcc.c (do_spec_1): `|' is now a special delimiter 7703: which goes in the argbuf. 7704: When a newline is preceded by a `|', delete it if no -pipe. 7705: Otherwise, don't execute yet, and keep scanning. 7706: (do_spec): At end, if we have stuff with no newline, execute it. 7707: (handle_braces): Implement %{|foo:...}. 7708: (execute): If argbuf contains some `|'s, run several processes 7709: and pipe them together. 7710: (pexecute): new subroutine to make one of the processes. 7711: (find_exec_file): new fn to search for program to execute. 7712: (record_temp_file): new arg FAIL_ONLY. 7713: (store_arg): 2nd arg == 3 means delete file on failure. 7714: This is used for output files. 7715: (delete_temp_files): delete certain files only if fail. 7716: 7717: * cccp.c (include_defaults): /usr/include before /usr/local/include. 7718: 7719: * recog.c (asm_noperands): 1-off in loop checking CLOBBERS 7720: when no output operands and PARALLEL. 7721: 7722: * expmed.c (negate_rtx): Sign-extend the high bits rather than clear. 7723: 7724: * cse.c (fold_rtx): fold negation of real values. 7725: (fold_cc0): fold comparisons on real values. 7726: 7727: * Makefile (install): Use $(INSTALL) for gcc.1 and files in USER_H. 7728: 7729: * Handle floating-point problems for cross-compilation. 7730: 7731: * real.h (CONST_DOUBLE_LOW, etc.): new macros to access CONST_DOUBLE. 7732: * varasm.c (immed_double_const, decode_rtx_const): Use these. 7733: ({force,clear}_const_double_mem): Likewise. 7734: * output-*.c (output_move_double): Use these. 7735: * output-m68k.c (standard_{68881,sun_fpa}_constant_p): Likewise. 7736: * tm-*.h (PRINT_OPERAND): Use these. 7737: * output-i386.c (print_operand): Use these. 7738: * final.c (output_addr_const): Likewise. 7739: * emit-rtl.c (gen_rtx): Delete special code for CONST_DOUBLE. 7740: 7741: * real.h (union real_extract): Portable type for storing real as ints. 7742: * varasm.c (immed_double_const, decode_rtx_const): Use these. 7743: 7744: * varasm.c (immed_real_const_1, decode_rtx_const): 7745: Don't assume REAL_VALUE_TYPE is 2 ints long. 7746: * emit-rtl.c (init_emit_once): Likewise. 7747: 7748: * real.h (REAL_VALUE_TYPE): Define as `double' if not defined. 7749: (REAL_IS_NOT_DOUBLE): Define this if default REAL_VALUE_TYPE not used. 7750: (REAL_VALUES_EQUAL, REAL_VALUES_LESS): Define, if not already defined. 7751: (REAL_VALUE_LDEXP, REAL_VALUE_ATOF): Likewise. 7752: * tree.h (struct tree_real_cst): Use REAL_VALUE_TYPE for the value. 7753: 7754: * rtl.c (init_rtl): Increase length of CONST_DOUBLE if REAL_VALUE_TYPE 7755: needs more space. Change the rtx_format element to match. 7756: * varasm.c (immed_real_const_1): 1st arg now has REAL_VALUE_TYPE. 7757: (force_const_mem): Assume a CONST_DOUBLE contains REAL_VALUE_TYPE. 7758: * emit-rtl.c (init_emit_once): Likewise. 7759: And use REAL_VALUE_ATOF to get a floating zero. 7760: * optabs.c (expand_float): Use REAL_VALUE_TYPE, REAL_VALUE_LDEXP. 7761: * c-parse.y (yylex): Likewise, and use REAL_VALUE_ATOF. 7762: * fold-const.c (split_tree): Don't accept REAL_CSTs. 7763: (combine, fold_convert, fold): Use REAL_ARITHMETIC if defined; 7764: else don't fold reals if they are not doubles. 7765: * tree.c (build_real_from_int_cst): Likewise. 7766: * print-tree.c (dump) [REAL_IS_NOT_DOUBLE]: output float value 7767: in hex, since we don't know how to do it right. 7768: 7769: Sat Dec 31 14:15:13 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7770: 7771: * optabs.c (init_optabs): Handle new macros {U,}MULSI3_LIBCALL, 7772: DIVSI3_LIBCALL, MODSI3_LIBCALL. 7773: * tm-sparc.h: Define {,U}{MUL,DIV,MOD}SI3 to call Sun's library direct. 7774: 7775: * tm-sun3-nfp.h, tm-sun3-fpa.h: New files. 7776: 7777: Fri Dec 30 00:14:36 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7778: 7779: * cccp.c (main): Certain envvars specify a file to write deps info to. 7780: 7781: * toplev.c (compile_file): Warn about undefined fns declared static. 7782: 7783: * m68k.md (casesi_2 recognizer) [SGS] RTX_INTEGRATED_P test backwards. 7784: * tm-3b1.h (ASM_OUTPUT_CASE_LABEL): Likewise. Also missing `\'. 7785: 7786: * reload1.c (count_occurrences): New function. 7787: (choose_reload_targets): Don't delete a reload if the same reg 7788: is used elsewhere in the current insn. 7789: (delete_output_reload): code split out from choose_reload_targets. 7790: 7791: * c-typeck.c (build_c_cast): Always put on some operator, 7792: so the cast is never an lvalue for strict ANSI. 7793: 7794: * c-typeck.c (initializer_constant_valid_p): Don't depend on 7795: distinction between NOP_EXPR and CONVERT_EXPR. 7796: 7797: * c-convert.c: Fns reordered; new comments. 7798: 7799: * fold-const.c (fold): If simplifying a NOP_EXPR within a BIT_AND_EXPR, 7800: return a NOP_EXPR. 7801: New var TYPE holds type of expr. 7802: 7803: * c-parse.y (expr_no_commas): Split off cast_expr and unary_expr, 7804: to reject `sizeof (int) foo'. 7805: 7806: * toplev.c (main): Treat plain `-' as input filename. 7807: 7808: * final.c (final): If an insn's output routine returns 0, 7809: it means to output the deleted compare insn immediately preceding. 7810: 7811: * m68k.md (branch insns): Use 0 as 3rd arg for OUTPUT_JUMP 7812: rather than explicitly clearing the overflow flag. 7813: 7814: * tm-i386.h (OUTPUT_JUMP): Really use NO_OV; don't abort. 7815: * i386.md (branch insns): Put real data (sometimes 0) in 3rd arg 7816: of OUTPUT_JUMP. 0 means preceding test may not be deleted. 7817: (lea pattern): Clear the cc's. 7818: * output-i386.c (notice_update_cc): various arith insns set the cc's. 7819: 7820: Thu Dec 29 13:22:01 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7821: 7822: * stmt.c (expand_decl_init): Do nothing for static decls. 7823: 7824: * reload.c (find_reloads_address{,_1}): Return 1 iff entire arg 7825: was reloaded as a whole, else 0. 7826: (find_reload): If find_reloads_address returns 1, don't let that MEM 7827: satisfy a `>' or `<' constraint. 7828: 7829: * m68k.md (cmpmb): Delete special pattern, make cmpqi handle it. 7830: The special pattern couldn't handle reloading the incremented register. 7831: 7832: * integrate.c (copy_rtx_and_substitute): Test BYTES_BIG_ENDIAN, 7833: not BITS... 7834: 7835: * combine.c (subst): Consider big-endian correction 7836: when simplifying (subreg (mem ...) ...). 7837: 7838: * reload.c (find_reloads): Don't crash if matching operands in `asm' 7839: are both read or both write. 7840: 7841: * expr.c (emit_push_insn): Address for movstr must be XINNER, not X. 7842: 7843: * toplev.c (main): Typo parsing `-fno...'. 7844: 7845: Wed Dec 28 13:07:21 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7846: 7847: * toplev.c (rest_of_compilation): `volatile' fns need jump_optimize 7848: for warnings, as if -Wreturn-type. 7849: * c-typeck.c (c_expand_return): Warn about `return' in a `volatile' fn. 7850: * c-decl.c (finish_function): Warn if `volatile' fn can drop thru end. 7851: 7852: * cse.c (canon_reg): Handle nulls as subexpressions. 7853: (fold_rtx, canon_hash, mention_regs, exp_equiv_p): Likewise. 7854: * loop.c (invariant_p, replace_regs, replace_call_address, may_trap_p, 7855: {basic,general}_induction_var): Likewise. 7856: 7857: * expr.c (expand_call): Handle `const' functions: 7858: Local IS_CONST is 1 if function is const. 7859: Attach REG_RETVAL and REG_LIBCALL notes around the call. 7860: Copy fn address to register outside of those notes. 7861: Likewise precompute all parms outside them. 7862: 7863: * expr.c (expand_call): If fn is volatile, emit barrier after the call. 7864: 7865: * c-decl.c (grokdeclarator): Allow function declared const or volatile. 7866: 7867: Sat Dec 24 18:40:12 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7868: 7869: * integrate.c (function_cannot_inline_p): If STRUCT_VALUE_INCOMING 7870: or STRUCT_VALUE is defined, can't inline functions returning BLKmode. 7871: 7872: Fri Dec 23 13:26:26 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7873: 7874: * expr.c (store_constructor): Compute array's size 7875: with int_size_in_bytes. 7876: 7877: * varasm.c (assemble_variable): If shared data, go to data section 7878: before outputting an uninitialized symbol. 7879: 7880: * tm-sequent.h (ASM_OUTPUT_ALIGN_CODE): Missing backslash. 7881: (SHARED_SECTION_ASM_OP): Macro defined. 7882: * tm-seq386.h (SHARED_SECTION_ASM_OP): Macro defined. 7883: 7884: * c-typeck.c (c_expand_asm_operands): Warn if output op is `const'. 7885: 7886: * Fix problem where a stmt expr in an initialization 7887: refers to the variable it is initializing. 7888: * stmt.c (expand_decl_init): New fn split out from `expand_decl'. 7889: * c-decl.c (finish_decl): Call that. 7890: Don't call expand_decl if already done. 7891: (start_decl): Call expand_decl if type is complete already. 7892: 7893: * Makefile (install): Typo in ranlib command. 7894: 7895: Thu Dec 22 15:57:12 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu) 7896: 7897: * tree.h (tree_identifier): New field. 7898: (IDENTIFIER_ERROR_LOCUS): Accessor for it. 7899: * c-parse.y (primary => IDENTIFIER): 7900: Undeclared variable gets one err msg per function it appears in. 7901: 7902: * ns32k.md (andsi3): Delete extra brace. 7903: 7904: * alliant.md, xm-alliant.h, tm-alliant.h, output-alliant.c: New files. 7905: 7906: * combine.c (SUBST, SUBST_INT): Store new field `is_int'. 7907: (copy_substitutions): Don't copy an int as an rtx. 7908: 7909: * Makefile (INSTALL): Install gcc.1 properly. 7910: 7911: * tm-ns32k.h (FUNCTION_PROLOGUE, ASM_OUTPUT_ALIGN_CODE): 7912: Add missing backslashes. 7913: 1.1.1.9 root 7914: See file OChangeLog.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.