?? changelog.0
字號:
Tue Jul 7 01:03:03 1998 Mumit Khan <khan@xraylith.wisc.edu>
Support for dllimport and dllexport attributes for i386-pe.
* tree.h (DECL_NON_ADDR_CONST_P): New accessor macro.
(struct tree_decl): Add non_addr_const_p field.
* tree.c (staticp): Use.
* i386/cygwin32.h (CPP_PREDEFINES): Map __declspec(x) to GCC
attributes.
(SUBTARGET_SWITCHES): Switches to turn on/off dllimport|export
attributes. Also accept -mwindows option.
(VALID_MACHINE_DECL_ATTRIBUTE): New macro.
(MERGE_MACHINE_DECL_ATTRIBUTE): New macro.
(REDO_SECTION_INFO_P): New macro.
(DRECTVE_SECTION_FUNCTION): New macro.
(drectve_section): Cover function to implement above.
(SWITCH_TO_SECTION_FUNCTION): New macro.
(switch_to_section): Covert function to implement above.
(EXTRA_SECTIONS): Add in_drectve.
(EXTRA_SECTION_FUNCTIONS): Add in_drectve and switch_to_section.
(ENCODE_SECTION_INFO): Delete old macro and redefine as a function.
(STRIP_NAME_ENCODING): Handle new attributes.
(ASM_OUTPUT_LABELREF): New macro.
(ASM_OUTPUT_FUNCTION_NAME): New macro.
(ASM_OUTPUT_COMMON): New macro.
(ASM_OUTPUT_DECLARE_OBJECT_NAME): New macro.
* i386/mingw32.h (CPP_PREDEFINES): Map __declspec(x) to GCC
attributes.
* i386/winnt.c (i386_pe_valid_decl_attribute_p): New function.
(i386_pe_merge_decl_attributes): New function.
(i386_pe_check_vtable_importexport): New function.
(i386_pe_dllexport_p): New function.
(i386_pe_dllimport_p): New function.
(i386_pe_dllexport_name_p): New function.
(i386_pe_dllimport_name_p): New function.
(i386_pe_mark_dllexport): New function.
(i386_pe_mark_dllimport): New function.
(i386_pe_encode_section_info): New function.
(i386_pe_unique_section): Strip encoding from name first.
Tue Jul 7 00:50:17 1998 Manfred Hollstein (manfred@s-direktnet.de)
* libgcc2.c (L_exit): Provide a fake for atexit on systems which
define ON_EXIT but not HAVE_ATEXIT.
Tue Jul 7 00:44:35 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* m68k.md (zero_extend QI to HI): Correctly handle TARGET_5200.
Tue Jul 7 00:36:41 1998 Ulrich Drepper <drepper@cygnus.com>
* i386.c: Remove random whitespace at end of lines.
* i386.c (ix86_epilogue): For pentium processors, try to deallocate
4 or 8 byte stacks with pop instructions instead of an add instruction.
Tue Jul 7 00:30:08 1998 Klaus Kaempf <kkaempf@rmi.de>
* alpha.c: Include tree.h before expr.h.
Mon Jul 6 22:50:48 1998 Jason Merrill <jason@yorick.cygnus.com>
* c-parse.in (struct_head, union_head, enum_head): New nonterminals.
(structsp): Use them. Update files generated from c-parse.in.
* extend.texi (Type Attributes): Document it.
* c-decl.c: Add warn_multichar.
(c_decode_option): Handle -Wno-multichar.
* c-lex.c (yylex): Check it.
* c-tree.h: Declare it.
* toplev.c (lang_options): Add it.
* invoke.texi: Document it.
Mon Jul 6 22:47:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload.c (find_equiv_reg): When looking for stack pointer + const,
make sure we don't use a stack adjust.
* reload.c (find_equiv_reg): If need_stable_sp is set,
check if stack pointer is changed directly.
* reload1.c (delete_dead_insn): Don't delete feeding insn
if that insn has side effects.
* flow.c (find_auto_inc): Clear UNCHANGING bit of register that is
changed.
* reload1.c (reload_reg_free_before_p): RELOAD_FOR_OPADDR_ADDR
precedes RELOAD_FOR_OUTADDR_ADDRESS.
* gcse.c (hash_scan_insn): New argument IN_LIBCALL_BLOCK. Changed
caller.
Mon Jul 6 22:21:56 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
* m68k.c (output_scc_di): Use cmpw #0 instead of tstl when
testing address registers on the 68000.
Mon Jul 6 22:17:19 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
* i386.c (is_fp_test): Fix thinko.
* jump.c (jump_optimize): Check for CONST_INT before using INTVAL.
Mon Jul 6 22:14:31 1998 Richard Henderson (rth@cygnus.com)
* print-rtl.c (print_rtx): Display the real-value equivalent of
a const_double when easy.
* real.h (REAL_VALUE_TO_TARGET_SINGLE): Use a union to pun types.
Zero memory first for predictability.
(REAL_VALUE_TO_TARGET_DOUBLE): Likewise.
* varasm.c (immed_real_const_1): Notice width of H_W_I == double.
* regclass.c (allocate_reg_info): Initialize the entire reg_data
virtual array.
Mon Jul 6 22:09:32 1998 Ian Lance Taylor <ian@cygnus.com>
Jeff Law <law@cygnus.com>
* i386/cygwin32.h: Add some declaration of external functions.
(ASM_DECLARE_FUNCTION_NAME): Define.
(ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
(ASM_FILE_END): Define.
* i386/winnt.c (i386_pe_declare_function_type): New function.
(struct extern_list, extern_head): Define.
(i386_pe_record_external_function): New function.
(i386_pe_asm_file_end): New function.
* cpplib.c (cpp_options_init): Initialize cplusplus_comments to 1,
matching July 18, 1995 change to cccp.c. If -traditional then
disable cplusplus_comments.
Mon Jul 6 21:28:14 1998 Jeffrey A Law (law@cygnus.com)
* combine.c (expand_compound_operation): Fix thinko in code to optimize
(zero_extend:DI (subreg:SI (foo:DI) 0)) to foo:DI.
* Disable the following change from gcc2. Not appropriate for egcs:
Sun Jun 7 09:30:31 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* reload.c (find_reloads): Give preference to pseudo that was the
reloaded output of previous insn.
Mon Jul 6 21:07:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* aclocal.m4 (GCC_FUNC_PRINTF_PTR): Don't define HOST_PTR_PRINTF.
Instead, define a new macro HAVE_PRINTF_PTR which only signifies
whether we have the %p format specifier or not.
* acconfig.h: Delete stub for HOST_PTR_PRINTF, add HAVE_PRINTF_PTR.
* machmode.h (HOST_PTR_PRINTF): When determining the definition,
check HAVE_PRINTF_PTR to see whether "%p" is okay.
* mips-tfile.c: Include machmode.h to get HOST_PTR_PRINTF.
* Makefile.in (mips-tfile.o): Depend on machmode.h.
Mon Jul 6 10:42:05 1998 Mark Mitchell <mark@markmitchell.com>
* jump.c (duplicate_loop_exit_test): Don't refuse to copy a
section of code just because it contains
NOTE_INSN_BLOCK_{BEG,END}.
* stmt.c (expand_end_loop): Likewise. Also, don't refuse to
move CALL_INSNs or CODE_LABELs. When moving code, don't move
NOTE_INSN_BLOCK_{BEG,END}.
Mon Jul 6 09:38:15 1998 Mark Mitchell <mark@markmitchell.com>
* cse.c (CSE_ADDRESS_COST): New macro, based on ADDRESS_COST, but
dealing with ADDRESSOF.
(find_best_addr): Use it.
Mon Jul 6 09:27:08 1998 Richard Henderson <rth@cygnus.com>
* alpha/vms.h (TRAMPOLINE_TEMPLATE): Revert last change.
Mon Jul 6 09:25:06 1998 Dave Love <d.love@dl.ac.uk>
* libgcc2.c (__eprintf): Make args consistent with prototype in
assert.h.
Mon Jul 6 00:28:43 1998 Mark Mitchell <mark@markmitchell.com>
* cse.c (cse_insn): When SETting (MEM (ADDRESSOF (X))) to Y,
don't claim that the former is equivalent to the latter.
Sun Jul 5 23:58:19 1998 Jeffrey A Law (law@cygnus.com)
* cse.c (cse_insn): Second arg is an RTX now. Update all callers.
(cse_basic_block): Keep track of the current RETVAL insn for a
libcall instead of just noting that we're in a libcall.
* combine.c (simplify_comparison): Do not commute a AND into
a paradoxical SUBREG if not WORD_REGISTER_OPERATIONS.
* i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Protect with
HAVE_GAS_MAX_SKIP_P2ALIGN.
* i386/linux.h: Likewise.
Fri Jul 3 02:33:35 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
* sparc.c (sparc_operand, move_operand, arith_operand,
arith11_operand, arith10_operand, arith_double_operand,
arith11_double_operand, arith10_double_operand, small_int,
uns_small_int): Recognize CONSTANT_P_RTX.
(output_sized_memop, output_move_with_extension,
output_load_address, output_size_for_block_move,
output_block_move, delay_operand): Remove, has not been
enabled or referenced for years.
* sparc.md (movstrsi, block_move_insn): Likewise.
* sparc.h (PREDICATE_CODES): Define.
* linux-aout.h (MACHINE_STATE_{SAVE,RESTORE}): Override with
version which uses getcc/setcc traps to save/restore condition
codes.
* linux64.h: Likewise.
* sunos4.h: Likewise.
* linux.h: Likewise.
* sol2.h: Likewise.
* sun4o3.h: Likewise.
Fri Jul 3 02:28:05 1998 Richard Henderson <rth@cygnus.com>
* alpha.c (alpha_initialize_trampoline): Hack around Pmode/ptr_mode
lossage on VMS. Reported by kkaempf@rmi.de.
* alpha/vms.h (TRAMPOLINE_TEMPLATE): Add missing 0.
Thu Jul 2 17:41:14 1998 Nick Clifton <nickc@cygnus.com>
* config/m32r/m32r.h (MUST_PASS_IN_STACK): Override default
version.
Thu Jul 2 14:34:48 1998 David Edelsohn <edelsohn@mhpcc.edu>
* expr.h (STACK_SIZE_MODE): New macro.
* explow.c (allocate_dynamic_stack_space): Use it for
mode of allocate_stack pattern increment operand.
* tm.texi (STACK_SAVEAREA_MODE, STACK_SIZE_MODE): Document.
* md.texi (stack_save_block, ...): Reflect use of macro.
* rs6000.h (PROMOTE_MODE): Always promote to word_mode.
(PROMOTE_FUNCTION_ARGS): Define.
(PROMOTE_FUNCTION_RETURN): Define.
(FUNCTION_VALUE): Promote to word_mode if smaller.
Convert to gen_rtx_FOO.
* rs6000.md (call_indirect): Store doubleword in 64-bit mode.
Convert to gen_rtx_FOO.
* rs6000.c: Convert to gen_rtx_FOO.
Thu Jul 2 14:16:11 1998 Michael Meissner <meissner@cygnus.com>
* varray.{c,h}: New files to provide virtual array support.
* Makefile.in (OBJS): Add varray.o.
(varray.o): Add new file.
(REGS_H): New variable for dependencies for files including
regs.h. Add varray.h and files it includes. Change all regs.h
dependencies to $(REGS_H).
* toplev.c (x{m,re}alloc): If size is 0, allocate 1 byte.
(xcalloc): Provide frontend for calloc.
* {tree,rtl}.h (xcalloc): Add declaration.
* basic-block.h (REG_BASIC_BLOCK): Convert reg_n_info to be a
varray.
* regs.h (toplevel): Include varray.h.
(reg_n_info): Switch to use a varray.
(REG_*): Likewise.
(allocate_reg_info): Change num_regs argument to be size_t.
* regclass.c (reg_info_data): New structure to remember groups of
reg_info structures allocated that are to be zeroed.
({pref,alt}class_buffer): New statics to hold buffers
allocate_reg_info allocates for {pref,alt}class_buffer.
(regclass): Use {pref,alt}class_buffer to initialize
{pref,alt}class.
(allocate_reg_info): Switch to make reg_n_info use varrays.
Allocate buffers for the preferred and alter register class
information. Change num_regs argument to be size_t, not int.
* flow.c (reg_n_info): Switch to use varrays.
Thu Jul 2 10:11:47 1998 Robert Lipe <robertl@dgii.com>
* install.texi (sco3.2v5): Document new --with-gnu-as flag.
* config/i386/sco5.h (JUMP_TABLES_IN_TEXT_SECTION): Defined as
in other targets.
(USE_GAS): Conditionalize away native assembler usage.
* config/i386/sco5gas.h: New file.
* config/i386/t-sco5gas: New file.
* configure.in (ix86-sco3.2v5*): Use new files if --with-gnu-as
Thu Jul 2 08:20:00 1998 Catherine Moore <clm@cygnus.com>
* haifa-sched.c (alloc_EXPR_LIST): Change to use
unused_expr_list.
Thu Jul 2 14:13:28 1998 Dave Love <d.love@dl.ac.uk>
* Makefile.in (install-info): Don't use $realfile. Ignore
possible errors from the install-info program.
Thu Jul 2 01:53:32 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
* combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.
Wed Jul 1 23:06:03 1998 Richard Henderson <rth@cygnus.com>
* i386.h (HARD_REGNO_MODE_OK): Kill spurious test.
(MODES_TIEABLE_P): Tie SImode and HImode.
1998-07-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* invoke.texi (Optimize Options): Fix typo.
Wed Jul 1 22:25:43 1998 Jim Wilson <wilson@cygnus.com>
* xcoffout.c (xcoffout_begin_function): Call xcoffout_block for
the zero'th block.
Wed Jul 1 23:12:58 1998 Ken Raeburn <raeburn@cygnus.com>
* h8300.c (print_operand): Delete %L support.
* h8300.md (branch_true, branch_false): Use %= with a prefix
instead of %L for local branch labels.
Wed Jul 1 21:27:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (emit_reload_insns): Use proper register classes for
SECONDARY_INPUT_RELOAD_CLASS / SECONDARY_MEMORY_NEEDED code.
Wed Jul 1 21:17:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload.c (find_reloads): If there are multiple
RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads for
one operand, change RELOAD_FOR_INPADDR_ADDRESS /
RELOAD_FOR_OUTADDR_ADDRESS for all but the first
RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_OUTPUT_ADDRESS reloads.
Wed Jul 1 17:23:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* regmove.c (fixup_match_2): Check that P has RTX_CLASS 'i' before
using its PATTERN.
Wed Jul 1 05:04:41 1998 Richard Henderson <rth@cygnus.com>
* expr.c (emit_group_load, emit_group_store): Rewrite considering
the size and alignment of the structure being manipulated.
* expr.c, calls.c, function.c: Update all callers.
* expr.h: Update prototypes.
* cse.c (invalidate): Cope with parallels.
Wed Jul 1 04:22:23 1998 Richard Henderson <rth@cygnus.com>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -