ChangeLog-1997 revision 169689
1169689SkanWed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com> 2169689Skan 3169689Skan * configure.in: Set and substitute host_exeext. Use it when creating 4169689Skan the assembler and linker symlinks. 5169689Skan * configure: Rebuild. 6169689Skan * Makefile.in (exeext): Set to @host_exeext@. 7169689Skan (build_exeext): New variable, set to @build_exeext@. 8169689Skan (FLAGS_TO_PASS): Pass down build_exeext. 9169689Skan (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi* 10169689Skan programs. 11169689Skan 12169689SkanWed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com) 13169689Skan 14169689Skan * mn10200.md (addsi3, subsi3): Fix thinkos. 15169689Skan 16169689SkanTue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com> 17169689Skan 18169689Skan * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of 19169689Skan save+restore. Fix pic+big_offset delay slot. Use "pic" case for 20169689Skan unix always, since we want to be able to thunk to functions in a 21169689Skan shared library from an application. 22169689Skan 23169689SkanMon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com> 24169689Skan 25169689Skan * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a. 26169689Skan (LIB1ASMSRC, LIB1ASMFUNCS): Define. 27169689Skan 28169689SkanMon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com) 29169689Skan 30169689Skan * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the 31169689Skan offset's mode is not ptr_mode, convert it. 32169689Skan 33169689SkanMon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com> 34169689Skan 35169689Skan * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross 36169689Skan compiling if it was already defined. 37169689Skan 38169689SkanSun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com) 39169689Skan 40169689Skan * flow.c (find_basic_blocks): Don't create a new basic block 41169689Skan for calls in a LIBCALL block. 42169689Skan 43169689SkanSun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu> 44169689Skan 45169689Skan * config/fp-bit.c (L_df_to_sf): Fix typo in last change. 46169689Skan 47169689SkanSat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com) 48169689Skan 49169689Skan * cse.c (rtx_cost): Remove conflicting default case. 50169689Skan 51169689SkanSat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com> 52169689Skan 53169689Skan * configure.in: Move default enabling of Haifa out of for loop. 54169689Skan * configure: Rebuild. 55169689Skan 56169689SkanThu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com) 57169689Skan 58169689Skan * version.c: Bump for snapshot. 59169689Skan 60169689Skan1997-12-25 Teemu Torma <tot@trema.com> 61169689Skan 62169689Skan * Makefile.in (GTHREAD_FLAGS): New var. 63169689Skan (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS). 64169689Skan (distclean): Remove gthr-default.h. 65169689Skan 66169689Skan * configure.in: Accept dce as a thread package. 67169689Skan Check for thread.h and pthread.h. 68169689Skan Link gthr-default.h to appropriate thread file and set 69169689Skan gthread_flags. 70169689Skan (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and 71169689Skan include multilib definitions from pa/t-dce-thr. 72169689Skan (sparc-*-solaris2*): Enable threads by default, if thread.h or 73169689Skan pthread.h is found, preferring posix threads over solaris ones. 74169689Skan 75169689Skan * config/pa/t-dce-thr: New file. 76169689Skan * config/pa/t-pa: Removed multilibs. 77169689Skan * config/sparc/t-sol2: Likewise. 78169689Skan 79169689Skan * gthr.h: New file. 80169689Skan * gthr-single.h: New file. 81169689Skan * gthr-posix.h: New file. 82169689Skan * gthr-solaris.h: New file. 83169689Skan * gthr-dce.h: New file. 84169689Skan * libgcc-thr.h: Removed. 85169689Skan * objc/thr-dce.c: New file copied from thr-decosf1.c. 86169689Skan 87169689Skan * frame.c: Include gthr.h instead of libgcc-thr.h. 88169689Skan * libgcc2.c: Include gthr.h instead of libgcc-thr.h. 89169689Skan (eh_context_initialize): If __gthread_once fails, use static eh 90169689Skan context. 91169689Skan (eh_context_free): Call __gthread_key_dtor. 92169689Skan 93169689SkanWed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com) 94169689Skan 95169689Skan * expr.h (MUST_PASS_IN_STACK): Allow target port to override. 96169689Skan 97169689SkanWed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com> 98169689Skan 99169689Skan * cse.c (max_insn_uid): New variable. 100169689Skan (cse_around_loop): Use max_insn_uid. 101169689Skan (cse_main): Set max_insn_uid. 102169689Skan 103169689Skan * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT, 104169689Skan and define __LONG_MAX__ appropriately. Add support for -mabi=X, 105169689Skan -mlong64, and -mgp{32,64} options. 106169689Skan * mips.c (mips_abi): Change type to int. 107169689Skan * mips.h (enum mips_abi_type): Delete. 108169689Skan (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants. 109169689Skan (mips_abi): Change type to int. 110169689Skan 111169689SkanWed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu> 112169689Skan 113169689Skan * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check; 114169689Skan optimization is now always enabled. 115169689Skan 116169689Skan * calls.c (expand_call): Recognize C++ operator new as malloc-like 117169689Skan function. 118169689Skan 119169689Skan * alias.c (memrefs_conflict_p): Eliminate tests now done by 120169689Skan base_alias_check. 121169689Skan (*_dependence): Call canon_rtx before base_alias_check. 122169689Skan (init_alias_once): New function to precompute set of registers which 123169689Skan can hold Pmode function arguments. 124169689Skan 125169689Skan * rtl.h: Declare init_alias_once. 126169689Skan 127169689Skan * toplev.c (compile_file): Call init_alias_once. 128169689Skan 129169689SkanWed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com) 130169689Skan 131169689Skan * tree.c (restore_tree_status): Do not dereference a null pointer. 132169689Skan 133169689SkanTue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com> 134169689Skan 135169689Skan * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to 136169689Skan RLIMIT_STACK. This maintains consistency with the recent, similar 137169689Skan patch to cccp.c and toplev.c. 138169689Skan 139169689SkanTue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com> 140169689Skan 141169689Skan * genattrtab.c (expand_units): For large nr opclasses, expand 142169689Skan function_units_used with ORX to prevent blowups. Tag with FFS. 143169689Skan (num_unit_opclasses): New variable. 144169689Skan (gen_unit): Update it. 145169689Skan (enum operator): Add ORX_OP. 146169689Skan (operate_exp): Treat ORX as or, except don't expand across an if. 147169689Skan Reuse number rtx's after operating on them. 148169689Skan (check_attr_value): Accept IOR, AND, & FFS. 149169689Skan (write_test_expr): Transmute `in_comparison' to `flags'. Allow 150169689Skan for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE. 151169689Skan (write_expr_attr_cache, write_toplevel_expr): New functions. 152169689Skan (write_attr_get): Handle FFS-tagged expressions. 153169689Skan (make_canonical): Don't expand const attributes. 154169689Skan (convert_const_symbol_ref): Dike out. 155169689Skan (evaluate_eq_attr): Handle SYMBOL_REF. 156169689Skan (main): Don't emit get_attr_foo for const attributes. 157169689Skan 158169689Skan * alpha.c (override_options): Reinstate PROCESSOR_EV6. 159169689Skan (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests. 160169689Skan * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly. 161169689Skan * alpha.md: Redo all of the scheduling, adding EV6 support, and 162169689Skan combining function units where possible. 163169689Skan (attr "type"): Split loads, stores, cmov into int/fp. Combine 164169689Skan multiplies and divides. Add EV6 sqrt, ftoi, itof. 165169689Skan (attr "opsize"): New attribute. 166169689Skan (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns. 167169689Skan (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX 168169689Skan to control register allocation. 169169689Skan (movsi2-1, movdi2-1): Likewise. 170169689Skan 171169689SkanTue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com> 172169689Skan 173169689Skan * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC, 174169689Skan MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC): 175169689Skan Move OSF/1 specific defines out. 176169689Skan * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS): 177169689Skan Move Linux specific defines out. 178169689Skan (LINK_SPEC): Genericize. 179169689Skan (ASM_FILE_START): Emit .arch if using more than the base insn set. 180169689Skan (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version. 181169689Skan (SDB_DEBUGGING_INFO): Remove; gas can't handle it. 182169689Skan (HANDLE_SYSV_PRAGMA): Define. 183169689Skan * alpha/osf.h: New file. 184169689Skan * alpha/linux.h: Split. Retain file-format independent defines. 185169689Skan Import Linux bits from elf.h. 186169689Skan (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES. 187169689Skan (FUNCTION_PROFILER): _mcount takes its address in $28. 188169689Skan (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef. 189169689Skan * alpha/linux-ecoff.h: New file. 190169689Skan * alpha/linux-elf.h: New file. 191169689Skan * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h. 192169689Skan * alpha/win-nt.h (TARGET_DEFAULT): Define. 193169689Skan * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]: 194169689Skan Add new headers as appropriate. 195169689Skan 196169689Skan * configure.in (alpha*): Enable Haifa by default. 197169689Skan (*-*-winnt3*): Change to winnt*, since we're not v3 specific. 198169689Skan * configure: Rebuild. 199169689Skan 200169689SkanTue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com> 201169689Skan 202169689Skan * Makefile.in (clean): Remove the stages with their objects here ... 203169689Skan (distclean): ... instead of here. 204169689Skan 205169689SkanMon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 206169689Skan 207169689Skan * cse.c (rtx_cost): Add default case in enumeration switch. 208169689Skan * fix-header.c (recognized_macro): Likewise. 209169689Skan (recognized_extern): Likewise. 210169689Skan (write_rbrac): Likewise. 211169689Skan * objc/objc-act.c (encode_aggregate): Likewise. 212169689Skan (gen_declarator): Likewise. 213169689Skan (gen_declspecs): Likewise. 214169689Skan 215169689SkanMon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com) 216169689Skan 217169689Skan * haifa-sched.c (create_reg_dead_note): Detect and handle another 218169689Skan case where we kill more regs after sched than were killed before 219169689Skan sched. 220169689Skan * sched.c (create_reg_dead_note): Similarly. 221169689Skan 222169689SkanMon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com) 223169689Skan 224169689Skan * c-pragma.c: Include flags.h. 225169689Skan 226169689SkanSun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu> 227169689Skan 228169689Skan * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything 229169689Skan about system headers. 230169689Skan (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32 231169689Skan and also to resolve symbols in prefix.c. 232169689Skan 233169689Skan * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict 234169689Skan between gansidecl.h and newlib's _ansi.h when building libgcc2.a, 235169689Skan when the definitions in auto-config.h is not visible. 236169689Skan (HAVE_BZERO): Likewise. 237169689Skan (HAVE_BCMP): Likewise. 238169689Skan (HAVE_RINDEX): Likewise. 239169689Skan (HAVE_INDEX): Likewise. 240169689Skan 241169689SkanSun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com) 242169689Skan 243169689Skan * pa.c (emit_move_sequence): Handle a function label source 244169689Skan operand. 245169689Skan 246169689SkanSun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com> 247169689Skan 248169689Skan * c-pragma.c (handle_pragma_token): Generate warning messages 249169689Skan about unknown pragmas if warn_unknown_pragmas is set. 250169689Skan 251169689Skan * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command 252169689Skan line option to set variable: warn_unknown_pragmas. 253169689Skan 254169689SkanSun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de> 255169689Skan 256169689Skan * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the 257169689Skan definition. 258169689Skan (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'. 259169689Skan 260169689SkanSun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com) 261169689Skan 262169689Skan * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define. 263169689Skan (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to 264169689Skan generate more fine grained floating point emulation libraries. 265169689Skan * config/fp-bit.c: Add protecting #ifdef to all functions so 266169689Skan that they can be compiled separately. If !FINE_GRAINED_LIBRARIES, 267169689Skan then compile all suitable functions. 268169689Skan (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two 269169689Skan underscores to avoid namespace pollution. 270169689Skan * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c. 271169689Skan (FPBIT): Define. 272169689Skan * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c. 273169689Skan (FPBIT): Define. 274169689Skan (DPBIT): Define. 275169689Skan 276169689SkanSat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 277169689Skan Jeff Law <law@cygnus.com> 278169689Skan 279169689Skan * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning 280169689Skan of the declaration. 281169689Skan * c-decl.c (finish_decl): Use parentheses around && within ||. 282169689Skan * rtl.c: Include stdlib.h. 283169689Skan (read_skip_spaces): Add parentheses around assignments used as 284169689Skan truth values. 285169689Skan (read_rtx): Initialize list_rtx. 286169689Skan * cppexp.c (parse_number): Use || when operands are truth values. 287169689Skan * alias.c (find_base_value): Add default case. 288169689Skan (memrefs_conflict): Likewise. 289169689Skan * combine.c (sets_function_arg_p): Likewise. 290169689Skan * genemit.c (gen_exp): Likewise. 291169689Skan * local-alloc.c (contains_replace_regs): Likewise. 292169689Skan * rtlanal.c (jmp_uses_reg_or_mem): Likewise. 293169689Skan * fold-const.c (fold_convert): Use "&&" for truth values. 294169689Skan (fold): Add default case. 295169689Skan * sdbout.c (sdbout_field_types): Fix typo in declaration. 296169689Skan (sdbout_one_type): Add default case. 297169689Skan * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS. 298169689Skan (some_operand): Add default case. 299169689Skan (input_operand): Likewise. 300169689Skan (signed_comparison_operator): Likewise. 301169689Skan (divmod_operator): Likewise. 302169689Skan (alpha_set_memflags_1): Likewise. 303169689Skan * reload1.c (reload_cse_simplify_operands): Ensure function 304169689Skan always returns a value. 305169689Skan * scan-decls.c (scan_decls): Likewise. 306169689Skan * c-lex.c (skip_white_space): Fix typo in declaration. 307169689Skan * c-typeck.c (comp_target_types): Add parentheses around assignment 308169689Skan used as truth value. 309169689Skan (print_spelling): Likewise. 310169689Skan (constructor_implicit, constructor_result): Remove unused variables. 311169689Skan * collect2.c (scan_library): Protect prototype with 312169689Skan #ifdef SCAN_LIBRARIES. 313169689Skan * emit-rtl.c (find_line_note): Fix typo in declaration. 314169689Skan * final.c (asm_insn_count): Protect prototype with 315169689Skan #ifdef HAVE_ATTR_length. 316169689Skan * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC. 317169689Skan (try_pre_increment_1, try_pre_increment): Likewise. 318169689Skan * regclass.c (auto_inc_dec_reg_p): Protect prototype with 319169689Skan #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit. 320169689Skan * gcov-io.h (__store_long, __write_long, __read_long): Fix 321169689Skan unsigned/signed comparisons. 322169689Skan * gcov.c (read_files): Remove unused "first_type" variable. 323169689Skan (scan _for_source_files): Initialize s_ptr. 324169689Skan (function_summary): Eliminate "%lf" formatting, use %ld for 325169689Skan longs. 326169689Skan (output_data): Initialize branch_probs and last_line_num. 327169689Skan Eliminate "%lf" formatting, use "%ld" for longs. 328169689Skan 329169689SkanFri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com> 330169689Skan 331169689Skan * mips16.S: New file. 332169689Skan 333169689Skan * libgcc2.c (varargs): Handle mips16. 334169689Skan 335169689Skan * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an 336169689Skan expression. 337169689Skan * stmt.c (expand_end_case): Likewise. 338169689Skan * alpha.h (CASE_VECTOR_PC_RELATIVE): Update. 339169689Skan * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise. 340169689Skan * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise. 341169689Skan 342169689SkanTue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 343169689Skan 344169689Skan * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in 345169689Skan the build directory. 346169689Skan (libobjc.a): Update dependency list. 347169689Skan (libobjc.dll): Likewise. Use libobjc_entry.o from the build 348169689Skan directory. 349169689Skan (objc/sendmsg.o): Add -Iobjc to find runtime-info.h. 350169689Skan (objc.mostlyclean): Remove runtime-info.h. 351169689Skan 352169689SkanFri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com> 353169689Skan 354169689Skan * tree.c (build_range_type): Allow creation of ranges with no maximum. 355169689Skan * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE. 356169689Skan * dwarf2out.c (add_subscript_info): Likewise. 357169689Skan * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise. 358169689Skan * sdbout.c (plain_type_1): Likewise. 359169689Skan * stmt.c (pushcase_range, all_cases_count, node_has_high_bound): 360169689Skan Likewise. 361169689Skan * fold-const.c (int_const_binop, fold_convert, make_range, fold): 362169689Skan Likewise. 363169689Skan 364169689SkanThu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 365169689Skan 366169689Skan * mips.c (fatal): Remove declaration. 367169689Skan 368169689Skan1997-12-18 Mark Mitchell <mmitchell@usa.net> 369169689Skan 370169689Skan * integrate.c (get_label_from_map): New function. 371169689Skan (expand_inline_function): Use it. Initialize the label_map to 372169689Skan NULL_RTX instead of gen_label_rtx. 373169689Skan (copy_rtx_and_substitute): Use get_label_from_map. 374169689Skan * integrate.h (get_label_from_map): New function. 375169689Skan (set_label_from_map): New macro. 376169689Skan * unroll.c (unroll_loop): Use them. 377169689Skan (copy_loop_body): Likewise. 378169689Skan 379169689SkanThu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com> 380169689Skan 381169689Skan * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined. 382169689Skan (INIT_TARGET_OPTABS): Define. 383169689Skan * mips/ecoff.h: Include gofast.h before mips.h. 384169689Skan (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS. 385169689Skan * mips/elf64.h: Likewise. 386169689Skan * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define. 387169689Skan 388169689SkanThu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com> 389169689Skan 390169689Skan * except.c: Remove register_exception_table{,_p}. 391169689Skan 392169689SkanThu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com> 393169689Skan 394169689Skan * unroll.c (calculate_giv_inc): Handle constant increment found in 395169689Skan a MEM with an appropriate REG_EQUAL note. 396169689Skan 397169689Skan * calls.c (expand_call): Implement LOAD_ARGS_REVERSED. 398169689Skan 399169689Skan * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the 400169689Skan frame pointer in the prologue. 401169689Skan 402169689SkanThu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com> 403169689Skan 404169689Skan * i386/x-sco5 (CLIB): Deleted. 405169689Skan (ALLOCA): Added. 406169689Skan * i386/xm-sco5.h (USE_C_ALLOCA): Added. 407169689Skan 408169689SkanTue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com> 409169689Skan 410169689Skan * config/m68k/m68k.c (output_function_prologue): Typecast 411169689Skan dwarf2out_cfi_label to (char *). 412169689Skan * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "". 413169689Skan 414169689SkanWed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com> 415169689Skan 416169689Skan * sparc.md (jump): Don't use the annul bit around an empty loop. 417169689Skan Patch from Kevin.Kelly@East.Sun.COM. 418169689Skan 419169689SkanWed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com) 420169689Skan 421169689Skan * jump.c (jump_optimize): Don't use the return register as a 422169689Skan source1 of a conditional move. 423169689Skan 424169689SkanTue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com> 425169689Skan 426169689Skan * sparc.c (DF_MODES): Or the mask not the bit number. 427169689Skan (function_arg) [ARCH64]: Send unprototyped arg to fp reg first. 428169689Skan 429169689SkanWed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch> 430169689Skan 431169689Skan * combine.c (force_to_mode): Return immediately if operand is a 432169689Skan CLOBBER. 433169689Skan 434169689SkanTue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de> 435169689Skan 436169689Skan * fixincludes (size_t): Add support for Motorola's stdlib.h 437169689Skan which fails to provide a definition for size_t. 438169689Skan (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3. 439169689Skan (strlen,strspn,strcspn return value): Handle different layout on sysV88. 440169689Skan (hypot): Provide a fake for hypot for m88k-motorola-sysv3. 441169689Skan 442169689Skan * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to 443169689Skan prevent unresolved externals in libio. 444169689Skan * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise. 445169689Skan 446169689SkanTue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org) 447169689Skan 448169689Skan * config/sparc/linux64.h (LIBGCC_SPEC): Removed. 449169689Skan (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}. 450169689Skan (LIB_SPEC): Updated for glibc 2. 451169689Skan 452169689SkanTue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com) 453169689Skan 454169689Skan * ginclude/stdarg.h: Undo BeOS changes, they break hpux. 455169689Skan * ginclude/varargs.h: Likewise. 456169689Skan 457169689SkanTue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com) 458169689Skan 459169689Skan * version.c: Bump for snapshot. 460169689Skan 461169689SkanTue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org) 462169689Skan 463169689Skan * frame.h (__register_frame, __register_frame_table, 464169689Skan __deregister_frame): New. 465169689Skan * frame.c (__register_frame, __register_frame_table, 466169689Skan __deregister_frame): New. 467169689Skan * frame.c (__deregister_frame_info): Return void *. 468169689Skan * frame.h (__deregister_frame_info): Likewise. 469169689Skan * collect2.c (__deregister_frame_info): Likewise. 470169689Skan 471169689SkanMon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com> 472169689Skan 473169689Skan * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG. 474169689Skan 475169689SkanMon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com> 476169689Skan 477169689Skan * alpha.c (alpha_cpu_name): New variable. 478169689Skan (alpha_mlat_string): Likewise. 479169689Skan (alpha_memory_latency): Likewise. 480169689Skan (override_options): Handle -mmemory-latency. 481169689Skan (alpha_adjust_cost): Adjust load cost for latency. 482169689Skan * alpha.h (TARGET_OPTIONS): Add memory-latency. 483169689Skan (REGISTER_MOVE_COST): Define in terms of memory_latency. Take 484169689Skan TARGET_CIX into account. 485169689Skan (MEMORY_MOVE_COST): Define in terms of memory_latency. 486169689Skan * invoke.texi (DEC Alpha Options): Document -mmemory-latency. 487169689Skan 488169689Skan * alpha.h (ASM_COMMENT_START): New macro. 489169689Skan 490169689SkanMon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com> 491169689Skan 492169689Skan * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c, 493169689Skan dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change. 494169689Skan 495169689Skan * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the 496169689Skan SUBREG_REG if the word count is unchanged. 497169689Skan * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve 498169689Skan subregs of identical word size for push_reload. 499169689Skan 500169689SkanMon Dec 15 11:41:32 1997 Mark Mitchell <mmitchell@usa.net> 501169689Skan 502169689Skan * toplev.c (rest_of_compilation): Don't call save_for_inline_copy 503169689Skan if all we're doing is dealing with -Wreturn-type. 504169689Skan 505169689SkanMon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com> 506169689Skan 507169689Skan * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2): 508169689Skan Use and 255 instead of zapnot 1, since it schedules better. 509169689Skan 510169689SkanMon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com) 511169689Skan 512169689Skan * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat 513169689Skan it as volatile. 514169689Skan 515169689SkanMon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com) 516169689Skan 517169689Skan * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on 518169689Skan dependency we delete. Properly update prev for multiple consecutive 519169689Skan deletions. 520169689Skan (priority): Skip deleted dependence. 521169689Skan 522169689SkanFri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com> 523169689Skan 524169689Skan * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod. 525169689Skan 526169689SkanFri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com> 527169689Skan 528169689Skan * flow.c (flow_analysis): Be consistent with find_basic_blocks in 529169689Skan determining when a new basic block starts. 530169689Skan 531169689Skan * alpha/osf2or3.h (LIB_SPEC): Restore missing defn. 532169689Skan 533169689Skan * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS. 534169689Skan * pa.md (iorsi3): Add missing args to *_operand calls. 535169689Skan 536169689Skan * except.c (call_get_eh_context): Don't mess with sequences. 537169689Skan (emit_eh_context): Include the call in the sequence here. 538169689Skan 539169689Skan1997-12-11 Paul Eggert <eggert@twinsun.com> 540169689Skan 541169689Skan * collect2.c (write_c_file_glob): Allocate initial frame object 542169689Skan in static storage and pass its address. 543169689Skan 544169689SkanThu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com> 545169689Skan 546169689Skan * except.c (call_get_eh_context): Don't take a parm. 547169689Skan Put the call at the top of the function. 548169689Skan (emit_eh_context): Adjust. 549169689Skan (get_eh_context): Replace with former use_eh_context. 550169689Skan (get_eh_context_once, get_saved_pc_ref): Remove. 551169689Skan (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove. 552169689Skan * except.h: Adjust. 553169689Skan * integrate.c (expand_inline_function): Adjust. 554169689Skan * toplev.c (rest_of_compilation): Don't call emit_unwinder. 555169689Skan 556169689SkanFri Oct 10 17:58:31 1997 Marc Lehmann <pcg@goof.com> 557169689Skan 558169689Skan * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define. 559169689Skan (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise. 560169689Skan 561169689SkanThu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de> 562169689Skan 563169689Skan * fixincludes (strlen,strspn,strcspn return value): Handle different 564169689Skan layout on sysV88. 565169689Skan (hypot): Provide a fake for hypot which is broken on 566169689Skan m88k-motorola-sysv3. 567169689Skan 568169689SkanThu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu> 569169689Skan 570169689Skan * tree.c, tree.h: Change tree_code_type, tree_code_length, and 571169689Skan tree_code_name from pointers to arrays. 572169689Skan * tree.c: Remove standard_tree_code_* variables, no longer used. 573169689Skan * print-tree.c: Remove declaration of tree_code_name. 574169689Skan 575169689Skan * cp/lex.c (init_lex): Update for tree_code_* changes. 576169689Skan * objc/objc-act.c (init_objc): Likewise. 577169689Skan 578169689Skan * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code 579169689Skan changes. 580169689Skan 581169689SkanThu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com> 582169689Skan 583169689Skan * config.sub: Add support for BeOS target. 584169689Skan * configure.in: Likewise. 585169689Skan * ginclude/stdarg.h: Likewise. 586169689Skan * ginclude/stddef.h: Likewise. 587169689Skan * ginclude/varargs.h: Likewise. 588169689Skan * rs6000/beos.h: New file for BeOS. 589169689Skan * rs6000/t-beos: Likewise. 590169689Skan * rs6000/x-beos: Likewise. 591169689Skan * rs6000/xm-beos.h: Likewise. 592169689Skan * toplev.c (get_run_time): Just return 0 on BeOS. 593169689Skan 594169689SkanThu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com) 595169689Skan Toon Moene (toon@moene.indiv.nluug.nl) 596169689Skan 597169689Skan * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly 598169689Skan old and broken Sun3 assemblers. Newer versions handle large 599169689Skan offsets correctly as does the GNU assembler. 600169689Skan 601169689SkanThu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 602169689Skan 603169689Skan * objc/objc-act.c (lang_report_error_function): Disable. 604169689Skan * objc/objc-parse.y: Include "output.h". 605169689Skan (yyerror): Remove redundant decl. 606169689Skan (yyprint): Fix prototype. 607169689Skan (apply_args_register_offset): Remove redundant decl. 608169689Skan (get_file_function_name): Likewise. 609169689Skan 610169689SkanThu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com> 611169689Skan 612169689Skan * flow.c (find_basic_blocks): A CALL_INSN that can throw starts 613169689Skan a new basic block. 614169689Skan (find_basic_blocks_1): Likewise. 615169689Skan 616169689SkanThu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com> 617169689Skan 618169689Skan * except.c (use_eh_context): Don't copy_rtx a REG. 619169689Skan (emit_throw): Lose old unwinder support. 620169689Skan (expand_internal_throw): Likewise. 621169689Skan * libgcc2.c (struct eh_context): Likewise. 622169689Skan (new_eh_context): Likewise. 623169689Skan (__get_eh_info): Lose redundant cast. 624169689Skan (__get_dynamic_handler_chain): Likewise. 625169689Skan (__get_saved_pc): Lose. 626169689Skan Lose all old unwinder support code. 627169689Skan 628169689SkanThu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com> 629169689Skan 630169689Skan Thread-safe EH support for pthreads, DCE threads and Solaris threads. 631169689Skan 632169689Skan * integrate.c (expand_inline_function): If the inline fn uses eh 633169689Skan context, make sure that the current fn has one. 634169689Skan * toplev.c (rest_of_compilation): Call emit_eh_context. 635169689Skan * except.c (use_eh_context): New fn. 636169689Skan (get_eh_context_once): New fn. 637169689Skan (call_get_eh_context): New fn. 638169689Skan (emit_eh_context): New fn. 639169689Skan (get_eh_context): Call either get_eh_context_once or 640169689Skan call_get_eh_context, depending on what we have. 641169689Skan (get_dynamic_handler_chain): Call get_eh_context_once. 642169689Skan * except.h: Prototypes for fns above. 643169689Skan * optabs.c (get_eh_context_libfunc): Removed. 644169689Skan (init_optabs): Don't initialize it. 645169689Skan * expr.h (get_eh_context_libfunc): Removed. 646169689Skan * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT. 647169689Skan * config/pa/pa.h (CPP_SPEC): Support for -threads. 648169689Skan * config/pa/pa-hpux10.h (LIB_SPEC): Likewise. 649169689Skan * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): 650169689Skan New multilib for -threads. 651169689Skan * config/sparc/t-sol2: Added multilibs for -threads and 652169689Skan made -pthreads alias to it. 653169689Skan * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC): 654169689Skan Added -threads and -pthreads options. 655169689Skan * libgcc-thr.h: New file. 656169689Skan * libgcc2.c (__get_cpp_eh_context): Removed. 657169689Skan (struct cpp_eh_context): Removed. 658169689Skan (struct eh_context): Replaced cpp_eh_context with generic language 659169689Skan specific pointer. 660169689Skan (__get_eh_info): New function. 661169689Skan (__throw): Check eh_context::info. 662169689Skan (__sjthrow): Likewise. 663169689Skan * libgcc2.c: Include libgcc-thr.h. 664169689Skan (new_eh_context, __get_eh_context, 665169689Skan eh_pthread_initialize, eh_context_initialize, eh_context_static, 666169689Skan eh_context_specific, eh_context_free): New functions. 667169689Skan (get_eh_context, eh_context_key): New variables. 668169689Skan (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use 669169689Skan get_eh_context to get the context. 670169689Skan (longjmp): Move the declaration inside 671169689Skan #ifdef DONT_USE_BUILTIN_SETJMP. 672169689Skan * frame.c: Include libgcc-thr.h. 673169689Skan (object_mutex): Mutex to protect the object list. 674169689Skan (find_fde, __register_frame, __register_frame_table, 675169689Skan __deregister_frame): Hold the lock while accessing objects. 676169689Skan * except.h (get_eh_context): Declare. 677169689Skan * except.c (current_function_ehc): Define. 678169689Skan (current_function_dhc, current_function_dcc): Removed. 679169689Skan (get_eh_context): New function. 680169689Skan (get_dynamic_handler_chain): Use get_eh_context. 681169689Skan (get_saved_pc_ref): Likewise. 682169689Skan (get_dynamic_cleanup_chain): Removed references to 683169689Skan current_function_dcc. 684169689Skan (save_eh_status, restore_eh_status): Save and restore 685169689Skan current_function_ehc instead. 686169689Skan * optabs.c (get_eh_context_libfunc): New variable. 687169689Skan (init_optabs): Initialize it. 688169689Skan * expr.h: Declare get_eh_context_libfunc. 689169689Skan * function.h (struct function): Replaced dhc and dcc with ehc. 690169689Skan * except.c (get_saved_pc_ref): New functions. 691169689Skan (eh_saved_pc_rtx, eh_saved_pc): Deleted. 692169689Skan (expand_internal_throw_indirect): Use get_saved_pc_ref() instead 693169689Skan of eh_saved_pc. 694169689Skan (end_eh_unwinder): Likewise. 695169689Skan (init_eh): Remove initialization of eh_saved_pc. 696169689Skan * optabs.c (get_saved_pc_libfunc): New variable. 697169689Skan (init_optabs): Initialize it. 698169689Skan * expr.h: Declare get_saved_pc_libfunc. 699169689Skan * except.h (eh_saved_pc_rtx): Deleted. 700169689Skan (get_saved_pc_ref): Declared. 701169689Skan 702169689Skan From Scott Snyder <snyder@d0sgif.fnal.gov>: 703169689Skan * libgcc2.c (__get_saved_pc): New. 704169689Skan (__eh_type, __eh_pc): Deleted. 705169689Skan (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc. 706169689Skan (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside 707169689Skan this fcn. 708169689Skan 709169689SkanThu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu> 710169689Skan 711169689Skan * sparc/sol2.h: Use 64 bit multiply and divide functions in 712169689Skan Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE 713169689Skan as 0. 714169689Skan 715169689Skan * rtl.h (global_rtl): New variable, replacing separate variables for 716169689Skan commonly used rtl. 717169689Skan (const_int_rtx): Now array of rtx_def, not rtx. 718169689Skan * emit-rtl.c: Update for new rtl data structures. 719169689Skan * genattrtab.c: Define global_rtl. 720169689Skan 721169689SkanThu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu> 722169689Skan 723169689Skan * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by 724169689Skan default. 725169689Skan 726169689SkanWed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com> 727169689Skan 728169689Skan * crtstuff.c (__do_global_ctors): Fix typo. 729169689Skan 730169689SkanTue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de> 731169689Skan 732169689Skan * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition 733169689Skan to RLIMIT_STACK to see if we can call getrlimit and setrlimit. 734169689Skan 735169689SkanTue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu> 736169689Skan 737169689Skan * rs6000.h (FUNCTION_ARG_PADDING): Define. 738169689Skan * rs6000.c (function_arg_padding): New function. 739169689Skan 740169689SkanTue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de> 741169689Skan 742169689Skan * m68k.c: Include tree.h only once. 743169689Skan 744169689SkanTue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 745169689Skan 746169689Skan * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc. 747169689Skan 748169689SkanTue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com) 749169689Skan 750169689Skan * Partially cleaned up prototyping code from HJ. 751169689Skan * tree.h: Add many prototypes. 752169689Skan * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn. 753169689Skan All references changed. 754169689Skan * rtl.h: Protect from multiple inclusions. Add many prototypes. 755169689Skan 756169689SkanTue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com> 757169689Skan 758169689Skan * libgcc2.c (string.h): Hoist inclusion to occur before first use of 759169689Skan string functions like strlen. 760169689Skan 761169689SkanTue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de> 762169689Skan 763169689Skan * configure.in: Check for functions getrlimit and setrlimit. 764169689Skan * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition 765169689Skan to RLIMIT_STACK to see if we can call getrlimit and setrlimit. 766169689Skan 767169689SkanMon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu> 768169689Skan 769169689Skan * Makefile.in (compare*): Handle losing behavior from 4.4bsd make. 770169689Skan 771169689SkanMon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com> 772169689Skan 773169689Skan * alpha.c (REG_RA, alpha_return_addr, output_epilog): 774169689Skan Fix merge problems. 775169689Skan 776169689Skan * alpha.c (override_options): Don't know about scheduling for EV6. 777169689Skan * alpha.md (ev5 function units): Don't overload as ev6. 778169689Skan 779169689Skan * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case. 780169689Skan * alpha.md (define_attr type): Add mvi. 781169689Skan (ev5_e0): Define sceduling parameters for it. 782169689Skan (TARGET_MAX insns): Type is mvi not shift. 783169689Skan 784169689SkanMon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com> 785169689Skan 786169689Skan * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug. 787169689Skan 788169689SkanMon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 789169689Skan 790169689Skan * cstamp-h, auto-config.h: Delete. 791169689Skan 792169689SkanSun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com) 793169689Skan 794169689Skan * version.c: Bump for snapshot. 795169689Skan 796169689SkanSat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com) 797169689Skan 798169689Skan * cccp.c: Fix typo brought over in merge. 799169689Skan 800169689Skan * Merge in changes from gcc-2.8. 801169689Skan 802169689SkanMon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be> 803169689Skan 804169689Skan * m68k.c: Include tree.h for dwarf2out_cfi_label. 805169689Skan 806169689Skan * gcc.c (process_command): Do not take address of function fatal when 807169689Skan calling lang_specific_driver. 808169689Skan 809169689SkanSat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu> 810169689Skan 811169689Skan * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling 812169689Skan doesn't work with it yet, so set it to 0. 813169689Skan * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define. 814169689Skan 815169689SkanSat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch> 816169689Skan 817169689Skan * cse.c (cse_insn): Check for invalid entries when taking references. 818169689Skan 819169689SkanFri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 820169689Skan 821169689Skan * loop.c (invariant_p): Don't test flag_rerun_loop_opt. 822169689Skan (loop_optimize, scan_loop, strength_reduce): New argument unroll_p. 823169689Skan * toplev.c (rest_of_compilation): Pass it. Remove code to 824169689Skan save / clear / restore flag_unroll_{,all_}loops. 825169689Skan 826169689SkanFri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE> 827169689Skan 828169689Skan * i386.c (notice_update_cc): Remove bogus pentium GCC code. 829169689Skan 830169689SkanFri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com) 831169689Skan 832169689Skan * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR. 833169689Skan 834169689SkanThu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com> 835169689Skan 836169689Skan * except.c (get_dynamic_handler_chain): Only make the call once per 837169689Skan function. 838169689Skan 839169689Skan * except.c (expand_end_all_catch): Fix for sjlj exceptions. 840169689Skan 841169689SkanThu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 842169689Skan 843169689Skan * sh.c (final_prescan_insn): Use local label prefix 844169689Skan when emitting .uses pseudo-ops. 845169689Skan 846169689SkanWed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com> 847169689Skan 848169689Skan * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc. 849169689Skan * except.c: Lose outer_context_label_stack. 850169689Skan (expand_eh_region_end): Rethrow from outer_context here. 851169689Skan (expand_fixup_region_end): Let expand_eh_region_end do the rethrow. 852169689Skan (expand_internal_throw): Take no args. 853169689Skan (expand_internal_throw_indirect): Lose. 854169689Skan (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow. 855169689Skan (expand_start_all_catch): Start a rethrow region. 856169689Skan (expand_end_all_catch): End it. 857169689Skan (expand_rethrow): New fn. 858169689Skan * except.h: Reflect above changes. 859169689Skan * flow.c: Revert change of Nov 27. 860169689Skan 861169689SkanThu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com) 862169689Skan 863169689Skan * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer. 864169689Skan 865169689SkanWed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com> 866169689Skan 867169689Skan * except.c (expand_fixup_region_end): New fn. 868169689Skan (expand_fixup_region_start): Likewise. 869169689Skan (expand_eh_region_start_tree): Store cleanup into finalization here. 870169689Skan * stmt.c (expand_cleanups): Use them to protect fixups. 871169689Skan 872169689SkanWed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com> 873169689Skan 874169689Skan * mips/mips.md (muldi3_r4000): Broaden the output template 875169689Skan and attribute assignments to handle three operand dmult; 876169689Skan rename to muldi3_internal2. 877169689Skan (muldi3): Call the new muldi3_internal2 for R4000, and 878169689Skan any GENERATE_MULT3 chip. 879169689Skan 880169689SkanTue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com> 881169689Skan 882169689Skan * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start. 883169689Skan 884169689SkanTue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com> 885169689Skan 886169689Skan * unroll.c (find_splittable_givs): Remove last change. Handle givs 887169689Skan with a dest_reg that was created by loop. 888169689Skan 889169689SkanSat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu> 890169689Skan 891169689Skan * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch. 892169689Skan 893169689Skan * rs6000/aix41.h (ASM_CPU_SPEC): Define. 894169689Skan 895169689SkanFri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com) 896169689Skan 897169689Skan * configure.in: Fix NCR entries. 898169689Skan 899169689SkanThu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com) 900169689Skan 901169689Skan * flow.c (find_basic_blocks): Handle cfg issues for rethrows and 902169689Skan nested exceptions correctly. 903169689Skan 904169689Skan * unroll.c (find_splittable_givs): Don't split givs with a dest_reg 905169689Skan that was created by loop. 906169689Skan 907169689SkanThu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com> 908169689Skan 909169689Skan * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR. 910169689Skan 911169689Skan * except.c (expand_start_all_catch): One more do_pending_stack_adjust. 912169689Skan 913169689SkanWed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com> 914169689Skan 915169689Skan * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs. 916169689Skan (print_operand): Use SMALL_DATA_REG for the register involved in 917169689Skan small data relocations. 918169689Skan (print_operand_address): Likewise. 919169689Skan 920169689Skan * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if 921169689Skan -dynamic linker is not used. 922169689Skan 923169689Skan * rs6000.md (call insns): For local calls, use @local suffix under 924169689Skan System V. Don't use @plt under Solaris. 925169689Skan 926169689Skan * rs6000.c (output_function_profiler): Put label address in r0, and 927169689Skan store LR in 4(sp) for System V/eabi. 928169689Skan 929169689Skan * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16 930169689Skan byte boundary, and maintain stack backchain. 931169689Skan 932169689SkanTue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com> 933169689Skan 934169689Skan * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2, 935169689Skan fix_truncsfdi2): Change *. 936169689Skan 937169689SkanWed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com> 938169689Skan 939169689Skan * toplev.c (main): Complain about -gdwarfn. 940169689Skan 941169689SkanTue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com> 942169689Skan 943169689Skan * dwarfout.c (output_type): If finalizing, write out nested types 944169689Skan of types we've already written. 945169689Skan 946169689SkanTue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com> 947169689Skan 948169689Skan (patches originally from Geoffrey Keating) 949169689Skan * rs6000.c (function_arg): Excess floating point arguments don't 950169689Skan go into GPR registers after exhausting FP registers under the 951169689Skan System V.4 ABI. 952169689Skan (function_arg_partial_nregs): Likewise. 953169689Skan 954169689Skan * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt 955169689Skan suffix to calls. 956169689Skan 957169689SkanTue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com> 958169689Skan 959169689Skan * integrate.c (output_inline_function): Just unset DECL_INLINE. 960169689Skan 961169689SkanTue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov> 962169689Skan 963169689Skan * dwarf2out.c (outout_call_frame_info): Ensure that the info has 964169689Skan proper alignment. 965169689Skan 966169689Skan * libgcc2.c (__throw): Initialize HANDLER. 967169689Skan 968169689SkanTue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com> 969169689Skan 970169689Skan * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2, 971169689Skan fix_truncsfdi2): Change *X to ?*X. 972169689Skan 973169689SkanTue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com) 974169689Skan 975169689Skan * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling. 976169689Skan 977169689SkanTue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com) 978169689Skan 979169689Skan * crtstuff.c (do_global_dtors_aux): Handle multiple calls better. 980169689Skan 981169689SkanTue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr> 982169689Skan 983169689Skan * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement. 984169689Skan 985169689SkanMon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com> 986169689Skan 987169689Skan * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL. 988169689Skan * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc. 989169689Skan * expr.h: Likewise. 990169689Skan 991169689SkanSat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com) 992169689Skan 993169689Skan * pa-hpux10.h (NEW_HP_ASSEMBLER): Define. 994169689Skan * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using 995169689Skan gas and not using the new HP assembler. 996169689Skan 997169689SkanFri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com) 998169689Skan 999169689Skan * Makefile.in (program_transform_cross_name): Clean up "-e" confusion. 1000169689Skan (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise. 1001169689Skan 1002169689SkanFri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com> 1003169689Skan 1004169689Skan * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for 1005169689Skan TARGET_ENDIAN_DEFAULT == zero instead of testing for macro 1006169689Skan definition. 1007169689Skan 1008169689SkanFri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de> 1009169689Skan 1010169689Skan * stmt.c (expand_end_bindings): Allow jump into block with cleanups. 1011169689Skan 1012169689SkanFri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com> 1013169689Skan 1014169689Skan * except.h: Add outer_context_label_stack. 1015169689Skan * except.c: Likewise. 1016169689Skan (expand_start_all_catch): Push the outer_context for the try block 1017169689Skan onto outer_context_label_stack. 1018169689Skan (expand_end_all_catch): Use it and pop it. 1019169689Skan 1020169689SkanFri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com) 1021169689Skan 1022169689Skan * i386/sco5.h (HAVE_ATEXIT): Revert last change. 1023169689Skan 1024169689SkanThu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com> 1025169689Skan 1026169689Skan * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better. 1027169689Skan 1028169689SkanThu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de> 1029169689Skan 1030169689Skan * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label 1031169689Skan to correspond with the change to ASM_GENERATE_INTERNAL_LABEL. 1032169689Skan 1033169689SkanThu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com> 1034169689Skan 1035169689Skan * Makefile.in (LIB2FUNCS): Remove C++ memory management support. 1036169689Skan * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler, 1037169689Skan __builtin_delete, and __builtin_vec_delete. 1038169689Skan 1039169689Skan * except.c (output_exception_table): Don't bother with 1040169689Skan __EXCEPTION_END__. 1041169689Skan 1042169689SkanThu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com) 1043169689Skan 1044169689Skan * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register 1045169689Skan is an in/out operand. 1046169689Skan (zero extended variants of stwm/stwm patterns): Similarly. 1047169689Skan 1048169689Skan * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE. 1049169689Skan 1050169689SkanThu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com> 1051169689Skan 1052169689Skan * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4. 1053169689Skan Use assemble_name. 1054169689Skan (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name. 1055169689Skan (output_call_frame_info): Emit a \n after using it. 1056169689Skan 1057169689SkanThu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk> 1058169689Skan 1059169689Skan * configure.in: Add AC_ARG_ENABLE for Haifa as documentation. 1060169689Skan 1061169689SkanWed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be> 1062169689Skan 1063169689Skan * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros. 1064169689Skan (ASM_OUTPUT_DWARF_VALUE4): New macro. 1065169689Skan (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is 1066169689Skan defined. 1067169689Skan (output_call_frame_info): Do not output forward label differences 1068169689Skan if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined. 1069169689Skan * m68k/mot3300.h (SET_ASM_OP): Define when not using gas. 1070169689Skan 1071169689SkanTue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1072169689Skan 1073169689Skan * sh.md (attribute "type"): Add nil. 1074169689Skan (movsi_ie): y/y alternative is type nil. 1075169689Skan (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X 1076169689Skan alternatives. 1077169689Skan (movsf_ie+1): Delete. 1078169689Skan 1079169689SkanTue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com> 1080169689Skan 1081169689Skan * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are 1082169689Skan large_int, emit two insns instead of one splitable insn. 1083169689Skan * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset 1084169689Skan from cfa_temp_value, use cfa_offset. Add assert checking that 1085169689Skan cfa_reg is SP. 1086169689Skan 1087169689SkanMon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com> 1088169689Skan 1089169689Skan * cccp.c (deps_output): Properly quote file names for make. 1090169689Skan 1091169689SkanMon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com) 1092169689Skan 1093169689Skan * t-h8300 (MULTILIB_EXCEPTIONS): Define. 1094169689Skan 1095169689SkanFri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com) 1096169689Skan 1097169689Skan * i386/sco5.h (HAVE_ATEXIT): Delete definition. 1098169689Skan 1099169689SkanSun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com) 1100169689Skan 1101169689Skan * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditional 1102169689Skan return. 1103169689Skan (cse_end_of_basic_block): Similarly. 1104169689Skan 1105169689SkanSun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com> 1106169689Skan 1107169689Skan * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define. 1108169689Skan (SELECT_RTX_SECTION): Define. 1109169689Skan (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC. 1110169689Skan 1111169689SkanSun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de> 1112169689Skan 1113169689Skan * Makefile.in (compare, compare-lean): Define $stage for each 1114169689Skan shell command. 1115169689Skan (gnucompare, gnucompare-lean): Likewise. 1116169689Skan 1117169689SkanSun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com) 1118169689Skan 1119169689Skan * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets. 1120169689Skan 1121169689Skan * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label 1122169689Skan to correspond with the change to ASM_GENERATE_INTERNAL_LABEL. 1123169689Skan 1124169689SkanFri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com) 1125169689Skan 1126169689Skan * dwarfout.c (byte_size_attribute): Add local var upper_bound 1127169689Skan and add case to handle STRING_TYPE. 1128169689Skan * dwarfout.c (output_string_type_die): Fix code to generate 1129169689Skan correct string length attribute for fixed length strings. 1130169689Skan Still needs support for varying length strings. 1131169689Skan 1132169689SkanFri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com) 1133169689Skan 1134169689Skan * toplev.c (get_run_time): Do something sensible for cygwin32. 1135169689Skan 1136169689SkanFri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com> 1137169689Skan 1138169689Skan * expr.c (expand_builtin_setjmp): Set 1139169689Skan current_function_has_nonlocal_label. 1140169689Skan * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill 1141169689Skan call-saved registers across calls. 1142169689Skan 1143169689Skan * alpha.md (exception_receiver): Remove. 1144169689Skan (nonlocal_goto_receiver_osf): New. 1145169689Skan (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver. 1146169689Skan (nonlocal_goto_receiver): New, select _osf or _vms. 1147169689Skan 1148169689Skan * alpha.c (output_prolog [*]): Prefix entry labels with '$' to 1149169689Skan keep them from being propagated to the object file. 1150169689Skan (alpha_write_linkage): Likewise. 1151169689Skan * alpha.md (call_vms): Likewise. 1152169689Skan (call_value_vms): Likewise. 1153169689Skan (unnamed osf call insns): Likewise. 1154169689Skan 1155169689Skan * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label. 1156169689Skan (ASM_GENERATE_INTERNAL_LABEL): Likewise. 1157169689Skan 1158169689Skan * alpha.c (call_operand): Any reg is valid for WinNT. 1159169689Skan * alpha.md (call_nt, call_value_nt): Don't force address into $27. 1160169689Skan (anon nt calls): Add 'R' alternative. 1161169689Skan * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, 1162169689Skan INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs. 1163169689Skan 1164169689SkanFri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com) 1165169689Skan 1166169689Skan * calls.c (expand_call): Handle pcc_struct_value correctly for C++. 1167169689Skan 1168169689Skan * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines. 1169169689Skan * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise. 1170169689Skan * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise. 1171169689Skan 1172169689SkanThu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com> 1173169689Skan 1174169689Skan * reload1.c (new_spill_reg): Improve fixed or forbidden register 1175169689Skan spill error message. 1176169689Skan 1177169689SkanThu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 1178169689Skan 1179169689Skan * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise, 1180169689Skan use varargs.h. Wrap header with <>, not "". 1181169689Skan 1182169689SkanThu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com) 1183169689Skan 1184169689Skan * integrate.c (save_for_inline_copying): Add return value from 1185169689Skan savealloc. 1186169689Skan 1187169689SkanThu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com> 1188169689Skan 1189169689Skan * fixincludes: Be a little more restrictive on what we will 1190169689Skan substitute to replace definitions of MAXINT for HPUX. 1191169689Skan 1192169689SkanThu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com> 1193169689Skan 1194169689Skan * dbxout.c (dbxout_symbol_location): Don't assume that variables 1195169689Skan whose address is the stack or argument pointers are indirect 1196169689Skan pointers. 1197169689Skan 1198169689Skan1997-11-13 Paul Eggert <eggert@twinsun.com> 1199169689Skan 1200169689Skan * cccp.c, cpplib.c (compare_defs): 1201169689Skan Don't complain about arg name respellings unless pedantic. 1202169689Skan * cpplib.c (compare_defs): Accept pfile as new arg. 1203169689Skan All callers changed. 1204169689Skan 1205169689SkanThu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1206169689Skan 1207169689Skan * fold-const.c (fold_truthop): Fix bug in last change. 1208169689Skan 1209169689Skan1997-11-13 Paul Eggert <eggert@twinsun.com> 1210169689Skan 1211169689Skan Fix some confusion with IEEE minus zero. 1212169689Skan 1213169689Skan * real.h (REAL_VALUES_IDENTICAL): New macro. 1214169689Skan 1215169689Skan * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros. 1216169689Skan * fold-const.c (operand_equal_p): Don't consider -0.0 to be 1217169689Skan identical to 0.0. 1218169689Skan * tree.c (simple_cst_equal): Don't consider -0.0 to have the 1219169689Skan same tree structure as 0.0. 1220169689Skan 1221169689Skan * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL 1222169689Skan macro instead of doing it by hand. 1223169689Skan 1224169689SkanThu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com) 1225169689Skan 1226169689Skan * v850/lib1funcs.asm: Minor whitespace changes. 1227169689Skan * v850.c: Fix minor formatting problems in many places. 1228169689Skan (construct_restore_jr, construct_save_jarl): Remove unwanted aborts. 1229169689Skan 1230169689SkanThu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com> 1231169689Skan 1232169689Skan * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and 1233169689Skan xplus1 when xplus0 is not a register. 1234169689Skan 1235169689SkanThu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com) 1236169689Skan 1237169689Skan * flow.c (find_basic_blocks): During marking phase, if we encounter 1238169689Skan an insn with a REG_LABEL note, make the target block live and 1239169689Skan create an edge from the insn to the target block. Do not make 1240169689Skan edges from all blocks to the target block. 1241169689Skan 1242169689Skan * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers. 1243169689Skan 1244169689Skan * confiugre.in: Tweak NCR entries. 1245169689Skan * configure: Rebuilt. 1246169689Skan 1247169689SkanThu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com> 1248169689Skan 1249169689Skan * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to 1250169689Skan pick apart floating point values, instead of using CONST_DOUBLE_LOW 1251169689Skan and CONST_DOUBLE_HIGH. 1252169689Skan 1253169689Skan * rs6000.md (define_splits for DF constants): Use the appropriate 1254169689Skan REAL_VALUE_* interface to pick apart DF floating point constants in 1255169689Skan a machine independent fashion. 1256169689Skan 1257169689SkanThu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1258169689Skan 1259169689Skan * fold-const.c (fold_truthop): When changing a one-bit comparison 1260169689Skan against zero into a comparison against mask, do a proper sign 1261169689Skan extension. 1262169689Skan 1263169689SkanWed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com) 1264169689Skan 1265169689Skan * except.c: Do not include "assert.h". 1266169689Skan (save_eh_status): Turn asserts into conditional aborts. 1267169689Skan (restore_eh_status, scan_region): Likewise. 1268169689Skan * dwarfout.c: Do not include "assert.h". 1269169689Skan (bit_offset_attribute): Turn asserts into conditional aborts. 1270169689Skan (bit_size_attribute, output_inlined_enumeration_type_die): Likewise. 1271169689Skan (output_inlined_structure_type_die): Likewise. 1272169689Skan (output_inlined_union_type_die): Likewise. 1273169689Skan (output_tagged_type_instantiation): Likewise. 1274169689Skan (dwarfout_file_scope_decl): Likewise. 1275169689Skan * dwarf2out.c: Do not include "assert.h" 1276169689Skan (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts. 1277169689Skan (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise. 1278169689Skan (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise. 1279169689Skan (add_bit_size_attribute, scope_die_for): Likewise. 1280169689Skan (output_pending_types_for_scope): Likewise. 1281169689Skan (get_inlined_enumeration_type_die): Likewise. 1282169689Skan (get_inlined_structure_type_die): Likewise. 1283169689Skan (get_inlined_union_type_die, gen_subprogram_die): Likewise. 1284169689Skan (gen_tagged_type_instantiation_die): Likewise. 1285169689Skan 1286169689Skan * flow.c (find_basic_blocks): Refine further to get a more correct 1287169689Skan cfg, especially in the presense of exception handling, computed 1288169689Skan gotos, and other non-trivial cases. Call abort if an inaccuracy 1289169689Skan is detected in the cfg. 1290169689Skan 1291169689SkanTue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1292169689Skan 1293169689Skan * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts. 1294169689Skan 1295169689Skan * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions. 1296169689Skan (skip_white_space): Use whitespace_cr. 1297169689Skan (check_newline): Handle whitespace more consistently. 1298169689Skan 1299169689SkanTue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com> 1300169689Skan 1301169689Skan * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX. 1302169689Skan * i386/xm-cygwin32.h (POSIX): Define. 1303169689Skan 1304169689SkanMon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com> 1305169689Skan 1306169689Skan * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit 1307169689Skan is available elsewhere. 1308169689Skan 1309169689SkanMon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com> 1310169689Skan 1311169689Skan * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match 1312169689Skan what the instruction can handle. 1313169689Skan 1314169689SkanMon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com> 1315169689Skan 1316169689Skan * stmt.c (expand_decl_cleanup_no_eh): New fn. 1317169689Skan 1318169689Skan * except.c (expand_leftover_cleanups): do_pending_stack_adjust. 1319169689Skan 1320169689SkanMon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com) 1321169689Skan 1322169689Skan * alias.c (MAX_ALIAS_LOOP_PASSES): Define. 1323169689Skan (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES. 1324169689Skan 1325169689SkanSun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu> 1326169689Skan 1327169689Skan * rs6000.md (lshrdi3_power): Delete '&' from first alternative and 1328169689Skan swap instruction order. 1329169689Skan 1330169689SkanSun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com) 1331169689Skan 1332169689Skan * fixinc.svr4 (__STDC__): Add another case. 1333169689Skan 1334169689SkanSun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1335169689Skan 1336169689Skan * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying 1337169689Skan addresses in the epilogue delay slot. 1338169689Skan 1339169689SkanSun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de) 1340169689Skan 1341169689Skan * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace 1342169689Skan in generated `specs' file. 1343169689Skan 1344169689SkanSun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com) 1345169689Skan 1346169689Skan * flags.h (flag_rerun_loop_opt): Declare. 1347169689Skan * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt. 1348169689Skan * toplev.c (flag_rerum_loop_opt): Delete static. 1349169689Skan 1350169689SkanSat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1351169689Skan 1352169689Skan Bring over from FSF: 1353169689Skan 1354169689Skan Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1355169689Skan 1356169689Skan * va-sh.h (__va_arg_sh1): Define. 1357169689Skan (va_arg): Use it. 1358169689Skan SH3E doesn't use any integer registers for subsequent arguments 1359169689Skan once a non-float value was passed in the stack. 1360169689Skan * sh.c (machine_dependent_reorg): If optimizing, put explicit 1361169689Skan alignment in front label for ADDR_DIFF_VEC. 1362169689Skan * sh.h (PASS_IN_REG_P): Fix SH3E case. 1363169689Skan (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length. 1364169689Skan 1365169689Skan Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1366169689Skan 1367169689Skan * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including 1368169689Skan svr4.h. 1369169689Skan 1370169689Skan Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1371169689Skan 1372169689Skan * sh.c (machine_dependent_reorg): When -flag_delayed_branches, 1373169689Skan put an use_sfunc_addr before each sfunc. 1374169689Skan * sh.md (use_sfunc_addr, dummy_jump): New insns. 1375169689Skan (casesi): For TARGET_SH2, emit a dummy_jump after LAB. 1376169689Skan 1377169689Skan Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1378169689Skan 1379169689Skan * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine. 1380169689Skan 1381169689SkanFri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com> 1382169689Skan 1383169689Skan * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for 1384169689Skan linked once FDEs. 1385169689Skan 1386169689SkanWed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com) 1387169689Skan 1388169689Skan * alias.c (find_base_value): Only return the known base value for 1389169689Skan pseudo registers. 1390169689Skan 1391169689SkanWed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com> 1392169689Skan 1393169689Skan * i386.c (load_pic_register): Call prologue_get_pc_and_set_got. 1394169689Skan * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE 1395169689Skan to pattern. 1396169689Skan (prologue_get_pc_and_set_got): New pattern. 1397169689Skan 1398169689SkanTue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com) 1399169689Skan 1400169689Skan * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse 1401169689Skan for SUBREG, just fall through. 1402169689Skan 1403169689Skan * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero. 1404169689Skan 1405169689Skan * alpha.md (attr trap): Make TRAP_YES nonzero for sanity's sake. 1406169689Skan 1407169689SkanTue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com) 1408169689Skan 1409169689Skan * fixincludes: Fix "hypot" prototype in NeXT math.h. 1410169689Skan 1411169689Skan * Makefile.in (USE_ALLOCA): Always include alloca.o. 1412169689Skan (USE_HOST_ALLOCA): Likewise. 1413169689Skan 1414169689Skan * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES 1415169689Skan and LABEL_REFS fields. 1416169689Skan * rtl.h (LABEL_REFS): Update. 1417169689Skan 1418169689SkanTue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com> 1419169689Skan 1420169689Skan * combine.c (try_combine): When setting elim_i2, check whether newi2pat 1421169689Skan sets i2dest. When calling distribute_notes for i3dest_killed, pass 1422169689Skan elim_i2 and elim_i1. When setting elim_i1, check if newi2pat 1423169689Skan sets i1dest. 1424169689Skan 1425169689Skan * mips.md (insv, extzv, extv): Add change_address call. 1426169689Skan (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern. 1427169689Skan 1428169689Skan * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc. 1429169689Skan 1430169689Skan * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants. 1431169689Skan 1432169689Skan * mips.c (mips_expand_epilogue): Emit blockage insn before call to 1433169689Skan save_restore_insns if no FP and GP will be restored. 1434169689Skan 1435169689Skan * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode. 1436169689Skan Convert CCmode to word_mode before calling GET_MODE_SIZE. 1437169689Skan 1438169689Skan * acconfig.h (HAVE_INTTYPES_H): Undef. 1439169689Skan * configure.in (inttypes.h): Check for conflicts between sys/types.h 1440169689Skan and inttypes.h, and verify that intmax_t is defined. 1441169689Skan * config/mips/x-iris (CC, OPT, OLDCC): Comment out. 1442169689Skan * config/mips/x-iris3: Likewise. 1443169689Skan 1444169689SkanTue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com) 1445169689Skan 1446169689Skan * alias.c (find_base_value): When copying arguments, return the 1447169689Skan tentative value for a hard register. 1448169689Skan 1449169689SkanTue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com> 1450169689Skan 1451169689Skan * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling. 1452169689Skan (yylex): Record wide strings using target endianness, not host. 1453169689Skan 1454169689SkanTue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com) 1455169689Skan 1456169689Skan * mn10200.h (ASM_OUTPUT_BSS): Delete. 1457169689Skan (ASM_OUTPUT_ALIGNED_BSS): New macro. 1458169689Skan * mn10300.h (ASM_OUTPUT_BSS): Delete. 1459169689Skan (ASM_OUTPUT_ALIGNED_BSS): New macro. 1460169689Skan * v850.h (ASM_OUTPUT_BSS): Delete. 1461169689Skan (ASM_OUTPUT_ALIGNED_BSS): New macro. 1462169689Skan 1463169689SkanTue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1464169689Skan 1465169689Skan * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP. 1466169689Skan 1467169689SkanMon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com) 1468169689Skan 1469169689Skan * configure.in (sco5): Use cpio to install header files. 1470169689Skan 1471169689SkanSun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de> 1472169689Skan 1473169689Skan * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to 1474169689Skan 14 char length. 1475169689Skan * configure: Rebuild. 1476169689Skan 1477169689SkanSun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com) 1478169689Skan 1479169689Skan * i386/sco5.h: Enable -gstabs once again. 1480169689Skan 1481169689SkanSun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com) 1482169689Skan 1483169689Skan * arm.c (output_move_double): Allocate 3 entries in otherops array. 1484169689Skan 1485169689SkanSat Nov 1 21:43:00 1997 Mike Stump <mrs@wrs.com> 1486169689Skan 1487169689Skan * except.c (expand_eh_region_start_for_decl): Emit EH_REGION_BEG 1488169689Skan notes for sjlj exceptions too. 1489169689Skan (expand_eh_region_end): Similarly for EH_REGION_END notes. 1490169689Skan (exception_optimize): Optimize EH regions for sjlj exceptions too. 1491169689Skan * final.c (final_scan_insn): Don't output labels for EH REGION 1492169689Skan notes if doing sjlj exceptions. 1493169689Skan 1494169689SkanSat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com) 1495169689Skan 1496169689Skan * alias.c (init_alias_analysis): Handle -fno-alias-check when 1497169689Skan optimizing correctly. 1498169689Skan 1499169689Skan * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note 1500169689Skan or set current_function_calls_setjmp anymore. 1501169689Skan 1502169689Skan * flow.c (find_basic_blocks): If we delete the label for an 1503169689Skan exception handler, remove it from the EH label list and remove 1504169689Skan the EH_BEGIN/EH_END notes for that EH region. 1505169689Skan 1506169689SkanSat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com) 1507169689Skan 1508169689Skan * flow.c (find_basic_blocks): Generate correct flow control 1509169689Skan information when exception handling notes are present. 1510169689Skan 1511169689SkanSat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com) 1512169689Skan 1513169689Skan * dwarf2out.c (output_call_frame_info): Fix length argument 1514169689Skan to ASM_OUTPUT_ASCII. 1515169689Skan (output_die, output_pubnames, output_line_info): Likewise. 1516169689Skan 1517169689SkanFri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com) 1518169689Skan 1519169689Skan * version.c: Bump for snapshot. 1520169689Skan 1521169689Skan * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to 1522169689Skan output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if 1523169689Skan flag_debug_asm is on. 1524169689Skan (output_die, output_pubnames, output_line_info): Likewise. 1525169689Skan 1526169689Skan * alias.c (init_alias_analysis): Add struct_value_incoming_rtx 1527169689Skan and static_chain_rtx into the potential base values array if 1528169689Skan they are registers. 1529169689Skan 1530169689Skan * alias.c (new_reg_base_value): New array of potential base values. 1531169689Skan (unique_id): Now file scoped static. 1532169689Skan (find_base_value, case REG): Return the value in reg_base_value 1533169689Skan array for the REG if it exists. Else, return the value from 1534169689Skan new_reg_base_value if copying args and REG is a hard register. 1535169689Skan (find_base_value, case PLUS): If either operand of the PLUS is 1536169689Skan a REG, try to get its base value. Handle base + index and 1537169689Skan index + base. 1538169689Skan (record_set): Use new_reg_base_value instead of reg_base_value. 1539169689Skan (init_alias_analysis): Allocate space for new_reg_base_value too. 1540169689Skan Rework code to iterate over the insns propagating base value 1541169689Skan information until nothing changes. 1542169689Skan 1543169689Skan * global.c (global_alloc): Free the conflict matrix after 1544169689Skan reload has finished. 1545169689Skan 1546169689SkanFri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com> 1547169689Skan 1548169689Skan * libgcc2.c (L_eh): Define __eh_pc. 1549169689Skan Replace __eh_type with generic pointer __eh_info. 1550169689Skan 1551169689SkanFri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk> 1552169689Skan 1553169689Skan * expr.c (expand_increment): When enqueing a postincrement for a MEM, 1554169689Skan use copy_to_reg if address is not a general_operand. 1555169689Skan 1556169689SkanFri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1557169689Skan 1558169689Skan * profile.c (output_func_start_profiler): Clear flag_inline_functions 1559169689Skan for the duration of the call to rest_of_compilation. 1560169689Skan 1561169689SkanThu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com> 1562169689Skan 1563169689Skan * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf. 1564169689Skan Set extra_parts. 1565169689Skan (sparc*-*-*): Recognize --with-cpu=v9. 1566169689Skan * sparc/elf.h: New file. 1567169689Skan * sparc/t-elf: New file. 1568169689Skan 1569169689SkanThu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com) 1570169689Skan 1571169689Skan * mn10300.c (const_8bit_operand): New function. 1572169689Skan (mask_ok_for_mem_btst): New function. 1573169689Skan * mn10300.md (btst patterns with mem operands): Use new functions 1574169689Skan to avoid creating btst instructions with invalid operands. 1575169689Skan 1576169689SkanWed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com> 1577169689Skan 1578169689Skan * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we 1579169689Skan are running on PowerPC Linux. 1580169689Skan 1581169689SkanWed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com> 1582169689Skan 1583169689Skan * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define 1584169689Skan if not previously defined. 1585169689Skan 1586169689SkanTue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com) 1587169689Skan 1588169689Skan * function.c (assign_parms): Correct mode of stack_parm if 1589169689Skan entry_parm underwent a mode conversion. 1590169689Skan 1591169689Skan1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com> 1592169689Skan 1593169689Skan * global.c (global_alloc): Use xmalloc instead of alloca for 1594169689Skan CONFLICTS, since max_allocno * allocno_row_words alone can be more 1595169689Skan than 2.5Mb sometimes. 1596169689Skan 1597169689SkanTue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com> 1598169689Skan 1599169689Skan * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of 1600169689Skan DEST for the spill, adjust mode of SRC to compensate. 1601169689Skan 1602169689SkanTue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com> 1603169689Skan 1604169689Skan * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p, 1605169689Skan since any_memory_operand() allows pseudos during reload. 1606169689Skan (reload_inhi, reload_outqi, reload_outhi): Likewise. 1607169689Skan 1608169689SkanTue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com> 1609169689Skan 1610169689Skan * m68k.md (btst patterns): Add 5200 support. 1611169689Skan 1612169689SkanTue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl> 1613169689Skan 1614169689Skan * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3) 1615169689Skan optimizations, look inside dividend to determine if the expression 1616169689Skan can be simplified by using EXACT_DIV_EXPR. 1617169689Skan 1618169689SkanTue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com> 1619169689Skan 1620169689Skan From Brendan: 1621169689Skan * dwarf2out.c (output_call_frame_info): Use l1 instead of ".". 1622169689Skan 1623169689SkanTue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com> 1624169689Skan 1625169689Skan * alpha.c (summarize_insn [SUBREG]): Propagate SET. 1626169689Skan 1627169689SkanMon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com> 1628169689Skan 1629169689Skan * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap 1630169689Skan on a CLOBBER. 1631169689Skan 1632169689SkanMon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com> 1633169689Skan 1634169689Skan * alpha.md (movqi, movhi): Make sure new insns created during reload 1635169689Skan won't need reloading themselves. 1636169689Skan (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise. 1637169689Skan 1638169689SkanMon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com) 1639169689Skan 1640169689Skan * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg. 1641169689Skan 1642169689SkanSun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com> 1643169689Skan 1644169689Skan * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask. 1645169689Skan Patch from Klaus Kaempf <kkaempf@progis.de>. 1646169689Skan 1647169689SkanSun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com) 1648169689Skan 1649169689Skan * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference 1650169689Skan to an element in a constant string. 1651169689Skan 1652169689SkanSun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com> 1653169689Skan 1654169689Skan * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32 1655169689Skan bit PC-relative offset. The exception range table pointer is now in 1656169689Skan the CIE. 1657169689Skan * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta. 1658169689Skan (count_fdes, add_fdes, get_cie): Adjust. 1659169689Skan (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses. 1660169689Skan 1661169689Skan From H.J. Lu: 1662169689Skan * frame.c (count_fdes, add_fdes): Skip linked once FDE entries. 1663169689Skan 1664169689SkanSun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com> 1665169689Skan 1666169689Skan * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just 1667169689Skan like stack_pointer_rtx. 1668169689Skan 1669169689SkanSun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de> 1670169689Skan 1671169689Skan * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap 1672169689Skan targets using "$@" to provide support for similar but not identical 1673169689Skan targets without having to duplicate code. 1674169689Skan (bootstrap4): New goal. 1675169689Skan 1676169689Skan * Makefile.in (compare, compare-lean, compare3): Combined to one 1677169689Skan ruleset determining actions to be performed via $@. 1678169689Skan (compare4, compare4-lean): New targets. 1679169689Skan (gnucompare, gnucompare3): Combined to one ruleset determining 1680169689Skan actions to be performed via $@. Also, note which files failed 1681169689Skan the comparison test in .bad_compare. 1682169689Skan (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets. 1683169689Skan 1684169689SkanSun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl> 1685169689Skan 1686169689Skan * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR 1687169689Skan if the dividend is a multiple of the divisor. 1688169689Skan 1689169689SkanSun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com) 1690169689Skan 1691169689Skan * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions. 1692169689Skan 1693169689Skan * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC, 1694169689Skan and POS_DEC. 1695169689Skan 1696169689Skan * alias.c (true_dependence): Fix typo. 1697169689Skan 1698169689Skan * toplev.c (flag_rerun_loop_opt): New variable. 1699169689Skan (f_options): Handle -frerun-loop-opt. 1700169689Skan (rest_of_compilation): If -frerun-loop-opt, then run the loop 1701169689Skan optimizer twice. 1702169689Skan (main): Enable -frerun-loop-opt by default for -O2 or greater. 1703169689Skan 1704169689Skan * loop.c (simplify_giv_expr): Adding two invariants results 1705169689Skan in an invariant. 1706169689Skan 1707169689SkanSun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com> 1708169689Skan 1709169689Skan * expr.c (get_inner_reference): Remove the array bias after 1710169689Skan converting the index to Pmode. 1711169689Skan 1712169689SkanSat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com) 1713169689Skan 1714169689Skan * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug. 1715169689Skan (TARGET_MULT_BUG): Define. 1716169689Skan (TARGET_DEFAULT): Default to TARGET_MULT_BUG. 1717169689Skan * mn10300.md (mulsi3): Handle TARGET_MULT_BUG. 1718169689Skan 1719169689SkanFri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com) 1720169689Skan 1721169689Skan * mn10200.c (indirect_memory_operand): Delete unused function. 1722169689Skan * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'. 1723169689Skan * mn10200.md (bset, bclr insns): Handle output in a reg too. 1724169689Skan 1725169689SkanFri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com> 1726169689Skan 1727169689Skan * alpha.md (call patterns): Revert Oct 16 change; if we are to elide 1728169689Skan the callee's ldgp, we must do it ourselves, and we use the jsr tag 1729169689Skan for more than scheduling. 1730169689Skan 1731169689SkanFri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com> 1732169689Skan 1733169689Skan * sparc/sparc.h (ASM_SPEC): Delete asm_arch. 1734169689Skan 1735169689SkanFri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com) 1736169689Skan 1737169689Skan * mn10300.c (symbolic_operand, legitimize_address): New functions. 1738169689Skan * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address. 1739169689Skan (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic. 1740169689Skan 1741169689SkanThu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com) 1742169689Skan 1743169689Skan * version.c: Bump for snapshot. 1744169689Skan 1745169689SkanThu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1746169689Skan 1747169689Skan * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string 1748169689Skan for FILENAME. 1749169689Skan 1750169689SkanWed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com) 1751169689Skan 1752169689Skan * toplev.c (flag_exceptions): Default value is 2. 1753169689Skan (compile_file): If flag_exceptions still has the value 2, then 1754169689Skan set it to 0. 1755169689Skan 1756169689Skan * rs6000.c (struct machine_function): Add pic_offset_table_rtx. 1757169689Skan (rs6000_save_machine_status): Save pic_offset_table_rtx. 1758169689Skan (rs6000_restore_machine_status: Restore pic_offset_table_rtx. 1759169689Skan 1760169689Skan * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions 1761169689Skan are shared. 1762169689Skan 1763169689Skan * rs6000.md (*movsi_got_internal_mem): New pattern. 1764169689Skan (*movsi_got_internal_mem splitter): New define_split. 1765169689Skan 1766169689SkanTue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com> 1767169689Skan 1768169689Skan * obstack.h (obstack_empty_p): Fix spurious space after backslash. 1769169689Skan 1770169689SkanTue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au> 1771169689Skan 1772169689Skan * rs6000.c: Avoid creating a stack frame under SYSV ABI if we 1773169689Skan only need to save LR. 1774169689Skan 1775169689SkanTue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com) 1776169689Skan 1777169689Skan * mn10300.md (movqi, movhi): Avoid using address registers as 1778169689Skan destinations unless absolutely necessary. 1779169689Skan 1780169689Skan * mn10200.c (expand_prologue): Fix typo. 1781169689Skan 1782169689Skan * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed 1783169689Skan addresses. 1784169689Skan * mn10200.md (neghi2): Provide an alternative which works if 1785169689Skan the input and output register are the same. 1786169689Skan 1787169689Skan * mn10300.c (print_operand): Handle 'S'. 1788169689Skan * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for 1789169689Skan shift amount in last alternative. 1790169689Skan 1791169689Skan * mn10300.c (expand_epilogue): Rework to handle register restores 1792169689Skan in "ret" and "retf" instructions correctly. 1793169689Skan 1794169689SkanMon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com> 1795169689Skan 1796169689Skan * expmed.c (extract_bit_field): Don't make flag_force_mem disable 1797169689Skan extzv for memory operands. 1798169689Skan 1799169689Skan * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse 1800169689Skan redundant conditional moves to single operand. 1801169689Skan 1802169689SkanMon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com> 1803169689Skan 1804169689Skan * v850.h: Move define of __v850__ from CPP_PREDEFINES 1805169689Skan to CPP_SPEC. 1806169689Skan 1807169689Skan * xm-v850.h: Use __v850 rather than __v850__ to 1808169689Skan identify v850 port. 1809169689Skan 1810169689SkanMon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com> 1811169689Skan 1812169689Skan * mips/mips.c (compute_frame_size): Not a leaf function if 1813169689Skan profile_flag set. 1814169689Skan 1815169689SkanMon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au> 1816169689Skan 1817169689Skan * rs6000/t-ppccomm: Use -msdata=none for crtstuff. 1818169689Skan 1819169689SkanMon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com> 1820169689Skan 1821169689Skan * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete. 1822169689Skan (DEFAULT_ARCH32_P): New macro. 1823169689Skan (TARGET_ARCH{32,64}): Allow compile time or runtime selection. 1824169689Skan (enum cmodel): Declare. 1825169689Skan (sparc_cmodel_string,sparc_cmodel): Declare. 1826169689Skan (SPARC_DEFAULT_CMODEL): Provide default. 1827169689Skan (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}. 1828169689Skan (TARGET_FULLANY): Deleted. 1829169689Skan (TARGET_CM_MEDMID): New macro. 1830169689Skan (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC. 1831169689Skan (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC. 1832169689Skan (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch). 1833169689Skan (CPP_SPEC): Rewrite. 1834169689Skan (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros. 1835169689Skan (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros. 1836169689Skan (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros. 1837169689Skan (ASM_SPEC): Add %(asm_arch). 1838169689Skan (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default. 1839169689Skan Rename asm_default to asm_cpu_default. 1840169689Skan Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian, 1841169689Skan cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch. 1842169689Skan (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH. 1843169689Skan ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values. 1844169689Skan (MASK_INT64,MASK_LONG64): Delete. 1845169689Skan (MASK_ARCH64): Renamed to MASK_64BIT. 1846169689Skan (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete. 1847169689Skan (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG. 1848169689Skan (TARGET_SWITCHES): Always provide 64 bit options. 1849169689Skan (ARCH64_SWITCHES): Delete. 1850169689Skan (TARGET_OPTIONS): New option -mcmodel=. 1851169689Skan (INT_TYPE_SIZE): Always 32. 1852169689Skan (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH. 1853169689Skan (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_.... 1854169689Skan (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support. 1855169689Skan (PRINT_OPERAND_PUNCT_VALID_P): Add '_'. 1856169689Skan * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by 1857169689Skan CPP_SPEC. 1858169689Skan (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC. 1859169689Skan * sparc/linux.h: Likewise. 1860169689Skan * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete. 1861169689Skan (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC. 1862169689Skan (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT. 1863169689Skan (SPARC_DEFAULT_CMODEL): Define. 1864169689Skan (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC. 1865169689Skan (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC. 1866169689Skan (LONG_DOUBLE_TYPE_SIZE): Define. 1867169689Skan (ASM_SPEC): Add %(asm_arch). 1868169689Skan * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC. 1869169689Skan (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC. 1870169689Skan (TARGET_CPU_DEFAULT): Add ultrasparc case. 1871169689Skan * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete. 1872169689Skan (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. 1873169689Skan (SPARC_DEFAULT_CMODEL): Define. 1874169689Skan * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete. 1875169689Skan (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete 1876169689Skan MASK_LONG64, MASK_MEDANY. 1877169689Skan (SPARC_DEFAULT_CMODEL): Define. 1878169689Skan (CPP_PREDEFINES): Delete. 1879169689Skan (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC. 1880169689Skan (ASM_SPEC): Add %(asm_arch). 1881169689Skan (LONG_DOUBLE_TYPE_SIZE): Define. 1882169689Skan (DWARF2_DEBUGGING_INFO): Define. 1883169689Skan * sparc/splet.h (CPP_SPEC): Delete. 1884169689Skan * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC. 1885169689Skan (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support. 1886169689Skan (BLOCK_PROFILER): Likewise. 1887169689Skan * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals. 1888169689Skan (sparc_override_options): Handle code model selection. 1889169689Skan (sparc_init_expanders): Renamed from sparc64_init_expanders. 1890169689Skan * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_.... 1891169689Skan TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY. 1892169689Skan (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_.... 1893169689Skan (sethi_di_fullany): Delete. 1894169689Skan 1895169689SkanMon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de> 1896169689Skan Jeff Law <law@cygnus.com> 1897169689Skan Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 1898169689Skan 1899169689Skan * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case. 1900169689Skan (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise. 1901169689Skan (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise. 1902169689Skan (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise. 1903169689Skan * alpha/alpha.md (arg_home): Likewise. 1904169689Skan 1905169689Skan * alpha/alpha.c (vmskrunch): Delete. 1906169689Skan * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete. 1907169689Skan * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't 1908169689Skan truncate to 64 characters. 1909169689Skan 1910169689Skan * make-l2.com: Support openVMS/Alpha. 1911169689Skan 1912169689Skan * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX. 1913169689Skan 1914169689SkanSun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 1915169689Skan 1916169689Skan * longlong.h (count_leading_zeros): Add missing casts to USItype. 1917169689Skan 1918169689SkanSun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com) 1919169689Skan 1920169689Skan * i386/bsd386.h (ASM_COMMENT_START): Define. 1921169689Skan 1922169689SkanSat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com> 1923169689Skan 1924169689Skan * tree.c (restore_tree_status): Also free up temporary storage 1925169689Skan when we finish a toplevel function. 1926169689Skan (dump_tree_statistics): Print stats for backend obstacks. 1927169689Skan 1928169689SkanSat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com> 1929169689Skan 1930169689Skan * expr.c (use_group_regs): Don't call use_reg for MEMs. 1931169689Skan 1932169689SkanSat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com> 1933169689Skan 1934169689Skan * libgcc2.c (__throw): Don't copy the return address. 1935169689Skan * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address. 1936169689Skan 1937169689Skan * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized). 1938169689Skan * toplev.c (main): Initialize exceptions_via_longjmp. 1939169689Skan 1940169689Skan * tree.c: Add extra_inline_obstacks. 1941169689Skan (save_tree_status): Use it. 1942169689Skan (restore_tree_status): If this is a toplevel inline obstack and we 1943169689Skan didn't want to save anything on it, recycle it. 1944169689Skan (print_inline_obstack_statistics): New fn. 1945169689Skan * function.c (pop_function_context_from): Pass context to 1946169689Skan restore_tree_status. 1947169689Skan * obstack.h (obstack_empty_p): New macro. 1948169689Skan 1949169689SkanSat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com) 1950169689Skan 1951169689Skan * i386/freebsd.h (ASM_COMMENT_START): Fix. 1952169689Skan 1953169689SkanFri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com) 1954169689Skan 1955169689Skan * v850.c (ep_memory_offset): New function. 1956169689Skan (ep_memory_operand, substitute_ep_register, v850_reorg): Call it. 1957169689Skan 1958169689Skan * v850.h (CONST_OK_FOR_*): Add and correct comments. 1959169689Skan (CONSTANT_ADDRESS_P): Add comment. 1960169689Skan (EXTRA_CONSTRAINT): Define 'U'. 1961169689Skan * v850.md: Add comments on bit field instructions. 1962169689Skan (addsi3): Delete &r/r/r alternative. Add r/r/U alternative. 1963169689Skan (lshrsi3): Use N not J constraint. 1964169689Skan 1965169689Skan * v850.md (v850_tst1+1): New define_split for tst1 instruction. 1966169689Skan 1967169689Skan * v850.c (reg_or_0_operand): Call register_operand. 1968169689Skan (reg_or_int5_operand): Likewise. 1969169689Skan * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros. 1970169689Skan (TARGET_SWITCHES): Add "big-switch". 1971169689Skan (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE, 1972169689Skan ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH. 1973169689Skan (CASE_DROPS_THROUGH): Comment out. 1974169689Skan (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define. 1975169689Skan * v850.md (cmpsi): Delete compare mode. 1976169689Skan (casesi): New pattern. 1977169689Skan 1978169689Skan * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero. 1979169689Skan * v850.md (ashlsi3): Use SImode not QImode for shift count. 1980169689Skan (lshrsi3): Likewise. 1981169689Skan 1982169689Skan * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete 1983169689Skan unreachable switch statement after 'b' support. Remove "b" from 1984169689Skan strings for 'b' support. 1985169689Skan * v850.md (branch_normal, branch_invert): Change %b to b%b. 1986169689Skan 1987169689SkanFri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com) 1988169689Skan 1989169689Skan * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an 1990169689Skan empty line if @inhibit_libc@ is empty. 1991169689Skan 1992169689SkanFri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com) 1993169689Skan 1994169689Skan * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj. 1995169689Skan (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined. 1996169689Skan (EH_FRAME_SECTION_ASM_OP_COFF): Likewise. 1997169689Skan (DWARF2_UNWIND_INFO): Let this track object file format. 1998169689Skan (EXTRA_SECTIONS): Add in_eh. 1999169689Skan (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define. 2000169689Skan (EH_FRAME_SECTION_ASM_OP_COFF): Likewise. 2001169689Skan 2002169689SkanFri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu> 2003169689Skan 2004169689Skan * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2. 2005169689Skan * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when 2006169689Skan TARGET_MEDANY. 2007169689Skan * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed. 2008169689Skan (output_double_int): Output DI mode values correctly when 2009169689Skan HOST_BITS_PER_WIDE_INT is 64. 2010169689Skan (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use 2011169689Skan fmovd so it works if a quad float ends up in one of the upper 32 2012169689Skan float regs. 2013169689Skan * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns 2014169689Skan necessary for PIC support on sparc64. 2015169689Skan 2016169689SkanFri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com> 2017169689Skan 2018169689Skan * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS. 2019169689Skan * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64. 2020169689Skan (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define. 2021169689Skan (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros. 2022169689Skan (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros. 2023169689Skan (SPARC_FP_ARG_FIRST): New macro. 2024169689Skan (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now. 2025169689Skan (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs. 2026169689Skan (NPARM_REGS): There are 32 fp argument registers now. 2027169689Skan (FUNCTION_ARG_REGNO_P): Likewise. 2028169689Skan (FIRST_PARM_OFFSET): Update to new v9 abi. 2029169689Skan (REG_PARM_STACK_SPACE): Define for arch64. 2030169689Skan (enum sparc_arg_class): Delete. 2031169689Skan (sparc_arg_count,sparc_n_named_args): Delete. 2032169689Skan (struct sparc_args): Redefine and use for arch32 as well as arch64. 2033169689Skan (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete. 2034169689Skan (FUNCTION_ARG_ADVANCE): Rewrite. 2035169689Skan (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite. 2036169689Skan (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite. 2037169689Skan (FUNCTION_ARG_CALLEE_COPIES): Delete. 2038169689Skan (FUNCTION_ARG_{PADDING,BOUNDARY}): Define. 2039169689Skan (STRICT_ARGUMENT_NAMING): Define. 2040169689Skan (doublemove_string): Declare. 2041169689Skan * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete. 2042169689Skan (single_move_string): Use GEN_INT, and HOST_WIDE_INT. 2043169689Skan (doublemove_string): New function. 2044169689Skan (output_move_quad): Clean up some of the arch64 support. 2045169689Skan (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64. 2046169689Skan Don't add 8 bytes of reserved space if arch64. 2047169689Skan (sparc_builtin_saveregs): Combine arch32/arch64 versions. 2048169689Skan (init_cumulative_args): New function. 2049169689Skan (function_arg_slotno): New static function. 2050169689Skan (function_arg,function_arg_partial_nregs): New functions. 2051169689Skan (function_arg_{pass_by_reference,advance}): New functions. 2052169689Skan (function_arg_padding): New function. 2053169689Skan * ginclude/va-sparc.h: Rewrite v9 support. 2054169689Skan 2055169689SkanFri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch> 2056169689Skan 2057169689Skan * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P 2058169689Skan for hard regs to determine base and index registers. 2059169689Skan 2060169689Skan * reload.c (debug_reload_to_stream): New function. Specify stream 2061169689Skan into which to write debug info. 2062169689Skan (debug_reload): Modify to call debug_reload_to_stream with stderr. 2063169689Skan 2064169689SkanThu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com> 2065169689Skan 2066169689Skan * combine.c (can_combine_p): Don't combine with an asm whose 2067169689Skan output is a hard register. 2068169689Skan 2069169689SkanThu Oct 16 15:43:26 1997 Mike Stump <mrs@wrs.com> 2070169689Skan 2071169689Skan * c-decl.c (start_struct): Ensure that structs with forward 2072169689Skan declarations are in fact packed when -fpack-struct is given. 2073169689Skan 2074169689Skan * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if 2075169689Skan we are packing a structure. This allows a structure with only 2076169689Skan bytes to be aligned on a byte boundary and have no padding on a 2077169689Skan m68k. 2078169689Skan 2079169689SkanThu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2080169689Skan 2081169689Skan * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record. 2082169689Skan 2083169689SkanThu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com> 2084169689Skan 2085169689Skan * alpha.c (alpha_return_addr_rtx): New variable. 2086169689Skan (alpha_save_machine_status): New; save it. 2087169689Skan (alpha_restore_machine_status): New; restore it. 2088169689Skan (alpha_init_expanders): New; clear it. 2089169689Skan (alpha_return_addr): New; set it. 2090169689Skan (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live 2091169689Skan is overly conservative, so search the insns explicitly. 2092169689Skan (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed. 2093169689Skan (alpha_sa_size [VMS && !VMS]): Likewise. 2094169689Skan * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr. 2095169689Skan (INIT_EXPANDERS): New definition. 2096169689Skan 2097169689Skan * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file. 2098169689Skan (output_prolog [!VMS]): Use them. 2099169689Skan 2100169689Skan * alpha.c (output_prolog [!VMS]): Move gp detection to ... 2101169689Skan (alpha_does_function_need_gp): ... a new function. Refine the 2102169689Skan CALL_INSN test to just TYPE_JSR. 2103169689Skan * alpha.md (most call insns): Fix some jsr/ibr type transpositions. 2104169689Skan 2105169689SkanThu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com) 2106169689Skan 2107169689Skan * version.c: Bump for snapshot. 2108169689Skan 2109169689SkanWed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2110169689Skan 2111169689Skan * pa.c (move_operand): Respect -mdisable-indexing. 2112169689Skan * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise. 2113169689Skan 2114169689SkanWed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu> 2115169689Skan 2116169689Skan * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for 2117169689Skan PPC601. 2118169689Skan (umulsidi3,umulsi3_highpart): Likewise. 2119169689Skan (smulsi3_highpart_no_mq): Add !TARGET_POWER. 2120169689Skan 2121169689SkanWed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com> 2122169689Skan 2123169689Skan * alpha.c (final_prescan_insn): Gut, remove and transform to ... 2124169689Skan (alpha_handle_trap_shadows): ... a new function. Handle the entire 2125169689Skan function in one go. Emit RTL for trapb, instead of printf directly. 2126169689Skan (alpha_reorg): New function. Call alpha_handle_trap_shadows. 2127169689Skan (trap_pending): Kill global variable. 2128169689Skan (output_epilog): Don't call final_prescan_insn. 2129169689Skan (struct shadow_summary): Elide $31 and $f31; now it fits in a word. 2130169689Skan * alpha.h (FINAL_PRESCAN_INSN): Remove. 2131169689Skan (MACHINE_DEPENDENT_REORG): Define. 2132169689Skan * alpha.md (jsr patterns with trapb): Stupid and useless. Kill. 2133169689Skan (trapb): New insn. 2134169689Skan 2135169689SkanWed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com> 2136169689Skan 2137169689Skan Tune Haifa scheduler for Alpha: 2138169689Skan * alpha.h (ISSUE_RATE): Define. 2139169689Skan * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply 2140169689Skan EV4 adjustments to EV5. 2141169689Skan * alpha.md: Remove all scaling from function unit delays. Rework 2142169689Skan EV5 function units to match the CPU. 2143169689Skan (umuldi3_highpart): EV5 added the IMULH insn class. 2144169689Skan 2145169689SkanWed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com) 2146169689Skan 2147169689Skan * pa.c (following_call): Fail if the CALL_INSN is an indirect 2148169689Skan call. 2149169689Skan 2150169689SkanTue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net> 2151169689Skan 2152169689Skan * cplus-dem.c (demangle_signature): Don't look for return types on 2153169689Skan constructors. Handle member template constructors. 2154169689Skan 2155169689SkanTue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com> 2156169689Skan 2157169689Skan * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns. 2158169689Skan * tree.h: Declare them. 2159169689Skan 2160169689SkanFri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com> 2161169689Skan 2162169689Skan * configure.in: Handle --with-newlib. 2163169689Skan * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@. 2164169689Skan 2165169689Skan * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete. 2166169689Skan 2167169689SkanWed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com) 2168169689Skan 2169169689Skan * config/ptx4.h: Fix typo. 2170169689Skan 2171169689SkanWed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com) 2172169689Skan 2173169689Skan * version.c: Bump for snapshot. 2174169689Skan 2175169689SkanTue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de> 2176169689Skan 2177169689Skan * aclocal.m4: Substitute INSTALL. 2178169689Skan * configure: Re-built. 2179169689Skan 2180169689SkanTue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com) 2181169689Skan 2182169689Skan * integrate.c (save_for_inline_copying): Avoid undefined pointer 2183169689Skan operations. 2184169689Skan (expand_inline_function): Likewise. 2185169689Skan 2186169689Skan * dwarf2out.c (output_call_frame_info): Reinstate last change 2187169689Skan using flag_debug_asm check instead of flag_verbose_asm. 2188169689Skan 2189169689SkanTue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com> 2190169689Skan 2191169689Skan * dwarf2out.c (output_call_frame_info): Remove last change. 2192169689Skan 2193169689Skan1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 2194169689Skan 2195169689Skan * frame.c (__frame_state_for): Execute the FDE insns until the 2196169689Skan current pc value is strictly bigger than the target pc value. 2197169689Skan 2198169689SkanTue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com> 2199169689Skan 2200169689Skan * regclass.c (init_reg_modes): If we can't find a mode for the 2201169689Skan register, use the previous one. 2202169689Skan 2203169689SkanTue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com> 2204169689Skan 2205169689Skan * haifa-sched.c (print_block_visualization): Call fprintf directly, 2206169689Skan don't sprintf through an alloca'ed buffer. 2207169689Skan 2208169689SkanTue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de) 2209169689Skan 2210169689Skan * reload.c (decompose): Always initialize val.base. 2211169689Skan 2212169689SkanTue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de) 2213169689Skan 2214169689Skan * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment 2215169689Skan instead of aborting. 2216169689Skan * dwarf2out.c (output_call_frame_info): Call app_enable and 2217169689Skan app_disable to let GNU as accept the generated comments. 2218169689Skan 2219169689SkanTue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com> 2220169689Skan 2221169689Skan * tree.h (get_file_function_name): Add declaration. 2222169689Skan * dwarf2out.c (output_call_frame_info): No need to cast 2223169689Skan get_file_function_name call anymore. 2224169689Skan * profile.c (toplevel): Remove get_file_function_name 2225169689Skan declaration. 2226169689Skan * c-lang.c (finish_file): Likewise. 2227169689Skan 2228169689SkanTue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net> 2229169689Skan 2230169689Skan * Makefile.in (program_transform_name): Let autoconf substitute 2231169689Skan the correct value. 2232169689Skan 2233169689SkanTue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com) 2234169689Skan 2235169689Skan * haifa-sched.c (schedule_block): If the first real insn in a 2236169689Skan block has any special notes attached to it, remove them. 2237169689Skan 2238169689SkanTue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com> 2239169689Skan 2240169689Skan * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5. 2241169689Skan 2242169689SkanMon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de) 2243169689Skan 2244169689Skan * m88k.c (m88k_begin_prologue): Remove superfluous backslash. 2245169689Skan 2246169689SkanMon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com) 2247169689Skan 2248169689Skan * Makefile.in (check-g77): New test target. 2249169689Skan (CHECK-TARGETS): Add check-g77. 2250169689Skan 2251169689SkanFri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com> 2252169689Skan 2253169689Skan * toplev.c (rest_of_compilation): Defer all non-nested inlines. 2254169689Skan 2255169689SkanFri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com> 2256169689Skan 2257169689Skan * flow.c (print_rtl_with_bb): Cast alloca return value for 2258169689Skan in_bb_p. 2259169689Skan 2260169689SkanThu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com> 2261169689Skan 2262169689Skan * i386.h (RETURN_ADDR_RTX): New definition that works for 2263169689Skan __builtin_return_address(0) and -fomit-frame-pointer. 2264169689Skan 2265169689SkanWed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com> 2266169689Skan 2267169689Skan Bring over from FSF. 2268169689Skan Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com> 2269169689Skan 2270169689Skan * mips.c (function_arg): Handle passing a struct 2271169689Skan containing a double in a DFmode register without the PARALLEL. 2272169689Skan 2273169689SkanWed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com> 2274169689Skan 2275169689Skan * pexecute.c: Use spawn if __CYGWIN32__. 2276169689Skan 2277169689Skan * pexecute.c: Include "config.h" first, as per autoconf manual 2278169689Skan (from Paul Eggert <eggert@twinsun.com>). 2279169689Skan 2280169689SkanWed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 2281169689Skan 2282169689Skan * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump 2283169689Skan optimization for f/expr.o and f/stb.o. 2284169689Skan 2285169689SkanTue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com) 2286169689Skan 2287169689Skan * cse.c (this_insn_cc0_mode): Initialize. 2288169689Skan 2289169689SkanTue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de> 2290169689Skan 2291169689Skan * cccp.c (expand_to_temp_buffer): Initialize all members of obuf. 2292169689Skan 2293169689Skan * haifa-sched.c (get_block_head_tail): Remove unneeded initialization. 2294169689Skan 2295169689SkanTue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com> 2296169689Skan 2297169689Skan * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since 2298169689Skan that pair will dual-issue on the 21164 and plus+beq won't. 2299169689Skan (bne): Likewise for cmpeq+beq. 2300169689Skan 2301169689SkanTue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com> 2302169689Skan 2303169689Skan * except.c (find_exception_handler_labels): Correct argument to free. 2304169689Skan 2305169689SkanTue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com> 2306169689Skan 2307169689Skan * except.c (find_exception_handler_labels): Free LABELS when we're 2308169689Skan done. 2309169689Skan 2310169689SkanMon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com) 2311169689Skan 2312169689Skan * version.c: Bump for snapshot. 2313169689Skan 2314169689SkanMon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com> 2315169689Skan 2316169689Skan * flow.c (find_basic_blocks): Mark calls as potentially jumping 2317169689Skan to the EH labels. 2318169689Skan 2319169689SkanMon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com) 2320169689Skan 2321169689Skan * configure.in: Substitute for "install" too. 2322169689Skan * configure: Rebuilt. 2323169689Skan 2324169689SkanMon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu> 2325169689Skan 2326169689Skan * Makefile.in (bootstrap-lean, compare-lean): New targets. 2327169689Skan 2328169689SkanMon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com) 2329169689Skan 2330169689Skan * alias.c (base_alias_check): Two symbols can conflict if they 2331169689Skan are accessed via AND. 2332169689Skan (memrefs_conflict_p): Likewise. 2333169689Skan 2334169689Skan * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn 2335169689Skan after flushing argument registers to the stack. 2336169689Skan 2337169689Skan * Makefile.in (mostlyclean): Remove .regmove files. 2338169689Skan 2339169689SkanSun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com> 2340169689Skan 2341169689Skan * libgcc2.c (__throw): Fix thinko. 2342169689Skan 2343169689SkanSun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net> 2344169689Skan 2345169689Skan * cplus-dem.c (demangle_template): Add new parameter. Handle new 2346169689Skan template-function mangling. 2347169689Skan (consume_count_with_underscores): New function. 2348169689Skan (demangle_signature): Handle new name-mangling scheme. 2349169689Skan 2350169689SkanSun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 2351169689Skan 2352169689Skan * flow.c (print_rtl_with_bb): Cast alloca return values for variables 2353169689Skan start and end. 2354169689Skan 2355169689SkanSun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com) 2356169689Skan 2357169689Skan * frame.c: Remove last change. 2358169689Skan * dwarf2.h: Remove last change. 2359169689Skan * tree.h: Add declarations of DWARF2 unwind info support 2360169689Skan functions. 2361169689Skan 2362169689SkanSat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com> 2363169689Skan 2364169689Skan * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size. 2365169689Skan * tree.h (built_in_function): Likewise. 2366169689Skan * expr.c (expand_builtin): Likewise. 2367169689Skan * except.h: Likewise. 2368169689Skan * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn. 2369169689Skan * libgcc2.c (copy_reg): New fn. 2370169689Skan (__throw): Use it. 2371169689Skan 2372169689SkanFri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com> 2373169689Skan 2374169689Skan * c-typeck.c (build_binary_op): Warn about comparing signed vs 2375169689Skan unsigned if -W is specified and -Wno-sign-compare is not. 2376169689Skan * c-decl.c (warn_sign_compare): Initialize to -1. 2377169689Skan (c_decode_option): -Wall no longer implies -Wsign-compare. 2378169689Skan 2379169689SkanFri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 2380169689Skan 2381169689Skan * frame.c: Include gansidecl.h for PROTO. 2382169689Skan * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is 2383169689Skan defined. Don't declare dwarf2out_cfi_label here. 2384169689Skan * dwarf2.h: Add declarations of DWARF2 unwind info support 2385169689Skan functions. 2386169689Skan * m68k.c: Include dwarf2.h. 2387169689Skan (output_function_prologue): Add dwarf2 support. 2388169689Skan * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros. 2389169689Skan (INCOMING_FRAME_SP_OFFSET): Likewise. 2390169689Skan 2391169689Skan * integrate.c (expand_inline_function): Make sure there is at 2392169689Skan least one insn that can be used as an insertion point. 2393169689Skan 2394169689SkanWed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com> 2395169689Skan 2396169689Skan * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/ 2397169689Skan 2398169689SkanWed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com) 2399169689Skan 2400169689Skan * version.c: Bump for snapshot. 2401169689Skan 2402169689SkanWed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com> 2403169689Skan 2404169689Skan Bring over from FSF. 2405169689Skan 2406169689Skan Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com> 2407169689Skan 2408169689Skan * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32. 2409169689Skan (get_pc_via_rdpc): Renamed from get_pc_sp64. 2410169689Skan * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call. 2411169689Skan 2412169689Skan Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu> 2413169689Skan 2414169689Skan * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc. 2415169689Skan (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=, 2416169689Skan -malign-functions=. 2417169689Skan (sparc_align_{loops,jumps,funcs}_string): Declare. 2418169689Skan (sparc_align_{loops,jumps,funcs}): Declare. 2419169689Skan (DEFAULT_SPARC_ALIGN_FUNCS): New macro. 2420169689Skan (FUNCTION_BOUNDARY): Use sparc_align_funcs. 2421169689Skan (STACK_BIAS): Define. 2422169689Skan (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform 2423169689Skan test. 2424169689Skan (SPARC_SETHI_P): New macro. 2425169689Skan (CONST_OK_FOR_LETTER_P): Use it. 2426169689Skan (ASM_OUTPUT_ALIGN_CODE): Define. 2427169689Skan (ASM_OUTPUT_LOOP_ALIGN): Define. 2428169689Skan * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals. 2429169689Skan (sparc_align_{loops,jumps,funcs}): New globals. 2430169689Skan (sparc_override_options): Handle -malign-loops=, -malign-jumps=, 2431169689Skan -malign-functions=. 2432169689Skan (move_operand): Use SPARC_SETHI_P. 2433169689Skan (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then 2434169689Skan perform test. 2435169689Skan (arith11_double_operand): Likewise. 2436169689Skan (arith10_double_operand): Likewise. 2437169689Skan (finalize_pic): Finish sparc64 support. 2438169689Skan (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of 2439169689Skan 64 bit constants if able. 2440169689Skan (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD. 2441169689Skan (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if 2442169689Skan ! TARGET_FPU. 2443169689Skan * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx. 2444169689Skan (get_pc_sp32): Use for sparc64 as well. 2445169689Skan (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts. 2446169689Skan (sethi_di_sp64_const): Likewise. 2447169689Skan (movtf_cc_sp64): Check TARGET_HARD_QUAD. 2448169689Skan (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast. 2449169689Skan (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise. 2450169689Skan 2451169689Skan Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com> 2452169689Skan 2453169689Skan * sparc/linux-aout.h (COMMENT_BEGIN): Delete. 2454169689Skan * sparc/linux.h (COMMENT_BEGIN): Likewise. 2455169689Skan * sparc/linux64.h (COMMENT_BEGIN): Likewise. 2456169689Skan 2457169689Skan Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu> 2458169689Skan 2459169689Skan Add sparc64 linux support. 2460169689Skan * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h 2461169689Skan to xm_file list on 32-bit sparc-linux. 2462169689Skan * sparc/xm-sp64.h: New file. 2463169689Skan * sparc/linux64.h: New file. 2464169689Skan * sparc/xm-linux.h: Include some standard headers if not inhibit_libc. 2465169689Skan Don't include xm-sparc.h. 2466169689Skan * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define. 2467169689Skan * glimits.h (LONG_MAX): Handle sparc64. 2468169689Skan 2469169689Skan Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com> 2470169689Skan 2471169689Skan * sparc/sysv4.h (ASM_COMMENT_START): Delete. 2472169689Skan * sparc.h (ASM_COMMENT_START): Define. 2473169689Skan * sparc.c (output_function_prologue): Use it. 2474169689Skan (sparc_flat_output_function_{epi,pro}logue): Likewise. 2475169689Skan 2476169689Skan Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com> 2477169689Skan 2478169689Skan * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete, 2479169689Skan use sparc.h's copies. 2480169689Skan * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print 2481169689Skan ascii form as well. 2482169689Skan 2483169689Skan Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2484169689Skan 2485169689Skan * sparc.c (dwarf2out_cfi_label): Add declaration. 2486169689Skan (save_regs, output_function_prologue): Remove cast for it. 2487169689Skan (sparc_flat_{save_restore,output_function_prologue): Likewise. 2488169689Skan ({save,restore}_regs): No longer inline. 2489169689Skan 2490169689SkanTue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 2491169689Skan 2492169689Skan * fold-const.c (make_range): Correctly handle cases of converting 2493169689Skan from unsigned to signed type. 2494169689Skan 2495169689SkanTue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 2496169689Skan 2497169689Skan * fold-const.c (merge_ranges): Make sure that if one range is subset 2498169689Skan of another, it will always be the second range. Correct (+,-) case to 2499169689Skan account for this. 2500169689Skan 2501169689SkanTue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com> 2502169689Skan 2503169689Skan * final.c (final_end_function): Also do dwarf2 thing if 2504169689Skan DWARF2_DEBUGGING_INFO. 2505169689Skan (final_start_function): Likewise. 2506169689Skan 2507169689SkanTue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu> 2508169689Skan 2509169689Skan * expmed.c (expand_divmod): If compute_mode is not the same as 2510169689Skan mode, handle the case where convert_modes() causes op1 to no 2511169689Skan longer be a CONST_INT. 2512169689Skan 2513169689Skan * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED 2514169689Skan note holding get_jump_flags() calculation to all JUMP_INSNs. 2515169689Skan * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA. 2516169689Skan * rtl.c (reg_note_name): Add new note types. 2517169689Skan 2518169689SkanTue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com) 2519169689Skan 2520169689Skan * rtlanal.c (computed_jump_p): Fix typo in last change. 2521169689Skan 2522169689SkanTue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 2523169689Skan 2524169689Skan * loop.c (indirect_jump_in_function_p): Return 0 2525169689Skan by default. 2526169689Skan 2527169689SkanTue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com) 2528169689Skan 2529169689Skan * rs6000/xm-rs6000.h: Fix thinko in last change. 2530169689Skan * rs6000/xm-sysv4.h: Likewise. 2531169689Skan 2532169689SkanMon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com> 2533169689Skan 2534169689Skan * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p. 2535169689Skan 2536169689SkanMon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com) 2537169689Skan 2538169689Skan * reg-stack.c (find_blocks): Fix thinko in last change. 2539169689Skan 2540169689Skan1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 2541169689Skan 2542169689Skan * m68k.c (output_function_prologue): Add dwarf2 support. 2543169689Skan 2544169689Skan * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM, 2545169689Skan INCOMING_FRAME_SP_OFFSET): New definitions. 2546169689Skan 2547169689SkanMon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu> 2548169689Skan 2549169689Skan * combine.c (try_combine): Use NULL_RTX instead of '0' where 2550169689Skan appropriate in calls to gen_rtx(). 2551169689Skan * cse.c (cse_main): Likewise. 2552169689Skan * emit-rtl.c (gen_label_rtx): Likewise. 2553169689Skan * expr.c (init_expr_once): Likewise. 2554169689Skan * haifa-sched.c (flush_pending_lists, sched_analyze_insn, 2555169689Skan sched_analyze, init_rgn_data_dependences, 2556169689Skan compute_block_backward_dependences): Likewise. 2557169689Skan * sched.c (schedule_insns): Likewise. 2558169689Skan * varasm.c (immed_double_const): Likewise. 2559169689Skan 2560169689Skan * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to 2561169689Skan SPARC_STACK_BIAS for sake of dwarf2 on sparc64. 2562169689Skan 2563169689SkanMon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com> 2564169689Skan 2565169689Skan * i386/sco5.h: Make ELF default file format and add -mcoff/-melf.. 2566169689Skan (MULTILIB_DEFAULTS): Define. 2567169689Skan (ASM_SPEC, CPP_SPEC): Handle -mcoff. 2568169689Skan (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise. 2569169689Skan (LIBGCC_SPEC): Likewise. 2570169689Skan (MASK_COFF, TARGET_COFF, TARGET_ELF): Define. 2571169689Skan (SUBTARGET_SWITCHES): Add -mcoff and -melf. 2572169689Skan * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC. 2573169689Skan (CRTSTUFF_T_CFLAGS_S): Tweak for COFF. 2574169689Skan (EXTRA_PARTS, TAROUTOPTS): Delete. 2575169689Skan (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete. 2576169689Skan (MULTILIB_OPTIONS): Define. 2577169689Skan (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise. 2578169689Skan (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise. 2579169689Skan 2580169689SkanMon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com) 2581169689Skan 2582169689Skan * version.c: Bump for snapshot. 2583169689Skan 2584169689SkanSun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com) 2585169689Skan 2586169689Skan * loop.c (loop_number): Delete function. Change all references 2587169689Skan to use uid_loop_num array. 2588169689Skan * loop.h (loop_number): Delete declaration. 2589169689Skan * unroll.c (unroll_loop): Change "loop_number" references to 2590169689Skan use uid_loop_num instead. 2591169689Skan 2592169689Skan * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA 2593169689Skan conditional. 2594169689Skan (loop_unroll_iter): Remove unused variable and all references. 2595169689Skan (loop_optimize): Always allocate and clear space for loop_unroll_factor. 2596169689Skan (insert_bct): Fix minor formatting problems. 2597169689Skan * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA. 2598169689Skan (loop_unroll_iter): Removed unused decl. 2599169689Skan * unroll.c (unroll_loop): Remove code to set loop_unroll_iter. 2600169689Skan Always record the unrolling factor. 2601169689Skan 2602169689Skan * cse.c (simplify_relational_operation): Set h0u just like h0s. 2603169689Skan Similarly for h1u and h1s. 2604169689Skan 2605169689Skan * flow.c (jmp_uses_reg_or_mem): Deleted unused function. 2606169689Skan (find_basic_blocks): Use computed_jump_p to determine if a 2607169689Skan particular JUMP_INSN is a computed jump. 2608169689Skan * reg-stack.c (find_blocks): Use computed_jump_p to determine 2609169689Skan if a particular JUMP_INSN is a computed jump. 2610169689Skan * rtlanal.c (jmp_uses_reg_or_mem): New function. 2611169689Skan (computed_jump_p): Likewise. 2612169689Skan * rtl.h (computed_jump_p): Declare. 2613169689Skan * genattrtab.c (pc_rtx): Define and initialize. 2614169689Skan * loop.c (loop_optimize): Always determine if the current 2615169689Skan function has a computed jump. 2616169689Skan (indirect_jump_in_function_p): Use computed_jump_p to determine 2617169689Skan if a particular JUMP_INSN is a computed jump. 2618169689Skan 2619169689Skan * loop.c (fix_bct_param): Delete unused function. 2620169689Skan (check_bct_param): Likewise. 2621169689Skan 2622169689SkanSat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com> 2623169689Skan 2624169689Skan * frame.c (__deregister_frame): Check properly for initialized object. 2625169689Skan 2626169689SkanFri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 2627169689Skan 2628169689Skan * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined. 2629169689Skan 2630169689SkanFri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 2631169689Skan 2632169689Skan * jump.c (thread_jumps): Check can_reverse_comparison_p before 2633169689Skan threading a reversed-condition jump. 2634169689Skan 2635169689Skan * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p. 2636169689Skan * haifa-sched.c (update_flow_info): Likewise. 2637169689Skan 2638169689SkanThu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com) 2639169689Skan 2640169689Skan * Makefile.in (BOOT_CFLAGS): Use -O2. 2641169689Skan 2642169689Skan * configure.in (strtoul, bsearch): Have autoconf check for these 2643169689Skan functions. 2644169689Skan * configure, config.in: Rebuilt. 2645169689Skan 2646169689Skan * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__. 2647169689Skan * mips/mips.h (alloca): Likewise. 2648169689Skan * rs6000/xm-rs6000.h (alloca): Likewise. 2649169689Skan * rs6000/xm-sysv4.h: Likewise. 2650169689Skan 2651169689SkanThu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com> 2652169689Skan 2653169689Skan * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code. 2654169689Skan * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along. 2655169689Skan (dwarf2out_stack_adjust): A BARRIER resets the args space to 0. 2656169689Skan 2657169689Skan * except.c (end_eh_unwinder): Subtract 1 from return address. 2658169689Skan * libgcc2.c (__throw): Likewise. 2659169689Skan (find_exception_handler): Don't change PC here. Compare end with >. 2660169689Skan 2661169689SkanThu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com> 2662169689Skan 2663169689Skan * v850.c (compute_register_save_size): Correct register 2664169689Skan number. 2665169689Skan * v850.md (save_interrupt, return_interrupt): Correct 2666169689Skan register number. 2667169689Skan * v850/lib1funcs.asm (save_interrupt): Correct register number. 2668169689Skan (return_interrupt): Use stack pointer, not element pointer. 2669169689Skan 2670169689Skan1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com> 2671169689Skan 2672169689Skan * configure.in, configure: Make sure to create the stage* and include 2673169689Skan symbolic links in each subdirectory. 2674169689Skan 2675169689SkanThu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com) 2676169689Skan 2677169689Skan * pa.md (reload_peepholes): Don't allow addresses with side 2678169689Skan effects for the memory operand. 2679169689Skan 2680169689SkanWed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com> 2681169689Skan 2682169689Skan * libgcc2.c (find_exception_handler): Subtract one from our PC when 2683169689Skan looking for a handler, to avoid hitting the beginning of the next 2684169689Skan region. 2685169689Skan 2686169689Skan * except.c (expand_builtin_set_return_addr_reg): Use force_operand. 2687169689Skan 2688169689SkanWed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com) 2689169689Skan 2690169689Skan * mips/abi64.h (LONG_MAX_SPEC): Define. 2691169689Skan * mips.h (LONG_MAX_SPEC): Define. 2692169689Skan (CPP_SPEC): Include long_max_spec. 2693169689Skan (EXTRA_SPECS): Include long_max_spec. 2694169689Skan 2695169689SkanWed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com) 2696169689Skan 2697169689Skan * v850.c (construct_save_jarl): Fix thinko in last change. 2698169689Skan 2699169689SkanWed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com) 2700169689Skan 2701169689Skan * version.c: Bump for snapshot. 2702169689Skan 2703169689SkanTue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com> 2704169689Skan 2705169689Skan * libgcc2.c (find_exception_handler): Not found is -1. 2706169689Skan 2707169689Skan * integrate.c (expand_inline_function): Move expand_start_bindings 2708169689Skan after expanding the arguments. 2709169689Skan 2710169689SkanTue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com> 2711169689Skan 2712169689Skan * expr.c (expand_expr): Remove previous incorrect change. 2713169689Skan If target and slot has no DECL_RTL, then call mark_addressable 2714169689Skan again for the slot after we give it RTL. 2715169689Skan 2716169689SkanTue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com) 2717169689Skan 2718169689Skan * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable 2719169689Skan again for the slot after we give it RTL. 2720169689Skan 2721169689SkanTue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com> 2722169689Skan 2723169689Skan * v850.c (register_is_ok_for_epilogue, 2724169689Skan pattern_is_ok_for_epilogue, construct_restore_jr, 2725169689Skan pattern_is_ok_for_prologue, construct_save_jarl): New functions. 2726169689Skan 2727169689Skan * v850.h (pattern_is_ok_for_prologue, 2728169689Skan pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New 2729169689Skan predicates. 2730169689Skan 2731169689Skan * v850.md: Replace prologue and epilogue patterns with a 2732169689Skan match_parallel pattern. 2733169689Skan 2734169689SkanMon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com) 2735169689Skan 2736169689Skan * aclocal.m4: Add replacement for AC_PROG_INSTALL. 2737169689Skan * configure.in: Use EGCS_PROG_INSTALL. 2738169689Skan 2739169689SkanMon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com) 2740169689Skan 2741169689Skan * dwarf2out.c (gen_subprogram_die): Handle redefinition of an 2742169689Skan extern inline function. 2743169689Skan 2744169689SkanMon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com) 2745169689Skan 2746169689Skan * dwarf2out.c (reg_loc_descriptor): Fix prototype. 2747169689Skan (concat_loc_descriptor): New function. 2748169689Skan (loc_descriptor): Call it. 2749169689Skan (add_AT_location_description): Also elide the descriptor if both 2750169689Skan halves of a CONCAT are pseudos. 2751169689Skan (add_location_or_const_value_attribute): Recognize CONCAT too. 2752169689Skan 2753169689SkanMon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com> 2754169689Skan 2755169689Skan * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS. 2756169689Skan 2757169689Skan * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for 2758169689Skan out-or-range reg_offset. 2759169689Skan (output_epilog): Likewise. 2760169689Skan 2761169689SkanMon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com) 2762169689Skan 2763169689Skan * cse.c (simplify_relational_operation): If MODE specifies a 2764169689Skan mode wider than HOST_WIDE_INT, then the high word of a CONST_INT 2765169689Skan is derived from the sign bit of the low word. 2766169689Skan 2767169689SkanMon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com> 2768169689Skan 2769169689Skan Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86. 2770169689Skan 2771169689Skan * dwarf2.h: Add DW_CFA_GNU_args_size. 2772169689Skan * frame.c (execute_cfa_insn): Likewise. 2773169689Skan * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise. 2774169689Skan (dwarf2out_args_size, dwarf2out_stack_adjust): New fns. 2775169689Skan (dwarf2out_frame_debug): If this isn't a prologue or epilogue 2776169689Skan insn, hand it off to dwarf2out_stack_adjust. 2777169689Skan (dwarf2out_begin_prologue): Initialize args_size. 2778169689Skan * frame.h (struct frame_state): Add args_size. 2779169689Skan * libgcc2.c (__throw): Use args_size. 2780169689Skan * final.c (final_scan_insn): If we push args, hand off all insns 2781169689Skan to dwarf2out_frame_debug. 2782169689Skan * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS. 2783169689Skan 2784169689Skan * dwarf2out.c dwarf2out_frame_debug): Fix typo. 2785169689Skan Handle epilogue restore of SP from FP. 2786169689Skan * emit-rtl.c (gen_sequence): Still generate a sequence if the 2787169689Skan lone insn has RTX_FRAME_RELATED_P set. 2788169689Skan 2789169689Skan * frame.c (extract_cie_info): Handle "e" augmentation. 2790169689Skan * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the 2791169689Skan absence of UNALIGNED_*_ASM_OP. 2792169689Skan (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF. 2793169689Skan (output_call_frame_info): Use "e" instead of "z" for augmentation. 2794169689Skan Don't emit augmentation fields length. 2795169689Skan (dwarf2out_do_frame): Move outside of #ifdefs. 2796169689Skan * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data 2797169689Skan opcodes. 2798169689Skan 2799169689Skan * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all. 2800169689Skan * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here. 2801169689Skan * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0. 2802169689Skan * sparc/sun4gas.h: New file. 2803169689Skan * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as. 2804169689Skan 2805169689Skan * collect2.c (write_c_file_stat, write_c_file_glob): Declare 2806169689Skan __register_frame_table and __deregister_frame. 2807169689Skan 2808169689Skan1997-09-15 Brendan Kehoe <brendan@cygnus.com> 2809169689Skan 2810169689Skan * except.c (find_exception_handler_labels): Use xmalloc instead of 2811169689Skan alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million 2812169689Skan in some cases. 2813169689Skan 2814169689SkanSun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com) 2815169689Skan 2816169689Skan * Makefile.in: Various changes to build info files 2817169689Skan in the object tree rather than the source tree. 2818169689Skan 2819169689SkanSun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com) 2820169689Skan 2821169689Skan * fixinc.math: New file to fix math.h on some systems. 2822169689Skan * configure.in (freebsd, netbsd): Use fixinc.math on these 2823169689Skan systems. 2824169689Skan * configure: Rebuilt. 2825169689Skan 2826169689SkanSun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com) 2827169689Skan 2828169689Skan * regmove.c (regmove_optimize): If we end up moving the 2829169689Skan original insn due to lifetime overlaps, make sure to move 2830169689Skan REG_NOTES too. 2831169689Skan 2832169689SkanSat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de> 2833169689Skan 2834169689Skan * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure. 2835169689Skan 2836169689SkanSat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com) 2837169689Skan 2838169689Skan * haifa-sched.c (add_branch_dependences): Make each insn in 2839169689Skan a SCHED_GROUP_P block explicitly depend on the previous insn. 2840169689Skan 2841169689SkanFri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com> 2842169689Skan 2843169689Skan * except.h: Prototype dwarf2 hooks. 2844169689Skan * expr.c: Adjust. 2845169689Skan 2846169689SkanThu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com> 2847169689Skan 2848169689Skan * configure.in (native_prefix): Delete. 2849169689Skan (mips-dec-netbsd): Don't set prefix. 2850169689Skan (*linux*): Don't set prefix. 2851169689Skan 2852169689SkanThu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com> 2853169689Skan 2854169689Skan * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is 2855169689Skan defined. If not defined, include <sys/varargs.h> if 2856169689Skan HAVE_SYS_VARARGS_H is defined. 2857169689Skan * configure.in: Test for varargs.h and sys/varargs.h. 2858169689Skan * configure: Regenerate with autoconf. 2859169689Skan * config.in: Regenerate with autoheader. 2860169689Skan 2861169689Skan * cpplib.c (quote_string): Cast first arg of sprintf call 2862169689Skan from "unsigned char *" to "char *". 2863169689Skan (output_line_command): Likewise. 2864169689Skan (macroexpand): Likewise. 2865169689Skan (do_line): Cast atoi arg from "unsigned char *" to "char *". 2866169689Skan 2867169689SkanWed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com) 2868169689Skan 2869169689Skan * version.c: Bump for snapshot. 2870169689Skan 2871169689Skan * Makefile.in (compare): Exit with nonzero status if there 2872169689Skan are comparison failures. Note which files failed the 2873169689Skan comparison test in .bad_compare. 2874169689Skan 2875169689SkanWed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 2876169689Skan 2877169689Skan * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__. 2878169689Skan 2879169689SkanWed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com> 2880169689Skan 2881169689Skan * Makefile.in (LN, LN_S): New macros, use where appropriate. 2882169689Skan * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests. 2883169689Skan * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN. 2884169689Skan * configure: Regenerated. 2885169689Skan 2886169689SkanThu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com) 2887169689Skan 2888169689Skan * loop.c (strength_reduce): Fix typo. 2889169689Skan 2890169689SkanWed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com> 2891169689Skan 2892169689Skan * m88k/m88k.c (struct option): Rename to struct options. 2893169689Skan * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here. 2894169689Skan * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments. 2895169689Skan * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not 2896169689Skan __DOLPHIN__ or sysV88. 2897169689Skan 2898169689SkanWed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com> 2899169689Skan 2900169689Skan * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when 2901169689Skan create new subreg. 2902169689Skan 2903169689SkanWed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com) 2904169689Skan 2905169689Skan * config.sub: Accept 'amigados' for backward compatibility. 2906169689Skan 2907169689SkanWed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 2908169689Skan 2909169689Skan * Makefile.in (testsuite/site.exp): New target. 2910169689Skan (check-gcc, check-g++): Depend on testsuite/site.exp. 2911169689Skan Don't stop for failure. 2912169689Skan 2913169689SkanWed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com> 2914169689Skan 2915169689Skan * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum() 2916169689Skan if DWARF2_UNWIND_INFO. 2917169689Skan 2918169689SkanWed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com> 2919169689Skan 2920169689Skan Add support for exception handling using DWARF 2 frame unwind info. 2921169689Skan Currently works on SPARC and MIPS, and almost on x86. 2922169689Skan 2923169689Skan * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr, 2924169689Skan next_stack_level, in_reg_window): Helper fns. 2925169689Skan (__throw): Implement for DWARF2_UNWIND_INFO. 2926169689Skan 2927169689Skan * expr.c (expand_builtin): Handle builtins used by __throw. 2928169689Skan * tree.h (enum built_in_function): Add builtins used by __throw. 2929169689Skan * c-decl.c (init_decl_processing): Declare builtins used by __throw. 2930169689Skan * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw. 2931169689Skan * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw. 2932169689Skan (expand_builtin_extract_return_addr): Likewise. 2933169689Skan (expand_builtin_frob_return_addr): Likewise. 2934169689Skan (expand_builtin_set_return_addr_reg): Likewise. 2935169689Skan (expand_builtin_eh_stub): Likewise. 2936169689Skan (expand_builtin_set_eh_regs): Likewise. 2937169689Skan (eh_regs): Choose two call-clobbered registers for passing back values. 2938169689Skan 2939169689Skan * frame.c, frame.h: New files for parsing dwarf 2 frame info. 2940169689Skan * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c. 2941169689Skan (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS) 2942169689Skan (stmp-multilib): Likewise. 2943169689Skan ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions. 2944169689Skan 2945169689Skan * except.c: #include "defaults.h". 2946169689Skan (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO. 2947169689Skan (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO. 2948169689Skan (register_exception_table_p): New fn. 2949169689Skan (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO. 2950169689Skan (end_eh_unwinder): Likewise. 2951169689Skan 2952169689Skan * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP, 2953169689Skan call __register_frame and __deregister_frame as needed. 2954169689Skan * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP. 2955169689Skan * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check 2956169689Skan EH_FRAME_SECTION_ASM_OP. 2957169689Skan * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define. 2958169689Skan * mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Define. 2959169689Skan (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols. 2960169689Skan 2961169689Skan * dwarf2out.c (output_call_frame_info): If no support for 2962169689Skan EXCEPTION_SECTION, mark the start of the frame info with a 2963169689Skan collectible tag. 2964169689Skan * collect2.c (frame_tables): New list. 2965169689Skan (is_ctor_dtor): Recognize frame entries. 2966169689Skan (scan_prog_file): Likewise. 2967169689Skan (main): Pass -fno-exceptions to sub-compile. Also do collection 2968169689Skan if there are any frame entries. 2969169689Skan (write_c_file_stat): Call __register_frame_table and 2970169689Skan __deregister_frame as needed. 2971169689Skan (write_c_file_glob): Likewise. 2972169689Skan 2973169689Skan * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported. 2974169689Skan Also require unaligned reloc support. 2975169689Skan * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, 2976169689Skan UNALIGNED_DOUBLE_INT_ASM_OP): Define here. 2977169689Skan * sparc/sysv4.h: Not here. 2978169689Skan 2979169689Skan * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}. 2980169689Skan * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init. 2981169689Skan (dwarf2out_finish): Don't call dwarf2out_frame_finish. 2982169689Skan 2983169689Skan * libgcc2.c (L_eh): Reorganize, moving code shared by different 2984169689Skan EH implementations to the top. 2985169689Skan (find_exception_handler): Split out. Start from 0. Compare against 2986169689Skan end with >=. 2987169689Skan (__find_first_exception_table_match): Use it. 2988169689Skan * except.c (output_exception_table): Don't do anything if there's 2989169689Skan no table. Don't output a first entry of zeroes. 2990169689Skan (eh_outer_context): Adjust properly. 2991169689Skan (add_eh_table_entry): Use xrealloc. 2992169689Skan * toplev.c (compile_file): Just call output_exception_table. 2993169689Skan 2994169689SkanWed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com> 2995169689Skan 2996169689Skan * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case. 2997169689Skan 2998169689SkanWed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se> 2999169689Skan 3000169689Skan * except.c (eh_outer_context): Do masking using expand_and. 3001169689Skan 3002169689SkanWed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com> 3003169689Skan 3004169689Skan Add port done awhile ago for the ARC cpu. 3005169689Skan * arc/arc.h: New file. 3006169689Skan * arc/arc.c: New file. 3007169689Skan * arc/arc.md: New file. 3008169689Skan * arc/initfini.c: New file. 3009169689Skan * arc/lib1funcs.asm: New file. 3010169689Skan * arc/t-arc: New file. 3011169689Skan * arc/xm-arc.h: New file. 3012169689Skan * ginclude/va-arc.h: New file. 3013169689Skan * ginclude/stdarg.h: Include va-arc.h ifdef __arc__. 3014169689Skan * ginclude/varargs.h: Likewise. 3015169689Skan * Makefile.in (USER_H): Add va-arc.h. 3016169689Skan * configure.in (arc-*-elf*): Recognize. 3017169689Skan * longlong.h: Add ARC support. 3018169689Skan 3019169689SkanWed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com) 3020169689Skan 3021169689Skan * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx. 3022169689Skan when clearing non-BLKmode data. 3023169689Skan 3024169689SkanWed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de> 3025169689Skan 3026169689Skan * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Define. 3027169689Skan * libgcc2.c (__enable_execute_stack): Provide for sysV88 too. 3028169689Skan 3029169689Skan * xm-m88k.h (USG): Only define if it hasn't already been defined. 3030169689Skan 3031169689Skan * Makefile.in (risky-stage1): Delete gratuitous whitespace. 3032169689Skan 3033169689Skan * Makefile.in (clean): Delete libgcc1-test. 3034169689Skan 3035169689Skan * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo. 3036169689Skan 3037169689SkanTue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com> 3038169689Skan 3039169689Skan * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list 3040169689Skan template. 3041169689Skan 3042169689SkanTue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> 3043169689Skan 3044169689Skan * dwarf2out.c (output_call_frame_info): Call named_section. 3045169689Skan 3046169689SkanTue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com) 3047169689Skan 3048169689Skan * haifa-sched.c (print_value): Fix last change. 3049169689Skan 3050169689SkanTue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com> 3051169689Skan 3052169689Skan * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of 3053169689Skan write_symbols. 3054169689Skan 3055169689SkanMon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com> 3056169689Skan 3057169689Skan * mips.c (function_prologue): Set up the CFA when ABI_32. 3058169689Skan 3059169689Skan * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG 3060169689Skan for dwarf2 unwind info. 3061169689Skan (output_function_prologue, sparc_flat_output_function_prologue): Same. 3062169689Skan 3063169689Skan * final.c (final_end_function): Check dwarf2out_do_frame instead 3064169689Skan of DWARF2_DEBUG for dwarf2 unwind info. 3065169689Skan (final_scan_insn): Likewise. 3066169689Skan (final_start_function): Likewise. Initialize dwarf2 frame debug here. 3067169689Skan (final): Not here. 3068169689Skan 3069169689Skan * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if 3070169689Skan count > 0. 3071169689Skan 3072169689Skan * varasm.c (exception_section): Check EXCEPTION_SECTION first. 3073169689Skan 3074169689SkanMon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com> 3075169689Skan 3076169689Skan * v850.h (ASM_SPEC): Pass on target processor. 3077169689Skan (CPP_PREDEFINES): Only define if not already specified. 3078169689Skan (TARGET_VERSION): Only define if not already specified. 3079169689Skan (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target 3080169689Skan processor. 3081169689Skan (EXTRA_SWITCHES): Extra entries in the switches array. 3082169689Skan (TARGET_DEFAULT): Set default target processor. 3083169689Skan 3084169689SkanMon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com> 3085169689Skan 3086169689Skan * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA 3087169689Skan cases, add %# and %/, and add : to make them into extended asms. 3088169689Skan 3089169689SkanSun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu> 3090169689Skan 3091169689Skan * alias.c (init_alias_analysis): Clean up incompatible pointer 3092169689Skan type warning in bzero. 3093169689Skan * regmove.c (regmove_optimize): Likewise. 3094169689Skan * haifa-sched.c (find_rgns): Likewise. 3095169689Skan 3096169689Skan * haifa-sched.c (print_value): Clean up ptr->int cast 3097169689Skan warnings. 3098169689Skan 3099169689SkanSun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com> 3100169689Skan 3101169689Skan * INSTALL: Change 'amigados' to 'amigaos' to match current usage. 3102169689Skan * install.texi (Configurations): Likewise. 3103169689Skan * config.sub: Likewise. 3104169689Skan 3105169689SkanSun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu) 3106169689Skan 3107169689Skan * Makefile.in (sdbout.o): Depend on insn-config.h. 3108169689Skan 3109169689SkanSun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com> 3110169689Skan 3111169689Skan * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881. 3112169689Skan For 68303, 68332, cpu32, subtract MASK_68040_ONLY. 3113169689Skan 3114169689SkanSun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com> 3115169689Skan 3116169689Skan * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL 3117169689Skan prologue insn, only the first elt is significant. 3118169689Skan (output_call_frame_info): For exception handling, always use 4-byte 3119169689Skan fields as specified by the dwarf2 spec. 3120169689Skan Don't skip trivial FDEs. 3121169689Skan 3122169689SkanSun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com) 3123169689Skan 3124169689Skan * version.c: Bump for snapshot. 3125169689Skan 3126169689SkanSun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se) 3127169689Skan 3128169689Skan * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp 3129169689Skan for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR 3130169689Skan when op1_is_pow2. 3131169689Skan 3132169689SkanSun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com) 3133169689Skan 3134169689Skan * final.c (shorten_branches): During first pass, assume worst 3135169689Skan possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns. 3136169689Skan 3137169689Skan * Makefile.in (distclean): Remove various things left around 3138169689Skan by running the testsuite. 3139169689Skan 3140169689SkanSun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de> 3141169689Skan 3142169689Skan * configure.in (out_file): Emit definition to config.status in order 3143169689Skan to have a defined value for configure.lang. 3144169689Skan * configure: Re-built. 3145169689Skan 3146169689SkanSun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl) 3147169689Skan 3148169689Skan * configure.in: Make symlink to as-new rather than as.new. Similarly 3149169689Skan for ld-new. 3150169689Skan * configure: Rebuilt. 3151169689Skan 3152169689SkanFri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com> 3153169689Skan 3154169689Skan * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero. 3155169689Skan 3156169689SkanFri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE> 3157169689Skan 3158169689Skan * sparc/sparc.md: Add ultrasparc scheduling support. 3159169689Skan * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns. 3160169689Skan 3161169689SkanFri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be> 3162169689Skan 3163169689Skan * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR, 3164169689Skan as initial value for real_label_map. 3165169689Skan (copy_for_inline): Likewise. 3166169689Skan 3167169689SkanFri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 3168169689Skan 3169169689Skan * sched.c (update_flow_info): When looking if to set found_split_dest 3170169689Skan or found_orig_dest, look at all parts of a PARALLEL. 3171169689Skan * haifa-sched.c (update_flow_info): Likewise. 3172169689Skan 3173169689SkanFri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com) 3174169689Skan 3175169689Skan * v850: New directory for v850 port. 3176169689Skan * v850/lib1funcs.asm: New file. 3177169689Skan * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files. 3178169689Skan * ginclude/va-v850.h: New file. 3179169689Skan * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h. 3180169689Skan * configure.in (mn10200-*-*): New target. 3181169689Skan * configure: Rebuilt. 3182169689Skan * config.sub: Handle v850-elf. 3183169689Skan * Makefile.in (USER_H): Add va-mn10200.h. 3184169689Skan * invoke.texi: Document v850 stuff. 3185169689Skan 3186169689SkanFri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com) 3187169689Skan 3188169689Skan * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN 3189169689Skan has integer TYPE_{MAX,MIN}_VALUE before using them. 3190169689Skan 3191169689Skan * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add 3192169689Skan __HPUX_ASM__ versions. 3193169689Skan 3194169689SkanFri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com) 3195169689Skan 3196169689Skan * install.sh: Delete duplicate install script. 3197169689Skan 3198169689SkanThu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com) 3199169689Skan 3200169689Skan * reg-stack.c (subst_stack_regs): Pop the stack register for a 3201169689Skan computed goto which sets the same stack register. 3202169689Skan 3203169689Skan * reg-stack.c (compare_for_stack_reg): Swap only if the source and 3204169689Skan destination are both on the regstack. 3205169689Skan (subst_stack_regs_pat): Put the destination at the top of the regstack. 3206169689Skan 3207169689SkanThu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com> 3208169689Skan 3209169689Skan * mips.md (nonlocal_goto_receiver): Define. 3210169689Skan 3211169689Skan * profile.c (output_arc_profiler): Check next_insert_after for non 3212169689Skan NULL before deferencing it. 3213169689Skan 3214169689Skan * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC. 3215169689Skan 3216169689SkanThu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com) 3217169689Skan 3218169689Skan * i386.h (CPP_CPU_DEFAULT): Avoid using #elif. 3219169689Skan 3220169689SkanThu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com> 3221169689Skan 3222169689Skan * toplev.c (rest_of_compilation): For passes starting with 3223169689Skan flow_analysis, use print_rtl_with_bb instead of print_rtl. 3224169689Skan 3225169689Skan * print-rtl.c (print_rtl_single): Print a single rtl value to a 3226169689Skan file. 3227169689Skan 3228169689Skan * flow.c (print_rtl_with_bb): Print which insns start and end 3229169689Skan basic blocks. For the start of a basic block, also print the live 3230169689Skan information. 3231169689Skan 3232169689SkanThu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com> 3233169689Skan 3234169689Skan * toplev.c (main): Change #elif to #else/#ifdef. 3235169689Skan 3236169689Skan * tlink.c: Include ctype.h. 3237169689Skan * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif. 3238169689Skan 3239169689SkanThu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com) 3240169689Skan 3241169689Skan * bitmap.c: Conditionally include stdlib.h. 3242169689Skan (free): Provide a declaration if NEED_DECLARATION_FREE. 3243169689Skan 3244169689SkanThu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com) 3245169689Skan 3246169689Skan * i960/i960.h: Added default for SUBTARGET_SWITCHES macro. 3247169689Skan 3248169689SkanThu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com) 3249169689Skan 3250169689Skan * profile.c (output_arc_profiler): Verify next_insert_after is an 3251169689Skan INSN before and after skipping a stack pop. 3252169689Skan 3253169689SkanThu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk> 3254169689Skan 3255169689Skan * final.c (shorten_branches): Don't count the lengths of deleted 3256169689Skan instructions. 3257169689Skan 3258169689SkanThu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com) 3259169689Skan 3260169689Skan * version.c: Bump for snapshot. 3261169689Skan 3262169689SkanThu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com> 3263169689Skan 3264169689Skan * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over 3265169689Skan two bitmaps ANDed together. 3266169689Skan (bitmap_print): Declare. 3267169689Skan 3268169689Skan * bitmap.c (function_obstack): Don't declare any more. 3269169689Skan (bitmap_obstack): Obstack for allocating links from. 3270169689Skan (bitmap_obstack_init): New static to say whether to initialize 3271169689Skan bitmap_obstack. 3272169689Skan (bitmap_element_allocate): Use bitmap_obstack to allocate from. 3273169689Skan (bitmap_release_memory): Free all memory allocated from 3274169689Skan bitmap_obstack. 3275169689Skan 3276169689Skan * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke 3277169689Skan EXECUTE_IF_AND_IN_BITMAP. 3278169689Skan 3279169689SkanWed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com> 3280169689Skan 3281169689Skan * alias.c (true_dependence): Address with AND can alias scalars. 3282169689Skan (anti_dependence, output_dependence): Likewise. 3283169689Skan 3284169689Skan * alias.c (true_dependence): Test x for BLKmode, in addition to mem. 3285169689Skan 3286169689SkanWed Sep 3 09:28:50 1997 Joel Sherrill (joel@OARcorp.com) 3287169689Skan 3288169689Skan * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h, 3289169689Skan mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h, 3290169689Skan sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES 3291169689Skan definitions. Use -qrtems instead of -mrtems. 3292169689Skan 3293169689SkanWed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com) 3294169689Skan 3295169689Skan * xm-sco5.h (sys_siglist): Define. 3296169689Skan (SYS_SIGLIST_DECLARED): Likewise. 3297169689Skan 3298169689SkanTue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com) 3299169689Skan 3300169689Skan * expr.c (convert_move): Handle truncation from TQFmode to QFmode. 3301169689Skan 3302169689SkanWed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se> 3303169689Skan 3304169689Skan * except.c (eh_outer_context): Expand masking operation using 3305169689Skan expand_binop. 3306169689Skan 3307169689SkanTue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com> 3308169689Skan 3309169689Skan * alpha.md (floatdisf2-1): New pattern. 3310169689Skan 3311169689SkanTue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com) 3312169689Skan 3313169689Skan * xm-svr4.h (SYS_SIGLIST_DECLARED): Define. 3314169689Skan * xm-news.h (SYS_SIGLIST_DECLARED): Likewise. 3315169689Skan * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise. 3316169689Skan * gcc.texi: Note that if you define sys_siglist that you should 3317169689Skan also define SYS_SIGLIST_DECLARED. 3318169689Skan 3319169689Skan * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions 3320169689Skan are relative to the next instruction, not the current instruction. 3321169689Skan 3322169689SkanTue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com> 3323169689Skan 3324169689Skan * local-alloc.c (contains_replace_regs): New function. 3325169689Skan (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM, 3326169689Skan verify that there is no existing REG_EQUIV note, and add a call to 3327169689Skan contains_place_regs. 3328169689Skan 3329169689SkanTue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 3330169689Skan 3331169689Skan * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__. 3332169689Skan (STARTFILE_SPEC): Always use crtbegin.o%s. 3333169689Skan (ENDFILE_SPEC): Always use crtend.o%s. 3334169689Skan 3335169689SkanTue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com> 3336169689Skan 3337169689Skan * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS 3338169689Skan is passed in. 3339169689Skan * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to 3340169689Skan SFmode for 64 bit hosts. 3341169689Skan 3342169689SkanTue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU> 3343169689Skan 3344169689Skan * fixincludes: Permits spaces between # and define. Discard C++ 3345169689Skan comments in sys/pci.h on HP/UX 10.20. 3346169689Skan 3347169689SkanMon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com) 3348169689Skan 3349169689Skan * version.c: Bump for snapshot. 3350169689Skan 3351169689Skan * pa.c (restore_unscaled_index_insn_codes): New function. 3352169689Skan (record_unscaled_index_insn_codes): Likewise. 3353169689Skan (output_function_prologue): Call restore_unscaled_index_insn_codes. 3354169689Skan (output_function_epilogue): Free memory for unscaled_index_insn_codes. 3355169689Skan (pa_reorg): Call record_unscaled_index_insn_codes. 3356169689Skan 3357169689Skan * haifa-sched.c (move_insn): Handle notes correctly for insns 3358169689Skan with SCHED_GROUP_P set. 3359169689Skan 3360169689SkanMon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 3361169689Skan 3362169689Skan * alpha/xm-linux.h (USE_BFD): Undef before define. 3363169689Skan 3364169689SkanMon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com> 3365169689Skan 3366169689Skan * cse.c (cse_insn): Don't record BLKmode values. 3367169689Skan 3368169689SkanMon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com) 3369169689Skan 3370169689Skan * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches. 3371169689Skan 3372169689SkanMon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com) 3373169689Skan 3374169689Skan * cccp.c (sys_errlist): Remove special 4.4bsd declaration. 3375169689Skan * collect2.c (sys_errlist): Likewise. 3376169689Skan * cpplib.c (sys_errlist): Likewise. 3377169689Skan * gcc.c (sys_errlist): Likewise. 3378169689Skan * protoize (sys_errlist): Likewise. 3379169689Skan * configure.in: Check for strerror. 3380169689Skan * xm-freebsd.h (HAVE_STRERROR): Remove definition. 3381169689Skan * xm-gnu.h (HAVE_STRERROR): Likewise. 3382169689Skan * xm-linux.h (HAVE_STRERROR): Likewise. 3383169689Skan * xm-netbsd.h (HAVE_STRERROR): Likewise. 3384169689Skan * xm-bsd386.h (HAVE_STRERROR): Likewise. 3385169689Skan * xm-cygwin32.h (HAVE_STRERROR): Likewise. 3386169689Skan * xm-dos.h (HAVE_STRERROR): Likewise. 3387169689Skan * xm-mingw32.h (HAVE_STRERROR): Likewise. 3388169689Skan * xm-pa.h (HAVE_STRERROR): Likewise. 3389169689Skan * xm-papro.h (HAVE_STRERROR): Likewise. 3390169689Skan * xm-sysv4.h (HAVE_STRERROR): Likewise. 3391169689Skan * configure, config.in: Rebuilt. 3392169689Skan 3393169689Skan * Makefile.in: Add several missing "else true" clauses. 3394169689Skan 3395169689Skan * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED. 3396169689Skan * mips-tfile.c: Likewise. 3397169689Skan * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs. 3398169689Skan * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition. 3399169689Skan * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise. 3400169689Skan * configure.in: Check for sys_siglist declaration. 3401169689Skan * configure, config.in: Rebuilt. 3402169689Skan 3403169689SkanMon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com) 3404169689Skan 3405169689Skan * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, 3406169689Skan m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, 3407169689Skan sparc/rtems.h (subtarget_switches): Added -mrtems as a switch. 3408169689Skan * i960/i960.h: Added SUBTARGET_SWITCHES macro. 3409169689Skan * rs6000/sysv4.h (extra_subtarget_switches): Added new 3410169689Skan macro EXTRA_SUBTARGET_SWITCHES. 3411169689Skan * configure.in (sh*-*-rtems*): New target. 3412169689Skan * sh/rtems.h: New file. 3413169689Skan * sh/sh.h: Added SUBTARGET_SWITCHES macro. 3414169689Skan * configure: Rebuilt. 3415169689Skan 3416169689SkanSat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com> 3417169689Skan 3418169689Skan * unroll.c (calculate_giv_inc): Handle increment with code PLUS. 3419169689Skan 3420169689SkanSat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu> 3421169689Skan 3422169689Skan * rs6000.md: Make DF fused-add operations pay attention to 3423169689Skan -mno-fused-add. 3424169689Skan 3425169689SkanFri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com> 3426169689Skan 3427169689Skan * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define. 3428169689Skan 3429169689SkanFri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com) 3430169689Skan 3431169689Skan * pa.md (reload_peepholes): Make sure operand is a REG before 3432169689Skan examining REGNO. Allow general registers too. 3433169689Skan 3434169689SkanFri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com> 3435169689Skan 3436169689Skan * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs. 3437169689Skan 3438169689SkanFri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de) 3439169689Skan 3440169689Skan * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc 3441169689Skan to reallocate abbrev_die_table. 3442169689Skan 3443169689SkanThu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com> 3444169689Skan 3445169689Skan * m68k/m68k.md (iorsi_zexthi_ashl16): Disable. 3446169689Skan 3447169689Skan1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> 3448169689Skan 3449169689Skan * Makefile.in (config.status): Depend on version.c. 3450169689Skan 3451169689Skan * expr.h (insn_gen_function): Reenable prototype. 3452169689Skan 3453169689Skan * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of 3454169689Skan first parameter. 3455169689Skan 3456169689SkanThu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com> 3457169689Skan 3458169689Skan * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic. 3459169689Skan 3460169689SkanThu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com) 3461169689Skan 3462169689Skan * version.c: Bump for latest snapshot. 3463169689Skan 3464169689Skan * bc-optab.c: Conditionally include stdlib.h. 3465169689Skan (free): Provide a declaration if NEED_DECLARATION_FREE. 3466169689Skan * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE. 3467169689Skan * rtl.h (free): Remove declaration. 3468169689Skan * tree.h (free): Remvoe declaration. 3469169689Skan 3470169689Skan * configure: Rebuilt. 3471169689Skan 3472169689SkanWed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com) 3473169689Skan 3474169689Skan * flags.h (flag_move_all_movables): Declare. 3475169689Skan (flag_reduce_all_givs): Likewise. 3476169689Skan * loop.c (move_movables): Handle flag_move_all_movables. 3477169689Skan (strength_reduce): Handle flag_reduce_all_givs. 3478169689Skan * toplev.c (flag_move_all_movables): Define. 3479169689Skan (flag_reduce_all_givs): Likewise. 3480169689Skan (f_options): Add -fmove-all-movables and -freduce-all-givs. 3481169689Skan * invoke.texi: Document new options, including alias stuff that 3482169689Skan wasn't included last time. 3483169689Skan 3484169689SkanWed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com) 3485169689Skan 3486169689Skan * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS. 3487169689Skan * t-mn10200: Likewise. 3488169689Skan * t-vxsparc: Likewise. 3489169689Skan * t-vxworks68: Likewise. 3490169689Skan * t-vxworks960: Likewise. 3491169689Skan * t-vx29k: Likewise. 3492169689Skan 3493169689SkanWed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com> 3494169689Skan 3495169689Skan * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC 3496169689Skan if not already defined, and USE_C_ALLOCA not defined. 3497169689Skan 3498169689SkanWed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com> 3499169689Skan 3500169689Skan * config.guess: Replace with script that uses ../config.guess. 3501169689Skan 3502169689Skan * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 3503169689Skan if USE_GNULIBC_1 is not defined. 3504169689Skan 3505169689SkanWed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com> 3506169689Skan 3507169689Skan * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1. 3508169689Skan * config.guess: Recognize alpha-linux-gnulibc1. 3509169689Skan * configure.in (alpha-*-linux-gnulibc1): New target. 3510169689Skan (alpha-*-linux-gnu*): Don't build crtbegin/end. 3511169689Skan 3512169689SkanWed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com> 3513169689Skan 3514169689Skan * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in 3515169689Skan last change. 3516169689Skan 3517169689SkanWed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com> 3518169689Skan 3519169689Skan * loop.c (combine_movables): Earlier insns don't match later ones. 3520169689Skan 3521169689SkanWed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 3522169689Skan 3523169689Skan * config/linux.h (CC1_SPEC): Define it only if not defined. 3524169689Skan 3525169689Skan * config/m68k/linux.h (CC1_SPEC): Undefine it before include 3526169689Skan <linux.h> 3527169689Skan 3528169689Skan * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if 3529169689Skan USE_GNULIBC_1 is not defined. 3530169689Skan 3531169689Skan * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1. 3532169689Skan 3533169689Skan * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined 3534169689Skan as 1 if USE_GNULIBC_1 is not defined. 3535169689Skan 3536169689SkanWed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com) 3537169689Skan 3538169689Skan * reorg.c (dbr_schedule): Allow current_function_return_rtx 3539169689Skan to be something other than a REG. 3540169689Skan * function.c (expand_function_end): Fix current_function_return_rtx 3541169689Skan if it was a pseudo. 3542169689Skan 3543169689Skan * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS. 3544169689Skan * x-netbsd: Likewise. 3545169689Skan * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS. 3546169689Skan (INSTALL_HEADERS): Delete. 3547169689Skan * x-dguxbcs: Likewise. 3548169689Skan * x-hp3bsd44: Likewise. 3549169689Skan * x-pa: Likewise. 3550169689Skan 3551169689SkanWed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 3552169689Skan 3553169689Skan * i386.md (pop): pop increments the stack pointer. 3554169689Skan (prologue_set_stack_ptr): New pattern. 3555169689Skan * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr 3556169689Skan instead of subsi3. 3557169689Skan 3558169689SkanTue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com> 3559169689Skan 3560169689Skan * reload.c (find_reloads, case '0'): Reject matching a non-offsettable 3561169689Skan address where an offsettable address is required. 3562169689Skan 3563169689SkanTue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz> 3564169689Skan 3565169689Skan * loop.c (check_final_value): Don't miss a biv increment in a 3566169689Skan parallel. 3567169689Skan 3568169689SkanTue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com) 3569169689Skan 3570169689Skan * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check 3571169689Skan TYPE_DECL_IS_STUB instead of DECL_NAME. 3572169689Skan 3573169689SkanMon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 3574169689Skan 3575169689Skan * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj. 3576169689Skan 3577169689SkanMon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com> 3578169689Skan 3579169689Skan * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES). 3580169689Skan 3581169689SkanMon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com) 3582169689Skan 3583169689Skan * haifa-sched.c (find_pre_sched_live): Remove #if 0 code. 3584169689Skan (find_post_sched_live): Likewise. 3585169689Skan 3586169689Skan * haifa-sched.c (schedule_block): Remove old code to get arguments 3587169689Skan from hard regs into pseudos early. 3588169689Skan 3589169689SkanMon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com) 3590169689Skan 3591169689Skan * version.c: Bump for new snapshot. 3592169689Skan 3593169689Skan * local-alloc.c (update_equiv_regs): All the target to reject 3594169689Skan promotion of some REG_EQUAL to REG_EQUIV notes. 3595169689Skan * pa.h (DONT_RECORD_EQUIVALENCE): Define. 3596169689Skan 3597169689Skan * pa.c (secondary_reload_class): (mem (mem ... )) does not need 3598169689Skan secondary reloads. 3599169689Skan 3600169689Skan * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the 3601169689Skan store of the argument registers. 3602169689Skan 3603169689SkanMon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu) 3604169689Skan 3605169689Skan * fold-const.c (multiple_of_p): New function. 3606169689Skan (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR. 3607169689Skan 3608169689SkanMon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com) 3609169689Skan 3610169689Skan * expr.h (insn_gen_function): Temporarily remove prototype. 3611169689Skan 3612169689SkanSun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com> 3613169689Skan 3614169689Skan * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to 3615169689Skan filenames. Use sed to extract base filename for install. 3616169689Skan 3617169689SkanSat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu> 3618169689Skan 3619169689Skan * unroll.c (find_splittable_givs): Only share if two givs have the 3620169689Skan same add and multiply values. 3621169689Skan 3622169689SkanSat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com> 3623169689Skan 3624169689Skan * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef. 3625169689Skan * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it. 3626169689Skan 3627169689SkanSat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com) 3628169689Skan 3629169689Skan * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns 3630169689Skan around branch tables. 3631169689Skan * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab 3632169689Skan and .end_brtab directives if TARGET_GAS. 3633169689Skan 3634169689SkanFri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com> 3635169689Skan 3636169689Skan * alias.c (true_dependence): Pass x_addr not x to varies. 3637169689Skan 3638169689Skan * acconfig.h (NEED_DECLARATION_CALLOC): Add. 3639169689Skan * configure.in: Add GCC_NEED_DECLARATION call for calloc. 3640169689Skan * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete 3641169689Skan declarations. 3642169689Skan * config.in, configure: Regenerate. 3643169689Skan 3644169689SkanThu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu> 3645169689Skan 3646169689Skan * alias.c (find_base_value): Improve handling of PLUS, MINUS, and 3647169689Skan LO_SUM. 3648169689Skan (record_set): Handle LO_SUM like PLUS. 3649169689Skan (init_alias_analysis): When following chains of base addresses, 3650169689Skan do not stop on reaching a hard register. 3651169689Skan 3652169689SkanThu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com) 3653169689Skan 3654169689Skan * version.c: Bump for new snapshot. 3655169689Skan 3656169689SkanThu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com> 3657169689Skan 3658169689Skan * alpha.h (ARCH_ASM_FILE_START): Define. 3659169689Skan (ASM_FILE_START): Use ARCH_ASM_FILE_START. 3660169689Skan * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string. 3661169689Skan 3662169689SkanThu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com) 3663169689Skan 3664169689Skan * Makefile.in (install-common): Put gcov comment at start of line. 3665169689Skan 3666169689SkanWed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com) 3667169689Skan 3668169689Skan * alias.c (init_alias_analysis): When simplifying the reg_base_value 3669169689Skan array, simplify entries for hard registers too. 3670169689Skan 3671169689SkanWed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk> 3672169689Skan 3673169689Skan * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from 3674169689Skan list. 3675169689Skan 3676169689SkanWed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com> 3677169689Skan 3678169689Skan * stmt.c (start_cleanup_deferral, end_cleanup_deferral): Test 3679169689Skan block_stack before dereferencing it. 3680169689Skan 3681169689SkanWed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com> 3682169689Skan 3683169689Skan * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate. 3684169689Skan 3685169689SkanTue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com> 3686169689Skan 3687169689Skan * cplus-dem.c: Add 'extern' to prepends_underscore. 3688169689Skan 3689169689SkanTue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com) 3690169689Skan 3691169689Skan * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate. 3692169689Skan (get_issue_rate): Delete. 3693169689Skan * pa.h (ISSUE_RATE): Define. 3694169689Skan 3695169689Skan * configure.in: Turn on haifa by default for the PA. 3696169689Skan * configure: Rebuilt. 3697169689Skan * pa.c (override_options): Accept -mschedule=7200 option. 3698169689Skan (pa_adjust_cost): No longer need to scale costs for newer 3699169689Skan processors. 3700169689Skan * pa.h (enum processor_type): Add PROCESSOR_7200. 3701169689Skan * pa.md: Revamp scheduling parameters to work better with 3702169689Skan haifa. Add scheduling parameters for the 7200. 3703169689Skan 3704169689Skan * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P 3705169689Skan insns too. 3706169689Skan (schedule_block): When adjusting basic_block_{head,end}, account 3707169689Skan for movement of SCHED_GROUP_P insns too. 3708169689Skan 3709169689Skan * haifa-sched.c (debug_dependencies): Fix thinko. 3710169689Skan 3711169689Skan * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define. 3712169689Skan (site.exp, check, check-g++, check-gcc): New targets. 3713169689Skan 3714169689Skan * haifa-sched.c: Make lots of variables static. 3715169689Skan 3716169689SkanTue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu) 3717169689Skan 3718169689Skan * expr.h, real.h: Finish prototyping. 3719169689Skan 3720169689SkanMon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com> 3721169689Skan 3722169689Skan * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR 3723169689Skan reloads to RELOAD_FOR_OPERAND_ADDRESS reloads. 3724169689Skan * reload1.c: Undo bugfix from Aug 11. 3725169689Skan 3726169689SkanMon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com> 3727169689Skan 3728169689Skan * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single 3729169689Skan quotes around the name. 3730169689Skan * configure: Regenerate. 3731169689Skan 3732169689SkanMon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com> 3733169689Skan 3734169689Skan * Makefile.in (stmp-multilib-sub): Fix typo in last change. 3735169689Skan 3736169689SkanThu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de> 3737169689Skan 3738169689Skan * Makefile.in (sub-makes): Pass the current value of LANGUAGES down 3739169689Skan to sub-makes to avoid building more passes than the user might have 3740169689Skan requested on the command line. 3741169689Skan 3742169689SkanSun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk) 3743169689Skan 3744169689Skan * configure.in: Expurgate `broken_install' (install is 3745169689Skan autoconfed). 3746169689Skan 3747169689Skan * configure.lang: Substitute autoconfed ${INSTALL} (not currently 3748169689Skan relevant). 3749169689Skan 3750169689SkanSat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com) 3751169689Skan 3752169689Skan * loop.c (is_power_of_2, is_conditional_branch): Delete unused 3753169689Skan functions and declarations. 3754169689Skan (analyze_loop_iterations): Use condjump_p. 3755169689Skan (insert_bct): Likewise. Use exact_log2. 3756169689Skan 3757169689SkanFri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com) 3758169689Skan 3759169689Skan * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed. 3760169689Skan (schedule_region): Likewise. 3761169689Skan (schedule_insns): Likewise. 3762169689Skan 3763169689Skan * PROJECTS: Update with Haifa stuff. 3764169689Skan 3765169689SkanFri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com) 3766169689Skan 3767169689Skan * version.c: Change the version string to look like: 3768169689Skan egcs-2.90.00 970814 (gcc2-970802 experimental). 3769169689Skan 3770169689Skan * loop.c (is_conditional_branch): Make definition match declaration. 3771169689Skan 3772169689Skan * gcc.c: Take out experimental snapshot warning message. 3773169689Skan 3774169689SkanFri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com> 3775169689Skan 3776169689Skan * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to 3777169689Skan print out the names of the notes. Print out the name of the insn 3778169689Skan that is not a note, and not an {,CALL_,JUMP_}INSN. 3779169689Skan 3780169689SkanWed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com> 3781169689Skan 3782169689Skan * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable 3783169689Skan again for the slot after we give it RTL. 3784169689Skan 3785169689SkanWed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com> 3786169689Skan 3787169689Skan * configure.in (haifa configury): Fix typo. 3788169689Skan * configure: Regenerate. 3789169689Skan 3790169689SkanTue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com) 3791169689Skan 3792169689Skan * version.c: Bump version to "gcc-3.0.0 970802 experimental". 3793169689Skan 3794169689Skan * gcc.info*: Rebuilt. 3795169689Skan 3796169689Skan * COPYING.g77, README.g77: New files. 3797169689Skan * real.c (ereal_unto_float, ereal_unto_double): New functions. 3798169689Skan * real.h (ereal_unto_float, ereal_unto_double): Declare them. 3799169689Skan (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define. 3800169689Skan 3801169689SkanMon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com) 3802169689Skan 3803169689Skan * Integrate Haifa instruction scheduler. 3804169689Skan * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references 3805169689Skan to sched with $(SCHED_CFLAGS. 3806169689Skan * configure.in: Handle --enable-haifa. 3807169689Skan * configure: Rebuilt. 3808169689Skan * flags.h: Add new flags for haifa instruction scheduler. 3809169689Skan * genattrtab.c (expand_units): For haifa, don't subtract one 3810169689Skan when computing blockage. 3811169689Skan * toplev.h (flag_schedule_interblock): Haifa scheduler flag. 3812169689Skan (flag_schedule_speculative): Likewise. 3813169689Skan (flag_schedule_speculative_load): Likewise. 3814169689Skan (flag_schedule_speculative_load_dangerous): Likewise. 3815169689Skan (flag_schedule_reverse_before_reload): Likewise. 3816169689Skan (flag_schedule_reverse_after_reload): Likewise. 3817169689Skan (flag_branch_on_count_reg): Likewise. 3818169689Skan (f_options): Add Haifa switches. 3819169689Skan (main): Turn off some Haifa options if appropriate macro is 3820169689Skan defined. Process Haifa switches. 3821169689Skan * unroll.c (iteration_info): No longer static, since Haifa 3822169689Skan scheduler uses it. 3823169689Skan (unroll_loop): Inform HAIFA scheduler about loop unrolling factor. 3824169689Skan * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value. 3825169689Skan * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls. 3826169689Skan * loop.h (loop_initial_value,loop_unroll_iter): New globals. 3827169689Skan * loop.c (loop_optimize): If HAIFA is defined, allocate additional 3828169689Skan storage for the Haifa scheduler. 3829169689Skan (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and 3830169689Skan LABEL_NEXTREF. 3831169689Skan (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count 3832169689Skan are defined, call analyze_loop_iterations and insert_bct to use 3833169689Skan countdown loops. 3834169689Skan (record_giv): Refine test for jumps out of loops if HAIFA is 3835169689Skan defined. 3836169689Skan (analyze_loop_iterations): New function to identify if we can use 3837169689Skan a countdown loop. 3838169689Skan (insert_bct): Insert countdown loop. 3839169689Skan (instrument_loop_bct): Low level code to insert countdown loop. 3840169689Skan (loop_number): Calculate UID of loop. 3841169689Skan (indirect_jump_in_function_p): Return true if an indirect jump is 3842169689Skan in the function. 3843169689Skan (is_power_of_2): Return true if value is a power of 2. 3844169689Skan (is_conditional_branch): Return true if insn is a conditional 3845169689Skan jump. 3846169689Skan (fix_bct_param): Process -fbct-{min,max}-N switches. 3847169689Skan (check_bct_param): Return true if loop should be instrumented. 3848169689Skan * loop.c (loop_initial_value,loop_unroll_iter): New globals. 3849169689Skan (loop_optimize): Initialize. 3850169689Skan (get_condition_for_loop): Likewise. 3851169689Skan * loop.c (strength_reduce): Inside of code that uses #ifdef 3852169689Skan HAVE_decrement_and_branch_on_count code, test it to make sure the 3853169689Skan condition is true. 3854169689Skan (instrument_loop_bct): Likewise. 3855169689Skan * haifa-sched.c: New file. 3856169689Skan 3857169689Skan * Integrate regmove pass. 3858169689Skan * Makefile.in (OBJS): Add regmove.o. 3859169689Skan (regmove.o): Add dependencies. 3860169689Skan * flow.c (find_use_as_address): No longer static. 3861169689Skan * rtl.h (find_use_as_address): Declare. 3862169689Skan * toplev.c (regmove_dump, flag_regmove): Define. 3863169689Skan (f_options): Add -fregmove. 3864169689Skan (regmove_dump_file, regmove_time): Define. 3865169689Skan (fatal_insn): Close the regmove dump file. 3866169689Skan (compile_file): Initialize regmove_time; open/close the regmove dump 3867169689Skan file as needed. Print regmove time as needed. 3868169689Skan (rest_of_compilation): Run regmove pass if requested, dump 3869169689Skan RTL after regmove if requested. 3870169689Skan (main): If -O2 or more, turn on regmove. Handle dump switches. 3871169689Skan * regmove.c: New file. 3872169689Skan 3873169689SkanMon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com) 3874169689Skan 3875169689Skan * Integrate tlink patch from jason@cygnus.com 3876169689Skan * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'. 3877169689Skan (process_command): Increment n_switches for them. Don't discard 3878169689Skan their args. Validate them. 3879169689Skan (main): Escape " marks when creating COLLECT_GCC_OPTIONS. 3880169689Skan From Rohan Lenard. 3881169689Skan (process_command): Set include_prefixes from COMPILER_PATH. 3882169689Skan (main): Set COLLECT_GCC_OPTIONS sooner. 3883169689Skan * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld. 3884169689Skan * tlink.c, hash.c, hash.h: New files. 3885169689Skan * Makefile.in (USE_COLLECT2): Always use collect2. 3886169689Skan (collect2): Depend on and link in hash.o and tlink.o. 3887169689Skan (tlink.o, hash.o): Add dependencies. 3888169689Skan 3889169689SkanMon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com) 3890169689Skan 3891169689Skan * Integrate alias analysis changes from jfc@mit.edu 3892169689Skan * Makefile.in (OBJS): Add alias.o. 3893169689Skan (alias.o): Add dependencies. 3894169689Skan * alias.c: New file. 3895169689Skan * sched.c: Remove alias analysis code. It lives in alias.c now. 3896169689Skan (sched_analyze_2): Add new arguments to true_dependence. 3897169689Skan (schedule_insns): Always call init_alias_analysis. 3898169689Skan * calls.c (expand_call): Note calls to malloc, calloc, and realloc; 3899169689Skan mark return value from such functions as a pointer and keep track of 3900169689Skan them for alias analysis. If a return value from a function is a 3901169689Skan pointer, mark it as such. 3902169689Skan * combine.c (distribute_notes): Handle REG_NOALIAS. 3903169689Skan * cse.c (struct write_data): Delete. No longer needed. 3904169689Skan (invalidate): Don't call set_nonvarying_address_components anymore. 3905169689Skan Use true_dependence to decide if an entry should be removed from 3906169689Skan the hash table. 3907169689Skan (invalidate_memory): Remove WRITES argument, simplify appropriately. 3908169689Skan Fix all callers. 3909169689Skan (note_mem_written): Similarly for WRITE_PTR argument. 3910169689Skan (invalidate_from_clobbers): Similarly for W argument. 3911169689Skan (invalidate_for_call): Remove memory elements from the hash table. 3912169689Skan (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted. 3913169689Skan (cse_rtx_varies_p): New function. Derived from old 3914169689Skan cse_rtx_addr_varies_p. 3915169689Skan (cse_insn): Remove WRITES_MEMORY and INIT variables and all references. 3916169689Skan Don't call note_mem_written anymore. Stack pushes invalidate the stack 3917169689Skan pointer if PUSH_ROUNDING is defined. No longer need to call 3918169689Skan cse_rtx_addr_varies_p to decide if a MEM should be invalidated. 3919169689Skan (skipped_writes_memory): Remove variable. 3920169689Skan (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory. 3921169689Skan (invalidate_skipped_block): Simplify for new alias analysis code. 3922169689Skan (cse_set_around_loop): Likewise. 3923169689Skan (cse_main): Call init_alias_analysis. 3924169689Skan * flags.h (flag_alias_check, flag_argument_noalias): Declare. 3925169689Skan * toplev.c (flag_alias_check, flag_argument_noalias): Define. 3926169689Skan (f_options): Add new alias checking arguments. 3927169689Skan (main): Set flag_alias_check when optimizing. 3928169689Skan * local_alloc (validate_equiv_mem_from_store): Add new arguments 3929169689Skan to true_dependence. 3930169689Skan (memref_referenced_p): Likewise. 3931169689Skan * loop.c (NUM_STORES): Increase to 30. 3932169689Skan (prescan_loop): Only non-constant calls set unknown_address_altered. 3933169689Skan (invariant_p): Add new arguments to true_dependence. 3934169689Skan (record_giv): Initialize unrolled and shared fields. 3935169689Skan (emit_iv_add_mult): Call record_base_value as needed. 3936169689Skan * loop.h (struct induction): Add unrolled and shared fields. 3937169689Skan * unroll.c (unroll_loop): Call record_base_value as needed. 3938169689Skan (copy_loop_body): Likewise. 3939169689Skan (final_biv_value): Likewise. 3940169689Skan (final_giv_value): Likewise. 3941169689Skan (find_splittable_regs): Likewise. Only create one new pseudo 3942169689Skan if we have multiple address GIVs that were combined with the same 3943169689Skan dst_reg GIV. Note when a new register is created due to unrolling. 3944169689Skan * rtl.c (reg_note_name): Add REG_NOALIAS. 3945169689Skan * rtl.h (enum reg_note): Similarly. 3946169689Skan (rtx_varies_p, may_trap_p, side_effects_p): Declare. 3947169689Skan (volatile_refs_p, volatile_insn_p, remove_note): Likewise. 3948169689Skan (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise. 3949169689Skan (true_dependence, read_dependence, anti_dependence): Likewise. 3950169689Skan (output_dependence, init_alias_analysis, end_alias_analysis): Likewise. 3951169689Skan (mark_user_reg, mark_reg_pointer): Likewise. 3952169689Skan 3953169689Skan * Integrate reload bugfix from Wilon which enables the PA port 3954169689Skan to bootstrap again. 3955169689Skan * reload1.c (reload): Sum needs for both OPADDR_ADDR and 3956169689Skan OPERAND_ADDRESS when computing how many registers an insn needs. 3957169689Skan (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do 3958169689Skan conflict. 3959169689Skan (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like 3960169689Skan OPADDR_ADDR reload. 3961169689Skan (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers 3962169689Skan in reload_reg_use_in_op_addr do not reach the end. 3963169689Skan do not reach the end. 3964169689Skan (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with 3965169689Skan RELOAD_FOR_OPERAND_ADDRESS. 3966169689Skan 3967169689SkanSun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com) 3968169689Skan 3969169689Skan * egcs project officially starts. 3970