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