|
|
1.1 ! root 1: Sat Jan 1 06:27:05 1994 Richard Kenner ([email protected]) ! 2: ! 3: * Version 2.5.8 released. ! 4: ! 5: Fri Dec 31 06:27:57 1993 Richard Kenner ([email protected]) ! 6: ! 7: * combine.c (force_to_mode): Add new parm JUST_SELECT; all ! 8: callers changed. ! 9: ! 10: Fri Dec 24 05:34:38 1993 Richard Kenner ([email protected]) ! 11: ! 12: * alpha.md (define_attr type): Add new type ISUBR. ! 13: (divmod): Set to type ISUBR. ! 14: * alpha.c (output_prolog): Need GP if type ISUBR. ! 15: ! 16: * reload.c (push_reload, find_reloads): Reload inside a paradoxical ! 17: SUBREG of MEM except don't force a reload unless the inner mode ! 18: is narrower than BIGGEST_ALIGNMENT. ! 19: ! 20: * c-typeck.c (check_init_type_bitfields): Check recursively inside ! 21: arrays and records. ! 22: ! 23: * cse.c (simplify_binary_operation): Can fold multi-word ! 24: operations when first is CONST_INT. ! 25: (simplify_binary_operation, case PLUS, MINUS): Don't call ! 26: plus_constant when OP0 is VOIDmode. ! 27: ! 28: * c-typeck.c (pop_init_level): Don't abort if have incomplete array ! 29: type inside some other type. ! 30: ! 31: Thu Dec 23 07:30:24 1993 Richard Kenner ([email protected]) ! 32: ! 33: * Makefile.in (libgcc.a): Allow chmod of tmpcopy directory to ! 34: fail since it can be empty. ! 35: ! 36: * gcc.c (default_compilers, gnat1): Don't write -gnatb. ! 37: ! 38: * expr.c (expand_expr, case MINUS_EXPR): When expanding an ! 39: initializer, use plus_constant as appropriate. ! 40: ! 41: Thu Dec 23 09:03:30 1993 Phil Nelson ([email protected]) ! 42: ! 43: * ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long, not .double. ! 44: ! 45: Tue Dec 21 17:37:20 1993 Brendan Kehoe ([email protected]) ! 46: ! 47: * cp-tree.h (VTABLE_NAME): No def with NO_{DOLLAR,DOT} defined. ! 48: (VTABLE_NAME_P): Use it instead of VTABLE_NAME_FORMAT. ! 49: ! 50: Tue Dec 21 13:25:39 1993 Jim Wilson ([email protected]) ! 51: ! 52: * rtlanal.c (replace_regs, case REG): Return copies of SUBREGs, to ! 53: avoid invalid sharing. ! 54: ! 55: Mon Dec 20 19:10:16 1993 Richard Kenner ([email protected]) ! 56: ! 57: * c-typeck.c (struct initializer_stack): New field ELEMENTS. ! 58: (start_init, finish_init): Save and restore constructor_elements. ! 59: ! 60: * emit-rtl.c (gen_lowpart_common): Return a new hard reg even ! 61: if not valid in MODE if the input REG is not valid in its mode. ! 62: ! 63: * rs6000.md (divsi3): Correct logic for when we call force_reg. ! 64: (modsi3): Ensure operands[2] is a CONST_INT; include REG in ! 65: predicate. ! 66: ! 67: Thu Dec 16 11:34:48 1993 Ian Lance Taylor ([email protected]) ! 68: ! 69: * fixincludes: Do not preserve _HIDDEN_VA_LIST in stdio.h. ! 70: ! 71: Sun Dec 12 06:47:14 1993 Richard Kenner ([email protected]) ! 72: ! 73: * Version 2.5.7 released. ! 74: ! 75: Sun Dec 12 06:18:33 1993 Jim Wilson ([email protected]) ! 76: ! 77: * function.c (thread_prologue_and_epilogue_insns): When constructing ! 78: USE chain, set both NEXT_INSN and PREV_INSN links. Also, preserve ! 79: order of USE insns in chain. ! 80: ! 81: Sun Dec 12 06:13:51 1993 DJ Delorie ([email protected]) ! 82: ! 83: * configure.bat: Update to relect recent changes elsewhere. ! 84: * objc/makefile.dos: Likewise. ! 85: ! 86: Sat Dec 11 18:09:50 1993 Per Bothner ([email protected]) ! 87: ! 88: * dbxout.c (dbxout_type): The "base type" of a SET_TYPE is its ! 89: DOMAIN_TYPE, not its TREE_TYPE. ! 90: * dwarfout.c (output_type): Likewise. ! 91: ! 92: Sat Dec 11 07:36:57 1993 David Rifkind ([email protected]) ! 93: ! 94: * rs6000.md: Add a few missing new nmemonics. ! 95: ! 96: Sat Dec 11 06:57:55 1993 Richard Kenner ([email protected]) ! 97: ! 98: * cccp.c (INPUT_STACK_MAX): Double size. ! 99: ! 100: * integrate.c (initialize_for_inline): Handle CONCAT when setting up ! 101: parmdecl_map. ! 102: ! 103: * rs6000.md (modsi3): Reject REG in predicate to avoid undefined ! 104: reference and extra pseudo creation if will fail. ! 105: ! 106: Fri Dec 10 10:03:36 1993 Mike Stump ([email protected]) ! 107: ! 108: * toplev.c (lang_options): Change -fnodollars-in-identifiers to ! 109: -fno-dollars-in-identifiers to match docs. ! 110: ! 111: Fri Dec 10 15:42:02 1993 Jim Wilson ([email protected]) ! 112: ! 113: * c-lex.c (yylex): When reading malformed floating point constant, ! 114: avoid printing error more than once, and avoid passing malformed ! 115: number to subsequent atof call. ! 116: ! 117: Fri Dec 10 06:03:35 1993 Richard Kenner ([email protected]) ! 118: ! 119: * rs6000.c (easy_fp_constant): Use input_operand to see if ! 120: each word can be loaded in one insn. ! 121: ! 122: * rs6000.md: Change numerous occurrences of TARGET_POWERPC ! 123: to ! TARGET_POWER and make related changes. ! 124: ! 125: * rs6000.md (modsi3): Rework to operate correctly for both POWER ! 126: and PowerPC. ! 127: ! 128: Thu Dec 9 16:19:05 1993 Brendan Kehoe ([email protected]) ! 129: ! 130: * cp-tree.h (OPERATOR_TYPENAME_P): Define outside of ! 131: NO_{DOLLAR,DOT} macro checks, so it always gets defined. ! 132: (VTABLE_NAME_P): Define for NO_DOT && NO_DOLLAR_IN_LABEL. ! 133: ! 134: Wed Dec 8 05:46:26 1993 Richard Kenner ([email protected]) ! 135: ! 136: * flow.c (mark_used_regs, case CLOBBER): Refine previous change ! 137: to just look at the address of a MEM inside a CLOBBER. ! 138: ! 139: * fold-const.c (fold, case *_{DIV,MOD}_EXPR): When using ! 140: distributive law, take care when C2 is negative. ! 141: ! 142: Tue Dec 7 08:45:59 1993 Richard Kenner ([email protected]) ! 143: ! 144: * flow.c (mark_used_regs): Look inside a CLOBBER; it may be the only ! 145: place regs are used if it has a stack slot that is from an inlined ! 146: function. ! 147: ! 148: Mon Dec 6 20:56:11 1993 David Rifkind ([email protected]) ! 149: ! 150: * expr.c (move_block_{to,from}_reg): Check HAVE_{load,store}_multiple ! 151: value; don't just #idef the symbol. ! 152: ! 153: Mon Dec 6 08:01:59 1993 Torbjorn Granlund ([email protected]) ! 154: ! 155: * pa.c (hppa_legitimize_address): If we can't legitimize, ! 156: do nothing; don't call abort. ! 157: ! 158: Mon Dec 6 07:38:30 1993 Richard Earnshaw ([email protected]) ! 159: ! 160: * arm.c (output_ascii_pseudo_op): 8-bit chars should be zero-extended. ! 161: * arm.h (ASM_OUTPUT_ASCII): Likewise. ! 162: ! 163: Mon Dec 6 07:32:59 1993 Richard Kenner ([email protected]) ! 164: ! 165: * objc/encoding.h: Include ctype.h. ! 166: ! 167: * expr.c (expand_expr, case PLACEHOLDER_EXPR): Remove top entry ! 168: from PLACEHOLDER_LIST when expanding the value in it. ! 169: ! 170: Mon Dec 6 05:40:38 1993 Doug Evans ([email protected]) ! 171: ! 172: * emit-rtl.c (start_sequence): Save current sequence_rtl_expr. ! 173: ! 174: Fri Dec 3 07:07:01 1993 Richard Kenner ([email protected]) ! 175: ! 176: * Version 2.5.6 released. ! 177: ! 178: * c-typeck.c (c_expand_return): Return if convert_for_assignment ! 179: returns error_mark_node. ! 180: ! 181: Fri Dec 3 06:42:05 1993 Arne Henrik Juul ([email protected]) ! 182: ! 183: * fixincludes (stdio.h): Fix typos (missing quote) in previous change. ! 184: ! 185: Fri Dec 3 06:35:57 1993 Jim Wilson ([email protected]) ! 186: ! 187: * gstddef.h: Define and protect against __STDDEF_H__ for Irix 5.1. ! 188: ! 189: * sparc.c (shift_operand): Delete function. ! 190: * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use arith_operand instead ! 191: of shift_operand. Truncate shift counts to 5 bits. ! 192: ! 193: Thu Dec 2 08:11:00 1993 Stefan Rapp ([email protected]) ! 194: ! 195: * loop.c (scan_loop): Correct arguments for register check. ! 196: ! 197: Thu Dec 2 07:07:05 1993 Ian Lance Taylor ([email protected]) ! 198: ! 199: * fixincludes: Preserve _HIDDEN_VA_LIST when changing VA_LIST to ! 200: DUMMY_VA_LIST. Change __va_list to __gnuc_va_list. For AIX ! 201: 3.2.5. ! 202: ! 203: Thu Dec 2 07:00:24 1993 Richard Kenner ([email protected]) ! 204: ! 205: * emit-rtl.c (push_topmost_sequence, end_sequence): Update ! 206: sequence_rtl_expr from sequence_stack entry. ! 207: ! 208: * calls.c (emit_library_call): Use Pmode, not OUTMODE, when passing ! 209: in structure address. ! 210: ! 211: * a29k.c (secondary_reload_class): Kernel regs are in same class ! 212: as user regs. ! 213: ! 214: * a29k.md (movti split): Set CR to 3, not 1 like DImode. ! 215: ! 216: Thu Dec 2 06:46:07 1993 Jim Wilson ([email protected]) ! 217: ! 218: * reload.c (find_reloads_toplev): Replace obsolete reference to ! 219: BYTE_LOADS_*_EXTEND with LOAD_EXTEND_OP. ! 220: ! 221: Thu Dec 2 06:39:16 1993 Jeffrey A Law ([email protected]) ! 222: ! 223: * pa.h (ASM_STABS_OP, ASM_STABN_OP): Define. ! 224: (ASM_FILE_END): Put a TAB before the .stabs directive. ! 225: ! 226: Thu Dec 2 06:30:17 1993 David Edelsohn ([email protected]) ! 227: ! 228: * rs6000.md (define_function_unit): Restore ppc601 load and fpload ! 229: timings. ! 230: ! 231: Wed Dec 1 17:24:17 1993 Brendan Kehoe ([email protected]) ! 232: ! 233: Wed Nov 24 06:36:10 1993 Brendan Kehoe ([email protected]) ! 234: ! 235: * cp-tree.c (get_decl_list): Use the DECL_NESTED_TYPENAME for the ! 236: value we're going to paste onto CLASSTYPE_ID_AS_LIST. This will get ! 237: the right name for nested classes, and for templates. ! 238: ! 239: Mon Nov 29 13:09:31 1993 Brendan Kehoe ([email protected]) ! 240: ! 241: * cp-decl.c (grokdeclarator): Properly evaluate TREE_PUBLIC for ! 242: friends. (Fixes spurious warnings about friends being declared ! 243: static but not used.) ! 244: ! 245: * cp-type2.c (build_functional_cast): If we got an error_mark_node ! 246: from build_method_call, make sure EXPR_AS_METHOD is cleared out ! 247: again, so the later checks will work properly. ! 248: ! 249: * cp-decl.c (build_enumerator): Fix logic so an enum inside a class ! 250: that's local to a function has its enumerators end up in that ! 251: class's list of members, not in the list for the function. ! 252: ! 253: Tue Nov 30 19:26:05 1993 Richard Kenner ([email protected]) ! 254: ! 255: * sparc.h (STATIC_CHAIN_REGNUM): Use %g2; %g1 is reserved ! 256: for prologue. ! 257: (TRAMPOLINE_TEMPLATE, INITIALIZE_TRAMPOLINE): Swap useage of %g1 ! 258: and %g2. ! 259: ! 260: * m68k.md (movdf): Don't need earlyclobber when a register ! 261: is copied to itself. ! 262: ! 263: Sat Nov 27 06:19:22 1993 Richard Kenner ([email protected]) ! 264: ! 265: * Version 2.5.5 released. ! 266: ! 267: * c-typeck.c (pop_init_level): Ensure never on momentary_obstack ! 268: when calling complete_array_type. ! 269: ! 270: Sat Nov 27 03:52:26 1993 Richard Stallman ([email protected]) ! 271: ! 272: * fixproto (scanning files_to_check): Create subdirs files are in. ! 273: ! 274: * config/m68k/m68k.md (cmpsi, cmphi, cmpqi): Handle SGS_CMP_ORDER ! 275: when outputting cmpm insn. ! 276: ! 277: Fri Nov 26 15:57:24 1993 Richard Stallman ([email protected]) ! 278: ! 279: * gcc.c (default_compilers): Do define __GNUC_MINOR__ if input is `-'. ! 280: ! 281: Thu Nov 25 18:16:25 1993 Richard Kenner ([email protected]) ! 282: ! 283: * function.h (struct sequence_stack): New field sequence_rtl_expr. ! 284: (struct function): Likewise. ! 285: * emit-rtl.c: Include tree.h. ! 286: (sequence_rtl_expr): New variable. ! 287: (save_emit_status, restore_emit_status): Save and restore it. ! 288: (init_emit): Initialize it. ! 289: (start_sequence_for_rtl_expr): New function. ! 290: * function.c: Declare sequence_rtl_expr. ! 291: (struct temp_slot): New field rtl_expr. ! 292: (assign_stack_temp): Set it from sequence_rtl_expr. ! 293: ({free,pop}_temp_slots): Don't free any slot with nonzero rtl_expr. ! 294: (free_temps_for_rtl_expr): New function. ! 295: * expr.c (expand_expr, case RTL_EXPR): Call free_temps_for_rtl_expr. ! 296: * stmt.c (expand_start_stmt_expr): Call start_sequence_for_rtl_expr ! 297: instead of start_sequence. ! 298: * cp-parse.y (except_stmts): Likewise. ! 299: * cp-init.c (build_new): Likewise. ! 300: * cp-typeck.c (build_modify_expr): Likewise. ! 301: * Makefile.in (emit-rtl.o): Includes tree.h. ! 302: ! 303: Thu Nov 25 17:24:02 1993 Richard Stallman ([email protected]) ! 304: ! 305: * Makefile.in (stmp-fixproto): Create include subdir if doesn't exist. ! 306: ! 307: Wed Nov 24 14:32:47 1993 Jim Wilson ([email protected]) ! 308: ! 309: * c-common.c (shorten_compare): Correct typo from last change. ! 310: ! 311: Wed Nov 24 13:25:09 1993 Richard Earnshaw ([email protected]) ! 312: ! 313: * protoize.c (save_def_or_dec): Correct typo in change of Nov 23. Make ! 314: sure pointers within def_dec_p are valid before it is freed. ! 315: ! 316: Wed Nov 24 07:02:50 1993 Brendan Kehoe ([email protected]) ! 317: ! 318: * expr.c (expand_expr, case ADDR_EXPR): Also pass const0_rtx if ! 319: necessary, to avoid multiple cleanup runs. ! 320: (expand_expr, case WITH_CLEANUP_EXPR): Pass const0_rtx if ! 321: necessary, to keep the recursive call from running the same ! 322: cleanups twice. ! 323: (expand_expr, case TARGET_EXPR): Don't try to add the cleanup if ! 324: ignore's non-zero, since we would have already done it. ! 325: ! 326: Tue Nov 23 21:10:22 1993 Brendan Kehoe ([email protected]) ! 327: ! 328: Cygnus<->FSF C++ front-end merge. ! 329: Tue Nov 23 11:05:28 1993 Jason Merrill ([email protected]) ! 330: ! 331: * cp-errfn.c (STRDUP): Cast return value of alloca to (char *). ! 332: ! 333: Mon Nov 22 00:07:17 1993 Brendan Kehoe ([email protected]) ! 334: ! 335: * cp-lex.c (real_yylex): Move declaration of tmp inside the block ! 336: that uses it, so compilers don't try to mis-optimize it away. ! 337: ! 338: * cp-search.c (dfs_pushdecls): Make sure there's a lang_specific ! 339: node on the decl before trying to print the warning out. ! 340: ! 341: * cp-decl.c (grokdeclarator): Say the member was redeclared as ! 342: static, not just that it can't be declared static. ! 343: ! 344: * cp-search.c (get_first_matching_virtual): Don't do ! 345: SET_IDENTIFIER_ERROR_LOCUS as an attempt to avoid multiple warnings ! 346: with -Woverloaded-virtual. It changes the compiler's behavior ! 347: (elicits unwanted errors). ! 348: ! 349: Sat Nov 20 19:31:01 1993 Brendan Kehoe ([email protected]) ! 350: ! 351: * cp-tree.h (lang_type): Add field `has_nonpublic_ctor', and delete ! 352: dummy since we used the two bits it was holding out for the MIPS ! 353: compiler. ! 354: (TYPE_HAS_NONPUBLIC_CTOR): Defined. ! 355: * cp-class.c (finish_struct_methods): Set TYPE_HAS_NONPUBLIC_CTOR ! 356: as appropriate for a copy ctor with non-public visibility. ! 357: (finish_struct): Don't generate a copy ctor if the type if one of ! 358: its fields has a private copy ctor, or a protected one for which we ! 359: aren't allowed access. ! 360: (base_info): Add member `saw_nonpublic_ctor'. ! 361: (finish_base_struct): Set b->saw_nonpublic_ctor if necessary. ! 362: ! 363: * cp-method.c (hack_identifier): Make sure there's a ! 364: DECL_LANG_SPECIFIC before getting ready to grope around a class. ! 365: ! 366: * cp-typeck.c (build_indirect_ref): Complain if we encounter a ! 367: pointer to member. ! 368: ! 369: Fri Nov 19 16:37:28 1993 Brendan Kehoe ([email protected]) ! 370: ! 371: * cp-decl.c (start_decl): Complain when a function is declared as ! 372: part of a template definition, but the class it's supposed to be ! 373: part of wasn't a template. ! 374: ! 375: * cp-decl.c (pushdecl): Don't warn about shadowing a member of ! 376: `this' if that member is static. ! 377: ! 378: * cp-call.c (convert_harshness_old): Don't die if one of the types ! 379: isn't an aggregate with a binfo. ! 380: (convert_harshness_ansi): Likewise. ! 381: ! 382: Fri Nov 19 12:18:31 1993 Brendan Kehoe ([email protected]) ! 383: ! 384: * cp-typeck.c (convert_for_assignment): Fix typo so initialization ! 385: of a pointer from an integer actually work, rather than emit bogus ! 386: code. ! 387: ! 388: * cp-pt.c (overload_template_name): Accept unions for templates. ! 389: (instantiate_class_template): Likewise. ! 390: * cp-parse.y (template_instantiate_once): Likewise. ! 391: ! 392: * cp-lex.c (real_yylex): Instead of using the "shorts" method to ! 393: check for overflow, use the C front-end's "parts" method (to handle ! 394: any size, and not rely on long long being 32 bits wide). ! 395: ! 396: Thu Nov 18 11:51:34 1993 Jason Merrill ([email protected]) ! 397: ! 398: * cp-lex.c (cons_up_default_function): Disable earlier change; it ! 399: screws up stabs somehow. Very strange. ! 400: ! 401: Thu Nov 18 00:16:29 1993 Brendan Kehoe ([email protected]) ! 402: ! 403: * cp-decl.c (grokdeclarator): Say what class is involved when saying ! 404: we can't declare a member inside it. ! 405: ! 406: * cp-lex.c (real_yylex): Recognize operator->() as POINTSAT, not ! 407: POINTSAT_LEFT_RIGHT. By swallowing the parens, we ended up never ! 408: building the call properly for them. ! 409: * cp-parse.y (POINTSAT_LEFT_RIGHT): Remove token. ! 410: (operator_name): Remove POINTSAT_LEFT_RIGHT rule. ! 411: * cp-spew.c (init_spew): Remove POINTSAT_LEFT_RIGHT from ! 412: toks_follow_ids. ! 413: ! 414: * cp-parse.y (primary): Only try to print out the operator's name if ! 415: it's valid. ! 416: ! 417: * cp-decl.c (grok_op_properties): Fix missing parens to keep the ! 418: logic from accidentally giving an error when it shouldn't. ! 419: ! 420: Wed Nov 17 20:04:00 1993 Jason Merrill ([email protected]) ! 421: ! 422: * cp-search.c (dfs_pushdecls): TREE_PURPOSE doesn't have to be ! 423: a _DECL for class_value to be an envelope, it just can't be an ! 424: IDENTIFIER_NODE. ! 425: ! 426: Wed Nov 17 15:54:02 1993 Brendan Kehoe ([email protected]) ! 427: ! 428: * cp-type2.c (process_init_constructor): Deal with pointers to ! 429: members as initializers for initializer lists. ! 430: ! 431: Wed Nov 17 11:48:38 1993 Jason Merrill ([email protected]) ! 432: ! 433: * cp-decl.c (ambi_op_p): Add ++ and --. ! 434: ! 435: * cp-error.c: Lose the anon_parm_name stuff. ! 436: ! 437: * cp-lex.c (cons_up_default_function): Change input_filename for ! 438: synthetic code. ! 439: ! 440: * cp-error.c (dump_aggr_type): Always print const or volatile. ! 441: (dump_function_decl): Only print static if verbose. ! 442: ! 443: * cp-errfn.c (cp_sprintf): New function. ! 444: ! 445: * cp-decl.c (grokfndecl): Be more verbose in complaint about applying ! 446: method qualifiers to non-methods. ! 447: ! 448: Wed Nov 17 09:51:04 1993 Jim Wilson ([email protected]) ! 449: ! 450: * cp-parse.y (attrib): Accept "noreturn" attribute. ! 451: ! 452: Tue Nov 16 12:28:49 1993 Jason Merrill ([email protected]) ! 453: ! 454: * cp-decl2.c (grokoptypename): Fix handling of udc's. ! 455: ! 456: * cp-method.c (build_component_type_expr): Ditto. ! 457: ! 458: * cp-class.c (finish_struct_methods): Be more verbose in complaint ! 459: about overloaded operator delete. ! 460: ! 461: * cp-decl.c (grok_op_properties): Do more checking on operators. ! 462: (grokdeclarator): Remove check for ops being members, fix handling ! 463: of user-defined conversions. ! 464: (grokfndecl): Remove checks for ops, move call to grok_op_properties ! 465: up. ! 466: (finish_decl): Remove check for ops with default arguments. ! 467: (ambi_op_p): New fn, name for either unary or binary op ! 468: (unary_op_p): New fn, checks name for unary op ! 469: ! 470: Mon Nov 15 12:38:54 1993 Brendan Kehoe ([email protected]) ! 471: ! 472: * g++.c (main): If they gave us -v, also show the invocation of the ! 473: gcc driver. ! 474: ! 475: Mon Nov 15 12:04:47 1993 Jason Merrill ([email protected]) ! 476: ! 477: * cp-decl.c (grokdeclarator): Lose "operator <typename>". ! 478: ! 479: * cp-method.c (build_component_type_expr): Ditto. ! 480: ! 481: * cp-decl2.c (grokoptypename): Ditto. ! 482: ! 483: Make C++ accept template parameters as type names; for example, ! 484: doing `template <class T, T t> A {...}'. ! 485: ! 486: * cp-pt.c (end_template_parm_list): Fix a bug in gs4t's patch. ! 487: (grok_template_type): Simplify. ! 488: ! 489: * cp-typeck.c (build_modify_expr_1): Give error if trying to ! 490: get default operator= for class where you can't. ! 491: ! 492: * cp-decl.c (duplicate_decls): Uniformify, fix redeclaration of ! 493: builtins. ! 494: ! 495: Sat Nov 6 19:06:25 EST 1993 Gnanasekaran Swaminathan ([email protected]) ! 496: ! 497: * cp-pt.c (begin_template_parm_list): pushdecl here so that we ! 498: can push TEMPLATE PARAMETERS as type names. ! 499: (process_template_parm): build_lang_decl for TEMPLATE ! 500: PARAMETERS here. ! 501: (grok_template_type): New function. get the actual type of a ! 502: TEMPLATE PARAMETER. ! 503: (coerce_template_parms): delete pushdecl as it is moved (see ! 504: above). Don't build type decls for TEMPLATE PARAMETERS as it is ! 505: built above. ! 506: ! 507: Mon Nov 15 12:04:47 1993 Jason Merrill ([email protected]) ! 508: ! 509: * cp-decl.c (duplicate_decls): If a function has been declared with ! 510: explicit language linkage, redeclaring (or defining) it without ! 511: is OK. ! 512: ! 513: Fri Nov 12 15:30:27 1993 Jason Merrill ([email protected]) ! 514: ! 515: * cp-lex.c (operator_name_string): Fix handling of __ad__foo. ! 516: ! 517: * cp-error.c (dump_decl): Handle demangling of vtable names. ! 518: ! 519: * cp-tree.c (lang_printable_name): Pass everything to decl_as_string, ! 520: not just functions. ! 521: ! 522: * cp-decl2.c (check_classfn): Use cp_error. ! 523: ! 524: * cp-error.c (dump_decl): Fix IDENTIFIER_TYPENAME_P case. ! 525: ! 526: * cp-method.c (build_decl_overload): Propagate IDENTIFIER_OPNAME_P ! 527: to mangled identifier. ! 528: ! 529: * cp-type2.c (my_friendly_abort): Add "confusion" message for ! 530: abort after earlier errors. ! 531: ! 532: Wed Nov 10 18:39:17 1993 Jason Merrill ([email protected]) ! 533: ! 534: * cp-decl2.c (lang_decode_option): Include warn_enum_clash among ! 535: -Wall. ! 536: ! 537: Wed Nov 10 16:18:19 1993 Brendan Kehoe ([email protected]) ! 538: ! 539: * Makefile.in (stamp-cp-parse): Update counts. ! 540: ! 541: Wed Nov 10 15:27:12 1993 Jason Merrill ([email protected]) ! 542: ! 543: * cp-errfn.c (cp_thing): Allow cp_*_at to use an arbitrary argument, ! 544: not just the first, by using, for instance, `%+D'. ! 545: ! 546: Mon Nov 8 13:50:49 1993 Jason Merrill ([email protected]) ! 547: ! 548: * cp-error.c (language_as_string): New function for printing language ! 549: context. Corresponds to %L. ! 550: ! 551: Mon Nov 8 10:39:28 1993 Jason Merrill ([email protected]) ! 552: ! 553: * cp-pt.c (reinit_parse_for_template): Use inline_text_obstack ! 554: instead of permanent_obstack so that yylex() doesn't clobber the ! 555: growing object. ! 556: ! 557: * cp-lex.c (reinit_parse_for_block): Overhaul to reduce code size by ! 558: half and make #line directives in template definitions work. ! 559: ! 560: Sun Nov 7 15:19:28 1993 Jason Merrill ([email protected]) ! 561: ! 562: * cp-pt.c (instantiate_class_template): if (!setup_parse), don't ! 563: mess with lineno and input_filename. ! 564: ! 565: Mon Nov 1 18:15:59 1993 Kung Hsu ([email protected]) ! 566: ! 567: * cp-cvt.c(convert_to_reference): Fix when pass ref to array as ! 568: initializer, the argument type is convert to pointer and the type ! 569: in the field of the class should also convert to pointer. ! 570: ! 571: Fri Nov 5 11:57:41 1993 Jason Merrill ([email protected]) ! 572: ! 573: * cp-pt.c (instantiate_template): Work properly with ! 574: -fexternal-templates. ! 575: ! 576: * cp-lex.c (extract_interface_info): #if 0 out earlier ! 577: tinst_level work pending further work. ! 578: ! 579: Fri Nov 5 07:39:00 1993 Michael Tiemann ([email protected]) ! 580: ! 581: * cp-search.c (compute_visibility): Don't lose access to public ! 582: members from base classes of base classes. ! 583: ! 584: * cp-typeck.c (convert_for_assignment): Allocate enough space in ! 585: LHSBUF for the null terminiator. ! 586: ! 587: Tue Nov 2 07:20:03 1993 Michael Tiemann ([email protected]) ! 588: ! 589: * cp-decl2.c (build_push_scope): Don't push the scope for ! 590: ptr-to-method declarations. Also, clarify some comments. ! 591: ! 592: * cp-parse.y (abs_member_declarator): Add `see_typename' epsilon ! 593: rule so that parser can recognize ptr-to-member functions. ! 594: ! 595: Mon Nov 1 18:15:59 1993 Kung Hsu ([email protected]) ! 596: ! 597: * cp-cvt.c(convert_to_reference): Fix when pass ref to array as ! 598: initializer, the argument type is convert to pointer and the type ! 599: in the field of the class should also convert to pointer. ! 600: ! 601: Mon Nov 1 11:06:39 1993 Jason Merrill ([email protected]) ! 602: ! 603: * cp-errfn.c: Don't include <string.h>. ! 604: Don't use the return value of strcpy. ! 605: ! 606: Sun Oct 31 22:32:05 1993 Jason Merrill ([email protected]) ! 607: ! 608: * cp-call.c (build_scoped_method_call): Return (void)0 if trying to ! 609: call a nonexistent destructor. ! 610: ! 611: * cp-parse.y (object): Support p.~int(). ! 612: ! 613: * cp-error.c (dump_expr): Handle error_mark_node better. ! 614: ! 615: Sat Oct 30 21:49:00 1993 Jason Merrill ([email protected]) ! 616: ! 617: * cp-parse.y (primary): Support p->~int(). ! 618: ! 619: Fri Oct 29 18:09:12 1993 Mike Stump ([email protected]) ! 620: ! 621: * cp-type2.c (build_functional_cast): Don't delete things twice. ! 622: ! 623: Thu Oct 28 15:35:55 1993 Jason Merrill ([email protected]) ! 624: ! 625: * cp-tree.h (struct tinst_level): The template instantiation level ! 626: structure. Used by the code described below. ! 627: ! 628: * cp-pt.c (push_tinst_level): New function for remembering file ! 629: context when instantiating templates. Stores the identifier as well, ! 630: for error reporting. ! 631: (pop_tinst_level): Da opposite. ! 632: (tinst_for_decl): Returns a pointer to the tinst_level structure to ! 633: use for determining which file to associate the current DECL with, or ! 634: NULL to use the current file and line. To restore the old behavior, ! 635: just change this function to "return 0;". ! 636: (instantiate_class_template): push_tinst_level. ! 637: ! 638: * cp-parse.y (tmplate_instantiate_once): pop_tinst_level() after ! 639: instantiating member templates. ! 640: ! 641: * cp-lex.c (extract_interface_info): If instantiating a template, ! 642: set up interface/implementation according to the spot in the user's ! 643: code that triggered the instantiation. ! 644: ! 645: * cp-pt.c (tsubst): Associate the FUNCTION_DECL with the spot in the ! 646: user's code that triggered the instantiation. *Currently disabled* ! 647: ! 648: * cp-class.c (finish_struct): If we're instantiating a template, ! 649: associate the TYPE_DECL with the spot in the user's code that ! 650: triggered the instantiation. *Currently disabled* ! 651: ! 652: * cp-pt.c (coerce_template_parms): Do extra checking on the template ! 653: parms, since templates are more picky than initializers. ! 654: ! 655: Wed Oct 27 17:06:54 1993 Jason Merrill ([email protected]) ! 656: ! 657: * cp-parse.y (datadef): Don't override a template with a forward ! 658: declaration of a template class. ! 659: ! 660: Tue Oct 26 17:54:12 1993 Kung Hsu ([email protected]) ! 661: ! 662: * cp-parse.y (component-declarator0): fix bit field name same as type ! 663: name syntax error. ! 664: ! 665: Tue Oct 26 16:07:29 1993 Mike Stump ([email protected]) ! 666: ! 667: * cp-cvt.c (build_up_reference): Fix typo, fixes core dump on bad ! 668: code. ! 669: ! 670: Tue Oct 26 11:52:09 1993 Jason Merrill ([email protected]) ! 671: ! 672: * cp-error.c (dump_function_decl): Only print default arguments ! 673: if verbose. ! 674: (dump_type): Ditto. ! 675: ! 676: Mon Oct 25 22:18:05 1993 Per Bothner ([email protected]) ! 677: ! 678: * cp-typeck.c (c_sizeof, build_c_cast): Re-enable Salzenberg's ! 679: July 10 change (set TREE_OVERFLOW as well as TREE_CONSTANT_OVERFLOW). ! 680: ! 681: Mon Oct 25 18:53:08 1993 Jason Merrill ([email protected]) ! 682: ! 683: * cp-pt.c (instantiate_class_template): Don't do the ! 684: push_template_decls thang if !setup_parse; the binding level ! 685: never gets popped. ! 686: ! 687: Mon Oct 25 11:54:34 1993 Kung Hsu ([email protected]) ! 688: ! 689: * cp-method.c (hack_identifier): fix seg fault when an ! 690: external variable does not have class context. ! 691: ! 692: Sun Oct 24 19:01:15 1993 Michael Tiemann ([email protected]) ! 693: ! 694: * cp-spew.c (scan_tokens): Test for ';' in first pre-scan of the ! 695: tokens. ! 696: ! 697: Fri Oct 22 23:46:17 1993 Jason Merrill ([email protected]) ! 698: ! 699: * cp-tree.c (get_decl_list): When consing up CLASSTYPE_ID_AS_LIST, ! 700: don't assume that `value' is a reasonable identifier to use. ! 701: (list_hash_lookup_or_cons): Ditto. ! 702: ! 703: * cp-error.c (dump_decl, CONST_DECL): Pass off non-enum cases to ! 704: dump_expr. ! 705: (dump_expr): Pass off DECLs to dump_decl. ! 706: ! 707: Fri Oct 22 20:57:46 1993 david d `zoo' zuhn ([email protected]) ! 708: ! 709: * cp-errfn.c (STRDUP): Change to comma expr for bdmaged cc's. ! 710: (cp_thing): Add decl for ap, initialize fmt later. ! 711: ! 712: Fri Oct 22 17:15:01 1993 Jason Merrill ([email protected]) ! 713: ! 714: * cp-error.c (dump_decl): Handle CONST_DECLs for enum tags. ! 715: ! 716: * cp-type2.c (my_friendly_abort): Move abortcount to global level. ! 717: ! 718: * cp-search.c (dfs_pushdecls): Be more helpful in shadowing warning. ! 719: ! 720: * cp-pt.c (mangle_class_name_for_template): If the last template ! 721: parameter was also a template class, insert a space so that ! 722: the mangled name can be used as input for the compiler (i.e. ! 723: with default_copy_constructor_body). ! 724: ! 725: Fri Oct 22 16:40:27 1993 Mike Stump ([email protected]) ! 726: ! 727: Handle constructors in templates better. ! 728: ! 729: * cp-call.c (build_method_call): Use constructor_name_full instead ! 730: of constructor_name. ! 731: * cp-cvt.c (convert_to_reference, convert, build_type_conversion_1, ! 732: build_type_conversion): Ditto. ! 733: * cp-decl.c (make_temporary_for_reference, grok_reference_init): ! 734: Ditto. ! 735: * cp-init.c (expand_default_init, expand_aggr_init_1, build_new): ! 736: Ditto. ! 737: * cp-typeck.c (build_modify_expr_1, convert_for_initialization): ! 738: Ditto. ! 739: * cp-search.c (lookup_field, lookup_fnfields): Check for short ! 740: constructor name, as that is how we store it. ! 741: * cp-decl2.c (constructor_name_full): New routine. ! 742: * cp-tree.h (constructor_name_full): Declare it. ! 743: * cp-call.c (build_method_call): Check for either short or the full ! 744: constructor name. ! 745: ! 746: Wed Oct 20 17:17:37 1993 Jason Merrill ([email protected]) ! 747: ! 748: * cp-tree.h: Declare code_as_string. ! 749: ! 750: * cp-error.c (code_as_string): New function, translates ! 751: enum tree_code into a string. Very incomplete at the moment. ! 752: ! 753: * cp-decl.c (lookup_tag): Use cp_error more. ! 754: ! 755: Tue Oct 19 16:39:20 1993 Jason Merrill ([email protected]) ! 756: ! 757: * cp-error.c (dump_type_prefix): Do the prefix/suffix thang for ! 758: ARRAY_TYPE nodes. ! 759: ! 760: Thu Oct 14 23:56:34 1993 Jason Merrill ([email protected]) ! 761: ! 762: * cp-gc.c (build_dynamic_cast): Avoid doing runtime work if possible. ! 763: (build_typeid): Add logic. ! 764: ! 765: Thu Oct 14 10:56:43 1993 Jason Merrill ([email protected]) ! 766: ! 767: * cp-gc.c (build_typeid): New function, allegedly returns the ! 768: Type_info object for the type of an expression, currently does ! 769: nothing. ! 770: (get_typeid): New function, allegedly returns the Type_info object ! 771: for a _TYPE node, currently does nothing. ! 772: (build_dynamic_cast): New function, supposedly implements ! 773: run-time checked casting, currently only does what can be done ! 774: at compile time. ! 775: ! 776: * cp-parse.y (.kindof_pushlevel): Only push first decl (the variable). ! 777: (primary): Add dynamic_cast and typeid expressions. ! 778: (simple_if): Use partially_scoped_stmt again. ! 779: Makes 'if' condition work. ! 780: ! 781: * cp-error.c (expr_as_string): Suppress parens on initial call ! 782: to dump_expr. ! 783: ! 784: * cp-tree.h: Add decls for Type_info_type_node, build_typeid, ! 785: get_typeid and build_dynamic_cast. ! 786: ! 787: * gplus.gperf: Add typeid and dynamic_cast. ! 788: ! 789: * cp-spew.c (init_spew): Ditto. ! 790: ! 791: Wed Oct 13 19:15:21 1993 Jason Merrill ([email protected]) ! 792: ! 793: Partial implementation of Stroustrup's proposal for declarations in ! 794: conditions from X3J16/92-0121. ! 795: ! 796: * cp-parse.y (paren_cond_or_null): New rule, use condition instead ! 797: of expr. ! 798: (xcond): Ditto. ! 799: (condition): New rule, used in the condition parts of if, while, for ! 800: and switch statements. Allows a restricted set of declarations of ! 801: the form "type_specifier declarator = expression". ! 802: (.kindof_pushlevel): Like pushlevel, but pushes all of the decls ! 803: from the previous binding level into the new one too. ! 804: (partially_scoped_stmt): Like implicitly_scoped_stmt, but uses ! 805: .kindof_pushlevel instead of .pushlevel. ! 806: (simple_if): .pushlevel before condition. ! 807: (simple_stmt, simple_if ELSE): Ditto, pop binding level. ! 808: (simple_stmt, simple_if): Ditto. ! 809: (simple_stmt, WHILE): Ditto. ! 810: (simple_stmt, forhead.1): .pushlevel before condition, use xcond ! 811: instead of xexpr, pop binding level. ! 812: (simple_stmt, forhead.2): Use xcond instead of xexpr, always pop ! 813: binding level. ! 814: (simple_stmt, SWITCH): .pushlevel before condition, etc, etc. ! 815: (forhead.2): always .pushlevel. ! 816: (datadef): Use cp_error more. ! 817: (simple_stmt, CASE): Ditto. ! 818: ! 819: * cp-decl2.c (pushdecls): New function, push all decls in the chain ! 820: into the current scope. ! 821: ! 822: Wed Oct 13 12:31:58 1993 Mike Stump ([email protected]) ! 823: ! 824: * cp-decl.c: Remove redefinition of NULL, as some machines don't ! 825: like it. Clean up all NULL uses. ! 826: ! 827: Mon Oct 11 17:21:08 1993 Kung Hsu ([email protected]) ! 828: ! 829: * cp-decl2.c (finish_file): Fix libg++ build problem of mismatch ! 830: blocks. ! 831: ! 832: Mon Oct 11 13:51:05 1993 Brendan Kehoe ([email protected]) ! 833: ! 834: Mon Oct 4 11:49:48 1993 Chip Salzenberg ([email protected]) ! 835: ! 836: * cp-typeck.c (build_modify_expr): Check whether recursive calls ! 837: return error_mark_node. ! 838: ! 839: Mon Oct 4 12:41:16 1993 Chip Salzenberg ([email protected]) ! 840: ! 841: * cp-class.c (finish_struct): Too-long bitfield is an error. ! 842: * cp-decl.c (grokdeclarator): "inline main()" is an error. ! 843: (grok_op_properties): Overloaded ?: is an error. ! 844: (start_enum): Duplicate enum definition is an error. ! 845: ! 846: Mon Oct 4 12:45:11 1993 Chip Salzenberg ([email protected]) ! 847: ! 848: * cp-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring ! 849: long int to int (when width is the same). ! 850: ! 851: Mon Oct 4 12:46:54 1993 Chip Salzenberg ([email protected]) ! 852: ! 853: * cp-typeck.c (convert_for_assignment): Mismatch in signedness ! 854: of pointer targets should not inhibit warnings for const mismatch. ! 855: ! 856: Mon Oct 4 12:53:04 1993 Chip Salzenberg ([email protected]) ! 857: ! 858: * cp-typeck.c (default_conversion): Convert to unsigned int ! 859: if original type is unsigned and of greater or equal size. ! 860: ! 861: Mon Oct 11 13:19:42 1993 Brendan Kehoe ([email protected]) ! 862: ! 863: * cp-decl.c (build_enumerator): Call default_conversion on the VALUE ! 864: before calling constant_expression_warning. ! 865: ! 866: Mon Oct 11 10:21:37 1993 Kung Hsu ([email protected]) ! 867: ! 868: * cp-decl.c (finish_function): fix the mismatch LBB LBE block ! 869: problem, specifically when compiler generated ! 870: destructor/constructor (pr2972) ! 871: * cp-decl2.c (finish_file): same as above ! 872: * cp-parse.y (compstmt): same as above ! 873: ! 874: Mon Oct 11 01:08:09 1993 Jason Merrill ([email protected]) ! 875: ! 876: * cp-error.c (dump_type_suffix): Cope with arrays with unspecified ! 877: bounds. ! 878: ! 879: Thu Oct 7 19:35:26 1993 Jason Merrill ([email protected]) ! 880: ! 881: * cp-error.c: Deal with printing out array DECLs properly. ! 882: Use dump_char for printing out string literals, too. ! 883: ! 884: Tue Nov 23 18:08:27 1993 Richard Stallman ([email protected]) ! 885: ! 886: * dwarfout.c (function_start_label): New function. ! 887: (output_entry_point_die): Use it. ! 888: (output_global_subroutine_die, output_local_subroutine_die): Use it. ! 889: ! 890: * c-common.c (check_format_info): Always use TYPE_MAIN_VARIANT ! 891: when comparing cur_type against wanted_type. ! 892: ! 893: * protoize.c (save_def_or_dec): If function's aux info doesn't end ! 894: with a closeparen, ignore it. ! 895: (xmalloc, xrealloc): Cast result of malloc. ! 896: ! 897: * c-typeck.c (build_binary_op): Don't accept complex types ! 898: for max, min, lt, etc. ! 899: ! 900: Tue Nov 23 18:05:14 1993 Lisa Repka ([email protected]) ! 901: ! 902: * reorg.c (rare_destination): Ensure we always correctly handle ! 903: a null JUMP_LABEL. ! 904: ! 905: Tue Nov 23 17:48:39 1993 Doug Evans ([email protected]) ! 906: ! 907: * i960/i960.h (ASM_SPEC): Pass -linkrelax, not -link-relax. ! 908: ! 909: Tue Nov 23 17:35:25 1993 Richard Earnshaw ([email protected]) ! 910: ! 911: * arm.c (arm_backwards_branch): Branching to the current insn is a ! 912: backwards branch. ! 913: ! 914: Tue Nov 23 13:59:24 1993 Hallvard B Furuseth ([email protected]) ! 915: ! 916: * libgcc2.a (__bb_exit_func): Fix format %*d -> %*ld. ! 917: ! 918: * c-parse.in, cp-parse.y (maybe_type_qual): Don't fail to set $$. ! 919: ! 920: Tue Nov 23 15:26:28 1993 Richard Kenner ([email protected]) ! 921: ! 922: * combine.c (try_combine, simplify_shift_const): Add initializations ! 923: for some uninitialized variables. ! 924: ! 925: * c-common.c (check_format_info): When we have INTEGER_TYPEs, ! 926: save result of signed_type or unsigned_type for later ! 927: comparison with the various forms of char types. ! 928: ! 929: * expr.c (expand_expr, case SAVE_EXPR): Properly recompute the ! 930: value of UNSIGNEDP when SAVE_EXPR_RTL is nonzero and we have promoted. ! 931: ! 932: Tue Nov 23 04:14:04 1993 Richard Stallman ([email protected]) ! 933: ! 934: * dwarfout.c (output_local_subroutine_die): Use the function name ! 935: from its symbol_ref, not DECL_ASSEMBLER_NAME. ! 936: ! 937: Mon Nov 22 13:59:41 1993 Steve Chamberlain ([email protected]) ! 938: ! 939: * final.c (get_attr_length): asm_insn_count takes a body, not an ! 940: insn. ! 941: ! 942: Sun Nov 21 22:37:12 1993 Richard Stallman ([email protected]) ! 943: ! 944: * config/m68k/mot3300.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): ! 945: Use SIZE, not ROUNDED. ! 946: (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Definitions turned off. ! 947: (REGISTER_PREFIX, IMMEDIATE_PREFIX): New definitions. ! 948: (PARM_BOUNDARY): New definition. ! 949: ! 950: Sun Nov 21 15:39:04 1993 Tor Egge ([email protected]) ! 951: ! 952: * m88k/dolph.h (SDB_ALLOW_FORWARD_REFERENCES): Define. ! 953: (SDB_ALLOW_UNKNOWN_REFERENCES): Define. ! 954: (CPP_PREDEFINES): Redefine. ! 955: (CPP_DEFAULT): Redefine. ! 956: (INITIALIZE_TRAMPOLINE): Redefine. ! 957: * m88k/dolphin.ld: New file. ! 958: * m88k/t-m88k (realclean): Remove some generated .asm files. ! 959: * m88k/x-dolph (EXTRA_PARTS): Redefined to also contain gcc.ld. ! 960: (gcc.ld): Copied from dolphin.ld. ! 961: (X_CFLAGS): Define __m88k__. ! 962: * libgcc2.c (__enable_execute_stack): Add DolphinOS version. ! 963: ! 964: Sun Nov 21 01:00:40 1993 Richard Stallman ([email protected]) ! 965: ! 966: * config/m68k/isi.h (LIB_SPEC): Use -lm in addition to -lc-- ! 967: not instead of -lc. ! 968: ! 969: * fix-header.c (write_rbrac): Make added declarations conditional ! 970: on __cplusplus and nothing else. ! 971: * fixproto (stdio.h): Reenable adding protos for v*printf. ! 972: ! 973: * sys-protos.h (authdes_create): Delete arg info. ! 974: We can't count on having struct sockaddr defined. ! 975: ! 976: * fixincludes (math.h): When deleting inline sqrt and abs, ! 977: be flexible about arg name and function body. ! 978: ! 979: * Makefile.in (stmp-fixproto): Never run fixproto twice. ! 980: ! 981: Sat Nov 20 16:52:15 1993 Jim Wilson ([email protected]) ! 982: ! 983: * stmt.c (warn_if_unused_value): Handle arbitrary number of casts ! 984: before a modify. ! 985: ! 986: Sat Nov 20 16:38:25 1993 Eric Baur ([email protected]) ! 987: ! 988: * i386/perform.h (perform_divsi3, perform_modsi3): Add '&' in ! 989: constraint for DX; explicitly copy arg arg1 to cx. ! 990: ! 991: Sat Nov 20 02:26:28 1993 Richard Stallman ([email protected]) ! 992: ! 993: * expr.c (expand_builtin): For sin, cos, fsqrt, alloca, ffs, strlen, ! 994: strcpy, memcpy, strcmp, memcmp, if args are bad, use expand_call. ! 995: ! 996: * fix-header.c (write_rbrac): Treat rewinddir like memmove. ! 997: ! 998: Fri Nov 19 18:24:43 1993 Richard Kenner ([email protected]) ! 999: ! 1000: * protoize.c: Remove declarations for malloc and realloc. ! 1001: ! 1002: * expr.c (store_field): Convert EXP to MODE before calling ! 1003: store_bit_field. ! 1004: ! 1005: * optabs.c (expand_complex_abs): Replace some erroneous ! 1006: uses of MODE with SUBMODE. ! 1007: ! 1008: * combine.c (force_to_mode): Don't allow sign-extension of ! 1009: constants when we are narrowing things in an IOR or XOR. ! 1010: ! 1011: Fri Nov 19 16:42:43 1993 Jim Wilson ([email protected]) ! 1012: ! 1013: * rs6000.c (output_function_profiler): When TARGET_MINIMAL_TOC, ! 1014: emit .long instead of .tc. ! 1015: ! 1016: Fri Nov 19 13:22:37 1993 Ian Lance Taylor ([email protected]) ! 1017: ! 1018: * configure: Let a host set truncate_target to specify that the ! 1019: installation directory names must be truncated to 14 characters. ! 1020: If set, truncate the target argument. ! 1021: ! 1022: Fri Nov 19 17:27:58 1993 Holger Teutsch ([email protected]) ! 1023: ! 1024: * clipper.h (HARD_REGNO_MODE_OK): Allow any mode in general regs. ! 1025: Float regs may only hold SFmode and DFmode. ! 1026: (FUNCTION_ARG): Only MODE_INT and MODE_FLOAT with size <= 8 are ! 1027: passed in registers. ! 1028: (FUNCTION_ARG_ADVANCE): Update accordingly. ! 1029: (FUNCTION_ARG_PARTIAL_NREG): Undefine. ! 1030: ! 1031: * clipper.md (movsf+1,2,movdf+1,2): Make 'f' preferred register class. ! 1032: ! 1033: Thu Nov 18 20:09:56 1993 Jim Wilson ([email protected]) ! 1034: ! 1035: * fixincludes: When compute DOTS, convert /./ to / to avoid ! 1036: accidentally converting it to /../. ! 1037: * fixinc.dgux, fixinc.svr4: Likewise. ! 1038: ! 1039: Thu Nov 18 06:14:55 1993 Richard Stallman ([email protected]) ! 1040: ! 1041: * function.c (expand_function_end): New arg END_BINDINGS. ! 1042: * c-decl.c (finish_function): Pass new arg to expand_function_end. ! 1043: * cp-decl.c (finish_function): Pass new arg to expand_function_end. ! 1044: Don't call expand_end_bindings here. ! 1045: * integrate.c (output_inline_function): ! 1046: Pass new arg to expand_function_end. ! 1047: ! 1048: Wed Nov 17 18:54:21 1993 Chip Salzenberg ([email protected]) ! 1049: ! 1050: * objc/objects.c: Include "tconfig.h" before "runtime.h". ! 1051: ! 1052: Wed Nov 17 19:15:31 1993 Richard Kenner ([email protected]) ! 1053: ! 1054: * fixincludes (math.h): Add missing quoting of `*' when fixing ! 1055: prototype of `sqr'. ! 1056: ! 1057: Tue Nov 16 07:15:52 1993 Richard Kenner ([email protected]) ! 1058: ! 1059: * alpha.h (EXTRA_CONSTRAINT): New macro. ! 1060: (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Disallow unaligned into float ! 1061: regs. ! 1062: * alpha.md (movdi): Use 'Q' instead of 'm' for FP. ! 1063: ! 1064: Tue Nov 16 02:06:01 1993 Richard Stallman ([email protected]) ! 1065: ! 1066: * Version 2.5.4 released. ! 1067: ! 1068: * c-typeck.c (push_init_level): When aligning next struct field, ! 1069: make sure there's another field left. ! 1070: ! 1071: * cp-errfn.c: Don't include string.h. ! 1072: (STRDUP): Macro deleted. ! 1073: (cp_thing): Copy strings "by hand". ! 1074: ! 1075: * combine.c (force_to_mode): Don't do right-shift in a narrower mode. ! 1076: ! 1077: Mon Nov 15 01:54:48 1993 Richard Stallman ([email protected]) ! 1078: ! 1079: * sdbout.c (sdbout_symbol): If non-static var has static-style RTL, ! 1080: don't output anything for it. ! 1081: ! 1082: * Makefile.in (stmp-fixproto): Don't depend on xsys-protos.h. ! 1083: (diff): Don't compare bi-parser.c ! 1084: ! 1085: * news.h (NO_DOT_IN_LABEL, NO_DOLLAR_IN_LABEL): Defined. ! 1086: ! 1087: * c-typeck.c (push_init_level, really_start_incremental_init): ! 1088: Skip any nameless bitfields at start of record. ! 1089: (process_init_element): Skip any nameless bitfields after the field ! 1090: just processed. ! 1091: ! 1092: Mon Nov 15 02:09:54 1993 Torbjorn Granlund ([email protected]) ! 1093: ! 1094: * pa.h (RETURN_IN_MEMORY): Define. ! 1095: ! 1096: Sun Nov 14 17:25:29 1993 Richard Stallman ([email protected]) ! 1097: ! 1098: * expr.c (expand_expr): For TRUTH_AND_EXPR, TRUTH_OR_EXPR ! 1099: and TRUTH_XOR_EXPR, if result mode doesn't match operands, ! 1100: don't use subtarget. ! 1101: ! 1102: * c-typeck.c (convert_for_assignment): Fix typo (codel => coder). ! 1103: ! 1104: Sun Nov 14 12:45:37 1993 Richard Kenner ([email protected]) ! 1105: ! 1106: * function.c (assign_parms): Clear STACK_PARM when we have a ! 1107: pass-by-pointer parm that we load into a pseudo. ! 1108: ! 1109: * flow.c (flow_analysis): Fix bug in previous change. ! 1110: ! 1111: * fold-const.c (twoval_comparison_p): Do nothing for SAVE_EXPR, at ! 1112: least for now. ! 1113: ! 1114: * reload.c (push_reload): Allow RELOAD_FOR_INPUT with a secondary ! 1115: reload the same class as the input if the modes differ. ! 1116: ! 1117: * expr.c (store_expr): Convert constants to proper mode in two places. ! 1118: ! 1119: * sh.h (HAVE_VPRINTF): Delete from here. ! 1120: * xm-sh.h (HAVE_VPRINTF): New macro. ! 1121: ! 1122: Sun Nov 14 04:28:56 1993 Richard Stallman ([email protected]) ! 1123: ! 1124: * config/i860/i860.h (SECONDARY_INPUT_RELOAD_CLASS): ! 1125: Moving any kind of integer cst to float reg needs intermediate. ! 1126: ! 1127: * sys-protos.h (getmntent): Delete the arg decls ! 1128: because BSD 4.4 and Sunos disagree on them. ! 1129: ! 1130: Sat Nov 13 23:06:42 1993 Richard Stallman ([email protected]) ! 1131: ! 1132: * config/mips/mips.c (function_arg, function_arg_advance): ! 1133: In default case, handle complex modes much like BLKmode. ! 1134: (function_arg_partial_nregs): Likewise. ! 1135: ! 1136: Sat Nov 13 22:31:48 1993 Richard Kenner ([email protected]) ! 1137: ! 1138: * alpha.h (CPP_SPEC): Always define __LANGUAGE_C__ unless assembler. ! 1139: Define __cplusplus for C++. ! 1140: ! 1141: * alpha.md (movsf, movdf): Add 'G' to constraint for operand 1 ! 1142: when operand 0 is a register and support it in alternative 0. ! 1143: ! 1144: * stmt.c (expand_end_bindings): Use emit_move_insn instead of ! 1145: gen_move_insn in case nonlocal_goto_handler_slot is not a valid memref. ! 1146: ! 1147: * flow.c (find_basic_blocks): When starting new basic block ! 1148: for a CALL_INSN in the presence of nonlocal labels, don't ! 1149: get confused with following CLOBBER. ! 1150: (flow_analysis): Use same logic as find_basic_block to see when ! 1151: the insn after a CALL_INSN starts a new basic block. ! 1152: ! 1153: * expmed.c (store_split_bit_field): Properly load a constant VALUE ! 1154: into a WORD_MODE pseudo. ! 1155: ! 1156: Sat Nov 13 18:27:43 1993 Richard Stallman ([email protected]) ! 1157: ! 1158: * config/ns32k/ns32k.md (movsi): Handle moves to fp reg. ! 1159: Handle const_double as operand 1. ! 1160: ! 1161: * Makefile.in (diff): Fix typo in name gcc.??s. ! 1162: ! 1163: Fri Nov 12 08:34:58 1993 Richard Kenner ([email protected]) ! 1164: ! 1165: * dbxout.c (dbxout_type_field): Skip fields with variable ! 1166: position and/or size instead of crashing on them. ! 1167: ! 1168: Fri Nov 12 22:49:50 1993 Pat Rankin ([email protected]) ! 1169: ! 1170: * bi-arity.c, bi-opcode.c, bi-opname.c (main): Flush stdout and ! 1171: and check for errors prior to termination; end with call to exit ! 1172: rather than return from main, as with gen*.c. ! 1173: * bi-arity.c, bi-lexer.c, bi-opcode.c, bi-opname.c, bi-parser.y: ! 1174: Use FATAL_EXIT_CODE rather than hardcoded 1 for fatal exit code. ! 1175: ! 1176: Fri Nov 12 18:41:51 1993 Richard Stallman ([email protected]) ! 1177: ! 1178: * gstdarg.h, gvarargs.h: Test __bsdi__ like __BSD_NET2__. ! 1179: ! 1180: * pa.h (FUNCTION_ARG_BOUNDARY): Fix return value for 64bit ! 1181: pass by value structures. ! 1182: ! 1183: * fix-header.c (write_rbrac): Handle v*printf like memmove. ! 1184: ! 1185: Fri Nov 12 08:53:47 1993 Richard Earnshaw ([email protected]) ! 1186: ! 1187: * arm.md (comparison): Don't emit invalid optimization ! 1188: for (set (reg) (comparison)) and (set (reg) (neg (comparison))) ! 1189: when comparison is LT. ! 1190: ! 1191: * arm.c (pattern_really_clobbers_lr): Setting a subreg of a mem is ! 1192: valid and safe. ! 1193: ! 1194: Fri Nov 12 08:38:22 1993 Richard Kenner ([email protected]) ! 1195: ! 1196: * m68k/hpux7.h: Add directory name to #include of hp320.h. ! 1197: ! 1198: Thu Nov 11 00:00:55 1993 Richard Stallman ([email protected]) ! 1199: ! 1200: * Version 2.5.3 released. ! 1201: ! 1202: * fix-header.c, gen-protos.c (fancy_abort): New function. ! 1203: ! 1204: * c-typeck.c (mark_addressable): Handle REALPART_EXPR and ! 1205: IMAGPART_EXPR. ! 1206: ! 1207: * integrate.h (global_const_equiv_map_size): Declared. ! 1208: ! 1209: * dbxout.c (dbxout_symbol): If it's C++, don't check the ! 1210: DECL_SOURCE_LINE of a typedef. ! 1211: (dbxout_parms): Fix previous change. ! 1212: ! 1213: Wed Nov 10 10:33:28 1993 Richard Earnshaw ([email protected]) ! 1214: ! 1215: * fixproto (rel_source_subdir): Prune out redundant /subdir/../ to ! 1216: prevent recursion. ! 1217: ! 1218: Wed Nov 10 22:30:16 1993 Richard Stallman ([email protected]) ! 1219: ! 1220: * config/ns32k/encore.h (ASM_OUTPUT_ASCII): Declare i. ! 1221: ! 1222: Wed Nov 10 16:18:19 1993 Brendan Kehoe ([email protected]) ! 1223: ! 1224: * cp-decl.c (grokvardecl): Undo change of Jan 15 1993 which ! 1225: tried to implement the "one definition rule". The duplicate_decls ! 1226: call in pushdecl does implement this; grokvardecl got some bad hits. ! 1227: ! 1228: Wed Nov 10 08:44:17 1993 Niklas Hallqvist ([email protected]) ! 1229: ! 1230: * cp-search.c (compute_visibility): Revert Tiemann's patch of ! 1231: Nov 5. Instead check that privately inherited entities don't ! 1232: get restricted visibility if the private derivation is a ! 1233: shallow derivation (i.e. one leading to the most derived ! 1234: class) and we're actually in the most derived class' scope. ! 1235: ! 1236: * cp-search.c (dfs_pushdecls): Don't be confused by the fact that ! 1237: overloaded methods from an outer scope almost looks like an ! 1238: envelope. ! 1239: ! 1240: Wed Nov 10 18:55:22 1993 Richard Earnshaw ([email protected]) ! 1241: ! 1242: * fixincludes: Copy files needed for other files at the very end. ! 1243: ! 1244: * arm.md (reload patterns for mla instruction): New. ! 1245: ! 1246: Wed Nov 10 18:17:40 1993 Jim Wilson ([email protected]) ! 1247: ! 1248: * dbxout.c (dbxout_parms): For parms passed via invisible ! 1249: reference, accept any reg except FP, SP, and AP. ! 1250: ! 1251: * unroll.c (unroll_loop): Set global_const_equiv_map_size. ! 1252: ! 1253: Wed Nov 10 17:52:33 1993 Richard Kenner ([email protected]) ! 1254: ! 1255: * combine.c (subst_prev_insn): New variable. ! 1256: (try_combine): Set it. ! 1257: (get_last_value): Use subst_prev_insn if set instead of ! 1258: looking for the first insn before SUBST_LOW_CUID. ! 1259: ! 1260: * integrate.c (global_const_equiv_map_size): New variable. ! 1261: (expand_inline_function): Set it. ! 1262: (expand_inline_function, copy_rtx_and_substitute, try_constants): ! 1263: Never access const_equiv_map without checking for out-of-range. ! 1264: (mark_stores): Likewise. ! 1265: ! 1266: * alpha.md (smaxdi3): Was incorrectly called maxdi3. ! 1267: ! 1268: * rs6000.h (LINK_SPEC): Don't pass -btextro if -r. ! 1269: ! 1270: * alpha/osf12.h: New file. ! 1271: * configure (alpha-dec-osf1.2): New case, to use new file. ! 1272: ! 1273: * rs6000.md (sqrtdf2): Fix typo in extra condition. ! 1274: (plus/eq pattern): Fix typo: "addze" was "adddze". ! 1275: ! 1276: Wed Nov 10 12:32:56 1993 Jim Wilson ([email protected]) ! 1277: ! 1278: * expmed.c (expand_divmod): If rem_flag, always force op0 to a ! 1279: register. ! 1280: ! 1281: * expr.c (expand_expr): Use a smaller alignment when reading from ! 1282: a field with a variable offset. ! 1283: ! 1284: Wed Nov 10 01:28:27 1993 Richard Stallman ([email protected]) ! 1285: ! 1286: * expr.c (expand_assignment): Use a smaller alignment when storing ! 1287: into a field with a variable offset. ! 1288: ! 1289: * fixincludes (math.h): Delete inline definitions for sqr. ! 1290: ! 1291: Tue Nov 9 15:33:45 1993 Jason Merrill ([email protected]) ! 1292: ! 1293: * cp-method.c (hack_identifier): Undo rfg's earlier patch. ! 1294: ! 1295: Tue Nov 9 19:30:02 1993 Richard Stallman ([email protected]) ! 1296: ! 1297: * reload1.c (reload) [SMALL_REGISTER_CLASSES]: Try, at least, ! 1298: to avoid 2-groups whose second register is explicitly used. ! 1299: ! 1300: Tue Nov 9 19:08:47 1993 Jim Wilson ([email protected]) ! 1301: ! 1302: * mips.md (adddi3): Use DImode not SImode in force_reg call. ! 1303: ! 1304: * mips.c (PIC_OFFSET_TABLE_MASK): New macro. ! 1305: (function_epilogue): When -mabicalls, ignore ! 1306: PIC_OFFSET_TABLE_REGNUM when calculating load_only_r31. ! 1307: ! 1308: * loop.c (strength_reduce): Accept VOIDmode initial values. ! 1309: ! 1310: Tue Nov 9 09:23:31 1993 Torbjorn Granlund ([email protected]) ! 1311: ! 1312: * pa.md (negscc): Add mode for NEG. ! 1313: ! 1314: Tue Nov 9 12:51:54 1993 John Hassey ([email protected]) ! 1315: ! 1316: * m88k.md ("cmpsf" & "cmpdf"): Undo inadvertent change included ! 1317: with CCEVENmode change. ! 1318: ! 1319: Tue Nov 9 01:31:58 1993 Richard Stallman ([email protected]) ! 1320: ! 1321: * fixincludes (loop on $required): When a file is copied ! 1322: because another file needs it, scan it for what files it needs. ! 1323: ! 1324: * fix-header.c (write_rbrac): When adding proto for memmove, ! 1325: put it inside #ifndef memmove. ! 1326: ! 1327: Mon Nov 8 16:50:49 1993 Richard Stallman ([email protected]) ! 1328: ! 1329: * sdbout.c (sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol ! 1330: for __vtbl_ptr_type. ! 1331: ! 1332: * cp-decl.c (init_decl_processing): Undo previous change. ! 1333: ! 1334: * c-typeck.c (build_binary_op): Warn for ordered compare of ptr with 0 ! 1335: only if pedantic in both cases. ! 1336: ! 1337: Mon Nov 8 18:25:06 1993 David Edelsohn ([email protected]) ! 1338: ! 1339: * rs6000.h (ASM_FILE_START): Emit filename directive. ! 1340: ! 1341: Sun Nov 7 00:24:04 1993 Richard Stallman ([email protected]) ! 1342: ! 1343: * Makefile.in (mostlyclean): Delete fixhdr.ready here. ! 1344: (clean): Not here. ! 1345: ! 1346: * scan-decls.c (scan_decls): After seeing an extern variable ! 1347: declaration, goto new_statement to read a new token, rather ! 1348: than going to handle_statement (which uses the current token). ! 1349: ! 1350: Sat Nov 6 19:40:22 1993 Pat Rankin ([email protected]) ! 1351: ! 1352: * config/vax/vms.h (__MAIN_NAME): Define as " main(" rather ! 1353: rather than " main (" to reflect current cc1plus. ! 1354: ! 1355: * config/vax/vms.h: Add __GNUC_MINOR__=5 to CPP_PREDEFINES. ! 1356: ! 1357: Sat Nov 6 22:54:25 1993 Tor Egge ([email protected]) ! 1358: ! 1359: * m88k.c (partial_ccmode_register_operand, even_relop) ! 1360: (odd_relop): New functions, for support of CCEVENmode. ! 1361: (print_operand, new case '!'): Revert following condition. ! 1362: * m88k.h (EXTRA_CC_MODES, EXTRA_CC_NAMES, SELECT_CC_MODE): ! 1363: New macros to define CCEVENmode. ! 1364: * m88k.md: Handle CCEVENmode as a new mode. Logical operations ! 1365: on CCmode registers now results in CCEVENmode. ! 1366: Add patterns for jumps and ext's for CCEVENmode. ! 1367: (cmpsf, cmpdf): Use reg 65 and clobber reg 64. ! 1368: ! 1369: Sat Nov 6 17:07:54 1993 Richard Stallman ([email protected]) ! 1370: ! 1371: * cp-decl.c (init_decl_processing) [RMS_QUICK_HACK_1]: ! 1372: If sdb output, call sdbout_symbol for vtable_entry_type. ! 1373: * config/m88k/dgux.h (RMS_QUICK_HACK_1): Defined. ! 1374: ! 1375: Sat Nov 6 12:32:31 1993 Jim Wilson ([email protected]) ! 1376: ! 1377: * unroll.c (unroll_loop): Don't unroll loop if jump has combined ! 1378: the original loop start label with another label. ! 1379: ! 1380: Sat Nov 6 05:01:31 1993 Chris Smith ([email protected]) ! 1381: ! 1382: * convex.md (untyped_call, blockage): Add new patterns. ! 1383: ! 1384: Sat Nov 6 03:11:46 1993 Noah Friedman ([email protected]) ! 1385: ! 1386: * just-fixinc: Rename fixed native limits.h to syslimits.h (or ! 1387: install gsyslimits.h) before renaming gcc's limits.h from tmpfoo ! 1388: directory. ! 1389: ! 1390: Sat Nov 6 00:07:41 1993 Richard Stallman ([email protected]) ! 1391: ! 1392: * expr.c (emit_move_insn_1): Push the components of a complex ! 1393: in proper order: imag part has higher address. ! 1394: ! 1395: Fri Nov 5 16:23:51 1993 Jim Wilson ([email protected]) ! 1396: ! 1397: * mips.c (mips_abicalls): Change type to enum mips_abicalls_type. ! 1398: (override_options): Use MIPS_ABICALLS_{NO,YES} instead of ! 1399: ABICALLS_{NO,YES}. ! 1400: * mips.h (enum mips_abicalls_type): New type. ! 1401: (mips_abicalls_attr): New define. ! 1402: (mips_abicalls): Change type to enum mips_abicalls_type. ! 1403: * mips.md (abicalls): Use mips_abicalls_attr not mips_abicalls. ! 1404: ! 1405: Fri Nov 5 20:34:19 1993 Richard Stallman ([email protected]) ! 1406: ! 1407: * fixproto (stdio.h): Don't add protos for vprintf, vfprintf, vsprintf. ! 1408: ! 1409: Fri Nov 5 20:32:53 1993 Torbjorn Granlund ([email protected]) ! 1410: ! 1411: * config/pa/pa.md (decrement_and_branch_until_zero): ! 1412: Add missing `return'. ! 1413: ! 1414: Fri Nov 5 16:08:34 1993 Richard Stallman ([email protected]) ! 1415: ! 1416: * listing: Handle i386-linux like m68020. ! 1417: Pass compilation options thru an awk variable, not as ordinary args. ! 1418: ! 1419: * cccp.c (safe_read, safe_write): Handle EINTR. ! 1420: (output_line_command): Handle NO_IMPLICIT_EXTERN_C here. ! 1421: (main): Not here. ! 1422: ! 1423: * protoize.c (safe_read, safe_write): Handle EINTR. ! 1424: (safe_write): Return right away after safe_write. ! 1425: ! 1426: Fri Nov 5 11:40:59 1993 Jeff Law ([email protected]) ! 1427: ! 1428: * pa-ghpux.h (NO_IMPLICIT_EXTERN_C): Define. ! 1429: * pa-hpux.h (NO_IMPLICIT_EXTERN_C): Define. ! 1430: ! 1431: Fri Nov 5 09:45:20 1993 Kresten Krab Thorup (krab@viking) ! 1432: ! 1433: * objc/archive.c (objc_read_string): Allocate string properly. ! 1434: * objc/hash.h (compare_strings): Check for null pointers. ! 1435: ! 1436: Fri Nov 5 11:29:26 1993 David Edelsohn ([email protected]) ! 1437: ! 1438: * rs6000.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): Use ! 1439: REAL_ARITHMETIC macros including hex for special values. ! 1440: ! 1441: Fri Nov 5 10:26:34 1993 Brendan Kehoe ([email protected]) ! 1442: ! 1443: * cp-call.c (build_method_call): For unions, don't use get_binfo and ! 1444: convert_pointer_to_real, since unions can't be involved in complex MI ! 1445: situations. (Fixes union ctor crash, and completes Sep 27 fix.) ! 1446: ! 1447: Fri Nov 5 07:39:00 1993 Michael Tiemann ([email protected]) ! 1448: ! 1449: * cp-search.c (compute_visibility): Don't lose access to public ! 1450: members from base classes of base classes. ! 1451: ! 1452: * cp-search.c (get_base_distance): Initialize BASETYPE_PATH before ! 1453: using. Also, initialize RVAL from get_base_distance_recursive. ! 1454: ! 1455: Fri Nov 5 05:48:04 1993 Richard Stallman ([email protected]) ! 1456: ! 1457: * config/i860/paragon.h (SIZE_TYPE): #undef it. ! 1458: ! 1459: * config/m88k/dgux.h (LIB_SPEC): Handle -msvr4. ! 1460: (GPLUSPLUS_INCLUDE_DIR): Definition and #undef deleted. ! 1461: ! 1462: * cccp.c (main): Handle NO_IMPLICIT_EXTERN_C. ! 1463: ! 1464: Fri Nov 5 03:11:05 1993 Torbjorn Granlund ([email protected]) ! 1465: ! 1466: * config/m68k/m68k.h (RTX_COST): Return actual costs for ! 1467: multiplication, not costs for theoretical special cases that are ! 1468: not handled in the md. ! 1469: ! 1470: Fri Nov 5 00:42:09 1993 Richard Stallman ([email protected]) ! 1471: ! 1472: * emit-rtl.c (gen_highpart): If arg is function value hard reg, ! 1473: return a subreg of it (as in gen_lowpart_common). ! 1474: ! 1475: * integrate.c (expand_inline_function): Handle CONCAT as rtl for parm. ! 1476: (copy_rtx_and_substitute): For subreg, handle case where the reg ! 1477: inside turns into a CONCAT. ! 1478: ! 1479: * configure: Treat hppa1.[01]-hpux8.0[01] like hppa1.[01]-hpux8.02. ! 1480: ! 1481: * fixproto: Don't scan sub-directories whose names end in CC ! 1482: or contain ++ - these are probably C++ directories. ! 1483: ! 1484: Thu Nov 4 12:02:04 1993 Jim Wilson ([email protected]) ! 1485: ! 1486: * integrate.c (expand_inline_function): Don't call ! 1487: push_temp_slots, free_temp_slots, and pop_temp_slots when handling ! 1488: parameters, because they might end up in a temp slot. ! 1489: ! 1490: Thu Nov 4 15:00:38 1993 Samuel Figueroa ([email protected]) ! 1491: ! 1492: * i386/os2.h, i386/xm-os2.h: New files. ! 1493: ! 1494: Thu Nov 4 14:36:54 1993 Richard Stallman ([email protected]) ! 1495: ! 1496: * c-decl.c (finish_enum): Undo previous change. ! 1497: ! 1498: Thu Nov 4 13:30:16 1993 Richard Kenner ([email protected]) ! 1499: ! 1500: * loop.c (strength_reduce): Ignore initial value if it is the ! 1501: wrong mode. ! 1502: (record_initial): Don't ignore any set of the register. ! 1503: ! 1504: * rs6000.md (movdf): Don't have reload choose alternative of ! 1505: loading a constant into a GPR. ! 1506: ! 1507: * reload.c (find_reloads, case 'o'): A pseudo is not always ! 1508: an offsettable memref. ! 1509: (find_reloads): If we reload a constant into a register via ! 1510: memory, count it as two reloads. ! 1511: ! 1512: * function.c (expand_function_start): If not optimizing, ensure ! 1513: we mark context display regs as live for the entire function. ! 1514: ! 1515: Thu Nov 4 02:24:22 1993 Richard Stallman ([email protected]) ! 1516: ! 1517: * tree.h (DECL_IN_TEXT_SECTION): New macro. ! 1518: * varasm.c (assemble_variable): Set DECL_IN_TEXT_SECTION. ! 1519: * dbxout.c (dbxout_symbol_location): Test DECL_IN_TEXT_SECTION. ! 1520: ! 1521: Wed Nov 3 23:59:48 1993 Richard Stallman ([email protected]) ! 1522: ! 1523: * c-typeck.c (build_function_call): Initialize fundecl to 0. ! 1524: ! 1525: Wed Nov 3 16:34:01 1993 Torbjorn Granlund ([email protected]) ! 1526: ! 1527: * pa.h (REGISTER_MOVE_COST): Decrease cost for move from ! 1528: SHIFT_REGS to avoid regclass overflow. ! 1529: ! 1530: Wed Nov 3 15:35:44 1993 Richard Stallman ([email protected]) ! 1531: ! 1532: * config/m68k/m68k.c (output_move_double): Fix up the test for overlap ! 1533: of source address with operands[0]. ! 1534: ! 1535: * regclass.c (regclass): Consider commutativity even when ! 1536: one arg is a constant. ! 1537: ! 1538: Wed Nov 3 12:06:23 1993 Jim Wilson ([email protected]) ! 1539: ! 1540: * expmed.c (expand_divmod): Use target as copy_to_suggested_reg ! 1541: argument only if it has the same mode as op0. ! 1542: ! 1543: Wed Nov 3 04:58:26 1993 Richard Stallman ([email protected]) ! 1544: ! 1545: * protoize.c (safe_write, safe_read): Really use arg DESC. ! 1546: ! 1547: * libgcc2.c (exit): Fix declaration of _exit. ! 1548: ! 1549: * c-common.c (check_format_info): Make warning nicer for mismatch ! 1550: of int vs long, etc. ! 1551: Don't warn if field width is an unsigned int. ! 1552: ! 1553: * c-decl.c (finish_enum): Always make an enum signed if it will fit. ! 1554: ! 1555: Wed Nov 3 14:23:52 1993 Torbjorn Granlund ([email protected]) ! 1556: ! 1557: * cse.c (cse_insn): Call `invalidate' also for STRICT_LOW_PART and ! 1558: ZERO_EXTRACT (three places). ! 1559: (invalidate_from_clobbers): Likewise (two places). ! 1560: (cse_around_loop): Likewise. ! 1561: (invalidate_skipped_set): Likewise. ! 1562: (cse_set_around_loop): Likewise. ! 1563: ! 1564: Wed Nov 3 03:56:55 1993 Paul Eggert ([email protected]) ! 1565: ! 1566: * dbxout.c (dbxout_type): Print `-2' instead of `0037777777776' ! 1567: for an enumeration constant whose value is -2; ! 1568: otherwise, GDB 4.11 rejects the type. ! 1569: ! 1570: Wed Nov 3 04:35:13 1993 Richard Stallman ([email protected]) ! 1571: ! 1572: * Makefile.in (fix-header, gen-protos): Link with HOST_LIBS. ! 1573: Depend on HOST_LIBDEPS. ! 1574: ! 1575: Wed Nov 3 00:07:18 1993 Per Bothner ([email protected]) ! 1576: ! 1577: * fixproto: When checking for uses of _flsbuf, make sure to ! 1578: not match (say) __flsbuf or other non-word _flsbuf strings. ! 1579: * fixproto: Be more robust when checking for files indirectly ! 1580: needed (via #include directives). E.g. handle "../foo/bar.h" ! 1581: properly, and silently ignore missing include files. ! 1582: ! 1583: Tue Nov 2 17:37:39 1993 Richard Stallman ([email protected]) ! 1584: ! 1585: * gcc.c (do_spec_1): Use spec_version for %v, not version_string. ! 1586: Distinguish %v1 and %v2. ! 1587: (default_compilers): For __GNUC_MINOR__, use %v2. ! 1588: For __GNUC__ and __GNUG__, use %v1. ! 1589: ! 1590: * protoize.c (safe_read): New function. ! 1591: (process_aux_info_file, edit_file): Use safe_read. ! 1592: ! 1593: * cccp.c (safe_read): New function. ! 1594: (main, finclude, check_precompiled): Use safe_read. ! 1595: ! 1596: Tue Nov 2 14:31:42 1993 Ian Lance Taylor ([email protected]) ! 1597: ! 1598: * fixincludes: Don't remove /**/ from X11/Xlibint.h or ! 1599: X11/extensions/multibufst.h; unnecessary. ! 1600: ! 1601: Tue Nov 2 07:20:12 1993 Richard Kenner ([email protected]) ! 1602: ! 1603: * optabs.c (init_optabs): Function `ffs' takes `int', not mode that ! 1604: is BITS_PER_WORD wide. ! 1605: ! 1606: Tue Nov 2 02:53:26 1993 Richard Stallman ([email protected]) ! 1607: ! 1608: * cp-typeck.c (comptypes): Fix typo in changing STRICT from 2 to 1. ! 1609: ! 1610: * protoize.c (edit_file): Use safe_write. ! 1611: (safe_write): New subroutine. ! 1612: ! 1613: * calls.c (expand_call): Discard __ prefix like _ or __x. ! 1614: ! 1615: * objc/objects.c: Include tconfig.h. ! 1616: ! 1617: Mon Nov 1 23:34:46 1993 Rainer Orth ([email protected]) ! 1618: ! 1619: * fixincludes (sys/stat.h) fix fchmod prototype, first arg is ! 1620: int, not char * [AIX 3.2.4] ! 1621: (rpc/svc.h): avoid nested comments [Ultrix 4.3] ! 1622: (stdio.h, stdlib.h): fixed getopt prototypes to match POSIX.2 ! 1623: [DEC Alpha OSF/1 1.3] ! 1624: ! 1625: Mon Nov 1 11:42:29 1993 Ian Lance Taylor ([email protected]) ! 1626: ! 1627: * fixincludes: Fix <sys/limits.h> like <limits.h>. ! 1628: ! 1629: * fixincludes: Unquote 'f' in #define _IO. Fix elf.h like ! 1630: elf_abi.h. For Irix 5. ! 1631: ! 1632: Mon Nov 1 15:15:38 1993 Richard Stallman ([email protected]) ! 1633: ! 1634: * configure (mips-sgi-irix5*): Add fixincludes=Makefile.in. ! 1635: ! 1636: * fixproto (setjmp.h): Don't require siglongjmp and sigsetjmp. ! 1637: They need sigjmp_buf, and are missing on many systems. ! 1638: ! 1639: * Makefile.in (stmp-fixproto): Print a notice that warnings and errors ! 1640: from fixproto are normal. ! 1641: (distdir): Avoid spurious output from gcc.texi version number check. ! 1642: (diff): New target. ! 1643: ! 1644: Mon Nov 1 15:19:09 1993 Ian Lance Taylor ([email protected]) ! 1645: ! 1646: * fixincludes: Don't remove /**/ from X11/xmd.h; breaks gcc ! 1647: -traditional on some systems. ! 1648: ! 1649: Mon Nov 1 07:38:58 1993 Richard Kenner ([email protected] ! 1650: ! 1651: * rs6000.md: Add set_attr for "length" when we are going to split ! 1652: an insn at output time. ! 1653: ! 1654: * rs6000.md (bdn/bdz): Fix typo in checking for when we ! 1655: need to split. ! 1656: ! 1657: * rs6000.md (mulsi3): Make alternatives be "mq" and "no_mq" ! 1658: instead of "power" and "powerpc". Only allow one pattern (either ! 1659: with or without the clobber of MQ) to match. ! 1660: ! 1661: * stmt.c (expand_decl_init): If CONST_DECL, don't generate any ! 1662: code, but call expand_expr if DECL_INITIAL is a constant. ! 1663: ! 1664: Mon Nov 1 06:17:16 1993 Torbjorn Granlund ([email protected]) ! 1665: ! 1666: * m68k.md (divhisi3, udivhisi3, modhisi3, umodhi3): Comment out. ! 1667: (divhisi3, udivhisi3, modhisi3, umodhi3 recognizers): Comment out. ! 1668: ! 1669: * expmed.c (synth_mult): When factoring T, break from loop after ! 1670: first factor. ! 1671: (expand_mult): Increase max cost to 12 again. ! 1672: ! 1673: Mon Nov 1 01:06:27 1993 Richard Stallman ([email protected]) ! 1674: ! 1675: * cccp.c (safe_write): New function. ! 1676: (write_output): Use safe_write. ! 1677: ! 1678: Mon Nov 1 01:06:27 1993 Richard Stallman ([email protected]) ! 1679: ! 1680: * Version 2.5.2 released. ! 1681: ! 1682: * cccp.c (do_ident): Fix previous change. ! 1683: ! 1684: Sun Oct 31 14:41:40 1993 Richard Stallman ([email protected]) ! 1685: ! 1686: * Version 2.5.1 released. ! 1687: ! 1688: * cccp.c (do_ident): Substitute macros and output here. ! 1689: (directive_table): Turn off the pass_thru field for #ident. ! 1690: ! 1691: * c-common.c (shorten_compare): Undo previous change. ! 1692: Instead, just suppress warnings if both args are constant. ! 1693: ! 1694: * config/m68k/m68k.md (extzv, and its recognizer): ! 1695: If width is 32, don't set CC_NOT_NEGATIVE. ! 1696: If width is variable, clear the CC status. ! 1697: ! 1698: * config/m68k/m68k.c (output_move_double): Extend the special case ! 1699: for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. ! 1700: ! 1701: Sun Oct 31 17:02:13 1993 Jason Merrill ([email protected]) ! 1702: ! 1703: * cp-init.c (expand_aggr_init_1): When unswitching a COND_EXPR ! 1704: initializer (i.e. int a = b ? 1 : 0 => int a; b ? a=1 : a=0), ! 1705: set TREE_SIDE_EFFECTS on the result. ! 1706: ! 1707: Sun Oct 31 13:33:46 1993 Jim Wilson ([email protected]) ! 1708: ! 1709: * expr.c (do_store_flag): For equality test of a single bit, use ! 1710: subtarget instead of target in calls. ! 1711: ! 1712: Sat Oct 30 17:58:37 1993 Richard Stallman ([email protected]) ! 1713: ! 1714: * config/m68k/hpux7.h: New file. ! 1715: * configure (m68k-hp-hpux7*): New alternative. ! 1716: ! 1717: * c-common.c (shorten_compare): Do nothing if both args constant. ! 1718: ! 1719: * config.sub: Re-add hitachi to list of companies not to treat ! 1720: as OS names. ! 1721: ! 1722: * expr.c (convert_move): When extending to multi-word register ! 1723: via its low word, clobber the whole thing. ! 1724: ! 1725: * config/i386/i386.c (output_move_double): Extend the special case ! 1726: for *--sp = sp[N] to handle 12 bytes as well as 8 bytes. ! 1727: ! 1728: Sat Oct 30 17:21:33 1993 Atsushi Furuta ([email protected]) ! 1729: ! 1730: * pa-ghiux.h, pa-hiux.h, pa1-ghiux.h: New files, for Hitachi H3050/RX. ! 1731: * pa1-hiux.h, x-pa-hiux, xm-pahiux.h: Likewise. ! 1732: * config.sub, configure: Add H3050/RX support. ! 1733: ! 1734: Sat Oct 30 03:40:08 1993 Richard Stallman ([email protected]) ! 1735: ! 1736: * config/pa/pa.c (output_dbra): Fix argument number in addi at end. ! 1737: ! 1738: * tree.h (enum built_in_function): Added END_BUILTINS to delimit ! 1739: standard from language-specific builtins. ! 1740: ! 1741: * toplev.c (rest_of_compilation): When an `extern inline' is not ! 1742: really inline, clear DECL_INITIAL so we don't complain about ! 1743: a subsequent non-extern definition. ! 1744: * c-decl.c (finish_function): If rest_of_compilation set DECL_INITIAL ! 1745: to null, leave it null. ! 1746: ! 1747: * c-common.c (convert_and_check): Don't warn converting 0xff ! 1748: to a signed char, etc., unless pedantic. ! 1749: ! 1750: * Makefile.in (mainversion): New variable. ! 1751: (distdir): Use mainversion when verifying gcc.texi has been updated. ! 1752: ! 1753: Sat Oct 30 03:12:54 1993 Torbjorn Granlund ([email protected]) ! 1754: ! 1755: * m68k.md (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. ! 1756: ! 1757: Fri Oct 29 12:06:09 1993 Ian Lance Taylor ([email protected]) ! 1758: ! 1759: * fixinc.svr4 (sys/stat.h): Don't change definitions into ! 1760: prototypes if they may already be in prototype form. ! 1761: ! 1762: Fri Oct 29 16:50:33 1993 Richard Stallman ([email protected]) ! 1763: ! 1764: * config/i386/linux.h (LIB_SPEC): Use -lieee if -mieee-fp. ! 1765: ! 1766: Fri Oct 29 13:04:16 1993 Arne H. Juul ([email protected]) ! 1767: ! 1768: * mips/iris5.h (LINK_SPEC): Pass -no_unresolved if -call_shared. ! 1769: ! 1770: Fri Oct 29 12:52:54 1993 Richard Kenner ([email protected]) ! 1771: ! 1772: * rs6000.md (addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, ! 1773: then POWER. ! 1774: ! 1775: * mips/iris5.h ({DBX,SDB,MIPS}_DEBUGGING_INFO): Turn off until working. ! 1776: ! 1777: Fri Oct 29 12:15:12 1993 Minh Tran-Le ([email protected]) ! 1778: ! 1779: * i386/xm-aix.h: Define HAVE_PUTENV for AIX PS/2. ! 1780: ! 1781: Fri Oct 29 11:49:46 1993 DJ Delorie ([email protected]) ! 1782: ! 1783: * i386/go32.h: Add support for coff-based ctor/dtor handling. ! 1784: ! 1785: Thu Oct 28 21:33:22 1993 Kresten Krab Thorup ([email protected]) ! 1786: ! 1787: * objc-act.c (check_methods_accessible): Fix bug in ! 1788: -Wno-protocol. Reset chain to bottom class for each search. ! 1789: ! 1790: Thu Oct 28 21:30:38 1993 Richard Kenner ([email protected]) ! 1791: ! 1792: * c-parse.in (init): Remove extraneous pop_momentary in error case. ! 1793: ! 1794: Thu Oct 28 19:01:33 1993 Ron Guilmette ([email protected]) ! 1795: ! 1796: * cp-method.c (hack_identifier): If an overloaded identifier ! 1797: can only mean one thing, it can only mean one thing. ! 1798: ! 1799: Thu Oct 28 18:52:15 1993 John F Carr ([email protected]) ! 1800: ! 1801: * cp-typeck.c (get_member_function_from_ptrfunc): Convert delta ! 1802: to size_t before adding to pointer. ! 1803: ! 1804: Thu Oct 28 18:43:41 1993 Richard Earnshaw ([email protected]) ! 1805: ! 1806: * arm.h (ENCODE_SECTION_INFO): Use DECL_RTL for DECLs. ! 1807: ! 1808: Wed Oct 27 20:58:31 1993 Torbjorn Granlund ([email protected]) ! 1809: ! 1810: * pa.c (emit_move_sequence): Fix typo, `Pmode' was `mode'. ! 1811: ! 1812: Wed Oct 27 00:01:06 1993 Richard Stallman ([email protected]) ! 1813: ! 1814: * cse.c (cse_insn): When using src_related, copy the rtx. ! 1815: Likewise for src_eqv_here. ! 1816: ! 1817: * c-typeck.c (output_pending_init_elements): Don't crash if ! 1818: constructor_unfilled_fields is 0. ! 1819: ! 1820: * fixincludes (bsd/sys/wait.h): Undo previous change. ! 1821: ! 1822: * config/m68k/xm-amix.h (abort): Don't use fancy_abort. ! 1823: (alloca): In GCC 1, define as __builtin_alloca. ! 1824: ! 1825: * config/m68k/amix.h (ASM_GENERATE_INTERNAL_LABEL) ! 1826: (ASM_OUTPUT_INTERNAL_LABEL): #if 0 deleted, to reenable these. ! 1827: (NO_DOT_IN_LABEL): Defined. ! 1828: (NO_DOLLAR_IN_LABEL): Undefined. ! 1829: ! 1830: * function.c (assign_parms): If parmreg is a CONCAT, handle the ! 1831: case where stack_parm is 0. ! 1832: ! 1833: * expr.c (do_jump): Use do_jump_by_parts_equality for complex compares. ! 1834: ! 1835: * c-typeck.c (build_c_cast): When making union constructor, ! 1836: copy TREE_CONSTANT from the given value. ! 1837: (initializer_constant_valid_p): Special handling for "constant" ! 1838: union constructor. ! 1839: ! 1840: * bytecode.def: Rename dup to duplicate. ! 1841: * expr.c (expand_assignment): Use duplicate. ! 1842: (bc_expand_expr): Likewise. ! 1843: (bc_expand_constructor): Likewise. ! 1844: ! 1845: * print-tree.c (print_node_brief): Use unsigned char to print ! 1846: the bytes of a real constant. ! 1847: ! 1848: * expmed.c (store_bit_field): When calling operand_subword_force, ! 1849: if VALUE has a non-void mode, pass that mode. ! 1850: ! 1851: * config/m68k/amix.h (NO_DOLLAR_IN_LABEL): Defined. ! 1852: ! 1853: Tue Oct 26 19:05:36 1993 John F Carr ([email protected]) ! 1854: ! 1855: * rs6000.c (rs6000_override_options): Support -mcpu=rsc1. ! 1856: ! 1857: Tue Oct 26 19:01:08 1993 Richard Stallman ([email protected]) ! 1858: ! 1859: * Makefile.in (deduced.h): Add -I. and -I$(srcdir). ! 1860: ! 1861: * scan-types.sh (CC): Move a " to avoid shell error. ! 1862: ! 1863: * config.sub (paragon): New alias. ! 1864: * configure (i860-*-osf*): New alternative. ! 1865: * gstdarg.h, gvarargs.h [__i860__]: Add to little-endian list. ! 1866: * libgcc2.c (___builtin_saveregs): New alternative for __PARAGON__. ! 1867: * va-i860.h: Treat __PARAGON__ like __SVR4__. ! 1868: (va_dcl) [__PARAGON__]: Declare va_alist. ! 1869: * paragon.h, xm-paragon.h: New files. ! 1870: ! 1871: Tue Oct 26 18:58:49 1993 Richard Kenner ([email protected]) ! 1872: ! 1873: * fix-header.c: Delete duplicate definition of "buf". ! 1874: * fix-header.c, gen-protos.c, scan-decls.c, scan.c: Include hconfig.h. ! 1875: * scan-decls.c: Remove unused #ifdef OLD. ! 1876: ! 1877: * Makefile.in (gen-protos.o, scan.o, fix-header.o, scan-decls.o): ! 1878: Add rule to compile using $(HOST_CC). ! 1879: Show using hconfig.h. ! 1880: ! 1881: * rs6000.md (movsi): Can copy a TOC address into a register. ! 1882: ! 1883: Tue Oct 26 15:03:07 1993 Richard Stallman ([email protected]) ! 1884: ! 1885: * gcc.c (default_compilers): Define __GNUC_MINOR__, using %v. ! 1886: (do_spec_1): Implement %v. ! 1887: ! 1888: Tue Oct 26 11:06:59 1993 Mike Stump ([email protected]) ! 1889: ! 1890: * cp-lex.c (consume_string): Handle "\"" and '\''. ! 1891: ! 1892: Tue Oct 26 13:44:17 1993 Jim Wilson ([email protected]) ! 1893: ! 1894: * Makefile.in (fix-header.o): Depend on fix-header.c. ! 1895: (scan-decls.o): New target. ! 1896: (gen-protos.o, scan.o): New targets. ! 1897: ! 1898: * Makefile.in (gen-protos, fix_header): Add $(HOST_CFLAGS) and ! 1899: $(HOST_LDFLAGS). ! 1900: ! 1901: * x-sysv (OLDCC): Add -XNh1500. ! 1902: * x-mips: Likewise. ! 1903: ! 1904: Tue Oct 26 12:21:06 1993 Ian Lance Taylor ([email protected]) ! 1905: ! 1906: * fixincludes: Fix NeXT <sys/wait.h> problem in <bsd/sys/wait.h> ! 1907: as well, since that is where the file is in NeXTStep 3.0. ! 1908: ! 1909: Tue Oct 26 07:23:08 1993 Torbjorn Granlund ([email protected]) ! 1910: ! 1911: * expmed.c (init_expmed): Use register 10000, not FIRST_PSEUDO_REGISTER ! 1912: that gets special treatment in rtx_cost. ! 1913: (expand_mult): Decrease max cost to 8. ! 1914: ! 1915: * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, ! 1916: set common. ! 1917: ! 1918: Tue Oct 26 01:59:17 1993 Richard Stallman ([email protected]) ! 1919: ! 1920: * protoize.c [__NeXT__]: Don't declare setjmp or longjmp. ! 1921: ! 1922: * configure: Ignore --verbose option if specified. ! 1923: ! 1924: * expr.c (emit_move_insn_1): Don't call group_insns ! 1925: when X is a CONCAT. ! 1926: (emit_move_insn_1, case CONJ_EXPR and COMPLEX_EXPR): Likewise. ! 1927: ! 1928: * fixproto (signal.h): Add prototypes only for kill and raise. ! 1929: Not for the POSIX signal functions. ! 1930: (sys/resource.h): Delete special handling for this file. ! 1931: ! 1932: * c-typeck.c (push_init_level): Align here for element of record. ! 1933: (process_init_element): Not here (was before call to push_init_level). ! 1934: ! 1935: * scan-types.sh: Expect GCC source dir as argument. ! 1936: In dummy.c, use gstddef.h and gstdarg.h, not stddef.h and stdarg.h. ! 1937: * Makefile.in (deduced.h): Pass GCC source dir to scan-types.sh. ! 1938: ! 1939: Mon Oct 25 23:23:26 1993 Torbjorn Granlund ([email protected]) ! 1940: ! 1941: * c-typeck.c (build_binary_op): For TRUNC_MOD_EXPR and FLOOR_MOD_EXPR, ! 1942: don't shorten when divisor might be -1. ! 1943: ! 1944: Mon Oct 25 23:45:20 1993 Minh Tran-Le ([email protected]) ! 1945: ! 1946: * seq-sysv3.h (CPP_SPEC): Define _SEQUENT_ to be compatible with cc. ! 1947: (INVOKE__main): Defined. ! 1948: (HAVE_ATEXIT): Defined. ! 1949: ! 1950: * configure (i[34]86-sequent-sysv): Use fixinc.srv4 and define ! 1951: broken_install. ! 1952: ! 1953: Mon Oct 25 18:53:51 1993 Richard Kenner ([email protected]) ! 1954: ! 1955: * expr.c (expand_expr, case PLACEHOLDER_EXPR): Fix typos. ! 1956: ! 1957: Mon Oct 25 16:25:58 1993 Richard Stallman ([email protected]) ! 1958: ! 1959: * scan.c (scan_string, skip_spaces): Add newline before fn name. ! 1960: ! 1961: * scan-decls.c (scan_decls): When reading parameter list, ! 1962: handle whitespace differently, and keep track of line number. ! 1963: ! 1964: * config/i386/x-linux (STMP_FIXPROTO): Define as empty. ! 1965: ! 1966: Mon Oct 25 13:22:37 1993 Kaveh R. Ghazi ([email protected]) ! 1967: ! 1968: * fixincludes: Fix bad S_IS* macros in <sys/stat.h> on m88k-sysv3. ! 1969: ! 1970: Mon Oct 25 22:34:12 BST 1993 Richard Earnshaw ([email protected]) ! 1971: ! 1972: * fixincludes: Remove nested brackets in change of Oct 21. ! 1973: Fix token pasting operator in ARM/RISCiX include files. ! 1974: ! 1975: Mon Oct 25 13:01:52 1993 Jim Wilson ([email protected]) ! 1976: ! 1977: * sparc.h (LONG_DOUBLE_TYPE_SIZE): Don't define here. ! 1978: * sol2.h (LONG_DOUBLE_TYPE_SIZE): Do define here. ! 1979: ! 1980: * configure (mips-sgi-irix5): Don't use collect. ! 1981: ! 1982: Sun Oct 24 14:15:12 1993 Jim Wilson ([email protected]) ! 1983: ! 1984: * libgcc2.c (L_bb): Undef NULL before including <stdio.h>. ! 1985: ! 1986: Sun Oct 24 03:04:53 1993 Richard Stallman ([email protected]) ! 1987: ! 1988: * Makefile.in (g++.o): New target. ! 1989: ! 1990: * varasm.c (assemble_variable): Set last_assemble_variable_decl. ! 1991: (last_assemble_variable_decl): New variable. ! 1992: * toplev.c (rest_of_decl_compilation): Test that var. ! 1993: ! 1994: Sat Oct 23 20:28:13 1993 Jim Wilson ([email protected]) ! 1995: ! 1996: * configure (mips-sgi-irix5): Uncomment. ! 1997: * iris5.h: Replace with working version. ! 1998: * xm-iris5.h: New file. ! 1999: ! 2000: * mips.c (mips_abicalls): New variable. ! 2001: (override_options): Set mips_abicalls. Allow '^' as print operand ! 2002: punctuation character. ! 2003: (print_operand): Add support for '^'. ! 2004: (mips_asm_file_start): Use ABICALLS_ASM_OP instead of ".abicalls". ! 2005: (compute_frame_size): Handle TARGET_ABICALLS case. ! 2006: (mips_expand_prologue): Likewise. ! 2007: * mips.h (mips_abicalls): Declare new variable. ! 2008: (PIC_FUNCTION_ADDR_REGNUM): New macro. ! 2009: (STARTING_FRAME_OFFSET): Handle TARGET_ABICALLS case. ! 2010: * mips.md (abicalls): New attribute. ! 2011: (define_delay): Don't fill call delay slots when TARGET_ABICALLS. ! 2012: (call_internal3, call_value_internal3): Renamed from ! 2013: call_internal2 and call_value_internal2. ! 2014: (call_internal2, call_value_internal2): New call patterns for ! 2015: TARGET_ABICALL case. ! 2016: (call_internal4, call_value_internal4): Likewise. ! 2017: ! 2018: Sat Oct 23 00:06:14 1993 Richard Stallman ([email protected]) ! 2019: ! 2020: * Makefile.in (deduced.h): Depend on GCC_PASSES and stmp-int-hdrs. ! 2021: (xsys-protos.h): Depend on GCC_PASSES. ! 2022: (fixhdr.ready): New target. ! 2023: (stmp-fixproto): Depend on fixhdr.ready, not fix-header itself. ! 2024: (clean): Delete fixhdr.ready. ! 2025: ! 2026: Fri Oct 22 01:20:29 1993 Richard Stallman ([email protected]) ! 2027: ! 2028: * fix-header.c: Renamed from patch-header.c. ! 2029: (progname): Change name. ! 2030: * fixproto: Use fix-header. ! 2031: * Makefile.in (fix-header, fix-header.o): Renamed from patch-header*. ! 2032: (stmp-fixproto, mostlyclean): Rename references to them. ! 2033: ! 2034: * expr.c (store_field): In BLKmode case, return blk_object. ! 2035: ! 2036: * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Undef, then define. ! 2037: ! 2038: * Version 2.5.0 released. ! 2039: ! 2040: Thu Oct 21 13:02:48 1993 Jim Wilson ([email protected]) ! 2041: ! 2042: * mips.h (CUMULATIVE_ARGS): Double size of adjust array. ! 2043: * mips.c (function_arg): Add comment about too many adjust entries. ! 2044: ! 2045: Thu Oct 21 13:48:14 1993 Richard Kenner ([email protected]) ! 2046: ! 2047: * rs6000.h (HARD_REGNO_MODE_OK): Multi-word objects cannot ! 2048: go into MQ, LR, or CTR. ! 2049: ! 2050: * configure (mips-sgi-iris5*): Disable; not working yet. ! 2051: * mips/iris5.h (ASM_SPEC, LINK_SPEC, CPP_PREDEFINES): Extend a bit. ! 2052: ! 2053: * expmed.c (expand_divmod): Create RESULT in proper mode when trying ! 2054: quotient-and-remainder insn. ! 2055: ! 2056: Thu Oct 21 13:14:40 1993 Richard Stallman ([email protected]) ! 2057: ! 2058: * Makefile.in (STMP_FIXPROTO): Uncomment the definition. ! 2059: ! 2060: * varasm.c (output_constructor): Fix previous change: ! 2061: if no TYPE_DOMAIN, don't set min_index. ! 2062: ! 2063: Thu Oct 21 11:13:21 1993 Richard Earnshaw ([email protected]) ! 2064: ! 2065: * fixincludes: Avoid conflicting uses of __wchar_t in cc1plus and ! 2066: stdlib.h for ARM/RISCiX. ! 2067: ! 2068: Thu Oct 21 08:16:13 1993 Doug Evans ([email protected]) ! 2069: ! 2070: * Makefile.in (install-common): Remove g++ dependency. ! 2071: Not built for cross compilers. ! 2072: ! 2073: Thu Oct 21 00:04:40 1993 Richard Stallman ([email protected]) ! 2074: ! 2075: * fixincludes (required): Accept a space instead of a tab ! 2076: between #define and CTRL (or _CTRL). ! 2077: ! 2078: * config/m68k/m68k.c (output_move_double): Use reg_overlap_mentioned_p ! 2079: when checking for overlap between source and dest. ! 2080: Fix syntax for the lea insn for double overlap case. ! 2081: * m68k.md (movdi, movdf, movxf): Delete the & from load case. ! 2082: ! 2083: * config/m88k/m88k.h (ASM_FINISH_DECLARE_OBJECT): Emit .size ! 2084: only if DECLARE_ASM_NAME. ! 2085: ! 2086: Wed Oct 20 21:32:11 1993 Jeff Law ([email protected]) ! 2087: ! 2088: * pa.c (output_arg_descriptor): Do not stop searching if a USE ! 2089: for the static link or struct value register is found. ! 2090: ! 2091: Wed Oct 20 22:43:22 1993 Michael Meissner ([email protected]) ! 2092: ! 2093: * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Don't emit .size ! 2094: directive if using the OSF/rose object format. ! 2095: ! 2096: * i386/osfrose.h, i386/osfelf.h (SWITCH_TAKES_ARG): Allow use of ! 2097: System V.4 -h * and -z * switches. ! 2098: (LINK_SPEC): Pass -G, -h*, -z* switches through to the ELF linker. ! 2099: Map -static, -symbolic, and -shared into the appropriate -B, -d, ! 2100: and -G options when invoking the ELF linker. ! 2101: ! 2102: Wed Oct 20 20:32:54 1993 Richard Stallman ([email protected]) ! 2103: ! 2104: * cse.c (fold_rtx): Alter previous change: don't fold the shift ! 2105: if the count exceeds the width of the value inside the subreg. ! 2106: ! 2107: * varasm.c (copy_constant): New function. ! 2108: (output_constant_def): Use it. ! 2109: ! 2110: * Makefile.in ($(srcdir)/INSTALL): Add --no-split. ! 2111: ! 2112: Wed Oct 20 19:35:35 1993 John F Carr ([email protected]) ! 2113: ! 2114: * alpha.h (LIB_SPEC): Link -lprof1 when profiling. ! 2115: ! 2116: Wed Oct 20 19:21:18 1993 Jim Wilson ([email protected]) ! 2117: ! 2118: * cccp.c (sys_errlist): Conditionalize declaration for BSD 4.4. ! 2119: * collect2.c, g++.c, gcc.c, protoize.c: Likewise. ! 2120: * collect2.c (my_strerror): Move block local extern declarations ! 2121: for sys_errlist and sys_nerr to file level. ! 2122: ! 2123: Wed Oct 20 18:27:28 1993 Richard Stallman ([email protected]) ! 2124: ! 2125: * c-typeck.c (output_init_element): When initializing a union, ! 2126: do it right away: never put the field on the pending list. ! 2127: ! 2128: * patch-header.c (main): Delete output file before opening it. ! 2129: Discard directory names from progname. ! 2130: * patch-header.c: Simplify and fix handling of errno.h. ! 2131: (It no longer thinks errno.h always needs fixing.) ! 2132: * patch-header.c (write_lbrac, write_rbrac): Only write ! 2133: extern "C" if that specifically is needed. ! 2134: ! 2135: Wed Oct 20 18:12:21 1993 Torbjorn Granlund ([email protected]) ! 2136: ! 2137: * pa.md (cacheflush): Split into dcacheflush and icacheflush. ! 2138: Rewrite to use space regs correctly. ! 2139: * pa.h (TRAMPOLINE_TEMPLATE): Rewrite. ! 2140: (TRAMPOLINE_SIZE): Update with new size. ! 2141: (INITIALIZE_TRAMPOLINE): Rewrite. ! 2142: ! 2143: Wed Oct 20 17:58:32 1993 Per Bothner ([email protected]) ! 2144: ! 2145: * varasm.c (output_constructor): Add support for non-zero ! 2146: lower array bound. ! 2147: * expr.c (store_constructor): Likewise. ! 2148: ! 2149: Wed Oct 20 15:16:34 1993 Richard Stallman ([email protected]) ! 2150: ! 2151: * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT ! 2152: unconditionally, but define it as no-op by default. ! 2153: ! 2154: * config/convex/convex.h (MAX_LONG_TYPE_SIZE): Defined. ! 2155: ! 2156: * varasm.c (size_directive_output): New variable. ! 2157: * toplev.c (rest_of_decl_compilation): Use ASM_FINISH_DECLARE_OBJECT. ! 2158: * config/svr4.h (ASM_DECLARE_OBJECT_NAME): Set size_directive_output. ! 2159: (ASM_FINISH_DECLARE_OBJECT): Defined. ! 2160: * config/i386/osfrose.h, config/m88k/m88k.h: Likewise. ! 2161: ! 2162: * patch-header.c (inf_size): Move decl inside main. ! 2163: (strdup): Use xmalloc rathern than malloc. ! 2164: Don't use the return value of strcpy. ! 2165: (INF_UNGET): Take parameter; do nothing if EOF. ! 2166: (strcpy): Declaration deleted. ! 2167: ! 2168: Wed Oct 20 11:39:56 1993 Jim Wilson ([email protected]) ! 2169: ! 2170: * xm-mips.h (HAVE_VPRINTF): Define for BSD 4.4. ! 2171: ! 2172: * mips.c (mips_output_filename): When emitting stabs, don't ! 2173: disable them if using gas. ! 2174: (mips_output_lineno): Likewise. ! 2175: ! 2176: * sparc.h (INITIALIZE_TRAMPOLINE): Emit 3 flush instrutions. ! 2177: * sparc.md (flush): Add pattern. ! 2178: ! 2179: Wed Oct 20 10:47:54 1993 Michael Meissner ([email protected]) ! 2180: ! 2181: * configure (mips-dec-bsd, mips-dec-osf): Fix a typo in the last ! 2182: change. ! 2183: ! 2184: Wed Oct 20 07:57:06 1993 Richard Kenner ([email protected]) ! 2185: ! 2186: * rs6000.h, aix31.h (RS6000_CROR_BIT_NUMBER): Deleted. ! 2187: (RS6000_CALL_GLUE): New macro. ! 2188: * rs6000.c (print_operand, case '.'): Use RS6000_CALL_GLUE ! 2189: instead of RS6000_CROR_BIT_NUMBER. ! 2190: (print_operand, case 'E', case 0): Use "return", not "break". ! 2191: * rs6000.md (call): Don't use CROR or NOP; just use "%.". ! 2192: ! 2193: * c-common.c (check_format_info): Consider "char", "signed char", ! 2194: and "unsigned char" types as equivalent. ! 2195: ! 2196: * loop.c (find_and_verify_loops): Properly continue loop after ! 2197: moving a block of code near a loop exit. ! 2198: ! 2199: Wed Oct 20 02:01:50 1993 Richard Stallman ([email protected]) ! 2200: ! 2201: * Makefile.in (extraclean): Delete file djefoo. ! 2202: (stmp-fixproto): Depend on stmp-headers, not LIBGCC2_DEPS. ! 2203: ! 2204: Tue Oct 19 23:11:16 1993 James Van Artsdalen ([email protected]) ! 2205: ! 2206: * config/i386/isc.h (LONG_DOUBLE_TYPE_SIZE): Define as 64 bits ! 2207: due to FP emulator bugs in the target kernel. ! 2208: * config/i386/sco.h: Likewise (kernel bugs are only suspected). ! 2209: ! 2210: Tue Oct 19 21:21:34 PDT 1993 Ralph Campbell ([email protected]) ! 2211: ! 2212: * configure (mips-dec-bsd): New alternative. ! 2213: * config/mips/dec-bsd.h: New file. ! 2214: ! 2215: Tue Oct 19 18:49:40 1993 Jim Wilson ([email protected]) ! 2216: ! 2217: * c-typeck.c (digest_init): For arrays, use comptypes to compare ! 2218: types instead of comparing pointers. ! 2219: ! 2220: Tue Oct 19 11:24:16 1993 Steve Chamberlain ([email protected]) ! 2221: ! 2222: * reload1.c (reload): Cope when inherited register is larger than ! 2223: one word. ! 2224: (choose_reload_regs): Ditto. ! 2225: ! 2226: Tue Oct 19 18:09:18 1993 David Edelsohn ([email protected]) ! 2227: ! 2228: * rs6000.md (define_function_unit): Add support for RIOS2 ! 2229: asymmetric integer units. ! 2230: ! 2231: Tue Oct 19 17:48:37 1993 Richard Kenner ([email protected]) ! 2232: ! 2233: * function.c (assign_parms): Properly set parm_reg_stack_loc for ! 2234: args that are a CONCAT. ! 2235: ! 2236: * clipper.md (movdi): Force use of "o" alternative if ! 2237: operand 1 is a MEM. ! 2238: ! 2239: * alpha.h (HAVE_ATEXIT): New macro. ! 2240: ! 2241: * reload.c (push_reload, find_reloads): If an operand is ! 2242: a SUBREG of a PLUS, force a reload and reload what is inside. ! 2243: ! 2244: * dbxout.c (print_int_cst_octal): Fix bug in last change. ! 2245: ! 2246: Tue Oct 19 17:42:23 1993 Richard Earnshaw ([email protected]) ! 2247: ! 2248: * arm.c: Include reload.h ! 2249: (arm_reload_out_hi): New function. ! 2250: (output_call): Don't look inside operands[0]. ! 2251: * arm.h: Add function definitions for shift_instr, ! 2252: output_mov_long_double_fpu_from_arm, ! 2253: output_mov_long_double_arm_from_fpu, ! 2254: and output_mov_long_double_arm_from_arm. ! 2255: (FLOAT_WORDS_BIG_ENDIAN): Define to 1. ! 2256: (SECONDARY_OUTPUT_RELOAD_CLASS): return GENERAL_REGS for HImode ! 2257: outputs. ! 2258: (ASM_OUTPUT_LONG_DOUBLE, ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT): ! 2259: output floating point constants as hex, make order correct given ! 2260: definition of FLOAT_WORDS_BIG_ENDIAN. ! 2261: (PRINT_OPERAND): Delete redundant code when handling CONST_DOUBLE. ! 2262: * arm.md: (reload_outhi): New pattern. ! 2263: (movhi): Handle reloads better. ! 2264: (restorehi): Delete. Also tidy up commented out code. ! 2265: (call): Make this a define_expand. ! 2266: (matcher for above): only accept MEM(reg) ! 2267: (call_value): Handle as for (call). ! 2268: * xm-arm.h (HOST_FLOAT_WORDS_BIG_ENDIAN): Define to 1. ! 2269: ! 2270: Tue Oct 19 13:25:03 1993 Mike Stump ([email protected]) ! 2271: ! 2272: * cp-type2.c (build_m_component_ref): Fix typo, type must be set, ! 2273: after changing component. Fixes problem introduced on Thu Sep 9 ! 2274: 21:22:40 1993. ! 2275: ! 2276: Tue Oct 19 01:09:56 1993 Richard Stallman ([email protected]) ! 2277: ! 2278: * configure (m68000-convergent-sysv*): Untangle from m68k-*-lynxos. ! 2279: ! 2280: * Makefile.in (stmp-fixproto): Depend on LIBGCC2_DEPS. ! 2281: (crtbegin.o, crtend.o): Specify -fno-inline-functions. ! 2282: ! 2283: * config/mips/iris5.h: New file. ! 2284: * config/mips/mips.c (mips_asm_file_start): Handle ABICALLS_ASM_OP. ! 2285: * configure (mips-sgi-iris5*): New configuration. ! 2286: ! 2287: Mon Oct 18 16:16:26 1993 Richard Stallman ([email protected]) ! 2288: ! 2289: * cse.c (note_mem_written): (mem (scratch)) means clobber everything. ! 2290: ! 2291: * gen-protos.c: Include ctype.h. ! 2292: ! 2293: * expmed.c (extract_split_bit_field): Change shift count calculation ! 2294: in little-endian case. ! 2295: ! 2296: * Makefile.in (stmp-fixproto): Added dependency on fixproto script. ! 2297: ! 2298: Mon Oct 18 11:26:08 1993 Jim Wilson ([email protected]) ! 2299: ! 2300: * c-typeck.c (process_init_element): Align structure elements ! 2301: that are subaggregates. ! 2302: ! 2303: * c-decl.c (finish_decl): After preserve_initializer call, set ! 2304: TREE_PERMANENT bit in initializer. ! 2305: ! 2306: * combine.c (can_combine_p): Don't combine instructions across a ! 2307: volatile insn. ! 2308: * rtlanal.c (volatile_insn_p): New function. ! 2309: ! 2310: Sun Oct 17 03:04:49 1993 Torbjorn Granlund ([email protected]) ! 2311: ! 2312: * configure (powerpc-ibm-aix*): Set cpu_type. ! 2313: * config.sub: Recognize powerpc. ! 2314: ! 2315: Sun Oct 17 21:37:57 1993 Jeffrey A. Law ([email protected]) ! 2316: ! 2317: * reload1.c (eliminate_regs_in_insn): Rerecognize some loads and ! 2318: stores. ! 2319: * pa.md (indexing loads and stores): Provide variants which avoid ! 2320: reload problems with shift-add operations. ! 2321: ! 2322: * pa.h (READONLY_DATA_SECTION): Disable. ! 2323: ! 2324: Thu Oct 14 12:38:27 1993 Richard Stallman ([email protected]) ! 2325: ! 2326: * cse.c (fold_rtx): Special case handling for folding ! 2327: a subreg of the result of a left shift. ! 2328: ! 2329: Thu Oct 14 00:05:42 1993 Richard Kenner ([email protected]) ! 2330: ! 2331: * alpha.h (DBX_CONTIN_LENGTH): Set to 4000. ! 2332: ! 2333: * expr.c (do_jump_for_compare): Don't blow up if aren't any insns ! 2334: in this sequence yet. ! 2335: ! 2336: * alpha.h (LINK_SPEC): Now OK to pass -O3 to linker. ! 2337: (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Work around ! 2338: bug in DEC assembler. ! 2339: ! 2340: Wed Oct 13 21:47:58 1993 Ian Lance Taylor ([email protected]) ! 2341: ! 2342: * fixincludes: Remove erroneous parens from Alpha OSF/1 <sym.h>. ! 2343: ! 2344: Wed Oct 13 16:08:54 1993 Richard Stallman ([email protected]) ! 2345: ! 2346: * config/m68k/sun3.h (CPP_PREDEFINES): Don't define _CROSS_TARGET_ARCH. ! 2347: ! 2348: * fold-const.c (invert_truthvalue): Handle SAVE_EXPR. ! 2349: ! 2350: * Makefile.in (install-collect2): Depend on install-dir. ! 2351: (install-info, install-float-h-cross): Likewise. ! 2352: ! 2353: Wed Oct 13 15:51:02 1993 Stephen L. Moshier ([email protected])\ ! 2354: ! 2355: * real.h (FLOAT_WORDS_BIG_ENDIAN): New macro. ! 2356: (HOST_FLOAT_WORDS_BIG_ENDIAN): Likewise, for host. ! 2357: (REAL_VALUE_TO_TARGET_DOUBLE (default version)): Use them. ! 2358: (efixi, efixui): Return HOST_WIDE_INT. ! 2359: (REAL_VALUE_FROM_INT): Cast inputs to HOST_WIDE_INT. ! 2360: * real.c (FLOAT_WORDS_BIG_ENDIAN, HOST_FLOAT_WORDS_BIG_ENDIAN): ! 2361: Use everywhere in place of WORDS_BIG_ENDIAN, HOST_WORDS_BIG_ENDIAN, ! 2362: except in reference to endian-ness of integers. ! 2363: (etrunci, etruncui, efixi, efixui, ereal_from_int, ereal_to_int, ! 2364: ltoe, ultoe, eifrac, euifrac): Change `long' to `HOST_WIDE_INT'. ! 2365: ! 2366: Wed Oct 13 15:47:37 1993 Richard Stallman ([email protected]) ! 2367: ! 2368: * c-parse.in (initdcl, notype_initdcl): Call decl_attributes ! 2369: before init as well as after. ! 2370: ! 2371: * config/ns32k/pc532.h (FRAME_POINTER_REQUIRED): ! 2372: Require a frame pointer if fn calls setjmp. ! 2373: ! 2374: Wed Oct 13 15:27:01 1993 Jim Wilson ([email protected]) ! 2375: ! 2376: * jump.c (jump_optimize): When moving a range of instructions, ! 2377: include all NOTEs before the range, not just line number notes. ! 2378: ! 2379: Wed Oct 13 11:01:51 1993 Per Bothner ([email protected]) ! 2380: ! 2381: * patch-header.c: #include <sys/types.h> before <sys/stat.h>. ! 2382: ! 2383: Wed Oct 13 11:57:33 1993 Richard Kenner ([email protected]) ! 2384: ! 2385: * rs6000.md (seq): Fix typo: had "xubfic" instead of "subfic". ! 2386: ! 2387: * va-m88k.h (_VA_LIST_): Define. ! 2388: ! 2389: * alpha.c (ignore_line_number): No longer used. ! 2390: ! 2391: * mips-tdump.c (print_global_hdr): Fix typo in cast in ctime call. ! 2392: ! 2393: * cccp.c (main): Don't catch SIGPIPE if no such signal. ! 2394: ! 2395: * x-alpha: File deleted, all shipped OSF systems have `ranlib'. ! 2396: ! 2397: * fold-const.c (optimize_bit_field_compare, decode_field_reference): ! 2398: Don't do anything if get_inner_reference returned its argument. ! 2399: ! 2400: * bi-reverse.c: Avoid defining NULL; can cause duplicate definition ! 2401: errors. ! 2402: ! 2403: Wed Oct 13 07:58:28 1993 Michael Meissner ([email protected]) ! 2404: ! 2405: * i386/osfrose.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define like in V.4. ! 2406: (FUNCTION_PROFILER, FUNCTION_PROLOGUE): Don't load up %eax with ! 2407: the pointer value before calling indirect, just call indirect the ! 2408: memory address to save some cycles in profiling. ! 2409: ! 2410: Tue Oct 12 12:41:12 1993 Jim Wilson ([email protected]) ! 2411: ! 2412: * cse.c (record_jump_cond): At end, make missing equivalences ! 2413: first, and then merge them. ! 2414: ! 2415: Tue Oct 12 21:30:29 1993 Doug Evans ([email protected]) ! 2416: ! 2417: * va-h8300.h (__va_rounded_size): Fix typo in #ifdef. ! 2418: ! 2419: Tue Oct 12 20:19:22 1993 Richard Stallman ([email protected]) ! 2420: ! 2421: * bc-emit.c: Include stdio.h last. ! 2422: * combine.c: Include stdio.h after gvarargs.h. ! 2423: ! 2424: Tue Oct 12 13:28:18 1993 Per Bothner ([email protected]) ! 2425: ! 2426: * fixproto: Re-write. We now assume that there are two ! 2427: source directories (source_dir_all and source_dir_std). These ! 2428: are handled differently. All files in source_dir_all (normally ! 2429: ./include) are processed, but in source_dir_std (normally ! 2430: /usr/include) we only process the standard ANSI/Posix ones where ! 2431: we might be able to add missing prototypes. ! 2432: * scan-decls.c (scan_decls): Rewrote from being a program whose ! 2433: output is piped to patch-header, to a subroutine called by ! 2434: patch-header. This should be somewhat more efficient. ! 2435: * Makefile.in (scan-decls): Removed rule to make program. ! 2436: * patch-header.c (recognized_macro, recognized_extern, ! 2437: recognized_function): New functins, with logic moved out from ! 2438: read_scan_file, so they can be called by scan_decls. ! 2439: * patch-header (main): Read the original header file into a ! 2440: buffer (rather than reading it with stdio). This should be more ! 2441: efficient, partly because we can re-write it in place. ! 2442: (inf_skip_spaces, inf_read_upto, inf_scan_ident): New functions, ! 2443: based on skip_spaces, read_upto, and scan_ident in scan.c, but ! 2444: these read from the in-memory buffer mentioned above. ! 2445: * scan-types.sh: Don't check for sigset_t, since it can be a ! 2446: struct, whose name cannot be simplify replaced by its definition. ! 2447: * Makefile.in (deduced.h): Don't pass -nostdinc. ! 2448: ! 2449: Tue Oct 12 18:36:32 1993 Peter Schauer ([email protected]) ! 2450: ! 2451: Changes to support native ecoff and embedded stabs debugging ! 2452: for the Alpha. ! 2453: ! 2454: * alpha.c (output_prolog): Put out file and line number if sdb ! 2455: debugging format, put out .ent directive, signal start of function for ! 2456: alpha_output_filename and set up debugging auto/arg offsets. ! 2457: (output_epilog): Signal end of function for alpha_output_filename. ! 2458: (alpha_output_filename, alpha_output_lineno): New functions. ! 2459: * alpha.h (TARGET_SWITCHES): Add gas option. ! 2460: (ASM_DECLARE_FUNCTION_NAME): Moved output of .ent directive to ! 2461: output_prolog. ! 2462: (DBX_NO_XREFS): Removed, gdb understands cross references and the ! 2463: native debugger can't handle embedded stabs. ! 2464: (ASM_FILE_START): Replace output of .file directive ! 2465: by ASM_OUTPUT_SOURCE_FILENAME call. ! 2466: (TARGET_GAS, MASK_GAS, SDB_DEBUGGING_INFO, DBX_DEBUGGING_INFO, ! 2467: MIPS_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, DEBUGGER_AUTO_OFFSET, ! 2468: DEBUGGER_ARG_OFFSET, ASM_OUTPUT_SOURCE_LINE, ! 2469: ASM_OUTPUT_SOURCE_FILENAME, DEFAULT_GDB_EXTENSIONS, ASM_STABS_OP, ! 2470: ASM_STABN_OP, ASM_STABD_OP, SDB_ALLOW_FORWARD_REFERENCES, ! 2471: SDB_ALLOW_UNKNOWN_REFERENCES, PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, ! 2472: PUT_SDB_TYPE, PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ! 2473: PUT_SDB_FUNCTION_START, PUT_SDB_FUNCTION_END, PUT_SDB_EPILOGUE_END, ! 2474: ASM_FINAL_SPEC, CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB, ! 2475: MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE): New macros. ! 2476: * alpha-gdb.h: New file. ! 2477: * configure (alpha-*-osf*): Handle --with-stabs and --with-gnu-as. ! 2478: * mips-tfile.c (add_local_symbol): Index in the external symbol ! 2479: must point to local symbol table entry for procedures. ! 2480: ! 2481: Mon Oct 11 16:14:53 1993 Ian Lance Taylor ([email protected]) ! 2482: ! 2483: * fixincludes: If a file is referenced with double quotes from ! 2484: a fixed file, make sure it is copied into the fixed include ! 2485: directory. ! 2486: Remove DPS/XDPSlib.h special-case code. ! 2487: ! 2488: Tue Oct 12 08:05:28 1993 David Edelsohn ([email protected]) ! 2489: ! 2490: * rs6000/powerpc.h: New file. ! 2491: * configure (powerpc-ibm-aix*): New target. ! 2492: * rs6000.h (MASK and TARGET): Add new flags for POWER2 and PowerPC ! 2493: with square root. ! 2494: (ASSEMBLER_DIALECT): New macro. ! 2495: (CONDITIONAL_REGISTER_USAGE): Set MQ register fixed if not POWER. ! 2496: (SHIFT_COUNT_TRUNCATED): Conditional on POWER. ! 2497: (ASM_OUTPUT_REG_{PUSH,POP}): Mnemonics dependencies. ! 2498: * rs6000.c (rs6000_override_options): Use new TARGET flags and ! 2499: add some more cpu choices. ! 2500: (output_prolog, output_epilog): Support new mnemonics and avoid ! 2501: using lm/stm when not POWER. ! 2502: * rs6000.md: Update define_function_units. ! 2503: Put both old and new mnemonics in all templates. ! 2504: Add target tests to pattern conditional field throughout. ! 2505: (one_cmplsi2): Make POWER and PowerPC variants. ! 2506: (mulsi3): Convert to define_expand which calls appropriate POWER ! 2507: or PowerPC pattern. ! 2508: (divsi3, udivsi3): Add patterns for PowerPC case. Update divsi3 ! 2509: define_expand for PowerPC case. ! 2510: (ashlsi3, lshrsi3, ashrsi3, extendqisi2, extendqihi2): Convert to ! 2511: define_expand which calls appropriate POWER or PowerPC pattern. ! 2512: (floating-point): Add PowerPC single-precision FP, and SF/DF sqrt ! 2513: insns for 603, 604, 620. ! 2514: (call insns): Use "nop" for magic TOC restore. ! 2515: (move data, nop): Use PowerPC extended mnemonics. ! 2516: ! 2517: Tue Oct 12 07:58:36 1993 Richard Kenner ([email protected]) ! 2518: ! 2519: * alpha.h (SETUP_INCOMING_VARARGS): If not TARGET_FPREGS, ! 2520: save another copy of the integer regs where the FP regs would ! 2521: have gone. ! 2522: ! 2523: * tree.h (struct tree_type): symtab_address is now a union of ! 2524: pointer and integer. ! 2525: (TYPE_SYMTAB_ADDRESS): Refer to the integer. ! 2526: (TYPE_SYMTAB_POINTER): New macro to refer to pointer. ! 2527: * sdbout.c (KNOWN_TYPE_TAG, SET_KNOWN_TYPE_TAG): Refer to ! 2528: TYPE_SYMTAB_POINTER and remove casts. ! 2529: (tag_of_ru_type): Likewise. ! 2530: ! 2531: * reload1.c (reload): Fix typo in RELOAD_FOR_INSN case when ! 2532: accounting for reloads. ! 2533: ! 2534: * expr.c (convert_modes): Reset OLDMODE from X after we strip ! 2535: a SUBREG due to a promoted variable. ! 2536: ! 2537: * dbxout.c (dbxout_type, case INTEGER_TYPE): Output bounds in ! 2538: octal if type wider than HOST_WIDE_INT. ! 2539: (print_int_cst_octal): Trim bound by precision of its type. ! 2540: Avoid warning on what may be shift into sign bit. ! 2541: ! 2542: * bi-reverse.c: Add missing #include for hconfig.h. ! 2543: ! 2544: * fixincludes: Quote braces when looking for DONE files. ! 2545: ! 2546: * final.c (dialect_number): New variable. ! 2547: (init_final): Initialize it. ! 2548: (output_asm_insn, asm_fprintf): Support ASSEMBLER_DIALECT. ! 2549: ! 2550: Tue Oct 12 01:34:16 1993 Richard Stallman ([email protected]) ! 2551: ! 2552: * c-typeck.c (digest_init): If traditional, allow unbraced scalar ! 2553: to initialize the first element of an aggregate. ! 2554: ! 2555: * cccp.c (output_line_command): Output the `4' flag only if cplusplus. ! 2556: (do_line): Handle the `4' flag. ! 2557: ! 2558: * final.c (final_scan_insn): Call walk_alter_subreg for operands ! 2559: that are PLUS or MULT, before constrain_operands. ! 2560: ! 2561: Mon Oct 11 15:18:45 1993 Richard Stallman ([email protected]) ! 2562: ! 2563: * real.c (debug_real): New function. ! 2564: ! 2565: * regclass.c (reg_scan_mark_refs): XEXP (x, 0) in EXPR_LIST may be 0. ! 2566: ! 2567: * config/m68k/m68k.md (cmphi): Turn on constraints to support cmpm.w. ! 2568: ! 2569: Mon Oct 11 13:20:54 1993 Jim Wilson ([email protected]) ! 2570: ! 2571: * unroll.c (unroll_loop): Set map->const_equiv_map_size to ! 2572: new_maxregnum. ! 2573: (copy_loop_body): When set const_age_map entry for split dest reg, ! 2574: verify that it is within the bounds of the map. ! 2575: (find_splittable_regs): Count number of biv sets, not number of ! 2576: bivs. Don't pass result to find_splittable_givs. ! 2577: (find_splittable_givs): Delete parameter result. Add local ! 2578: variable result. ! 2579: ! 2580: Mon Oct 11 07:43:31 1993 Richard Kenner ([email protected]) ! 2581: ! 2582: * expr.c (expand_assignment): When assigning an INDIRECT_REF to ! 2583: a RESULT_DECL, the size and source rtx were swapped. ! 2584: ! 2585: * function.c (trampoline_address): Don't allocate anything ! 2586: from parent function's current obstack. ! 2587: ! 2588: * regclass.c (reg_scan): Don't call reg_scan_mark_refs on notes ! 2589: if there aren't any. ! 2590: (reg_scan_mark_refs, case INSN_LIST, EXPR_LIST): New cases. ! 2591: ! 2592: * cse.c (simplify_binary_operation): Test value of ! 2593: SHIFT_COUNT_TRUNCATED if it is defined. ! 2594: * combine.c (subst, shift and rotate cases): Likewise. ! 2595: * a29k.h, alpha.h, fx80.h, i960.h, mips.h, pa.h, pyr.h, rs6000.h: ! 2596: Define SHIFT_COUNT_TRUNCATED to have a value of 1. ! 2597: * sparc.h, tahoe.h, we32k.h: Likewise. ! 2598: ! 2599: Mon Oct 11 02:40:22 1993 Richard Stallman ([email protected]) ! 2600: ! 2601: * regclass.c (regno_last_note_uid): New vector. ! 2602: (reg_scan): Initialize regno_last_note_uid. ! 2603: Call reg_scan_mark_refs for the notes. Pass its new arg. ! 2604: (reg_scan_mark_refs): New arg NOTE_FLAG. Pass it recursively. ! 2605: Set regno_last_note_uid. ! 2606: * regs.h (regno_last_note_uid): Declared. ! 2607: * jump.c (jump_optimize): Use regno_last_note_uid when deciding ! 2608: whether a register is set and never used. ! 2609: ! 2610: Sun Oct 10 22:51:01 1993 Stephen Moshier ([email protected]) ! 2611: ! 2612: * real.c (asctoeg): Fix backward condition in last change. ! 2613: ! 2614: Sun Oct 10 22:33:17 1993 Jeffrey A. Law ([email protected]) ! 2615: ! 2616: * configure (hppa1.0-*-mach*): Use collect2. ! 2617: (hppa1.1-*-mach*): Likewise. ! 2618: ! 2619: * pa.c (legitimize_pic_address): Delete unused variables. ! 2620: (output_block_move, output_ior): Likewise. ! 2621: (hppa_builtin_saveregs): Likewise. ! 2622: (emit_move_sequence): Add parens as suggested by -Wall. ! 2623: (compute_frame_size): Likewise. ! 2624: (output_ascii): Return type is "void". ! 2625: (hppa_expand_prologue, import_milli): Likewise. ! 2626: ! 2627: * pa.c (output_function_prologue): Pass the highest register ! 2628: number saved for ENTRY_GR and ENTRY_FR directives rather ! 2629: than the number of registers saved. ! 2630: (hppa_expand_prologue): Account for %r4 when it's being ! 2631: used as a frame pointer. ! 2632: ! 2633: Sun Oct 10 18:42:49 1993 Richard Stallman ([email protected]) ! 2634: ! 2635: * c-typeck.c (start_init): Don't set require_constant_elements ! 2636: for scalar types. ! 2637: ! 2638: * c-parse.in (stmt): Don't call default_conversion on top-level ! 2639: expressions. ! 2640: ! 2641: * c-typeck.c (convert_for_assignment): Allow silent conversion to ! 2642: a pointer from an integer 0 that resulted from arithmetic. ! 2643: ! 2644: * varasm.c, c-pragma.c (enum pragma_state): Defined. ! 2645: ! 2646: * config/i386/i386.c (restore_386_machine_status) ! 2647: (save_386_machine_status): New functions. ! 2648: (clear_386_stack_locals): Store those functions in ! 2649: save_machine_status, restore_machine_status. ! 2650: (struct machine_function): New structure definition. ! 2651: ! 2652: * function.h (struct function): New field `machine'. ! 2653: * function.c (save_machine_status, restore_machine_status): New vars. ! 2654: (push_function_context, pop_function_context): Use them. ! 2655: ! 2656: * explow.c (emit_stack_save): Cast enum array index to int. ! 2657: ! 2658: Sun Oct 10 12:49:39 1993 Richard Earnshaw ([email protected]) ! 2659: ! 2660: * arm.c (const_ok_for_arm): Cast constants to unsigned HOST_WIDE_INT. ! 2661: (output_prologue): Sanity check the finite state machine. ! 2662: (output_epilogue): Delete unused variable. ! 2663: (final_prescan_insn): Always clear arm_target_insn when FSM goes to ! 2664: state 0. ! 2665: * arm.h (OPTIMIZATION_OPTIONS): Don't set flag_omit_frame_pointer, ! 2666: since this inhibits debugging. ! 2667: (ASM_OUTPUT_INTERNAL_LABEL): Always clear arm_target_insn when FSM ! 2668: goes to state 0. ! 2669: ! 2670: Sun Oct 10 08:56:58 1993 Richard Kenner ([email protected]) ! 2671: ! 2672: * alpha.h (ALPHA_COSTS): Add missing arg to call to rtx_cost. ! 2673: ! 2674: * combine.c (force_to_mode, case ASHIFTRT): Verify that result of ! 2675: making a LSHIFTRT remains a shift. ! 2676: ! 2677: * tree.c (save_tree_status): Function_maybepermanent_obstack is the ! 2678: function_obstack of parent function. ! 2679: (restore_tree_status): Only free objects later than ! 2680: maybepermanent_firstobj in function_maybepermanent_obstack. ! 2681: (make_node): Fix logic error in PARM_DECL code. ! 2682: Put PARM_DECL in parent function's saveable obstack. ! 2683: * function.c (put_reg_into_stack): Allocate fixup structure in ! 2684: saveable obstack. ! 2685: ! 2686: * expr.c (expand_assignment): Don't short circuit store_expr ! 2687: when TO is a VAR_DECL since it needs special handling if promoted. ! 2688: ! 2689: * combine.c (subst, case SUREG): Only call force_to_mode if both ! 2690: inner and outer modes are MODE_INT. ! 2691: ! 2692: * mips-tfile.c (WORD_ALIGN): Fix typo in last change. ! 2693: ! 2694: * c-common.c (check_format_info): Support X/Open formats like "%1$d". ! 2695: ! 2696: Sat Oct 9 22:29:17 1993 Per Bothner ([email protected]) ! 2697: ! 2698: * configure: If no target is specified, try getting one ! 2699: with config.guess. ! 2700: * config.guess: New file. ! 2701: ! 2702: Sat Oct 9 19:50:24 1993 Pat Rankin ([email protected]) ! 2703: ! 2704: * c-common.c (check_format_info): Avoid ?: conditional for function ! 2705: to be called. ! 2706: ! 2707: * config/vax/xm-vms.h [VAXC] (bc_check_for_full_enumeration_handling) ! 2708: (current_function_has_nonlocal_goto) ! 2709: (output_deferred_addressed_constants): New macros to shorten ! 2710: external names exceeding 31 characters. ! 2711: ! 2712: * make-cc1.com: Move alloca handling before bytecode construction ! 2713: so that VAX C won't need two different values for LIBS. Eliminate a ! 2714: comment about make-like functionality that referred to a capability ! 2715: which has not been implemented. ! 2716: ! 2717: Sat Oct 9 21:53:53 1993 Ian Lance Taylor ([email protected]) ! 2718: ! 2719: * fixincludes: Unquote a quoted `t' in a #define _IO line, for AIX ! 2720: 3.2 sys/stropts.h #define _IO(t,v). ! 2721: (sys/spinlock.h): Don't copy it if it doesn't exist. ! 2722: (DPS/XDPSlib.h): Change "XDPS.h" to <DPS/XDPS.h>, for AIX. ! 2723: ! 2724: Sat Oct 9 15:00:00 1993 DJ Delorie ([email protected]) ! 2725: ! 2726: * configure.bat: Change $(srcdir)/ to $(srcdir)\ in commands. ! 2727: ! 2728: Sat Oct 9 15:17:22 1993 Richard Kenner ([email protected]) ! 2729: ! 2730: * expr.c (expand_expr, case ABS_EXPR): Don't copy twice into ! 2731: volatile MEM. ! 2732: ! 2733: * expr.c (expand_expr): Never reset ORIGINAL_TARGET. ! 2734: Pass ORIGINAL_TARGET to lang_expand_expr, not TARGET. ! 2735: ! 2736: Sat Oct 9 13:27:10 1993 Richard Stallman ([email protected]) ! 2737: ! 2738: * tree.c (pop_momentary_nofree): New function. ! 2739: * c-parse.in (initdcl, notype_initdcl, init): Undo previous change. ! 2740: (init): Use pop_momentary_nofree if the initializer has real data. ! 2741: ! 2742: Sat Oct 9 12:55:26 1993 Stephen Moshier ([email protected]) ! 2743: ! 2744: * real.c (asctoeg): Allocate local buffer dynamically. Count ! 2745: any lost significant digits before the decimal point. ! 2746: ! 2747: Fri Oct 8 16:33:42 1993 Mike Stump ([email protected]) ! 2748: ! 2749: * cp-tree.h (OFFSET_REF): Override OFFSET_REFs from the back-end, as ! 2750: we need to do something more complex with them. ! 2751: * cp-tree.def (CP_OFFSET_REF): Very similar to OFFSET_REFs, but ! 2752: allow the front-end to handle them. ! 2753: ! 2754: Fri Oct 8 14:40:29 1993 Jason Merrill ([email protected]) ! 2755: ! 2756: * cp-error.c (dump_expr, REAL_CST): Support printing of real values ! 2757: when REAL_IS_NOT_DOUBLE (prints out rep in hex). ! 2758: ! 2759: Fri Oct 8 13:54:03 1993 Mike Stump ([email protected]) ! 2760: ! 2761: * cp-type2.c (store_init_value): Move pointer to member function ! 2762: initilization code to... ! 2763: * cp-type2.c (digest_init): here. Allows nested pointer to member ! 2764: functions to work. ! 2765: * cp-decl.c (build_ptrmemfunc_type): Use a real union instead of a ! 2766: magic union, as the initialization code doesn't like them. ! 2767: * cp-tree.h (TYPE_PTRMEMFUNC_FN_TYPE): Changed to go though the ! 2768: union. ! 2769: * cp-tree.h (DELTA2_FROM_PTRMEMFUNC, PFN_FROM_PTRMEMFUNC): Accessor ! 2770: macros to go thought union. Allows us to change pointer to member ! 2771: functions a little easier. ! 2772: * cp-typeck.c (get_member_function_from_ptrfunc, ! 2773: build_binary_op_nodefault): Changed to use new accessor macros. ! 2774: * cp-typeck.c (build_ptrmemfunc): Use new union instead. Also, make ! 2775: sure TREE_CONSTANT is set for CONSTANT things. ! 2776: * cp-decl.c (pfn_or_delta2_identifier): Added to cache ! 2777: get_identifier calls. ! 2778: * cp-tree.h (pfn_or_delta2_identifier): Declare it. ! 2779: * cp-decl.c (init_decl_processing): Setup pfn_or_delta2_identifier. ! 2780: ! 2781: Fri Oct 8 19:03:09 1993 Jim Wilson ([email protected]) ! 2782: ! 2783: * xcoffout.h (DBX_STATIC_BLOCK_START): For N_LCSYM, force change ! 2784: to text section to avoid assembler bug. ! 2785: ! 2786: * mips.md (movsi_unaligned): Change in comment "loads" to "stores". ! 2787: ! 2788: * calls.c (emit_library_call_value): Compute struct_value_size, ! 2789: and pass it to emit_call_1. ! 2790: ! 2791: Fri Oct 8 16:13:17 1993 H.J. Lu ([email protected]) ! 2792: ! 2793: * config/i386/linux.h (STARTFILE_SPEC): Handle -p and -pg ! 2794: outermost. Also add support for cross-linking. ! 2795: ! 2796: Fri Oct 8 15:20:58 1993 Brendan Kehoe ([email protected]) ! 2797: ! 2798: * Makefile.in (cp-error.o, cp-errfn.o): Add dependency rules. ! 2799: ! 2800: Fri Oct 8 08:00:51 1993 Eric Youngdale (eric@kafka) ! 2801: ! 2802: * linux.h: Only include i386/gstabs.h if LINUX_ELF is not defined. ! 2803: ! 2804: * linuxelf.h: Copy a lot of stuff from the SVr4 configuration: ! 2805: include "i386/i386.h", "i386/att.h" and "svr4.h". ! 2806: (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Undefine. ! 2807: (ASM_FILE_START, RETURN_IN_MEMORY, ASM_OUTPUT_ADDR_DIFF_ELT) ! 2808: (JUMP_TABLES_IN_TEXT_SECTION, DBX_REGISTER_NUMBER): Copy from sysv4.h. ! 2809: (TARGET_VERSION): Define to print "i386 Linux/ELF". ! 2810: (LINUX_ELF): Define, before we include "i386/linux.h" ! 2811: (YES_UNDERSCORE): Undefine. ! 2812: ! 2813: Fri Oct 8 13:40:44 1993 Michael Meissner ([email protected]) ! 2814: ! 2815: * i386/osfrose.h, i386/osfelf.h (CPP_SPEC): If buliding for shared ! 2816: libraries, define __SHARED__. ! 2817: ! 2818: * i386/osfrose.h (FUNCTION_PROFILER): If half-pic, call mcount in a ! 2819: half-pic fashion. ! 2820: (FUNCTION_PROLOGUE): If half-pic call through _mcount_ptr in a ! 2821: half-pic fashion. ! 2822: ! 2823: * halfpic.c (half_pic_external): New function to declare a halfpic ! 2824: identifier as always external. ! 2825: ! 2826: * halfpic.h (half_pic_external): declare function. ! 2827: (HALF_PIC_EXTERNAL): Declare accessor macro. ! 2828: ! 2829: Fri Oct 8 15:03:56 1993 Brendan Kehoe ([email protected]) ! 2830: ! 2831: Cygnus<->FSF C++ front-end merge. ! 2832: Thu Oct 7 11:45:32 1993 Jason Merrill ([email protected]) ! 2833: ! 2834: * Makefile.in (CPLUS_OBJS): Change error.o to cp-errfn.o ! 2835: ! 2836: * cp-*.c, cp-parse.y: Rename lang_error and its kin to cp_error ! 2837: and the like to accomodate rms's belief structure. ! 2838: ! 2839: * error.c: Moved to cp-errfn.c to accomodate rms's belief structure ! 2840: ! 2841: Wed Oct 6 15:05:49 1993 Jason Merrill ([email protected]) ! 2842: ! 2843: * cp-pt.c (mangle_class_name_for_template): Always use type_as_string ! 2844: for printing out type parameters. Nuke id and type variables. ! 2845: ! 2846: * cp-error.c (dump_expr, INTEGER_CST): Support printing of character ! 2847: literals and large integers ! 2848: (dump_char): New function ! 2849: (dump_type): Deal with ** and *& more prettily ! 2850: ! 2851: * cp-pt.c (mangle_class_name_for_template): Strip out code for ! 2852: printing template parameters, replace with call to expr_as_string. ! 2853: ! 2854: * cp-method.c (build_overload_value): descend through ! 2855: TREE_OPERAND on NOP_EXPRs as well as NON_LVALUE_EXPRs. ! 2856: ! 2857: * cp-decl.c (poplevel_class): Add assertion that ! 2858: class_binding_level is not NULL. ! 2859: ! 2860: Tue Oct 5 11:11:25 1993 Jason Merrill ([email protected]) ! 2861: ! 2862: Patches to support proper handling of system includes without munging: ! 2863: ! 2864: * cp-lex.h: Declare in_c_header, a flag meaning 'implicitly wrap this ! 2865: file in extern "C" { }'. ! 2866: ! 2867: * cp-lex.c: Define in_c_header. ! 2868: (check_newline): If in_c_header when changing files, ! 2869: pop_lang_context(). ! 2870: (check_newline): If "4" seen on #line line, push_lang_context(C). ! 2871: ! 2872: * cccp.c: Add a new field c_system_include_path to struct ! 2873: file_name_list which indicates that the directory contains C-language ! 2874: system includes. ! 2875: (*various*): Set this flag correctly ! 2876: (is_system_include): Return 2 if C-language system include. ! 2877: (output_line_command): Output " 4" after " 3" for C-language system ! 2878: include. ! 2879: ! 2880: * cp-tree.h (SET_CLASSTYPE_INTERFACE_UNKNOWN_X): Coerce X to boolean ! 2881: value ! 2882: ! 2883: Mon Oct 4 17:03:48 1993 Jason Merrill ([email protected]) ! 2884: ! 2885: * cp-tree.h: Add declaration for flag_external_templates ! 2886: ! 2887: * cp-decl.c (start_decl): Don't declare flag_external_templates ! 2888: ! 2889: * cp-pt.c: Ditto ! 2890: ! 2891: * cp-parse.y (template_instantiate_once): Ditto ! 2892: ! 2893: * cp-lex.c (reinit_parse_for_method): Ditto ! 2894: (cons_up_default_function): Ditto ! 2895: (extract_interface_info): Don't set interface_unknown ! 2896: if (processing_template_defn && !flag_external_templates) ! 2897: ! 2898: * cp-error.c (dump_type): Deal properly with pointers to member ! 2899: functions. ! 2900: ! 2901: * cp-pt.c (instantiate_class_template): If !flag_external_templates, ! 2902: increment interface_unknown so that nested classes will be dealt with ! 2903: properly. ! 2904: (end_template_instantiation): If !flag_external_templates, ! 2905: decrement interface_unknown. ! 2906: ! 2907: * cp-lex.c (cons_up_default_function): Remove redundant check ! 2908: for processing_template_defn && !flag_external_templates ! 2909: (reinit_parse_for_method): Ditto ! 2910: ! 2911: * cp-parse.y (template_instantiate_once): Don't mess with ! 2912: interface_unknown ! 2913: ! 2914: Mon Oct 4 15:47:34 1993 Mike Stump ([email protected]) ! 2915: ! 2916: * cp-decl.c (duplicate_decls): Move setting of TREE_CHAIN after ! 2917: all possible return 0;s as we only want to do this when we know ! 2918: that we are dealing with a duplicate. ! 2919: ! 2920: * cp-decl.c (start_function): Remove my_friendly_abort 19. Allows ! 2921: one to declare a built-in as extern inline. ! 2922: ! 2923: Mon Oct 4 12:47:33 1993 John F Carr ([email protected]) ! 2924: ! 2925: * cp-lex.c (consume_string): Change variable `c' to int so return ! 2926: value of getch can be assigned to it safely. Compare return value ! 2927: of getch to EOF, not -1. ! 2928: ! 2929: Mon Oct 4 11:42:46 1993 Jason Merrill ([email protected]) ! 2930: ! 2931: * toplev.c (error and its kin): Use #defines for the argument ! 2932: lists for ease of adding arguments, and of moving to vfprintf when ! 2933: dje adds it. ! 2934: ! 2935: * error.c (lang_thing and its children): Do the same thing. ! 2936: ! 2937: * cp-typeck.c (build_binary_op): Do away with the kludge, now that ! 2938: error accepts more arguments. ! 2939: ! 2940: Sun Oct 3 16:34:39 1993 Jason Merrill ([email protected]) ! 2941: ! 2942: * cp-error.c: Remove all traces of in_parmlist ! 2943: ! 2944: Sun Oct 3 13:54:57 1993 Mike Stump ([email protected]) ! 2945: ! 2946: * cp-call.c (convert_harshness_ansi, convert_harshness_old): Handle ! 2947: pointer to function members properly. ! 2948: ! 2949: Fri Oct 1 16:42:30 1993 Mike Stump ([email protected]) ! 2950: ! 2951: * cp-error.c (dump_function_decl, dump_function_name): Make static ! 2952: to match prototype. ! 2953: ! 2954: Fri Oct 1 15:23:31 1993 Mike Stump ([email protected]) ! 2955: ! 2956: * cp-typeck.c (build_ptrmemfunc): Move some code into the virtual ! 2957: conditional part. Fixes problem with core core dumping when the ! 2958: class that we want to build a pointer to member function for doesn't ! 2959: have any virtual functions. ! 2960: ! 2961: Thu Sep 30 18:15:29 1993 Jason Merrill ([email protected]) ! 2962: ! 2963: * cp-parse.y (id_scope): Print the name of the invalid scope. ! 2964: (unary_expr): Add .scope new typespec '(' typespec ')' expansion ! 2965: which just gives an error. ! 2966: ! 2967: * cp-typeck.c (build_binary_op): Print more helpful message for ! 2968: a missing member operator (print the desired type involved). ! 2969: Very kludgey due to error()'s two-arg limit. ! 2970: ! 2971: * error.c (lang_thing): Abort if more than NARGS (currently 2) are ! 2972: passed, since this is likely to cause a seg fault elsewhere anyway. ! 2973: ! 2974: Thu Sep 30 14:19:28 1993 Jason Merrill ([email protected]) ! 2975: ! 2976: * g++int.texi: Add error reporting section, make `makeinfo'able ! 2977: ! 2978: * cp-type2.c (my_friendly_abort): Deal with recursive calls ! 2979: ! 2980: Thu Sep 30 12:24:33 1993 Brendan Kehoe ([email protected]) ! 2981: ! 2982: * cp-decl2.c (grok_array_decl): Don't pedwarn on reversing the array ! 2983: and its index in `a[b]'. ! 2984: ! 2985: * cp-typeck.c (build_conditional_expr): Make pointer type mismatch ! 2986: in a conditional expression get a pedwarn. ! 2987: (build_binary_op_nodefault): Make comparison between different ! 2988: pointer types lacking a cast get a pedwarn. ! 2989: (build_modify_expr): Don't strip the NOP_EXPRs, since we're using ! 2990: the rhs in a non-lvalue context. ! 2991: (convert_for_assignment): Allow conversion of 0 to a pointer, but ! 2992: not a 0 that results from casting or folding. ! 2993: ! 2994: Thu Sep 30 11:24:59 1993 Jason Merrill ([email protected]) ! 2995: ! 2996: * cp-typeck.c (build_modify_expr): For memberwise assignment, ! 2997: put nop_expr (reference_type (lhstype)) at the end of of the list so ! 2998: that the expression has the correct type. ! 2999: ! 3000: * error.c (lang_thing): Don't rely on STDC array initialization ! 3001: ! 3002: Tue Sep 28 18:20:05 1993 Mike Stump ([email protected]) ! 3003: ! 3004: * cp-init.c (build_virtual_init): Use get_binfo and ! 3005: convert_pointer_to_real, to find the right basetype to convert to, ! 3006: instead of trying to use convert_pointer_to, as convert_pointer_to ! 3007: doesn't handle complex MI situations. Cures a bogus "cannot ! 3008: convert a pointer of type `B' to a pointer of type `A'" when the ! 3009: compiler is initializing virtual table pointers. ! 3010: ! 3011: Mon Sep 27 14:54:42 1993 Mike Stump ([email protected]) ! 3012: ! 3013: * cp-call.c (build_method_call): Use get_binfo and ! 3014: convert_pointer_to_real, to find the right basetype to convert to, ! 3015: instead of trying to use convert_pointer_to, as convert_pointer_to ! 3016: doesn't handle complex MI situations. Cures a bogus "cannot ! 3017: convert a pointer of type `B' to a pointer of type `A'" when the ! 3018: compiler is setting up the `this' pointer. ! 3019: * cp-cvt.c (convert_pointer_to): Just call convert_pointer_to_real ! 3020: to implement functionality. ! 3021: * cp-cvt.c (convert_pointer_to_real): New routine. Uses new ! 3022: functionality in get_base_distance to figure out which exact ! 3023: parent we want to convert to. ! 3024: * cp-search.c (get_base_distance_recursive, get_base_distance): ! 3025: Modify to support searching for a specific PARENT given as a binfo ! 3026: from our hierarchy. ! 3027: * cp-typee.h (convert_pointer_to_real): Declare new routine. ! 3028: ! 3029: Mon Sep 27 13:02:51 1993 Jason Merrill ([email protected]) ! 3030: ! 3031: * cp-type2.c (my_friendly_abort): Undo previous change ! 3032: ! 3033: * cp-*.c: Use lang_error instead of error_with_decl, ! 3034: error_with_aggr_type, etc. Not complete; I only changed the easy ! 3035: cases and a few of the more obscure ones. Please convert calls ! 3036: over when you're working on an appropriate section. ! 3037: ! 3038: * cp-method.c: Strip out error reporting code ! 3039: ! 3040: * Makefile.in (CPLUS_OBJS): Add error.o and cp-error.o ! 3041: ! 3042: * cp-error.c: New file, contains call-back functions for C++. ! 3043: The actual output code is an extensively overhauled version of the ! 3044: code from cp-method.c. ! 3045: Don't call my_friendly_* to avoid undesirable recursion. ! 3046: ! 3047: * error.c: New file, provides call-back mechanism for language- ! 3048: dependent error reporting. ! 3049: ! 3050: Fri Sep 24 13:52:27 1993 Jason Merrill ([email protected]) ! 3051: ! 3052: * cp-type2.c (my_friendly_abort): Don't die quietly if ! 3053: errorcount or sorrycount are positive, die loudly. ! 3054: ! 3055: Fri Oct 8 13:58:13 1993 Doug Evans ([email protected]) ! 3056: ! 3057: * loop.c (scan_loop): When skipping consecutive insns, ! 3058: don't count notes. ! 3059: ! 3060: Fri Oct 8 10:41:07 1993 Chip Salzenberg ([email protected]) ! 3061: ! 3062: * c-common.c (check_function_format): Correct error in last ! 3063: change. ! 3064: ! 3065: Fri Oct 8 08:10:03 1993 Richard Stallman ([email protected]) ! 3066: ! 3067: * c-parse.in (initdcl, notype_initdcl): Call push_momentary and ! 3068: pop_momentary here. ! 3069: (init): Not here. ! 3070: ! 3071: Fri Oct 8 06:35:07 1993 Richard Kenner ([email protected]) ! 3072: ! 3073: * dbxout.c (dbxout_type, case INTEGER_TYPE): Correctly check ! 3074: for type smaller than `integer'. ! 3075: ! 3076: * expr.c (expand_expr, case MAX_EXPR): Don't use TARGET directly ! 3077: if it is a volatile MEM. ! 3078: ! 3079: * i386/t-aix, i386/t-isc, i386/t-osfrose, i386/t-sco, mips/t-osfrose: ! 3080: Remove LIMITS_H; hasn't been used for a while. ! 3081: ! 3082: * configure: Add EXTRA_PASSES like we add EXTRA_HEADERS. ! 3083: Correct EXTRA_HEADERS handling to accept multiple names. ! 3084: (mips-*-*): Set extra_passes to mips-tfile and mips-tdump when ! 3085: we use t-mips, t-bsd, t-svr[34], and t-ultrix. ! 3086: * Makefile.in (mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): ! 3087: New rules. ! 3088: * mips-tfile.c: Don't define memory functions on Alpha. ! 3089: (Ptrdiff_t): Always `long'. ! 3090: (WORD_ALIGN): Make portable. ! 3091: * mips/t-bsd, t-mips, t-svr3, t-svr4, t-ultrix: Remove ! 3092: definition of EXTRA_PASSES and remove rules for mips-* files. ! 3093: ! 3094: * dbxout.c (dbxout_parms): Don't confuse a parameter at an ! 3095: offset of zero from AP or FP with one that has variable size. ! 3096: ! 3097: * calls.c (emit_library_call): Fix typo in last change; should ! 3098: use Pmode instead of SImode. ! 3099: ! 3100: Fri Oct 8 00:34:39 1993 Richard Stallman ([email protected]) ! 3101: ! 3102: * c-decl.c (finish_decl): Error if block-scope static var ! 3103: has incomplete type. ! 3104: ! 3105: * expr.c (expand_expr, case VAR_DECL): If decl wasn't laid out, ! 3106: lay it out now, and fix the rtl's mode. ! 3107: ! 3108: Thu Oct 7 12:30:10 1993 Chip Salzenberg ([email protected]) ! 3109: ! 3110: * c-decl.c (complete_array_type): Correctly set MAXINDEX to ! 3111: one less than array size. ! 3112: ! 3113: Thu Oct 7 20:44:41 1993 Torbjorn Granlund ([email protected]) ! 3114: ! 3115: * c-typeck.c (build_binary_op): For *_DIV_EXPR, set shorten based ! 3116: on orig_op0. ! 3117: ! 3118: Thu Oct 7 18:19:17 1993 Jim Wilson ([email protected]) ! 3119: ! 3120: * xm-mips.h (HAVE_VPRINTF): Correct typo, is VPRINTF not VFPRINTF. ! 3121: ! 3122: * Makefile.in (LIB2FUNCS): Add _fixtfdi, _fixunstfdi, _floatditf. ! 3123: ! 3124: Thu Oct 7 14:58:02 1993 Michael Meissner ([email protected]) ! 3125: ! 3126: * configure (i386-osf): ELF on OSF/1 does not need collect2. ! 3127: ! 3128: Thu Oct 7 17:38:25 1993 Richard Stallman ([email protected]) ! 3129: ! 3130: * cccp.c (main): New option -lang-c-c++-comments. ! 3131: ! 3132: Thu Oct 7 16:40:38 1993 Michael Meissner ([email protected]) ! 3133: ! 3134: * config/i386/osfrose.h (OSF_PROFILE_BEFORE_PROLOGUE): New macro ! 3135: to determine whether profiling goes before the function prologue ! 3136: or after. New style profiling goes before in order to save ! 3137: getting and saving the function's callers address or have mcount ! 3138: 'know' there is a frame pointer. Old style profiling using mcount ! 3139: and some ELF PIC profiling goes after the prologue. ! 3140: (FUNCTION_PROLOGUE): Redefine in order to get new style profiling ! 3141: before the function prologue if desired. ! 3142: (FUNCTION_PROFILER): Do not put a profile call if it already has ! 3143: been put out in the prologue. Change new style profiling to call ! 3144: through _mcount_ptr instead of _real_mcount. Propigate ROSE brain ! 3145: damage regarding mcount being in the users name space to ELF. ! 3146: (SUBTARGET_SWITCHES): Make -mmcount default again instead of ! 3147: -mno-mmcount. ! 3148: ! 3149: * i386.h (FINALIZE_PIC): Add macro to set the variable ! 3150: current_function_uses_pic_offset_table if either -p or -a switches ! 3151: are used. ! 3152: ! 3153: Thu Oct 7 17:07:57 1993 Ian Lance Taylor ([email protected]) ! 3154: ! 3155: * rtl.c (byte_mode, word_mode): Move to emit-rtl.c. ! 3156: (init_rtl): Move initialization of byte_mode and word_mode to ! 3157: init_emit_once. ! 3158: * emit_rtl.c (byte_mode, word_mode): Moved from rtl.c. ! 3159: (init_emit_once): Moved in initialization of bytes_mode and ! 3160: word_mode from init_rtl. ! 3161: ! 3162: Thu Oct 7 11:11:25 1993 Jason Merrill ([email protected]) ! 3163: ! 3164: * cccp.c (struct file_name_list): Add new field c_system_include_path. ! 3165: (*various*): Set this flag correctly ! 3166: (is_system_include): Return 2 if C-language system include. ! 3167: (output_line_command): Output " 4" after " 3" for C-language system ! 3168: include. ! 3169: ! 3170: Thu Oct 7 14:45:20 1993 Doug Evans ([email protected]) ! 3171: ! 3172: * Makefile.in (install-dir): Fix typo. ! 3173: (install-common): Remove obsolete comment. ! 3174: (install-common): Install native g++ only if not cross. ! 3175: ! 3176: Thu Oct 7 11:27:45 1993 Richard Stallman ([email protected]) ! 3177: ! 3178: * calls.c (emit_library_call, emit_library_call_value): ! 3179: Allocate a temp slot if arg must be passed by reference. ! 3180: ! 3181: * gcc.c (read_specs): Fix call to bzero. ! 3182: ! 3183: Thu Oct 7 08:53:57 1993 Torbjorn Granlund ([email protected]) ! 3184: ! 3185: * alpha.md: Clean up usage of commutative declarator `%'. ! 3186: ! 3187: Thu Oct 7 08:14:46 1993 Richard Kenner ([email protected]) ! 3188: ! 3189: * i860/xm-fx2800.h (HAVE_VPRINTF): Fix typo; was HAVE_VFPRINTF. ! 3190: ! 3191: * xm-alpha.h: Always declare malloc, realloc, etc, to be void *. ! 3192: ! 3193: * combine.c (force_to_mode): Sign-extend constant being truncated. ! 3194: ! 3195: Wed Oct 6 18:53:43 1993 Richard Stallman ([email protected]) ! 3196: ! 3197: * bi-lexer.c (xmalloc, xrealloc): Cast the result of malloc, realloc. ! 3198: ! 3199: Wed Oct 6 15:30:39 1993 Michael Meissner ([email protected]) ! 3200: ! 3201: * i386/osfrose.h (FUNCTION_PROFILER): Define to pass the function ! 3202: address, its caller, and the unique label address through the ! 3203: _real_mcount pointer, unless -mmcount is used, in which case use ! 3204: the old calling sequence. ! 3205: (SUBTARGET_SWITCHES): Add -mmcount, -mno-mcount support. ! 3206: ! 3207: Wed Oct 6 15:29:40 1993 Jeffrey A. Law ([email protected]) ! 3208: ! 3209: * pa.c (output_function_prologue): Pass on information about the ! 3210: number of callee saved general and floating point registers which ! 3211: are saved by the current function's prologue. ! 3212: (hppa_expand_prologue): Keep track of the number of callee ! 3213: register saves done for general and floating point registers. ! 3214: ! 3215: Wed Oct 6 13:50:03 1993 Ian Lance Taylor ([email protected]) ! 3216: ! 3217: * cexp.y (MAX_CHAR_TYPE_SIZE, MAX_INT_TYPE_SIZE, ! 3218: MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define. ! 3219: (yylex): Use them instead of the non-MAX versions, to avoid ! 3220: dependencies on target_flags. ! 3221: ! 3222: Wed Oct 6 13:47:13 1993 Jim Wilson ([email protected]) ! 3223: ! 3224: * combine.c (try_combine): New variable i3_subst_into_i2. ! 3225: Set it for special case of substituting i3 into i2. Use it near ! 3226: end to detect when special case succeeded. Move i2notes to ! 3227: i3notes for this special case. ! 3228: (distribute_notes, REG_UNUSED case): Ignore all REG_UNUSED notes ! 3229: except those from I3. ! 3230: ! 3231: Wed Oct 6 13:14:13 1993 Richard Stallman ([email protected]) ! 3232: ! 3233: * c-typeck.c (build_c_cast): When making a CONSTRUCTOR, provide ! 3234: the dummy first operand. ! 3235: ! 3236: * real.c (real_value_truncate): Correct etrunci argument ! 3237: in case SImode. ! 3238: ! 3239: Wed Oct 6 06:55:05 1993 Richard Kenner ([email protected]) ! 3240: ! 3241: * final.c (asm_fprintf): Add cases for 'w' and 'l'. ! 3242: ! 3243: * Makefile.in (bi-opcode.o): Includes hconfig.h. ! 3244: * bi-lexer.c: Remove declarations of malloc and realloc. ! 3245: * bi-opcode.c: Include hconfig.h. ! 3246: * bi-parser.y: Remove declaration of malloc. ! 3247: ! 3248: * regclass.c (record_reg_classes): Check if operands are the same ! 3249: by seeing if they are the same register. ! 3250: ! 3251: * cse.c (record_jump_cond): Rehash OP1 if OP0's insert_regs returns ! 3252: nonzero. ! 3253: ! 3254: * calls.c (expand_call): Add yet another assignment to MEM_IN_STRUCT_P. ! 3255: ! 3256: Wed Oct 6 00:08:28 1993 Jim Wilson ([email protected]) ! 3257: ! 3258: * sparc.c (uns_small_int, uns_arith_operand): New functions. ! 3259: * sparc.md (umulsidi3): Use uns_arith_operand not arith_operand. ! 3260: (const_umulsidi3): Use uns_small_int not small_int. ! 3261: ! 3262: * sparc.h (SELECT_CC_MODE): Add support for ASHIFT. ! 3263: * sparc.md (ashlsi3+1, ashlsi3+2): New patterns to replace shift ! 3264: and compare with addcc. ! 3265: ! 3266: Tue Oct 5 16:25:32 1993 Jim Wilson ([email protected]) ! 3267: ! 3268: * sched.c (sched_analyze_2): Make volatile asms depend on all ! 3269: pseudo registers. ! 3270: ! 3271: * mips.c (mips_expand_prologue): Handle structure return values as ! 3272: the first argument if necessary. ! 3273: ! 3274: * mips.h (CLASS_MAX_NREGS): For DFmode and !TARGET_FLOAT64 case, ! 3275: return 2 not 4. ! 3276: (CLASS_UNITS): Take size parameter instead of num (words). ! 3277: ! 3278: * c-typeck.c (output_init_element): When try to copy FIELD if it ! 3279: is an interger constant, first check to make sure it is nonzero. ! 3280: ! 3281: * reorg.c (fill_simple_delay_slots): When take insn from a ! 3282: following unconditional branch target, if new_label is zero, must ! 3283: set it to the result of find_end_label (). ! 3284: ! 3285: * iris3.h (INITIALIZE_TRAMPOLINE, TRANSFER_FROM_TRAMPOLINE): ! 3286: Delete. ! 3287: * mips.h (INITIALIZE_TRAMPOLINE): Delete #ifndef/#endif. Change ! 3288: function name from __enable_execute_stack to __gcc_flush_cache. ! 3289: (TRANSFER_FROM_TRAMPOLINE): Likewise. Delete code calling ! 3290: mprotect. Uncomment code calling cacheflush. ! 3291: ! 3292: Tue Oct 5 16:11:53 1993 Jason Merrill ([email protected]) ! 3293: ! 3294: * toplev.c (error and its kin): Use #defines for the argument ! 3295: lists for ease of adding arguments and add one arg. ! 3296: ! 3297: Tue Oct 5 16:05:11 1993 Tor Egge ([email protected]) ! 3298: ! 3299: * cccp.c (rescan): Don't expand an identifier after a '#'. ! 3300: ! 3301: Tue Oct 5 15:15:52 1993 Chip Salzenberg ([email protected]) ! 3302: ! 3303: Move format warning code to c-common.c for use with C++. ! 3304: * c-tree.h (init_function_format_info, record_function_format, ! 3305: check_function_format): Declare. ! 3306: * c-common.c: Include <ctype.h>; avoid home-grown ISDIGIT. ! 3307: (decl_attributes): Call record_function_format with DECL_NAME ! 3308: and also DECL_ASSEMBLER_NAME. ! 3309: (struct format_char_info): Moved here from c-typeck.c. ! 3310: (print_char_table): Likewise; renamed from print_table. ! 3311: (scan_char_table): Likewise; renamed from scan_table. ! 3312: (struct function_format_info): Likewise; add assembler_name. ! 3313: (function_format_list): Make list, not array. ! 3314: (init_function_format_info): Likewise; renamed from ! 3315: init_format_info_table. ! 3316: (record_function_format): Likewise; renamed from ! 3317: record_format_info; record assembler_name. ! 3318: (check_format_info): Likewise; renamed from check_format. ! 3319: (check_function_format): New interface that does not require ! 3320: knowledge of struct function_format_info. ! 3321: * c-decl.c (init_decl_processing): Call init_function_format_info. ! 3322: * c-typeck.c (struct format_char_info, print_table, scan_table, ! 3323: struct function_info, function_info_entries, function_info_table, ! 3324: record_format_info, init_format_info_table, check_format): Moved ! 3325: to c-common.c. ! 3326: (build_function_call): Call check_function_format. ! 3327: ! 3328: Tue Oct 5 14:08:18 1993 Wolfgang Stukenbrock ([email protected]) ! 3329: ! 3330: * gcc.c (choose_temp_base): Correct size allocated for temp_filename. ! 3331: ! 3332: Tue Oct 5 06:34:34 1993 Richard Kenner ([email protected]) ! 3333: ! 3334: * tree.c (contains_placeholder_p): Return 0 for CONSTRUCTOR. ! 3335: (substitute_in_expr): Don't allow CONSTRUCTOR. ! 3336: ! 3337: * tree.c (make_node, case 'd'): Refine in which obstack ! 3338: PARM_DECLs are allocated. ! 3339: ! 3340: * calls.c (expand_call): Properly test if we need to promote ! 3341: operand; use convert_modes instead of convert_to_mode. ! 3342: * expr.c (convert_modes): Properly handle extending constants ! 3343: since we might be changing signedness. ! 3344: ! 3345: * gcc.c (read_specs): Make a null entry at end of `compilers' ! 3346: when reading new entry from file. ! 3347: ! 3348: * tree.c (contains_placeholder): Return 0 for WITH_RECORD_EXPR. ! 3349: ! 3350: * bi-arity.c, bi-lexer.c, bi-opname.c, bi-parser.y: Include hconfig.h. ! 3351: * Makefile.in (bi-arity.o, bi-lexer.o, bi-opname.o, bi-parser.o): ! 3352: Likewise. ! 3353: ! 3354: * bc-emit.c (dconst[012], dconstm1): Remove redundant definition. ! 3355: ! 3356: Tue Oct 5 06:24:43 1993 Lisa Repka ([email protected]) ! 3357: ! 3358: * varasm.c (decode_rtx_const, case CONST_DOUBLE): Only use mode ! 3359: of X if it is not VOIDmode. ! 3360: ! 3361: Tue Oct 5 00:45:30 1993 James Van Artsdalen ([email protected]) ! 3362: ! 3363: * i386/i386.c (output_to_reg): Handle XFmode write to MEM by ! 3364: reading back value after write if source doesn't die. ! 3365: * i386/i386.md (pushxf,movxf,extenddfxf2,extendsfxf2): Likewise. ! 3366: ! 3367: * i386/i386.md (movxf,extenddfxf2,extendsfxf2): Don't emit fld ! 3368: before calling output_to_reg: output_to_reg does that now. ! 3369: ! 3370: * i386/i386.h (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode ! 3371: is enabled. ! 3372: ! 3373: * reg-stack.c (move_for_stack_reg): If the 387 regstack is not ! 3374: full when doing an XFmode write from 387 to MEM, copy the source ! 3375: reg and write the copy. ! 3376: ! 3377: Mon Oct 4 18:40:51 1993 Richard Stallman ([email protected]) ! 3378: ! 3379: * regclass.c (record_reg_classes): There is no alt_cost ! 3380: for a pair of matching args if they are the same pseudo reg. ! 3381: ! 3382: * varasm.c (bc_output_ascii): New function. ! 3383: (assemble_string): Use it. ! 3384: (assemble_static_space, assemble_variable): Put braces around uses ! 3385: of BC_OUTPUT_COMMON and BC_OUTPUT_LOCAL. ! 3386: ! 3387: Mon Oct 4 18:03:04 1993 Stephen L Moshier ([email protected]) ! 3388: ! 3389: * expr.c (bc_init_mode_to_opcode_maps, bc_expand_expr): Cast enum ! 3390: array indices to int. ! 3391: (bc_load_memory, bc_store_memory): Likewise. ! 3392: (bc_runtime_type_code): Cast enum logical operand to int. ! 3393: * bc-emit.c (bc_emit_bytecode): Cast enum array indices to int. ! 3394: * bc-optab.c (deduce_conversion, emit_typecode_conversion): Likewise. ! 3395: (bc_init_mode_to_code_map, preferred_typecode): Likewise. ! 3396: (bc_expand_binary_operation, bc_expand_unary_operation): Likewise. ! 3397: (bc_expand_increment): Likewise. ! 3398: * bc-typecd.h: Cast enum arithmetic and logical operands to int. ! 3399: ! 3400: Mon Oct 4 05:52:21 1993 Richard Kenner ([email protected]) ! 3401: ! 3402: * a29k.c (incoming_regs): Only use 16 registers for parameter ! 3403: passing. ! 3404: ! 3405: * tree.c (build_string): Remove previous change and comment why ! 3406: string text has to be in saveable_obstack. ! 3407: * varasm.c (output_constant_def): Remove last change; no longer needed. ! 3408: ! 3409: Sun Oct 3 18:51:19 1993 James Van Artsdalen ([email protected]) ! 3410: ! 3411: * i386/i386.c (output_op_from_reg): Handle 3-word XFmode values. ! 3412: (output_to_reg): Likewise. ! 3413: (output_move_double): Handle XFmode operands. ! 3414: (output_move_const_single): Use REAL_VALUE_TO_TARGET_SINGLE. ! 3415: (print_operand): Add letter `T', size `12'. Use REAL_VALUE ! 3416: macros to convert floating point operands. ! 3417: (convert_387_op): Add XFmode to case FLOAT_EXTEND. ! 3418: ! 3419: * i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Define as 96. ! 3420: (FIXED_REGISTERS): If XFmode enabled, hard reg st7 is fixed. ! 3421: (ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros. ! 3422: (ASM_OUTPUT_FLOAT): Likewise. ! 3423: (ASM_OUTPUT_LONG_DOUBLE): New macro. ! 3424: (PRINT_REG): Add size case 12. ! 3425: (DEBUG_PRINT_REG): Likewise. ! 3426: ! 3427: * i386/i386.md: (tstxf_cc, tstxf, cmpxf, cmpxf_cc, cmpxf_ccfpeq, ! 3428: swapxf, movxf, extenddfxf2, extendsfxf2, truncxfsf2, truncxfdf2, ! 3429: fixuns_truncxfsi2, fix_truncxfdi2, fix_truncxfsi2, floatsixf2, ! 3430: floatdixf2, addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, ! 3431: sqrtxf2): New patterns. ! 3432: ! 3433: * i386/next.h,i386/osfrose.h,i386/sysv4.h ! 3434: (ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros. ! 3435: (ASM_OUTPUT_LONG_DOUBLE): New macro. ! 3436: ! 3437: * i386/bsd.h,i386/sco4.h (ASM_OUTPUT_DOUBLE): Deleted, ! 3438: use default version. ! 3439: ! 3440: * i386/next.h,i386/sco.h (VALUE_REGNO): Add case XFmode. ! 3441: ! 3442: Sun Oct 3 16:35:05 1993 Michael Meissner ([email protected]) ! 3443: ! 3444: * collect2.c (read_file): Fix typo in prototype. ! 3445: ! 3446: Sun Oct 3 18:32:46 1993 Richard Stallman ([email protected]) ! 3447: ! 3448: * Makefile.in (bytecode.realclean): Don't delete bi-lexer.c. ! 3449: ! 3450: Sun Oct 3 19:45:02 1993 Richard Kenner ([email protected]) ! 3451: ! 3452: * gcc.c (default_compilers): Add rules for Ada. ! 3453: * toplev.c (lang_options): Add temporary parameter "gnat". ! 3454: ! 3455: * tree.c (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR. ! 3456: ! 3457: * tree.def (PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes. ! 3458: * tree.c (save_expr): Don't evaluate something containing a ! 3459: PLACEHOLDER_EXPR. ! 3460: (contains_placeholder_p, substitute_in_{expr,type}): New functions. ! 3461: * tree.h: Add declarations for new functions. ! 3462: * calls.c (expand_call): Pass objects who size depends on the ! 3463: contents of the object by invisible reference. ! 3464: * function.c (assign_parms): Likewise. ! 3465: * explow.c (expr_size): If the size contains a PLACEHOLDER_EXPR, ! 3466: surround it with a WITH_RECORD_EXPR. ! 3467: * expr.c (store_expr): Use expr_size value, not size_int. ! 3468: (store_constructor): Handle case of variable position and allow ! 3469: it to contain a PLACEHOLDER_EXPR. ! 3470: (get_inner_reference): Make a WITH_RECORD_EXPR if required. ! 3471: (expand_expr, case PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New cases. ! 3472: (expand_expr, case ARRAY_REF): Make WITH_RECORD_EXPR expressions ! 3473: when needed. ! 3474: ! 3475: * calls.c (expand_call): Set MEM_IN_STRUCT_P in stack slot if ! 3476: appropriate. ! 3477: ! 3478: * varasm.c (output_constant_def): Copy string as well as string ! 3479: node when deferring output of constants. ! 3480: ! 3481: * configure (i370-*): Renamed tm-mvs.h to mvs.h. ! 3482: * config/i370/mvs.h: Renamed from tm-mvs.h. ! 3483: ! 3484: Sun Oct 3 12:50:57 1993 Richard Earnshaw ([email protected]) ! 3485: ! 3486: * arm.h (function definitions): Add new functions definitions. ! 3487: (arm_condition_codes): make this externally visible. ! 3488: (STARTFILE_SPEC): Move to riscix.h and riscix1-1.h. ! 3489: (CPP_PREDEFINES): Move old defn to riscix.h and riscix1-1.h, add ! 3490: generaic default definition. ! 3491: (CPP_SPEC): Define for generic implementation, pass cpu variant ! 3492: defn to pre-processor. ! 3493: (TARGET_VERSION): Indicate this is generic variant. ! 3494: (TARGET_6): New macro, set when compiling for arm6 in 32bit mode. ! 3495: (ARM_EXTRA_TARGET_SWITCHES): New macro, hook for os dependent files ! 3496: to make additions to TARGET_SWITCHES. Default to null. ! 3497: (processor_type): new enum type defining processor variant for ! 3498: attributes. ! 3499: (arm_cpu_attr): Macro to get at cpu type from attributes. ! 3500: (TARGET_WHEN_DEBUGGING): remove non-generic definitions ! 3501: (OVERRIDE_OPTIONS): Set processor type for attributes. ! 3502: (OPTIMIZE_OPTIONS): Set flag_force_mem. ! 3503: (PROMOTE_MODE): Promote byte constants unsigned. ! 3504: (ENABLE_XF_PATTERNS): Define, do not enable XFmode insns by default ! 3505: -- it tends to crash riscix. ! 3506: (REAL_ARITHMETIC): Define. ! 3507: (CONSTANT_ALIGNMENT): Align string constants so that we can access ! 3508: them faster. ! 3509: (TARGET_FLOAT_FORMAT): Is IEEE_FLOAT_FORMAT. ! 3510: (FIRST_PSEUDO_REGISTER): Increase to support fake registers. ! 3511: (FIXED_REGISTERS): Describe behaviours of fake regs. ! 3512: (CALL_USED_REGISTERS): Likewise. ! 3513: (HARD_REGNO_NREGS): Deal with fake frame and argument registers. ! 3514: (HARD_REGNO_MODE_OK): Likewise. ! 3515: (FRAME_POINTER_REGNUM): Make this a fake register) ! 3516: (HARD_FRAME_POINTER_REGNUM): Define. set to reg 11 (fp). ! 3517: (FRAME_POINTER_REQUIRED): It is if TARGET_APCS. ! 3518: (ARG_POINTER_REGNUM): Set to new fake register. ! 3519: (CC_REGNUM): Define, set to fake register. ! 3520: (REG_ALLOC_ORDER): Adjust to get better allocation in small functions. ! 3521: Add fake registers. ! 3522: (REG_CLASS_CONTENTS): Add new fakes. ! 3523: (REGNO_REG_CLASS): Likewise. ! 3524: (CONST_OK_FOR_LETTER_P): Add recognition for negated and inverted ! 3525: constant integers. ! 3526: (EXTRA_CONSTRAINT): Add 'Q' to recognize MEM (REG). Add 'S' for ! 3527: symbols in the text segment. ! 3528: (CONST_DOUBLE_OK_FOR_LETTER_P): Add 'H' for negated fp constants. ! 3529: (SECONDARY_OUTPUT_RELOAD_CLASS): Define. Needed to store DFmode held ! 3530: in SImode regs. ! 3531: (REGISTER_MOVE_COST): Make this more expensive than memory for ! 3532: float<->int moves. ! 3533: (USE_RETURN_INSN): Define, call function. ! 3534: (ELIMINABLE_REGS): Define to eliminate fake regs. ! 3535: (CAN_ELIMINATE): Likewise. ! 3536: (INITIAL_ELIMINATION_OFFSET): Likewise. ! 3537: (INITIAL_FRAME_POINTER_OFFSET): Delete. ! 3538: (REGNO_OK_FOR_BASE_P): Add fake regs. ! 3539: (MAX_REGS_PER_ADDRESS): Is only 2; shifting by reg not allowed in addr. ! 3540: (CONSTANT_ADDRESS_P): Accept addresses with the symbol_ref flag set. ! 3541: (LEGITIMATE_CONSTANT): Accept negated floats; also constant addresses. ! 3542: (ENCODE_SECTION_INFO): Mark strings that will go in the text segment ! 3543: with the symbol_ref flag. ! 3544: (REG_OK_FOR_BASE_P [!REG_OK_STRICT]): Add new fakes. ! 3545: (REG_OK_FOR_PRE_POST_P [!REG_OK_STRICT]): Likewise. ! 3546: (REG_OK_FOR_PRE_POST_P [REG_OK_STRICT]): Likewise. ! 3547: (GO_IF_LEGITIMATE_INDEX): constant FLOAT indicees must be word ! 3548: aligned; be more restrictive about multi-reg ints; allow all legal ! 3549: shift operations; check boundary conditions more carefully. ! 3550: (DEFAULT_SIGNED_CHAR): Remove os dependent alternatives. ! 3551: (LOADS_ZERO_EXTEND): Define; only QImode loads do. ! 3552: (HAVE_VPRINTF): Move to xm-arm.h ! 3553: (SHIFT_COUNT_TRUNCATED): Not true -- Delete. ! 3554: (CONST_COSTS): Define; give the cost of constants. ! 3555: (RTX_COSTS): Define; give the cost of rtl. ! 3556: (MEMORY_MOVE_COST): Is expensive. ! 3557: (BRANCH_COST): Set high to get conditional instructions. ! 3558: (ADDRESS_COST): Are all the same. ! 3559: (NOTICE_UPDATE_CC): Delete. ! 3560: (EXTRA_CC_MODES): Add a no overflow mode and floating point modes. ! 3561: (EXTRA_CC_NAMES): Likewise. ! 3562: (SELECT_CC_MODE): Return the appropriate mode. ! 3563: (STORE_FLAG_VALUE): Define. ! 3564: (PREDICATE_CODES): Define, show what they are. ! 3565: (ARM_OS_NAME): Supply generic version. ! 3566: (ASM_FILE_START): Print appropriate OS name. ! 3567: (REGISTER_NAMES): Add fakes. ! 3568: (DBX_OUTPUT_MAIN_SOURCE_FILENAME): set desc field to compiler version ! 3569: number expected by dbx (RISCIX hack). ! 3570: (ASM_OUTPUT_INTERNAL_LABEL): Don't reset arm_ccfsm_state if label isn't ! 3571: a code ('L') label. ! 3572: (ASM_OUTPUT_LONG_DOUBLE): Define for XFmode. ! 3573: (ASM_OUTPUT_DOUBLE): Use REAL_ARITMETIC routines. ! 3574: (ASM_OUTPUT_FLOAT): Likewise. ! 3575: (ASM_OUTPUT_OPCODE): Change of arm_ccfsm_state is now handled by insns ! 3576: that need to change it. ! 3577: (PRINT_OPERAND): %d is replaced by appropriate condition characters, ! 3578: %D by the inverse of those given. CONST_DOUBLEs use REAL_ARITHMETIC ! 3579: functions. ! 3580: (PRINT_OPERAND_ADDRESS): Support all the shift types. ! 3581: (INIT_CUMULATIVE_ARGS): Add missing bracket. ! 3582: ! 3583: * riscix.h: New file -- OS dependent defintitions for riscix 1.2 and ! 3584: above. ! 3585: ! 3586: * riscix1-1.h: New file -- OS dependent definitions for riscix before ! 3587: version 1.2 ! 3588: ! 3589: * rix-gas.h: New file -- riscix 1.2 and above, but with an assembler ! 3590: which supports stabs. ! 3591: ! 3592: * arm.c (arm_compare_op0, arm_compare_op1, arm_compare_fp): New ! 3593: variables. ! 3594: (arm_cpu): New variable. ! 3595: (lr_save_eliminated): New variable. ! 3596: (arm_condition_codes): delete definition. ! 3597: (return_used_this_function): New variable. ! 3598: (use_return_insn): New function. ! 3599: (const_ok_for_arm): Use HOST_WIDE_INT; rewrite to work if ! 3600: HOST_WIDE_INT > 32 bits. ! 3601: (fpa_consts_inited, strings_fpa): New variables. ! 3602: (init_fpa_table): New function, initialize above. ! 3603: (const_double_rtx_ok_for_fpu): Rewrite using fpa_consts_inited and ! 3604: REAL_ARITHMETIC functions. ! 3605: (neg_const_double_rtx_ok_for_fpu): New function. ! 3606: (s_register_operand): New function, as register_operand, but don't ! 3607: accept SUBREG (MEM). ! 3608: (reload_memory_operand): New function. ! 3609: (arm_rhs_operand): Use s_register_operand. ! 3610: (arm_rhsm_operand): New function. ! 3611: (arm_add_operand): New function. ! 3612: (arm_not_operand): New function. ! 3613: (fpu_rhs_operand): Use s_register_operand. ! 3614: (fpu_add_operand): New function. ! 3615: (di_operand): Use s_register_operand. ! 3616: (di_operand, case MEM): address must be offsettable. ! 3617: (index_operand): Use s_register_operand. ! 3618: (const_shift_operand): New function. ! 3619: (shift_operator): Also accept MULT by power of two. ! 3620: (equality_operator): New function. ! 3621: (minmax_operator): New function. ! 3622: (cc_register): New function. ! 3623: (minmax_code): New function. ! 3624: (adjacent_mem_locations): New function. ! 3625: (load_multiple_operation): New function. ! 3626: (store_multiple_operation): New function. ! 3627: (arm_gen_load_multiple): New function. ! 3628: (arm_gen_store_multiple): New function. ! 3629: (gen_compare_reg): New function. ! 3630: (arm_backwards_branch): New function. ! 3631: (short_branch): New function. ! 3632: (arm_insn_not_targeted): New function. ! 3633: (fp_immediate_constant): New function. ! 3634: (eliminate_lr2ip): New function. ! 3635: (output_call_mem): New function. ! 3636: (output_mov_long_double_fpu_from_arm): New function. ! 3637: (output_mov_long_double_arm_from_fpu): New function. ! 3638: (output_mov_long_double_arm_from_arm): New function. ! 3639: (output_move_double): output constants using output_move_immediate; ! 3640: sign_extend CONST_INTs; handle PRE/POST INCs. ! 3641: (shift_instr): Handle MULT. ! 3642: (output_shift_compare): New function. ! 3643: (pattern_really_clobbers_lr): New function. ! 3644: (function_really_clobbers_lr): New function. ! 3645: (output_return_instruction): New function. ! 3646: (output_prologue): Determine whether tail calling is possible, ! 3647: compensate for this when saving registers. Re-initialize ! 3648: return_used_this_function; use HARD_FRAME_POINTER_REGNUM, when ! 3649: saving floating point regs. ! 3650: (output_epilogue): Epilogue isn't needed if return_used_this_function; ! 3651: use HARD_FRAME_POINTER_REGNUM when restoring floating point regs ! 3652: and there is a stack frame; Arm 6 requires different return ! 3653: instruction. ! 3654: (output_load_symbol): New function. ! 3655: (final_prescan_insn): Add support for RETURN patterns; can also ! 3656: conditionalize and target a RETURN; use attributes to determine ! 3657: whether condition codes are set or clobbered; add new case CALL_INSN ! 3658: to switch, fail if Arm 6; support a jump inside a parallel; call ! 3659: recog () before returning to recover from using attributes on other ! 3660: insns. ! 3661: ! 3662: * arm.md (type): New attribute for scheduling. ! 3663: (cpu): New attribute for cpu type for use in conds attribute. ! 3664: (conds): New attribute to describe actions on condition codes, set in ! 3665: insns. ! 3666: (length): New attribute, set in insns. ! 3667: (write_conflict): New attribute describing conflicts with the write ! 3668: buffer. ! 3669: (fpa): New function unit for floating point co-processor. ! 3670: (write_buf): New function unit for Arm 6 write buffer. ! 3671: Most patterns: use s_register_operand instead of register_operand. ! 3672: Most patterns: Don't use general operand and then expect reload to ! 3673: do the work. ! 3674: (adddi3): op0 can be the same as ops1 or 2; clobbers condition codes. ! 3675: New unnamed patterns to add an SImode operand to a DImode op. ! 3676: (addsi3): accept constants that can be catered for using sub. ! 3677: New unnamed patterns that set conditions on add. ! 3678: (incscc): new pattern, conditional increment. ! 3679: New split to add some numbers in two insns. ! 3680: (addsf3): Use REAL_ARITHMETIC; support -ve immediates. ! 3681: (adddf3): Likewise. ! 3682: (FLOAT_EXTEND and ADD): New unnamed patterns. ! 3683: (addxf3): New pattern. ! 3684: (subdi3): Allow input and output operands to overlap exactly. ! 3685: (SUB DImode and SImode): New unnamed patterns. ! 3686: (subsi3): Don't accept a constant as last operand, it will never be ! 3687: matched. ! 3688: (SUB and set CC) New unnamed patterns. ! 3689: (decscc): new pattern, conditional decrment. ! 3690: (subdf3): Fix bad case alternative. ! 3691: (FLOAT_EXTEND and SUB): New unnamed patterns. ! 3692: (subxf3): New pattern. ! 3693: (mulsi3): Allow op2 to be the same as op0 ! 3694: (MULT and set CC): New unnamed patterns. ! 3695: (MULT and ADD): Ops 2 and 3 can match op 0. ! 3696: (MULT, ADD and set CC): New unnamed patterns. ! 3697: (mulsf3): use fmls for faster multiply. ! 3698: (FLOAT_EXTEND and MULT): New unnamed patterns. ! 3699: (mulxf3): New pattern. ! 3700: (divsf3): use dvfs and rdfs for faster divide. ! 3701: (FLOAT_EXTEND and DIV): New unnamed patterns. ! 3702: (divxf3): New pattern. ! 3703: (FLOAT_EXTEND and MOD): New unnamed patterns. ! 3704: (modxf3): New pattern. ! 3705: (anddi3): op 0 can be the same as ops1 or 2. ! 3706: (*_EXTEND and AND): New unnamed patterns ! 3707: (andsi3): Also accept constants that can be handled with bic ! 3708: instruction. ! 3709: (AND and set CC): New unnamed patterns. ! 3710: (andcbsi3): Delete, this can't be generated any more. ! 3711: (NOT then AND): New unnamed patterns. ! 3712: (NOT then AND and set CC): Likewise. ! 3713: (iordi3): Ops 1 and 2 can match op 0. ! 3714: (*_EXTEND and IOR): New unnamed patterns. ! 3715: (iorsi3): Only accept a valid rhs operand for op 2. ! 3716: (IOR and set CC): New unnamed patterns. ! 3717: (xordi3): New pattern. ! 3718: (*_EXTEND and XOR): New unnamed patterns. ! 3719: (xorsi3): Only accept a valid rhs operand for op 2. ! 3720: (XOR and set CC): New unnamed patterns. ! 3721: (split pattern): Complex pattern with NOT, AND, and IOR, can ! 3722: sometimes produce better code if reordered. ! 3723: (AND (IOR () NOT ())): Special pattern to recognize spilt above. ! 3724: ([su]{min,max}si3): New patterns. ! 3725: (set memory from MIN/MAX operation): New pattern. ! 3726: (Arithmetic on MIN/MAX operation): New pattern. ! 3727: (ashlsi3, ashrsi3, lshrsi3, rotrsi3): Only accept a valid rsh for op2. ! 3728: (unnamed LSHIFT pattern): likewise. ! 3729: (SHIFT and set CC): New unnamed patterns. ! 3730: (SHIFT and NOT): New unnamed pattern. ! 3731: (SHIFT, NOT and set CC): New unnamed patterns. ! 3732: (negdi2): operand1 can be the same as op 0. ! 3733: (FLOAT_EXTEND and NEG): New unsigned pattern. ! 3734: (negxf2): New pattern. ! 3735: (abssi2): New pattern. ! 3736: (ABS and NEG): New unnamed pattern. ! 3737: (FLOAT_EXTEND and ABS): New unnamed pattern. ! 3738: (absxf2): New pattern. ! 3739: (FLOAT_EXTEND and SQRT): New unnamed pattern. ! 3740: (sqrtxf2): New pattern. ! 3741: ({sin,cos}{sf,df,xf}2): New patterns. ! 3742: (FLOAT_EXTEND and SIN/COS): New unnamed patterns. ! 3743: (one_cmpldi2): New pattern. ! 3744: (NOT and set CC): New unnamed patterns. ! 3745: (floatsixf2, fix_truncsfsi2, fix_truncdfsi2, fix_truncxfsi2): New ! 3746: patterns. ! 3747: (truncxfsf2, truncxfdf2): New patterns. ! 3748: (zero_extendsidi2, zero_extendqidi2, extendsidi2): New patterns. ! 3749: (ZERO_EXTEND and set CC): New patterns. ! 3750: (extend{sf,df}xf2): New patterns. ! 3751: (movdi): Constrains must accept PRE/POST INC/DEC. ! 3752: (movsi): make an expand that splits up integers and unsupported ! 3753: moves. ! 3754: (unnamed pattern to match movsi): New, don't allow things to ! 3755: be moved back together again. ! 3756: (REG-REG copy and set CC): New unnamed pattern. ! 3757: (restorehi): use plus_constant in expansion code, not PLUS in RTL part. ! 3758: (storehi, storeinthi): likewise. ! 3759: (movhi): Break up impossible moves. ! 3760: (pattern to match movhi): Don't allow impossible moves to be put ! 3761: back together. ! 3762: (movqi): Break up impossible moves. ! 3763: (pattern to match movqi): Don't allow impossible moves to be put ! 3764: back together; convert negative constants into mvn instruction. ! 3765: (movsf): Use REAL_ARITHMETIC for constants; add alternatives for ! 3766: moving GENERAL_REGS to and from memory. ! 3767: (movdf): Make this an expand; split out impossible moves. ! 3768: (reload_outdf): New pattern. ! 3769: (pattern to match movdf): Don't allow impossible moves to be put back ! 3770: together; add alternatives for moving GENERAL_REGS to and from memory; ! 3771: rearrange and weight to get optimal register allocation. ! 3772: (movxf): New pattern. ! 3773: (load_multiple): New expand pattern. ! 3774: (pattern to load multiple, pattern to load multiple with write-back): ! 3775: New unnamed patterns. ! 3776: (store_multiple): New expand pattern. ! 3777: (pattern to store multiple, pattern to store multiple with write-back): ! 3778: New unnamed patterns. ! 3779: (movstrsi): Expand short moves as a series of load/store multiples with ! 3780: write-back. ! 3781: (cmp*): Make these expands; just set some state variables. ! 3782: (CC = COMPARE op, op): New unnamed patterns. ! 3783: (CC = COMPARE op, NEG op): New unnamed pattern. ! 3784: (CC = COMPARE op, SHIFT op): New unnamed pattern. ! 3785: (FLOAT_EXTEND then COMPARE): New unnamed patterns. ! 3786: (CC = CC): New unnamed (dummy) pattern to allow cse to combine repeated ! 3787: compares. ! 3788: (b{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): Make these expand patterns, ! 3789: use gen_compare_reg(). ! 3790: (pattern to match branches, pattern to match inverted brances): New ! 3791: unnamed patterns. ! 3792: (s{eq,ne,le,lt,ge,gt,geu,gtu,leu,ltu}): New expands. ! 3793: (pattern to match store_flag operations): New unnamed pattern. ! 3794: (pattern to match NOT store_flag, pattern to match NEG store_flag): ! 3795: New unnamed patterns. ! 3796: (jump): handle arm_ccfsm_state explicitly. ! 3797: (CALL (MEM)): New unnamed patterns. ! 3798: (return): New pattern. ! 3799: (conditional RETURN): New unnamed patterns; ! 3800: (table_jump (MEM)): New unnamed pattern. ! 3801: (indirect_jump (MEM)): New unnamed pattern. ! 3802: Replace shift-arithmetic patterns with new versions that catche all ! 3803: cases. ! 3804: (Old peephole patterns (commented out)): remove. ! 3805: (shift-arithmetic and set CC): New unnamed patterns. ! 3806: (reload patterns for all shift-arithmetic patterns): New patterns. ! 3807: Add many new patterns to merge store_flag patterns, arithmetic and ! 3808: shifting. ! 3809: New patterns to match conditional comparisons. ! 3810: (movcond): New pattern. ! 3811: (arith (MEM, MEM+4)): New unnamed pattern to spot load multiple ! 3812: possibility. ! 3813: (patterns to match extended pre-increment): New unnamed patterns. ! 3814: (peepholes to match extended post-increment): New. ! 3815: (peephole to match move and set conds): Needed because combine misses ! 3816: this one. ! 3817: (peepholes to match load/store multiples): New. ! 3818: (CALL, RETURN): New peephole. ! 3819: (CALL, JUMP): New peephole. ! 3820: (save_stack_nonlocal, restore_stack_nonlocal): New expands for ! 3821: non-local gotos. ! 3822: special split to break up some conditional arithmetic sequences ! 3823: before scheduling. ! 3824: ! 3825: *configure (arm-*-riscix1.[01]*, arm-*-riscix*): New configurations. ! 3826: *config.sub: Recognize operating system "riscix*"; recognize acorn as ! 3827: vendor. ! 3828: ! 3829: Sat Oct 2 17:24:44 1993 James Van Artsdalen ([email protected]) ! 3830: ! 3831: * i386.md (addhi3): Use byte opcodes when the low byte of a word ! 3832: is known to be zero. ! 3833: ! 3834: Sat Oct 2 14:11:06 1993 John F Carr ([email protected]) ! 3835: ! 3836: * combine.c (can_combine_p): Allow an insn with a REG_EQUIV note ! 3837: that reads memory to be moved past an insn that writes memory. ! 3838: ! 3839: Sat Oct 2 14:04:03 1993 Richard Kenner ([email protected]) ! 3840: ! 3841: * regclass.c (record_reg_classes): Skip to next alternative ! 3842: when we skip normal cost computation. ! 3843: ! 3844: * collect2.c: Add prototypes to static declarations. ! 3845: (PROTO): New macro. ! 3846: (dup2, putenv): Functions return integers; add type and returns. ! 3847: ! 3848: * varasm.c (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if ! 3849: -fvolatile-global. ! 3850: ! 3851: * tree.c (build_string): Make lifetime of string the same as ! 3852: tree node. ! 3853: ! 3854: Sat Oct 2 04:55:44 1993 Doug Evans ([email protected]) ! 3855: ! 3856: * a29k/a29k.h, a29k/unix.h, alpha/alpha.h, arm/arm.h, clipper/clix.h, ! 3857: convex/convex.h, elxsi/elxsi.h, fx80/fx80.h, gmicro/gmicro.h, ! 3858: h8300/h8300.h, i370/tm-mvs.h, i386/386bsd.h, i386/aix386ng.h, ! 3859: i386/gas.h, i386/go32.h, i386/linux.h, i386/lynx.h, i386/mach.h, ! 3860: i386/next.h, i386/osfelf.h, i386/osfrose.h, i386/sco.h, i386/sco4.h, ! 3861: i386/sco4dbx.h, i386/scodbx.h, i386/sequent.h, i386/sun.h, ! 3862: i386/sysv3.h, i386/sysv4.h, i860/fx2800.h, i860/i860.h, i860/mach.h, ! 3863: i860/sysv3.h, i860/sysv4.h, i960/i960.h, m68k/3b1.h, m68k/3b1g.h, ! 3864: m68k/altos3068.h, m68k/apollo68.h, m68k/crds.h, m68k/ctix.h, ! 3865: m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h, m68k/hp3bsd.h, ! 3866: m68k/hp3bsd44.h, m68k/isi.h, m68k/lynx.h, m68k/m68kv4.h, ! 3867: m68k/mot3300.h, m68k/news.h, m68k/next.h, m68k/pbb.h, m68k/plexus.h, ! 3868: m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h, m68k/tower-as.h, ! 3869: m68k/tower.h, m88k/dgux.h, m88k/luna.h, m88k/m88k.h, m88k/sysv3.h, ! 3870: m88k/sysv4.h, mips/bsd-4.h, mips/bsd-5.h, mips/dec-osf1.h, ! 3871: mips/iris3.h, mips/mips.h, mips/news4.h, mips/news5.h, ! 3872: mips/nws3250v4.h, mips/osfrose.h, mips/svr3-4.h, mips/svr3-5.h, ! 3873: mips/svr4-4.h, mips/svr4-5.h, mips/ultrix.h, ns32k/encore.h, ! 3874: ns32k/merlin.h, ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ! 3875: ns32k/sequent.h, ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, ! 3876: pa/pa-ghpux.h, pa/pa-gux7.h, pa/pa-hpux.h, pa/pa-hpux7.h, ! 3877: pa/pa-utahmach.h, pa/pa.h, pa/pa1-utahmach.h, pyr/pyr.h, romp/romp.h, ! 3878: rs6000/aix31.h, rs6000/mach.h, rs6000/rs6000.h, sh/sh.h, sparc/lite.h, ! 3879: sparc/lynx.h, sparc/pbd.h, sparc/sol2.h, sparc/sparc.h, sparc/sysv4.h, ! 3880: spur/spur.h, tahoe/harris.h, tahoe/tahoe.h, vax/ultrix.h, vax/vax.h, ! 3881: vax/vaxv.h, vax/vms.h, we32k/we32k.h ! 3882: (CPP_PREDEFINES): Add system/cpu/machine assertions where missing. ! 3883: ! 3884: Fri Oct 1 22:11:17 1993 Richard Stallman ([email protected]) ! 3885: ! 3886: * gvarargs.h: Test __sequent__ like __BSD_NET2__. ! 3887: ! 3888: Fri Oct 1 17:19:54 1993 Torbjorn Granlund ([email protected]) ! 3889: ! 3890: * cse.c (insert_regs): Always return something. ! 3891: (simplify_unary_operation): Remove unused variable. ! 3892: (cse_process_notes): Likewise. ! 3893: (invalidate_skipped_block): Likewise. ! 3894: (cse_set_around_loop): Likewise. ! 3895: ! 3896: * pa-ghpux.h (LINK_SPEC): Pass "-a -archive" when ! 3897: debugging. ! 3898: * pa-hpux.h (LINK_SPEC): Likewise. ! 3899: * pa-ghpux.h (LIB_SPEC): Make sure to add space between flags. ! 3900: * pa-gux7.h (LIB_SPEC): Likewise. ! 3901: * pa-hpux.h (LIB_SPEC): Likewise. ! 3902: * pa-hpux7.h (LIB_SPEC): Likewise. ! 3903: ! 3904: Fri Oct 1 22:17:12 1993 Eric Youngdale (eric@kafka) ! 3905: ! 3906: * vmsconfig.com: Write out the definitions from Makefile.in for ! 3907: the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and ! 3908: BI_ALL.opt. Remove "bytecode " from compiler options files so ! 3909: compiler will link correctly. ! 3910: ! 3911: * make-cc1.com (bc_generate): New VMS DCL function. Takes a BC ! 3912: header file that needs to be generated, and builds it. ! 3913: ! 3914: * make-cc1.com: Compile entries listed in BI_ALL.OPT, and then call ! 3915: bc_generate for every header file listed in BC_ALL.OPT ! 3916: ! 3917: Fri Oct 1 21:13:17 1993 H.J. Lu ([email protected]) ! 3918: ! 3919: * config/i386/linux.h (LIB_SPEC): Handle -p anmd -pg outermost. ! 3920: ! 3921: Fri Oct 1 18:23:57 1993 Jim Wilson ([email protected]) ! 3922: ! 3923: * reload1.c (gen_input_reload): Handle PLUS with MEM operand ! 3924: exactly the same as a PLUS with a REG operand. ! 3925: * reload.c (form_sum): Undo Sep 28 change. ! 3926: ! 3927: * Makefile.in (cc1, cc1plus, cc1obj): Delete superfluous ! 3928: dependencies on bytecode. ! 3929: (stamp-bcarity, stamp-bcopcode, stamp-bcopname): Create stamp files. ! 3930: ! 3931: Fri Oct 1 18:17:56 1993 Doug Evans ([email protected]) ! 3932: ! 3933: * configure (cpp_md_flags): New variable. ! 3934: (links): Build link from md.pre-cpp if cpp_md_flags defined. ! 3935: (CPP_MD, CPP_MD_FLAGS, MD_FILE): New macros for Makefile. ! 3936: * Makefile.in (md): New dependency. ! 3937: (MD_FILE): New macro. ! 3938: (clean): Remove file md if md.pre-cpp exists. ! 3939: (distclean): Remove md.pre-cpp. ! 3940: ! 3941: Fri Oct 1 15:44:48 1993 Michael Meissner ([email protected]) ! 3942: ! 3943: * halfpic.h (toplevel): Enclose the whole file inside a #ifndef ! 3944: NO_HALF_PIC conditional. ! 3945: ! 3946: * i386/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Define NO_HALF_PIC so ! 3947: that the two common variables in halfpic.h don't get created. ! 3948: ! 3949: * mips/x-osfrose (CCLIBFLAGS, GCC_CFLAGS): Ditto. ! 3950: ! 3951: Fri Oct 1 10:46:15 1993 Richard Kenner ([email protected]) ! 3952: ! 3953: * a29k.h (R_KR): New macro. ! 3954: (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS): ! 3955: Adjust for more registers present. ! 3956: (REG_ALLOC_ORDER, REG_CLASS_CONTENTS, REGISTER_NAMES): Likewise. ! 3957: (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, REGNO_REG_CLASS): Likewise. ! 3958: (CONDITIONAL_REGISTER_USAGE): Swap names rather than replacing them. ! 3959: * a29k.c (gpc_reg_operand): Include kernel registers. ! 3960: ! 3961: * a29k.h (TARGET_LARGE_MEMORY): New flag; change value for ! 3962: all others. ! 3963: (ENCODE_SECTION_INFO): New macro. ! 3964: (TARGET_SWITCHES): Add "normal" and change values. ! 3965: ! 3966: * a29k.c (call_operand, case SYMBOL_REF): Handle TARGET_LARGE_MEMORY ! 3967: and SYMBOL_REF_FLAG. ! 3968: ! 3969: Thu Sep 30 23:25:13 1993 Jeffrey A. Law ([email protected]) ! 3970: ! 3971: * reorg.c (optimize_skip): Do not thread a jump to a new target if ! 3972: doing so would invalidate the insn in the jump's delay slot. ! 3973: ! 3974: Thu Sep 30 14:21:03 1993 Brendan Kehoe ([email protected]) ! 3975: ! 3976: * bi-lexer.c (scan_string): Do xmalloc if buffer is null and ! 3977: xrealloc if it's not, not the other way around. ! 3978: ! 3979: Thu Sep 30 10:57:30 1993 Jan Brittenson ([email protected]) ! 3980: ! 3981: * bc-emit.c (bc_end_function, seg_data): Use bcopy instead of memcpy. ! 3982: ! 3983: Thu Sep 30 05:53:58 1993 Richard Kenner ([email protected]) ! 3984: ! 3985: * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Properly handle ! 3986: case when ARG1 splits and VARSIGN is -1. ! 3987: ! 3988: Wed Sep 29 19:41:18 1993 Richard Stallman ([email protected]) ! 3989: ! 3990: * c-typeck.c (build_modify_expr): Check whether recursive calls ! 3991: return error_mark_node. ! 3992: ! 3993: Wed Sep 29 18:35:30 1993 Leonid Baraz ([email protected]) ! 3994: ! 3995: * rtl.h (GEN_INT): Add missing cast to HOST_WIDE_INT. ! 3996: * jump.c (rtx_renumbered_equal_p, case CONST_INT): Use INTVAL, ! 3997: not XINT. ! 3998: ! 3999: Wed Sep 29 17:32:03 1993 Doug Evans ([email protected]) ! 4000: ! 4001: * glimits.h (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): ! 4002: redefine in a simpler way. ! 4003: ! 4004: Wed Sep 29 17:25:17 1993 david d `zoo' zuhn ([email protected]) ! 4005: ! 4006: * fixincludes (sys/spinlock.h): change references of ! 4007: "../machine/*.h" to <machine/*.h> ! 4008: ! 4009: Wed Sep 29 07:09:50 1993 Richard Kenner ([email protected]) ! 4010: ! 4011: * rs6000.c (reg_or_short_operand): Remove redundant test. ! 4012: ! 4013: * sched.c: Add prototypes for static function. ! 4014: (add_dependence, remove_dependence, regno_use_in): Now static. ! 4015: (schedule_insns): Have dummy version also take FILE * parameter. ! 4016: ! 4017: Wed Sep 29 01:29:31 1993 Paul Eggert ([email protected]) ! 4018: ! 4019: * cccp.c (quote_string): New function. ! 4020: (special_symbol, write_output, output_line_command): Use it to escape ! 4021: special characters in file names when outputting #line directives. ! 4022: (do_line): Parse escape sequences in #line directives' file names. ! 4023: * c-lex.c, cp-lex.c (check_newline, yylex, real_yylex): Likewise. ! 4024: (ignore_escape_flag): Remove var. ! 4025: ! 4026: Tue Sep 28 21:27:26 1993 Richard Kenner ([email protected] ! 4027: ! 4028: * function.c (push_temp_slots, pop_temp_slots): Always change level. ! 4029: * cp-expr.c (cplus_expand_expr): Push and pop temp slots around ! 4030: making new temp slots and freeing them. ! 4031: * expr.c (expand_assignment, expand_expr, do_jumps): Likewise. ! 4032: * integrate.c (expand_inline_function): Likewise. ! 4033: ! 4034: Tue Sep 28 18:50:57 1993 Richard Stallman ([email protected]) ! 4035: ! 4036: * reload.c (find_reloads): Don't call find_reloads_toplev ! 4037: (or anything like that) for match_operator operands. ! 4038: ! 4039: * config/ns32k/ns32k.c (output_move_double): Special code for ! 4040: pushing from an address that uses the sp. Use PUSHOP for pushes, ! 4041: not POPOP. ! 4042: ! 4043: * config/ns32k/ns32k.h (FUNCTION_EPILOGUE, FUNCTION_PROLOGUE): ! 4044: Add %$ in adjspb/adjspd insns. ! 4045: * config/ns32k/ns32k.md (recognizer for subtracting const from reg 17): ! 4046: Add %$ in adjspb/adjspd insns. ! 4047: ! 4048: * bytetypes.h (QItype, HItype, SItype, DItype): Use __signed__. ! 4049: ! 4050: * Makefile.in (stamp-bcopname, stamp-bcopcode): ! 4051: Use shorter names for temporary files. ! 4052: (bc-emit.o): Depend on bc-arity.h. ! 4053: ! 4054: * bi-opname.c, bi-arity.c, bi-opcode.c (xmalloc): New function. ! 4055: * bi-opname.c, bi-arity.c: Include stdio.h. ! 4056: ! 4057: * function.c (expand_main_function): Put back accidentally ! 4058: deleted previous change to use NAME__MAIN. ! 4059: ! 4060: * glimits.h (INT_MAX, LONG_MAX, LONG_LONG_MAX): Delete parens. ! 4061: (__glimits__evconcat__, __glimits__concat__): New macros. ! 4062: (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Use them. ! 4063: ! 4064: * cccp.c (output_dots): New function. ! 4065: (do_include): Call it (to indent output for print_include_names). ! 4066: ! 4067: Tue Sep 28 18:22:31 1993 Jim Wilson ([email protected]) ! 4068: ! 4069: * reload1.c (eliminate_regs): All recursive calls now pass INSN ! 4070: instead of NULL_RTX. Second assignment to ref_outside_mem changed ! 4071: to be same as first assignment. ! 4072: ! 4073: * combine.c (force_to_mode, LSHIFTRT case): Avoid shifts larger ! 4074: than HOST_BITS_PER_WIDE_INT. ! 4075: ! 4076: * sched.c (schedule_insns): Don't zero reg_n_calls_crossed for ! 4077: pseudos live across multiple blocks. ! 4078: ! 4079: * fixincludes ({sparc,sun3,sun3x,sun4,sun4c,sun4m}/asm_linkage.h, ! 4080: {sun4c,sun4m}/debug/asm_linkage.h: Replace /**/ with ##. ! 4081: ! 4082: * reorg.c (mark_target_live_regs): When scanning insns, ignore ! 4083: CLOBBERs in addition to USEs. ! 4084: ! 4085: * life.h: Comment that this is for sparclite w/o FPU. ! 4086: * sparc.h (CPP_SPEC): Handle -mf930 and -mf934. ! 4087: (TARGET_SWITCHES): Add -mf930 and -mf934 options. -msparclite no ! 4088: longer does -mno-fpu. ! 4089: ! 4090: * fixinc.svr4, fixincludes (math.h): Put #ifndef around HUGE_VAL ! 4091: define. ! 4092: * math-68881.h, math-3300.h (HUGE_VAL): Add #undef before HUGE_VAL ! 4093: define, instead of surrounding it with #ifndef/#endif. ! 4094: ! 4095: * sparc/bsd.h: New file. ! 4096: * configure (sparc-*-bsd*): New configuration. ! 4097: ! 4098: * reload.c (form_sum): Change the way that form_sum canonicalizes ! 4099: addresses, so that it never creates (PLUS (PLUS MEM CONST_INT) REG) ! 4100: but instead canonicallizes this to (PLUS (PLUS REG CONST_INT) MEM). ! 4101: ! 4102: Tue Sep 28 16:00:25 1993 Richard Stallman ([email protected]) ! 4103: ! 4104: * bc-emit.c: Include gvarargs.h, not varargs.h. ! 4105: Don't include string.h. ! 4106: (seg_align): Use bzero, not memset. ! 4107: ! 4108: Mon Sep 27 20:53:01 1993 Richard Stallman ([email protected]) ! 4109: ! 4110: * c-typeck.c (pop_init_level): Add special case for nonincremental ! 4111: scalar initializers. ! 4112: ! 4113: * protoize.c: Declare rindex unconditionally. ! 4114: ! 4115: * c-decl.c (init_decl_processing): Use signed_type and unsigned_type ! 4116: to set signed_wchar_type_node and unsigned_wchar_type_node. ! 4117: ! 4118: Mon Sep 27 20:31:01 1993 Paul Eggert ([email protected]) ! 4119: ! 4120: * dbxout.c (dbxout_init, dbxout_source_file): Quote special ! 4121: characters when outputting source file names. ! 4122: * config/a29k/a29k.h, config/a29k/unix.h, config/alpha/alpha.h, ! 4123: config/i386/aix386ng.h, config/i386/bsd.h, config/i386/gas.h, ! 4124: config/i386/sun386.h (ASM_FILE_START): Likewise. ! 4125: * config/elxsi/elxsi.h, config/m68k/3b1.h, config/m68k/crds.h, ! 4126: config/m68k/mot3300.h, config/m68k/tower-as.h, config/m88k/m88k.h, ! 4127: dwarfout.c (ASM_OUTPUT_SOURCE_FILENAME): Likewise. ! 4128: * xcoffout.h, config/i386/i386iscgas.h, config/i860/fx2800.h ! 4129: (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY, DBX_OUTPUT_MAIN_SOURCE_FILENAME): ! 4130: Likewise. ! 4131: * xcoffout.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise. ! 4132: * config/mips/mips.c (mips_output_filename): Likewise. ! 4133: * toplev.c (output_file_directive): Likewise. ! 4134: (output_quoted_string): New function. ! 4135: ! 4136: Mon Sep 27 19:31:57 1993 Richard Stallman ([email protected]) ! 4137: ! 4138: * bi-lexer.c (xrealloc): Handle 0 passed as BLOCK. ! 4139: ! 4140: * Makefile.in (stamp-bcopname, stamp-bcopcode, stamp-bcarity): ! 4141: Renamed from stamp-bc-... to fit in 14 chars. ! 4142: Don't rm the .h files. ! 4143: (STAGESTUFF): Add some bc and bi files. ! 4144: ! 4145: * c-lex.c (yylex): Handle i together with f or l in float constant. ! 4146: ! 4147: Mon Sep 27 19:00:18 1993 Ian Lance Taylor ([email protected]) ! 4148: ! 4149: * cccp.c (special_symbol, initialize_builtins): If ! 4150: NO_BUILTIN_SIZE_TYPE is defined, never refer to SIZE_TYPE. ! 4151: Likewise for NO_BUILTIN_PTRDIFF_TYPE and PTRDIFF_TYPE. ! 4152: ! 4153: Mon Sep 27 18:59:09 1993 Richard Stallman ([email protected]) ! 4154: ! 4155: * reload1.c (eliminate_regs, SET case): Check for INSN_LIST ! 4156: along with EXPR_LIST. ! 4157: ! 4158: Mon Sep 27 14:29:17 1993 Kresten Krab Thorup ([email protected]) ! 4159: ! 4160: * objc/typedstream.h (objc_read_object): Add declaration. ! 4161: ! 4162: Mon Sep 27 17:00:38 1993 Richard Stallman ([email protected]) ! 4163: ! 4164: * configure: Handle option --with-elf. ! 4165: (i[34]86-*-linux*): Use linuxelf.h if --with-elf. ! 4166: (i[34]86-*-osfelf): Config deleted. ! 4167: (i[34]86-*-osfrose): Handle --with-elf. ! 4168: * config/i386/linuxelf.h: New file. ! 4169: ! 4170: Mon Sep 27 14:19:33 1993 Jan Brittenson ([email protected]) ! 4171: ! 4172: * expr.c (bc_expand_constructor): Delete cast of argument to ! 4173: bc_emit_instruction to HOST_WIDE_INT. Move assignment of ptroffs ! 4174: to separate line. ! 4175: ! 4176: Mon Sep 27 10:32:28 1993 Richard Kenner ([email protected]) ! 4177: ! 4178: * Makefile.in (stmt.o, expr.o, emit-rtl.o): Add missing dependency ! 4179: on bc-typecd.def. ! 4180: (bi-run.o): Fix formatting. ! 4181: ! 4182: Mon Sep 27 10:26:43 1993 Jan Brittenson ([email protected]) ! 4183: ! 4184: * Makefile.in (bi-arity.h, bc-opcode.h, bc-opname.h): Use ! 4185: move-if-changed. ! 4186: (stamp-bc-arity, stamp-bc-opcode, stamp-bc-opname): New targets. ! 4187: ! 4188: Sun Sep 26 23:11:34 1993 Jeffrey A. Law ([email protected]) ! 4189: ! 4190: * pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, ! 4191: not all HPUX linkers handle it correctly. ! 4192: ! 4193: Sun Sep 26 20:51:36 1993 Richard Stallman ([email protected]) ! 4194: ! 4195: * stmt.c (expand_exit_loop_if_false, bc_expand_start_cond): ! 4196: Use xjumpifnot, not jumpifnot. ! 4197: ! 4198: * Makefile.in (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB). ! 4199: ! 4200: * varasm.c (assemble_string): Put braces around ASM_OUTPUT_ASCII. ! 4201: ! 4202: Sat Sep 25 08:30:16 1993 Richard Kenner ([email protected]) ! 4203: ! 4204: * expr.c (expand_expr, case COND_EXPR): Set MEM_IN_STRUCT_P ! 4205: properly for TEMP. ! 4206: ! 4207: * combine.c (BYTE_LOADS_EXTEND, LOAD_EXTEND): Deleted. ! 4208: (subst, force_to_mode, nonzero_bits, num_sign_bit_copies): ! 4209: Use new macros LOAD_EXTEND_OP and WORD_REGISTER_OPERATION instead ! 4210: of BYTE_LOADS_*_EXTEND and LOAD_EXTEND. ! 4211: * expr.c (do_store_flag): Likewise. ! 4212: * reload.c (push_reload, find_reloads): Likewise. ! 4213: * reload1.c (eliminate_regs): Likewise. ! 4214: * a29k.h, alpha.h, clipper.h, arm.h, i960.h, m88k.h, mips.h: ! 4215: Use WORD_REGISTER_OPERATION and LOAD_EXTEND_OP and delete ! 4216: BYTE_LOADS_{SIGN,ZERO}_EXTEND. ! 4217: * pa.h, romp.h, rs6000.h, sh.h, sparc.h: Likewise. ! 4218: ! 4219: Sat Sep 25 06:19:20 1993 Jan Brittenson ([email protected]) ! 4220: ! 4221: * bi-lexer.l: Deleted. ! 4222: ! 4223: * bi-lexer.c: New file. ! 4224: ! 4225: * Makefile.in (bi-lexer): Deleted. ! 4226: (bi-lexer.l): Deleted. ! 4227: ! 4228: Fri Sep 24 16:59:03 1993 Brendan Kehoe ([email protected]) ! 4229: ! 4230: Cygnus<->FSF C++ front-end merge. ! 4231: ! 4232: Tue Sep 21 19:17:29 1993 Mike Stump ([email protected]) ! 4233: ! 4234: * cp-decl.c (build_ptrmemfunc_type): Set CLASSTYPE_GOT_SEMICOLON ! 4235: just in case. ! 4236: * cp-decl.c (start_function): Exclude pointer to member functions in ! 4237: IS_AGGR_TYPE test. ! 4238: * cp-method.c (dump_type_prefix, dump_type_suffix, dump_type): ! 4239: Handle pointer to member functions. ! 4240: ! 4241: Tue Sep 21 10:47:10 1993 Mike Stump ([email protected]) ! 4242: ! 4243: * cp-tree.c (finish_struct): Since we know which base class we want ! 4244: the binfo for, get it directly, instead of searching for it. Cures ! 4245: a compiler_error in binfo_value. ! 4246: ! 4247: Thu Sep 16 20:33:25 1993 Mike Stump ([email protected]) ! 4248: ! 4249: * cp-cvt.c (convert_pointer_to): Make error more specific and more ! 4250: readable. ! 4251: ! 4252: Thu Sep 16 20:14:18 1993 Mike Stump ([email protected]) ! 4253: ! 4254: * cp-lex.c (consume_string): Add second argument so that we can use ! 4255: this routine for character constants too. Also, handle eof inside ! 4256: the string or character constant better. Make static, as it isn't ! 4257: used anyplace else. ! 4258: ! 4259: * cp-lex.c (reinit_parse_for_block): Add second argument to ! 4260: consume_string. Add support for character constants. ! 4261: ! 4262: * cp-tree.h (consume_string): Remove declaration, not used any place ! 4263: else. ! 4264: ! 4265: Wed Sep 15 12:44:13 1993 Per Bothner ([email protected]) ! 4266: ! 4267: * cp-gc.c (build_t_desc): Make sure finish_table is called ! 4268: for the methods and ivars tables. ! 4269: ! 4270: Mon Sep 13 14:40:23 1993 Brendan Kehoe ([email protected]) ! 4271: ! 4272: * cp-pt.c (unify): Use the referent type if necessary. ! 4273: ! 4274: Fri Sep 10 16:34:37 1993 Mike Stump ([email protected]) ! 4275: ! 4276: * cp-typeck.c (build_binary_op_nodefault): Add missing fourth ! 4277: argument to build_binary_op calls, and eliminate bogus delta2 ! 4278: check. ! 4279: ! 4280: Fri Sep 10 14:52:59 1993 Mike Stump ([email protected]) ! 4281: ! 4282: * cp-typeck.c (build_binary_op_nodefault): Make sure delta2's match ! 4283: when comparing pointers to _virtual_ member functions. ! 4284: ! 4285: Fri Sep 10 14:27:45 1993 Mike Stump ([email protected]) ! 4286: ! 4287: * cp-typeck.c (convert_for_assignment): Revert a cast. ! 4288: * cp-typeck.c (build_binary_op_nodefault): Add missing fourth ! 4289: argument to build_binary_op calls. ! 4290: ! 4291: Thu Sep 9 21:22:40 1993 Mike Stump ([email protected]) ! 4292: ! 4293: Complete re-vamp of pointer to member functions. Implements ! 4294: complete semantics. Cures problems on CONVEX, i960 and alpha. ! 4295: ! 4296: * cp-tree.h (get_member_function_from_ptrfunc, build_ptrmemfunc): ! 4297: New routines. ! 4298: * cp-decl.c (build_ptrmemfunc_type): New routine, builds canonical ! 4299: pointer to member function types. ! 4300: * cp-decl.c (grokdeclarator): Use new type for POINTER_TYPE to ! 4301: METHOD_TYPEs. ! 4302: * cp-method.c (build_overload_name): Make the old mangling to show ! 4303: through when mangling the new pointer to member function type. ! 4304: ! 4305: * cp-tree.h (TYPE_PTRMEMFUNC_P, TYPE_PTRMEMFUNC_FN_TYPE, ! 4306: TYPE_GET_PTRMEMFUNC_TYPE, TYPE_SET_PTRMEMFUNC_TYPE): New macros ! 4307: for pointer to member function code. ! 4308: * cp-init.c (resolve_offset_ref): Handle pointer to member functions ! 4309: specially. ! 4310: * cp-type2.c (store_init_value): Make new pointer to member ! 4311: functions initializable. ! 4312: * cp-typeck.c (convert_for_assignment): Make new pointer to member ! 4313: functions assignable. ! 4314: * cp-type2.c (build_m_component_ref): Make new pointer to member ! 4315: functions work. ! 4316: * cp-typeck.c (build_x_function_call, build_function_call_real, ! 4317: build_binary_op): Ditto. ! 4318: * cp-class.c (add_virtual_function): Don't set the high bit on ! 4319: DECL_VINDEXs. ! 4320: ! 4321: * cp-typeck.c (get_member_function_from_ptrfunc): New routine to ! 4322: resolve a pointer to member function. ! 4323: * cp-typeck.c (build_ptrmemfunc): New routine to build CONSTRUCTORs ! 4324: for new pointer to member functions. Used by to generate ! 4325: initialization and assignment expressions. ! 4326: * cp-typeck.c (build_binary_op_nodefault): Implement == and != for ! 4327: new pointer to member functions. ! 4328: * cp-typeck.c (unary_complex_lvalue): Handle & in more reasonable ! 4329: ways to make new pointer to member functions work. ! 4330: ! 4331: * cp-parse.y (expr_no_commas): Don't dereference the second ! 4332: argument, this is now done in build_m_component_ref as needed. ! 4333: * cp-typeck.c (build_x_binary_op): Ditto. ! 4334: ! 4335: Other misc work. ! 4336: ! 4337: * cp-call.c (build_field_call, build_scoped_method_call, ! 4338: build_method_call): Second arg to build_indirect_ref should be ! 4339: NULL_PTR, not NULL or 0. ! 4340: * cp-class.c (build_vbase_path, build_vfn_ref, popclass): Ditto. ! 4341: * cp-cvt.c (convert_from_reference): Ditto. ! 4342: * cp-decl2.c (setup_vtbl_ptr, finish_file): Ditto. ! 4343: * cp-init.c (emit_base_init, build_virtual_init, ! 4344: expand_aggr_vbase_init_1, expand_recursive_init_1, ! 4345: get_member_function, resolve_offset_ref, build_new, build_delete, ! 4346: build_vec_delete): Ditto. ! 4347: * cp-search.c (dfs_init_vbase_pointers, init_vbase_pointers, ! 4348: build_vbase_vtables_init): Ditto. ! 4349: * cp-type2.c (build_x_arrow, build_functional_cast): Ditto. ! 4350: * cp-typeck.c (build_modify_expr): Ditto. ! 4351: ! 4352: Instead of calling get_identifier with the same value all the time, ! 4353: call it once, and re-use the cached value. ! 4354: ! 4355: * cp-decl.c (pfn_identifier, index_identifier, delta_identifier, ! 4356: delta2_identifier): New cached calls to get_identifier. ! 4357: * cp-tree.h (this_identifier, pfn_identifier, index_identifier, ! 4358: delta_identifier, delta2_identifier): Allow them to be accessed ! 4359: everywhere. ! 4360: * cp-decl.c (init_decl_processing): Initialize pfn_identifier, ! 4361: index_identifier, delta_identifier and delta2_identifier and ! 4362: use a cached get_identifier call. ! 4363: * cp-class.c (delta_name, pfn_name): Removed, use delta_identifier ! 4364: and pfn_identifier instead. ! 4365: * cp-class.c (popclass): Use a cached get_identifier call for `this'. ! 4366: ! 4367: Tue Sep 7 16:01:14 1993 Brendan Kehoe ([email protected]) ! 4368: ! 4369: * cp-search.c (immediately_derived): New function. ! 4370: (get_binfo): Use it. ! 4371: (compute_visibility): Rewrite how private inheritance is handled, so ! 4372: it actually works. Use the new immediately_derived fn. ! 4373: ! 4374: Mon Sep 6 14:44:46 1993 Jim Wilson ([email protected]) ! 4375: ! 4376: * cp-decl.c (grokfndecl): Add empty statement after foundaggr label. ! 4377: ! 4378: Sat Sep 4 16:12:27 1993 Jason Merrill ([email protected]) ! 4379: ! 4380: * cp-decl.c (grokfndecl): Require class or enum argument to ! 4381: operators. ! 4382: ! 4383: * cp-init.c (build_member_call): Make destructor without object ! 4384: error more useful, don't complain of missing destructor. ! 4385: ! 4386: Thu Sep 2 15:51:54 1993 Brendan Kehoe ([email protected]) ! 4387: ! 4388: * cp-decl.c (globalize_nested_type): Make sure the type in question ! 4389: has a lang_specific area before trying to clear DECL_CLASS_CONTEXT. ! 4390: ! 4391: Wed Sep 1 13:40:30 1993 Chip Salzenberg (chip@fin) ! 4392: ! 4393: * cp-decl.c (start_function): Call duplicate_decls when user ! 4394: redefines a builtin function. ! 4395: ! 4396: Thu Sep 2 15:38:43 1993 Brendan Kehoe ([email protected]) ! 4397: ! 4398: * cp-pt.c (instantiate_class_template): Only kick back the local ! 4399: value if we're setting things up for the parser. ! 4400: ! 4401: Wed Sep 1 12:54:38 1993 Brendan Kehoe ([email protected]) ! 4402: ! 4403: * cp-init.c (emit_base_init): Don't complain if the base has no ! 4404: constructor; we should try to use the default constructor instead. ! 4405: ! 4406: Wed Sep 1 11:57:00 1993 Brendan Kehoe ([email protected]) ! 4407: ! 4408: * cp-call.c (find_scoped_type): Undo the sorry for now, it's hitting ! 4409: a lot of code that it shouldn't be. ! 4410: ! 4411: Mon Aug 30 13:08:48 1993 Mike Stump ([email protected]) ! 4412: ! 4413: * cp-typeck.c (build_x_unary_op): unary & on an expression of ! 4414: RECORD_TYPE that has an incomplete type gives the simple address of ! 4415: the object, and should not give an error about method not found. ! 4416: ! 4417: Mon Aug 30 11:06:26 1993 Brendan Kehoe ([email protected]) ! 4418: ! 4419: * cp-pt.c (instantiate_class_template): Don't try to instantiate a ! 4420: template that's already being worked on. ! 4421: ! 4422: * cp-init.c (perform_member_init): Make an uninitialized reference ! 4423: be a pedwarn, not a warning. ! 4424: ! 4425: * cp-class.c (finish_struct): Make declaration of a negative width ! 4426: for a bit-field be an error, not a warning. ! 4427: ! 4428: Sat Aug 28 09:40:47 1993 Michael Tiemann ([email protected]) ! 4429: ! 4430: * cp-call.c (find_scoped_type): Add a `sorry' call if we hit an ! 4431: uninstantiated type. ! 4432: ! 4433: Thu Aug 26 13:53:23 1993 Jason Merrill ([email protected]) ! 4434: ! 4435: * cp-call.c (build_scoped_method_call): Don't produce an error ! 4436: if the type has no destructor. ! 4437: ! 4438: * cp-decl.c (record_builtin_type): Don't set TYPE_HAS_DESTRUCTOR ! 4439: after all. ! 4440: ! 4441: Wed Aug 25 19:10:24 1993 Jason Merrill ([email protected]) ! 4442: ! 4443: * cp-call.c (build_method_call): Check for class type value as ! 4444: well ! 4445: ! 4446: * cp-tree.h (IDENTIFIER_CLASS_TYPE_VALUE): Create macro ! 4447: (IDENTIFIER_HAS_CLASS_TYPE_VALUE): Ditto ! 4448: ! 4449: * cp-init.c (is_aggr_typedef): Check for class type value as well ! 4450: (for template destructors) ! 4451: (build_delete): Don't assert aggregate type, don't check ! 4452: TREE_GETS_DELETE if built-in type. ! 4453: ! 4454: Fri Sep 24 15:57:14 1993 Richard Earnshaw ([email protected]) ! 4455: ! 4456: * rtl.h: (HARD_FRAME_POINTER_REGNUM): New macro. ! 4457: (hard_frame_pointer_rtx): New variable ! 4458: * combine.c: (combinable_i3_pat): Don't add REG_DEAD notes for ! 4459: HARD_FRAME_POINTER_REGNUM. ! 4460: (subst, case SUBREG): Don't change register number or mode if it ! 4461: is HARD_FRAME_POINTER_REGNUM. ! 4462: * cse.c: (FIXED_REGNO_P): HARD_FRAME_POINTER_REGNUM is fixed. ! 4463: (CHEAP_REG): HARD_FRAME_POINTER_REGNUM is cheap. ! 4464: (FIXED_BASE_PLUS): Allow hard frame pointer as base. ! 4465: (NONZERO_BASE_PLUS_P): Likewise. ! 4466: (cannon_hash, case REG): Add HARD_FRAME_POINTER_REGNUM to list of ! 4467: special registers for SMALL_REGISTER_CLASSES. ! 4468: (find_best_addr): Addresses containing HARD_FRAME_POINTER_REGNUM ! 4469: cannot be replaced. ! 4470: (cse_main): value in HARD_FRAME_POINTER_REGNUM is preserved across ! 4471: calls. ! 4472: * dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated ! 4473: by now, use HARD_FRAME_POINTER_REGNUM. ! 4474: * emit-rtl.c: (hard_frame_pointer_rtx): New variable. ! 4475: (gen_rtx): return hard_frame_pointer_rtx if generating rtl ! 4476: for HARD_FRAME_POINTER_REGNUM. ! 4477: (enit_emit_once): Generate initial rtl for hard_frame_pointer_rtx. ! 4478: * explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM. ! 4479: * flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at ! 4480: the end of the function. ! 4481: (insn_dead_p): Don't delete insns that set the hard frame pointer. ! 4482: (mark_set_1): Don't add death information about ! 4483: HARD_FRAME_POINTER_REGNUM. ! 4484: (mark_used_regs, case REG): Don't put HARD_FRAME_POINTER_REGNUM in ! 4485: regs_ever_live. Don't mark it as needed either. ! 4486: * function.c: (instantiate_virtual_regs_1, case MEM): references to ! 4487: MEM via the hard frame pointer shouldn't be copied. ! 4488: * genattrtab.c: (hard_frame_pointer_rtx): New Dummy definition. ! 4489: * global.c: (global_alloc): Make sure that it is always possible to ! 4490: eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. ! 4491: * jump.c: (thread_jumps): Value in HARD_FRAME_POINTER_REGNUM is never ! 4492: modified by a call. ! 4493: * local-alloc.c: (find_free_reg): Make sure we will always be able ! 4494: to eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. ! 4495: * loop.c: (invariant_p, case REG): hard_frame_pointer_rtx is ! 4496: invariant. ! 4497: * reload.c: (immune_p): Constants never overlap hard frame pointer ! 4498: references. ! 4499: (find_reloads_address): Compute invalid references to the hard ! 4500: frame pointer in a register; also (reg + const) ! 4501: and (reg + reg + const). ! 4502: ! 4503: * reload1.c: (init_reload): use HARD_FRAME_POINTER_REGNUM instead of ! 4504: FRAME_POINTER_REGNUM. ! 4505: (reload): Only prohibit elimination of HARD_FRAME_POINTER_REGNUM, not ! 4506: FRAME_POINTER_REGNUM if frame_pointer_needed. Never prohibit ! 4507: elimination of FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM. ! 4508: Mark HARD_FRAME_POINTER_REGNUM as live at the start of a block if ! 4509: it is still needed after elimination. ! 4510: (eliminate_regs): For non-local goto's, don't delete stores into the ! 4511: hard frame pointer. ! 4512: (eliminate_regs_in_insn): adjust comment. ! 4513: (mark_not_eliminable): if frame_pointer_rtx and hard_frame_pointer_rtx ! 4514: are not the same, then frame_pointer_rtx is eliminable; ! 4515: hard_frame_pointer_rtx never is if it is set.. ! 4516: (order_regs_for_reload): HARD_FRAME_POINTER_REGNUM is a bad spill reg. ! 4517: (choose_reload_regs): HARD_FRAME_POINTER_REGNUM is a bad choice. ! 4518: * reorg.c: (mark_referenced_resource): if frame_pointer_needed, ! 4519: HARD_FRAME_POINTER_REGNUM is also a referenced resource. ! 4520: (mark_target_live_regs): value in HARD_FRAME_POINTER_REGNUM is not ! 4521: call-clobbered. ! 4522: (dbr_schedule): HARD_FRAME_POINTER_REGNUM should be valid at the ! 4523: end of a function. ! 4524: * rtlanal.c: (rtx_unstable_p): HARD_FRAME_POINTER_REGNUM is not ! 4525: an unstable register. ! 4526: (rtx_varies_p, case REG): hard_frame_pointer_rtx is invariant. ! 4527: (rtx_addr_can_trap_p, case REG): hard_frame_pointer_rtx won't trap. ! 4528: * sched.c: (memrefs_conflict_p): We can work out whether references ! 4529: via hard_frame_pointer_rtx are likely to conflict. ! 4530: (attach_deaths, case REG): Don't add death notes for ! 4531: HARD_FRAME_POINTER_REGNUM. ! 4532: * sdbout.c: (sdbout_symbol): Use HARD_FRAME_POINTER_REGNUM instead of ! 4533: FRAME_POINTER_REGNUM. ! 4534: * stmt.c: (expand_goto): Set hard_frame_pointer_rtx when restoring ! 4535: the frame. Use it when restoring other registers. ! 4536: (expand_end_bindings): ARG_POINTER_REGNUM will be eliminated into ! 4537: HARD_FRAME_POINTER_REGNUM, not FRAME_POINTER_REGNUM; adjust code ! 4538: accordingly. ! 4539: * stupid.c: (stupid_find_reg): never use HARD_FRAME_POINTER_REGNUM. ! 4540: ! 4541: Fri Sep 24 15:05:14 1993 Richard Stallman ([email protected]) ! 4542: ! 4543: * reload1.c (eliminate_regs): Specially handle the case where INSN ! 4544: is a note (an EXPR_LIST or INSN_LIST). ! 4545: (eliminate_regs_in_insn): Pass the notes as INSN, ! 4546: when calling eliminate_insn to process the notes. ! 4547: ! 4548: Fri Sep 24 11:29:26 1993 Michael Meissner ([email protected]) ! 4549: ! 4550: * i386/osfrose.h (SET_ASM_OP): Define. ! 4551: ! 4552: Fri Sep 24 04:47:33 1993 Jan Brittenson ([email protected]) ! 4553: ! 4554: * Makefile.in (toplev.o): Add bytecode.h and bc-emit.h to list ! 4555: of dependencies. ! 4556: (stmt.o): Add bytecode.h, bc-typecd.h, bc-opcode.h, bc-optab.h, ! 4557: and bc-emit.h to list of dependencies. ! 4558: (expr.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, bc-optab.h, ! 4559: bc-emit.h, and modemap.def to list of dependencies. ! 4560: (emit-rtl.o): Add bytecode.h, bc-opcode.h, bc-typecd.h, ! 4561: bc-optab.h, bc-emit.h, bc-opname.h to list of dependencies. ! 4562: (integrate.o, regclass.o, varasm.o, function.o): Add bytecode.h to ! 4563: list of dependencies. ! 4564: ! 4565: Thu Sep 23 23:58:58 1993 James Van Artsdalen ([email protected]) ! 4566: ! 4567: * att.h (ASM_OUTPUT_ASCII): Enclose macro in "do { .. } while (0)". ! 4568: * sun386.h (ASM_OUTPUT_ASCII): Likewise. ! 4569: ! 4570: Thu Sep 23 11:55:47 1993 Ted Lemon ([email protected]) ! 4571: ! 4572: * toplev.c (lang_options): Add -fallow-single-precision. ! 4573: ! 4574: Thu Sep 23 00:40:28 1993 Richard Stallman ([email protected]) ! 4575: ! 4576: * Makefile.in (bi-parser.c): Supply explicit rule. ! 4577: Add bi-parser.h as target. ! 4578: Put these files in srcdir. ! 4579: ! 4580: * bc-emit.c (bc_gen_rtx): Call gen_rtx. ! 4581: (bc_print_rtl): #if 0 the contents. ! 4582: ! 4583: * Makefile.in (bc-optab.o, bc-emit.o): Add missing deps. ! 4584: (bi-parser.c, bi-lexer.c): Don't depend on .h files here. ! 4585: ! 4586: * varasm.c (handle_pragma_weak): Test HANDLE_PRAGMA_WEAK ! 4587: and WEAK_ASM_OP and SET_ASM_OP. ! 4588: ! 4589: * Makefile.in (stmt.o): Fix typo. ! 4590: ! 4591: * emit-rtl.c (gen_label_rtx): If output_bytecode, make a CODE_LABEL ! 4592: but with different contents. ! 4593: ! 4594: * rtl.h (BYTECODE_LABEL, BYTECODE_OFFSET, BYTECODE_BC_LABEL): ! 4595: (BYTECODE_UID): New macros. ! 4596: (struct rtx_def): Delete elements label, offset, bc_label, uid. ! 4597: ! 4598: * Makefile.in (bc-arity.h, bc-opcode.h, bc-opname.h): Use `./'. ! 4599: (bi-arity, bi-opcode, bi-opname, bi-lexer): Use host compiler. ! 4600: Link with HOST_LIBS and depend on HOST_LIBDEPS. ! 4601: (bi-unparse): Deleted. ! 4602: (bytecode.distclean): Don't do anything with bi-unparse ! 4603: (bi-arity.o, bi-opcode.o, bi-opname.o, bi-parser.o, bi-reverse.o) ! 4604: (bi-lexer.o): Use host compiler. ! 4605: ! 4606: * expr.c (expand_increment): Don't store directly ito a subreg ! 4607: that is narrower than a word. ! 4608: ! 4609: Wed Sep 22 22:18:35 1993 Chip Salzenberg ([email protected]) ! 4610: ! 4611: * combine.c (init_reg_last_arrays): New function. ! 4612: (combine_instructions): Use it. ! 4613: (force_to_mode): Narrow mask to fit mode (except VOIDmode). ! 4614: (record_value_for_reg): When zeroing reg_last_set_value, also ! 4615: zero reg_last_set_{mode,nonzero_bits,sign_bit_copies}. ! 4616: (record_dead_and_set_regs): Likewise. ! 4617: ! 4618: Wed Sep 22 22:13:07 1993 James Van Artsdalen ([email protected]) ! 4619: ! 4620: * bc-emit.c (bc_initialize): Add MODE arg to REAL_VALUE_ATOF calls. ! 4621: ! 4622: * Makefile.in (bi-lexer.c): File is in $(srcdir). ! 4623: ! 4624: * reg-stack.c (record_label_references): Don't follow a null label ! 4625: reference chain. ! 4626: ! 4627: Wed Sep 22 15:56:27 1993 Richard Stallman ([email protected]) ! 4628: ! 4629: * Makefile.in (bi-arity, bi-opcode, bi-opname, bi-unparse, bi-lexer): ! 4630: Make the rules explicit. Don't use $^. ! 4631: (bi-run.o, bi-parser.o, bi-lexer.o): Eliminate $<. ! 4632: (bc-arity.h, bc-opcode.h, bc-opname.h): Eliminate $< and $@. ! 4633: ! 4634: * c-typeck.c (set_init_index): Handle and allow CONST_DECL. ! 4635: (build_c_cast): When making a CONSTRUCTOR for a union cast, ! 4636: specify its type. ! 4637: ! 4638: * Makefile.in (bi-lexer.o, bi-parser.o): Use ALL_CFLAGS. ! 4639: ! 4640: * bi-arity.c (main): Make sure there's some value within ! 4641: each pair of braces. ! 4642: ! 4643: * expr.c (bc_adjust_stack): Use VALIDATE_STACK_FOR_BC, ! 4644: not VALIDATE_STACK. ! 4645: * bc-emit.c (bc_emit_bytecode): Likewise. ! 4646: (bc_emit_instruction) [! __GNUC__]: Don't really use bc-typecd.def. ! 4647: ! 4648: * varasm.c (bc_assemble_integer): Make definition static. ! 4649: ! 4650: * expr.c (bc_strdup): Don't use strcpy's value. ! 4651: ! 4652: * bytetypes.h: New file. Typedefs moved from bytecode.h. ! 4653: (union stacktype): Moved here. ! 4654: * bytecode.h: Typedefs deleted. ! 4655: * bi-run.h: (union stacktype): Deleted. ! 4656: (BI_PARAMS): Don't continue the parmlist. ! 4657: * bc-emit.c: Include bytetypes.h, if __GNUC__. ! 4658: ! 4659: Wed Sep 22 15:49:47 1993 Ted Lemon ([email protected]) ! 4660: ! 4661: * c-decl.c (flag_allow_single_precision): New variable. ! 4662: (c_decode_option): Handle -fallow-single-precision. ! 4663: * c-tree.h (flag_allow_single_precision): Declared. ! 4664: * c-typeck.c (default_conversion): Implement -fallow-single-precision. ! 4665: ! 4666: Wed Sep 22 11:18:24 1993 Mike Stump ([email protected]) ! 4667: ! 4668: * cp-class.c (finish_struct): Move special C++ only code that ! 4669: handles anonymous unions inside structures here. ! 4670: * stor-layout.c (layout_record): From here. ! 4671: ! 4672: Wed Sep 22 14:14:55 1993 Richard Stallman ([email protected]) ! 4673: ! 4674: * enquire.c (FPROP): Recognize 80387 or 68881 XFmode format. ! 4675: ! 4676: * c-typeck.c (build_component_ref): For a field in an anonymous union, ! 4677: make two nested COMPONENT_REFs. ! 4678: (lookup_field): Additional arg INDIRECT. ! 4679: ! 4680: Wed Sep 22 14:45:42 1993 Kresten Krab Thorup ([email protected]) ! 4681: ! 4682: * tm.texi (CLEAR_INSN_CACHE): New macro. ! 4683: * libgcc2.c (__clear_cache): add case for new CLEAR_INSN_CACHE. ! 4684: ! 4685: * libgcc2.c (__enable_execute_stack): Add case for NeXT/__MACH__. ! 4686: * config/m68k/next.h (INITIALIZE_TRAMPOLINE): Append call to ! 4687: __enable_execute_stack. ! 4688: (CLEAR_INSN_CACHE): New macro. ! 4689: ! 4690: * varasm.c (output_constructor): Use the type given ! 4691: by the constructor expression only if available. Otherwise ! 4692: use the type of the declared type. ! 4693: ! 4694: Tue Sep 21 19:51:26 1993 Andrew McCallum ([email protected]) ! 4695: ! 4696: * objc/Object.[hm] (-compare:, -shouldNotImplement:): Added. ! 4697: ! 4698: * objc/archive.c (objc_write_type, objc_write_types): Take ! 4699: take char** args for writing strings in stead of char* to ! 4700: match NeXT. Also correct some typos in error messages. ! 4701: ! 4702: Tue Sep 21 18:35:04 1993 Per Bothner ([email protected]) ! 4703: ! 4704: * c-typeck.c (push_member_name): Take a decl instead of a string. ! 4705: Allow DECL_NAME to be NULL (anonymous fields). ! 4706: * c-typeck.c (push_init_level, process_init_element): Change ! 4707: callers appropriately. ! 4708: ! 4709: Tue Sep 21 16:44:17 1993 Richard Stallman ([email protected]) ! 4710: ! 4711: * libgcc2.c (L_bb): Test inhibit_libc. ! 4712: ! 4713: * Makefile.in (ENQUIRE, CROSS_TEST): New variables. ! 4714: (all.cross): Use them. ! 4715: ! 4716: * mips-tfile.c, mips-tdump.c [CROSS_COMPILE]: Include mips/a.out.h. ! 4717: ! 4718: * arm.h, clipper.h, i386.h, i860.h, pyr.h, spur.h: ! 4719: (INIT_CUMULATIVE_ARGS): Pass just the return value type ! 4720: to aggregate_value_p. ! 4721: ! 4722: Tue Sep 21 10:50:19 1993 Jan Brittenson ([email protected]) ! 4723: ! 4724: * emit-rtl.c (gen_label_rtx, emit_line_note): add conditional for ! 4725: bytecode. ! 4726: ! 4727: * expr.c (mode_to_const_map, mode_to_load_map, mode_to_store_map): ! 4728: new variable. ! 4729: (bc_init_mode_to_opcode_maps): new function; initialize maps. ! 4730: (expand_assignment, expand_expr, expand_increment): add ! 4731: conditional for bytecode. ! 4732: (bc_expand_expr, bc_load_memory, bc_store_memory, ! 4733: bc_allocate_local, bc_allocate_variable_array, bc_load_externaddr, ! 4734: bc_strdup, bc_load_externaddr_id, bc_load_localaddr, ! 4735: bc_load_parmaddr, bc_canonicalize_array_ref, ! 4736: bc_expand_component_address, bc_push_offset_and_size, ! 4737: bc_expand_address, bc_runtime_type_code, bc_gen_constr_label, ! 4738: bc_expand_constructor, bc_store_field, bc_store_bit_field, ! 4739: bc_load_bit_field, bc_adjust_stack): new function. ! 4740: ! 4741: * function.c (put_var_into_stack, expand_main_function): do ! 4742: nothing for bytecode. ! 4743: (bc_build_calldesc): new function. ! 4744: (init_function_start): use it if outputting bytecode. ! 4745: (expand_function_start, expand_function_end): add conditional for ! 4746: bytecode. ! 4747: (bc_expand_function_start, bc_expand_function_end): new function. ! 4748: ! 4749: * integrate.c (output_inline_function): signal error for bytecode. ! 4750: ! 4751: * regclass.c (fix_register): signal error for bytecode. ! 4752: ! 4753: * stmt.c (struct nesting): new members bc_stack_level, skip_label). ! 4754: (struct goto_fixup): new members bc_target, label, bc_handled, ! 4755: bc_stack_level. ! 4756: (emit_nop, expand_computed_goto, expand_label, expand_goto, ! 4757: expand_goto_internal, fixup_gotos, expand_asm, ! 4758: expand_asm_operands, expand_expr_stmt, expand_start_expr_stmt, ! 4759: expand_end_expr_stmt, expand_start_cond, expand_start_else, ! 4760: expand_end_cond, expand_start_loop, expand_loop_continue_here, ! 4761: expand_end_loop, expand_exit_loop_if_false, expand_null_return, ! 4762: expand_return, expand_start_bindings, expand_end_bindings, ! 4763: expand_decl, expand_start_case, pushcase, ! 4764: check_for_full_enumeration, expand_end_case): add conditional for ! 4765: bytecode. ! 4766: (bc_expand_goto_internal, bc_expand_fixup, bc_fixup_gotos, ! 4767: bc_expand_start_cond, bc_expand_end_cond, bc_expand_start_else, ! 4768: bc_expand_end_bindings, bc_expand_decl, ! 4769: bc_expand_variable_local_init, bc_expand_decl_init, ! 4770: bc_expand_start_case, bc_pushcase, ! 4771: bc_check_for_full_enumeration_handling, bc_expand_end_case, ! 4772: bc_new_uid): new function. ! 4773: ! 4774: * toplev.c (output_bytecode): new variable. ! 4775: (f_options): add entry for -fbytecode. ! 4776: (fatal_insn_not_found, compile_file, rest_of_decl_compilation, ! 4777: rest_of_compilation, main): add conditional for bytecode. ! 4778: ! 4779: * config/m68k/m68k.c config/m68k/m68k.h: add bytecode specific ! 4780: definitions. ! 4781: ! 4782: * varasm.c (text_section, data_section, make_function_rtl, ! 4783: make_decl_rtl, assemble_asm, assemble_start_function, ! 4784: assemble_zeros, assemble_string, assemble_variable, ! 4785: assemble_external, assemble_external_libcall, assemble_label, ! 4786: assemble_name, assemble_static_space, ! 4787: assemble_trampoline_template, assemble_integer, assemble_real, ! 4788: decode_addr_const, output_constant_def, output_constant_pool, ! 4789: output_constant, output_constructor): add conditional for ! 4790: bytecode. ! 4791: (bc_output_constructor, output_byte_asm, bc_make_rtl, ! 4792: bc_output_data_constructor, bc_assemble_integer): ! 4793: new function. ! 4794: (handle_pragma_weak): break out asm writing code from ! 4795: handle_pragma_token, move to varasm.c, so bytecode-specific ! 4796: macros can access static varasm data and functions. ! 4797: ! 4798: * c-pragma.c (handle_pragma_token): use handle_pragma_weak. ! 4799: ! 4800: * function.h (enum pragma_state): moved from c-pragma.c ! 4801: ! 4802: * bc-config.h, bc-emit.c, bc-optab.c, bc-optab.h, bc-trans.h, ! 4803: bc-typecd.def, modemap.def, bytecode.def, bc-emit.h, bc-typecd.h, ! 4804: bi-arity.c, bi-defs.h, bi-lexer.c, bi-opcode.c, bi-opname.c, ! 4805: bi-parser.c, bi-parser.h, bi-reverse.c, bi-run.c, bi-run.h, ! 4806: bi-unparse.c: new file. bc-* are exclusively compiler files, bi-* ! 4807: are interpreter files. ! 4808: ! 4809: * Makefile.in: add rules and/or dependencies for bc-emit.o, ! 4810: bc-optab.o, bytecode, bi-arity, bi-opcode, bi-opname, bi-lexer, ! 4811: bi-run.o, bi-parser.c, bi-parser.o, bi-lexer.o bi-arity.o, ! 4812: bi-opcode.o, bi-opname.o, bi-reverse.o, bc-arity.h, bc-opcode.h, ! 4813: bc-opname.h, bytecode.mostlyclean, bytecode.distclean, ! 4814: bytecode.realclean ! 4815: ! 4816: ! 4817: Tue Sep 21 10:20:55 1993 Richard Kenner ([email protected]) ! 4818: ! 4819: * jump.c (jump_optimize): Try putting RETURN at end of function ! 4820: both at start and at end of our optimization. ! 4821: ! 4822: Mon Sep 20 17:22:13 1993 Richard Stallman ([email protected]) ! 4823: ! 4824: * expr.c (expand_expr): Handle flag_volatile here. ! 4825: * c-typeck.c (build_indirect_ref): TREE_THIS_VOLATILE no longer ! 4826: depends on flag_volatile. ! 4827: ! 4828: Mon Sep 20 15:21:31 1993 Doug Evans ([email protected]) ! 4829: ! 4830: * gstddef.h: Back out change of Sep 15 (handles Sun lossage). ! 4831: Prevented bootstrapping. ! 4832: ! 4833: Mon Sep 20 12:21:56 1993 Kresten Krab Thorup ([email protected]) ! 4834: ! 4835: * objc/archive.c (objc_read_string): Allocate n+1 chars instead of ! 4836: just n. ! 4837: ! 4838: Sun Sep 19 13:06:37 1993 Richard Stallman ([email protected]) ! 4839: ! 4840: * function.c (combine_temp_slots): Handle deletion properly. ! 4841: Free the RTL that is allocated. ! 4842: * rtl.c (rtx_free): New function. ! 4843: ! 4844: * config/m68k/m68k.c (output_move_double): Handle register overlap ! 4845: case that occur in soft-float XFmode. Code basically copied from ! 4846: i386.c. ! 4847: ! 4848: Sun Sep 19 14:40:08 JDT 1993 Michael Ben-Gershon ([email protected]) ! 4849: ! 4850: * cse.c (simplify_unary_operation): If REAL_ARITHMETIC is defined, ! 4851: and a FIX operation is applied to convert a CONST_DOUBLE to an INT, ! 4852: the CONST_DOUBLE must first be rounded to zero. ! 4853: ! 4854: Sun Sep 19 12:49:05 1993 James Van Artsdalen ([email protected]) ! 4855: ! 4856: * Makefile.in (objc-headers): Depend on stmp-fixinc to build the ! 4857: include/ subdirectory first. ! 4858: ! 4859: Sun Sep 19 09:45:16 1993 Richard Earnshaw ([email protected]) ! 4860: ! 4861: * gstddef.h (size_t): Acorn RISCiX requires __size_t defined. ! 4862: ! 4863: Sun Sep 19 09:08:09 1993 Richard Kenner ([email protected]) ! 4864: ! 4865: * genrecog.c (preds): Correct typo in name of `comparison_operator'. ! 4866: (add_to_sequence): If PREDICATE_CODES specified, warn if we find a ! 4867: predicate not in that list. ! 4868: ! 4869: * reload.c (find_reloads): Reject an alternative if two operands ! 4870: match the same output and we have to do a reload. ! 4871: ! 4872: * rs6000.c (rs6000_override_options): Change processor type to ! 4873: "rios1"; allow "rios" as synonym. ! 4874: Add synonyms for "mpc6xx". ! 4875: * rs6000.h (enum processor_type): Change from RIOS to RIOS1. ! 4876: (PROCESSOR_DEFAULT): Likewise. ! 4877: * rs6000.md (attribute "cpu"): Change from "rios" to "rios1"; all ! 4878: uses changed. ! 4879: ! 4880: * xm-alpha.h: Add extern declaration for alloca. ! 4881: ! 4882: * a29k.h (PREDICATE_CODES): Fix typos and add missing entries. ! 4883: * alpha.h, i860.h i960.h, m88k.h, mips.h, rs6000.h: Likewise. ! 4884: ! 4885: Sat Sep 18 09:27:03 1993 Richard Stallman ([email protected]) ! 4886: ! 4887: * expr.c (convert_move): Use emit_library_call_value. ! 4888: ! 4889: Sat Sep 18 08:01:44 1993 Richard Kenner ([email protected]) ! 4890: ! 4891: * alpha.h (REG_ALLOC_ORDER): Add missing entries. ! 4892: ! 4893: * combine.c (recog_for_combine): Fix typos in previous change. ! 4894: ! 4895: * reload.c (earlyclobber_operand_p): New function. ! 4896: (combine_reloads): Use it. ! 4897: (find_reloads): Set reload_earlyclobbers earlier. ! 4898: (refers_to_regno_for_reload_p): Count something being stored into ! 4899: if it is an earlyclobber operand. ! 4900: ! 4901: Fri Sep 17 21:40:02 1993 Per Bothner ([email protected]) ! 4902: ! 4903: * fold-const.c (invert_truthvalue): Instead of aborting, ! 4904: build a TRUTH_NOT_EXPR when unable to optimize. ! 4905: (The aborts were not a problem for C, which always first ! 4906: calls truthvalue_conversion, but that should not be ! 4907: necessary for a language with real Booleans.) ! 4908: ! 4909: Fri Sep 17 20:38:53 1993 Richard Stallman ([email protected]) ! 4910: ! 4911: * c-typeck.c (output_init_element): Update constructor_bit_index ! 4912: for union types. ! 4913: ! 4914: * libgcc2.c: Declare __fixunsxfdi only if really have XFmode. ! 4915: Likewise for __fixunstfdi. ! 4916: ! 4917: Fri Sep 17 18:08:37 1993 Richard Kenner ([email protected]) ! 4918: ! 4919: * combine.c (recog_for_combine): Always reject a PARALLEL containing ! 4920: our special CLOBBER. ! 4921: ! 4922: * cse.c (fold_rtx, case MINUS): Copy result obtained from ! 4923: hash table. ! 4924: ! 4925: * cse.c (fold_rtx, case SUBREG): If paradoxical SUBREG of a ! 4926: constant, return the constant. ! 4927: ! 4928: * c-typeck.c (lookup_field): Use HOST_WIDE_INT instead of long or ! 4929: int when we want integer wide enough to hold a pointer difference. ! 4930: ! 4931: Fri Sep 17 16:03:22 1993 Per Bothner ([email protected]) ! 4932: ! 4933: * dbxout.c (dbxout_type): For CHAR_TYPE and BOOLEAN_TYPE (in ! 4934: languages that have them - not C), adopt an AIX convention ! 4935: to distinguish these from other types. ! 4936: ! 4937: Fri Sep 17 09:02:06 1993 Richard Stallman ([email protected]) ! 4938: ! 4939: * expr.h (emit_library_call_value): Fix declaration. ! 4940: ! 4941: Thu Sep 16 12:05:44 1993 Ian Lance Taylor ([email protected]) ! 4942: ! 4943: * Makefile.in (fixinc.ready): New target, like libgcc2.ready, ! 4944: depending on xgcc and cpp. ! 4945: (stmp-fixinc): Depend on fixinc.ready instead of xgcc and cpp. ! 4946: (clean): Remove fixinc.ready. ! 4947: ! 4948: Thu Sep 16 10:22:17 1993 Richard Stallman ([email protected]) ! 4949: ! 4950: * reload.c (find_reloads): For PLUS operand, call find_reloads_toplev. ! 4951: ! 4952: * optabs.c (expand_complex_abs): Fix typo in prev change. ! 4953: ! 4954: Thu Sep 16 02:06:11 1993 Jim Wilson ([email protected]) ! 4955: ! 4956: * flags.h (current_function_has_nonlocal_goto): Declare. ! 4957: * function.h (struct function): New field has_nonlocal_goto. ! 4958: * function.c (current_function_has_nonlocal_goto): New var. ! 4959: (push_function_context): Save it. ! 4960: (pop_function_context): Restore it. ! 4961: (init_function_start): Init it. ! 4962: * integrate.c (function_cannot_inline_p): Don't inline if it's set. ! 4963: * stmt.c (expand_goto): Set it. ! 4964: ! 4965: * reorg.c (mark_set_resources): For CALL_INSN, if followed by a ! 4966: NOTE_INSN_SETJMP note, then assume that all registers are clobbered. ! 4967: Handle case where CALL_INSN is in a sequence. ! 4968: ! 4969: Wed Sep 15 17:38:38 1993 Richard Stallman ([email protected]) ! 4970: ! 4971: * gstddef.h: Delete the conditional that used to semi-avoid ! 4972: interference with sys/stdtypes.h on Sun. (fixincludes makes ! 4973: it ok.) ! 4974: ! 4975: Wed Sep 15 16:17:09 1993 Jeffrey A. Law ([email protected]) ! 4976: ! 4977: * pa.h (ASM_FILE_START): Fix access information for $LIT$ ! 4978: subspace. ! 4979: ! 4980: Wed Sep 15 14:53:49 1993 Richard Stallman ([email protected]) ! 4981: ! 4982: * config/ns32k/ns32k.md: Add peepholes for stack adjust plus pushes. ! 4983: ! 4984: Wed Sep 15 13:38:24 1993 Doug Evans ([email protected]) ! 4985: ! 4986: * c-typeck.c (lookup_field): New function (for chill). ! 4987: (build_component_ref): Call it. ! 4988: ! 4989: Wed Sep 15 08:12:32 1993 Richard Stallman ([email protected]) ! 4990: ! 4991: * libgcc2.c: Declare __fixunsxfdi and __fixunstfdi. ! 4992: ! 4993: * integrate.c (copy_for_inline, copy_rtx_and_substitute): ! 4994: Always preserve the volatil flag when copying ASM_OPERANDS. ! 4995: ! 4996: Tue Sep 14 21:56:20 1993 Jim Wilson ([email protected]) ! 4997: ! 4998: * c-typeck.c (valid_compound_expr_initializer): New function. ! 4999: (digest_init): Handle compound expressions as initializers when ! 5000: pedantic. ! 5001: ! 5002: * varasm.c (immed_double_const, immed_real_const_1): Don't touch ! 5003: const_double_chain if not inside a function. ! 5004: ! 5005: Tue Sep 14 16:22:03 1993 Per Bothner ([email protected]) ! 5006: ! 5007: * c-typeck.c (digest_init): Compare types using comptypes ! 5008: instead of comparing pointers. (Helps Chill front end.) ! 5009: ! 5010: Tue Sep 14 12:16:52 1993 Richard Stallman ([email protected]) ! 5011: ! 5012: * calls.c (emit_library_call_value): Finish making it work. ! 5013: * optabs.c (expand_float): Use emit_library_call_value. ! 5014: (expand_unop, expand_binop): Likewise. ! 5015: (expand_complex_abs): Likewise. ! 5016: Also pass SUBMODE as output mode to emit_library_call_value. ! 5017: * function.c (aggregate_value_p): Allow type node as argument. ! 5018: ! 5019: * config/ns32k/ns32k.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): ! 5020: If omitting frame pointer, output an adjspd if necessary. ! 5021: Use movd to save registers if four or less need saving. ! 5022: Set DEPTH properly. ! 5023: ! 5024: * reload.c (find_dummy_reload): New args inmode, outmode. ! 5025: (find_reloads): Pass new args. ! 5026: (push_reload): Likewise. ! 5027: ! 5028: Mon Sep 13 12:52:03 1993 Richard Stallman ([email protected]) ! 5029: ! 5030: * c-typeck.c (set_init_index): Don't allow variable indices. ! 5031: ! 5032: * c-decl.c (complete_array_type): Handle TREE_PURPOSE ! 5033: of array constructor elements. ! 5034: ! 5035: * expr.c (store_constructor): Handle TREE_PURPOSE of array constructor. ! 5036: (expand_expr, ARRAY_REF case): Likewise. ! 5037: ! 5038: * varasm.c (output_constructor): Handle index value in ! 5039: the TREE_PURPOSE, for array constructors. ! 5040: ! 5041: * c-typeck.c (output_init_element): When putting an elt into a ! 5042: CONSTRUCTOR, always set the TREE_PURPOSE (even for arrays). ! 5043: Copy the node if it's an INTEGER_CST. ! 5044: (output_pending_init_elements): If have gap and not incremental, ! 5045: advance constructor_unfilled_fields or constructor_unfilled_index. ! 5046: ! 5047: Sun Sep 12 23:00:25 1993 Per Bothner ([email protected]) ! 5048: ! 5049: * expr.c (expand_expr, case ARRAY_REF): Coerce lower bound (if ! 5050: non-zero) to sizetype before subtraction. ! 5051: ! 5052: Sun Sep 12 16:18:18 1993 Richard Stallman ([email protected]) ! 5053: ! 5054: * c-typeck.c (push_init_level): Pop any implicit levels ! 5055: that have been filled up. ! 5056: Don't die if constructor_type is 0. ! 5057: (process_init_element): If VALUE is 0 for union type, ! 5058: update constructor_bit_index. ! 5059: ! 5060: Sun Sep 12 10:59:08 1993 Bill Cox ([email protected]) ! 5061: ! 5062: * c-typeck.c (digest_init): Remove obsolete comments on args ! 5063: TAIL, OF_WHAT. ! 5064: ! 5065: Sun Sep 12 08:45:36 1993 Richard Stallman ([email protected]) ! 5066: ! 5067: * loop.c (basic_induction_var): New arg MODE. ! 5068: Use it to call convert_modes. ! 5069: (strength_reduce): Supply the new arg to basic_induction_var. ! 5070: ! 5071: * expmed.c (expand_shift): Use convert_modes. ! 5072: (emit_store_flag): Likewise. ! 5073: ! 5074: Sat Sep 11 16:44:15 1993 Doug Evans ([email protected]) ! 5075: ! 5076: * collect2.c (main): Provide upward compatibility with old version ! 5077: of collect (avoids infinite mutual recursion between the two). ! 5078: ! 5079: Sat Sep 11 13:05:07 1993 Per Bothner ([email protected]) ! 5080: ! 5081: * c-typeck.c (constructor_no_implicit): New variable. ! 5082: If set, dis-allows eliding of braces in initializers. ! 5083: (Set by Chill front-end.) ! 5084: * c-typeck.c (process_init_element): Use it. ! 5085: ! 5086: Sat Sep 11 15:55:25 1993 Richard Stallman ([email protected]) ! 5087: ! 5088: * stor-layout.c (layout_record): Turn off PCC_BITFIELD_TYPE_MATTERS ! 5089: rounding of field bitpos, if maximum_field_alignment is nonzero. ! 5090: ! 5091: Fri Sep 10 08:52:01 1993 Richard Stallman ([email protected]) ! 5092: ! 5093: * c-typeck.c (check_init_type_bitfields): Check for mismatch ! 5094: between field's mode and its type's mode. ! 5095: ! 5096: * expr.c (protect_from_queue): Don't alter an existing MEM. ! 5097: (convert_modes): Use X's mode (not OLDMODE) unless it is VOIDmode. ! 5098: ! 5099: Fri Sep 10 01:01:32 1993 Roland McGrath ([email protected]) ! 5100: ! 5101: * config.sub: Recognize operating system `netbsd*'. ! 5102: ! 5103: Thu Sep 9 18:09:14 1993 Per Bothner ([email protected]) ! 5104: ! 5105: * c-typeck.c (really_start_incremental_init, push_init_level): ! 5106: Add support for arrays with non-zero lower bounds. (Used by Chill.) ! 5107: ! 5108: Thu Sep 9 19:20:59 1993 Jim Wilson ([email protected]) ! 5109: ! 5110: * tree.c (make_node): Put PARM_DECLs of nested functions onto ! 5111: parent's saveable obstack. ! 5112: ! 5113: Thu Sep 9 14:17:00 1993 Ian Lance Taylor ([email protected]) ! 5114: ! 5115: * Makefile.in (CROSS_LIBGCC1): New variable. Rule to use when ! 5116: building libgcc1.a for a cross compiler. Defaults to ! 5117: libgcc1.cross. ! 5118: * cross-make (LIBGCC1): Default to $(CROSS_LIBGCC1) rather than ! 5119: libgcc1.cross. ! 5120: * config/i386/t-next, config/i386/t-sol2, config/m88k/t-dgux, ! 5121: config/m88k/t-luna, config/m88k/t-dgux-gas, ! 5122: config/m88k/t-luna-gas, config/m88k/t-m88k, ! 5123: config/m88k/t-m88k-gas, config/m88k/t-sysv4, ! 5124: config/m68k/t-next, config/mips/t-bsd, config/mips/t-bsd-gas, ! 5125: config/mips/t-mips, config/mips/t-mips-gas, ! 5126: config/mips/t-osfrose, config/mips/t-svr3, ! 5127: config/mips/t-svr3-gas, config/mips/t-svr4, ! 5128: config/mips/t-svr4-gas, config/mips/t-ultrix, config/pa/t-pa, ! 5129: config/sparc/t-sol2, config/h8300/t-h8300, config/sh/t-sh, ! 5130: config/t-libc-ok (CROSS_LIBGCC1): Defined to be libgcc1.null. ! 5131: ! 5132: Thu Sep 9 09:48:54 1993 Richard Stallman ([email protected]) ! 5133: ! 5134: * expr.c (expand_expr): Set ignore for COND_EXPR with VOID_TYPE. ! 5135: ! 5136: * expr.c (convert_modes): New function. ! 5137: (convert_to_mode): Use that. ! 5138: * expr.h (convert_modes): Declared. ! 5139: * optabs.c (expand_twoval_binop): Use convert_modes. ! 5140: (expand_complex_abs): Likewise. ! 5141: (emit_cmp_insn): Likewise. ! 5142: (expand_inline_function): Likewise. ! 5143: * expmed.c (expand_divmod): Likewise. ! 5144: (emit_store_flag): Likewise. ! 5145: * loop.c (basic_induction_var): Likewise. ! 5146: * integrate.c (expand_inline_function): Likewise. ! 5147: ! 5148: * optabs.c (widen_operand): New arg OLDMODE. ! 5149: (expand_binop, expand_unop): Fix calls to widen_operand. ! 5150: ! 5151: Wed Sep 8 18:25:50 1993 Doug Evans ([email protected]) ! 5152: ! 5153: * sparc.c, sparc.h, sparc.md: Cosmetic changes only. Just ! 5154: reordered code a little. ! 5155: ! 5156: Wed Sep 8 14:49:59 1993 Jim Wilson ([email protected]) ! 5157: ! 5158: * dbxout.c (dbxout_parms): For parameters in registers, if use ! 5159: DECL_RTL, then must use TREE_TYPE instead of DECL_ARG_TYPE. ! 5160: ! 5161: * mips.md (fix_truncdfsi2, fixtruncsfsi2): Mark SImode scratch ! 5162: register as early clobbered when dest is in memory. ! 5163: ! 5164: * fixincludes (sbusdev/audiovar.h): Fix wrongly edited // comments ! 5165: nested within /* */ comments. ! 5166: ! 5167: * gcc.c (process_command): Don't warn for -x after last input file ! 5168: if spec_lang is zero. ! 5169: ! 5170: * fixinc.mips (bsd43/bsd43.h): Change /**/ to ##. ! 5171: ! 5172: * expr.c (convert_move): When truncating, call force_reg first if ! 5173: it is something that gen_lowpart won't understand. ! 5174: ! 5175: * sys-protos.h (getrlimit, getrusage, setrlimit): Return int not void. ! 5176: ! 5177: Wed Sep 8 11:28:41 1993 John Hassey ([email protected]) ! 5178: ! 5179: * m88k.c (output_call): Avoid use of jsr.n r1, this loses on ! 5180: the 88110. ! 5181: ! 5182: Wed Sep 8 10:51:07 1993 David Edelsohn ([email protected]) ! 5183: ! 5184: * rs6000.h: (MASK_*, TARGET_*): Add target masks and tests. ! 5185: (TARGET_SWITCHES): Add target switches for various architectures ! 5186: and mnemonics options. ! 5187: (TARGET_OPTIONS): Add cpu type as special target option. ! 5188: (OVERRIDE_OPTIONS): Call rs6000_override_options to decipher. ! 5189: ! 5190: * rs6000.c (rs6000_cpu, rs6000_cpu_string): New variables. ! 5191: (rs6000_override_options): New function. ! 5192: ! 5193: * rs6000.md (define_attr): Expand list of instruction attributes. ! 5194: (define_function_unit): Compute delay information based ! 5195: upon processor type and expand functional unit types. ! 5196: (mulsi3, divsi3, divmodsi4, divsf3, divdf3, muldf3, movsf): ! 5197: Use expanded attributes. ! 5198: (load with update): Likewise. ! 5199: ! 5200: Wed Sep 8 06:34:32 1993 Richard Stallman ([email protected]) ! 5201: ! 5202: * c-typeck.c (output_init_element): When adding to ! 5203: constructor_pending_elts, copy field. ! 5204: ! 5205: Wed Sep 8 06:15:58 1993 David Gershovich ([email protected]) ! 5206: ! 5207: * expmed.c (make_tree, case CONST_INT): Properly set high part if ! 5208: unsigned. ! 5209: ! 5210: * optabs.c (expand_binop): Must always widen second operand ! 5211: of shift. ! 5212: ! 5213: Wed Sep 8 05:16:59 1993 Richard Stallman ([email protected]) ! 5214: ! 5215: * c-typeck.c (push_init_level): Diagnose extra brace group at end ! 5216: of record. Set constructor_type to 0. ! 5217: (pop_init_level): Don't output anything if constructor_type is 0. ! 5218: (process_init_element): Do nothing if constructor_type is 0. ! 5219: ! 5220: Tue Sep 7 19:11:20 1993 Richard Kenner ([email protected]) ! 5221: ! 5222: * c-common.c (c_build_type_variant): Allocate new type in same ! 5223: obstack as old one. ! 5224: ! 5225: Tue Sep 7 17:45:50 1993 Richard Stallman ([email protected]) ! 5226: ! 5227: * c-typeck.c (digest_init): Fix error message text. ! 5228: ! 5229: Tue Sep 7 14:32:51 1993 Leonid Baraz ([email protected]) ! 5230: ! 5231: * sched.c (schedule_block): Correct type of BIT. ! 5232: ! 5233: * fold-const.c (fold): Don't try to process an RTL_EXPR. ! 5234: ! 5235: Tue Sep 7 06:18:50 1993 Richard Stallman ([email protected]) ! 5236: ! 5237: * dbxout.c (dbxout_type): Handle enum constants bigger than one word. ! 5238: Don't print big unsigned values as negative. ! 5239: * c-decl.c (build_enumerator): Choose type properly for wide constants. ! 5240: (finish_enum): Always set type of the enumerators to the enum type. ! 5241: * c-typeck.c (default_conversion): For enum that's unsigned, ! 5242: if it's at least as wide as int, convert to an unsigned type. ! 5243: ! 5244: * config/i386/sol2.h (LIB_SPEC, LINK_SPEC, SWITCH_TAKES_ARG): ! 5245: Definitions copied from sparc/sol2.h. ! 5246: (CPP_SPEC): Copied from sparc/sol2.h, but deleted -msparclite. ! 5247: ! 5248: Mon Sep 6 14:43:20 1993 Richard Earnshaw ([email protected]) ! 5249: ! 5250: * genextract.c (insn_name_ptr): Define for debugging. ! 5251: (walk_rtx, case MATCH_OP_DUP): Expand recog_dup_loc using XEXP not ! 5252: XVECEXP. ! 5253: ! 5254: Mon Sep 6 13:28:03 1993 Richard Kenner ([email protected]) ! 5255: ! 5256: * rtlanal.c (modified_between_p): Handle vectors. ! 5257: (modified_in_p): New function. ! 5258: (refers_to_regno_p): If setting AP, FP, or SP, we clobber the ! 5259: virtual registers. ! 5260: * optabs.c (emit_libcall_block): Don't move insns that reference ! 5261: things set in previous insns. ! 5262: ! 5263: Mon Sep 6 08:35:34 1993 Richard Stallman ([email protected]) ! 5264: ! 5265: * config/mips/mips.h: Don't declare abort. ! 5266: ! 5267: Mon Sep 6 01:03:58 1993 Jim Wilson ([email protected]) ! 5268: ! 5269: * protoize (abort): Correct volatile function declaration. ! 5270: ! 5271: Sun Sep 5 18:23:09 1993 Doug Evans ([email protected]) ! 5272: ! 5273: * Makefile.in (USER_H): Add va-h8300.h. ! 5274: ! 5275: * collect2.c (our_file_name, last_file_name): deleted. ! 5276: (our_file_names): New variable. ! 5277: (is_in_prefix_list): New function. ! 5278: (find_a_file): Call is_in_prefix_list. ! 5279: (main): Make COLLECT_NAMES a list of our invocations. ! 5280: If we've invoked ourselves, try again with ld_file_name. ! 5281: ! 5282: Sun Sep 5 16:00:47 1993 Richard Stallman ([email protected]) ! 5283: ! 5284: * function.c (assign_parms): When parm needs conversion on entry, ! 5285: don't store it back in the slot where it was passed. ! 5286: ! 5287: Sun Sep 5 14:51:14 1993 Jim Wilson ([email protected]) ! 5288: ! 5289: * c-decl.c (grokdeclarator): For PARM_DECLs, only call ! 5290: c_build_type_variant is constp or volatilep is true. ! 5291: ! 5292: Sun Sep 5 06:44:09 1993 David Edelsohn ([email protected]) ! 5293: ! 5294: * rs6000.c: (print_operand): Convert fprintf of single letters ! 5295: to putc and convert fprintf of constant strings to fputs. ! 5296: Output '%u' operand as hexadecimal. ! 5297: ! 5298: Sat Sep 4 11:16:18 1993 Craig Burley ([email protected]) ! 5299: ! 5300: * c-common.c (truthvalue_conversion): A complex value is nonzero ! 5301: if either part is nonzero, not if both parts are nonzero. ! 5302: ! 5303: Fri Sep 3 19:02:41 1993 Paul Eggert ([email protected]) ! 5304: ! 5305: * c-decl.c (build_enumerator): Apply default conversion to ! 5306: constant-expression. ! 5307: ! 5308: Fri Sep 3 18:03:47 1993 Chris Lang ([email protected]) ! 5309: ! 5310: * cccp.c (skip_if_group): Check for traditional mode when ! 5311: skipping ahead to next #, ignore unless at beginning of line. ! 5312: ! 5313: Fri Sep 3 18:00:15 1993 Michael Meissner ([email protected]) ! 5314: ! 5315: * i386/osfrose.h, i386/osfelf.h (LINK_SPEC): Pass -v and -dn on to ! 5316: the ELF linker, which now accepts these switches. ! 5317: ! 5318: Fri Sep 3 13:34:22 1993 Doug Evans ([email protected]) ! 5319: ! 5320: * i386/x-linux: Add -Iinclude to BOOT_CFLAGS. ! 5321: ! 5322: Fri Sep 3 01:54:19 1993 Jeffrey A. Law ([email protected]) ! 5323: ! 5324: * pa.h (READONLY_DATA_ASM_OP): Define. ! 5325: (READONLY_DATA_SECTION): Define. ! 5326: (EXTRA_SECTIONS): Add in_readonly_data. ! 5327: (EXTRA_SECTION_FUNCTIONS): Add readonly_data. ! 5328: ! 5329: Thu Sep 2 19:19:14 1993 Holger Teutsch ([email protected]) ! 5330: ! 5331: * clipper.h : Improve generated code for C400 Clipper. ! 5332: (TARGET_SWITCHES): New options `c300' `c400'. ! 5333: (TARGET_C300, TARGET_C400): New defines. ! 5334: (TARGET_DEFAULT): Define as TARGET_C300. ! 5335: (CONDITIONAL_REGISTER_USAGE): New define. ! 5336: ! 5337: Thu Sep 2 17:47:57 1993 Doug Evans ([email protected]) ! 5338: ! 5339: * glimits.h (__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros. ! 5340: (INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them. ! 5341: (UINT_MAX, ULONG_MAX, ULONG_LONG_MAX): Ditto. ! 5342: ! 5343: Thu Sep 2 14:26:28 1993 Michael Meissner ([email protected]) ! 5344: ! 5345: * i386/osfrose.h (YES_UNDERSCORES): Delete macro, since we have ! 5346: redefined all of the macros that are based on using it. ! 5347: (CPP_SPEC, CC1_SPEC): Remove #ifndef NO_UNDERSCORE version. ! 5348: OSF/ELF will now omit the leading underscore by default. ! 5349: (LINK_SPEC): Pass -dy through to ELF linker. Do not pass -v to ! 5350: ELF linker. ! 5351: ! 5352: * i386/osfelf.h (CPP_SPEC, CC1_SPEC): Remove #ifndef NO_UNDERSCORE ! 5353: version. OSF/ELF will now omit the leading underscore by default. ! 5354: (LINK_SPEC): Pass -dy through to ELF linker. Do not pass -v to ! 5355: ELF linker. ! 5356: ! 5357: ! 5358: * final.c (tree.h): Include tree.h to get the declaration for ! 5359: decl_printable_name. ! 5360: (last_filename): Global to hold last filename encountered in a ! 5361: NOTE. ! 5362: (add_bb): New function to do common code for emitting a basic ! 5363: block profiling increment. Remember the current function, and if ! 5364: debugging, line number and filename for each basic block. ! 5365: (add_bb_string): New function to remember strings for profiling ! 5366: basic blocks. ! 5367: (end_final): Bump name array size to 20. Use BSS to store profile ! 5368: block count array unless -fno-common. Eliminate redefining name ! 5369: within for loop block. Add a length field and three new parallel ! 5370: arrays for basic blocks to hold function name, and if debugging, ! 5371: line number and file name for basic block profiling. ! 5372: (final_start_function): Save a printable version of the current ! 5373: function name away if profiling basic blocks. ! 5374: (final_end_function): Forget the current printable version of the ! 5375: current function name if profiling basic blocks. ! 5376: (final): Move basic block profiling support to just call add_bb. ! 5377: (final_scan_insn): Ditto. ! 5378: (output_source_line): Save filename in last_filename. If the file ! 5379: name was changed and profiling basic blocks, remember the new file ! 5380: name for the next call to add_bb. ! 5381: ! 5382: * libgcc2.c (L_bb): If BLOCK_PROFILER_CODE is defined, expand it ! 5383: here directly. If BLOCK_PROFILER_CODE is not defined, add code ! 5384: that appends basic block profile information into a text file ! 5385: bb.out. Move sun3 specific block profiling code to m68k/sun3.h. ! 5386: ! 5387: * Makefile.in (final.o): Final.c now includes tree.h. ! 5388: ! 5389: * m68k/sun3.h (BLOCK_PROFILER_CODE): Move the sun3 specific basic ! 5390: block profiling code here from libgcc2.c. ! 5391: ! 5392: Wed Sep 1 19:00:06 1993 Jim Wilson ([email protected]) ! 5393: ! 5394: * rs6000.md (truncdfsf2): Round to single instead of doing nothing. ! 5395: ! 5396: * jump.c (jump_optimize): When optimize conditional jump around ! 5397: unconditional jump, handle case where prev_label can be zero. ! 5398: ! 5399: * c-decl.c (finish_decl): For static const variables, preserve ! 5400: initializers instead of discarding them. ! 5401: ! 5402: Wed Sep 1 18:43:01 1993 Richard Kenner ([email protected]) ! 5403: ! 5404: * reload.c (find_reloads): Bump REJECT for a hard register; just ! 5405: not for a pseudo. ! 5406: ! 5407: * rs6000.md: Clean up hex constants a bit in emitted insns. ! 5408: ! 5409: * rs6000.c (input_operand): Allow "easy" FP constants. ! 5410: * rs6000.h (SECONDARY_MEMORY_NEEDED): New macro. ! 5411: * rs6000.md (movdf): Simplify by taking advantage of ! 5412: having SECONDARY_MEMORY_NEEDED. ! 5413: Fix bugs relating to order in which moves are done. ! 5414: ! 5415: Wed Sep 1 18:08:36 1993 Jim Wilson ([email protected]) ! 5416: ! 5417: * reload.c (find_reloads_address_1): Handle SUBREGs same as REGs. ! 5418: ! 5419: Wed Sep 1 18:03:45 1993 Mike Stump ([email protected]) ! 5420: ! 5421: * collect2.c (is_ctor_dtor): Make sizeof argument match the ! 5422: string. ! 5423: ! 5424: Wed Sep 1 15:01:48 1993 Brendan Kehoe ([email protected]) ! 5425: ! 5426: * Makefile.in (start.encap): Build g++ here also. ! 5427: ! 5428: Tue Aug 31 16:30:53 1993 Jim Wilson ([email protected]) ! 5429: ! 5430: * combine.c (make_compound_operation): Handle the case ! 5431: (and (xor/ior (lshift...) (lshift...)) ...). ! 5432: (make_field_assignment): In get_pos_from_mask call, only invert ! 5433: bits in mode mask. ! 5434: ! 5435: * reload.c (push_reload): Abort is secondary_reload wants same ! 5436: class as an input reload. ! 5437: ! 5438: * Makefile.in (libgcc1.a, libgcc2.a): Don't use set -e. ! 5439: * configure (i[34]86-*-lynxos, m68k-*-lynxos, sparc-*-lynxos): Use ! 5440: xm-lynx.h, x-lynx. Don't run fixincludes. ! 5441: * x-lynx, xm-lynx.h: New files. ! 5442: ! 5443: * Makefile.in (xsys-protos.h): Use fixtmp.c not tmp.c, and delete ! 5444: it afterwards. ! 5445: ! 5446: * function.c (assign_stack_temp): When allocate a slot too large, ! 5447: split extra off into a slot of its own. ! 5448: (combine_temp_slots): New function. ! 5449: (free_temp_slots, pop_temp_slots): Call combine_temp_slots. ! 5450: ! 5451: Tue Aug 31 06:35:37 1993 David Edelsohn ([email protected]) ! 5452: ! 5453: * rs6000.md: (zero_extendqisi2, zero_extendqihi2): Change anonymous ! 5454: patterns to use 16-bit and 32-bit hexadecimal values and masks ! 5455: instead of bit ranges if constant. ! 5456: (rotlsi3, lshrsi3, move condition codes, scc insns): Likewise. ! 5457: ! 5458: Tue Aug 31 06:25:52 1993 Paul Eggert ([email protected]) ! 5459: ! 5460: * c-decl.c (struct c_function): Remove unneeded enum_next_value. ! 5461: (push_c_function_context, pop_c_function_context): Don't save it. ! 5462: ! 5463: Mon Aug 30 16:16:56 1993 Paul Eggert ([email protected]) ! 5464: ! 5465: * c-decl.c (get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, ! 5466: promote all integral types shorter than int, including short enums. ! 5467: * c-typeck.c (convert_arguments): Likewise. ! 5468: * cp-decl.c (grokparms): Likewise. ! 5469: * cp-except.c (finish_exception_decl): Likewise. ! 5470: * cp-typeck.c (convert_arguments): Likewise. ! 5471: ! 5472: Sun Aug 29 18:34:25 1993 Richard Kenner ([email protected]) ! 5473: ! 5474: * rs6000.h (TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC. ! 5475: (TARGET_SWITCHES): Rearrange to have three TOC choices. ! 5476: (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use TARGET_NO_FP_IN_TOC. ! 5477: * rs6000.c (output_toc): Likewise. ! 5478: ! 5479: Sat Aug 28 15:04:35 1993 Jim Wilson ([email protected]) ! 5480: ! 5481: * mips.h (SELECT_SECTION): Simplify sdata_section test. ! 5482: ! 5483: * lynx.h (CPP_SPEC): Use include_v not include-v. ! 5484: (LINK_SPEC): Add missing `-' before `k' option. ! 5485: (PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG. ! 5486: (SDB_DEBUGGING_INFO): Define. ! 5487: (MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-. ! 5488: (LINK_LIBGCC_SPECIAL_1): Define. ! 5489: (NAME__MAIN, SYMBOL__MAIN): Define. ! 5490: ! 5491: * sparc.h (EXTRA_CONSTRAINT): Delete 'S'. ! 5492: * sparc.md (call+1, call+2, call_value+1, untyped_call+1): Split ! 5493: into two patterns, one using address_operand and 'p', the other ! 5494: immediate_operand and 'i'. ! 5495: ! 5496: Fri Aug 27 15:43:19 1993 Richard Kenner ([email protected]) ! 5497: ! 5498: * combine.c (nonzero_bits): Fix reversed test for when we ! 5499: need to insert extra bits when sizes differ. ! 5500: (nonzero_bits, case EQ): Always return STORE_FLAG_VALUE when returning ! 5501: integer mode; remove now-redundant test. ! 5502: ! 5503: * rs6000.h (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g. ! 5504: ! 5505: Fri Aug 27 13:17:28 1993 Jim Wilson ([email protected]) ! 5506: ! 5507: * rs6000.c (print_operand_address): When TARGET_MINIMAL_TOC, use ! 5508: r30 instead of r2 for TOC references. ! 5509: (output_prologue): If TARGET_MINIMAL_TOC, and the constant pool ! 5510: is needed, then setup r30. ! 5511: (output_toc): When TARGET_MINIMAL_TOC, use .long instead of .tc. ! 5512: * rs6000.h (TARGET_MINIMAL_TOC): New macro. ! 5513: (TARGET_SWITCHES): Add -mminimal-toc and -mno-minimal-toc. ! 5514: (ELIMINABLE_REGS): Add elimination for r30. ! 5515: (CAN_ELIMINATE): Add case for r30. ! 5516: (INITIAL_ELIMINATION_OFFSET): Add case for r30. ! 5517: (toc_section): When TARET_MINIMAL_TOC, initialize toc_table. ! 5518: ! 5519: Thu Aug 26 17:59:38 1993 Doug Evans ([email protected]) ! 5520: ! 5521: * gstdarg.h, gvarargs.h: Add support for H8/300H. ! 5522: * va-h8300.h: New file. ! 5523: ! 5524: Thu Aug 26 15:15:27 1993 Brendan Kehoe ([email protected]) ! 5525: ! 5526: Cygnus<->FSF C++ front-end merge. ! 5527: Wed Aug 25 17:55:58 1993 Brendan Kehoe ([email protected]) ! 5528: ! 5529: * cp-class.c (alter_visibility): Properly grok protected visibility. ! 5530: ! 5531: Wed Aug 25 12:55:17 1993 Brendan Kehoe ([email protected]) ! 5532: ! 5533: * cp-typeck.c (c_sizeof): If we're given an OFFSET_TYPE, work with ! 5534: the type it refers to. ! 5535: ! 5536: * cp-decl.c (finish_function): Properly handle inline functions, ! 5537: don't just call rest_of_compilation. ! 5538: ! 5539: * cp-decl2.c (flag_inline_debug): Deleted, never used. ! 5540: (lang_f_options): Deleted -finline-debug. ! 5541: * toplev.c (lang_options): Likewise. ! 5542: ! 5543: Tue Aug 24 16:06:23 1993 Mike Stump ([email protected]) ! 5544: ! 5545: * cp-dem.c: Deleted. See demangler in the binutils distribution. ! 5546: ! 5547: Tue Aug 24 14:24:34 1993 Brendan Kehoe ([email protected]) ! 5548: ! 5549: * cp-decl.c (start_function): Don't get ready to complain about a ! 5550: built-in C-linkage function against a C++-linkage function. ! 5551: ! 5552: Tue Aug 24 13:54:43 1993 david d `zoo' zuhn ([email protected]) ! 5553: ! 5554: * g++.c: also include <sys/types.h> ! 5555: ! 5556: Tue Aug 24 05:39:57 1993 Michael Tiemann ([email protected]) ! 5557: ! 5558: * cp-parse.y (id_scope): Renamed from scoped_id. Also added handler ! 5559: for case when rule appears after `dont_see_typename' action. Now ! 5560: handles pointer-to-member syntax. ! 5561: ! 5562: Mon Aug 23 14:04:34 1993 Brendan Kehoe ([email protected]) ! 5563: ! 5564: * cp-parse.y (datadef): Disallow forward declaration of an enum. ! 5565: ! 5566: * cp-class.c (finish_struct): Set LAST_X to X, so we keep the chain ! 5567: in some semblance of sanity. Makes more than one nested typedef ! 5568: work properly. ! 5569: * cp-decl.c (grokdeclarator): Rewrite how class-local typedefs are ! 5570: handled to generate a TYPE_DECL that's useful. ! 5571: ! 5572: * cp-decl.c (start_function): Don't error out if it's a static ! 5573: function; don't return 0, which can cause other problems. ! 5574: ! 5575: Sun Aug 22 18:00:57 1993 Michael Tiemann ([email protected]) ! 5576: ! 5577: * cp-decl.c (duplicate_decls): Set DECL_OVERLOADED flag on "C" ! 5578: functions so that they are treated properly when "C++" functions of ! 5579: the same name are declared before they are. ! 5580: ! 5581: Sun Aug 22 13:31:44 1993 Brendan Kehoe ([email protected]) ! 5582: ! 5583: Fix how we handle binding levels, and tweak Niklas's new scoping ! 5584: code to work 100%. This work should significantly improve how ! 5585: g++ handles the use of nested classes. ! 5586: * cp-tree.h (NEW_CLASS_SCOPING): Default to 1 now! ! 5587: * cp-decl.c (pop_binding_level): Set current_binding_level to be ! 5588: class_binding_level if it's non-NULL. Change code that looks for ! 5589: our method of climbing back up the binding levels when we're ! 5590: dealing with a parm. ! 5591: (pushlevel_class): Call push_binding_level, not pushlevel. ! 5592: (poplevel_class): Don't weird out if level is 0. DO NOT set ! 5593: class_binding_level to the level_chain, this was the biggest bug ! 5594: that made the pushes and pops to end up being unbalanced. ! 5595: Call pop_binding_level instead of manually putting the level on ! 5596: the free_binding_level chain. ! 5597: (pop_from_top_level): Don't call poplevel if previous_class is ! 5598: non-NULL. ! 5599: (finish_function): Call expand_start_bindings and ! 5600: expand_end_bindings in a balanced way. ! 5601: (finish_function): Don't flail around screwing with the RTL for ! 5602: the function in a very special case, just always call ! 5603: rest_of_compilation as we normally would. ! 5604: (finish_method): Call poplevel, not pop_binding_level. ! 5605: * cp-class.c (pushclass): Don't call unuse_fields. ! 5606: * cp-tree.c (break_out_calls): Always call copy_node, not just ! 5607: when changed++ == 0. ! 5608: * cp-search.c (bridge_obstack): Deleted. ! 5609: (push_class_decls): Use search_obstack, not bridge_obstack. ! 5610: (init_search_processing): Don't init bridge_obstack anymore. ! 5611: ! 5612: * cp-init.c (build_new): Don't clear LOOKUP_COMPLAIN on flags, since ! 5613: we need to honor the visibility of what we find. ! 5614: ! 5615: Sat Aug 21 12:07:26 1993 Brendan Kehoe ([email protected]) ! 5616: ! 5617: * cp-decl.c (grokdeclarator): Give an error about an array of ! 5618: offset types and method types, in addition to reference types. ! 5619: Also make sure to set `type' to be error_mark_node for each. ! 5620: ! 5621: * cp-parse.y (primary, PLUSPLUS/MINUSMINUS): Resolve the OFFSET_REF ! 5622: here. ! 5623: * cp-typeck.c (build_x_unary_op): Not here. ! 5624: ! 5625: * cp-class.c (finish_struct): Set DECL_CLASS_CONTEXT only if it's ! 5626: a virtual function. ! 5627: * cp-decl.c (grokfndecl): Communicate the virtual bit to function ! 5628: decls that overload a virtual function from a base class. ! 5629: * cp-search.c (dfs_pushdecls): Look at DECL_CLASS_CONTEXT if it's ! 5630: a virtual function. ! 5631: ! 5632: Fri Aug 20 13:35:54 1993 Brendan Kehoe ([email protected]) ! 5633: ! 5634: Make the g++ driver work with MS-DOS. ! 5635: * g++.c (P_tmpdir, {R,W,X}_OK) [__MSDOS__]: Defined. ! 5636: (choose_temp_base_try, choose_temp_base, perror_exec, ! 5637: run_dos) [__MSDOS__]: New functions for the g++ program to operate ! 5638: correctly under MS-DOS. ! 5639: (temp_filename, temp_filename_length) [__MSDOS__]: New variables. ! 5640: (main): Fix off-by-one error in allocation of arglist. When ! 5641: running the main GCC program, handle running it under OS/2, MS-DOS, ! 5642: as well as on a system that has execvp(2). Only find the location ! 5643: of the GCC executable if we're not using DOS. ! 5644: ! 5645: * cp-decl.c (poplevel): Only call remember_end_note if we haven't ! 5646: already created the block. Set TREE_USED on the block. ! 5647: (duplicate_decls): If the type of either the old or new decl is an ! 5648: error_mark_node, we've already issued an error so set types_match ! 5649: to be 1 now. ! 5650: (xref_defn_tag): Mark the TYPE_DECL as ignored if doing dwarf ! 5651: debugging. ! 5652: ! 5653: * cp-parse.y (base_init, nodecls): Call keep_next_level to make ! 5654: sure the BLOCK node is kept with the outermost curly braces of a ! 5655: function. ! 5656: (compstmt): For `{ }', insert a .pushlevel and do all of the other ! 5657: stuff we need in every other compstmt situation, to generate proper ! 5658: debugging for such things and handle the binding levels properly for ! 5659: them. ! 5660: ! 5661: Thu Aug 19 18:24:25 1993 Mike Stump ([email protected]) ! 5662: ! 5663: * cp-init.c (build_vec_delete): Wrap void COND_EXPR in NOP_EXPR, so ! 5664: that the backend does not abort when trying to use the void mode ! 5665: expression. Fixes make check (tString.o) in libg++. ! 5666: ! 5667: Thu Aug 19 12:21:12 1993 Brendan Kehoe ([email protected]) ! 5668: ! 5669: * cp-typeck.c (build_x_unary_op): When we receive an OFFSET_REF, ! 5670: resolve it before looking for a way to handle the operation. ! 5671: ! 5672: * cp-method.c: Include ctype.h. ! 5673: ! 5674: Thu Aug 19 12:00:08 1993 Mike Stump ([email protected]) ! 5675: ! 5676: * cp-class.c, cp-search.c (NEW_SEARCH, NEW_CONVERT, ! 5677: CHECK_convert_pointer_to_single_level): Remove ability to revert to ! 5678: old code, and remove checks. Cleans-up the code a little. ! 5679: ! 5680: Thu Aug 19 00:41:55 1993 Mike Stump ([email protected]) ! 5681: ! 5682: * cp-init.c (expand_aggr_init): Avoid faulting, give error instead. ! 5683: ! 5684: Wed Aug 18 22:43:25 1993 Mike Stump ([email protected]) ! 5685: ! 5686: * cp-lex.h (RID_BIT_TYPE, RIDBIT_SETP, RIDBIT_NOTSETP, RIDBIT_SET, ! 5687: RIDBIT_RESET, RIDBIT_RESET_ALL, RIDBIT_ANY_SET): New RID macros, ! 5688: replaces RIDBIT macro. The new macros allow us to easily expand ! 5689: past 32 RIDs. ! 5690: * cp-decl.c (grokvardecl, grokdeclarator): Use them. ! 5691: ! 5692: * cp-decl.c (grokdeclarator): Implement `mutable' keyword. ! 5693: * cp-lex.c (init_lex, ): Ditto. ! 5694: * cp-lex.h (enum rid): Ditto. ! 5695: * cp-ptree.c (print_lang_decl): Ditto. ! 5696: * cp-tree.h (struct lang_decl_flags, DECL_MUTABLE_P): Ditto. ! 5697: * cp-typeck.c (build_component_ref_1, build_component_ref): Ditto. ! 5698: * gplus.gperf (mutable): Ditto. ! 5699: * cp-hash.h: Regenerate. ! 5700: ! 5701: * cp-tree.h (struct lang_type): Fill out type_flags to multiple of 4 ! 5702: bytes for MIPS. ! 5703: ! 5704: Fri Aug 13 16:07:46 1993 Brendan Kehoe ([email protected]) ! 5705: ! 5706: * cp-lex.c (DEBUG_DEFAULT_FUNCTIONS): Take out the #undef, so we can ! 5707: use the command line to turn this on. ! 5708: ! 5709: * cp-decl.c (grokdeclarator): Look for IDENTIFIER_TEMPLATE in the ! 5710: name of current_class_type, not in current_class_type itself. ! 5711: ! 5712: * cp-decl.c (pushdecl): Change to also check TREE_PUBLIC on the decl ! 5713: in question, and do a pedwarn_with_decl instead of ! 5714: warning_with_decl for conflicting extern declarations. ! 5715: ! 5716: Fri Aug 13 12:26:41 1993 Brendan Kehoe ([email protected]) ! 5717: ! 5718: * cp-tree.h: Delete all the old PARANOID stuff, it's suffered ! 5719: serious bit rot. ! 5720: (PRINT_LANG_DECL, PRINT_LANG_TYPE): Deleted, not used anymore. ! 5721: (LANG_ID_FIELD, SET_LANG_ID): New macros. ! 5722: ({,SET_}IDENTIFIER_{LABEL_VALUE, IMPLICIT_DECL, AS_DESC, AS_LIST, ! 5723: ERROR_LOCUS}): Redefine these macros to use the new LANG_ID_FIELD ! 5724: and SET_LANG_ID ones, so everything is much cleaner and readable. ! 5725: ! 5726: * cp-decl.c (pushtag) [NEW_CLASS_SCOPING]: Push into the template's ! 5727: class scope before trying to push the decl, and then pop back out. ! 5728: (globalize_nested_type) [NEW_CLASS_SCOPING]: Asserts 348 and 349 ! 5729: aren't correct, shadow can come out to be null in some situations. ! 5730: ! 5731: Thu Aug 12 10:56:50 1993 Mike Stump ([email protected]) ! 5732: ! 5733: * cp-method.c (build_overload_name): Allow the debugger to ! 5734: deterministically demangle names with more than 9 nested class ! 5735: levels. ! 5736: ! 5737: Thu Aug 12 00:46:54 1993 Mike Stump ([email protected]) ! 5738: ! 5739: * cp-search.c (pushd_stack_level): Fix memory corruption problem. ! 5740: Don't assume that the obstack won't move, because they will. Among ! 5741: other things, the fix allows one to nest classes upto 240 levels ! 5742: deep, instead of 60 or so. ! 5743: ! 5744: Thu Aug 12 00:38:05 1993 Per Bothner ([email protected]) ! 5745: ! 5746: * cp-decl2.c (finish_file): Use new get_file_function_name(). ! 5747: * cp-tree.h (FILE_FUNCTION_FORMAT): No longer needed. ! 5748: ! 5749: Fri Aug 6 11:37:08 1993 Brendan Kehoe ([email protected]) ! 5750: ! 5751: * cp-decl.c (pop_binding_level) [DEBUG_CP_BINDING_LEVELS]: Don't ! 5752: call abort, since we need to see where things end up. ! 5753: ! 5754: Fri Aug 6 11:13:57 1993 Mike Stump ([email protected]) ! 5755: ! 5756: * cp-class.c (finish_struct): Blast away old DECL_SIZE on ! 5757: base_layout_decl so that the old value is not reused, but rather the ! 5758: new value in the TREE_TYPE (TYPE_SIZE ()) will be. ! 5759: ! 5760: Thu Aug 5 18:45:26 1993 Mike Stump ([email protected]) ! 5761: ! 5762: * cp-init.c (emit_base_init): Move vbase vtable pointer init to very ! 5763: end of base initialization code. Completes July 30 change. The ! 5764: dynamic type of a virtual base should not be the type of the current ! 5765: constructor, until after all bases are initialized. ! 5766: ! 5767: Thu Aug 26 06:00:09 1993 Richard Kenner ([email protected]) ! 5768: ! 5769: * expr.c: (apply_args_register_offset): Don't use ANSI-style ! 5770: definition. ! 5771: ! 5772: Wed Aug 25 19:37:26 1993 Jeffrey A. Law ([email protected]) ! 5773: ! 5774: * expmed.c (store_bit_field): Do not use bitfield instructions for ! 5775: STRICT_ALIGNMENT machines if the MEM's alignment isn't as big as ! 5776: the MEM's mode. ! 5777: ! 5778: Wed Aug 25 19:17:13 1993 Richard Kenner ([email protected]) ! 5779: ! 5780: * c-typeck.c (format_char_info_print_table, "p"): Allow width. ! 5781: ! 5782: Tue Aug 24 18:36:31 1993 Richard Kenner ([email protected]) ! 5783: ! 5784: * rs6000.c (output_{pro,epi}log): Don't need no-ops after calls ! 5785: to functions to save and restore FP regs. ! 5786: ! 5787: Tue Aug 24 15:43:43 1993 Michael Meissner ([email protected]) ! 5788: ! 5789: * osfrose.h (SUBTARGET_SWITCHES): Add -mlarge-align and ! 5790: -mword-align to control whether alignments of > 4 are honored. ! 5791: (ASM_OUTPUT_ALIGN_CODE): If -mlarge-align allow alignments > 4. ! 5792: (ASM_OUTPUT_ALIGN): Ditto. ! 5793: (ASM_OUTPUT_LOOP_ALIGN): Always do a .align 2. ! 5794: (FUNCTION_BLOCK_PROFILER): Define. ! 5795: (BLOCK_PROFILER): Define. ! 5796: ! 5797: Tue Aug 24 14:04:11 1993 Jeffrey A. Law ([email protected]) ! 5798: ! 5799: * pa.c (compute_frame_size): Always align stack to 64 byte ! 5800: boundary. ! 5801: ! 5802: * pa.h (STACK_BOUNDARY): Stack pointer is 512 bit (64 byte) ! 5803: aligned. ! 5804: ! 5805: * pa.c (output_call): Use ASM_OUTPUT_INTERNAL_LABEL instead of ! 5806: output_asm_label. ! 5807: ! 5808: Tue Aug 24 11:24:27 1993 Kresten Krab Thorup ([email protected]) ! 5809: ! 5810: * Merge of Objective C related changes since June 1. ! 5811: ! 5812: * objc/xforward.c, objc/mutex.h: Files removed. ! 5813: * objc/encoding.[ch]: New files. ! 5814: * objc/todo: File removed. ! 5815: ! 5816: Tue Jun 1 00:05:12 1993 Kresten Krab Thorup ([email protected]) ! 5817: ! 5818: * expr.c (apply_args_register_offset): New function ! 5819: (apply_args_reg_offset): New variable ! 5820: (apply_args_size): Added initialization of apply_args_reg_offset. ! 5821: ! 5822: * objc-act.c (offset_is_register): New variable ! 5823: (forwarding_offset): Use apply_args_register_offset to get ! 5824: register offset. ! 5825: (encode_method_def, encode_method_prototype): Prepend argument ! 5826: offset by '+' if passed in register. ! 5827: (apply_args_register_offset): Added declaration. ! 5828: ! 5829: Sun Jun 6 20:57:03 1993 Kresten Krab Thorup ([email protected]) ! 5830: ! 5831: * objc/encoding.h, objc/encoding.c: New files. ! 5832: * objc/Object.m (-performv): Use new objc_msg_sendv. ! 5833: * objc/sendmsg.c (objc_msg_sendv): Use new encoding facilities. ! 5834: * objc/objc.h (arglist_t): Data-definition changed. ! 5835: * objc/xforward.c: File removed. ! 5836: * objc/Makefile (sendmsg.c, fflags, xforward): Targets removed; ! 5837: (OBJC_O): Added encoding.o; ! 5838: (OBJC_H): Added encoding.h, removed mutex.h. ! 5839: ! 5840: * objc/objc.h (nil_method): Don't define it, import it from sendmsg.c. ! 5841: ! 5842: Wed Jun 16 17:39:56 1993 Kresten Krab Thorup ([email protected]) ! 5843: ! 5844: * objc/objc-api.h: (CLS_SETNUMBER): Clear old number ! 5845: * objc/sendmsg.c (__objc_update_dispatch_table_for_class): ! 5846: Don't free dtable... (memory leak to make posing work) ! 5847: * objc/class.c (class_pose_as): lazy copy dtables. ! 5848: #include sarray.h ! 5849: ! 5850: Tue Jun 22 21:39:11 1993 Kresten Krab Thorup (krab@xiv) ! 5851: ! 5852: * objc/class.c (class_pose_as): Rewritten ! 5853: * objc/sendmsg.c (__objc_update_dispatch_table_for_class): ! 5854: Free old dispatch table and install a new. ! 5855: ! 5856: Tue Aug 24 00:41:35 1993 Kresten Krab Thorup ([email protected]) ! 5857: ! 5858: * objc-act.c (generate_method_descriptors, generate_ivar_lists, ! 5859: generate_dispatch_tables): Reorganized use of constructors. ! 5860: (build_descriptor_table_initializer, build_ivar_list_initializer, ! 5861: build_dispatch_table_initializer): Removed argument `int *size'. ! 5862: ! 5863: Tue Aug 24 00:52:04 1993 Kresten Krab Thorup ([email protected]) ! 5864: ! 5865: * objc/sendmsg.c (__objc_install_dispatch_table_for_class): ! 5866: Dynamically expand dispatch table when full. ! 5867: ! 5868: Mon Aug 23 19:37:33 1993 Jeffrey A. Law ([email protected]) ! 5869: ! 5870: * pa.h (TARGET_TRAILING_COLON): Delete switch. TARGET_GAS now ! 5871: controls the use of trailing colons. ! 5872: ! 5873: Mon Aug 23 18:46:14 1993 Frederic Pierresteguy ([email protected]) ! 5874: ! 5875: * config/m68k/dpx2g.h (ASM_LONG): Move from dpx2.h. ! 5876: ! 5877: * configure (m68k-bull-sysv): Add support for working with native ! 5878: assembler. ! 5879: * config/m68k/dpx2.h (MOTOROLA): Define this. ! 5880: (VERSADOS): This the name of the DPX2 assembler. Define this in case. ! 5881: (USG): Define this. ! 5882: (SGS_NO_LI): define this to suppress jump table usage. ! 5883: (TARGET_DEFAULT): Define this to 3 inside the conditional USE_GAS ! 5884: since bitfields do not work a clean way on DPX2. ! 5885: (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, ! 5886: SELECT_RTX_SECTION): #undef these. ! 5887: (READONLY_DATA_SECTION): Define to data_section. ! 5888: (*_ASM_OP, ASM_OUTPUT_*): Define these accordingly to the native ! 5889: assembler syntax. ! 5890: (LONG_DOUBLE_TYPE_SIZE): Set to 64 to not use XFmode. ! 5891: (REAL_ARITHMETIC): Define this to use the software floating point ! 5892: emulator. ! 5893: (JUMP_TABLES_IN_TEXT_SECTION): Define this to 1. ! 5894: (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Override m68k.h default. ! 5895: (ASM_OUTPUT_ASCII): add a new variable to take care of the lentgh of ! 5896: the operand field which must be < 80 chars. ! 5897: (PRINT_OPERAND_ADDRESS): Override m68k.h default. ! 5898: (PUT_SDB_TYPE): Output type in decimal. ! 5899: (PUT_SDB_FUNCTION_[START|END]): Override sdbout.c default. ! 5900: (PUT_SDB_BLOCK_[START|END]): Override sdbout.c default. ! 5901: ! 5902: Mon Aug 23 18:33:26 1993 Richard Kenner ([email protected]) ! 5903: ! 5904: * fold-const.c (twoval_comparison_p): Add new arg, SAVE_P; all ! 5905: callers changed. ! 5906: (fold, case EQ_EXPR): If SAVE_P is true after call to ! 5907: twoval_comparison_p, call save_expr on the expression we make. ! 5908: ! 5909: Mon Aug 23 07:57:41 1993 Michael Meissner ([email protected]) ! 5910: ! 5911: * i386/osfrose.h (CC1_SPEC, CPP_SPEC): If NO_UNDERSCORE is ! 5912: defined, the ELF compiler defaults to -mno-underscores to remove ! 5913: leading underscores. Clean up ROSE -pic options so that they are ! 5914: never passed when building ELF objects. ! 5915: * i386/osfelf.h: Likewise. ! 5916: ! 5917: Sun Aug 22 23:36:24 1993 Jeffrey A. Law ([email protected]) ! 5918: ! 5919: * expr.c (expand_builtin_apply): Fix typo. ! 5920: ! 5921: * pa.md (untyped_call): New define_expand. ! 5922: ! 5923: Fri Aug 20 12:24:50 1993 Ian Lance Taylor ([email protected]) ! 5924: ! 5925: * gcc.c (main): Correct August 6 change. ! 5926: ! 5927: Thu Aug 19 19:19:19 1993 Jim Wilson ([email protected]) ! 5928: ! 5929: * combine.c (simplify_shift_const, XOR case): When applying ! 5930: distributive law, use shift_mode and GET_MODE (varop) instead of ! 5931: result_mode. ! 5932: ! 5933: Thu Aug 19 08:28:50 1993 Richard Kenner ([email protected]) ! 5934: ! 5935: * rs6000.md (scc): Fix typo in scc with compare and set. ! 5936: ! 5937: * combine.c (can_combine_p): Don't reject SUBREG assignments here. ! 5938: (subst): Instead, do it here, but also allow it in as a ! 5939: nested SUBREG since the inner one will be eliminated. ! 5940: (simplify_and_const_int): Convert (and (neg X) (const_int 1)) ! 5941: to a shift when X is known to be either 0 or 1. ! 5942: ! 5943: * fold-const.c (fold): Handle EQ_EXPR and NE_EXPR where both ! 5944: args are comparisons or BIT_AND_EXPR with constant 1. ! 5945: ! 5946: Wed Aug 18 23:37:05 1993 Jim Wilson ([email protected]) ! 5947: ! 5948: * mips.h (SELECT_SECTION): Put object in sdata only if size is ! 5949: known, i.e. greater than 0. ! 5950: ! 5951: Wed Aug 18 17:48:51 1993 Richard Kenner ([email protected]) ! 5952: ! 5953: * combine.c (try_combine): Don't split a PARALLEL of a SIGN_EXTEND ! 5954: and the object being sign extended if we have made assumptions ! 5955: about the form the I2DEST. ! 5956: ! 5957: * combine.c (nonzero_bits): Handle case when BYTE_LOADS_EXTEND is ! 5958: not on and we are asked for something in a mode wider than it. ! 5959: ! 5960: Wed Aug 18 02:21:35 1993 Jeffrey A. Law ([email protected]) ! 5961: ! 5962: * pa.md (movdf insn): Distinguish between offsettable and ! 5963: nonoffsettable memory locations when loading/storing a GR. ! 5964: (movdi insn): Likewise. Loading a DImode constant can take as ! 5965: many as 4 insns (length of 16 bytes). ! 5966: ! 5967: * pa.md (zero_extendqihi2): No need to explicitly set a length; ! 5968: the defaults are correct. ! 5969: (zero_extendqisi2, floatsisf2, floatsidf2): Likewise. ! 5970: (fix_truncdfsi2, fix_truncsfdi2, fix_truncdfdi2): Likewise. ! 5971: ! 5972: * pa.c (emit_move_sequence): Check both reload_in_progress and ! 5973: reload_completed when choosing a scratch/temporary register. ! 5974: ! 5975: * pa.h (TARGET_KERNEL): Delete switch and all references to it. ! 5976: * pa.c (emit_move_sequence): Always handle secondary reloads for ! 5977: symbolic addresses. ! 5978: (secondary_reload_class): Symbolic operands always need a secondary ! 5979: reload from R1_REGS if their target class is not R1_REGS. ! 5980: * pa.md (HIGH for symbolic operands): TARGET_KERNEL version is now ! 5981: the only choice. Delete ! TARGET_KERNEL version. ! 5982: ! 5983: * pa.h (DEFAULT_GDB_EXTENSIONS): GDB extensiosn are on by default. ! 5984: * pa-hpux.h (DEFAULT_GDB_EXTENSIONS): Turn GDB extensions off. ! 5985: * pa-hpux7.h (DEFAULT_GDB_EXTENSIONS): Likewise. ! 5986: ! 5987: * pa.h (TARGET_GAS): New target flag to control use of GAS ! 5988: specific assembler directives. ! 5989: (TARGET_SWITCHES): Support -mgas and -mno-gas. ! 5990: (ASM_DECLARE_FUNCTION_NAME): If TARGET_GAS then emit .PARAM ! 5991: directives for static functions so argument relocations work. ! 5992: * pa-ghpux.h (TARGET_DEFAULT): Enable TARGET_GAS. ! 5993: * pa-gux7.h, pa-utahmach.h, pa.h (TARGET_DEFAULT): Likewise. ! 5994: * pa1-ghpux.h, pa1-utahmach.h, pa1.h (TARGET_DEFAULT): Likewise. ! 5995: ! 5996: * pa.c (hppa_legitimize_address): Rework address computation for ! 5997: x[n - m] so that problems with implicit space register selection ! 5998: are avoided. ! 5999: ! 6000: * pa.h (EXTRA_CONSTRAINT): Delete unused 'S' constraint. ! 6001: * pa.md (call_internal_symref): Make pattern unavailable if ! 6002: TARGET_LONG_CALLS. ! 6003: (call_value_internal_symref): Likewise. ! 6004: ! 6005: Mon Aug 16 18:47:56 1993 Richard Kenner ([email protected]) ! 6006: ! 6007: From [email protected]: ! 6008: * encore.h, ns32k.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use .double instead ! 6009: of .word. ! 6010: * ns32k.h (CASE_VECTOR_MODE): Now SImode; was HImode. ! 6011: * ns32k.md (tablejump): Now SImode and uses cased. ! 6012: ! 6013: * fold-const.c (fold, case EQ_EXPR): Re-enable converting ! 6014: signed MOD operations to unsigned when inside comparisons ! 6015: against zero, but only when the second operand of the MOD ! 6016: is an integral power of two. ! 6017: ! 6018: Mon Aug 16 12:38:28 1993 John Hassey ([email protected]) ! 6019: ! 6020: * fixinc.dgux: Fixed va_list problem in _int_varargs.h ! 6021: ! 6022: Mon Aug 16 11:26:57 1993 Kevin Buettner ([email protected]) ! 6023: ! 6024: * configure (m88k-mot-sysv4*): Added new configuration for m88k ! 6025: delta machines running svr4. ! 6026: ! 6027: * config/m88k/mot-sysv4.h: New file. ! 6028: ! 6029: Mon Aug 16 11:16:32 1993 Richard Earnshaw ([email protected]) ! 6030: ! 6031: * combine.c: (use_crosses_set_p): Check for partially overlapping ! 6032: hard regs. ! 6033: ! 6034: Sun Aug 15 20:17:20 1993 Jeffrey A. Law ([email protected]) ! 6035: ! 6036: * reorg.c (find_end_label): If a suitable RETURN insn exists at ! 6037: the end of the current function, place a label in front of it for ! 6038: the end_of_function_label. ! 6039: ! 6040: Fri Aug 13 16:40:03 1993 Pat Rankin ([email protected]) ! 6041: ! 6042: * c-typeck.c (check_format): For scan of "%[", skip over scan set ! 6043: til closing ']' to avoid processing it as ordinary format characters. ! 6044: ! 6045: Fri Aug 13 16:02:23 1993 Chip Salzenberg ([email protected]) ! 6046: ! 6047: * c-common.c (declare_hidden_char_array): New function to ! 6048: factor out duplicate code in declare_function_name. ! 6049: Don't set DECL_EXTERNAL (which is illegal without TREE_PUBLIC) ! 6050: to prevent output; instead, set TREE_ASM_WRITTEN. ! 6051: (declare_function_name): Use declare_hidden_char_array. ! 6052: ! 6053: Fri Aug 13 14:58:52 1993 Richard Stallman ([email protected]) ! 6054: ! 6055: * config/ns32k/encore.h (ASM_OUTPUT_ALIGN_CODE): Override as no-op. ! 6056: ! 6057: Fri Aug 13 14:29:17 1993 Stephen Moshier ([email protected]) ! 6058: ! 6059: * sparc.h (LONG_DOUBLE_TYPE_SIZE): Define to 128. ! 6060: ! 6061: * real.c (GET_REAL, PUT_REAL): Add TFmode versions. ! 6062: (MAXDECEXP, MINDECEXP): New decimal exponent limits ! 6063: that vary with definition of LONG_DOUBLE_TYPE_SIZE. ! 6064: (endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg): ! 6065: Add cases for TFmode. ! 6066: (etartdouble): New function converts REAL_VALUE_TYPE to TFmode ! 6067: for use by ASM_OUTPUT_LONG_DOUBLE. ! 6068: (edivm, emulm): Ifdef out, replace by faster multiply and divide. ! 6069: (etoe113, toe113, e113toe): New type conversions for TFmode. ! 6070: (asctoe113, e113toasc): New TFmode binary <-> decimal conversions. ! 6071: (at top level): Define constants ezero, eone, emtens, etens, ... ! 6072: in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and ! 6073: set NE to 10. Otherwise, the internal format remains 12 bytes wide. ! 6074: (etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned ! 6075: DImode float and fix, for real.c used in a libgcc-of-last-resort. ! 6076: (esqrt): New function, correctly rounded square root for libgcc. ! 6077: (etodec): Delete ifdef'd version. ! 6078: (eroundi, eroundui): Rename to efixi, efixui and always ! 6079: round towards zero. ! 6080: ! 6081: From [email protected] (Frank Crawford): ! 6082: (etoibm, toibm, ibmtoe): New conversions for IBM 370 float format. ! 6083: (e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53, ! 6084: asctoeg, make_nan): Ifdef for IBM. ! 6085: ! 6086: * real.h (REAL_VALUE_TYPE): Define array at least 20 bytes wide ! 6087: if LONG_DOUBLE_TYPE_SIZE is 128 bits. ! 6088: (etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE ! 6089: when long double is TFmode. ! 6090: (REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round ! 6091: towards zero. ! 6092: ! 6093: Fri Aug 13 07:50:42 1993 Richard Kenner ([email protected]) ! 6094: ! 6095: * expr.c (expand_expr, case SAVE_EXPR): Set MEM_IN_STRUCT_P ! 6096: appropriately when the result is a MEM. ! 6097: ! 6098: * integrate.c (expand_inline_function): Copy args that are in ! 6099: hard regs instead of substituting them directly into insns. ! 6100: ! 6101: * rs6000.md (subsi3): Merge alternatives. ! 6102: (comparison patterns): Eliminate generation of "sfi."; no such ! 6103: instruction exists. ! 6104: ! 6105: Thu Aug 12 21:24:01 1993 Richard Stallman ([email protected]) ! 6106: ! 6107: * config/m68k/sun3.h (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH. ! 6108: ! 6109: Thu Aug 12 19:02:47 1993 Richard Kenner ([email protected]) ! 6110: ! 6111: * rs6000.md (attribute "type"): Add new type, "branch". ! 6112: (attribute "length"): New attribute; put on all insns that don't ! 6113: have default length. ! 6114: (branch patterns): If conditional branch won't reach, take ! 6115: conditional branch around an unconditional branch. ! 6116: ! 6117: * rs6000.md (plus): Split (plus (COMPARISON FOO ...) ...) at FOO. ! 6118: ! 6119: Thu Aug 12 14:04:40 1993 Michael Meissner ([email protected]) ! 6120: ! 6121: * i386/osfrose.h (SUBTARGET_SWITCHES): Add -munderscores and ! 6122: -mno-underscores. ! 6123: (CPP_SPEC): If -mno-underscores, define __NO_UNDERSCORES__. ! 6124: (LPREFIX): Redefine, to take -m{,no-}underscores into account. ! 6125: (ASM_GENERATE_INTERNAL_LABEL): Ditto. ! 6126: (ASM_OUTPUT_INTERNAL_LABEL): Ditto. ! 6127: (ASM_OUTPUT_LABELREF): Ditto. ! 6128: ! 6129: * i386/osfelf.h (CPP_SPEC): If -mno-underscores, define ! 6130: __NO_UNDERSCORES__. ! 6131: ! 6132: * c-decl.c (pushdecl): Don't give nested warning messages if ! 6133: DECL_IN_SYSTEM_HEADER is set in order not to give warnings when ! 6134: defining new instances of __FUNCTION__ and __PRETTY_FUNCTION__. ! 6135: ! 6136: Thu Aug 12 13:42:04 1993 Jim Wilson ([email protected]) ! 6137: ! 6138: * sparc.c (legitimize_pic_address): Delete 4th arg SCRATCH. ! 6139: Fix all callers. ! 6140: (emit_move_sequence): Delete 3rd arg SCRATCH_REG. Fix all ! 6141: callers. If operand1 is an invalid PIC address, then legitimize ! 6142: it before doing anything else. ! 6143: * sparc.h (SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid ! 6144: PIC addresses. ! 6145: (CONSTANT_ADDRESS_P): Reject invalid PIC addresses. ! 6146: (LEGITIMATE_PIC_OPERAND_P): New macro. ! 6147: (GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses. ! 6148: (LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address. ! 6149: * sparc.md (reload_insi): Delete. ! 6150: (*): Fix all callers of legitimize_pic_address and emit_move_sequence. ! 6151: ! 6152: * sched.c (sched_analyze_insn): Handle USE before a JUMP_INSN just ! 6153: like a USE before a CALL_INSN. ! 6154: * function.c (thread_prologue_and_epilogue_insns): For the ! 6155: epilogue, put USE insns immediately before the return insn. ! 6156: ! 6157: * sparc.h (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE. ! 6158: (ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE. ! 6159: ! 6160: Wed Aug 11 19:48:24 1993 Per Bothner ([email protected]) ! 6161: ! 6162: * tree.c (get_file_function_name): New function ! 6163: for language-independent constructor name generation. ! 6164: * objc-act.c (build_module_descriptor): Use it. ! 6165: * tree.h (CONSTRUCTOR_NAME_FORMAT): Removed. ! 6166: ! 6167: Wed Aug 11 19:50:05 1993 Jeffrey A. Law ([email protected]) ! 6168: ! 6169: * reorg.c (try_merge_delay_insns): Fix typo. ! 6170: (fill_simple_delay_slots): Only access the JUMP_LABEL field ! 6171: if the INSN needing delay slots is a JUMP_INSN. ! 6172: ! 6173: Wed Aug 11 15:09:52 1993 Michael Meissner ([email protected]) ! 6174: ! 6175: * c-typeck.c (output_init_element): Don't call default_conversion ! 6176: for a STRING_CST if type is directly suitable for it. ! 6177: (digest_init): Eliminate a lot of code that checks the variable ! 6178: 'element', since element is always 0 in these code paths. ! 6179: ! 6180: Wed Aug 11 17:59:28 1993 Richard Kenner ([email protected]) ! 6181: ! 6182: * combine.c (combine_instructions): Fix typo on test of basic block ! 6183: number. ! 6184: ! 6185: Wed Aug 11 17:44:38 1993 Richard Stallman ([email protected]) ! 6186: ! 6187: * configure (m68k-hp-bsd4.4*): Add missing *; ! 6188: move before m68k-hp-bsd*. ! 6189: ! 6190: Wed Aug 11 09:21:56 1993 Ian Lance Taylor ([email protected]) ! 6191: ! 6192: * fixincludes: Get SIZE_TYPE by invoking gcc rather than cc; gcc ! 6193: location is passed in as fourth argument. ! 6194: * Makefile.in (stmp-fixinc): Depend upon xgcc and cpp; pass ! 6195: objdir/xgcc -Bobjdir/ as fourth argument to $(FIXINCLUDES). ! 6196: ! 6197: Tue Aug 10 15:12:11 1993 Jim Wilson ([email protected]) ! 6198: ! 6199: * cse.c (cse_insn): After inserting src_eqv, check to see if it is ! 6200: identical to any uninserted SET_SRCs, and if so, set their src_elt ! 6201: to src_eqv_elt. ! 6202: ! 6203: Tue Aug 10 12:56:46 1993 Jeffrey A. Law ([email protected]) ! 6204: ! 6205: * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2. ! 6206: ! 6207: Mon Aug 9 19:02:49 1993 Per Bothner ([email protected]) ! 6208: ! 6209: Merged fixproto stuff from Cygnus. ! 6210: ! 6211: Fri Aug 6 12:23:04 1993 Per Bothner ([email protected]) ! 6212: ! 6213: * fixproto, Makefile.in: Rename tmp.[ci] -> fixtmp.[ci]. ! 6214: ! 6215: Tue Aug 3 22:24:58 1993 Per Bothner ([email protected]) ! 6216: ! 6217: * fixproto: Find not only nested directories, but also ! 6218: links to directories. ! 6219: ! 6220: Mon Aug 2 18:58:35 1993 Per Bothner ([email protected]) ! 6221: ! 6222: * fixproto: Add kludge to getting hit by double globbing. ! 6223: * scan-types.sh: Fix to emit #define, not a typedef. ! 6224: * patch-header.c (main): Make sure to print a space after ! 6225: a function name when we didn't see a '('. ! 6226: * Makefile.in (stmp-fixproto): Fix so (/*...*/) becomes (). ! 6227: ! 6228: Fri Jul 30 17:18:22 1993 Per Bothner ([email protected]) ! 6229: ! 6230: * fixproto: Append seen files to fixproto.list file, ! 6231: instead of done_files variable (which could become too long). ! 6232: * fixproto: Don't generate a huge rel_souce_files variable ! 6233: (which might become too long); instead loop over directories. ! 6234: * fixproto: Remove signal() from list of required functions ! 6235: for signal.h, because we can't grok its complicted prototype. ! 6236: * Makefile.in (mostlyclean): Also delete fixproto.list. ! 6237: ! 6238: Thu Jul 29 12:43:53 1993 Per Bothner ([email protected]) ! 6239: ! 6240: * scan-decls.c (skip_to_enclosing_brace): New function. ! 6241: * scan-decls.c (main): After a parameter list, skip ! 6242: any following function body (usually for inline functions). ! 6243: ! 6244: * fixproto: Fix to make sure stdlib.h and unistd.h get ! 6245: the proper required_list, even when they need to be created. ! 6246: * fixproto: Direct cpp error messages to /dev/null. ! 6247: * patch-header.c: Make less verbose. ! 6248: ! 6249: Wed Jul 28 16:12:39 1993 Per Bothner ([email protected]) ! 6250: ! 6251: * fixproto: Rewrite to use a case statement instead of eval to ! 6252: set required_list and extra_check_list. ! 6253: * fixproto: Simplify remaining call to tr improving portability. ! 6254: ! 6255: * scan-decl: Recognize inline functions, emitting typecode 'I'. ! 6256: * patch-header (read_scan_file): Handle inline functions. ! 6257: * patch-header (read_scan_file): Fix thinko. Rename variable. ! 6258: ! 6259: Mon Aug 9 17:47:48 1993 Richard Stallman ([email protected]) ! 6260: ! 6261: * c-typeck.c (build_c_cast): For (void *) (FOO *) 0, return a nop_expr ! 6262: so it doesn't count as a null pointer constant. ! 6263: (convert_for_assignment, build_binary_op): Pedantically warn about ! 6264: that case if looking for a null_pointer_constant. ! 6265: (build_conditional_expr): Likewise. ! 6266: ! 6267: * ns32k.c (output_move_double): Fix typos in last change. ! 6268: ! 6269: * expr.c (store_expr): Don't return TEMP if it's a MEM. ! 6270: ! 6271: Mon Aug 9 15:26:27 1993 Jim Wilson ([email protected]) ! 6272: ! 6273: * varasm.c (assembler_variable): For XCOFF_DEBUG, restore section ! 6274: if dbxout_symbol call changes it. ! 6275: ! 6276: * sched.c (schedule_insns): Don't emit a NOTE at the end of the last ! 6277: basic block if that would put it between a JUMP_INSN and a BARRIER. ! 6278: ! 6279: * mips.h (OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt. ! 6280: * mips.c (function_arg, DFmode case): Set regbase to GP_ARG_FIRST ! 6281: if cum->arg_number greater than or equal to 2. ! 6282: ! 6283: Mon Aug 9 07:31:07 1993 Richard Kenner ([email protected]) ! 6284: ! 6285: * optabs.c (widen_operand): New function. ! 6286: (expand_binop, expand_unop): Call it. ! 6287: ! 6288: Sun Aug 8 17:32:04 1993 Richard Kenner ([email protected]) ! 6289: ! 6290: * combine.c (num_sign_bit_copies): Properly handle case when MODE is ! 6291: narrower than that of X. ! 6292: (simplify_shift_const): Remove change of July 26. ! 6293: ! 6294: Sun Aug 8 17:26:57 1993 Jim Wilson ([email protected]) ! 6295: ! 6296: * sparc.c (sparc_type_code): Support range types. ! 6297: ! 6298: * expr.c (expand_increment): Call save_expr on inner expression if ! 6299: it is itself an increment expression. ! 6300: ! 6301: * configure (*-*-riscos*): Set broken_install. ! 6302: (mips-*-riscos[56789]sysv4): Use xm-sysv4.h. ! 6303: * mips/xm-sysv4.h: New file. ! 6304: * mips/svr3-5.h, mips/svr4-5.h (_SC_PAGE_SIZE): Define to ! 6305: _SC_PAGESIZE if that exists. ! 6306: ! 6307: * sparc.h (CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand. ! 6308: * sparc.c (reg_or_0_operand): Use fp_zero_operand. ! 6309: (fp_zero_operand): New function. ! 6310: ! 6311: * c-typeck.c (build_array_ref): Force array to be allocated on the ! 6312: stack if it is accessed by out-of-bound constant integer subscript. ! 6313: ! 6314: * configure (mips-*): Standardize indentation. ! 6315: (mips-*-*bsd*): Use t-bsd and t-bsd-gas. ! 6316: (mips-*-*sysv4*): Use t-svr4 and t-svr4-gas. ! 6317: (mips-*-*sysv*): Use t-svr3 and t-svr3-gas. ! 6318: * mips/t-bsd, mips/t-bsd-gas, mips/t-svr3, mips/t-svr3-gas, ! 6319: mips/t-svr4, mips/t-svr4-gas: New files. ! 6320: ! 6321: Sun Aug 8 11:33:51 1993 John F Carr ([email protected]) ! 6322: ! 6323: * expmed.c (SLOW_UNALIGNED_ACCESS): Define, but allow override. ! 6324: (store_bit_field): Test that instead of STRICT_ALIGNMENT. ! 6325: Also, allow fetching as non-bitfield if memory is aligned enough. ! 6326: (extract_bit_field): Install code here like that in store_bit_field. ! 6327: ! 6328: Sun Aug 8 04:26:21 1993 Richard Stallman ([email protected]) ! 6329: ! 6330: * expr.c (expand_assignment): If WANT_VALUE is 0, return NULL. ! 6331: (store_expr): Likewise. ! 6332: Rename arg SUGGEST_REG to WANT_VALUE. ! 6333: Never return TARGET if WANT_VALUE unless BLKmode. ! 6334: Instead, return TEMP or a value copied from TARGET. ! 6335: Pass 0 for WANT_VALUE in recursive calls that ignore value. ! 6336: ! 6337: * varasm.c (contains_pointers_p): New function. ! 6338: (assemble_variable): Use that. ! 6339: ! 6340: * toplev.c (rest_of_decl_compilation): Don't look at DECL_IGNORED_P. ! 6341: Don't output a read-only initialized extern variable. ! 6342: ! 6343: * c-common.c (declare_function_name): Set DECL_EXTERNAL in the decls. ! 6344: ! 6345: Sat Aug 7 22:25:42 1993 Richard Stallman ([email protected]) ! 6346: ! 6347: * c-typeck.c (process_init_element): Don't call clear_momentary ! 6348: if value is 0. ! 6349: ! 6350: Sat Aug 7 15:53:06 1993 Doug Evans ([email protected]) ! 6351: ! 6352: * caller-save.c (MAX_MOVE_MAX, MAX_UNITS_PER_WORD): New macros. ! 6353: (regno_save_mode, regno_save_mem): Use them. ! 6354: * tm.texi (MAX_MOVE_MAX, MAX_UNITS_PER_WORD): Document them. ! 6355: ! 6356: * c-decl.c (init_decl_processing): Make long long available to ! 6357: use for SIZE_TYPE and PTRDIFF_TYPE. ! 6358: ! 6359: Sat Aug 7 14:47:12 1993 Richard Stallman ([email protected]) ! 6360: ! 6361: * config/ns32k/ns32k.md (strict_low_part add/subtract recognizers): ! 6362: Use %2, not %1, in template. ! 6363: ! 6364: Sat Aug 7 07:40:28 1993 Richard Kenner ([email protected]) ! 6365: ! 6366: * reload.c (find_reloads): Don't combine two reloads if their ! 6367: reload_reg_rtx values differ. ! 6368: ! 6369: * alpha.c (add_long_const): New function. ! 6370: (output_{pro,epi}log): Use it. ! 6371: If register save area is more than 32768 from SP, compute its ! 6372: address into a register. ! 6373: ! 6374: * expmed.c (expand_divmod): Clean up code and documentation, ! 6375: especially in areas related to when copies are made. ! 6376: ! 6377: * reload.c (push_reload, find_reloads): Treat (subreg (pseudo)) ! 6378: and (subreg (mem)) the same. ! 6379: If we have (subreg:M1 (mem:M2 ...) ...), never do anything ! 6380: special if M1 and M2 are the same size. ! 6381: ! 6382: * tree.c (print_obstack_name): New function; derived from ! 6383: original debug_obstack. ! 6384: (debug_obstack): Call print_obstack_name. ! 6385: * print-tree.c (print_node): Print obstack node is contained in. ! 6386: ! 6387: Sat Aug 7 04:47:43 1993 Richard Stallman ([email protected]) ! 6388: ! 6389: * c-decl.c (finish_decl): Allow file-scope static incomplete array. ! 6390: ! 6391: Fri Aug 6 13:03:27 1993 Jim Wilson ([email protected]) ! 6392: ! 6393: * expr.c (expand_expr, case PLUS_EXPR): Goto binop2 not ! 6394: both_summands if we should not be returning a plus. ! 6395: ! 6396: Fri Aug 6 16:35:50 1993 Richard Stallman ([email protected]) ! 6397: ! 6398: * config/m68k/m68k.md (call and call_value pic recognizers) [HPUX_ASM]: ! 6399: Output plain bsr, without `@PLTPC'. ! 6400: ! 6401: Fri Aug 6 16:12:08 1993 Richard Kenner ([email protected]) ! 6402: ! 6403: * alpha.c (reg_or_6bit_operand): New function. ! 6404: * alpha.h (PREDICATE_CODES): Add reg_or_6bit_operand to list. ! 6405: * alpha.md (shifts): Use reg_or_6bit_operand for shift counts. ! 6406: ! 6407: Fri Aug 6 15:57:58 1993 Ian Lance Taylor ([email protected]) ! 6408: ! 6409: * gcc.c (main): If standard_startfile_prefix is a relative path, ! 6410: prepend standard_exec_prefix/MACHINE/VERSION and, if ! 6411: GCC_EXEC_PREFIX is defined, GCC_EXEC_PREFIX/MACHINE/VERSION. ! 6412: ! 6413: * configure: If config.status did not change, don't update its ! 6414: modification time. ! 6415: ! 6416: Fri Aug 6 15:23:49 1993 Richard Stallman ([email protected]) ! 6417: ! 6418: * c-typeck.c (output_init_element): Fix backward test in last change. ! 6419: Use TYPE_MAIN_VARIANT. ! 6420: ! 6421: Fri Aug 6 06:43:09 1993 Michael Meissner ([email protected]) ! 6422: ! 6423: * g++.c (fancy_abort): Provide function in case user does ! 6424: #define abort fancy_abort when building GCC. ! 6425: ! 6426: Fri Aug 6 00:15:21 1993 Richard Stallman ([email protected]) ! 6427: ! 6428: * cccp.c (main): If -v, print header search dir list. ! 6429: ! 6430: * c-typeck.c (output_init_element): Call default_conversion here. ! 6431: Set constructor_erroneous, etc., here. ! 6432: (process_init_element): Not here. ! 6433: ! 6434: Thu Aug 5 20:55:47 1993 Brendan Kehoe ([email protected]) ! 6435: ! 6436: Cygnus<->FSF merge. ! 6437: ! 6438: Thu Aug 5 17:07:20 1993 Brendan Kehoe ([email protected]) ! 6439: ! 6440: * cp-class.c (build_vtable, prepare_fresh_vtable): Turn on ! 6441: WRITABLE_VTABLES stuff that I disabled July 30th. ! 6442: * cp-pt.c: Include flags.h to get write_symbols. ! 6443: ! 6444: Thu Aug 5 15:50:25 1993 Mike Stump ([email protected]) ! 6445: ! 6446: * cp-class.c (finish_struct): Make DWARF conditional code, really ! 6447: DWARF conditional (write_symbols == DWARF_DEBUG). ! 6448: * cp-decl.c (pushtag): Ditto. ! 6449: * cp-decl2.c (finish_vtable_vardecl): Ditto. ! 6450: * cp-pt.c (end_template_instantiation): Ditto. ! 6451: * cp-search.c (dfs_debug_mark): Ditto. ! 6452: ! 6453: Wed Aug 4 15:42:19 1993 Brendan Kehoe ([email protected]) ! 6454: ! 6455: * cp-typeck.c (build_object_ref): Pass the original basetype, not ! 6456: the type value of it, into build_scoped_ref (completes change of ! 6457: Jul 1). ! 6458: ! 6459: Wed Aug 4 14:40:35 1993 Mike Stump ([email protected]) ! 6460: ! 6461: * cp-class.c (related_vslot): Additional check to make sure vslots ! 6462: are related. ! 6463: * cp-class.c (modify_vtable_entries): Use DECL_CONTEXT, not ! 6464: DECL_CLASS_CONTEXT when finding the vtable to put the virtual ! 6465: function in, as otherwise we might not be able to find secondary ! 6466: vtables. Ensures that the virtual function pointer will be put in ! 6467: the correct vtable, instead of the wrong one. ! 6468: * cp-class.c (modify_vtable_entry): Delete unused argument context. ! 6469: * cp-class.c (modify_vtable_entries): Ditto. ! 6470: ! 6471: Tue Aug 3 08:24:50 1993 Brendan Kehoe ([email protected]) ! 6472: ! 6473: * cp-init.c (nc_nelts_field_id): New variable to cache the value of ! 6474: the "nelts" identifier, to avoid unnecessary calls to get_identifier. ! 6475: (init_init_processing): Use it. ! 6476: (build_new): Likewise. ! 6477: (build_vec_delete): Likewise. ! 6478: ! 6479: * cp-decl2.c (walk_vtables): Make sure the type of VARS isn't an ! 6480: error_mark_node when we're running down the list. ! 6481: ! 6482: * cp-decl.c (grokdeclarator): Give an error and return an ! 6483: error_mark_node, instead of saying sorry, when we're dealing with a ! 6484: structure that's not yet been defined. Make sure type isn't an ! 6485: error_mark_node when looking for an anonymous type. ! 6486: ! 6487: * cp-pt.c (end_template_instantiation): If we're supplying dwarf ! 6488: debug info, set up the TYPE_STUB_DECL and output the rest of the ! 6489: debug output for the decl. ! 6490: ! 6491: * cp-search.c (pop_search_level): Change from a macro into a ! 6492: function, so we can more easily debug it. ! 6493: ! 6494: * cp-search.c (dfs_debug_mark): Only mark the type name as ignored ! 6495: if we aren't doing dwarf debugging. ! 6496: ! 6497: * cp-typeck.c (build_unary_op): Only allow the prefix operators to ! 6498: be lvalues, not the postfix ones. ! 6499: ! 6500: * cp-decl.c (duplicate_decls): Delete the code that saved and ! 6501: restored the UID of a decl, it's no longer necessary. ! 6502: ! 6503: * cp-call.c (compute_conversion_costs_ansi): Avoid generating ! 6504: warnings when we call build_type_conversion. ! 6505: ! 6506: Mon Aug 2 17:56:36 1993 Brendan Kehoe ([email protected]) ! 6507: ! 6508: * cp-decl.c (start_function): Complain about redeclaration of a ! 6509: template function, being careful to only deal with pre-parsed ! 6510: declarations that *are* in fact from templates. ! 6511: ! 6512: Fri Jul 30 18:03:10 1993 Brendan Kehoe ([email protected]) ! 6513: ! 6514: * cp-class.c, cp-decl.c, cp-pt.c, cp-tree.h: Delete all of the old ! 6515: code for DEBUG_CP_BINDING_LEVELS, and replace it with a new, cleaner, ! 6516: and more usable format. ! 6517: ! 6518: Fri Jul 30 17:06:24 1993 Brendan Kehoe ([email protected]) ! 6519: ! 6520: * cp-class.c (build_vtable, prepare_fresh_vtable): Temporarily ! 6521: disable the change of June 20th making vtables readonly by default. ! 6522: ! 6523: Fri Jul 30 14:47:09 1993 Mike Stump ([email protected]) ! 6524: ! 6525: * cp-init.c (emit_base_init): Make sure we initialize the pointer to ! 6526: vtables even when we are not in charge. Fixes virtual calls to derived ! 6527: objects that have a static base type, so that they call derived ! 6528: functions, not base functions. ! 6529: * cp-search.c (build_vbase_vtables_init): Change comments to reflect ! 6530: uses of last argument more accurately. Also rename last argument to ! 6531: a better name. ! 6532: ! 6533: Wed Jul 28 16:23:52 1993 Brendan Kehoe ([email protected]) ! 6534: ! 6535: * cp-search.c (build_type_pathname): Deleted fn. ! 6536: * cp-class.c (build_type_pathname): Moved to here and made static, ! 6537: since prepare_fresh_vtable is the only fn that ever uses it. ! 6538: * cp-tree.h (build_type_pathname): Deleted prototype. ! 6539: ! 6540: * g++.c (error) [!HAVE_VFPRINTF]: Move before fatal to avoid an ! 6541: implicit declaration. ! 6542: ! 6543: Wed Jul 28 13:49:58 1993 david d `zoo' zuhn ([email protected]) ! 6544: ! 6545: * Makefile.in (g++-cross): Add an explicit $(srcdir) for g++.c, pass ! 6546: the quotes as part of GCC_NAME ! 6547: ! 6548: * g++.c: only define GCC_NAME if it's already undefined ! 6549: ! 6550: Tue Jul 27 10:48:30 1993 Brendan Kehoe ([email protected]) ! 6551: ! 6552: * cp-decl.c (finish_decl): Don't error on uninitialized const ! 6553: arrays. Use error, not error_with_decl, so we know what really ! 6554: brought about the problems. ! 6555: ! 6556: * g++.c: New file, written in C so we don't do so many exec's, as we ! 6557: did with the shell script. ! 6558: * g++, c++: Deleted. ! 6559: * Makefile.in (STAGESTUFF): Added g++ and g++-cross. ! 6560: (all.cross): Added g++-cross. ! 6561: (all.build): Depend upon g++. ! 6562: (g++, g++-cross): New rules. ! 6563: (install-common): Depend upon g++. Changed installation of g++/c++ ! 6564: to install the g++ program, and link c++ to it. Likewise for ! 6565: g++-cross and c++-cross. ! 6566: ! 6567: Mon Jul 26 09:40:37 1993 Brendan Kehoe ([email protected]) ! 6568: ! 6569: * cp-typeck.c (build_unary_op) [case ADDR_EXPR]: When taking the ! 6570: address of an increment/decrement operation, act on the thing ! 6571: being incremented, not the ..._EXPR itself. ! 6572: ! 6573: Fri Jul 23 08:33:32 1993 Brendan Kehoe ([email protected]) ! 6574: ! 6575: * cp-call.c (build_method_call): Check DECL_STATIC_FUNCTION_P, not ! 6576: TREE_STATIC, when validating a method call in a static call context. ! 6577: ! 6578: Thu Aug 5 19:18:00 1993 Richard Kenner ([email protected]) ! 6579: ! 6580: * tree.h (TYPE_OBSTACK): New macro. ! 6581: (struct tree_type): Add new field obstack. ! 6582: * tree.c (make_node, copy_node): Set TYPE_OBSTACK. ! 6583: (build_type_variant, build_type_copy, build_pointer_type): Put ! 6584: new node in same obstack as old node; use push/pop obstacks. ! 6585: * stor-layout.c (layout_type): Put size-related nodes in same ! 6586: obstack as type. ! 6587: ! 6588: * reload.c (push_reload, find_reloads): Refine when we reload ! 6589: inside a SUBREG by respecting BYTE_LOADS_*_EXTEND; see comments ! 6590: in push_reload. ! 6591: ! 6592: Thu Aug 5 14:17:59 1993 Michael Meissner ([email protected]) ! 6593: ! 6594: * i386/osfrose.h (ASM_DECLARE_FUNCTION_SIZE): Enable setting the ! 6595: size for elf functions. ! 6596: ! 6597: Thu Aug 5 01:44:37 1993 Jeffrey A. Law ([email protected]) ! 6598: ! 6599: * toplev.c (rest_of_compilation): If not optimizing, turn off ! 6600: DECL_INLINE for functions declared as inline. Avoid turning on ! 6601: DECL_INLINE when -finline-functions is used without -O. ! 6602: ! 6603: Thu Aug 5 00:06:45 1993 Richard Stallman ([email protected]) ! 6604: ! 6605: * collect2.c (handler): Check whether c_file and o_file are 0. ! 6606: ! 6607: Wed Aug 4 18:06:26 1993 Samuel A. Figueroa ([email protected]) ! 6608: ! 6609: * i386/gas.h (ASM_FILE_START): Write out two backslashes for each ! 6610: backslash in the filename. ! 6611: ! 6612: Wed Aug 4 18:00:43 1993 Holger Teutsch ([email protected]) ! 6613: ! 6614: * clipper.md (movdf+2): Allow `f' register as source operand in ! 6615: first alternative. ! 6616: ! 6617: Wed Aug 4 07:35:03 1993 Richard Kenner ([email protected]) ! 6618: ! 6619: * reload1.c (eliminate_regs_in_insn): Always do elimination in ! 6620: REG_NOTES if we changed anything in the insn. ! 6621: ! 6622: * genattrtab.c: Include gvarargs.h after hconfig.h, like elsewhere. ! 6623: ! 6624: Wed Aug 4 01:32:27 1993 Richard Stallman ([email protected]) ! 6625: ! 6626: * c-typeck.c (output_init_element): Call digest_init before ! 6627: calling output_constant. Always pass 0, 0 for last 2 args ! 6628: to digest_init. ! 6629: ! 6630: * expr.c (do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic, ! 6631: copy INDEX to a register early, to avoid invalid address later. ! 6632: ! 6633: Tue Aug 3 23:56:49 1993 Richard Stallman ([email protected]) ! 6634: ! 6635: * gcc.c (process_command): Don't check whether file `-' exists. ! 6636: ! 6637: Tue Aug 3 18:52:13 1993 John Hassey ([email protected]) ! 6638: ! 6639: * configure (m88k-dg-dgux*): Use fixinc.dgux. ! 6640: * x-dgux (INSTALL_HEADERS): Definition deleted. ! 6641: * fixinc.dgux: New file. ! 6642: ! 6643: Tue Aug 3 17:34:53 1993 Richard Kenner ([email protected]) ! 6644: ! 6645: * calls.c (store_one_arg): Don't pass ARG->STACK as TARGET if it ! 6646: is a different mode than the expression (i.e., a promoted mode). ! 6647: ! 6648: * combine.c (force_to_mode): Now pass actual AND mask instead ! 6649: of number of bits; generalize appropriately. ! 6650: Move most cases from simplify_and_const_int in. ! 6651: (simplify_and_const_int): Remove most code from here; call ! 6652: force_to_mode instead. ! 6653: (subst, make_extraction, make_compound_operation): Change calls ! 6654: to force_to_mode. ! 6655: (make_field_assignment): Likewise. ! 6656: (simplify_comparison): Add call to force_to_mode when ! 6657: doing a sign bit comparison. ! 6658: * optabs.c (code_to_optab): New variable. ! 6659: (init_optab): Initialize it. ! 6660: * expr.h: Declare code_to_optab. ! 6661: ! 6662: Tue Aug 3 15:40:16 1993 Richard Stallman ([email protected]) ! 6663: ! 6664: * gstddef.h: Test and define __INT_WCHAR_T_H. ! 6665: ! 6666: Mon Aug 2 22:42:10 1993 Richard Stallman ([email protected]) ! 6667: ! 6668: * configure (i[34]86-sequent-sysv*): New alternative. ! 6669: * config/i386/seq-sysv3.h: New file. ! 6670: ! 6671: * combine.c (struct undo): Rename `rtx' fields to `r'. ! 6672: (undo_all, SUBST, gen_rtx_combine): Corresponding changes. ! 6673: ! 6674: Mon Aug 2 18:53:23 1993 Richard Kenner ([email protected]) ! 6675: ! 6676: * combine.c (subst): Move simple operations inside IF_THEN_ELSE ! 6677: if the IF_THEN_ELSE is in the second operand as well as the first. ! 6678: (subst, case NEG): Use plus_constant to make a PLUS. ! 6679: (subst, case MINUS): Simplify (minus 1 (comparison foo bar)). ! 6680: (subst, case EQ): Add a number of missing cases where ! 6681: comparisons may be replaced with arithmetic or logical ops. ! 6682: (subst, case IF_THEN_ELSE): Handle (if_then_else COND (OP Z C1) Z) ! 6683: in a more general manner. ! 6684: (simplify_and_const_int): Make AND with gen_binary in case we ! 6685: can simplify it. ! 6686: ! 6687: Mon Aug 2 14:45:43 1993 Frederic Pierresteguy ([email protected]) ! 6688: ! 6689: * genattrtab.c (substitute_address): In prototype, don't specify ! 6690: the arg types of the arg functions. ! 6691: ! 6692: * config/m68k/x-dpx2 (CLIB): Fix typo. ! 6693: ! 6694: Mon Aug 2 06:36:53 1993 John F Carr ([email protected]) ! 6695: ! 6696: * local-alloc.c (block_alloc): Don't attempt to allocate a ! 6697: SCRATCH if it will not fit in scratch_list. ! 6698: ! 6699: Mon Aug 2 00:02:54 1993 Richard Stallman ([email protected]) ! 6700: ! 6701: * calls.c (expand_call): Check properly for volatile function. ! 6702: ! 6703: Sun Aug 1 04:18:23 1993 Richard Stallman ([email protected]) ! 6704: ! 6705: * c-common.c (decl_attributes): Support attributes `volatile' ! 6706: with alias `noreturn', and `const'. ! 6707: * c-parse.in (attrib): Accept those attributes. ! 6708: ! 6709: * c-typeck.c (build_binary_op): Warn about ordered comparison ! 6710: between pointers to complete and incomplete types. ! 6711: ! 6712: * c-parse.in (stmt): In an expr stmt, call default_conversion ! 6713: for arrays and for functions. ! 6714: ! 6715: * c-decl.c (finish_struct): No pedwarn for field with enum type ! 6716: if size matches int. ! 6717: (grokdeclarator): No error for void type for extern or global var. ! 6718: ! 6719: * c-typeck.c (digest_init): No error for a STRING_CST that already ! 6720: went through digest_init. ! 6721: (parser_build_binary_op): Generate a NON_LVALUE_EXPR, not NOP_EXPR, ! 6722: around a constant value. ! 6723: ! 6724: * config/m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL) ! 6725: (ASM_GENERATE_INTERNAL_LABEL): Definitions deleted. ! 6726: ! 6727: * expr.c (do_tablejump): Use PIC_CASE_VECTOR_ADDRESS if defined. ! 6728: * config/m68k/m68k.h (PIC_CASE_VECTOR_ADDRESS): Defined. ! 6729: (GO_IF_LEGITIMATE_ADDRESS): If pic, accept LABEL+INDEX. ! 6730: ! 6731: * c-decl.c (grokdeclarator): Warn here for volatile fn returning ! 6732: non-void type. ! 6733: (start_function): Not here. ! 6734: ! 6735: * c-decl.c (grokdeclarator): Don't pass on const and volatile ! 6736: fron function value type to function type. ! 6737: ! 6738: Sat Jul 31 01:48:08 1993 Richard Stallman ([email protected]) ! 6739: ! 6740: * c-typeck.c (digest_init): Finish getting rid of tail. ! 6741: Also get rid of old_tail_contents. Don't set free_tree_list. ! 6742: (free_tree_list): Var deleted. ! 6743: ! 6744: * c-typeck.c (process_init_element): Treat string constants specially ! 6745: only for arrays of integers. ! 6746: ! 6747: Fri Jul 30 06:49:58 1993 Torbjorn Granlund ([email protected]) ! 6748: ! 6749: * expmed.c (mult_is_very_cheap): Delete. ! 6750: (mult_cost): Delete. ! 6751: (init_expmed): Delete computation of mult_cost and mult_is_very_cheap. ! 6752: (expand_mult): Compute mult_cost here for every constant multiplier. ! 6753: (synth_mult): Return found algorithms through a struct pointer. ! 6754: ! 6755: Fri Jul 30 06:45:35 1993 Richard Kenner ([email protected]) ! 6756: ! 6757: * fold-const.c (fold, case NOP_EXPR): Delete a pair of conversions ! 6758: back to the original type when intermediate type is at least as wide. ! 6759: ! 6760: * combine.c: Remove change of July 21. ! 6761: (this_basic_block): New variable. ! 6762: (combine_instructions): Set it. ! 6763: (try_combine, distribute_links): Use it and basic_block_head ! 6764: to see if we've gone to a new basic block instead of trying ! 6765: to reproduce calculation done in flow. ! 6766: ! 6767: * stmt.c (expand_return): Don't use jumps for "return x == y" if ! 6768: they are expensive. ! 6769: ! 6770: Fri Jul 30 02:03:12 1993 Richard Stallman ([email protected]) ! 6771: ! 6772: * config/i386/i386.md (ffssi2 and ffshi2 recognizers): ! 6773: Generate unique labels by hand. ! 6774: ! 6775: Thu Jul 29 01:47:21 1993 Richard Stallman ([email protected]) ! 6776: ! 6777: * c-typeck.c (push_init_level): For braces around scalar, just warn. ! 6778: (process_init_element): Special handling for {"foo"}. ! 6779: (struct constructor_stack): New field `replacement_value'. ! 6780: (push_init_level, really_start_incremental_init): Clear new field. ! 6781: (pop_init_level): Return the replacement_value if any. ! 6782: At top level in initializer, output that value, ! 6783: and set the array size from it. ! 6784: ! 6785: * c-typeck.c (digest_init): Delete arg TAIL. Fix all calls. ! 6786: ! 6787: * objc-act.c (build_shared_structure_initializer): ! 6788: Call default_conversion for NAME. ! 6789: (add_objc_string): Make an ADDR_EXPR to return. ! 6790: (init_objc_symtab): Make ADDR_EXPR for UOBJC_SELECTOR_TABLE_decl. ! 6791: ! 6792: * objc-act.c: Build all CONSTRUCTORs with types. ! 6793: (build_constructor): New function. All CONSTRUCTOR builds changed. ! 6794: (init_def_list, init_objc_symtab): New arg TYPE. ! 6795: (init_module_descriptor): Likewise. ! 6796: (init_objc_symtab): Pass TYPE arg to init_def_list. ! 6797: (generate_objc_symtab_decl): Pass TYPE arg to init_objc_symtab. ! 6798: (build_module_descriptor): Pass TYPE arg to init_module_descriptor. ! 6799: (build_descriptor_table_initializer): New arg TYPE. ! 6800: (generate_method_descriptors): Pass TYPE arg to ! 6801: build_descriptor_table_initializer. ! 6802: (generate_protocols): Pass TYPE arg to build_protocol_initializer. ! 6803: (uild_protocol_initializer): New arg TYPE. ! 6804: (build_ivar_list_initializer): New arg TYPE. ! 6805: (generate_ivar_lists): Pass TYPE arg to build_ivar_list_initializer. ! 6806: (build_dispatch_table_initializer): New arg TYPE. ! 6807: (generate_dispatch_tables): Pass TYPE arg to ! 6808: build_dispatch_table_initializer. ! 6809: (build_category_initializer): New arg TYPE. ! 6810: (build_shared_structure_initializer): New arg TYPE. ! 6811: (generate_category): Pass TYPE arg to build_category_initializer. ! 6812: (generate_shared_structures): Pass TYPE arg to ! 6813: build_shared_structure_initializer. ! 6814: ! 6815: * config/i386/x-ncr3000 (CC, OLDCC): Deleted. ! 6816: * config/i386/xm-sysv4.h [__HIGHC__]: Include alloca.h. ! 6817: ! 6818: * convert.c (convert_to_integer): Don't pass truncate into ABS_EXPR. ! 6819: ! 6820: * configure: Ignore -enable... and --enable... options. ! 6821: ! 6822: Wed Jul 28 20:15:05 1993 Richard Stallman ([email protected]) ! 6823: ! 6824: * Makefile.in (compare): Add ./ in tail command. ! 6825: ! 6826: Wed Jul 28 15:36:11 1993 Richard Kenner ([email protected]) ! 6827: ! 6828: * integrate.c (copy_rtx_and_substitute, case LABEL_REF): If ! 6829: we turn off LABEL_REF_NONLOCAL_P, increment function_call_count. ! 6830: ! 6831: * integrate.c (copy_for_inline, case LABEL_REF): Properly copy ! 6832: LABEL_REF with LABEL_REF_NONLOCAL_P set. ! 6833: Copy LABEL_OUTSIDE_LOOP_P flag. ! 6834: (copy_rtx_and_substitute, case LABEL_REF): Likewise. ! 6835: (copy_rtx_and_substitute, case CONST): Make recursive call for ! 6836: a LABEL_REF in the constant pool. ! 6837: ! 6838: * c-iterate.c (iterator_loop_{pro,epi}logue): Set TREE_SIDE_EFFECTS ! 6839: on the MODIFY_EXPRs we make. ! 6840: Pass const0_rtx as TARGET to expand_expr. ! 6841: * cp-cvt.c (build_up_reference): Set TREE_SIDE_EFFECTS on MODIFY_EXPR. ! 6842: * stmt.c (expand_return): Likewise. ! 6843: ! 6844: Wed Jul 28 12:17:39 1993 Michael Meissner ([email protected]) ! 6845: ! 6846: * i386/osfrose.h (SUBTARGET_OVERRIDE_OPTIONS): Use this instead of ! 6847: OVERRIDE_OPTIONS. ! 6848: ! 6849: Wed Jul 28 13:45:13 1993 Richard Stallman ([email protected]) ! 6850: ! 6851: * expr.c (expand_expr, case ADDR_EXPR): Treat CONCAT like REG. ! 6852: ! 6853: * c-decl.c (start_function): Warn if volatile fn returns non-void. ! 6854: ! 6855: Wed Jul 28 13:22:15 1993 Jim Wilson ([email protected]) ! 6856: ! 6857: * c-parse.in (simple_if, if_prefix, stmt): Undo Jul 7 change. ! 6858: (if_prefix): Store stmt_count in $$ not $1. ! 6859: (stmt): Add comment explaining why empty-if warning is here. ! 6860: ! 6861: * sparc.c (shift_operand): New function. ! 6862: * sparc.md (ashlsi3, ashrsi3, lshrsi3): Use shift_operand. ! 6863: ! 6864: * loop.c (strength_reduce): Don't ignore a giv that depends on a ! 6865: reversed biv. ! 6866: ! 6867: * mips/x-sysv (ALLOCA): Define. ! 6868: * mips-5.h (STARTFILE_SPEC): Define. ! 6869: * x-iris3: New file. ! 6870: * configure (mips-sgi-*): Use x-iris3 instead of x-iris. ! 6871: * Makefile.in (libgcc.a): Do `chmod +w *' between two ar commands. ! 6872: ! 6873: * i960.h (INITIAL_FRAME_POINTER_OFFSET): Negate, and subtract 64 ! 6874: bytes. ! 6875: ! 6876: * sched.c (schedule_block): Do not emit line number notes before ! 6877: other notes. ! 6878: ! 6879: * varasm.c (assemble_variable): flag_no_common applies only if ! 6880: external linkage. ! 6881: ! 6882: * calls.c (expand_call): For unaligned arguments on ! 6883: BYTES_BIG_ENDIAN machines, correct bitfield offset calculations. ! 6884: * expr.c (move_block_from_reg): New argument SIZE. If SIZE less ! 6885: than word and BYTES_BIG_ENDIAN, shift block left to align it ! 6886: before storing it to memory. ! 6887: * expr.h (move_block_from_reg): Add new argument to prototype. ! 6888: * function.c (assign_parms): Pass extra argument SIZE to ! 6889: move_block_from_reg calls. ! 6890: (locate_and_pad_parm): For !ARGS_GROW_DOWNWARD case, move downward ! 6891: padding pad_below call after round_up call. ! 6892: * mips.c (function_arg): Shift all structures less than 4 bytes, ! 6893: not just those which are QImode or HImode. ! 6894: * a29k.h, alpha.h, i960.c, m88k.c, pa.c, romp.h, rs6000.h: ! 6895: Add new parameter to move_block_from_reg calls. ! 6896: ! 6897: Wed Jul 28 12:40:06 1993 Doug Evans ([email protected]) ! 6898: ! 6899: * expmed.c (store_split_bitfield): Fix handling of bitfields that ! 6900: cross word boundaries, can only handle a word at a time. ! 6901: (extract_split_bitfield): Likewise. ! 6902: ! 6903: Wed Jul 28 06:44:50 1993 John Hassey ([email protected]) ! 6904: ! 6905: * configure: Use m88k/x-sysv3 for m88k-*-sysv3. ! 6906: * m88k/x-sysv3: New file, use gnu alloca. ! 6907: ! 6908: Tue Jul 27 13:53:06 1993 Per Bothner ([email protected]) ! 6909: ! 6910: * fixproto: Pass '-' to tr as the 1-character range '---'. ! 6911: * cross-make: Define STMP_FIXPROTO to empty for cross. ! 6912: * patch-header.c (read_scan_file): Minor re-write to avoid ! 6913: obstack_copy0, since that uses the non-portable bcopy(). ! 6914: * Makefile.in (patch-header): Use $(HOST_OBSTACK). ! 6915: * gen-protos.c (main): Disable obnoxious warning message. ! 6916: ! 6917: Tue Jul 27 16:42:44 1993 John F Carr ([email protected]) ! 6918: ! 6919: * fold-const.c (optimize_bit_field_compare): Preserve volatility ! 6920: of bitfield. ! 6921: ! 6922: Tue Jul 27 01:33:25 1993 Richard Stallman ([email protected]) ! 6923: ! 6924: * c-typeck.c (convert_for_assignment): Mismatch in signedness ! 6925: of pointer targets should not inhibit warnings for const mismatch. ! 6926: ! 6927: * function.c (assign_parms): Don't copy too much when extending ! 6928: parm_reg_stack_loc. ! 6929: ! 6930: * config/m88k/m88k.h (ASM_DECLARE_OBJECT_NAME): Don't make a .size ! 6931: if the size is not known. Use DECL, not decl. ! 6932: * config/svr4.h, config/i386/osfrose.h: Likewise. ! 6933: ! 6934: * c-typeck.c (set_init_index): Add pedantic warning. ! 6935: (set_init_label): Likewise. ! 6936: ! 6937: Tue Jul 27 14:22:48 1993 Frederic Pierresteguy ([email protected]) ! 6938: ! 6939: * gstddef.h (_WCHAR_T_H): Test this and define this. ! 6940: ! 6941: * configure (m68k-bull-sysv): Test for --stabs; ! 6942: generate either native coff or dbx-in-coff debugging information. ! 6943: ! 6944: * config/m68k/dpx2.h (CPP_PREDEFINES): added -D_POSIX_SOURCE ! 6945: -D_XOPEN_SOURCE -D_BULL_SOURCE to the list. ! 6946: (CPP_SPEC): removed ansi definition. ! 6947: * config/m68k/dpx2g.h (DBX_DEBUGGING_INFO): Remove this to let gcc ! 6948: deals with gas and coff. ! 6949: * config/m68k/dpx2cdbx.h: New file for gas and dbx-in-coff. ! 6950: * config/x-dpx2 (CLIB): removed -lc_s and added -lmalloc. ! 6951: (X_CFLAGS): removed -D_SYSV and added -D_POSIX_SOURCE -D_XOPEN_SOURCE ! 6952: -D_BULL_SOURCE to deal with the posix stuff. ! 6953: ! 6954: Mon Jul 26 17:42:22 1993 Richard Stallman ([email protected]) ! 6955: ! 6956: * c-typeck.c (digest_init): Add `static' to definition. ! 6957: ! 6958: * combine.c (simplify_shift_const): Inhibit hacks based on ! 6959: num_sign_bit_copies if shift_mode differs from the mode of varop. ! 6960: ! 6961: * toplev.c (main): When -W sets warn_uninitialized, avoid later warning ! 6962: if warn_uninitialized is not supported. ! 6963: ! 6964: Mon Jul 26 14:14:02 BST 1993 Richard Earnshaw ([email protected]) ! 6965: ! 6966: * collect2.c (NAME__MAIN, SYMBOL__MAIN): Add default definitions. ! 6967: (write_c_file, scan_prog_file [OBJECT_FORMAT_ROSE]): ! 6968: Use macros instead of explicitly __main. ! 6969: ! 6970: * function.c (expand_main_function): Likewise. ! 6971: ! 6972: * libgcc2.c (__main): Use macro SYMBOL__MAIN instead of invoking ! 6973: directly. ! 6974: ! 6975: Mon Jul 26 16:03:33 1993 Richard Kenner ([email protected]) ! 6976: ! 6977: * fold-const.c (fold, case EQ_EXPR): Remove code that converts ! 6978: mod to unsigned mod; it isn't correct for negative operands. ! 6979: ! 6980: * toplev.c (strip_off_ending): Allow .ad* for Ada. ! 6981: ! 6982: Mon Jul 26 14:06:04 1993 Bill Cox ([email protected]) ! 6983: ! 6984: * c-decl.c (print_lang_decl, print_lang_type): Correct function ! 6985: headers to match prototype, and calls. ! 6986: ! 6987: Sun Jul 25 17:01:34 1993 Per Bothner ([email protected]) ! 6988: ! 6989: * fixproto: New script to add prototypes and otherwise clean up ! 6990: system include files (especially for C++ and also gcc -Wimplicit). ! 6991: * scan-decl.c: New program used by fixproto to analyze header ! 6992: files (it extracts declarations from cpp output). ! 6993: * patch-header.c: New program used by fixproto to analyze and ! 6994: patch header files. ! 6995: * scan.c: New file. Routines used by scan-decls and ! 6996: patch-header. ! 6997: * scan.h: New file. Common declarations. ! 6998: * gen-protos.c: New file. Massages a list of prototypes. ! 6999: * Makefile.in: Add fixproto support. ! 7000: * populate: Deleted. Superseded by fixproto. ! 7001: ! 7002: Sun Jul 25 03:56:18 1993 Richard Stallman ([email protected]) ! 7003: ! 7004: * c-typeck.c (start_init): Fill in p->next. ! 7005: ! 7006: * config/i386/i386.md (movstrictqi): Change q<-g alternative to q<-m. ! 7007: ! 7008: Sat Jul 24 18:17:55 1993 Richard Stallman ([email protected]) ! 7009: ! 7010: * expr.c (emit_move_insn_1): For complex stack push, ! 7011: don't use change_address. ! 7012: ! 7013: Sat Jul 24 15:05:50 1993 Per Bothner ([email protected]) ! 7014: ! 7015: * fixincludes (unistd.h): Generalize AIX fix (for using ! 7016: C++ keyword new) to unistd.h as well as stdio.h. ! 7017: * fixincludes (sys/wait.h): Fix NeXT problem with ! 7018: a 'wait(union wait*)' prototype that breaks Posix.1. ! 7019: * fixincludes (math.h): For C++, patch AIX's use of ! 7020: 'class' as function name. ! 7021: ! 7022: Sat Jul 24 02:48:31 1993 Richard Stallman ([email protected]) ! 7023: ! 7024: * function.c (put_reg_into_stack): New subroutine. ! 7025: (put_var_into_stack): Use that; handle CONCAT. ! 7026: ! 7027: * varasm.c (assemble_variable): For array whose size comes from ! 7028: the initializer, determine proper alignment here. ! 7029: (assemble_align): New function. ! 7030: ! 7031: * c-typeck.c: Handle gaps in record initializers. ! 7032: (constructor_bit_index): New variable. ! 7033: (constructor_stack): New field bit_index. ! 7034: (really_start_incremental_init, push_init_level): Save and init it. ! 7035: (pop_init_level): Restore it. ! 7036: (output_init_element): Update constructor_bit_index. ! 7037: Use it to output gaps. ! 7038: (pop_init_level): Speed up by using constructor_bit_index. ! 7039: ! 7040: * c-typeck.c (process_init_element): Accept STRING_CST for subarray. ! 7041: ! 7042: * loop.c (mark_loop_jump): Handle weird cases like jumping to ! 7043: a symbol_ref. ! 7044: ! 7045: Fri Jul 23 15:55:14 1993 Doug Evans ([email protected]) ! 7046: ! 7047: * c-tree.h: Fix prototypes for print_lang_decl, print_lang_type. ! 7048: ! 7049: Fri Jul 23 15:06:05 1993 Richard Stallman ([email protected]) ! 7050: ! 7051: * c-typeck.c (start_init): Second arg is now a tree. ! 7052: ! 7053: Fri Jul 23 08:26:43 1993 Brendan Kehoe ([email protected]) ! 7054: ! 7055: Cygnus<->FSF merge. ! 7056: Thu Jul 22 09:54:05 1993 Brendan Kehoe ([email protected]) ! 7057: ! 7058: * cp-decl.c (push_overloaded_decl): Fix typo in warning msg. ! 7059: ! 7060: Tue Jul 20 13:13:18 1993 Mike Stump ([email protected]) ! 7061: ! 7062: * cp-class.c (build_vtable, prepare_fresh_vtable): Make the vtables ! 7063: readonly by default. ! 7064: ! 7065: Mon Jul 19 13:16:58 1993 Brendan Kehoe ([email protected]) ! 7066: ! 7067: * cp-tree.h (NEW_CLASS_SCOPING): Turn this off for now. ! 7068: ! 7069: Mon Jul 19 11:04:51 1993 Jason Merrill ([email protected]) ! 7070: ! 7071: * cp-class.c (build_vfn_ref): Rename `index' to `idx'. ! 7072: ! 7073: Fri Jul 16 07:44:49 1993 Brendan Kehoe ([email protected]) ! 7074: ! 7075: * cp-class.c (finish_struct): Check both if the type has a default ! 7076: constructor, and if it has a non-const copy constructor, so we'll know ! 7077: not to generate a const copy constructor for the type we're working on. ! 7078: * cp-lex.c (cons_up_default_function): Add other front-end debugging ! 7079: info. ! 7080: (default_copy_constructor_body): And take it out of here. ! 7081: ! 7082: * cp-expr.c (cplus_expand_expr): Add missing arguments to expand_expr. ! 7083: ! 7084: Thu Jul 15 16:54:33 1993 Brendan Kehoe ([email protected]) ! 7085: ! 7086: * cp-lex.c (default_copy_constructor_body): Also check to copy ! 7087: anonymous unions, since they don't show up as FIELD_DECLs. ! 7088: (largest_union_member): New function. ! 7089: ! 7090: Thu Jul 15 16:23:18 1993 Mike Stump ([email protected]) ! 7091: ! 7092: * cp-expr.c (cplus_expand_expr): Use resolve_offset_ref to handle ! 7093: OFFSET_REFs, as anything else would be wrong. ! 7094: ! 7095: Thu Jul 15 13:23:40 1993 Mike Stump ([email protected]) ! 7096: ! 7097: * cp-tree.h (CLASSTYPE_INTERFACE_KNOWN, ! 7098: SET_CLASSTYPE_INTERFACE_UNKNOWN_X, SET_CLASSTYPE_INTERFACE_UNKNOWN, ! 7099: SET_CLASSTYPE_INTERFACE_KNOWN): New access methods. ! 7100: * cp-class.c (import_export_vtable, duplicate_tag_error, ! 7101: finish_struct): Use new access method. ! 7102: * cp-decl.c: (grokfndecl, grokdeclarator, xref_tag): Ditto. ! 7103: * cp-gc.c (build_t_desc): Ditto. ! 7104: * cp-lex.c (set_vardecl_interface_info, make_lang_type): Ditto. ! 7105: * cp-pt.c (end_template_instantiation, do_pending_expansions): ! 7106: Ditto. ! 7107: * cp-search.c (dfs_debug_mark): Ditto. ! 7108: ! 7109: * cp-decl.c (grok_reference_init): Reword error message. ! 7110: ! 7111: Wed Jul 14 09:17:18 1993 Brendan Kehoe ([email protected]) ! 7112: ! 7113: * cp-cvt.c (convert_to_reference): Adjust change of May 30th to ! 7114: accept more things (and still handle ARM p308 properly). Disable ! 7115: the old way, but leave it to be properly fixed later. ! 7116: ! 7117: Tue Jul 13 22:43:38 1993 Mike Stump ([email protected]) ! 7118: ! 7119: * cp-decl.c (get_binfo_from_vfield): New function. ! 7120: * cp-decl.c (finish_function): Use get_binfo_from_vfield to get the ! 7121: binfo used to find the vtable for this vfields. Corrects problem ! 7122: with vtable pointers being wrong during called member functions, ! 7123: called from destructors. ! 7124: ! 7125: Tue Jul 13 11:52:37 1993 Brendan Kehoe ([email protected]) ! 7126: ! 7127: * cp-decl.c (grokdeclarator): Don't pedwarn about a duplicate long ! 7128: for `long long', until we figure out how we really want to handle it. ! 7129: ! 7130: Sat Jul 10 14:54:36 1993 Chip Salzenberg ([email protected]) ! 7131: ! 7132: * cp-tree.h (warn_redundant_decls, warn_missing_braces): Declared. ! 7133: * cp-decl.c (warn_redundant_decls): Not declared here. ! 7134: * cp-decl2.c (warn_missing_braces): Defined. ! 7135: (lang_decode_option): Handle -Wmissing-braces. ! 7136: * cp-type2.c (process_init_constructor): Test warn_missing_braces. ! 7137: ! 7138: * cp-typeck.c (build_binary_op_nodefault): Make warning ! 7139: message distinguish between right/left and shift/rotate. ! 7140: ! 7141: * cp-decl.c (init_decl_processing): When making SIZETYPE, ! 7142: start with name in SIZE_TYPE. If -traditional, use a signed ! 7143: version of that type, if it is unsigned. ! 7144: ! 7145: * cp-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in ! 7146: addition to TREE_CONSTANT_OVERFLOW. ! 7147: ! 7148: * cp-decl.c (finish_enum): Store layout results into variant types. ! 7149: ! 7150: * cp-typeck.c (internal_build_compound_expr): When pedantic, don't ! 7151: simplify a COMPOUND_EXPR, so that it won't be mistaken for an ! 7152: lvalue or an integer constant expression. ! 7153: ! 7154: * cp-parse.y (program): After extdefs, pop any unpopped binding lvls. ! 7155: ! 7156: * cp-decl.c (grokdeclarator, ARRAY_REF case): Build array type, ! 7157: and then build the variant array type. ! 7158: ! 7159: * cp-lex.c (real_yylex): Avoid invalid shift for erroneous empty ! 7160: char const. ! 7161: ! 7162: * cp-decl.c (complete_array_type): Make maxindex -1 for empty ! 7163: constructor. ! 7164: ! 7165: * cp-type2.c (initializer_constant_valid_p): Allow cast of ptr to ! 7166: wider integer. ! 7167: ! 7168: * cp-decl.c (pushdecl): Copy DECL_FRAME_SIZE for inline function decls. ! 7169: ! 7170: * cp-decl.c (finish_decl): Do not allocate static var of ! 7171: unknown size. ! 7172: (complete_array_type): Use 0 as default maxindex. ! 7173: ! 7174: Fri Jul 23 07:18:20 1993 Richard Kenner ([email protected]) ! 7175: ! 7176: * function.c (aggregate_value_p): An ARRAY_TYPE is also an aggregate. ! 7177: ! 7178: Fri Jul 23 01:54:28 1993 Richard Stallman ([email protected]) ! 7179: ! 7180: * gcc.c (main): Improve "No input files" error message. ! 7181: ! 7182: Thu Jul 22 23:00:11 1993 Jeffrey A. Law ([email protected]) ! 7183: ! 7184: * reorg.c (relax_delay_slots): Do not redirect a jump if doing so ! 7185: invalidates insns in the jump's delay slots. ! 7186: (redirect_with_delay_slots_safe_p): New function. ! 7187: ! 7188: Thu Jul 22 18:01:29 1993 John Hassey ([email protected]) ! 7189: ! 7190: * invoke.texi, m88k.h, m88k.c: Changed serialize-volatile ! 7191: to use tb1 instead of fldcr, fldcr has problems on 88110. ! 7192: Made serialize-volatile the default behavior for all models. ! 7193: ! 7194: Thu Jul 22 11:19:28 PDT 1993 Ron Guilmette ([email protected]) ! 7195: ! 7196: * fixinc.svr4 (making LIB absolute): Just concat with $ORIG_DIR. ! 7197: ! 7198: * configure: Use `sed' rather than `cat' to put `MAYBE_TARGET_DEFAULT' ! 7199: definition in. (This is a work-around for an NFS bug.) ! 7200: ! 7201: Thu Jul 22 14:59:38 1993 Richard Stallman ([email protected]) ! 7202: ! 7203: * c-typeck.c: Output most constructors an element at a time. ! 7204: (digest_init): Deleted code for raw constructors. ! 7205: (process_init_constructor): Function deleted. ! 7206: (start_init, finish_init): New functions. ! 7207: (really_start_incremental_init) ! 7208: (push_init_level, check_init_type_bitfields, pop_init_level) ! 7209: (set_init_index, set_init_label, process_init_element) ! 7210: (output_init_element, output_pending_init_elements): New functions. ! 7211: * c-tree.h: Declare most of those functions. ! 7212: ! 7213: * c-parse.in (cast_expr): Use new initializer parsing functions. ! 7214: (initdcl, notype_initdcl): Likewise. ! 7215: (init): Likewise. ! 7216: (initlist_maybe_comma, initlist1): These replace initlist. ! 7217: (initelt): New nonterminal. ! 7218: Change specified index syntax to `[INDEX]='. ! 7219: Change specified field syntax to `.NAME='. ! 7220: ! 7221: * varasm.c (output_constant_def_contents): New function. ! 7222: (output_constant_def): Use it. ! 7223: (deferred_constants): New list of constants not yet output. ! 7224: (defer_addressed_constants): New function. ! 7225: (output_deferred_addressed_constants): New function. ! 7226: (make_decl_rtl): Don't ever replace old rtl; ! 7227: instead, change its mode if necessary. ! 7228: ! 7229: Wed Jul 21 15:50:19 1993 Jim Wilson ([email protected]) ! 7230: ! 7231: * expr.c (expand_expr, COMPONENT_REF case): For unaligned object ! 7232: in an aligned union, set MEM_IN_STRUCT_P if create a MEM rtx. ! 7233: ! 7234: * sparc.c (output_move_double): Only set highest_first if first reg ! 7235: of dest overlaps memory src address. Otherwise, if addreg1 set and ! 7236: is same as second reg of dest, suppress trailing decrement. ! 7237: ! 7238: * sparc.md (movdi+1): Delete & from r/i constraint. ! 7239: ! 7240: From [email protected]: ! 7241: * fixinc.svr4 (<ftw.h>): Don't apply specialized fixes to <ftw.h> ! 7242: if we are on Solaris. They are not needed in that case. ! 7243: ! 7244: * combine.c (nonlocal_label_list): New variable. ! 7245: (combine_instructions): Set it. ! 7246: (try_combine, distribute_links): CALL_INSN terminates a basic ! 7247: block if nonlocal_label_list is set. ! 7248: ! 7249: * config/mips/{bsd-4.h, bsd-5.h, iris3.h, mips.h, news4.h, ! 7250: news5.h, nws3250v4.h, osfrose.h, svr3-4.h, svr3-5.h, svr4-4.h, ! 7251: svr4-5.h, ultrix.h} (CPP_SPEC): Define LANGUAGE_ASSEMBLY, not ! 7252: LANGUAGE_C, when compiling a .s file. ! 7253: ! 7254: * m68k.h (TARGET_SWITCHES): Recognize -m68851, -mno-68851, ! 7255: -m68302, -mno-68302, -m68332, -mno-68332. ! 7256: ! 7257: * lynx.h, i386/lynx.h, m68k/lynx.h, sparc/lynx.h: New files. ! 7258: * i386.h (OVERRIDE_OPTIONS, SUBTARGET_OVERRIDE_OPTIONS): Define. ! 7259: * m68k.h (TARGET_SWITCHES): Add SUBTARGET_SWITCHES. ! 7260: (OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS. ! 7261: (SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define. ! 7262: * sparc.h (TARGET_SWITCHES): Add SUBTARGET_SWITCHES. ! 7263: (OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS. ! 7264: (SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define. ! 7265: ! 7266: * fixincludes (sys/types.h sys/stdtypes.h): Delete newline before ! 7267: do. ! 7268: (machine/cpu.h): Delete space in `2>& 1'. ! 7269: ! 7270: * config.sub (lynx): Recognize as vendor. ! 7271: (lynxos): Recognize as OS. ! 7272: * configure (i386-*-lynxos, sparc-*-lynxos, m68k-*-lynxos): ! 7273: Recognize as new configurations. ! 7274: ! 7275: * gcc.c (link_command_spec): Move %{T*} after %{L*} and %D. ! 7276: ! 7277: * optabs.c (expand_binop): Synthesize double word shifts and ! 7278: rotates from single word shifts. ! 7279: * sparc.md (ashldi3, lshrdi3): Obsolete, deleted. ! 7280: ! 7281: Wed Jul 21 15:55:18 1993 Ian Lance Taylor ([email protected]) ! 7282: ! 7283: * fixinc.svr4: When fixing ftw.h, preserve remainder of ! 7284: ftw and nftw declaration; don't just rewrite it. ! 7285: ! 7286: Tue Jul 20 23:35:36 1993 Richard Stallman ([email protected]) ! 7287: ! 7288: * collect2.c (is_ctor_dtor): Delete leading _'s from sym names ! 7289: in `special' table, in neither-dots-nor-dollars case. ! 7290: ! 7291: Tue Jul 20 18:49:09 1993 Michael Meissner ([email protected]) ! 7292: ! 7293: * i386/osfrose.h, i386/osfelf.h (CC1_SPEC): Don't turn on ! 7294: -mhalf-pic if ELF. ! 7295: ! 7296: * i386/osfrose.h (ASM_FILE_END): Put filename, sans directory into ! 7297: the .ident string. ! 7298: ! 7299: Tue Jul 20 15:07:06 1993 Richard Kenner ([email protected]) ! 7300: ! 7301: * combine.c: Add prototypes for static functions. ! 7302: (subst, case IF_THEN_ELSE): Add missing arg to make_compound_operation. ! 7303: (make_compound_operation, case ASHIFTRT): Delete extra gen_unary arg. ! 7304: ! 7305: Mon Jul 19 18:15:48 1993 John F Carr ([email protected]) ! 7306: ! 7307: * rs6000.c (current_file_function_operand): New function. ! 7308: * rs6000.h (ENCODE_SECTION_INFO): New macro. ! 7309: (PREDICATE_CODES): Add current_file_function_operand. ! 7310: * rs6000.md: Add variants of call and call_value patterns for ! 7311: calls to functions defined in the same file. Omit the TOC pointer ! 7312: reload after such calls. ! 7313: ! 7314: Mon Jul 19 13:17:52 1993 Jeffrey A. Law ([email protected]) ! 7315: ! 7316: * reorg.c (fill_simple_delay_slots): Try filling any insn needing ! 7317: delay slots with a JUMP_INSN. ! 7318: ! 7319: Mon Jul 19 00:33:24 1993 Richard Stallman ([email protected]) ! 7320: ! 7321: * varasm.c (assemble_variable): New arg DONT_OUTPUT_DATA. ! 7322: * toplev.c (rest_of_decl_compilation): Pass 0 as DONT_OUTPUT_DATA. ! 7323: ! 7324: Sun Jul 18 15:38:04 1993 Richard Stallman ([email protected]) ! 7325: ! 7326: * c-typeck.c (c_expand_return): Set TREE_SIDE_EFFECTS ! 7327: for the MODIFY_EXPR that we make. ! 7328: ! 7329: * stmt.c (expand_return): When expanding assignment into DECL_RESULT, ! 7330: ignore the "value"--do it for effect. ! 7331: ! 7332: * fold-const.c (fold): Handle CONJ_EXPR. ! 7333: * c-typeck.c (build_unary_op): Support CONJ_EXPR. ! 7334: Change BIT_NOT_EXPR to CONJ_EXPR if arg is complex. ! 7335: ! 7336: Sun Jul 18 14:22:05 1993 Richard Kenner ([email protected]) ! 7337: ! 7338: * function.c (init_function_start): Initialize trampoline_list here. ! 7339: (expand_function_end): Not here. ! 7340: ! 7341: Sun Jul 18 01:24:54 1993 Richard Stallman ([email protected]) ! 7342: ! 7343: * c-typeck.c (common_type): Use TYPE_MAIN_VARIANT when preferring ! 7344: long int to int (when width is the same). ! 7345: ! 7346: * varasm.c (assemble_variable): Move debugging output calls ! 7347: to after section has been selected. Select the section again ! 7348: if the debugging output call changes the section. ! 7349: * dbxout.c (dbxout_symbol_location): Call in_text_section ! 7350: to decide whether to use DBX_STATIC_CONST_VAR_CODE. ! 7351: ! 7352: * objc-act.c (synth_module_prologue): Call layout_type for the array ! 7353: type used for _OBJC_SELECTOR_TABLE. ! 7354: ! 7355: Sat Jul 17 00:41:52 1993 Richard Stallman ([email protected]) ! 7356: ! 7357: * expr.c (expand_increment): Convert constant subtract to add ! 7358: before setting single_insn. Compensate for this when choosing ! 7359: the tree code to pass to `build'. ! 7360: ! 7361: * toplev.c (rest_of_compilation): If function is extern inline, ! 7362: even if we can't inline it, don't compile it. ! 7363: ! 7364: Fri Jul 16 21:33:50 1993 Richard Stallman ([email protected]) ! 7365: ! 7366: * dwarfout.c (dwarfout_init): Report failure of getpwd. ! 7367: ! 7368: Fri Jul 16 15:59:07 1993 Ian Lance Taylor ([email protected]) ! 7369: ! 7370: * config/m68k/hp320.h (LINK_LIBGCC_SPECIAL, SPACE_AFTER_L_OPTION) ! 7371: (LIB_SPEC): Move outside of USE_GAS conditional. ! 7372: ! 7373: Fri Jul 16 14:26:25 1993 David d `zoo' Zuhn ([email protected]) ! 7374: ! 7375: * config.sub: if [ "$os" ] --> if [ x"$os" != x"" ] ! 7376: ! 7377: Fri Jul 16 05:50:35 1993 Paul Eggert ([email protected]) ! 7378: ! 7379: * c-typeck.c (check_format): With -Wformat, warn about ! 7380: printf("%ld", 1) even if sizeof (int) == sizeof (long), ! 7381: since the code isn't portable. Similarly for "%d" vs 1L. ! 7382: ! 7383: * c-typeck.c (convert_arguments) [PROMOTE_PROTOTYPES]: ! 7384: With -Wconversion, use unpromoted type to check for signedness changes. ! 7385: ! 7386: Thu Jul 15 13:04:48 1993 Richard Stallman ([email protected]) ! 7387: ! 7388: * fixincludes (stdlib.h): Check carefully for definition of size_t. ! 7389: ! 7390: Wed Jul 14 19:05:51 1993 Richard Stallman ([email protected]) ! 7391: ! 7392: * fixincludes: Fix size_t definition in stdlib.h as in types.h. ! 7393: Also a conditional to prevent repeated definition. ! 7394: ! 7395: Wed Jul 14 14:53:26 1993 Ian Lance Taylor ([email protected]) ! 7396: ! 7397: * fixincludes: Don't discard comment end characters on lines that ! 7398: look like "#endif */". Fixes Esix 4.0.4 problem. ! 7399: ! 7400: Wed Jul 14 12:20:13 1993 Jeffrey A. Law ([email protected]) ! 7401: ! 7402: * pa.c (emit_move_sequence): Use cint_ok_for_move instead of ! 7403: checking each condition ourselves. ! 7404: ! 7405: * pa-utahmach.h (CPP_PREDEFINES): Do not define HPUX_SOURCE, hp700 ! 7406: or HP700. ! 7407: * pa1-utahmach.h (CPP_PREDEFINES): Do not define hp9000s800, ! 7408: hp9k8, HPUX_SOURCE, or hp800. ! 7409: ! 7410: * Allow unconditional jumps in delay slots of call and millicode ! 7411: call instructions. ! 7412: * pa.h (TARGET_JUMP_IN_DELAY): New target flag to allow/disallow ! 7413: jump instructions in call delay slots. ! 7414: (TARGET_SWITCHES): Add -mjump-in-delay and -mno-jump-in-delay. ! 7415: Provide -mno alternatives for most options. ! 7416: (output_call): Declare. ! 7417: * pa.c (output_call): New function to output a function call or ! 7418: millicode call, possibly with a jump in the delay slot. ! 7419: (output_mul_insn): Accept additional argument, use output_call. ! 7420: (output_div_insn): Likewise. ! 7421: (output_mod_insn): Likewise. ! 7422: (jump_in_call_delay): New function to determine if the given ! 7423: JUMP_INSN is in the delay slot of a call or millicode call. ! 7424: * pa.md (uncond_branch): New type attribute. Explicitly disallow ! 7425: uncond_branch in most delay slots. ! 7426: (in_call_delay attribute): New test for delay slot of call insns. ! 7427: Allow uncond_branches in the delay slot if TARGET_JUMP_IN_DELAY. ! 7428: (define_delay for calls, millicode calls, branches, returns, etc): ! 7429: Broken up into two define delays. One for calls and millicode ! 7430: calls, a second for branches, returns, etc. ! 7431: (millicode insns): Pass the current insn down to ! 7432: output_{mul,div,mod}_insn. ! 7433: (jump insn): Use "uncond_branch" type attribute. Length of this ! 7434: insn varies if it is in the delay slot of a call. ! 7435: (call_internal_symref): Use output_call. ! 7436: (call_value_internal_symref): Likewise. ! 7437: (call_internal_reg): Use %r syntax instead of just register numbers. ! 7438: (call_value_internal_reg): Likewise. ! 7439: ! 7440: Wed Jul 14 02:19:11 1993 Richard Stallman ([email protected]) ! 7441: ! 7442: * rtl.def (CONCAT): New rtx code. ! 7443: * emit-rtl.c (gen_lowpart_common, gen_highpart): Handle CONCAT. ! 7444: (operand_subword): Likewise. ! 7445: (gen_reg_rtx): For complex mode, return a CONCAT of two pseudos. ! 7446: * stmt.c (expand_decl): Make a CONCAT, for decls of complex type. ! 7447: * dbxout.c (dbxout_symbol_location): Subroutine broken out from ! 7448: dbxout_symbol. Handle CONCAT here. ! 7449: (dbxout_symbol_name): New subroutine. Handle anonymous decls too. ! 7450: (dbxout_reg_parms): Simplify using dbxout_symbol_location. ! 7451: Handle CONCAT. ! 7452: ! 7453: * c-typeck.c (build_c_cast): When casting to union, if value is array ! 7454: or function, do default_conversion. ! 7455: ! 7456: Wed Jul 14 00:52:23 1993 Jim Blandy ([email protected]) ! 7457: ! 7458: * config.sub: Add case for Bull dpx/2. ! 7459: ! 7460: Mon Jul 12 17:26:53 1993 Richard Stallman ([email protected]) ! 7461: ! 7462: * fixincludes: When looking for #define CTRL, ! 7463: accept multiple spaces between the two words. ! 7464: ! 7465: * reload1.c (reload): Don't free scratch_list or scratch_block if 0. ! 7466: ! 7467: Mon Jul 12 17:12:31 1993 Paul Eggert ([email protected]) ! 7468: ! 7469: * c-common.c (unsigned_conversion_warning): Just use `warning', ! 7470: not `pedwarn'; these diagnostics are not required by Standard C. ! 7471: * c-typeck.c (convert_for_assignment): Use `convert_and_check', ! 7472: not `convert', for converting arithmetic types, since ! 7473: `convert_and_check' no longer reports an error ! 7474: where it should just warn. ! 7475: ! 7476: Mon Jul 12 16:44:37 1993 Richard Stallman ([email protected]) ! 7477: ! 7478: * config/i386/i386.md (ffssi2, ffshi2): Assume bsf produces ! 7479: garbage if input is 0. Use jumps to load output in that case. ! 7480: ! 7481: * config/vax/vax.h (INITIALIZE_TRAMPOLINE): Add code to ! 7482: do an rei to clear the insn cache. ! 7483: ! 7484: Sun Jul 11 18:13:47 1993 Richard Stallman ([email protected]) ! 7485: ! 7486: * config/ns32k/ns32k.c (output_move_double): Do the low reg first, ! 7487: when only the high reg has an overlap. ! 7488: ! 7489: * c-typeck.c (convert_arguments): Don't warn about sign change ! 7490: for an INTEGER_CST inside NOP_EXPR, if value not fits new type. ! 7491: Delete the code to check for VAL having enumeration type. ! 7492: ! 7493: * i860.c (output_move_double): Fix typos in Jun 28 change. ! 7494: ! 7495: Sat Jul 10 16:05:26 1993 Jim Wilson ([email protected]) ! 7496: ! 7497: * i860.c (output_move_double): Only set highest_first if first reg ! 7498: of dest overlaps memory src address. Otherwise, if addreg1 set and ! 7499: is same as second reg of dest, suppress trailing decrement. ! 7500: ! 7501: Sat Jul 10 19:49:31 1993 Jeffrey A. Law ([email protected]) ! 7502: ! 7503: * jump.c (jump_optimize): Correctly identify branches to the end ! 7504: of a function so that they may be turned into RETURN insns. ! 7505: ! 7506: Sat Jul 10 17:37:12 1993 Richard Stallman ([email protected]) ! 7507: ! 7508: * collect2.c (main): Allocate COLLECT_NAME string with xmalloc. ! 7509: ! 7510: Sat Jul 10 14:44:29 1992 Chip Salzenberg ([email protected]) ! 7511: ! 7512: * basic-block.h (REGSET_ELT_TYPE): Make unsigned to avoid ! 7513: signed arithmetic overflow. ! 7514: * hard-reg-set.h (HARD_REG_ELT_TYPE): New unsigned type to ! 7515: avoid signed arithmetic overflow. ! 7516: (HARD_REG_SET): Define as HARD_REG_ELT_TYPE, or array thereof. ! 7517: (HARD_CONST): Always cast to HARD_REG_ELT_TYPE. ! 7518: (*_HARD_REG_*): Use unsigned HARD_CONST and HARD_REG_ELT_TYPE ! 7519: types instead of assuming HOST_WIDE_INT. ! 7520: ! 7521: Sat Jul 10 10:25:16 1993 Karl Berry ([email protected]) ! 7522: ! 7523: * fixincludes: Check for symlinks being available in /tmp. ! 7524: ! 7525: Sat Jul 10 02:01:08 1993 Richard Stallman ([email protected]) ! 7526: ! 7527: * config/m68k/3b1.h (MY_ISCOFF, OBJECT_FORMAT_COFF, NO_SYS_SIGLIST): ! 7528: New definitions. ! 7529: ! 7530: Fri Jul 9 20:40:29 1993 Jeffrey A. Law ([email protected]) ! 7531: ! 7532: * pa.md (dbra and movb patterns): Fix constraints so that FP ! 7533: registers are never preferred. ! 7534: ! 7535: Fri Jul 9 17:36:35 1993 Holger Teutsch ([email protected]) ! 7536: ! 7537: * va-clipper.h: Make var/stdargs compatible with apogee's acc. ! 7538: (__gnuc_va_list): Replace __va_f and __va_r with __va_reg. ! 7539: (__va_list, _SYS_INT_STDARG_H): New defines. ! 7540: (va_arg): Corresponding changes. ! 7541: ! 7542: * config/clipper/clipper.c (clipper_builtin_saveregs) : Dito. ! 7543: ! 7544: Fri Jul 9 13:39:08 1993 Brendan Kehoe ([email protected]) ! 7545: ! 7546: Cygnus<->FSF merge. ! 7547: Fri Jul 9 12:17:20 1993 Brendan Kehoe ([email protected]) ! 7548: ! 7549: * cp-typeck.c (build_array_ref): Force the array to be allocated on ! 7550: the stack if it is accessed by a out-of-bound constant integer ! 7551: subscript. ! 7552: ! 7553: * cp-decl.c (pushdecl): Undo change to generate a new _TYPE node for ! 7554: a typedef. ! 7555: ! 7556: Thu Jul 8 16:25:52 1993 Brendan Kehoe ([email protected]) ! 7557: ! 7558: * cp-decl.c (pushtag): Don't mark the binding layer marker; for ! 7559: dwarf debugging, do mark the TYPE_DECL we created as ignored. ! 7560: ! 7561: * cp-tree.h (IN_CHARGE_NAME): Define to not need DOLLAR_IN_LABEL. ! 7562: (VTBL_PTR_TYPE): Likewise. ! 7563: (VTABLE_DELTA_NAME, VTABLE_INDEX_NAME, VTABLE_PFN_NAME, ! 7564: VTABLE_DELTA2_NAME): Use two leading underscores. ! 7565: ! 7566: Thu Jul 8 14:31:40 1993 Brendan Kehoe ([email protected]) ! 7567: ! 7568: * cp-tree.h (TREE_ANON_UNION_ELEM): Deleted, it's never set. ! 7569: * cp-decl.c (build_default_constructor): Delete checking ! 7570: TREE_ANON_UNION_ELEM. ! 7571: * cp-init.c (emit_base_init): Likewise. ! 7572: * cp-type2.c (my_friendly_abort): Update count. ! 7573: ! 7574: * cp-type2.c (build_functional_cast): Disable assert 323 (see ! 7575: comments for explanation). ! 7576: ! 7577: * cp-typeck.c (comp_target_parms): Return 0 if strict is != 0, not ! 7578: just > 0. ! 7579: ! 7580: * cp-decl.c (init_decl_processing): Don't set WARN_RETURN_TYPE. ! 7581: ! 7582: Wed Jul 7 18:36:59 1993 Niklas Hallqvist ([email protected]) ! 7583: ! 7584: Add the changes to redo how we handle scoping. [Merged by bpk.] ! 7585: ! 7586: * cp-class.c ({pop,push}_nested_class): New functions to use ! 7587: instead of plain {push,pop}class. These functions will see to ! 7588: that static entities of enclosing classes will be visible. ! 7589: * cp-tree.h ({pop,push}_nested_class): Declare them. ! 7590: * cp-decl.h ({finish,start}_function): Use these new functions ! 7591: instead of plain {push,pop}class calls. ! 7592: (grokdeclarator): Ditto. ! 7593: * cp-decl2.c (build_push_scope): Ditto. ! 7594: * cp-class.c (popclass): Only call pop_class_decls if MODIFY is ! 7595: set. ! 7596: ! 7597: * cp-decl.c (start_decl): Maybe call pushdecl_class_level instead of ! 7598: pushdecl. This is used for nested types. ! 7599: (grokdeclarator): Remove the {push,pop}level calls around the ! 7600: indirect recursion occuring when groking class-local typedefs. ! 7601: Remove the error check of such typedefs hiding other fields in the ! 7602: same scope. Remove the pushdecl_class_level call since start_decl ! 7603: does the work now. ! 7604: ! 7605: Class scoping (and type value caching) redone. The new behaviour ! 7606: is triggered by NEW_CLASS_SCOPING being defined to 1. The old ! 7607: behavior is accomplished by defining it to the value 0. The entries ! 7608: below describes the effective changes when NEW_CLASS_SCOPING is set ! 7609: to non-zero. ! 7610: ! 7611: * cp-class.c (set_class_shadows): Add prototype. ! 7612: (previous_class_values): New variable. ! 7613: (pushclass): Adapted to not use previous_class_type & unuse_fields. ! 7614: Removed setting of IDENTIFIER_CLASS_VALUE. ! 7615: (popclass): Adapted to not use previous_class_type. Don't reset ! 7616: IDENTIFIER_CLASS_VALUE. Moved call of pop_class_decls. ! 7617: (maybe_push_cache_obstack): New function. ! 7618: * cp-decl.c (current_class_depth): Add extern decl. ! 7619: (previous_class_values): Add extern decl. ! 7620: (pop_decl_level): Don't reset IDENTIFIER_CLASS_VALUE. ! 7621: (set_class_shadows): New function. ! 7622: (poplevel_class): Adjust setting of IDENTIFIER_CLASS_VALUE to only ! 7623: happen if we're not leaving a toplevel class. ! 7624: (push_to_top_level): Don't use adjust_type_value. ! 7625: (set_identifier_type_value): Reverse the choice between class and ! 7626: local scope when installing the type value. ! 7627: (set_identifier_local_value): Set the type value if we're seeing a ! 7628: TYPE_DECL. ! 7629: (set_nested_typename): Added comment. ! 7630: (pushtag): Don't call set_identifier_type_value. Leave out ! 7631: setting of IDENTIFIER_CLASS_VALUE. ! 7632: (adjust_type_value): Removed. ! 7633: (pushdecl): Don't call adjust_type_value. ! 7634: (pushdecl_class_level): Call push_class_level_binding. Set the ! 7635: type value if we're seeing a TYPE_DECL. ! 7636: (push_class_level_binding): New function whose guts came from ! 7637: pushdecl_class_level. ! 7638: (globalize_nested_type): See to that both the class_shadowed and ! 7639: type_shadowed lists in the binding stack gets updated correctly. ! 7640: Don't call set_identifier_type_value on the DECL_NESTED_TYPENAME. ! 7641: Clear DECL_CLASS_CONTEXT as well as DECL_CONTEXT. Install a ! 7642: correct IDENTIFIER_{CLASS,TYPE}_VALUE if needed. ! 7643: (grokdeclarator): Prefer pushdecl_class_level over pushtag when ! 7644: recording a nested typedef. ! 7645: (build_enumerator): Don't install a method-local enumerator into ! 7646: class scope. ! 7647: * cp-decl2.c (grokfield): Don't call set_identifier_type_value. ! 7648: * cp-search.c (closed_envelopes): New list containing information ! 7649: of what decls should be pushed when entering a class scope. ! 7650: (dfs_pushdecls): Build and maintain the closed_envelopes list ! 7651: instead of managing the IDENTIFIER_CLASS_VALUEs directly. ! 7652: (dfs_compress_decls): Adapted to recognize the envelopes ! 7653: dfs_pushdecls has installed in the IDENTIFIER_CLASS_VALUE slots. ! 7654: (push_class_decls): Tell overload_template_name to push the ! 7655: template decls into class scope instead of building a new level. ! 7656: Added code to open up the envelopes in closed_envelopes and ! 7657: install the class/type values in the class binding contour with ! 7658: proper shadowing. ! 7659: (dfs_popdecls): Removed. ! 7660: (pop_class_decls): Removed the actual decl-popping code, leaving ! 7661: just the obstack freeing pop_search_level call. The popping is ! 7662: automatically handled by poplevel now. ! 7663: * cp-tree.h (NEW_CLASS_SCOPING): A new macro constant defaulted to ! 7664: the value 1. ! 7665: (adjust_type_value): Prototype removed. ! 7666: (push_class_level_binding): Added prototype. ! 7667: ! 7668: Wed Jul 7 11:04:09 1993 Brendan Kehoe ([email protected]) ! 7669: ! 7670: * cp-decl.c (pushdecl): When processing a typedef statement, ! 7671: generate a whole new ..._TYPE node. Be careful that the type we're ! 7672: looking at isn't an error_mark_node. ! 7673: ! 7674: * cp-class.c (finish_struct): Set the DECL_CONTEXT on the type we've ! 7675: found. ! 7676: * cp-decl.c (pushtag): Mark the TYPE_DECL as ignored when using ! 7677: dwarf debugging; don't ignore it if it's anonymous for dwarf ! 7678: debugging. Put the DECL_CONTEXT in the TYPE_CONTEXT of TYPE. ! 7679: (globalize_nested_type): Remember to set TYPE_CONTEXT. ! 7680: * cp-pt.c (overload_template_name): Set DECL_CONTEXT. ! 7681: * cp-search.c (compute_visibility): Set DECL_CONTEXT if the context ! 7682: is NULL. ! 7683: ! 7684: * cp-class.c (finish_struct): Mark the tag as ignored for dwarf ! 7685: debugging. ! 7686: ! 7687: * cp-except.c (EHS_type): Don't make it static. ! 7688: * cp-class.c (finish_struct): Don't create a default copy ! 7689: constructor for the EHS_type. ! 7690: ! 7691: * cp-class.c (get_vtable_name): Leave the numbers in the name for ! 7692: the vtable, so we're uniform with what prepare_fresh_vtable is ! 7693: doing. Introduces a binary incompatability. ! 7694: ! 7695: * cp-tree.c (build_cplus_method_type): Mark the first argtype (the ! 7696: this pointer) as artificial. ! 7697: ! 7698: * cp-init.c (do_friend): Don't allow a friend of a class that's not ! 7699: yet been defined; instead, complain. Make sure we mark every decl ! 7700: that comes in as being a friend of something. ! 7701: ! 7702: * cp-decl2.c (grokclassfn): Mark the __in_chrg parameter as ! 7703: artificial. Don't mark it as readonly, and for destructors make ! 7704: sure the first arg in the arg_types chain has TREE_SIDE_EFFECTS set, ! 7705: so it's seen as artificial. ! 7706: (finish_vtable_vardecl): For dwarf debugging, make the vtable's ! 7707: VAR_DECL node be ignored. ! 7708: ! 7709: * cp-decl.c (redeclaration_error_message): Use comptypes to see if ! 7710: OLDDECL and NEWDECL have the same type. ! 7711: * cp-typeck.c (comptypes): Compare the main variants of the types, ! 7712: after we've checked the qualifiers that could have been used on them. ! 7713: ! 7714: * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, ZERO_RETURN): ! 7715: Rewrite definitions to not use do/while(0), to avoid bogus warnings ! 7716: on compilers that can't deal with a return inside it. Change all ! 7717: uses of them to do `return FOO_RETURN'. ! 7718: ! 7719: Tue Jul 6 13:00:44 1993 Brendan Kehoe ([email protected]) ! 7720: ! 7721: * cp-decl.c (duplicate_decls): Set GIVE_ERROR so we know where the ! 7722: previous declaration was for empty parameter name list declarations. ! 7723: ! 7724: * cp-class.c (finish_struct): Clean up error message about anonymous ! 7725: classes. ! 7726: ! 7727: * cp-class.c (finish_struct): Don't play with TAIL when we're ! 7728: dealing with a TYPE_DECL of a RECORD_TYPE; the list continues on ! 7729: just fine, and TAIL is only used for managing FN_FIELDS. ! 7730: ! 7731: * cp-decl.c (pushlevel): Change cast to HOST_WIDE_INT. ! 7732: * cp-search.c (breadth_first_search): Likewise. ! 7733: ! 7734: Fri Jul 2 19:24:55 1993 Steve Chamberlain ([email protected]) ! 7735: ! 7736: * cp-method.c: Include "cp-class.h" ! 7737: ! 7738: Fri Jul 2 18:16:10 1993 Michael Tiemann ([email protected]) ! 7739: ! 7740: * cp-call.c (build_overload_call_real): Don't look at a required ! 7741: template instantiation and a speculative template instantiation as ! 7742: two different functions if they are really the same function. ! 7743: ! 7744: Thu Jul 1 22:28:46 1993 Michael Tiemann ([email protected]) ! 7745: ! 7746: * cp-tree.h: Don't include "cp-class.h" here. ! 7747: * cp-call.c, cp-cvt.c: Include it here instead. ! 7748: ! 7749: Thu Jul 1 18:42:03 1993 Mike Stump ([email protected]) ! 7750: ! 7751: * cp-decl.c (duplicate_decls): Fix typo. (olddecl->olddecls) ! 7752: ! 7753: Thu Jul 1 18:34:12 1993 Brendan Kehoe ([email protected]) ! 7754: ! 7755: New implementation of argument matching. This is now much cleaner ! 7756: to read, and is designed such that it should be easy to tweak ! 7757: things when incorrect decisions are made based on the candidates ! 7758: being examined. ! 7759: ! 7760: * cp-decl2.c (flag_ansi_overloading): New variable. ! 7761: (lang_f_options): Add -fansi-overloading. ! 7762: * toplev.c (lang_options): Add -fansi-overloading and ! 7763: -fno-ansi-overloading. ! 7764: ! 7765: * cp-class.h (harshness_code): New struct. ! 7766: (candidate): New members `h' and `h_len' used by new method. New ! 7767: anonymous union `v', with ansi_harshness and old_harshness. ! 7768: Deleted member `harshness' (used by old method, now in `v'). ! 7769: Change every file that uses harshness to refer to it in the union ! 7770: as appropriate. ! 7771: (EVIL_CODE, CONST_CODE, ELLIPSIS_CODE, USER_CODE, STD_CODE, ! 7772: PROMO_CODE, QUAL_CODE, TRIVIAL_CODE): New macros. ! 7773: ! 7774: * cp-call.c (EVIL_RETURN, QUAL_RETURN, TRIVIAL_RETURN, ! 7775: ZERO_RETURN): New macros. ! 7776: (rank_for_overload): Renamed to rank_for_overload_old. ! 7777: (rank_for_overload_ansi): New function for new method. ! 7778: (rank_for_overload): Call the appropriate fn based on the new flag. ! 7779: (rank_for_ideal): New function for new method. ! 7780: (compute_harshness): Renamed to compute_harshness_old. ! 7781: (compute_harshness_ansi): New function for new method. ! 7782: (compute_conversion_costs): Renamed to compute_conversion_costs_old. ! 7783: (compute_conversion_costs_ansi): New function for new method. ! 7784: (compute_conversion_costs): Call the appropriate fn based on the ! 7785: new flag. ! 7786: (ideal_candidate): Renamed to ideal_candidate_old. ! 7787: (ideal_candidate_ansi): New function for new method. ! 7788: (ideal_candidate): Call the appropriate fn based on the new flag. ! 7789: (strictly_better): New function for new method. ! 7790: (build_method_call): Change things to use the new method if ! 7791: -fansi-overloading is set. ! 7792: (build_overload_call_real): Likewise. ! 7793: * cp-cvt.c (convert_to_aggr): Likewise. ! 7794: ! 7795: * cp-call.c (build_overload_call_real): Only use the speed hack ! 7796: to trigger immediately if the OVERLOAD_NAME has a global value if we ! 7797: aren't using the new overloading scheme. ! 7798: ! 7799: * cp-cvt.c (build_type_conversion): Only accept using an `operator ! 7800: double' if there isn't a conflicting `operator int', if ! 7801: -fansi-overloading is on. ! 7802: ! 7803: Thu Jul 1 17:54:44 1993 Mike Stump ([email protected]) ! 7804: ! 7805: * cp-decl.c (duplicate_decls): Propagate some changes from C ! 7806: front-end. Conflicts with built-in functions are now only warnings. ! 7807: ! 7808: Thu Jul 1 15:43:48 1993 Mike Stump ([email protected]) ! 7809: ! 7810: * cp-call.c (build_field_call): Use real type if type is a ! 7811: REFERENCE_TYPE. ! 7812: * cp-parse.y (primary): Cleanup and move some code out into new ! 7813: function build_object_ref. ! 7814: * cp-tree.h (build_object_ref): New function. ! 7815: * cp-typeck.c (build_object_ref): Define new function. ! 7816: * cp-typeck.c (build_x_function_call): Return error_mark_node if ! 7817: first argument is, and handle when TREE_PURPOSE is a binfo and comes ! 7818: from lookup_fnfields. ! 7819: ! 7820: Thu Jul 1 13:48:46 1993 Brendan Kehoe ([email protected]) ! 7821: ! 7822: * cp-lex.c (readescape): Don't complain for \% unless pedantic. ! 7823: ! 7824: Wed Jun 30 10:35:50 1993 Brendan Kehoe ([email protected]) ! 7825: ! 7826: * cp-decl2.c (bad_specifiers): Moved to cp-decl.c. New args ! 7827: `inlinep' and `object' (old object renamed to type), so we can see ! 7828: where the thing was declared. Use error_with_decl instead of error. ! 7829: * cp-decl.c (grokdeclarator): Pass INLINEP and DECL down; move calls ! 7830: so we'll have a valid DECL to give it. ! 7831: * cp-tree.h (bad_specifiers): Deleted prototype. ! 7832: ! 7833: * cp-call.c (build_scoped_method_call): If it's a reference, work ! 7834: with the actual type. ! 7835: * cp-type2.c (build_scoped_ref): Likewise. ! 7836: ! 7837: Tue Jun 29 19:49:57 1993 Mike Stump ([email protected]) ! 7838: ! 7839: * cp-lex.c (default_copy_constructor_body): Hack broken code to work ! 7840: marginally better than how it worked before, so that PlotFile3D's ! 7841: make check of libg++ works. ! 7842: ! 7843: Tue Jun 29 12:44:48 1993 Brendan Kehoe ([email protected]) ! 7844: ! 7845: * cp-typeck.c (mark_addressable): Don't complain about taking the ! 7846: address of an object with register storage class; it's legal in C++. ! 7847: ! 7848: * cp-typeck.c (convert_arguments): Only warn about passing an object ! 7849: through an ellipsis. ! 7850: ! 7851: * cp-parse.y (typed_declspecs): Make sure the TYPESPEC we hit ! 7852: upon is non-null. ! 7853: ! 7854: Tue Jun 29 11:58:03 1993 Tony Deigh ([email protected]) ! 7855: ! 7856: * cp-decl.c (grokdeclarator): Look at the decl as a FUNCTION_TYPE ! 7857: before seeing if its TYPE_MAIN_VARIANT matches or it's a friend; ! 7858: this way, we can properly detect declaration of another class's ! 7859: methods inside another class. Solves chainon aborts. ! 7860: ! 7861: Tue Jun 29 09:47:36 1993 Brendan Kehoe ([email protected]) ! 7862: ! 7863: * cp-class.c (finish_struct): Use pedwarn_with_decl for warnings ! 7864: about non-static const/ref in class without a ctor, so the line ! 7865: number is helpful. ! 7866: ! 7867: Tue Jun 29 02:46:39 1993 Mike Stump ([email protected]) ! 7868: ! 7869: * cp-cvt.c (build_up_reference): Delete unneed cast. ! 7870: * cp-typeck.c (convert_for_assignment): Likewise. ! 7871: ! 7872: Mon Jun 28 19:19:34 1993 Mike Stump ([email protected]) ! 7873: ! 7874: * cp-lex.c (real_yylex): Use pedwarn to warn about using catch, try ! 7875: and throw as identifiers. ! 7876: ! 7877: Mon Jun 28 11:13:17 1993 Brendan Kehoe ([email protected]) ! 7878: ! 7879: * cp-method.c (hack_identifier): Only look for visibility if we have ! 7880: a basetype path. ! 7881: ! 7882: * cp-decl.c (grokdeclarator): Also forbid the subscripting operator, ! 7883: and class member access operator being declared as a non-member ! 7884: function. ! 7885: ! 7886: * cp-init.c (add_friend): Pedwarn on duplicate friend decls. ! 7887: ! 7888: * cp-init.c (is_friend_type): New function. ! 7889: (is_friend): Call it; rewrite in minor ways, to clean the code up. ! 7890: * cp-tree.h (is_friend_type): Add prototype. ! 7891: * cp-search.c (compute_visibility): Also check if the ! 7892: CURRENT_CLASS_TYPE is a friend of CONTEXT, which can buy us access ! 7893: to the field in question. ! 7894: ! 7895: * cp-init.c (sort_member_init): Disable assert that was wrong. ! 7896: ! 7897: * cp-class.c (finish_struct): Make declaration of a non-static const ! 7898: or reference member get a pedwarn if the class it's in has no ! 7899: constructor. ! 7900: ! 7901: * cp-decl2.c (grokfield): Fix up the error message about member ! 7902: initialization. ! 7903: ! 7904: * cp-typeck.c (c_expand_return): Make sure we don't set ! 7905: CURRENT_FUNCTION_RETURNS_VALUE if we set CURRENT_FUNCTION_RETURNS_NULL. ! 7906: ! 7907: * cp-method.c (dump_init): Don't emit digit_buffer if we're giving ! 7908: an enum's tag. ! 7909: ! 7910: Fri Jul 9 16:45:25 1993 David d `zoo' Zuhn ([email protected]) ! 7911: ! 7912: * config.sub: Make -solaris reflect the most recent major release. ! 7913: ! 7914: Fri Jul 9 16:18:20 1993 Jeffrey A. Law ([email protected]) ! 7915: ! 7916: * Change length attributes to use bytes instead of instruction ! 7917: counts. ! 7918: * pa.h (CASE_VECTOR_MODE): Change to DImode. ! 7919: * pa.c (compute_movstrsi_length): Return length in bytes. ! 7920: (pa_adjust_insn_length): Return adjustment in bytes. ! 7921: (output_cbranch): Handle lengths as bytes. ! 7922: (output_bb, output_dbra, output_movb): Likewise. ! 7923: * pa.md (default length define_attr): Lengths are in bytes now. ! 7924: (asm_attributes): Likewise. ! 7925: (delay slot attributes): Deal with lengths in bytes. ! 7926: (explicit length computations): Compute length in bytes. ! 7927: ! 7928: * Make more dbra insns and support movb insns. ! 7929: * pa.h (output_dbra, output_movb): Declare. ! 7930: * pa.md (dbra pattern): Use output_dbra. ! 7931: (dbra pattern #2): New pattern. Also use output_dbra. ! 7932: (movb, inverted movb): New patterns. ! 7933: * pa.c (pa_adjust_insn_length): dbra and movb insns which have ! 7934: their output in a FP register do not need adjustment. ! 7935: (output_cbranch, output_bb): Handle conditional jump to the ! 7936: following instruction. ! 7937: (output_dbra): New function extracted from dbra pattern. ! 7938: (output_movb): New function. ! 7939: (eq_neq_comparison_operator): New function. ! 7940: (movb_comparison_operator): New function. ! 7941: ! 7942: Fri Jul 9 01:07:52 1993 Richard Stallman ([email protected]) ! 7943: ! 7944: * config/m68k/mot3300.h (ASM_OUTPUT_OPCODE): Don't add .w suffix ! 7945: to jump insns. ! 7946: ! 7947: * combine.c, cse.c: Include stdio.h before rtl.h. ! 7948: ! 7949: Wed Jul 7 18:06:45 1993 Jim Wilson ([email protected]) ! 7950: ! 7951: From [email protected]: ! 7952: * sparc.c (singlemove_string): Convert SFmode by REAL_VALUE... macros. ! 7953: * sparc.h (ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): ! 7954: Use REAL_VALUE_TO_DECIMAL to generate decimal string. ! 7955: (REAL_ARITHMETIC): Define. ! 7956: ! 7957: * sparc.h (SECONDARY_MEMORY_NEEDED_RTX): Use ! 7958: STARTING_FRAME_OFFSET. ! 7959: (STARTING_FRAME_OFFSET): Set to -16. ! 7960: ! 7961: * c-parse.in (simple_if): Save stmt_count, and print empty body ! 7962: warning here. ! 7963: (if_prefix): Don't save stmt_count here. ! 7964: (stmt): Don't print empty body warning here. ! 7965: ! 7966: * combine.c (simplify_comparison): Add parentheses to satify gcc. ! 7967: * sparc.c (sparc_frw_save_restore): Likewise. ! 7968: * expr.c (convert_to_mode): Move misplaced parentheses. ! 7969: ! 7970: Wed Jul 7 16:37:26 1993 Jeffrey A. Law ([email protected]) ! 7971: ! 7972: * Improve code for conditional branches and dbra insns on the PA. ! 7973: * pa.c (pa_adjust_insn_length): Rewrite so that it only adjusts ! 7974: insns which really need adjustment. ! 7975: (output_cbranch): Rework so that output templates are simpler. ! 7976: Use shorter sequence for long backwards conditional branches with ! 7977: a filled delay slot that is nullified. More agressively use "skip" ! 7978: instructions. More agressively nullify the delay slot if nothing ! 7979: useful could be placed there. ! 7980: (output_bb): Likewise. ! 7981: (forward_branch_p): New function. ! 7982: * pa.md (conditional branches): Use the full displacement range ! 7983: for the branch target. Update length computations to match current ! 7984: reality. ! 7985: (branch on bit patterns): Likewise. ! 7986: (decrement_and_branch_until_zero): Re-enable pattern. Rewrite to ! 7987: be simpler and more efficient. Also handle case where loop counter ! 7988: is in a FP register. ! 7989: ! 7990: Wed Jul 7 11:19:03 1993 Ian Lance Taylor ([email protected]) ! 7991: ! 7992: * glimits.h (MB_LEN_MAX): Don't override the value from the system ! 7993: <limits.h>. Just define it if it is not already defined. ! 7994: ! 7995: * collect2.c (main): Search for ld in the compiler directories. ! 7996: ! 7997: Wed Jul 7 13:40:55 1993 Jim Wilson ([email protected]) ! 7998: ! 7999: * collect2.c (fork_execute, scan_prog_file): Use "fork" in error ! 8000: messages instead of "vfork" when vfork is defined to fork. ! 8001: ! 8002: Tue Jul 6 16:38:36 1993 Jim Wilson ([email protected]) ! 8003: ! 8004: * sparc.c (sparc_type_code): Recognize SET_TYPE. For special ! 8005: Fortran/Pascal types, just return qualifiers instead of aborting. ! 8006: ! 8007: * c-decl.c (insert_block): Correct typo in comment. ! 8008: ! 8009: * combine.c (simplify_and_const_int, LSHIFTRT case): Must be at ! 8010: least as many sign bit copies as bits in mask. ! 8011: ! 8012: * c-typeck.c (build_conditional_expr): All simplified results ! 8013: must go through pedantic_non_lvalue. ! 8014: * cp-typeck.c (build_conditional_expr): Likewise. ! 8015: * fold-const.c (fold, COND_EXPR case): Likewise. ! 8016: (pedantic_non_lvalue): New function. ! 8017: * tree.h (pedantic_non_lvalue): Add declaration. ! 8018: ! 8019: * fold-const.c (invert_truthvalue): Check for ERROR_MARK input. ! 8020: ! 8021: * m68k.h (LEGITIMATE_BASE_REG_P): New macro. ! 8022: (INDIRECTABLE_1_ADDRESS_P, GO_IF_INDEXABLE_BASE, ! 8023: LEGITIMATE_INDEX_REG_P): Accept SUBREG everywhere REG is accepted. ! 8024: ! 8025: * sparc.h (EXTRA_CONSTRAINT): For 'T', pass address not mem to ! 8026: strict_memory_address_p call. For 'U', don't accept unallocated ! 8027: pseudo-reg when strict. ! 8028: ! 8029: * sparc.c (output_move_quad): Implement CNSTOP case. ! 8030: ! 8031: * i960.h (ASM_OUTPUT_COMMON): Use SIZE not ROUNDED. ! 8032: ! 8033: Tue Jul 6 02:12:15 1993 Richard Stallman ([email protected]) ! 8034: ! 8035: * cse.c (simplify_binary_operation, case MINUS): Fix backwards ! 8036: test added in last change. ! 8037: ! 8038: * config/i386/sun.h (SIZE_TYPE): Deleted. ! 8039: ! 8040: * c-typeck.c (convert_arguments): Don't warn for -Wconversion ! 8041: about signedness of an arg that's extended from narrower unsigned type. ! 8042: ! 8043: * c-decl.c (duplicate_decls): Don't warn for non-extern var decl ! 8044: following an extern one (for -Wredundant-decls). ! 8045: ! 8046: Mon Jul 5 17:50:27 1993 Richard Kenner ([email protected]) ! 8047: ! 8048: * reload1.c (emit_reload_insns): Don't use gen_lowpart_common to ! 8049: get reload register into proper mode. ! 8050: * reload.c (subst_reloads): Likewise. ! 8051: ! 8052: * combine.c (subst, case PLUS): Simplify (plus (comp A B) -1), etc. ! 8053: ! 8054: * fold-const.c (fold, case EQ_EXPR, LE_EXPR): If comparing results ! 8055: of signed MOD with zero, use an unsigned MOD. ! 8056: ! 8057: * calls.c: Fix typo: had ARGS_GROW_DOWNARD. ! 8058: ! 8059: * configure (rs6000-ibm-aix): Use default files for aix3.2 and ! 8060: aix31.h for aix3.[01]. Add new file x-aix31. ! 8061: * rs6000.c (input_operand): Fix missing operand on a return. ! 8062: (print_operand): Add new code '.'. ! 8063: (rs6000_sa_size): Delete unused variable `i'. ! 8064: (output_prolog, output_epilog): Use new RS6000_CROR_BIT_NUMBER. ! 8065: * rs6000.h (CPP_PREDEFINES): Define _AIX32. ! 8066: (ASM_DECLARE_FUNCTION_NAME, TEXT_SECTION_ASM_OP): Use ".text[PR]" as ! 8067: csect name. ! 8068: (RS6000_CROR_BIT_NUMBER): New macro. ! 8069: (PRINT_OPERAND_PUNCT_VALID_P): Allow `.' as valid. ! 8070: * rs6000.md (call patterns): Use %. in cror. ! 8071: * x-rs6000 (CLIB): No longer need -lm. ! 8072: * aix31.h, x-aix31.h: New files. ! 8073: * aix32.h: Deleted. ! 8074: ! 8075: Mon Jul 5 17:44:09 1993 John F Carr ([email protected]) ! 8076: ! 8077: * romp.md (movhi): When storing a constant in an HImode register, use ! 8078: cal16 instead of cal so that the high bits are clear (combine ! 8079: requires this). ! 8080: ! 8081: Mon Jul 5 17:15:27 1993 Richard Stallman ([email protected]) ! 8082: ! 8083: * objc-act.c (encode_type_qualifiers): Add casts to enums in indices. ! 8084: ! 8085: Mon Jul 5 02:25:54 1993 Doug Evans ([email protected]) ! 8086: ! 8087: * Makefile.in: Parameterize libgcc.a and install-libgcc ! 8088: (LIBGCC and INSTALL_LIBGCC). ! 8089: ! 8090: * tree.c (get_narrower): Preserve unsignedness when bitschange == 0. ! 8091: ! 8092: Sun Jul 4 02:55:46 1993 Richard Stallman ([email protected]) ! 8093: ! 8094: * expmed.c (store_split_bit_field, extract_split_bit_field): ! 8095: Handle fields split across more than 2 aligned units. ! 8096: ! 8097: * expr.c (store_field): Test STRICT_ALIGNMENT at run time. ! 8098: (expand_expr, COMPONENT_REF case): Fetch unaligned field as bitfield. ! 8099: ! 8100: * collect2.c (error, fatal, fatal_perror): Say collect2, not collect. ! 8101: ! 8102: * c-parse.in (primary): In statement expression case, ! 8103: if compstmt returns something other than a BLOCK, ! 8104: return it unchanged. ! 8105: ! 8106: Sat Jul 3 20:32:43 1993 Minh Tran-Le ([email protected]) ! 8107: ! 8108: * fixinc.svr4: Added fixup for __STDC__ == 0 and __STDC__ == 1 ! 8109: cases found in sequent PTX-2.0.x headers. ! 8110: ! 8111: Sat Jul 3 18:54:07 1993 Jeffrey A. Law ([email protected]) ! 8112: ! 8113: * pa.c (call_operand_address): Do not accept registers anymore. ! 8114: * pa.md (call expanders): Emit different patterns for named calls ! 8115: and indirect calls. ! 8116: (call_internal_symref, call_internal_reg): New patterns. ! 8117: (call_internal): Deleted. Now handled by call_interal_{symref,reg}. ! 8118: (call_value_internal_symref, call_value_internal_reg): New patterns. ! 8119: (call_value_internal): Deleted. Now handled by ! 8120: call_value_internal_{symref,reg). ! 8121: ! 8122: Sat Jul 3 16:40:52 1993 Doug Evans ([email protected]) ! 8123: ! 8124: * collect2.c (main): Give ld_file_name an initial value. ! 8125: ! 8126: Fri Jul 2 16:36:56 1993 Jim Wilson ([email protected]) ! 8127: ! 8128: * sparc.md (ashldi3+2): Change lshift to ashift. ! 8129: ! 8130: * sparc.md (zero_extendhisi2, extendhisi2, extendqihi2, ! 8131: extendqisi2): Preserve the SUBREG_WORD value of subreg operands. ! 8132: (ashldi3): Delete, obsoleted by lshldi3 pattern. ! 8133: (lshldi3): Rename to ashldi3 for consistency with SImode shifts. ! 8134: ! 8135: Fri Jul 2 01:10:56 1993 Richard Stallman ([email protected]) ! 8136: ! 8137: * Makefile.in (install-headers-tar): Ignore exit status of the ! 8138: first tar command. ! 8139: ! 8140: Thu Jul 1 14:31:45 1993 Doug Evans ([email protected]) ! 8141: ! 8142: * flow.c (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q ! 8143: if referenced in expr. ! 8144: ! 8145: Fri Jul 2 01:26:01 1993 Paul Eggert ([email protected]) ! 8146: ! 8147: * tree.h (pushcase, pushcase_range): Add a new converter ! 8148: function argument that specifies how to convert case labels to the ! 8149: nominal type. ! 8150: * stmt.c (pushcase, pushcase_range): Likewise. ! 8151: * c-parse.in (label): Use `convert_and_check' when checking for ! 8152: overflow in case labels. ! 8153: * cp-parse.y (simple-stmt): Similar change, but use `convert' instead; ! 8154: this leaves the behavior unchanged for C++. A C++ expert should look ! 8155: into this. ! 8156: ! 8157: * tree.h (TREE_OVERFLOW): New macro. ! 8158: * c-common.c (constant_expression_warning, overflow_warning, ! 8159: convert_and_check): Distinguish between TREE_OVERFLOW, which is just ! 8160: for warnings, and TREE_CONSTANT_OVERFLOW, which is for required ! 8161: pedantic diagnostics. ! 8162: * c-typeck.c (c_sizeof, build_c_cast): Set TREE_OVERFLOW in addition ! 8163: to TREE_CONSTANT_OVERFLOW. ! 8164: (store_init_value): STRIP_TYPE_NOPS is required before ! 8165: constant_expression_warning. ! 8166: * fold-const.c: (const_binop, fold_convert, fold): ! 8167: Set TREE_OVERFLOW in addition to TREE_CONSTANT_OVERFLOW. ! 8168: ! 8169: Thu Jul 1 20:55:27 1993 Richard Stallman ([email protected]) ! 8170: ! 8171: * reload1.c (eliminate_regs): Fix typo in BYTE_LOADS_ZERO_EXTEND. ! 8172: ! 8173: Thu Jul 1 20:00:00 1993 DJ Delorie ([email protected]) ! 8174: ! 8175: * gcc.c (choose_temp_base): Try multiple variables. Don't ! 8176: assume that the variable points to a valid directory. ! 8177: ! 8178: * gcc.c (pexecute): Handle the MS-DOS return codes correctly. ! 8179: Add .exe to file name when appropriate. ! 8180: ! 8181: * configure.bat: Make gcc use its own obstack.o. ! 8182: ! 8183: * objc/makefile.dos: New file for building with djgpp. ! 8184: ! 8185: Thu Jul 1 18:15:17 1993 Paul Eggert ([email protected]) ! 8186: ! 8187: * fixincludes, fixinc.svr4: Don't create absolute symbolic links; ! 8188: make them relative instead. ! 8189: * fixincludes: Remove special case for IRIX 4.0.1 that was ! 8190: superseded by a more general fix to fixincludes. ! 8191: ! 8192: * fixinc.svr4: Remove everything after #endif, instead of trying ! 8193: to turn it into comments, which loses inside comments. ! 8194: * fixincludes: Likewise. Remove #endif workarounds for Ultrix 4.[12] ! 8195: and SunOS 4.1, which are no longer needed because of this bug fix. ! 8196: ! 8197: Thu Jul 1 14:56:56 1993 Jeffrey A. Law ([email protected]) ! 8198: ! 8199: * pa.h (OVERRIDE_OPTIONS): Define. Give a warning if -fpic or ! 8200: -fPIC was specified on the command line. ! 8201: ! 8202: * configure (hppa1.0-hp-hpux8.02): New target. ! 8203: (hppa1.1-hp-hpux8.02): Accept "--gas" in this configuration. ! 8204: * pa-oldas.h: New target for 1.0 machines running HPUX 8.02. ! 8205: * pa.c (output_arg_descriptor): Reverse polarity of test for ! 8206: HP_FP_ARG_DESCRIPTOR_REVERSED. ! 8207: * pa.h (ASM_DOUBLE_ARG_DESCRIPTORS): Likewise. ! 8208: * pa-hpux7.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define. ! 8209: * pa1-oldas.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Define. ! 8210: (TARGET_DEFAULT): Clear useless bits in TARGET_DEFAULT. ! 8211: * pa-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Do not define here. ! 8212: * pa1-utahmach.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. ! 8213: * pa1-ghpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. ! 8214: * pa1-hpux.h (HP_FP_ARG_DESCRIPTOR_REVERSED): Likewise. ! 8215: ! 8216: Thu Jul 1 09:48:23 1993 Richard Kenner ([email protected]) ! 8217: ! 8218: * fold-const.c (fold, case GE_EXPR, LT_EXPR): Don't assume ! 8219: result of comparison is integer_type_node. ! 8220: ! 8221: Thu Jul 1 00:23:16 1993 Roland McGrath ([email protected]) ! 8222: ! 8223: * config/i386/mach.h (SIZE_TYPE): Definition deleted. ! 8224: ! 8225: Wed Jun 30 16:16:20 1993 Richard Stallman ([email protected]) ! 8226: ! 8227: * config/m68k/sun3.h (SIZE_TYPE): Definition deleted. ! 8228: ! 8229: Wed Jun 30 16:55:25 1993 John F Carr ([email protected]) ! 8230: ! 8231: * mips.c (gen_int_relational): For test with constant result, ! 8232: copy const0_rtx or const_true_rtx to result register instead ! 8233: of allocating a new pseudo-register. ! 8234: ! 8235: Wed Jun 30 15:19:42 1993 Roland McGrath ([email protected]) ! 8236: ! 8237: * config.sub: Recognize `gnu' as a valid operating system. Sheesh. ! 8238: ! 8239: Wed Jun 30 13:43:45 1993 Jeffrey A. Law ([email protected]) ! 8240: ! 8241: * pa.c (output_function_prologue): Emit SAVE_SP flag if a frame ! 8242: pointer is needed. ! 8243: ! 8244: Wed Jun 30 00:52:25 1993 Richard Stallman ([email protected]) ! 8245: ! 8246: * collect2.c (main): Don't look for `gld' or `TARGET-gld'. ! 8247: ! 8248: * fixincludes (stdtypes.h): Verify that size_t etc. follow whitespace. ! 8249: ! 8250: * expr.c (expand_expr, case PLUS_EXPR): In the special case ! 8251: to return sym+integer as an expression, limit it to when ! 8252: the non-CONST_INT arg is at least a constant. ! 8253: (expand_increment): Do preinc with single insn if there's such an insn. ! 8254: ! 8255: * stmt.c (expand_end_case): Pass 1 as UNSIGNEDP to emit_cmp_insn ! 8256: when handling wide values. ! 8257: Save original minval in orig_minval and use for making the table. ! 8258: ! 8259: Tue Jun 29 22:28:06 1993 Jeffrey A. Law ([email protected]) ! 8260: ! 8261: * pa.c (singlemove_string): Use zdepi and ldil to load constants ! 8262: into registers when appropriate. ! 8263: ! 8264: Tue Jun 29 11:26:35 1993 Richard Stallman ([email protected]) ! 8265: ! 8266: * config.sub: Recognize -sysv* after -sysvr4. ! 8267: ! 8268: * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): Declare reg_equiv_mem. ! 8269: ! 8270: Mon Jun 28 20:12:04 1993 Steve Chamberlain ([email protected]) ! 8271: ! 8272: * config/sh/*: Major rework. ! 8273: ! 8274: Mon Jun 28 02:46:47 1993 Richard Stallman ([email protected]) ! 8275: ! 8276: * fixincludes (file): When changing VA_LIST to DUMMY_VA_LIST, ! 8277: preserve _NEED___VA_LIST. ! 8278: ! 8279: * config/ns32k/ns32k.c (output_move_double): ! 8280: Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. ! 8281: * config/ns32k/ns32k.md (movdf, movdi): Delete `&' from constraint. ! 8282: ! 8283: * config/sparc/sparc.c (output_move_double): Use new local var ! 8284: highest_first to make sure addreg1 gets handled in the overlap case. ! 8285: In 2-reg-overlap case, really use proper reg in new address. ! 8286: ! 8287: * config/i860/i860.c (output_move_double): ! 8288: Handle reg[n,n+1] = mem[reg[n] + reg[n+1]]. Use new local var ! 8289: highest_first to make sure addreg1 gets handled in the overlap case. ! 8290: * config/i860/i860.md (movdf, movdi): Delete `&' from load constraint. ! 8291: ! 8292: * config/sparc/sol2.h (CPP_SPEC): For -compat-bsd, put the ucbinclude ! 8293: dirs before, not after. ! 8294: ! 8295: * expr.c (store_field): Store unaligned field with bit field methods. ! 8296: ! 8297: * config/vax/vax.h (GO_IF_NONINDEXED_ADDRESS): If reload_in_progress, ! 8298: check a REG's reg_equiv_mem the way we would check a MEM. ! 8299: ! 8300: * reload.c (find_reloads_address): Be selective about what inner ! 8301: addresses to allow in an indirect mem ref. ! 8302: ! 8303: Sun Jun 27 16:40:59 1993 Richard Stallman ([email protected]) ! 8304: ! 8305: * emit-rtl.c (copy_rtx_if_shared): Don't try to copy a 0-length vector. ! 8306: ! 8307: * config/m68k/x-apollo68 (TAROUTOPTS): New definition. ! 8308: ! 8309: * config.sub: Canonicalize -sco4 and -sco3.2.4 to -sco3.2v4. ! 8310: ! 8311: * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore. ! 8312: (option_map): Add --include-with-prefix-before and ! 8313: --include-with-prefix-after. ! 8314: ! 8315: Sun Jun 27 16:04:52 1993 Holger Teutsch ([email protected]) ! 8316: ! 8317: * va-clipper.h: Use and define Macro __GNUC_VA_LIST. Define struct ! 8318: __gnuc_va_list. ! 8319: ! 8320: Sun Jun 27 08:32:19 1993 Richard Kenner ([email protected]) ! 8321: ! 8322: * machmode.h (INTEGRAL_MODE_P, FLOAT_MODE_P): New macros. ! 8323: * cse.c (simplify_*_operation, fold_rtx, record_jump_cond, cse_insn): ! 8324: Use them. ! 8325: * combine.c (subst, apply_distributive_law): Likewise. ! 8326: (reversible_comparison_p): Likewise. ! 8327: Can reverse if MODE_COMPLEX_INT or MODE_PARTIAL_INT. ! 8328: ! 8329: * function.c (fixup_stack_1): Handle ! 8330: current_function_internal_arg_pointer. ! 8331: ! 8332: * stor-layout.c: Add prototypes for layout_record and layout_union. ! 8333: (smallest_mode_for_size): New function. ! 8334: (variable_size): Allow variable sizes if global_bindings_p returns a ! 8335: negative value. ! 8336: (mode_for_size): Fix incorrect comment. ! 8337: (layout_decl): If DECL has a size already, don't copy from type. ! 8338: (layout_type, case INTEGER_TYPE, ENUMERAL_TYPE): Use smallest ! 8339: integer mode that fits, whether or not it fits exactly. ! 8340: ! 8341: * emit-rtl.c (restore_emit_status): Clear LAST_LABEL_NUM. ! 8342: ! 8343: * calls.c (expand_call): If function hasn't been used before, ! 8344: call assemble_external. ! 8345: ! 8346: * expr.c (store_constructor): Treat QUAL_UNION_TYPE just ! 8347: like UNION_TYPE. ! 8348: (safe_from_p, case ADDR_EXPR): EXP is safe from X it is is static or ! 8349: if the object whose address is being taken is safe from X. ! 8350: (expand_expr): Fix misplaced comment from last change. ! 8351: (expand_expr, case *_DECL): If not already used, assemble external. ! 8352: (expand_expr, case EXIT_EXPR): Simplify. ! 8353: (expand_expr, TRUTH_{AND,OR}IF_EXPR): Properly handle IGNORE case. ! 8354: ! 8355: * tree.c (array_type_nelts): Tighten up code and make more general. ! 8356: (build_function_type): Allow function to return array. ! 8357: (decl_function_context): Treat QUAL_UNION_TYPE like UNION_TYPE. ! 8358: ! 8359: * fold-const.c (fold, case TRUTH_XOR_EXPR): End with `return', ! 8360: not `break'. ! 8361: ! 8362: * dwarfout.c (output_compile_unit_die): Add support for Ada. ! 8363: ! 8364: * c-iterate.c (collect_iterators, case SAVE_EXPR): Simplify code ! 8365: added in previous change. ! 8366: ! 8367: * expr.c: Fix typo: was ARGS_GROW_DOWNARD. ! 8368: ! 8369: * combine.c (subst, case IF_THEN_ELSE): Install correct version of ! 8370: last change. ! 8371: ! 8372: Sat Jun 26 15:38:33 1993 Richard Stallman ([email protected]) ! 8373: ! 8374: * cccp.c (main): For -iwithprefix, if no include_prefix, ! 8375: make a default from GCC_INCLUDE_DIR. ! 8376: Support -iwithprefixbefore. ! 8377: ! 8378: * reload.c (find_reloads): When merging reloads again after they have ! 8379: been changed, do check reload_reg_class and reload_nocombine. ! 8380: ! 8381: * config/sparc/sparc.md (movdf recognizer): Remove & from ! 8382: constraint for loading mem to cpu reg. ! 8383: ! 8384: * expr.c (expand_assignment): If FROM is scalar function call, ! 8385: expand_expr FROM before TO. ! 8386: ! 8387: * gcc.c (translate_options): `*' inhibits warning of extraneous arg. ! 8388: ! 8389: Sat Jun 26 11:07:23 1993 Richard Kenner ([email protected]) ! 8390: ! 8391: * reload1.c (reload): Use reg_equiv_address for invalid addresses ! 8392: of the form (mem (reg)). ! 8393: ! 8394: * config/*/xm-*.h: Remove line that #define's alloca ! 8395: to __builtin_alloca. ! 8396: ! 8397: * fold-const.c (fold, case PLUS_EXPR, MINUS_EXPR): Apply ! 8398: distributive law to multiplication. ! 8399: (fold, case *_DIV_EXPR): Replace code to handle (A*C1)/C2 with ! 8400: more general code to handle addition as well. ! 8401: (fold, case *_MOD_EXPR): Add simplified version of above code. ! 8402: ! 8403: * integrate.c (function_cannot_inline_p): Can now inline nested ! 8404: functions. ! 8405: (expand_inline_function): Set up static chain if needed. ! 8406: (output_inline_function): Don't switch to temporary allocation ! 8407: here. ! 8408: * toplev.c (compile_file): Switch to temporary allocation when ! 8409: writing out inline function. ! 8410: * cp-decl2.c (write_vtable_entries, finish_file): Likewise. ! 8411: * c-decl.c, cp-decl.c (poplevel): Start new function context ! 8412: when writing inline function. ! 8413: ! 8414: * c-decl.c (init_decl_processing): When making SIZETYPE, ! 8415: start with name in SIZE_TYPE. If -traditional, use a ! 8416: signed version of that type, if it is unsigned. ! 8417: ! 8418: * fold-const.c: Add prototypes for static functions. ! 8419: ({l,r}{shift,rotate}_double): COUNT arg is HOST_WIDE_INT, PREC is int. ! 8420: (all_ones_mask): Remove __inline__. ! 8421: (range_test): Make static; not used elsewhere. ! 8422: * tree.h: Add more decls for functions in fold-const.c. ! 8423: ! 8424: * calls.c (expand_calls): Fix typo: ALLOCATE_OUTGOING_ARGS ! 8425: should be ACCUMULATE_OUTGOING_ARGS. ! 8426: ! 8427: * tree.def (TRUTH_{AND,OR,XOR}_EXPR): Make code class be 'e' like ! 8428: the rest of the truth operations. ! 8429: * fold-const.c (fold_truthop): Treat a BIT_AND_EXPR with a constant of ! 8430: one as if it were surrounded with an NE_EXPR. ! 8431: (fold): Don't move operation into conditional if it ! 8432: is BIT_{AND,OR}_EXPR with the constant 1; change it to TRUTH_*_EXPR ! 8433: instead. ! 8434: When moving things inside conditions, move comparisons as well as ! 8435: binary operations. ! 8436: Don't make a SAVE_EXPR when moving things inside conditionals unless ! 8437: the value would really have been used twice. ! 8438: ! 8439: * expr.c (do_store_flag): When computing via a shift, allow for ! 8440: an inner RSHIFT_EXPR in BITNUM. ! 8441: Sometimes do the operations as signed. ! 8442: ! 8443: * combine.c (subst): apply_distributive_law can also handle AND. ! 8444: (subst, case IF_THEN_ELSE): Make a shift when appropriate. ! 8445: (simplify_shift_const): If we have an outer operation and made ! 8446: a shift, see if it can be simplified. ! 8447: ! 8448: Sat Jun 26 03:25:35 1993 Richard Stallman ([email protected]) ! 8449: ! 8450: * configure (i370-*-mvs*): New configuration. ! 8451: * config/i370/i370.md, mvs370.c, tm-mvs.h, xm-mvs.h ! 8452: ! 8453: * final.c, varasm.c: Include ctype.h. ! 8454: * c-lex.c: Include ctype.h. ! 8455: (isalnum, isdigit): Macros deleted. ! 8456: ! 8457: * config/sparc/sparc.c (output_move_double): Handle ! 8458: reg[n,n+1] = mem[reg[n] + reg[n+1]]. ! 8459: * config/sparc/sparc.md (movdi): Delete the earlyclobber in load case. ! 8460: ! 8461: Sat Jun 26 03:15:38 1993 Doug Evans ([email protected]) ! 8462: ! 8463: * gcc.c (option_map): Add missing comma. ! 8464: ! 8465: Sat Jun 26 02:17:28 1993 Richard Stallman ([email protected]) ! 8466: ! 8467: * config/we32k/we32k.c: Clean up formatting. ! 8468: ! 8469: * calls.c (calls_function_1): Add declaration. ! 8470: ! 8471: * config/m68k/m68k.md (fix_truncdfsi2, fix_truncdfhi2, fix_truncdfqi2): ! 8472: Require TARGET_68881 as well as TARGET_68040. ! 8473: ! 8474: Fri Jun 25 20:13:51 1993 Richard Stallman ([email protected]) ! 8475: ! 8476: * calls.c (calls_function): Don't scan a single save_expr twice. ! 8477: (calls_function_1): New subroutine for the actual recursion. ! 8478: ! 8479: * c-parse.in (all_iter_stmt_simple): Add missing `else'. ! 8480: ! 8481: Fri Jun 25 15:53:59 1993 Brendan Kehoe ([email protected]) ! 8482: ! 8483: Cygnus<->FSF merge. ! 8484: Fri Jun 25 10:00:34 1993 Brendan Kehoe ([email protected]) ! 8485: ! 8486: * cp-decl.c: Delete some #if 0'd code that has been there forever. ! 8487: ! 8488: * cp-type2.c (my_friendly_abort): Update count of aborts (added by ! 8489: emit_base_init rewrite). ! 8490: ! 8491: Make default copy constructors work properly. ! 8492: * cp-lex.c (cons_up_default_function): Mark the generated ctor with ! 8493: RID_INLINE, so it won't get emitted unless it's needed. ! 8494: * cp-decl.c (grok_ctor_properties): If CTYPE has virtual base ! 8495: classes, make sure we don't pay attention to the int that we ! 8496: magically added to the ctor decl. ! 8497: * cp-ptree.c (print_lang_type): Note a const copy ctor vs a normal ! 8498: copy ctor. Say if TYPE_HAS_DEFAULT_CONSTRUCTOR. ! 8499: * cp-tree.h (cons_up_default_function): Modify prototype. ! 8500: * cp-class.c (finish_struct): Also check TYPE_HAS_CONSTRUCTOR, so ! 8501: we don't generate a default ctor if they already declared one ! 8502: (taking whatever arg types). ! 8503: ! 8504: Wed Feb 3 17:41:02 1993 Chip Salzenberg ([email protected]) ! 8505: ! 8506: * cp-class.c (needs_const_ctor): Eliminate as meaningless. ! 8507: (finish_struct) Always generate default functions. ! 8508: Generate exactly one copy constructor: either "X(X&)" or ! 8509: "X(const X&)", but not both. ! 8510: * cp-lex.c (cons_up_default_function): Take list of fields ! 8511: as a new parameter. Use default_copy_constructor_body. ! 8512: Set TREE_PUBLIC and DECL_EXTERNAL correctly for usage with ! 8513: #pragma interface. ! 8514: (default_copy_constructor_body): New function (uses obstacks). ! 8515: ! 8516: Thu Jun 24 12:41:16 1993 Mike Stump ([email protected]) ! 8517: ! 8518: * cp-call.c (build_scoped_method_call, build_method_call): Remove ! 8519: maybe_adjust argument to build_delete as it is unneeded and remove all ! 8520: support for the magic cookie key in the area just before the data ! 8521: allocated by new []. ! 8522: * cp-decl.c (finish_function, maybe_build_cleanup, ! 8523: push_exception_cleanup): Likewise. ! 8524: * cp-decl2.c (delete_sanity, finish_file): Likewise. ! 8525: * cp-init.c (init_init_processing, build_new, ! 8526: maybe_adjust_addr_for_delete, build_delete, build_vbase_delete, ! 8527: build_vec_delete): Likewise. ! 8528: * cp-tree.c (build_cplus_new): Likewise. ! 8529: * cp-tree.h (build_delete): Likewise. ! 8530: ! 8531: Wed Jun 23 17:18:41 1993 Brendan Kehoe ([email protected]) ! 8532: ! 8533: * cp-decl.c (init_decl_processing): Also catch SIGBUS. ! 8534: (sigsegv): Rename to signal_catch; also reset SIGBUS. ! 8535: ! 8536: * cp-typeck.c (pointer_diff): Error if op1 is a pointer to an ! 8537: incomplete type. ! 8538: ! 8539: Wed Jun 23 16:17:43 1993 Mike Stump ([email protected]) ! 8540: ! 8541: * cp-search.c (dfs_get_vbase_types, get_vbase_types): Conform to ARM ! 8542: 12.6.2 with respect to virtual bases. Virtual bases are now ! 8543: initialized in dfs order. ! 8544: ! 8545: Wed Jun 23 16:04:17 1993 Brendan Kehoe ([email protected]) ! 8546: ! 8547: * cp-tree.c (layout_basetypes): Disable the warning relating to a ! 8548: non-virtual dtor. ! 8549: ! 8550: Tue Jun 22 20:03:59 1993 Mike Stump ([email protected]) ! 8551: ! 8552: * cp-lex.c (reinit_parse_for_block): Detect EOFs inside templates. ! 8553: ! 8554: Tue Jun 22 16:10:46 1993 Mike Stump ([email protected]) ! 8555: ! 8556: * cp-class.c (finish_struct): Set TYPE_NONCOPIED_PARTS now that the ! 8557: right vtable can be found, so that the vtable pointers are set ! 8558: correctly when implementing default copy constructors. ! 8559: * cp-typeck.c (build_modify_expr): Use TYPE_NONCOPIED_PARTS in the ! 8560: same way the backend uses it when implementing default copy ! 8561: constructors. ! 8562: ! 8563: Tue Jun 22 10:50:56 1993 Brendan Kehoe ([email protected]) ! 8564: ! 8565: * cp-decl.c (grokdeclarator): Don't try to mangle the name of a fn ! 8566: that has C linkage. ! 8567: ! 8568: * cp-init.c (xref_friends): Deleted fn, since it's the same as ! 8569: xref_friend. ! 8570: (xref_friend): Make it static. ! 8571: (do_friend): Change call to xref_friend. ! 8572: * cp-tree.h (xref_friend, xref_friends): Delete extern decls. ! 8573: ! 8574: * cp-tree.h (lang_type): Delete `dynamic' bit. ! 8575: * gplus.gperf (dynamic): Delete reserved word. ! 8576: * cp-hash.h: Generated a new version. ! 8577: * cp-lex.c (init_lex): Delete doing an unset of `dynamic'. ! 8578: * cp-parse.y (DYNAMIC): Delete token and setting it to %right. ! 8579: (new, aggr): Delete DYNAMIC rules. ! 8580: * cp-spew.c (init_spew, struct toks_follow_types): Delete DYNAMIC. ! 8581: ! 8582: * cp-typeck.c (convert_for_assignment): There's no standard ! 8583: conversion from a pointer to member to a `void *'. ! 8584: ! 8585: * cp-decl.c (init_decl_processing): Add builtins for ! 8586: __builtin_apply_args, __builtin_apply, and __builtin_return. ! 8587: ! 8588: Mon Jun 21 12:05:28 1993 Brendan Kehoe ([email protected]) ! 8589: ! 8590: * cp-decl2.c (grok_x_components): New function. Adjust the code that ! 8591: handles ENUMERAL_TYPEs and UNION_TYPEs to make more sense. ! 8592: * cp-parse.y (component_decl): Move a lot of code into that fn. ! 8593: * cp-tree.h (grok_x_components): Add extern decl. ! 8594: ! 8595: * cp-parse.y (component_decl_list): Don't warn about a semicolon ! 8596: after a component_decl_list. ! 8597: ! 8598: * cp-search.c (lookup_field): Be careful to handle operators ! 8599: properly when complaining about ambiguities &c. ! 8600: ! 8601: * cp-search.c (dfs_pushdecls): Make sure we have a context before ! 8602: seeing if it derives from TYPE. ! 8603: ! 8604: Fri Jun 18 08:14:11 1993 Brendan Kehoe ([email protected]) ! 8605: ! 8606: * cp-decl2.c (finish_anon_union): Use simple_cst_equal to find the ! 8607: member that can hold all the values, instead of just doing a compare ! 8608: between the DECL_SIZEs. ! 8609: ! 8610: Wed Jun 16 10:57:37 1993 Brendan Kehoe ([email protected]) ! 8611: ! 8612: * cp-typeck.c (build_unary_op): Make sure it's the global fn `main' ! 8613: before complaining about taking the address of it. ! 8614: ! 8615: * cp-decl.c (grokdeclarator): Also forbid `operator ()' as a ! 8616: non-member fn. ! 8617: ! 8618: * cp-decl.c (grok_reference_init): Don't allow an initializer list ! 8619: as the initializer for a reference. ! 8620: ! 8621: * cp-method.c (dump_init): Handle a NON_LVALUE_EXPR. ! 8622: ! 8623: Sun Jun 13 12:55:22 1993 Brendan Kehoe ([email protected]) ! 8624: ! 8625: * cp-decl.c (grokvardecl): Don't complain about duplicate ! 8626: definitions of `extern "C"' declarations (parallelize it with how ! 8627: regular `extern' decls are handled). ! 8628: ! 8629: * cp-decl.c (start_function): Avoid a null-reference on CTYPE. ! 8630: ! 8631: * cp-cvt.c (build_default_binary_type_conversion): Look deeper into ! 8632: what ARG1 and ARG2 are if they're POINTER_TYPEs. ! 8633: ! 8634: Thu Jun 10 12:09:17 1993 Brendan Kehoe ([email protected]) ! 8635: ! 8636: * cp-decl.c (grokdeclarator): Make the warning about opr-eq being a ! 8637: member function be a pedwarn. ! 8638: ! 8639: Thu Jun 10 00:30:08 1993 Mike Stump ([email protected]) ! 8640: ! 8641: * cp-tree.h: (previous_class_type): Add external declaration. ! 8642: * cp-class.c (prev_class_type): Rename to previous_class_type. ! 8643: * cp-decl.c (struct saved_scope): Add previous_class_type slot. ! 8644: * cp-decl.c (push_to_top_level, pop_from_top_level): Track ! 8645: previous_class_type value. The only trick is that we have to call ! 8646: popclass(-1) when we have a previous_class_type that we are about to ! 8647: destroy, to keep things in sync. ! 8648: ! 8649: Tue Jun 8 16:48:49 1993 Mike Stump ([email protected]) ! 8650: ! 8651: * cp-cvt.c (build_thunk, convert_fn_ptr): New routines to handle ! 8652: thunks. ! 8653: * cp-cvt.c (cp_convert_to_pointer): Use convert_fn_ptr when ! 8654: converting non-static pointer to members. ! 8655: ! 8656: Tue Jun 8 16:41:59 1993 Brendan Kehoe ([email protected]) ! 8657: ! 8658: * cp-lex.c (reinit_parse_for_block): Make sure not to try to use ! 8659: consume_string on an escaped double-quote. ! 8660: ! 8661: Tue Jun 8 16:25:43 1993 Mike Stump ([email protected]) ! 8662: ! 8663: * cp-call.c (build_method_call): Don't search hidden functions from ! 8664: base classes, as this violates chapter 10. ! 8665: ! 8666: Mon Jun 7 18:46:01 1993 Brendan Kehoe ([email protected]) ! 8667: ! 8668: * cp-init.c (emit_base_init): Rewrite, merging the two paths into ! 8669: one for member initialization. Now members will be initialized in ! 8670: order of declaration, not in the order of the mem-initializer list. ! 8671: (perform_member_init, sort_member_init): New functions. ! 8672: ! 8673: Mon Jun 7 18:01:31 1993 Mike Stump ([email protected]) ! 8674: ! 8675: * cp-search.c (is_subobject_of_p, lookup_field, lookup_fnfields): ! 8676: Because virtual bases don't necessarily share the same binfo, use ! 8677: the binfo hierarchy of TYPE_BINFO of any virtual bases, when ! 8678: performing hiding checks. Fixes problem introduced on Thu Mar 25 ! 8679: 23:09:27 1993. The symptom is the compiler reports non ambiguous ! 8680: members as being ambiguous. ! 8681: ! 8682: Sun Jun 6 11:45:44 1993 Michael Tiemann ([email protected]) ! 8683: ! 8684: * cp-call.c (EVIL,TRIVIAL): New macros. ! 8685: (convert_harshness): Use these macros. ! 8686: ! 8687: Sat Jun 5 19:06:13 1993 Michael Tiemann ([email protected]) ! 8688: ! 8689: * cp-init.c (emit_base_init): Make clearing BINFO_BASEINIT_MARKED ! 8690: symmetric with its setting. Fixes p2825. ! 8691: ! 8692: Thu Jun 3 16:24:30 1993 Brendan Kehoe ([email protected]) ! 8693: ! 8694: * cp-parse.y (component_declarator, component_declarator0): ! 8695: Allow attribute after nameless field. ! 8696: ! 8697: * cp-lex.c (real_yylex): Take care to expand token_buffer before ! 8698: storing each character. ! 8699: ! 8700: * cp-lex.c (real_yylex): If an integer value overflows so the high ! 8701: word is negative, it's of unsigned long long type. Integer constant ! 8702: is unsigned for purposes of int_fits_type_p so that it compares huge ! 8703: constants properly. Warn about integers so large that they are ! 8704: unsigned. ! 8705: ! 8706: * cp-cvt.c (convert_from_reference): Do an or-equals on setting ! 8707: TREE_SIDE_EFFECTS for NVAL. ! 8708: * cp-tree.c (lvalue_p): For a SAVE_EXPR, check its first argument. ! 8709: ! 8710: Thu Jun 3 11:34:35 1993 Brendan Kehoe ([email protected]) ! 8711: ! 8712: * cp-decl2.c (grok_alignof): New function. ! 8713: * cp-parse.y (unary_expr, ALIGNOF unary_expr rule): Move the code ! 8714: into the new function, to reduce the size of the parser. ! 8715: * cp-tree.h (grok_alignof): Add prototype. ! 8716: ! 8717: * cp-decl.c (grokdeclarator): Allow function-call notation for ! 8718: initialization of scalars as well as aggregates. ! 8719: ! 8720: * cp-decl.c (pushdecl): Don't pay attention to friends when noting a ! 8721: missing `static' decl. Disable this code for now. ! 8722: ! 8723: Wed Jun 2 12:23:05 1993 Brendan Kehoe ([email protected]) ! 8724: ! 8725: * cp-decl.c (duplicate_decls): Do a regular error if the line number ! 8726: on NEWDECL hasn't been set yet (e.g., before finish_struct). ! 8727: ! 8728: * cp-class.c (finish_struct): Remove warning about a bit-field ! 8729: having a bad type in ANSI C++, it's not appropriate given the ! 8730: warning immediately above. ! 8731: ! 8732: * cp-typeck.c (require_instantiated_type): Don't allow an ! 8733: initializer list in an argument list. ! 8734: ! 8735: * cp-decl.c (pushdecl): Change shadowing of a param in outermost ! 8736: block of the fn from a pedwarn to an error, since it's a ! 8737: redeclaration. ! 8738: ! 8739: * cp-class.c (finish_struct): Say anonymous classes and structs are ! 8740: useless, not just classes. ! 8741: ! 8742: * cp-lex.c (real_yylex): Warn if catch, throw, or try are used as ! 8743: identifier names. ! 8744: ! 8745: * cp-decl.c (pushdecl): Make sure we have a CURRENT_FUNCTION_DECL ! 8746: before setting its public flag. ! 8747: ! 8748: * cp-decl.c (expand_static_init): Only complain about multiple ! 8749: initializations of a static variable if we actually have an ! 8750: initializer. ! 8751: (finish_decl): Likewise for const. ! 8752: ! 8753: * cp-search.c (build_mi_matrix): Fix off-by-one error in ! 8754: clearing of MI_MATRIX. ! 8755: (get_base_distance): Init NEW_BINFO to 0. ! 8756: ! 8757: * cp-pt.c (instantiate_member_templates): Initialize XXX to 0. ! 8758: ! 8759: * cp-call.c (build_method_call): Zero out candidates. ! 8760: (build_overload_call_real): Likewise. ! 8761: ! 8762: Wed Jun 2 11:53:24 1993 Mike Stump ([email protected]) ! 8763: ! 8764: * cp-search.c (lookup_fnfields_here): Use TYPE_MAIN_VARIANT on ! 8765: context types before comparing. Fixes const member functions not ! 8766: being found in templates. ! 8767: ! 8768: Tue Jun 1 18:26:18 1993 Brendan Kehoe ([email protected]) ! 8769: ! 8770: * cp-parse.y (structsp): Avoid a null-ref on ID. ! 8771: (left_curly): Likewise. ! 8772: ! 8773: Tue Jun 1 13:49:20 1993 Brendan Kehoe ([email protected]) ! 8774: ! 8775: * cp-decl.c (pushdecl): Communicate a `static' decl of a prototype ! 8776: into its definition, if they forget to take care of it. ! 8777: ! 8778: * cp-init.c (emit_base_init): Make error message more useful about ! 8779: insufficient initializers for a member of a class w/o a ctor. ! 8780: ! 8781: Sun May 30 09:45:06 1993 Michael Tiemann ([email protected]) ! 8782: ! 8783: * cp-call.c (compute_conversion_costs): Penalise each argument that ! 8784: matches an ellipsis, not just the ellipsis itself. ! 8785: (build_method_call): Don't consider a candidate an easy match if ! 8786: cp->ellipsis is non-zero (fixes p2778). ! 8787: ! 8788: Sat May 29 09:34:57 1993 Michael Tiemann ([email protected]) ! 8789: ! 8790: * cp-cvt.c (convert_to_reference): Match ARM rules more closely by: ! 8791: (1) not converting between types of different signedness, and ! 8792: (2) converting between types of different varieties if a const& ! 8793: suggests we can use a temporary (fixes p2780). ! 8794: ! 8795: * cp-decl.c (decls_match): Handle pseudo-match of parameter lists ! 8796: according to p308 of the ARM. ! 8797: (push_overloaded_decl): Ditto. ! 8798: * cp-typeck.c (comptypes): Rest of change (closes p2779). ! 8799: ! 8800: * cp-call.c (compute_conversion_costs): Count ellipses when we see ! 8801: them. ! 8802: (ideal_candidate): Gracefully handle arg lists that have ellipses ! 8803: (Fixes p2777). ! 8804: ! 8805: * cp-call.c (build_method_call): Delete some #ifdefs that are ! 8806: obsoleted by ANSI. ! 8807: ! 8808: Fri May 28 12:15:21 1993 Brendan Kehoe ([email protected]) ! 8809: ! 8810: * cp-decl.c (finish_decl): Don't allow overloaded operators to have ! 8811: default arguments. ! 8812: ! 8813: * cp-cvt.c (convert): If it's an anonymous enum, say so instead of ! 8814: giving the cryptic `._123' as the enum type. ! 8815: ! 8816: Thu May 27 10:52:49 1993 Brendan Kehoe ([email protected]) ! 8817: ! 8818: * cp-decl.c (grokdeclarator): Return 0 instead of doing a 155 abort, ! 8819: so we'll get the right error message later. ! 8820: ! 8821: * cp-type2.c (readonly_error): Give a more useful error when the arg ! 8822: is a RESULT_DECL. ! 8823: ! 8824: * cp-init.c (build_new): Set LOOKUP_COMPLAIN on the flags, so we'll ! 8825: pay attention to the visibility of the constructor we're trying to ! 8826: call. ! 8827: ! 8828: * toplev.c (lang_options): Add warning about ctor/dtor privacy. ! 8829: * cp-decl2.c (lang_decode_option): Grok it. Make -Wall effect it. ! 8830: (warn_ctor_dtor_privacy): New variable, default being on. ! 8831: * cp-tree.h (warn_ctor_dtor_privacy): Add extern decl. ! 8832: * cp-class.c (finish_struct_methods): Make the ctor warning ! 8833: conditionalized on the flag. ! 8834: (finish_struct): Likewise for ctors. ! 8835: * invoke.texi (Option Summary, Warning Options): Add it. ! 8836: (Options to Request or Suppress Warnings): Explain it. ! 8837: ! 8838: * cp-decl.c (grokdeclarator): Use a pedwarn on extern inline. ! 8839: ! 8840: Tue May 25 13:55:48 1993 Brendan Kehoe ([email protected]) ! 8841: ! 8842: * cp-init.c (build_delete): Don't pass the size as an argument to ! 8843: builtin delete for a non-aggregate type. Only pass it for a class ! 8844: when we'll be using its own operator delete(). (complies w/ $12.5) ! 8845: (build_x_delete): Don't pass the size down to builtin delete. ! 8846: ! 8847: * cp-decl2.c (delete_sanity): If it's a pointer to a type that has ! 8848: no destructor, then build a regular delete expression, instead of a ! 8849: vector one (since we didn't push any info into the BI_header_type ! 8850: area). ! 8851: ! 8852: * cp-decl2.c (grok_array_decl): Add a pedwarn if they do `5[a]'. ! 8853: ! 8854: * cp-typeck.c (comptypes): Don't warn about t2 being an ! 8855: error_mark_node. ! 8856: ! 8857: * cp-decl.c (finish_decl): If type is laid out, but decl is not, ! 8858: call layout_decl. ! 8859: ! 8860: Mon May 17 10:35:55 1993 Brendan Kehoe ([email protected]) ! 8861: ! 8862: * cp-tree.h (error_not_base_type): Add prototype. ! 8863: ! 8864: Fri May 14 17:16:55 1993 Mike Stump ([email protected]) ! 8865: ! 8866: * cp-class.c (finish_struct): Use get_binfo instead of binfo_value ! 8867: to find vfields. Cures compiler_error. ! 8868: ! 8869: Thu May 13 14:57:51 1993 Mike Stump ([email protected]) ! 8870: ! 8871: * cp-tree.c (binfo_value): If type is the main binfo for elem, ! 8872: return it. ! 8873: ! 8874: Wed May 12 13:10:07 1993 Brendan Kehoe ([email protected]) ! 8875: ! 8876: * cp-typeck.c (c_expand_return): Pedwarn on using return without a ! 8877: value in a function that requires one. Clear ! 8878: CURRENT_FUNCTION_RETURNS_NULL, so we don't get a bogus warning about ! 8879: reaching the end of a non-void function. ! 8880: ! 8881: Tue May 11 17:51:16 1993 Mike Stump ([email protected]) ! 8882: ! 8883: * cp-decl.c (start_decl): Allow -fexternal-templates compiled code to ! 8884: fall back to old strategy of generating static copies for templates ! 8885: that are not under the control of #pragma interface/implementation, ! 8886: but warn if this happens. ! 8887: * cp-decl2.c (warn_if_unknown_interface): Likewise. ! 8888: * cp-lex.c (reinit_parse_for_method, cons_up_default_function): ! 8889: Likewise. ! 8890: * cp-pt.c (end_template_decl, instantiate_member_templates, ! 8891: instantiate_template): Likewise. ! 8892: * cp-tree.h (warn_if_unknown_interface): Likewise. ! 8893: ! 8894: Sat May 8 05:53:17 1993 Michael Tiemann ([email protected]) ! 8895: ! 8896: * cp-decl.c (finish_decl): TOPLEV should be set non-zero also if we ! 8897: are at the pseudo-global level. Use TOPLEV instead of testing ! 8898: CURRENT_BINDING_LEVEL. ! 8899: ! 8900: Fri May 7 12:42:46 1993 Brendan Kehoe ([email protected]) ! 8901: ! 8902: * cp-decl2.c (grok_array_decl): New function. ! 8903: * cp-parse.y (primary): Use it instead of lots of code in the ! 8904: parser. ! 8905: * cp-tree.h (grok_array_decl): Add prototype. ! 8906: ! 8907: * cp-parse.y (component_decl): Disable change about TYPE_DECLs going ! 8908: into the TYPE_FIELDS list for now. ! 8909: * cp-type2.c (store_init_value): Disable checks for now. ! 8910: ! 8911: Thu May 6 16:59:19 1993 Brendan Kehoe ([email protected]) ! 8912: ! 8913: * cp-lex.c (check_newline): Use a while instead of a do-while to ! 8914: avoid reading the line after the #pragma if we're at a newline. ! 8915: ! 8916: Wed May 5 16:38:06 1993 Brendan Kehoe ([email protected]) ! 8917: ! 8918: * Makefile.in (stamp-cp-parse): Update reduce/reduce count to 13. ! 8919: ! 8920: * cp-decl2.c (delete_sanity): New function. ! 8921: * cp-parse.y (unary_expr): Call it, getting rid of a lot of ! 8922: repeated code in the parser. ! 8923: * cp-tree.h (delete_sanity): Add prototype. ! 8924: ! 8925: * cp-init.c (emit_base_init): Don't try to do anything with a member ! 8926: that lacks a DECL_NAME (e.g., types we added in component_decl from ! 8927: the parser). ! 8928: ! 8929: Wed May 5 12:57:33 1993 Jim Wilson ([email protected]) ! 8930: ! 8931: * cp-parse.y (get_current_declspecs): Obsolete, deleted. ! 8932: ! 8933: Tue May 4 13:46:09 1993 Brendan Kehoe ([email protected]) ! 8934: ! 8935: * cp-type2.c (process_init_constructor): Don't check for private or ! 8936: protected members; we do that in store_init_value now. ! 8937: ! 8938: * cp-parse.y (simple_stmt): Use expr_no_commas instead of expr for ! 8939: case labels. ! 8940: ! 8941: * cp-typeck.c (build_binary_op_nodefault): Add 'right' and 'left' to ! 8942: shift count warnings to distinguish them from each other. ! 8943: ! 8944: * cp-decl.c (finish_decl, grokdeclarator): Report overflows in ! 8945: storage sizes. ! 8946: (build_enumerator): Report overflows on enumerators. ! 8947: * cp-decl2.c (grokbitfield): Likewise. ! 8948: * cp-parse.y (unary_expr): Warn about overflows in parser-built ! 8949: unary expressions. ! 8950: * cp-typeck.c (c_sizeof): Call force_fit_type only for INTEGER_CST. ! 8951: (build_c_cast): Ignore any integer overflow caused by a cast. ! 8952: (convert_for_assignment): Warn if source had overflow in folding. ! 8953: (build_conditional_expr): Check conversions in if-then-else ! 8954: expressions. ! 8955: * cp-tree.h (convert_and_check, overflow_warning, ! 8956: unsigned_conversion_warning): Add prototypes for fns in c-common.c. ! 8957: ! 8958: * cp-decl.c (init_decl_processing): Make the arrays 200 long to ! 8959: leave enough room for most names. ! 8960: ! 8961: * cp-decl.c (lookup_label): Return a NULL_TREE if not within a ! 8962: function. ! 8963: * cp-parse.y (unary_expr, ANDAND identifier): Handle lookup_label ! 8964: returning a NULL_TREE. ! 8965: ! 8966: * cp-method.c (dump_init): Grok a FIELD_DECL as well. ! 8967: ! 8968: * cp-decl.c (finish_function): Move setting of the DECL_RESULT's ! 8969: context and calling setjmp_protect after poplevel, so we have a ! 8970: valid DECL_INITIAL for the fndecl (not an error_mark_node). ! 8971: ! 8972: Mon Jan 25 11:04:23 1993 Niklas Hallqvist (niklas at della.appli.se) ! 8973: ! 8974: * cp-parse.y (component_decl): Handle anonymous unions as static ! 8975: class members. ! 8976: * cp-decl.c (grokdeclarator): Ditto. ! 8977: ! 8978: * cp-decl.c (shadow_tag): Emit error message if static or extern ! 8979: is specified as per ARM 7.1.1. ! 8980: ! 8981: * cp-decl2.c (finish_anon_union): Issue error if a global ! 8982: anonymous union is not declared static, remove old funny error ! 8983: about some optimizer failing. ! 8984: ! 8985: * cp-class.c (finish_struct): Corrected error message concerning ! 8986: anonymous classes. ! 8987: ! 8988: * cp-lex.c (check_for_missing_semicolon): Allow trailing storage ! 8989: specifiers. ! 8990: ! 8991: Fri Jan 29 09:39:17 1993 Niklas Hallqvist (niklas at della) ! 8992: ! 8993: * cp-parse.y (component_decl): Nested unions, enums and structs ! 8994: should have their TYPE_DECLs in the TYPE_FIELDS slot of the ! 8995: containing type so the access flags eventually will get correctly ! 8996: set. ! 8997: ! 8998: * cp-type2.c (store_init_value): Check for the aggregate conditions ! 8999: described in ARM 8.4.1. ! 9000: ! 9001: Mon May 3 19:10:28 1993 Brendan Kehoe ([email protected]) ! 9002: ! 9003: * cp-lex.c (real_yylex): Don't warn about floating point out of ! 9004: range if target floating-point format is IEEE. ! 9005: ! 9006: * cp-class.c (finish_struct): Promote unsigned bitfields to signed ! 9007: int if the field isn't as wide as an int. ! 9008: ! 9009: * cp-search.c (dfs_pushdecls): Use warning_with_decl, so we give the ! 9010: line number of the offending method declaration, rather than the ! 9011: line number of the curly-brace that ends the class definition. ! 9012: ! 9013: Mon May 3 18:04:15 1993 Brendan Kehoe ([email protected]) ! 9014: ! 9015: * cp-cvt.c (convert): When doing int->enum conversions, always call ! 9016: pedwarn, even if we didn't give `-pedantic'. ! 9017: ! 9018: * cp-decl.c (start_function): Add extern decl of ! 9019: `flag_external_templates'. ! 9020: ! 9021: * cp-lex.c (check_newline): Warn if there's anything after a ! 9022: `#pragma interface'. ! 9023: ! 9024: Mon May 3 12:39:49 1993 Brendan Kehoe ([email protected]) ! 9025: ! 9026: * cp-class.c (finish_struct_methods): Use `warning' on a class w/ a ! 9027: private dtor and no friends, so the line number comes out right. Also ! 9028: only emit this warning when `extra_warnings' is true. ! 9029: ! 9030: * cp-type2.c (process_init_constructor): Don't allow use of an ! 9031: initializer list for a class with private or protected members. ! 9032: ! 9033: Sat May 1 15:07:24 1993 Mike Stump ([email protected]) ! 9034: ! 9035: * cp-decl.c (start_decl, start_function): Add a new flag ! 9036: -fexternal-templates. Use flag_external_templates to determine when ! 9037: template definitions should be made externally visible and ! 9038: accessible. This permits non-exponential growth in object files ! 9039: that use templates. ! 9040: * cp-decl2.c (lang_f_options): Likewise. ! 9041: * cp-lex.c (reinit_parse_for_method, cons_up_default_function): ! 9042: Likewise. ! 9043: * cp-parse.y (template_instantiate_once): Likewise. ! 9044: * cp-pt.c (end_template_decl, instantiate_member_templates, ! 9045: instantiate_template, end_template_instantiation): Likewise. ! 9046: * toplev.c (lang_options): Likewise. ! 9047: ! 9048: Fri Apr 30 18:50:00 1993 Brendan Kehoe ([email protected]) ! 9049: ! 9050: * cp-spew.c (arbitrate_lookup): If the next character is a '[', then ! 9051: have the compiler assume it's an expression instead of a type. ! 9052: ! 9053: Fri Apr 30 14:39:28 1993 Mike Stump ([email protected]) ! 9054: ! 9055: * cp-class.c (maybe_fixup_vptrs): Use the VF_NORMAL_VALUE of the ! 9056: vfields to get the binfo to get the vtable, so that we may pick up ! 9057: the most derived version of the vtable. ! 9058: ! 9059: * cp-class.c (finish_base_struct): Always set the VF_NORMAL_VALUE so ! 9060: that maybe_fixup_vptrs can get the most derived vtable. ! 9061: ! 9062: Fri Jun 25 14:00:17 1993 Richard Stallman ([email protected]) ! 9063: ! 9064: * config.sub: Convert ...-sysvr4 into ...-sysv4. ! 9065: ! 9066: * config/m68k/news.h (CPP_PREDEFINES): Have two alternatives, ! 9067: one for motorola and one for not motorola. ! 9068: ! 9069: * config/m68k/tower-as.h, mot3300.h, m68kv4.h, hp320.h, amix.h: ! 9070: * config/m68k/3b1.h, crds.h (CPP_PREDEFINES): Add __motorola__. ! 9071: ! 9072: * expr.c (store_expr): If TARGET is volatile mem ref, return it. ! 9073: ! 9074: * toplev.c (lang_options): Add -fdollars-in-identifiers. ! 9075: * c-decl.c (c_decode_option): Handle -fdollars-in-identifiers. ! 9076: ! 9077: Fri Jun 25 13:33:39 1993 Jeffrey A. Law ([email protected]) ! 9078: ! 9079: * pa-hpux.h (LINK_SPEC): Search shared libraries by default; turn ! 9080: off shared library searching of -static is specified. ! 9081: * pa-ghpux.h (LINK_SPEC): Likewise. ! 9082: ! 9083: * pa.h (TARGET_SHARED_LIBS): Delete switch and all references to ! 9084: the switch. ! 9085: * pa.c: References to TARGET_SHARED_LIBS deleted. ! 9086: * pa.md: Likewise. ! 9087: ! 9088: * pa-utahmach.h (TARGET_DEFAULT): Allow indexing on Mach ports. ! 9089: * pa1-utahmach.h (TARGET_DEFAULT): Likewise. ! 9090: * pa.h (TARGET_DISABLE_INDEXING): Clean up comments. ! 9091: ! 9092: Fri Jun 25 00:50:48 1993 Richard Stallman ([email protected]) ! 9093: ! 9094: * expr.c (store_expr): Ignore SUGGEST_REG if target is volatile. ! 9095: ! 9096: * config/mips/mips.md (negdi2, negdi2_internal): Renamed from negdi3... ! 9097: ! 9098: Thu Jun 24 00:31:27 1993 Richard Stallman ([email protected]) ! 9099: ! 9100: * gcc.c (option_map): Make --version alias for -dumpversion. ! 9101: ! 9102: Wed Jun 23 07:50:21 1993 Richard Kenner ([email protected]) ! 9103: ! 9104: * romp.c (output_prologue): Delete unused var, INSN. ! 9105: (output_encoded_offset): New function. ! 9106: (output_epilogue): Minor changes to traceback table; call ! 9107: new output_encoded_offset. ! 9108: (romp_debugger_{auto,arg}_correction): New functions. ! 9109: * romp.h (DBX_REGPARM_STABS_LETTER, DEBUGGER_{AUTO,ARG}_OFFSET): ! 9110: New macros. ! 9111: ! 9112: * reorg.c (fill_slots_from_thread): When replacing a use of a ! 9113: register with what it was set to, don't do it when either the ! 9114: destination or source of the copy is set in the insn. ! 9115: ! 9116: * jump.c (jump_optimize): Properly make jump into store-flag ! 9117: sequence when the jump can't be reversed but the TRUE branch ! 9118: is const0_rtx. ! 9119: ! 9120: * expr.c (expand_expr): Set IGNORE if target is const0_rtx or ! 9121: result type is VOID. ! 9122: Move most IGNORE processing to one place to avoid expanding things ! 9123: that don't need to be expanded. ! 9124: (expand_expr, case CONSTRUCTOR, case COND_EXPR): If IGNORE, don't ! 9125: expand anything we don't have to. ! 9126: (expand_expr, case CONVERT_EXPR): Don't deal with IGNORE here. ! 9127: ! 9128: Wed Jun 23 07:47:32 1993 John F Carr ([email protected]) ! 9129: ! 9130: * regs.h (scratch_list, scratch_block, scratch_list_length): New vars. ! 9131: * reload1.c (mark_scratch_live): New function. ! 9132: (reload): Call it on each SCRATCH. ! 9133: Free scratch list and block. ! 9134: (spill_hard_reg): Reallocate any SCRATCH whose register we want to ! 9135: spill. ! 9136: * local-alloc.c (scratch_block, scratch_list{,_length}, scratch_index): ! 9137: New variables. ! 9138: (local_alloc): Allocate and initialize them. ! 9139: (alloc_qty_for_scratch): Can allocate likely-spilled register ! 9140: classes for SCRATCH. ! 9141: (block_alloc): Likewise for regs in small register classes. ! 9142: Only allocate a SCRATCH if it can fit in the block we make. ! 9143: Don't mark regs used in SCRATCH live here; instead, make entry in ! 9144: new tables. ! 9145: ! 9146: Tue Jun 22 19:52:08 1993 Richard Stallman ([email protected]) ! 9147: ! 9148: * emit-rtl.c (copy_rtx_if_shared): In `E' case, get the length ! 9149: before copying, and don't get it again after. ! 9150: ! 9151: Tue Jun 22 10:50:56 1993 Brendan Kehoe ([email protected]) ! 9152: ! 9153: * toplev.c (report_error_function): Change format of the ! 9154: included-file stack to be more readable. ! 9155: * cccp.c (print_containing_files): Likewise. ! 9156: ! 9157: Mon Jun 21 19:21:18 1993 Richard Kenner ([email protected]) ! 9158: ! 9159: * rs6000.c (print_operand, case 'J'): Write out shift count ! 9160: of 0, not 32 for bit 31 of CCR. ! 9161: ! 9162: See ChangeLog.7 for earlier changes.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.