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