blob: e7ae6c5af0a28b536b9b24b3dfcc184d4ab37f10 [file] [log] [blame]
Sun Mar 31 05:10:10 1996 Richard Kenner (
* stor-layout.c (layout_decl): Don't make a bitfield an integral mode
if the mode of the field type is not MODE_INT.
* sched.c (schedule_block): CALL_INSNs don't affect fixed regs.
* flow.c (propagate_block): CALL_INSNs don't kill fixed regs.
Sat Mar 30 03:32:48 1996 Torbjorn Granlund <>
* expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Move some code
to avoid shifting by a too large count.
Fri Mar 29 15:45:51 1996 Doug Evans <>
* configure (i[3456]86-*-sunos5*): Delete, config.sub converts
sunos5 to solaris2.
(sparc-*-sunos5*): Likewise.
(sparc64-*-{solaris2*,sunos5*}): Delete. Stick with sparc-*-solaris2*.
* sparc.h (FUNCTION_PROFILER): Save/restore %g2 around mcount call.
Fri Mar 29 14:20:31 1996 Stan Cox <>
* i386.c (notice_update_cc): Clear cc_status if ref modified MEM.
Fri Mar 29 09:37:52 1996 Jeffrey A. Law <>
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
Add additional argument to INIT_CUMULATIVE_ARGS.
(emit_library_call): Likewise.
(emit_library_call_value): Likewise.
* expr.c (expand_builtin): Likewise.
* function.c (assign_parms): Likewise.
* pa.h (hppa_args): New field "indirect".
(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
(FUNCTION_ARG): Check "indirect" field, rather than
* alpha.h (INIT_CUMULATIVE_ARGS): Likewise.
* arm.h (INIT_CUMULATIVE_ARGS): Likewise.
* clipper.h (INIT_CUMULATIVE_ARGS): Likewise.
* convex.h (INIT_CUMULATIVE_ARGS): Likewise.
* dsp16xx.h (INIT_CUMULATIVE_ARGS): Likewise.
* elxsi.h (INIT_CUMULATIVE_ARGS): Likewise.
* fx80.h (INIT_CUMULATIVE_ARGS): Likewise.
* gmicro.h (INIT_CUMULATIVE_ARGS): Likewise.
* h8300.h (INIT_CUMULATIVE_ARGS): Likewise.
* i370/mvs.h (INIT_CUMULATIVE_ARGS): Likewise.
* i386.h (INIT_CUMULATIVE_ARGS): Likewise.
* i860.h (INIT_CUMULATIVE_ARGS): Likewise.
* i960.h (INIT_CUMULATIVE_ARGS): Likewise.
* m68k.h (INIT_CUMULATIVE_ARGS): Likewise.
* m68k/mot3300.h (INIT_CUMULATIVE_ARGS): Likewise.
* m88k.h (INIT_CUMULATIVE_ARGS): Likewise.
* mips.h (INIT_CUMULATIVE_ARGS): Likewise.
* ns32k.h (INIT_CUMULATIVE_ARGS): Likewise.
* pdp11.h (INIT_CUMULATIVE_ARGS): Likewise.
* pyr.h (INIT_CUMULATIVE_ARGS): Likewise.
* romp.h (INIT_CUMULATIVE_ARGS): Likewise.
* rs6000.h (INIT_CUMULATIVE_ARGS): Likewise.
* sh.h (INIT_CUMULATIVE_ARGS): Likewise.
* sparc.h (INIT_CUMULATIVE_ARGS): Likewise.
* spur.h (INIT_CUMULATIVE_ARGS): Likewise.
* tahoe.h (INIT_CUMULATIVE_ARGS): Likewise.
* vax.h (INIT_CUMULATIVE_ARGS): Likewise.
* we32k.h (INIT_CUMULATIVE_ARGS): Likewise.
* mips.c (mips_expand_prologue): Add extra arg to
Thu Mar 28 18:45:49 1996 Richard Kenner <>
* alpha.c (summarize_insn): Fix three "off-by-one" bugs in loop bounds.
Thu Mar 28 16:50:10 1996 Doug Evans <>
* ginclude/inl-sparc.h: Deleted.
Thu Mar 28 12:07:31 1996 Jeffrey A. Law <>
* va-h8300.h (va_arg): Don't assume sizeof (int) == 4.
* pa.c (hppa_legitimize_address): Don't lose for
(plus (plus (mult (A) (shadd_const)) (B)) (C)) if
B + C isn't a valid address for indexing.
(basereg_operand): Only accept base registers after
cse has completed. Don't accept the frame pointer if
it's likely to be eliminated.
* (unscaled indexing patterns): Add variants with
basereg and index register reversed.
(HImode and QImode loads): Add zero extended variants.
Wed Mar 27 07:45:27 1996 Richard Kenner <>
* expmed.c (negate_rtx): Fix typo in previous change.
Tue Mar 26 13:50:43 1996 Jim Wilson <>
* calls.c (expand_call): In convert_to_mode call, use word_mode
not SImode.
Tue Mar 26 13:44:34 1996 Doug Evans <>
* configure: Delete unnecessary special handling of --with-cpu.
Tue Mar 26 10:41:57 1996 Jeffrey A. Law <>
* expr.c (emit_push_insn): When doing a partial push, emit
a CLOBBER so that flow doesn't think the entire register
is live.
Tue Mar 26 10:00:52 1996 Richard Kenner <>
* alpha.c (summarize_insn, default case): Properly use format_ptr.
Tue Mar 26 09:51:09 1996 Philippe De Muyter (
* m68k.h (output_move_simode_const): New extern declaration.
* m68k.c (output_move_simode_const): New function.
(singlemove_string): Call it.
* (fullword move): Likewise.
Tue Mar 26 05:43:06 1996 Torbjorn Granlund <>
* (insv matcher): Call CC_STATUS_INIT.
* vax.h (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.
Mon Mar 25 19:18:08 1996 Jason Merrill <>
* function.c (expand_function_start): Don't set up context_display
unless current_function_needs_context.
Mon Mar 25 18:48:18 1996 Philippe De Muyter <>
* fold-const.c (fold, case BIT_IOR_EXPR): Recognize rotates
with variable count.
Mon Mar 25 18:05:28 1996 Jim Wilson <>
* (libgcc1-test): Undo Feb 12 change.
Mon Mar 25 08:09:59 1996 Richard Kenner (
* objc/thread-single.c (objc_mutex_unlock): Properly declare thread_id.
Mon Mar 25 08:02:50 1996 Philippe De Muyter <>
* configure (m68k-motorola-sysv*): Fixed indentation.
Sun Mar 24 08:16:42 1996 Richard Kenner (
* expmed.c (negate_rtx): Don't try to negate a constant ourself;
instead call simplify_unary_operation.
Sun Mar 24 07:29:06 1996 Richard Henderson <>
* gcc.c (process_command): Instead of hardcoding non-empty
switches_need_spaces to turn on "o" and "L", make the string
contain the switches that need the spaces.
* m68k/ccur-GAS.h (SWITCHES_NEED_SPACES): Change definition
Sat Mar 23 18:34:44 1996 Harry Dolan <>
* i860/paragon.h (LIB_SPEC): Always output -lmach.
Sat Mar 23 18:25:39 1996 J"orn Rennecke (
* c-typeck.c (set_init_index): Check for use outside an array
* defaults.h (ASM_OUTPUT_ADDR_DIFF_ELT): Delete.
* pdp11.h (ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.
Sat Mar 23 15:55:35 1996 Doug Evans <>
* combine.c (make_extraction): In BITS_BIG_ENDIAN correction of POS,
need to treat MEM and REG differently.
* sparc.h (SPARC_SIMM{10,11,13}_P): Define.
(CONST_OK_FOR_LETTER_P): Support new letters L,M.
* sparc.c (arith11_operand): Use SPARC_SIMM11_P.
(arith10_operand): Use SPARC_SIMM10_P.
* (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
(*mov{qi,hi,si,di}_cc_reg_sp64): Likewise.
Sat Mar 23 07:47:19 1996 Andreas Schwab <>
* m68k/linux.h (TRAMPOLINE_TEMPLATE): Correct first instruction.
* m68k/m68kv4.h (TRAMPOLINE_TEMPLATE): Likewise.
Sat Mar 23 07:06:55 1996 Richard Kenner (
* bc-emit.c (bc_emit_instruction): Add missing va_end call.
* c-typeck.c (build_array_ref): Give error if subscripting a function.
Fri Mar 22 09:11:45 1996 Richard Kenner (
* local-alloc.c (optimize_reg_copy_1): Only update reg_live_length
if it is non-negative.
Thu Mar 21 14:42:26 1996 Doug Evans <>
* sparc/splet.h (STARTFILE_SPEC,LINK_SPEC): Define.
Wed Mar 20 17:23:18 1996 Jim Wilson <>
* cse.c (note_mem_written): Delete obsolete code for handling
(mem (scratch)).
* mips.c (mips_expand_prologue): In initialization of fnargs, delete
special treatment of METHOD_TYPE.
Wed Mar 20 17:07:45 1996 Doug Evans <>
* sparc/sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
Fix typo in ultrasparc entry.
* sparc.h (CPP_CPU_SPEC): Add v8plus entry.
(ASM_CPU_SPEC): Likewise.
* sparc.c (fcc_reg_operand): Ensure correct mode.
(icc_or_fcc_reg_operand): Likewise.
(gen_v9_scc): IF_THEN_ELSE must have a mode.
(print_operand): New operand code `x' for all condition codes.
New operand codes `c,d' for reversed conditional moves.
* (movqicc,movhicc): New named patterns.
(movdicc): if_then_else must have a mode.
(movsicc,movsfcc,movdfcc,movtfcc): Likewise.
Change condition to TARGET_V9, not TARGET_ARCH64.
Fail if DImode compare and ! TARGET_ARCH64.
(conditional move matchers): Rewrite.
Wed Mar 20 16:12:29 1996 Stan Cox <>
* i386.h (HARD_REGNO_MODE_OK): Relax QImode constraint to
avoid a reload problem.
Wed Mar 20 13:12:22 1996 Jeffrey A. Law <>
* pa.c (hppa_legitimize_address): Don't lose for x[n-const]
when n-const will not be shifted. Don't pessimize code for
x[n-const] when const is small.
Wed Mar 20 11:42:32 1996 Markus Theissinger <>
* m68k/sun3.h (LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.
(__bb_init_func): Deleted.
(BLOCK_PROFILER_CODE): Don't set macro to nothing.
* m68k/xm-sun3.h: New file.
* configure (m68k-sun-sunos*): Use it.
* xm-linux.h (HAVE_POPEN): New define.
Wed Mar 20 11:28:37 1996 Andreas Schwab <>
* m68k/linux.h (ASM_SPEC): Deleted.
(STRUCT_VALUE_REGNUM): Redefine as register a0.
(STATIC_CHAIN_REGNUM): Redefine as register a1.
(TRAMPOLINE_TEMPLATE): Redefine to use the right register.
Wed Mar 20 08:04:34 1996 Richard Kenner (
* libgcc2.c (__dummy): New function.
* (LIB2FUNCS): Add __dummy.
* expr.c (expand_builtin, case BUILT_IN_SETJMP): Call "setjmp"
pattern, if any.
Call dummy function pointed to by static chain pointer.
(expand_builtin, case BUILT_IN_LONJMP): Ignore second expression.
Set address of __dummy into static chain pointer.
Copy the label to return to into a pseudo earlier.
* stupid.c (last_setjmp_suid, regs_crosses_setjmp): New variables.
(stupid_life_analysis, stupid_mark_refs): Use them to track which
regs are live over a setjmp; don't allocate such regs.
Tue Mar 19 22:02:07 1996 Jason Merrill <>
* cplus-dem.c (demangle_template): Fix for non-mangled pointer
Tue Mar 19 13:54:06 1996 Jeffrey A. Law <>
* pa.c (compute_frame_size): Update comments to reflect reality.
(hppa_expand_prologue): Don't save registers which aren't
used, even if it creates holes. Partially undoes changes from
early March.
(hppa_expand_epilogue): Likewise.
Tue Mar 19 08:25:17 1996 J"orn Rennecke (
* stmt.c (struct case_node): New member balance.
(add_case_node): New function.
(pushcase, pushcase_range): Use it.
(case_tree2list): New function.
(expand_end_case): Use it.
Tue Mar 19 07:44:22 1996 Stephen L Moshier (
* regstack.c (move_for_stack_reg): Avoid stack overflow while
storing XFmode from fp reg to memory.
Tue Mar 19 07:38:03 1996 Richard Kenner (
* m68k.h (MASK_*): New macros.
Treat -m68332 like -m68000.
Mon Mar 18 20:04:13 1996 Richard Earnshaw (
* expmed.c (emit_store_flag): If expanding (GE X 0) will need two
insns, don't use subtarget for the result of the first insn.
Move a likely constant to the start of a condition.
Mon Mar 18 19:48:14 1996 Philippe De Muyter <>
* m68k.h (CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
* m68k.c (output_function_epilogue): Restore registers using sp+
instead of fp(n) in leaf functions.
(USE_MOVQ, use_movq): Function replaced by macro.
* (pushexthisi_const, movsi_const0): New names.
(andsi3, iorsi3): Allow only 'M', not 'K' constants, if dest is 'd'.
Mon Mar 18 19:33:20 1996 Fila Kolodny <>
* i370/t-mvs: New file.
* configure (i370-*-mvs*): Use it.
* i370/mvs.h (FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
Have only one copy of timestamp and PPA2 per object module.
Only have unnamed CSECT to match IBM C.
Mon Mar 18 19:26:21 1996 Paul Russell (
* combine.c (simplify_if_then_else): Allow for case that
condition might no longer be a condition.
Mon Mar 18 19:14:42 1996 Richard Kenner (
* c-typeck.c (build_conditional_expr): If OP1 is null, set
both OP1 and ORIG_OP1 to IFEXP.
* c-iterate.c (iterator_loop_epilogue): Don't clear DECL_RTL
for a static decl.
Mon Mar 18 08:02:25 1996 Stephen L Moshier <>
* alpha.c (summarize_insn, case SUBREG, CONST_*): New cases.
Sun Mar 17 16:55:00 1996 Doug Evans <>
* combine.c (find_split_point): Handle NULL return from
(make_field_assignment): Likewise.
Sat Mar 16 18:56:47 1996 Richard Kenner (
* tree.c (substitute_in_expr, case COMPONENT_REF): Ignore
if inner PLACEHOLDER_EXPR has not yet been initialized.
* i386.c (standard_80386_constant_p): -0.0 is not 0.0.
* (insv): Restore missing end of comment.
* combine.c (make_extraction): Correct typo in force_to_mode
call in previous change.
Return 0 if pos+len out of range of want desired mode.
Sat Mar 16 16:20:43 1996 David Mosberger-Tang <>
* (trap): New attribute.
Modify patterns for all floating-point trap generating instructions.
* alpha.h (CPP_SPEC): Added -mieee and -mieee-with-inexact.
(alpha_trap_precision, alpha_fp_rounding_mode, alpha_fp_trap_mode):
New enum types.
(target_flags, alpha_tp, alpha_fprm, alpha_fptm): New external vars.
(alpha_fprm_string, alpha_fptm_string, alpha_tp_string): Likewise.
(TARGET_SWITCHES): Added "ieee-conformant", "ieee", and
"ieee-with-inexact"; use MASK symbols.
(TARGET_OPTIONS): New macro.
(PRINT_OPERAND_PUNCT_VALID_P): Allow operand codes for FP insns.
(CC1_SPEC): New macro.
* alpha.c (alpha_tp, alpha_fprm, alpha_fptm): New variables.
(alpha_tp_string, alpha_fprm_string, alpha_fptm_string
(trap_pending): Likewise.
(override_options, summarize_insn, final_prescan_insn): New functions.
(print_operand): Handle cases '&', '\'', ')', and '+'.
(output_prolog): Emit ".eflag 48" if TARGET_IEEE_CONFORMANT.
(output_epilog): Call final_prescan_insn before emitting epilog.
* final.c (final_scan_insn, case CODE_LABEL): Invoke
* alpha/{linux.h,x-linux,xm-linux.h}: New files.
* configure (alpha-*-linux*): New case.
* alpha.c (output_prolog): Set alpha_function_needs_gp if profiling
Thu Mar 14 22:28:20 1996 David Edelsohn <>
* rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Fix last change.
* aix41.h (LINK_SPEC): add -bnoentry if shared and no explicit entry.
Thu Mar 14 12:47:33 1996 Jim Wilson <>
* mips.h (ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
* mips.c (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
Thu Mar 14 11:21:37 1996 Michael Meissner <>
* rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): For 32-bit mode,
allow TImode variables with int offsets, so that structures
greater than 8 bytes and less than or equal to 16 bytes can be
instantiated correctly.
* rs6000.c (rs6000_valid_type_attribute_p): Add exception
attribute for Windows NT.
* win-nt.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete, merge into
(ASM_DECLARE_FUNCTION_NAME): Add support for exception attribute
setting fields 3 & 4 of the structured exception handling table.
Thu Mar 14 01:53:19 1996 Jeffrey A. Law <>
to TREE_ADDRESSABLE. From Jim Wilson.
Wed Mar 13 13:40:32 1996 Jim Wilson <>
* c-tree.h (warn_sign_compare): Add extern to declaration.
Wed Mar 13 13:37:00 1996 Doug Evans <>
* configure: Use cross-make and build-make if building
cross compiler with cross compiler.
Wed Mar 13 12:00:34 1996 Michael Meissner <>
* i386/cygwin32.h (ASM_OUTPUT_ALIGN): Correct defination.
* rs6000/{win-nt,cygwin32}.h (STARTFILE_SPEC): Add crti.o before
all objects.
(ENDFILE_SPEC): Add crtn.o after all objects.
* configure (powerpcle-*-cygwin32): Use t-winnt, not t-cygin32
* rs6000/t-cygwin32: Delete, no longer used.
* rs6000/t-winnt ({,INSTALL_}LIBGCC): Build and install crti.o and
* rs6000/win-nt.h (EXTRA_SECTION_FUNCTIONS): Add ctors_section and
(INVOKE__main): Define, so that __main is called.
(ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Define to put pointers to
the constructor/destructor in the appropriate section.
* nt-c{i,n}.asm: New files to be linked before/after all of the users'
Wed Mar 13 00:42:17 1996 Per Bothner <>
* dbxout.c (dbxout_type): Better "variant" handling to ignore
const/volatile but not typedef names. Improves Feb 12 change.
Tue Mar 12 17:25:14 1996 David Mosberger-Tang <>
* glimits.h (__LONG_MAX__): On Alpha, use 64 bit value.
Tue Mar 12 15:07:49 1996 Torbjorn Granlund <>
* m68k.c (valid_dbcc_comparison_p): Don't test cc_prev_status here.
(flags_in_68881): New function.
* (dbra peepholes): Use flags_in_68881.
Tue Mar 12 13:54:15 1996 Richard Kenner (
* (nonlocal_goto): Emit barrier after jump.
(setjmp{,_64,_32}): New patterns.
Tue Mar 12 12:43:27 1996 Jim Wilson <>
* i960.h (ROUND_TYPE_SIZE): Return round_up result instead of
* expr.c (expand_expr, case COMPONENT_REF): For unaligned object in
an aligned union, delete check for EXPAND_SUM.
* expr.h (clear_storage): Add comment terminator.
Mon Mar 11 19:07:50 1996 Jeffrey A. Law <>
* recog.c (constrain_operands, case 'V'): Don't call
offsettable_memref_p before reload has completed.
Mon Mar 11 16:06:13 1996 Doug Evans <>
* h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
(CC_DONE_CBIT): Delete.
* h8300.c (cond_string): Delete CC_DONE_CBIT handling.
(notice_update_cc): Delete CC_CBIT, CC_WHOOPS. Add CC_SET_ZN_C0.
(restore_compare_p): New function.
(shift_one): Use shll instead of shal so overflow bit is usable.
Set cc_valid bits to cc_status.flags values.
(emit_a_shift): Set cc_status.flags.
* (attr cc): Delete whoops,cbit. Add set_zn_c0.
(all patterns) Update cc attr setting.
(tstqi,tsthi,tstsi): Delete CC_DONE_CBIT handling.
(addhi3,subhi3): Change define_expand to define_insn.
(branch_true,branch_false): Check if compare needs to be restored.
Mon Mar 11 13:55:23 1996 Michael Meissner <>
* rs6000.h (CONST_DOUBLE_OK_FOR_LETTER_P): Add 'H' for movdi
patterns in 32 bit that generate 3 instructions.
(num_insns_constant): Add declaration.
* rs6000.c (num_insns_constant{,_wide}) Functions to determine the
number of insns it takes to generate an integer constant.
(easy_fp_constant): Allow DImode in easy constants. Use
(input_operand): Allow any CONST_{INT,DOUBLE}'s for {SI,DI}mode.
* (movdi): Generate a normal movdi using a CONST_DOUBLE
for 32 bit mode rather than using SUBREG's. For 64 bit mode,
break large integer constants into smaller pieces. Add various
define_splits to handle loading the various DImode constants.
Mon Mar 11 06:54:19 1996 Richard Kenner (
* combine.c (make_extraction): Use proper mode for INNER in all cases.
(simplify_comparison, case ZERO_EXTRACT): For bits big endian and
no extzv, use BITS_PER_WORD.
Use proper modes and predicates for {sign,zero}_extract.
Sun Mar 10 06:23:52 1996 J"orn Rennecke (
* emit-rtl.c (free_insn): New variable.
(init_emit, restore_emit_status): Clear it.
(gen_sequence): Store insn in free_insn when sequence length is 1.
(make_insn_raw): Use free_insn if available and still in the
rtl generation phase.
Fri Mar 8 15:37:31 1996 Mike Stump <>
* expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
on the cleanup chain until after the subexpression has been expanded.
Fri Mar 8 16:14:51 1996 J"orn Rennecke (
* i386.c (ix86_binary_operator_ok): One memory operand is OK.
This is independent of commutativity.
Fri Mar 8 14:07:43 1996 Jim Wilson <>
* expr.c (store_constructor_field): Call store_field if bitpos is
nonzero and target is not a MEM.
* jump.c (jump_optimize): When handle a USE insn before an
unconditional jump, disable the optimization if the USE is the
only insn in the loop.
* sh.c (reg_unused_after): Return 0 if see a JUMP_INSN.
Fri Mar 8 12:08:36 1996 Doug Evans <>
* sparc/lynx.h (CPP_SPEC): Use %(cpp_cpu).
* sparc/ (move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative.
Thu Mar 7 19:14:21 1996 Doug Evans <>
* sparc/t-splet: New file.
* sparc/splet.h: New file.
* configure (sparclet-*-aout*): Use them.
* sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
(FIRST_PSEUDO_REGISTER): Add 1 for %icc (now 101).
(FIXED_REGISTERS): %g0 is fixed by default.
(SPARC_{ICC,FCC}_REG): Define.
(CONDITIONAL_REGISTER_USAGE): Don't fix %fcc0 if v8.
(REG_CLASS_CONTENTS): Reg 0 is an int reg, reg 100 is %icc.
(REGNO_REG_CLASS): Rewrite to use global `sparc_regno_reg_class'.
(REG_CLASS_FROM_LETTER): Handle 'c' for FPCC_REGS in non-v9 case.
(REGNO_OK_FOR_{BASE,INDEX}_P): Treat %g0 as a normal reg.
* sparc.c (leaf_reg_remap): Add %icc=100.
(reg_or_0_operand): Don't allow 0 if TARGET_LIVE_G0.
(fcc_reg_operand): Renamed from ccfp_reg_operand.
Use SPARC_FCC_REG. Don't treat reg 0 as an fcc reg. Don't match
modes if `mode' argument is VOIDmode.
(icc_or_fcc_reg_operand): New function.
(gen_compare_reg): Use SPARC_FCC_REG for v8 fp compares.
Use SPARC_ICC_REG for int compares.
(eligible_for_epilogue_delay): Don't allow anything if TARGET_LIVE_G0.
Delete unnecessary test for %g0.
(emit_move_sequence): Don't emit (set (mem) (const_int 0)) if
(output_scc_insn): Label moved to operand 3. Condition code reg
moved to operand 2.
(sparc_mode_class): Enum C_MODE renamed to CC_MODE.
(hard_32bit_mode_classes): Set reg 0 to S_MODES. Add entry for %icc.
(hard_64bit_mode_classes): Set reg 0 to D_MODES. Add entry for %icc.
(sparc_regno_reg_class): New global.
(sparc_init_modes): Initialize it.
(output_cbranch): Delete fp_cond_reg argument.
(print_operand, MEM op): Don't print "%g0+" if TARGET_LIVE_G0.
(sparc_flat_eligible_for_epilogue_delay): Don't allow anything if
* (live_g0): New attribute.
(*): Integer condition code register is now reg 100.
Use SPARC_ICC_REG instead of hardcoding reg 100 where possible.
Non-v9 floating point condition code register is now reg 96.
(*cmp{sf,df,tf}_{fpe,fp}_sp{32,64}): Combine v9/non-v9 cases.
(*{normal,inverted}_{,fp,fpe}_branch): Update call to output_cbranch.
(*mov{qi,hi,si}_insn): Don't use if TARGET_LIVE_G0.
(*mov{qi,hi,si}_insn_liveg0): New patterns.
(*mov{si,di,sf,df,tf}_ccfp{,e}_sp64): ccfp_reg_operand renamed to
(*negdi2_sp32,negsi2,one_cmplsi2,ffssi2): Ensure %%g0 is 0 if
(*one_cmpldi2_sp32): Move operand 1 to rs1 and use 0 as rs2.
(patterns that use %g0 in rs2): Use 0 immediate value instead.
(patterns that read %g0): Don't use if TARGET_LIVE_G0.
Thu Mar 7 15:39:16 1996 Jim Wilson <>
* sh.h (PASS_IN_REG_P): Change < to <=.
* va-sh.h (va_start): Change __SH3E___ to __SH3E__.
(va_arg): Add little-endian SH3E support. Fix big-endian version
to work for arguments smaller than the word size.
Thu Mar 7 10:37:37 1996 Jeffrey A. Law <>
* lib2funcs.asm: Remove entry/exit routines. Move them into...
* ee.asm: New file. Entry/exit code.
* ee_fp.asm: New file. Entry/exit code with frame pointer.
* t-pa: Corresponding changes.
* t-pro: Corresponding changes.
* pa.c: Fix misc small typos/thinkos in recent changes.
Wed Mar 6 17:36:03 1996 Jason Merrill <>
* cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
Wed Mar 6 15:12:55 1996 Jeffrey A. Law <>
* t-pro (dp-bit rule): Fix typo.
* lib2funcs.asm (__outline_prologue): Remove frame pointer
(__outline_prologue_fp): Out of line prologue with frame pointer.
(__outline_epilogue, outline_epilogue_fp): Similarly.
* pa.c (compute_frame_size): Allocate enough space to avoid holes
in the callee register saves. Remove some special handling of %r3.
(hppa_expand_prologue): Don't do an out of line prologue/epilogue
if it would take more insns than an inline prologue/epilogue.
Don't leave holes in the callee register save set.
(hppa_expand_prologue): Corresponding changes. Pass stack size
to out of line epilogue code.
* pa.h (FRAME_POINTER_REQUIRED): Revert last change.
* (outline_prologue_call): Handle outline prologues which
don't need frame pointers.
(outline_epilogue_call): Similarly.
* t-pro: Reenable multilib code. Build a set of libraries that
optimize for space.
Wed Mar 6 14:28:14 1996 Jim Wilson <>
* (USER_H): Add ginclude/va-sh.h.
* ginclude/stdarg.h, ginclude/varargs.h: Use va-sh.h.
* ginclude/va-sh.h: New file.
* sh.h (PASS_IN_REG_P): Fix typo in last change.
Wed Mar 6 11:42:06 1996 David Edelsohn <>
* rs6000.h (enum processor_type): Remove PROCESSOR_PPC602.
(RTX_COSTS): Remove PROCESSOR_PPC602. PPC603 MULT cost depends
on constant and domain.
* rs6000.c (processor_target_table): 602 uses PROCESSOR_PPC603.
(get_issue_rate): Remove CPU_PPC602.
* (function units): Remove PPC602. Add store and
fpstore type attribute values. Update patterns.
Tue Mar 5 18:43:43 1996 Richard Henderson <>
* m68k/coff.h (ASM_OUTPUT_SECTION_NAME): New define.
* m68k/{aux-crt1.c,aux-crt[2n].asm}: New files.
* m68k/{aux-exit.c,aux-low.gld,aux-mcount.c}: More new files.
* m68k/{aux.h,auxgnu.h,auxstd.h}: Even more new files.
* m68k/{t-aux,xm-aux.h}: The rest of the new files.
* m68k/sgs.h (ASM_OUTPUT_CASE_END): Add missing semicolon.
(switch_table_difference_label_flag): Make extern.
* fixincludes (sys/param.h): Fix c89 __asm statements.
* configure (m68k-apple-aux*): New target.
Tue Mar 5 17:38:19 1996 Doug Evans <>
* (*mov{qi,hi,si}_insn): Simplify length attribute.
(*movsi_insn): Use fpload/fpstore attributes for fp loads/stores.
%r1 -> %1 for fpstore alternative.
(*movsf_insn,*movsf_no_f_insn): %r1 -> %1.
Tue Mar 5 17:19:17 1996 Jason Merrill <>
* expr.c (expand_expr, case *_DECL): If we make a non-local
reference from a function with DECL_NO_STATIC_CHAIN set, abort.
(expand_expr, case ADDR_EXPR): We don't need a trampoline for a
function with DECL_NO_STATIC_CHAIN set.
* function.c (lookup_static_chain): If we're checking on a function
that doesn't need a static chain, return 0.
(init_function_start): We don't need context if DECL_NO_STATIC_CHAIN
is set.
* tree.c (staticp): Check DECL_NO_STATIC_CHAIN on nested functions.
Tue Mar 5 15:04:29 1996 Jim Wilson <>
* (push_e, pop_e): Add TARGET_SH3E to condition.
* sh.c (find_barrier): Set si_limit to 1018 instead of 1020, and
hi_limit to 510 instead of 512.
Tue Mar 5 13:39:44 1996 Doug Evans <>
* loop.c (init_loop): Use pseudo reg in add_cost computation
so cost doesn't vary depending on whether reg 0 happens to be
fixed or not.
Tue Mar 5 09:32:24 1996 J"orn Rennecke (
* reg-stack.c (record_label_references): Check for undefined label.
Tue Mar 5 09:22:20 1996 Scott Christley (
* objc/objc-api.h, objc/runtime.h: Include objc/thread.h.
* objc/class.c (__objc_init_class_tables): Surround sarray access
with mutex lock/unlock.
(__objc_add_class_to_hash, objc_lookup_class): Likewise.
(objc_get_class, objc_get_next_class): Likewise.
(__objc_resolve_class_links, class_pose_as): Likewise.
* objc/init.c (__objc_runtime_mutux, __objc_runtime_thread_alive):
New variables.
(objc_init_statics, __objc_init_protocols): Surround sarray access
with mutex lock/unlock
(__objc_exec_class): Likewise.
Initialization for thread-safe global variables.
Declarations for thread-safe functions and global variables
* objc/sendmsg.c (get_imp, __objc_responds_to):
Surround sarray access with mutex lock/unlock.
(__objc_init_install_dtable): Likewise.
(__objc_update_dispatch_table_for_class): Likewise.
(__objc_print_dtable_stats): Likewise.
* objc/selector.c (sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
(sel_get_any_uid, sel_get_name, sel_register_name): Likewise.
(sel_register_typed_name): Likewise.
* objc/sarray.h (union sversion): New.
(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.
* objc/sarray.c (sarray_{remove,free}_garbage): New functions.
(sarray_at_put, sarray_new, sarray_lazy_copy):
Modify/copy sarray structure/data in a thread-safe manner
(sarray_{realloc,free}): Reallocate/free sarray structure/data in a
thread-safe manner.
* objc/THREADS, objc/thread.c, objc/thread.h: New files.
* objc/thread-{decosf1,irix,solaris,win32,single}.c: New files.
* objc/objc-list.h: Renamed from objc/list.h.
* objc/Makefile: Changes to compile new files and name renaming.
* objc/makefile.dos: Likewise.
Tue Mar 5 07:51:31 1996 Richard Kenner (
* bc-emit.c, bc-optab.c (free): Delete declaration of library function.
* c-decl.c (duplicate_decl): If making decl non-external, copy
context from old to new.
Tue Mar 5 02:27:35 1996 Jeffrey A. Law <
* lib2funcs.asm (__outline_prologue): New "function".
(__outline_epilogue): New "function".
* pa.h (TARGET_SPACE): Define.
(target_flags): Add -mspace and -mno-space. Enable/disable
space saving optimizations.
(FRAME_POINTER_REQUIRED): Frame pointers are always required
when generating out of line prologues and epilogues.
* pa.c (compute_frame_size): Handle out of line prologues/epilogues.
(hppa_expand_prologue): If optimizing for space, emit an out of
line prologue.
(hppa_expand_epilogue): Similarly.
(override_options): Optimizing for space is not compatible with
either profiling or PIC code generation.
* (outline_prologue_call): New pattern.
(outline_epilogue_call): Likewise.
Tue Mar 5 02:17:32 1996 Doug Evans <>
* (*cmp{si,di}_insn): %r0 -> %0.
(DFmode move define_split): Ensure registers not extended v9 fp regs.
(*mov{sf,df,tf}_cc_reg_sp64): %r3 -> %3.
Mon Mar 4 18:46:37 1996 Manfred Hollstein <>
* (CRT0STUFF_T_CFLAGS): New macro.
(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.
* collect2.c (main): Check new define DEFAULT_A_OUT_NAME.
* m68k.c (print_operand): Emit .l as scale factor #ifdef MOTOROLA.
* m68k/mot3300-crt0.S, m68k/mot3300Mcrt0.S: New files.
* m68k/mot3300g.h: Deleted.
* m68k/mot3300.h (FUNCTION_PROFILER): Emit label references
corresponding to those generated by ASM_OUTPUT_INTERNAL_LABEL.
(MOTOROLA, MOTOROLA_BSR, ...): Define #ifndef USE_GAS.
(ASM_SPEC): Define properly #ifdef USE_GAS.
(LIB_SPEC): -L/usr/lib/libp deleted.
(STARTFILE_SPEC): -L/usr/lib/libp added.
(LINK_SPEC): Pass -v if GNU ld is used.
(LOCAL_LABEL_PREFIX): Local labels start with .L using GAS, else L%.
(FUNCTION_PROFILER): Call asm_fprintf instead of normal fprintf.
(ASM_APP_ON, ASM_FILE_START): GAS supports it.
(CTORS_.../DTORS_...): Define if GNU ld is used.
(ASM_FILE_START): Define properly for Motorola and GNU as syntax.
(TARGET_VERSION): Re-define only #ifndef USE_GAS.
(GLOBAL_ASM_OP): Re-define only #ifndef USE_GAS.
(ALIGN_ASM_OP, SKIP_ASM_OP): New macros.
(ASM_OUTPUT_SOURCE_FILENAME): Define only if not using GNU as.
(ASM_{GENERATE,OUTPUT}_INTERAL_LABEL): Provide proper definitions for
Motorola and GNU as syntax.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Changed for portability between
Motorola and GNU as syntax.
(ASM_OUTPUT_{CASE_LABEL,OPCODE}): Define only if not using GNU as.
(ASM_OUTPUT_{COMMON,LOCAL}): Proper defns for Motorola and gas syntax.
(SDB_...): Define only for Motorola as.
(ALT_LIBM): New define to tell g++.c about an alternative name for
* m68k/t-mot3300, m68k/t-mot3300-{gald,gas,gld}: New files.
* m68k/x-mot3300-gas: New file.
* m68k/xm-mot3300.h (USG): Set to 1.
* configure (m68k-motorola-sysv*): Keep track of new different
combinations (--with-gnu-...), and provide proper definitions for
tm_file, xmake_file, tmake_file, use_collect2, and extra_parts.
* gbl-ctors.h (HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
(atexit): Use `int atexit' prototype also if NEED_ATEXIT is defined.
(on_exit): According to man on_exit on the Sun it returns int not void.
* libgcc2.c (L_bb/atexit, onexit): Declarations replaced by
#include'ing "gbl-ctors.h".
(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.
Mon Mar 4 18:03:38 1996 Bryan Ford (
* configure (i[3456]86-moss-msdos*): New target.
* i386/moss.h: New file.
Mon Mar 4 17:38:50 1996 Jim Wilson <>
* sh.h (PASS_IN_REG_P): Don't reject BLKmode for SH3e.
For SH3e, do reject parameter that won't fit entirely in registers.
* (mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
(mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.
* sh.c (machine_dependent_reorg): In TARGET_RELAX code, when scan
forward from LINK, fail if pass a CODE_LABEL before finding INSN.
Fail if SCAN not INSN is a JUMP_INSN.
Mon Mar 4 11:27:10 1996 Michael Meissner <>
* rs6000.h (CALL_LONG): Change CALL_xx values from an enumeration
to bitmasks. Add CALL_LONG to support longcall attributes.
(rs6000_args): Call_cookie field is now an int.
(rs6000_longcall_ref): Add declaration.
* rs6000.c (init_cumulative_args): Add support for longcall
attributes to always call through a pointer.
(function_arg): Ditto.
(rs6000_valid_type_attribute_p): Ditto.
(rs6000_longcall_ref): New function for long calls.
* (call insns): Add support for longcall attributes.
Mon Mar 4 08:42:14 1996 J"orn Rennecke (
* real.c (significand_size): Don't test the modes, but their sizes.
* dwarfout.c (xstrdup): Moved from here.
* toplev.c (xstrdup): New function.
* tree.h (xstrdup): Declare.
* bc-emit.c (bc_xstrdup): Delete.
* expr.c (bc_strdup): Delete.
(bc_load_externaddr_id): Use xstrdup instead of bc_xstrdup.
* function.c (bc_expand_function_start): Likewise.
* 1750a.c (strdup): Delete.
(float_label): Use xstrdup instead of strdup.
* 1750a.h (xstrdup): Declare instead of instead of strdup.
(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
Mon Mar 4 08:23:23 1996 Richard Kenner <>
* xm-we32k.h (NO_WAIT_H): Deleted.
* collect2.c: Never include wait.h.
Sat Mar 2 22:43:07 1996 Torbjorn Granlund <>
* configure (code for making links): Work around sh bug on FreeBSD.
Sat Mar 2 13:40:29 1996 Jeffrey A. Law <>
* h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of
Sat Mar 2 08:04:50 1996 Richard Kenner (
* calls.c (expand_call): If passing by invisible ref, not const.
* sparc.c (SKIP_CALLERS_UNIMP_P): Make agree with test used in call.
* expr.c (do_jump, case COMPOUND_EXPR): Call preserve_temp_slots.
* fold-const.c (fold, case *_DIV_EXPR): Ignore SAVE_EXPR if has RTL.
Fri Mar 1 17:59:17 1996 Jeffrey A. Law <>
* optabs.c (emit_cmp_insn): Immediately copy the return
value from the library call into a pseudo register.
(emit_float_lib_cmp): Likewise.
Fri Mar 1 14:37:40 1996 Michael Meissner <>
* rs6000/sysv4.h (BSS_SECTION_ASM_OP): Define.
(*_SECTION_ASM_OP): Change tab after .section into a space.
(ASM_OUTPUT_ALIGNED_LOCAL): Rewrite to use bss_section.
* rs6000/win-nt.h (BSS_SECTION_ASM_OP): Define.
(ASM_OUTPUT_LOCAL): Don't define any more.
Thu Feb 29 17:33:12 1996 Jim Wilson <>
* c-typeck.c (push_init_level): When output padding to align structure
field, set constructor_unfilled_fields.
* dbxout.c (dbxout_type, case METHOD_TYPE): Add CHARS (1) call
after emitting second '#' character.
Thu Feb 29 13:59:27 1996 Doug Evans <>
* h8300.h (ASM_OUTPUT_BSS): Define.
* m68k/coff.h (BSS_SECTION_ASM_OP): Define.
* m68k/m68k-aout.h (BSS_SECTION_ASM_OP): Define.
Thu Feb 29 13:39:39 1996 Per Bothner <>
* varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR,
first extract and compare the set length.
* varasm.c (record_constant_1): For SET_TYPE CONSTRUCTOR,
permanent_obstack.next_free is *end* of available space.
Thu Feb 29 13:14:14 1996 Jeffrey A. Law <>
* pa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and
* (symbolic high part): Handle TARGET_LONG_LOAD_STORE.
Thu Feb 29 11:39:30 1996 Stan Cox <>
* (cmpxf*): XF compare cannot have mem operands.
(casesi expand): Put (minus:SI..) into subsi3 format.
* i386.c (i386_return_pops_args): Cleanup extra argument
used as address of a returned structure.
Wed Feb 28 22:24:28 1996 Doug Evans <>
* varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP
is defined.
(bss_section,asm_output_bss,asm_output_aligned_bss): New functions.
(assemble_variable): Delete redundant test for too large an object.
Rewrite test for uninitialized variables. Use new macros
ASM_OUTPUT{,_ALIGNED}_BSS if defined to output global uninitialized
but not common variables.
* bytecode.h (BC_OUTPUT_BSS): Define.
* lynx.h (EXTRA_SECTIONS): Delete in_bss.
* svr3.h (EXTRA_SECTIONS): Likewise.
* dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete bss_section.
* i386/aix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete
* i386/att.h (BSS_SECTION_FUNCTION): Delete.
* i386/sco5.h (EXTRA_SECTIONS): Delete in_bss.
* i386/seq-sysv3.h (BSS_SECTION_FUNCTION): Delete.
* i386/svr3gas.h (EXTRA_SECTIONS): Delete in_bss.
* m68k/m68k.h (BC_OUTPUT_BSS): Define.
* mips/iris6.h (EXTRA_SECTIONS): Delete in_bss.
* pa.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete bss_section.
* sparc/litecoff.h (EXTRA_SECTIONS): Delete in_bss.
Wed Feb 28 14:12:25 1996 Jim Wilson <>
registers only when TARGET_SH3E.
(PASS_IN_REG_P): Exclude BLKmode only when ! TARGET_SH3E.
Wed Feb 28 12:03:26 1996 Michael Meissner <>
* rs6000.c (rs6000_trampoline_{template,size}): Change Windows NT
trampoline template so it doesn't require making stack executable.
Add support for 64 bit systems.
(rs6000_initialize_trampoline): Ditto.
Tue Feb 27 16:42:00 1996 David Edelsohn <>
* rs6000.c (print_operand): New code 'H'.
* (insv, extzv): Add DImode patterns. Use 'h'
consistently for masking SImode shifts.
(rotldi3, ashldi3, lshrdi3, ashrdi3): Use 'H'.
(movsf split): Generate CONST_INT instead of SUBREG.
Tue Feb 27 15:02:17 1996 Doug Evans <>
* sh.h (HANDLE_PRAGMA): Delete `return'.
Tue Feb 27 08:18:12 1996 Richard Earnshaw (
* arm.c (aof_text_section): Remove pseudo read-only hack. Doesn't
take a parameter any more.
readonly data sections.
* arm.h (enum arm_cond_code): New enum.
(ARM_INVERSE_CONDITION_CODE): Moved here from arm.c.
(SELECT_CC_MODE): Call arm_select_cc_mode to do the work.
(PREDICATE_CODES): Add dominant_cc_register; delete
* arm.c (arm_current_cc): Now an enum.
(revsersible_cc_register): Delete.
(dominant_cc_register): New function.
(select_dominance_cc_mode): New function.
(arm_select_cc_mode): New function.
(output_return_instruction): New parameter REVERSE, used to
reverse the condition of a conditional return. All callers
(arm_print_operand case 'D'): Only suppress condition printing
if the operand is a NULL pointer.
(get_arm_condition_code): Now a static function returning
enum arm_cond_code. Handle dominance expressions. Return enum
values rather than integers.
* (*addsi3_compare0_scratch): New insn.
(*movsi_compare0, *cmpsi_insn, *cmpsi_shiftsi): Make sure the
compare has mode CC.
(cmp{si,sf,df,xf} expands): Just provide sufficient information
to allow the parameters to be matched properly.
(*cmpsi_negsi): Delete (of dubious validity).
(*cmpsi_shiftsi_swp): New pattern.
(*condbranch_reversed): No longer needs to check REVERSIBLE_CC_MODE.
(mov{si,sf,df}cc, *mov{si,sf,df}{,_hard,_soft}_insn): The mode of the
IF_THEN_ELSE must be appropriate to the target (not void).
(*and_scc): Match cc_register, not reversible_cc_register.
(*ior_compare_compare): Delete.
(split for ior_compare_compare + condjump): Delete.
(*impossible_cond_compare): Delete.
(*condition_compare_ior): Delete.
(*cond_move): Mode for the IF_THEN_ELSE must be SImode.
(*and_scc_scc): Delete.
(split for and_scc_scc + condjump): Delete.
(*impossible_cond_branch_and): Delete.
(*cmp_ite0, *cmp_ite1): New patterns.
(if_compare_not): Should be an anonymous pattern.
(Peephole for move and compare): Compare mode must be mode CCmode.
(Split pattern for comparing shifted reg then branch): Delete.
(*loadqi_compare): Delete, replaced with a split pattern to do
the same thing.
(*cond_move_not): Match cc_register, not reversible_cc_register.
* arm.c ({load,store}_multiple_sequence): New functions.
(emit_{ldm,stm}_seq): New functions.
* (load/store multiple peepholes): Rewrite using the above
(all patterns taking immediate_operand): If the code later assumes
this is a CONST_INT, then match const_int_operand instead.
Mon Feb 26 17:26:13 1996 Doug Evans <>
* Add sparclet scheduling parameters.
(compare define_insn's): Move closer to compare define_expand's.
(32 bit multiply patterns): Use for TARGET_SPARCLET.
(*smacsi,*smacdi,*umacdi): Multiply/accumulate patterns for the
Sat Feb 24 19:13:29 1996 David Edelsohn <>
* (movsf split): Fix typo in last patch.
Sat Feb 24 10:02:55 1996 Michael Meissner <>
* toplev.c (fatal_insn): Flush stdout/stderr.
Sat Feb 24 02:03:28 1996 Jeffrey A. Law <>
* (abssi2): Rework to avoid matching constraints.
Fri Feb 23 11:21:43 1996 Jeffrey A. Law <>
* pa.c (override_options): Warn if both PIC code generation and
profiling are requested.
Fri Feb 23 08:47:38 1996 Richard Kenner (kenner at vlsi1)
* expr.c (expand_builtin, case BUILT_IN_SETJMP): Set CONST_CALL_P
on NOTE_INSN_SETJMP instead of emitting USE insns for call-saved regs.
* reload1.c (reload): For special CONST_CALL_P NOTE_INSN_SETJMP,
mark all call-saved regs as used.
* sched.c (sched_analyze): Record NOTE_INSN_SETJMP if no
CALL_INSN as prev; preserve CONST_CALL_P bit.
(reemit_notes): Restore CONST_CALL_P.
Thu Feb 22 17:45:12 1996 Doug Evans <>
* configure (sparclet-*-aout*): Set extra_headers.
* ginclude/inl-sparc.h: New file.
Wed Feb 21 20:39:53 1996 Doug Evans <>
* configure (sparc64-*-solaris2*): Merge with sparc-*-solaris2*.
* sparc.h (enum processor_type): Declare.
(sparc_cpu_attr): Define.
(TARGET_OPTIONS): Add -mtune=.
(sparc_select): Declare.
(sparc_cpu_string): Delete.
({FIXED,CALL_USED}_REGISTERS): Merge !v9/v9 cases.
(CONDITIONAL_REGISTER_USAGE): Mark %g5 as fixed if !v9.
Mark %g1 as fixed if v9. Fix v9-only regs if !v9.
Mark fp{16..47} as call-saved if v9.
(enum reg_class): Merge !v9/v9 cases.
* sparc.c (sparc_cpu_string): Delete.
(sparc_select): New global.
(sparc_override_options): Handle -mtune=xxx.
* (cpu attr): Add sparc{lite,let} implementations.
* sparc/sp64-sol2.h: Deleted.
* (consttable_end): Delete call to text_section.
(align_4): Delete call to readonly_data_section.
Wed Feb 21 14:29:06 1996 Ian Lance Taylor <>
* cplus-dem.c (demangle_template): Initialize is_bool. Correctly
handle 0 as a pointer value parameter.
Wed Feb 21 14:13:29 1996 Jason Merrill <>
* tree.c (decl_function_context): Do decl_function_context right for
function-local classes.
Wed Feb 21 12:42:52 1996 Jeffrey A. Law <>
* c-typeck.c (initializer_constant_valid_p): Don't dereference
a null pointer on partial structure initialization.
Wed Feb 21 11:49:58 1996 David Edelsohn <>
* rs6000.h (ASM_OUTPUT_EXTERNAL): Append section info
even when verbatim symbol prefix '*' present.
* rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Same.
* rs6000/aix41.h (ASM_OUTPUT_EXTERNAL): Same.
* rs6000/powerpc.h (ASM_OUTPUT_EXTERNAL): Same.
* rs6000/win-nt.h (ASM_OUTPUT_EXTERNAL): Same.
Wed Feb 21 03:55:32 1996 Paul Eggert <>
* cccp.c (validate_else): Don't loop given `#endif /'.
Handle multiple adjacent backslash-newlines correctly.
Accept a new parameter LIMIT to specify end of input;
this prevents confusion when the input contains '\0' characters.
(collect_expansion): Fix off-by-1 error when searching for `*/'
at end of a comment used for traditional token concatenation.
(macarg1): Fix off-by-1 error when skipping past `*/'
at end of comment.
Tue Feb 20 16:12:31 1996 Doug Evans <>
* hard-reg-set.h (twice unrolled GO_IF_HARD_REG_EQUAL): Add missing \.
Tue Feb 20 14:21:16 1996 Jeffrey A. Law <>
* pa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.
* pa.c (hppa_expand_epilogue): Always emit a blockage insn
before cutting back the stack.
Mon Feb 19 19:42:15 1996 Brendan Kehoe <>
* sparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.
(LINK_SPEC): Only add `-assert pure-text' if -mimpure-text wasn't used.
Mon Feb 19 19:20:15 1996 Doug Evans <>
* configure (sparc-aout): sparc-aout.h renamed to aout.h.
(sparclet-aout): Likewise.
(sparclite-*-aout*): Renamed from sparclite-*-*.
Don't set use_collect2.
(target_cpu_default): Set to TARGET_CPU_<cpu> for sparc.
* sparc.h (TARGET_CPU_sparc{,let,lite,64}): Define.
(SPARC_ARCH64 CPP_PREDEFINES): Define __arch64__.
(CPP_SPEC): Add %(cpp_cpu).
(CPP_CPU_SPEC): Define.
(CC1_SPEC): Convert -m<cpu> to -mcpu=<cpu>.
(ASM_SPEC): Add %(asm_cpu).
(ASM_CPU_SPEC): Define.
(MASK_ISA): Renamed from MASK_CPUS.
(TARGET_SWITCHES): Delete no-{v8,sparclite}.
(sparc_cpu,sparc_cpu_string): Declare.
(FIXED_REGISTERS): Add definitions for sparc64 in 32 bit mode.
(CONDITIONAL_REGISTER_USAGE): Don't set fixed_regs[234] if sparc64.
Don't set call_used_regs[48..80] for sparc64 in 32 bit mode.
Don't clobber fixed_regs[234] if -ffixed- was passed.
(ADJUST_COST): Change test for supersparc.
* sparc.c (sparc_cpu_string,sparc_cpu): New globals.
(sparc_override_options): Set ISA and CPU from sparc_cpu_string.
Delete tests for v9 only switches if not v9.
Error if -mcpu=v9 and v9 support not compiled in.
* sparc/sol2.h (CPP_SPEC): Use %(cpp_cpu).
(ASM_SPEC): Likewise.
(ASM_{DEFAULT,CPU}_SPEC): Use Solaris syntax for sparc64.
* sparc/sysv4.h (ASM_SPEC): Add %(asm_cpu).
* sparc/t-sparcbare (MULTILIB_*): -mv8 renamed to -mcpu=v8.
* sparc/t-sparclite (MULTILIB_*): Delete msoft-float and mno-flat,
they're the defaults. Add -mcpu=f934 as synonym for -mfpu.
* va-sparc.h (__arch64__): Renamed from __sparc_v9__.
* sparc/lite.h: #include aoutos.h.
* sparc/sp64-aout.h: #include aoutos.h.
* sparc/sp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.
(CPP_PREDEFINES): Define __arch64__.
* sparc/sp64-sol2.h (TARGET_DEFAULT, SUBTARGET_SWITCHES): Delete.
(ASM_SPEC): Delete.
* sparc.h ({MASK,TARGET}_FRW): Delete.
renamed to TARGET_FLAT.
* (cpu attr): Add all cpu variants.
(negtf2,negdf2,abstf2,absdf2): Use isa attr, not arch attr, in
determining insn lengths.
* sparc/aout.h: Renamed from sparc-aout.h.
Add -Acpu(sparc) -Amachine(sparc).
Mon Feb 19 17:49:08 1996 David Edelsohn <>
* (movsf split): Use SUBREG, not operand_subword.
(movdf split): operand_subword TARGET_32BIT and new split using
* rs6000.c (easy_fp_constant): Rewrite to not use operand_subword.
(input_operand): Remove final add_operand test made irrelevant by
Dec. 8 change.
(output_toc): Handle DImode values.
Mon Feb 19 13:38:00 1996 Lee Iverson <leei@Canada.AI.SRI.COM>
* i386/sol2.h (SWITCH_TAKES_ARG): Restore -R.
* sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
Mon Feb 19 08:19:00 1996 Michael Meissner <>
* hard-reg-set.h (HARD_REG macros): If more than
HOST_BITS_PER_WIDE_INT hard registers and less than or equal to
4*HOST_BITS_PER_WIDE_INT hard registers, unroll loops by hand.
Mon Feb 19 07:35:07 1996 Torbjorn Granlund <>
* (not:SI with assign and compare): Fix typo.
(not:DI with assign and compare): Likewise.
Mon Feb 19 07:17:25 1996 Richard Kenner (
* (nonlocal_goto): No longer need USE of %o0.
(goto_handler_and_restore): Show uses %o0.
* combine.c (force_to_mode, case IOR): Fix typo in commuting
* alpha.c (call_operand): If in REG, only reg 27 valid.
Mon Feb 19 06:57:34 1996 Richard Earnshaw (
* emit-rtl.c (operand_subword): For 32-bit targets, return
the appropriate subword of extended precision CONST_DOUBLEs.
* arm.c (offsettable_memory_operand): New function.
(alignable_memory_operand): New function.
(gen_rotated_half_load): New function.
(get_arm_condition_code): Extract the mode of the comparison and
use it to generate the correct return value.
(SELECT_CC_MODE): return CC_Zmode if the operand is QImode. Allow LT
and GE comparisons in CC_NOOVmode.
(PREDICATE_CODES): add offsettable_memory_operand and
* (*zeroextract[qs]i_compare0_scratch): Use const_int_operand
for operands 1 and 2.
(split patterns for aligned memory half-word operations): New patterns.
(movhi): Handle memory accesses where the alignment is known in a more
efficient manner.
(*compareqi_eq0): Use CC_Zmode.
Mon Feb 19 05:34:08 1996 Jason Merrill <>
* toplev.c (lang_options): Add -W{no-,}sign-compare.
* c-tree.h: Declare warn_sign_compare.
* c-typeck.c (build_binary_op): Check warn_sign_compare rather
than extra_warnings to decide whether to warn about comparison of
signed and unsigned.
* c-decl.c (c_decode_option): Handle warn_sign_compare. -Wall
implies -Wsign-compare.
Sun Feb 18 21:13:44 1996 Pat Rankin (
* c-lex.c (yylex, case '0'..'9','.'): For cases '0' and '1',
check for single digit constant before resorting to general
number processing.
Sun Feb 18 19:29:44 1996 J.T. Conklin <>
* m68k.h (TARGET_68060): New macro.
(TARGET_SWITCHES): Add -m68060.
* (const_umulsi3_highpart): Disable for TARGET_M68060.
(ftruncdf2, ftruncsf2, muldf3, mulsidi3): Likewise.
(smulsi3_highpart, umulsi3_highpart, umulsidi3): Likewise.
* {m68k,ns32k,sparc}/netbsd.h (DBX_NO_XREFS): Removed.
Sun Feb 18 13:29:56 1996 Charles M. Hannum (
* c-common.c (check_format_info): Warn about `L' if -pedantic.
Fri Feb 16 20:13:23 1996 Paul Eggert <>
* c-typeck.c (convert_for_assignment):
Bring back conversion to union without a cast,
undoing the Jan 16 change, but with the following differences:
- The union must have the transparent_union attribute.
- The conversion must be for a function argument.
- Warn consistently about such conversions if pedantic.
- Do not warn about an assignment incompatibility for one union member
if another union member is compatible with no warning.
Fri Feb 16 12:06:21 1996 Stan Cox <>
* i386.c (ix86_*_binary_operator*): Allow CONST_INT as operand1
* i386/dgux.h (OPTIMIZATION_OPTIONS): Call optimization_options.
Fri Feb 16 08:39:47 1996 Richard Kenner (
* configure: Change stdout report when have multiple files in
tm_file, host_xm_file, or build_xm_file.
(a29k-*-bsd): Use both a29k.h and unix.h.
(a29k-*-udi): Rename a29k-udi.h to udi.h;
use a29k.h, dbxcoff.h, and it.
(a29k-*-vxworks): Use a29k.h, dbxcoff.h, a29k/udi.h, and a29k/vx29k.h.
(alpha-dec-osf[23456789]*): Use alpha.h, not osf2.h.
(alpha-dec-osf1.2): Use alpha.h and alpha/osf12.h.
(alpha-*-osf*): Add explicit assignment of tm_file.
* a29k/udi.h: Renamed from a29k-udi.h.
Don't include a29k.h or dbxcoff.h.
* a29k/unix.h: Don't include a29k.h.
* a29k/vx29k.h: Don't include a29k-udi.h.
* alpha.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int.
* alpha/osf2.h: Deleted.
* alpha/osf12.h: Don't include alpha.h.
(WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.
* alpha/win-nt.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.
Thu Feb 15 18:26:04 1996 Michael Meissner <>
* rs6000/ntstack.asm (__allocate_stack): Round up length to 16
byte boundary.
* (allocate_stack): On Windows NT, call set_sp to
indicate to CSE stack pointer changes with call to __allocate_stack.
(set_sp): New pattern.
Thu Feb 15 16:49:15 1996 Jim Wilson <>
* integrate.c (save_for_inline_copying): Allocate reg_map with size
based on regno_pointer_flag_length instead of max_reg+1.
Thu Feb 15 07:48:34 1996 Richard Kenner (
* fixincludes (rpc/types.h): Remove spurious "ls" command.
* reload1.c (eliminate_regs, case USE): If using a register that
is source of elimination, show can't be eliminated.
* expr.c (expand_builtin, case BUILT_IN_SETJMP): Shows clobbers FP
and all caller-save registers.
Set current_function_has_nonlocal_goto.
Wed Feb 14 13:51:55 1996 David Edelsohn <>
* (fix_truncdfsi2): Use SUBREG not operand_subword.
(movdi): Test HOST_BITS_PER_WIDE_INT at build time.
* collect2.c (scan_libraries): Append '/' to import path if missing.
Wed Feb 14 09:01:55 1996 Michael Meissner <>
* (movdi): Use HOST_WIDE_INT, not long long.
Tue Feb 13 19:36:21 1996 Per Bothner <>
* expr.c (store_constructor): Fix flow control thinko (merge error).
* expr.c (store_constructor): Pass correct value to recursive call.
Wed Jan 31 11:34:45 1996 Mike Stump <>
* expr.c (expand_expr, case TARGET_EXPR): We must always store
into the allocated slot for TAREGT_EXPRs.
Tue Feb 13 18:27:05 1996 Philippe De Muyter <>
* configure (powerpc-ibm-aix3): Look for 3.2.x, not 3.2x.
* fixincludes (memory.h): Fix it also on sysV68.
Tue Feb 13 17:59:03 1996 Lee Iverson <leei@Canada.AI.SRI.COM>
* i386/{osfrose,sol2}.h (SWITCH_TAKES_ARG): Likewise.
* mips/{gnu,mips}.h (SWITCH_TAKES_ARG): Likewise.
* sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
* config/svr4.h (SWITCH_TAKES_ARG): Likewise.
Tue Feb 13 17:43:46 1996 Jim Wilson <>
* integrate.c (save_constants_in_decl_trees): New function.
(save_for_inline_copying, save_for_inline_nocopy): Call it.
Tue Feb 13 17:40:27 1996 Richard Kenner <>
* expr.c (convert_move): Fix typo in extendqfh2 case.
* reload1.c (reload): Make some non-group code no longer
Tue Feb 13 17:30:45 1996 J"orn Rennecke (
* pdp11.c: #include flags.h
(output_function_prologue, function_epilogue): Remove declarations
of call_used_regs and frame_pointer_needed.
* c-common.c (overflow_warning): Fix typo in warning message.
* c-decl.c (finish_decl): TREE_ASM_WRITTEN says if duplicate_decls
modified declaration to match an outside file scope declaration.
* stmt.c (expand_end_case): Don't use ADDR_DIFF_VEC for PIC if
ASM_OUTPUT_ADDR_DIFF_ELT is not defined.
* a29k.h, romp.h (ASM_OUTPUT_ADDR_DIFF_ELT): Remove.
Tue Feb 13 13:36:36 1996 Michael Meissner <>
* rs6000/cygwin32.h (CPP_PREDEFINES): Do not define PPC, just
define __PPC__. Also define _ARCH_PPC to be compatible with the
other rs6000/powerpc ports.
* rs6000/win-nt.h (CPP_PREDEFINES): Ditto.
* rs6000/cygwin32.h (LIBGCC_SPEC): Don't define, always link in.
* rs6000/t-{cygwin32,winnt} (MULTILIB*): Remove multilib support.
* rs6000/x-cygwin32 (LANGUAGES): Delete, don't override.
* rs6000/ntstack.asm: New file to provide __allocate_stack, which
guarantees all pages in a dynamically allocated stack frame are
touched in order, so that the stack is properly grown.
* rs6000/cgywin32.asm: Delete unused file.
* rs6000/t-{cygwin32,winnt} (LIB2FUNCS_EXTRA): Add ntstack.S
to libgcc2 build.
* (allocate_stack): For NT, call __allocate_stack to
bump the stack if the size is large or variable.
* libgcc1-test.c (mainCRTStartup,__start): New startup functions
to silence more linkers.
Tue Feb 13 13:30:53 1996 Jim Wilson <>
* expr.c (store_constructor_field): Only call change_address if
bitpos is nonzero.
Tue Feb 13 08:21:01 1996 Fila Kolodny <>
* i370/mvs.h (CPP_SPEC): Add '-trigraphs' because IBM's h files
contain them.
Tue Feb 13 08:17:52 1996 Bernd Schmidt <>
* c-typeck.c (quality_type prototype): Typo, rename as
(build_binary_op): Fix precedence errors.
* combine.c (force_to_mode, num_sign_bit_copies, simplify_comparison):
Fix precedence errors.
* emit-rtl.c (gen_lowpart): Could return without a value.
* jump.c (jump_optimize): Fix potential infinite loop.
* reg-stack.c (record_reg_life_pat): Fix precedence error.
* reload1.c (emit_reload_insns): Fix precedence errors.
* stmt.c (bc_pushcase): Fix precedence error.
Mon Feb 12 23:14:02 1996 Jason Merrill <>
* toplev.c (rest_of_compilation): Also set RTX_INTEGRATED_P when
we aren't going to emit the inline just yet.
Mon Feb 12 21:31:02 1996 Jim Wilson <>
Add one to array index.
Mon Feb 12 20:55:39 1996 H.J. Lu (
* configure (i[345]86-*-linux*): Set tmake_file t-linux.
Add crtbeginS.o and crtendS.o to extra_parts.
* i386/linux.h (CC1, LIB_SPEC): Deleted.
* config/linux.h (STARTFILE_SPEC): Add crtbeginS.o if -shared.
(CC1_SPEC): New.
(LIB_SPEC): Remove %{mieee-fp:-lieee}; use -lc_p for -profile.
* config/t-linux: New file.
Mon Feb 12 20:42:11 1996 Randy Smith <>
* i386/x-osfrose (XCFLAGS{,_NODEBUG}): Remove $(SHLIB).
(XCFLAGS): New variable.
(libdir, mandir, bindir): Delete.
* i386/t-osf: New file.
* i860/paragon.h (STARTFILE_SPEC): Make gcc find crt0.o, not loader.
(LIB_SPEC): Remove /usr/lib.
* (TCFLAGS): New variable.
(libgcc1-test): Remove -nostdlib.
(float.h-cross): Don't give error #ifdef __GCC_FLOAT_NOT_NEEDED.
* enquire.c: Define __GCC_FLOAT_NOT_NEEEDED.
* configure (i[3456]86-*-osfrose): Add t-osf as tmake_file.
Mon Feb 12 18:43:54 1996 Oliver Kellogg (
* 1750a.c (add_1_to_mem): Corrected.
Mon Feb 12 18:23:35 1996 Doug Evans <>
* configure (sparclet-*-aout*): New configuration.
Mon Feb 12 14:43:50 1996 Per Bothner <>
Changes to distinguish typedef from original type in debug output.
* tree.h (DECL_ORIGINAL_TYPE): New macro.
* tree.c (copy_node): Zero out type.symtab union.
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE for typedef origin.
* dbxout,c (dbxout_type): Don't canonicalize typedef type to base.
Mon Feb 12 12:01:16 1996 Richard Earnshaw (
* arm.h: (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
__ARMWEL__ depending on the endian flags passed to the compiler.
(TARGET_SWITCHES): Add option -mwords-little-endian.
(WORDS_BIG_ENDIAN): Select based on the endian switches.
(LIBGCC2_WORDS_BIG_ENDIAN): Define based on run-time endian
* arm.c (output_move_double): Cope with both word-endian
alternatives. Remove extraneous parameters from calls to
(arm_print_operand): New print code 'Q' for the least significant
register of a DImode operand. Make code 'R' always print the
most significant register, rather than the highest numbered.
* (all DImode output patterns): Use print code
'Q' to access the least significant word. Make sure the
patterns are fully aware of the word endianness.
* arm/semi.h (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
__ARMWEL__ depending on the endian flags passed to the compiler.
(LINK_SPEC): Pass -EB to the linker if compiling for big-endian
(ASM_SPEC): Likewise for the assembler.
* arm/semiaof.h (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
__ARMWEL__ depending on the endian flags passed to the compiler.
Mon Feb 12 10:15:29 1996 Ian Lance Taylor <>
* configure: Permit tm_file and xm_file to be a list of header
file names, rather than just a single file. For many targets,
handle --with-stabs by adding dbx.h to tm_file, rather than using
a different tm_file.
* dbx.h: New file.
* alpha/gdb-osf2.h, alpha/gdb-osf12.h, alpha/gdb.h: Deleted.
* i386/sysv4gdb.h, mips/iris{5gdb,4gl,4gdb,3gdb}.h: Likewise.
* mips/dec-gosf1.h, mips/news{4,5}-gdb.h, mips/svr4-t-gdb.h: Likewise.
* mips/ultrix-gdb.h, mips/bsd-{4,5}-gdb.h: Likewise.
* mips/svr{4-5,4-4,3-5,3-4}-gdb.h, mips/mips-5-gdb.h: Likewise.
* mips/ecoff{,l}-gdb.h, mips/mips-4-gdb.h: Likewise.
Mon Feb 12 07:22:20 1996 Richard Kenner (
* integrate.c (save_for_inline_copying): Put virtual regs into
new regno_reg_rtx copy.
Sun Feb 11 18:53:12 1996 Torbjorn Granlund <>
* Delete spurious integer subtract patterns.
Delete % from subtract operand constraints.
Sun Feb 11 19:17:24 1996 Jeffrey A. Law <>
* (movqi): Call CC_STATUS_INIT when loading to/from
an address register via a data register.
Sun Feb 11 08:44:49 1996 Richard Kenner (
* c-common.c (check_format_info): Handle missing type in format
when terminated by a new `%'.
Sat Feb 10 15:14:22 1996 J.T. Conklin <>
* cross-make (STMP_FIXPROTO): Moved from here to build-make.
* build-make (STMP_FIXPROTO): Moved here from cross-make.
Sat Feb 10 08:39:05 1996 Oliver Kellogg (
* (movstrqi): Corrected.
(zero_extendqihi2): Taken out, let GCC synthesize.
(movhi-1): Added insn to move HImode small constant to memory.
(movhf-1): Added insn to move HFmode zero to memory.
(movtqf-1): Added insn to move TQFmode zero to memory.
(numerous insns): Taken out B (Base Reg with Index) mode.
* 1750a.c (movcnt_regno_adjust): Corrected.
(mov_memory_operand, zero_operand): Added.
(b_mode_operand): Corrected.
(simple_memory_operand, add_1_to_mem): Added.
(print_operand_address): Corrected case of 'Q' output modifier.
* 1750a.h (REG_ALLOC_ORDER): Changed back to natural order.
Sat Feb 10 08:28:12 1996 Martin Anantharaman <>
* configure (m68k-*-psos*): New configuration.
* psos.h: New file.
* m68k/m68k-psos.h: New file.
Sat Feb 10 08:07:52 1996 Richard Kenner (
* sched.c (flush_pending_lists): Add new arg, ONLY_WRITE.
(sched_analyze_{1,2,insn}): Add new arg to flush_pending_lists.
(sched_analyze): Always flush pending write list for call, even const.
* integrate.c (save_for_inline_copying): Put reg_map in function's
maybepermanent obstack instead of using alloca; set regno_reg_rtx
to it; delete recently-added copying of this later.
Sat Feb 10 00:49:58 1996 Doug Evans <>
* sched.c (add_dependence): Add test for next != CODE_LABEL.
Fri Feb 9 16:10:04 1996 Stan Cox (
* (fp, integer): Added function units for pentium.
abs*,sqrt*,sin*,cos*,not*,ash*,lsh*,rot*,sub): Tightened constraints,
added attribute support, and made changes for new `binary' and
`unary' functions.
* i386.c (processor_costs): New variable.
(optimization_options, ix86_expand_binary_operator,
ix86_binary_operator_ok, ix86_expand_unary_operator,
ix86_unary_operator_ok, is_mul, is_div, copy_all_rtx, rewrite_address,
last_to_set_cc, doesnt_st_condition_code, sets_condition_code,
str_immediate_operand, is_fp_insn, is_fp_dest, is_fp_store,
agi_dependent, reg_mentioned_in_mem): New functions.
Fri Feb 9 14:47:27 1996 Doug Evans <>
* sparc.c (sp64_medium_pic_operand): New function.
(move_pic_label): Delete.
(legitimize_pic_address): Simplify using some named patterns.
(finalize_pic): Add preliminary sparc64 support.
(emit_move_sequence): Reorganize.
* (pic_lo_sum_si,pic_sethi_si,get_pc_sp32,get_pc_sp64,
move_pic_label_si,move_label_di,sethi_di_sp64): Make named patterns.
(sethi_di_sp64_const,sethi_di_medium_pic): New anonymous patterns.
(move_pic_label_si,move_label_di): Optimize for near labels.
(tablejump): Use for TARGET_MEDANY.
(casesi): Delete.
Fri Feb 9 13:48:45 1996 Jim Wilson <>
* (probe+2, probe+4): New conditional move patterns.
(movsicc): Don't truncate comparison if it is DImode.
* sh.h (CPP_SPEC): Add defines for -m1, -m2, and -m3.
Fri Feb 9 09:11:28 1996 Richard Kenner (
* toplev.c (rest_of_compilation): Set RTX_INTEGRATED_P in
INLINE_HEADER iff function is inlineable.
* calls.c (expand_call): Test RTX_INTEGRATED_P in DECL_SAVED_INSNS.
Thu Feb 8 01:11:15 1996 Jeffrey A. Law <>
* (floatunssisf2 expander): Don't use "general_operand".
(floatunssidf2 expander): Likewise.
Wed Feb 7 16:59:31 1996 Michael Meissner <>
* rs6000/{sysv4,win-nt,netware,cygwin32}.h ({ASM,LINK}_SPEC):
Don't use %{V} for either linker or assembler.
Tue Feb 6 17:22:29 1996 Per Bothner <>
* dbxout.c (dbxout_range_type): Emit non-range INTEGER_TYPE
as a sub-range of itself (so gdb can tell the difference).
Tue Feb 6 17:01:44 1996 David Edelsohn <>
* (addsi3 and adddi3 split): Use cleaner computation
and portable HOST_WIDE_INT.
(iordi3 split): Use HOST_WIDE_INT.
(movdi): Add TARGET_64BIT support and generate 64 bit constants.
(movdi matcher, TARGET_POWERPC64): Add immediate constraint handled
by new define_split.
(allocate_stack): Use TARGET_32BIT.
(tablejump): Add TARGET_64BIT support using ...
(tablejumpsi): Rename original tablejump pattern.
(tablejumpdi): New pattern.
Tue Feb 6 15:29:22 1996 Per Bothner <>
* stor-layout.c (layout_type): Use same code to layout CHAR_TYPE
as for INTEGER_TYPE (instead of hard-wiring in QImode).
Tue Feb 6 15:13:38 1996 Jeffrey A. Law <>
* (various patterns): Avoid using "general operand" in
define_insn patterns.
Sun Feb 4 21:37:05 1996 Michael Meissner <>
* rs6000/eabi{,sim}.h (LINK_START_SPEC): Bump the default start address
for the simulator to 0x10000074 so that we don't waste a page in the
linked file.
Fri Feb 2 19:44:10 1996 Michael Meissner <>
* rs6000/eabi-c{i,n}.asm (.sdata2, .sbss2): Put these in the
read-only section, not read-write.
* libgcc2.c (__unwind_function, rs6000/powerpc): Use _ARCH_PPC
being defined to indicate to use PowerPC mnemonics.
* config/rs6000/t-cygwin32 (MULTILIB*): Add software floating
point support.
Thu Feb 1 09:10:02 1996 Steve Chamberlain <>
* {i386,rs6000}/cygwin32.{asm,h}: New templates.
* {i386,rs6000}/{t,x}-cygwin32: Ditto.
* {i386,rs6000}/xm-cygwin32.h: Ditto.
* configure (powerpcle-*-cygwin32, i[3456]86-*-cygwin32): New.
Fri Feb 2 17:42:40 1996 Paul Eggert <>
* c-decl.c (finish_struct):
Fix typo in transparent union warning that led to core dump.
* (stmt): Warn about `goto *expr;' if pedantic.
(label): Warn about `case expr ... expr:' if pedantic.
Fri Feb 2 11:05:27 1996 Doug Evans <>
* h8300.h (TARGET_ALIGN_300): Renamed from TARGET_ALIGN_STRUCT_300.
(TARGET_SWITCHES): Rename -malign-struct-300 to -malign-300.
Fri Feb 2 08:25:49 1996 Richard Kenner (
* flow.c (jmp_uses_reg_or_mem): Renamed from uses_reg_or_mem.
Don't look into condition of an IF_THEN_ELSE; also make faster.
(find_basic_blocks): Use new name.
Fri Feb 2 06:49:56 1996 J"orn Rennecke (
* reload.c (debug_reload): Fix typo for reload_noncombine.
Thu Feb 1 21:49:02 1996 Jeffrey A. Law <>
default for all pro targets.
* t-pro: Delete all multilib references.
Thu Feb 1 17:50:02 1996 Doug Evans <>
* c-lex.c (check_newline): Return result of HANDLE_PRAGMA.
* h8300.h (HANDLE_PRAGMA): Pass result back to caller.
* i960/i960.h (HANDLE_PRAGMA): Likewise.
* sh.h (HANDLE_PRAGMA): Likewise.
* nextstep.h (HANDLE_PRAGMA): Likewise.
Wed Jan 31 19:26:03 1996 Doug Evans <>
* m68k/m68k-none.h: Rewrite to use EXTRA_SPECS.
* m68k/vxm68k.h (CPP_SPEC): Delete.
Wed Jan 31 15:10:59 1996 David Edelsohn <>
* rs6000.c (output_epilog): Fix PPC64 typos and use TARGET_32BIT.
(output_prolog): Same.
(rs6000_trampoline_template, rs6000_trampoline_size): Use TARGET_32BIT.
* (movdf TARGET_POWERPC64 matcher): Fix std typo.
(movdi TARGET_POWERPC64 matcher): Same.
Wed Jan 31 09:46:11 1996 Richard Earnshaw (
* regs.h (regno_pointer_align, REGNO_POINTER_ALIGN): Delete from here.
* rtl.h (regno_pointer_align, REGNO_POINTER_ALIGN): Put them here.
Wed Jan 31 08:26:12 1996 Andreas Schwab (
* m68k/linux.h (STRICT_ALIGNMENT): Define to zero.
(LEGITIMATE_PIC_OPERAND_P): Match definition from m68kv4.h.
* m68k.h (TRAMPOLINE_{TEMPLATE,SIZE}): Avoid need for helper function.
* m68k/next.h (INITIALIZE_TRAMPOLINE): Adjusted accordingly.
* m68kv4.h (STATIC_CHAIN_REGNUM): Redefine to use register a1.
* m68k/linux.h, m68kv4.h (LIBCALL_VALUE): Return XFmode value in fp0.
* m68k.c (init_68881_table): Use SFmode for the first six
constants and DFmode for the seventh.
* (movqi): Use moveq if possible.
Wed Jan 31 08:18:15 1996 Richard Kenner (
* expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Strip off
INDIRECT_REF when checking second arg.
* calls.c (struct arg_data, expand_call): Test STRICT_ALIGN with #if.
Wed Jan 31 07:47:56 1996 Tim Wright (
* configure (i[345]-sequent-sysv*): Change to sysv3*; add i686.
(i[3456]86-sequent-ptx4*, i[3456]86-sequent-sysv4*): New cases.
* fixinc.ptx (sys/mc_param.h): Remove embedded asm.
* fixinc.svr4 (__STDC__): Add one more case.
* i386/ptx4-i.h, ptx4.h: New files.
Wed Jan 31 07:15:23 1996 Philippe De Muyter (
* ({adddi,subdi}_sexthishl32): 'a' and 'd' versions merged
and fixed; do not generate 'add/sub a,m'.
* gcc.c (warn_std_ptr): Initialize with 0 instead of NULL_PTR.
Tue Jan 30 13:29:05 1996 Ian Lance Taylor <>
* dbxout.c: Don't include <string.h>.
Don't compare strchr result to NULL.
* config/svr4.h (ASM_FINAL_SPEC): Use %|, not ${pipe:-}.
Tue Jan 30 06:48:43 1996 Richard Kenner (
* combine.c (nonzero_bits, case REG): Ignore REG_POINTER_ALIGNMENT.
Restore old code for SP, but use it for all pointers to
defined locations in the frame.
Mon Jan 29 11:25:28 1996 Ian Lance Taylor <>
* dbxout.c (dbxout_type_methods): Don't use #ifndef inside call to
Sun Jan 28 14:44:09 1996 Doug Evans <>
* config/dbxcoff.h (*): #undef first.
Sat Jan 27 21:46:16 1996 David Edelsohn <>
* rs6000.c (rs6000_sync_trampoline): Add cmpdi to 64bit case.
(rs6000_initialize_trampoline): CSE of Pmode to pmode.
* (movdf): Handle move between FPR and 64 bit GPR.
(movdi matcher): Handle SPR move to itself and add "mr." combiner.
Sat Jan 27 10:06:31 1996 Michael Meissner <>
* rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Redefine, put small
data items in .sbss if -msdata.
(SWITCH_TAKES_ARG): Add 'B', 'b', and 'V'.
Sat Jan 27 07:59:25 1996 Richard Kenner (
* tree.h (enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.
* expr.c: Include hard-reg-set.h.
(arg_pointer_save_area): New declaration.
(expand_builtin, case BUILT_IN_{SET,LONG}JMP): New cases.
* (expr.o): Includes hard-reg-set.h.
* c-decl.c (init_decl_processing): Add definitions for
__builtin_setjmp and __builtin_longjmp.
* cccp.c (initialize_builtins): Add def of __HAVE_BUILTIN_SETJMP__.
* expr.c (expand_expr, case COMPONENT_REF): Pass EXPAND_INITIALIZER
to recursive call.
Fri Jan 26 17:24:07 1996 Doug Evans <>
* sparc.h (sparc_arch_type): Delete.
(ARCH64_SWITCHES): Renamed from V9_SWITCHES.
* sparc.c (sparc_arch_type): Delete.
(sparc_init_modes): Likewise.
(output_move_quad): Don't use ldq/stq unless TARGET_HARD_QUAD.
(SUBTARGET_SWITCHES): Add -m{no-,}deprecated-v8-insns.
* (arch attribute): Rewrite.
(isa): New attribute.
(32 bit multiply/divide patterns): Use if TARGET_DEPRECATED_V8_INSNS.
(32 bit divide patterns): V9 doesn't require delay after y reg write.
Fri Jan 26 12:08:43 1996 David Edelsohn <>
* rs6000.h (TARGET_32BIT): Define.
(BITS_PER_WORD, UNITS_PER_WORD): Invert so 32bit expected case.
(RS6000_REG_SAVE, RS6000_SAVE_AREA, RS6000_VARARGS_SIZE): Likewise.
(Pmode, FUNCTION_MODE): Likewise.
Fri Jan 26 10:37:52 1996 Stan Coxs <>
* (umulsidi3): Added for the 88110
Fri Jan 26 09:35:42 1996 Michael Meissner <>
* rs6000/sysv4.h (STRIP_NAME_ENCODING): Deal with names that have
both @ and * prefix characters.
Thu Jan 25 10:03:34 1996 Michael Meissner <>
* rs6000.h (LEGITIMIZE_ADDRESS): Rewrite to use HOST_WIDE_INT, not
plain int.
(optimize,flag_expensive_optimizations): Provide declaration for
expander functions.
* (movsi): Correct code in splitting an address into
load from the TOC, and add low/high integer parts. If expensive
optimizations, and reload hasn't started, use separate pseudo regs
for each step.
* rs6000.c (small_data_operand): Don't use the function
eliminate_constant_term, unwind code directly.
(input_operand): SYMBOL_REF/CONST of small data operand is valid.
(print_{,address_}operand): Add @sda21(0) in appropriate cases for
small data.
%L, etc. so that if the item is in small memory, the appropriate
relocation is used.
(rs6000_select{,_rtx}_section): Don't put floating point constants
or small strings in .sdata2 since we can't tell from the pointer
whether it is in the small data area or not.
* rs6000.h (EXTRA_CONSTRAINT): Add 'U' for small data references.
before calling small_data_operand.
* (movsi): Handle the addresses of small data items.
* rs6000/sysv4.h (g_switch_{value,set}): Add declarations.
(SDATA_DEFAULT_SIZE): Default to 8.
(SUBTARGET_OVERRIDE_OPTIONS): If -G was not set, set it to
(CC1_SPEC): Pass -G nn to the compilers.
(SWITCH_TAKES_ARG): Add -G nn support.
(LINK_SPEC): Pass -G nn to the linker.
Thu Jan 25 09:16:34 1996 Doug Evans <>
* configure (sparc64-*-solaris2*): New target.
* sparc.h (SPARC_{V9,ARCH64}): Default value is 0.
(*): Replace SPARCV9 with SPARC_{V9,ARCH64}.
(MASK_CPUS): Define.
({MASK,TARGET}_ENV32): Delete.
(TARGET_SWITCHES): Reset cpu flags first for each variant.
(CONDITIONAL_REGISTER_USAGE): If 32 bit v9 system, unfix g1-g4,
fix g5, and make %f48-%f80 call used.
* sparc/sp64-aout.h (SPARC_{V9,ARCH64}): Define.
(READONLY_DATA_SECTION): Make text_section.
* sparc/sp64-elf.h (SPARC_{V9,ARCH64}): Define.
(ENDFILE_SPEC): No longer need to check for -nostartfiles.
(ASM_IDENTIFY_GCC): Define as empty.
* sparc/sp64-sol2.h: New file.
* sparc.c (*): Replace TARGET_V9 with TARGET_ARCH64.
(hard_32bit_mode_classes): Add v9 regs.
(gen_v9_scc): Handle 32 bit v9 case. Call v9_regcmp_p.
* (*): Replace TARGET_V9 with TARGET_ARCH64 in places
requiring 64 bit environment.
(multf3_extend): Require TARGET_HARD_QUAD.
Thu Jan 25 00:33:25 1996 Ian Lance Taylor <>
* dbxcoff.h (DBX_USE_BINCL): Define.
(DBX_CONTIN_LENGTH): Define if not defined.
Wed Jan 24 18:00:12 1996 Brendan Kehoe <>
* alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP,
not the extra numbers.
Wed Jan 24 15:18:15 1996 Michael Meissner <>
* rs6000.c (init_cumulative_args): Rewrite to use DEFAULT_ABI
runtime tests, instead of V.4 #ifdefs.
(function_arg{,_advance,_partial_nregs,_pass_by_reference}): Ditto.
(setup_incoming_varargs): Ditto.
(init_cumulative_args): Set call_cookie field to CALL_NORMAL or
(function_arg): Add support for DLL imports.
(rs6000_valid_{decl,type}_attribute_p): New functions for NT
attributes cdecl, stdcall, dllimport, and dllexport.
(rs6000_comp_type_attributes): New attribute support.
(rs6000_set_default_type_attributes): Ditto.
(rs6000_dll_import_ref): Ditto.
* rs6000.h (FP_ARG_{AIX,SYSV}_MAX_REG): Move here from sysv4.h.
* sysv4.h (FP_ARG_{AIX,SYSV}_MAX_REG): Move to rs6000.h.
* rs6000.h (rs6000_call_cookie): New enum to describe the integer
that is the 2nd argument to call insns and 3rd argument to
call_value insns. Add support for NT DLL imports.
(rs6000_args): Add call_cookie field.
(VALID_MACHINE_{DECL,TYPE}_ATTRIBUTE): Define to call C functions.
(rs6000_valid_{decl,type}_attribute_p): Add declarations.
(rs6000_comp_type_attributes): Ditto.
(rs6000_set_default_type_attributes): Ditto.
(rs6000_dll_import_ref): Ditto.
* win-nt.h (ASM_DECLARE_FUNCTION_NAME): Add support for dllexport
* (call insns): Add support for NT dllimport functions,
and fix up NT indirect calls. Also correctly set the flag
rs6000_save_toc_p on NT indirect calls.
* aix41.h (LINK_SPEC): Use new extra specs to avoid separate
versions for native and cross compilation.
* rs6000.h (LINK_SPEC): Ditto.
* sysv4.h (LINK_SPEC): Ditto.
* rs6000.h (EXTRA_SPECS): Add link_syscalls, link_libg, link_path,
link_specs, and also allow target to define more with the macro
(LINK_{LIBG,SYSCALLS}_SPEC): Define as fixed pathnames if native
compilation, and currently nothing if cross compiling.
(LINK_START_SPEC): If not defined, define as empty.
* eabi{,sim}.h (LINK_START_SPEC): Add default -Ttext for
* eabi{aix,le}.h (MULTILIB_DEFAULTS): Add -mno-sdata default.
* sysv4{,le}.h (MULTILIB_DEFAULTS): Ditto.
* rs6000.c (small_data_operand): New function to return true if
the operand lives in small data under eabi.
(rs6000_select{,_rtx}_section): New functions to determine whether
to put global and static items in the V.4/eabi small data areas if
* rs6000.h (LEGITIMATE_SMALL_DATA_P): Call small_data_operand it
if V.4.
is a valid address.
(ASM_OUTPUT_LABELREF): Use fputs, not fprintf.
(small_data_operand): Declare function.
* sysv4.h (TARGET_SWITCHES): New switch -msdata to use V.4 and
eabi defined small data sections.
(SUBTARGET_OVERRIDE_OPTIONS): Don't allow -msdata and
-mrelocatable or -mcall-aix options.
(EXTRA_SECTION{S,_FUNCTIONS}): Add .sdata, .sdata2, and .sbss
(SELECT{,_RTX}_SECTION): Call (rs6000_select{,_rtx}_section).
(ASM_SPEC): The -msdata switch passes -memb to the assembler.
(ENCODE_SECTION_INFO): Prepend a '@' to the name, if the item
lives in a small data region.
(STRIP_NAME_ENCODING): Strip '@' in addition to '*'.
(ASM_OUTPUT_LABELREF): Strip a leading '@'.
* t-{ppc,eabi}gas (MULTILIB*): Add support for libraries built
with/without -msdata. Drop support for -mcall-aixdesc libraries.
Wed Jan 24 15:18:15 1996 Kim Knuttila <>
* rs6000/win-nt.h (LIB_SPEC): Change options to GNU ld style.
(From Jason Molenda)
Wed Jan 24 14:32:48 1996 Jim Wilson <>
* reload1.c (used_spill_regs): New variable.
(reload): Set it.
* reorg.c (find_dead_or_set_registers): New function.
(mark_target_live_regs): Delete loop looking forward from target
and instead call find_dead_or_set_registers.
(fix_reg_dead_note): New function.
(fill_slots_from_thread): Call it.
* loop.c (scan_loop): Correct comment.
(strength_reduce): Correct comments. Don't set maybe_multiple when
pass branch to scan_start. Don't set not_every_iteration after
passing a CODE_LABEL, or after passing a branch out of the loop.
When outputting DEST_ADDR giv increments, put them next to the memory
address on machines with auto-increment addresses.
(record_biv): Set new field always_executed.
(record_giv): Set new fields always_executed and auto_inc_opt.
(maybe_eliminate_biv_1): Reject biv with auto_inc_opt optimization
in some cases.
* loop.h (struct induction): New fields always_executed and
* c-typeck.c (pointer_int_sum): Use TYPE_PRECISION (sizetype) not
POINTER_SIZE to agree with expr.c.
Tue Jan 23 15:17:30 1996 Doug Evans <>
* sparc/sol2.h (ASM_OUTPUT_ALIGNED_LOCAL): Delete, use svr4.h's.
Tue Jan 23 03:28:01 1996 Paul Eggert <>
* cexp.y: Use preprocessor arithmetic instead of C arithmetic
to avoid warnings on some compilers.
(yylex): Use them.
Mon Jan 22 18:39:21 1996 Per Bothner <>
* cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary
minus, even if skip_evaluation is true.
Mon Jan 22 16:53:48 1996 David Edelsohn <>
* rs6000.h (BIGGEST_ALIGNMENT): Increase to 64 always.
(LEGITIMIZE_ADDRESS): Use Pmode not SImode.
* rs6000/sysv4.h (BIGGEST_FIELD_ALIGNMENT): Undefine.
* (adddi3, subdi3, negsi2): New PowerPC64 patterns.
(ashldi3, lshrdi3, ashrdi3, anddi3, iordi3, xordi3): Same.
(moddi3, cmpdi, tablejump matchers): Same.
(divdi3): Update PowerPC64 patterns.
* rs6000.c (rs6000_initialize_trampoline, case ABI_AIX): Use Pmode
not SImode.
Sun Jan 21 23:33:24 1996 Ian Lance Taylor <>
* dbxout.c: Include <string.h>
Fri Jan 19 17:17:00 1996 Per Bothner <>
* expr.c (is_zeros_p, mostly_zeros_p): Handle SET_TYPE CONSTRUCTORs.
(store_constructor_field): New helper function.
(store_constructor): Take 'cleared' parameter.
(expand_expr): Fix store_constructor_call to pass 'cleared' of 0.
* expr.c (store_constructor, SET_TYPE): Fix off-by-one-error.
Also, devide start byte by BITS_PER_UNIT before passing to memset.
(store_constructor): `continue' in wrong place.
* expr.c (store_constructor): If storing into a range of array
elements, and the range is small, or the target it not memory,
unroll the loop (and use store_field, which handles REGs).
(store_constructor): Handle RANGE_EXPR in array index.
Fri Jan 19 16:52:25 1996 Doug Evans <>
* svr4.h (SWITCH_TAKES_ARG): Add 'x'.
* sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
Fri Jan 19 15:18:38 1996 Ian Lance Taylor <>
* dbxout.c (flag_minimal_debug): Initialize to 0 if both
(dbxout_type_methods): If the mangled method name uses the special
C++ marker character, pass show_arg_types as 1 when calling
Fri Jan 19 11:48:28 1996 Michael Meissner <>
* rs6000/eabi-ci.asm (_SDA_BASE_): Move the default definition
from the .got section to the .sdata section. Do not add 32768.
(_SDA2_BASE_): Provide a default definition.
* rs6000/eabi-cn.asm (.got.blrl): Don't define this section any
more, linker now directly creates the blrl instruction at
Fri Jan 19 05:12:31 1996 Richard Earnshaw <>
* arm/lib1funcs.asm (__divsi3, __modsi3, __udivsi3, __umodsi3):
Replace with smaller, faster versions.
Thu Jan 18 17:41:46 1996 Jim Wilson <>
* sh.c (ctype.h): Delete.
(regno_reg_class, reg_class_from_letter): Add SH3e support.
(prepare_scc_operands, broken_move, push, pop, push_regs): Likewise.
(calc_live_regs, sh_expand_prologue, sh_expand_epilogue): Likewsie.
(initial_elimination_offset, arith_reg_operand): Likewise.
(sh_builtin_saveregs, fp_zero_operand, fp_one_operand): New functions.
(sh_function_arg, sh_function_arg_partial_nregs): Delete.
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
(DBX_REGISTER_NUMBER, enum processor_type): Likewise.
(BASE_ARG_REG, enum sh_arg_class, struct sh_args): New.
(GET_SH_ARG_CLASS, PASS_IN_REG_P, sh_builtin_saveregs): New.
(TARGET_SWITCHES): Delete broken -m3l option.
* (cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E support.
(push_e, pop_e, movsi_ie, movsf_ie, addsf3, subsf3): New patterns.
(mulsf3, macsf3, divsf3, floatsisf2, fix_truncsfsi2): New patterns.
(cmpgtsf_t, cmpqesf_t, cmpsf, negsf2, sqrtsf2, abssf2): New patterns.
(abssf2+9, abssf2+10): Add SH3e support to peepholes
(abssf2+11, abssf2+12): New peepholes for SH3e.
* t-sh (MULTILIB_OPTIONS): Add SH3E support.
(MULTILIB_DIRNAMES): Define to empty.
Thu Jan 18 11:29:11 1996 Ian Lance Taylor <>
* cplus-dem.c (cplus_demangle_opname): Change type of opname
parameter to const char *.
(cplus_mangle_opname): Change return type and type of opname
parameter to const char *. Don't cast return value.
* demangle.h (cplus_demangle_opname): Update declaration.
(cplus_mangle_opname): Likewise.
Thu Jan 18 10:07:33 1996 Michael Meissner <>
* gcc.c (extra_specs): If EXTRA_SPECS is defined, define
extra_specs array to hold the extra specs the machine description
(set_spec): If EXTRA_SPECS is defined, handle the extra
(process_command, main, validate_all_switches): Likewise.
* rs6000/{rs6000.h,powerpc.h,aix41.h} ({CPP,ASM}_SPEC): Use common
specs with EXTRA_SPECS, only modifying things in the target that
needs to be modified, rather than having tons of mostly duplicate
* rs6000/{sysv4{,le}.h,}netware.h,lynx.h,} ({CPP,ASM}_SPEC): Ditto.
* rs6000/eabi{le,aix}.h,aix3newas.h}} ({CPP,ASM}_SPEC): Ditto.
Wed Jan 17 19:38:24 1996 Paul Eggert <>
* cexp.y (HOST_WIDE_INT_MASK): Renamed from LONG_MASK;
(parse_c_expression, expression_value, parse_escape, left_shift,
right_shift, struct constant, exp, parse_number, yylex):
Replace `long' with `HOST_WIDE_INT'.
* cccp.c (PTR_INT_TYPE): Remove obsolete define to `long'.
(parse_escape, parse_c_expression, eval_if_expression, get_lintcmd,
do_line, do_if, do_elif): Replace `long' with `HOST_WIDE_INT'.
(trigraph_pcp): Don't assume a pointer difference fits in an int.
Wed Jan 17 18:56:31 1996 Jim Wilson <>
* expmed.c (extract_bit_field): For multi-word bitfield, clobber
target before storing to it.
Wed Jan 17 14:19:34 1996 J.T. Conklin <>
* sparc/{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST
so that cross compilers targeted at these systems will build.
Wed Jan 17 09:51:58 1996 Doug Evans <>
* sparc.h (v9 INIT_CUMULATIVE_ARGS): Fix typos.
* gcc.c (process_command): New local lang_n_files, and use
it in test of -c with -o. Move test of -save-temps.
Test for trailing NUL in -c.
* i386/t-go32: New file.
* i386/xm-go32.h: New file.
* configure (i[345]86-*-go32*): Define xm_file and tmake_file.
Wed Jan 17 07:47:43 1996 Richard Kenner (
(pcfinclude): Use HOST_WIDE_INT for casting pointer to integer.
Wed Jan 17 05:25:06 1996 Jeffrey A. Law <>
* va-pa.h (__gnuc_va_list): Use a "void *".
Tue Jan 16 18:45:23 1996 Per Bothner <>
* cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried
cpp_skip_hspace will actually work.
* cppexp.c (SKIP_OPERAND): New macro.
(cpp_parse_expr): Suppress evaluation and diagnostics in
unevaluated subexpressions.
Corresponds to Eggert's Fri Jun 9 17:58:29 1995 change.
Tue Jan 16 11:59:07 1996 Mike Stump <>
* expr.c (expand_expr, case COND_EXPR): Make sure cleanups live on
the function_obstack as they are used by the exception handling code.
(defer_cleanups_to): Ditto.
Tue Jan 16 13:57:13 1996 Jim Wilson <>
* cccp.c (new_include_prefix): Ignore ENOTDIR error from stat.
Tue Jan 16 12:18:56 1996 Doug Evans <>
* i386/t-sol2 (crt[1in].o): Add missing -c.
* sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
Source files are assembler.
* gcc.c (do_spec_1, case 'W'): Rename local `index' to `cur_index' to
avoid warning on solaris.
Tue Jan 16 11:42:09 1996 Ian Lance Taylor <>
* dbxcoff.h: New file for stabs in COFF support.
* a29k/a29k-udi.h: Use dbxcoff.h.
* h8300.h, i960/i960-coff.h, m68k/coff.h, m88k/m88k-coff.h: Likewise.
* sh.h, sparc/litecoff.h: Likewise.
Tue Jan 16 08:21:45 1996 Hans-Peter Nilsson <>
* optabs.c (expand_fix): Don't copy TARGET to TO if same.
* expr.c (emit_move_insn_1): Don't emit clobber when moving
by parts and source equals destination.
Tue Jan 16 08:08:29 1996 Richard Kenner (
* expmed.c (extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.
* local-alloc.c (memref_referenced_p, case REG): Fix last change.
* fold-const.c (const_binop): Strip NOPS from both args.
* regclass.c (regclass): Remove useless cast.
Tue Jan 16 07:06:03 1996 Paul Eggert <>
* cexp.y: General code cleanup in the style of 1995-04-01 change.
Add prototypes for static functions.
Add parentheses suggested by `gcc -Wparentheses'.
Use `long' uniformly, instead of long, int, HOST_WIDE_INT mess.
(struct constant): Use `signedp' flag (with sign bit) instead of
`unsignedp' flag; it's a little more convenient.
vfprintf, SIGNED, UNSIGNED): New symbols.
<stdlib.h>: Include if HAVE_STDLIB_H.
<string.h>: New include.
(yylex, yyerror, expression_value, parse_number,
initialize_random_junk): Now static.
(overflow_sum_sign): Renamed from possible_sum_sign, with an
extra arg SIGNEDP.
(parse_number): Inline strcmp when checking for "0x".
(yylex): Keep track of mask needed when decoding wide characters.
(parse_escape): New arg RESULT_MASK; use it instead of
assuming char width.
(yylex, parse_escape, parse_c_expression): Store all host
integers as long, not int or HOST_WIDE_INT.
(left_shift): No need to do signed left shifts separately.
These changes are for the test program (if TEST_EXP_READER):
(pedantic, traditional): Allocate storage.
(main): Set pedantic, traditional, yydebug depending on args.
(is_hor_space, warning, lookup): Change types and implementation
to match rest of program.
(pedwarn, check_assertion, xmalloc): New functions.
(parse_escape, parse_c_expression, eval_if_expression):
Change return type to `long'; all callers changed.
(pcfinclude): Use `int', not HOST_WIDE_INT; any integral type will do.
* cccp.c (skip_quoted_string): If pedantic and not pedantic_errors,
skipped multiline strings elicit a warning, not an error.
(rescan): Minor code reorg to keep it parallel with skip_quoted_string.
* fold-const.c (left_shift_overflows): Remove; unused.
* c-typeck.c (convert_for_assignment): Don't automatically convert
from a union member to the union.
Tue Jan 16 06:26:00 1996 Stefan Vogel (
* config/svr4.h (ASM_OUTPUT_SECTION_NAME): Define section attributes
only when a section is defined the first time.
Tue Jan 16 06:03:27 1996 Thomas Graichen <>
* i386/freebsd.h (ASM_WEAKEN_LABEL): Deleted; not supported.
Mon Jan 15 20:59:49 1996 J. Kean Johnston <>
(libgcc1.a): Add -DIN_LIBGCC1.
(stamp-crtS): Remove -fpic, use CRTSTUFF_CFLAGS_S.
* config/t-libc-ok: Add CRTSTUFF_CFLAGS_S.
* configure (i[3456]86-*-sco3.2v5*): New case.
* i386/sco5.h, i386/t-sco5, i386/x-sco5, i386/xm-sco5.h: New files.
* ginclude/stdarg.h, ginclude/varags.h: Add test for SCO Open Server 5.
Mon Jan 15 20:44:13 1996 J.T. Conklin <>
* m68k/netbsd.h (ASM_SPEC): New macro.
Mon Jan 15 17:01:16 1996 Doug Evans <>
* c-lex.c (check_newline): Pass character after `#pragma' to
HANDLE_PRAGMA. Don't call get_directive_line if at end of line.
* c-common.c (get_directive_line): Watch for EOF.
* h8300.h (HANDLE_PRAGMA): New argument `c'.
Must issue `return' now.
* i960.h (HANDLE_PRAGMA): Likewise.
* sh.h (HANDLE_PRAGMA): Likewise.
* nextstep.h (HANDLE_PRAGMA): Likewise.
* h8300.c (handle_pragma): New argument `ch'.
Simplify pragma processing. Delete support for `#pragma section'.
* i960.c (process_pragma): New argument `c'. Change result to
terminating character.
* nextstep.c (handle_pragma): Likewise.
* sh.c (handle_pragma): Likewise. Also simplified.
* sched.c (reemit_notes): Add prototype.
(sched_analyze_2): Reorganize comments. Call prev_nonnote_insn.
(sched_analyze): Add abort call.
(schedule_block): Call prev_nonnote_insn.
Move call of reemit_notes to after SCHED_GROUP_P scheduling.
Set `head' to `last'.
Mon Jan 15 16:12:25 1996 Roland McGrath <>
* configure (*-*-gnu*): Use tmake_file=t-gnu.
* config/t-gnu (CRTSTUFF_T_CFLAGS): New file.
* configure (*-*-gnu*): Remove crtbeginS.o and crtendS.o frmo
$extra_parts. Use xmake_file=x-linux.
Mon Jan 15 15:30:49 1996 Gran Uddeborg <>
* i386/svr3{,z}.ifile: Allocate address areas for the "stab"
and "stabstr" sections.
Mon Jan 15 14:39:14 1996 Paul Eggert <>
* c-decl.c (finish_incomplete_decl): Warn if completing an
array that wasn't declared extern. Simplify test for whether
completion is needed.
* cccp.c (do_xifdef): Warn about `#ifdef 0' if not traditional;
formerly the warning was issued if not pedantic.
Mon Jan 15 13:24:12 1996 Michael Meissner <>
* ({add,sub}di3): Make it work on little endian PowerPC
* rs6000/eabi-c{i,n}.asm (.sbss2 section): Don't make .sbss2 a
.bss section just yet, because it confused the linker.
Mon Jan 15 08:50:31 1996 Philippe De Muyter (
* (pushdi): Allow "i" for operand 1.
(extendqidi2): Improve 68000 code generation.
(adddi_lshrdi_63): New pattern.
Mon Jan 15 08:38:40 1996 H.J. Lu {
* configure (i[3456]86-*-linux*): Add extra_parts.
* i386/linux.h (LIB_SPEC): Remove %{mieee-fp:-lieee}.
Use -lc_p for -profile.
(CC1_SPEC): New macro.
* linux.h (STARTFILE_SPEC): Use crtbegin.o for both shared llibrary
and normal executable; use gcrt1.o for -profile.
(ENDFILE_SPEC): Use crtend.o for shared llibrary and normal executable.
* x-linux (INSTALL_ASSERT_H): Unset it.
* configure (i[3456]86-*-linux*oldld*): Set xmake_file to x-linux-aout.
(i[3456]86-*-linux*aout*): Likewise.
* x-linux-aout: New file, copied from config/x-linux.
Mon Jan 15 07:41:05 1996 Dmitry K. Butskoy (
* varasm.c (in_data_section): New function.
Mon Jan 15 07:37:13 1996 Andreas Schwab (
* c-typeck.c (build_c_cast): Don't warn about alignment when we
have an opaque type.
Mon Jan 15 07:22:59 1996 Michel Delval (
* reload.c (find_equiv_reg): Apply single_set, not PATTERN, to WHERE.
Mon Jan 15 07:02:21 1996 John F. Carr <>
* reorg.c (mark_referenced_resources, case TRAP_IF): Set volatil.
Mon Jan 15 06:20:38 1996 Richard Kenner (
* gcc.c (process_commands): Remove inadvertant fallthrough.
* function.c ({,round_}trampoline_address): TRAMPOLINE_ALIGNMENT is
in bits, not bytes.
* objc/archive.c (objc_{write,read}_type, case _C_STRUCT_B): Fix typo.
* expr.c (expand_expr, case COMPONENT_REF): Don't make recursive
call on object with EXPAND_SUM.
* stmt.c (save_expr_regs): Delete declaration; unused.
Sun Jan 14 21:44:26 1996 Michael Meissner <>
* rs6000/eabi-ci.asm (__EXCEPT_START__): Provide label for start
of g++ exception pointers.
* rs6000/eabi-cn.asm (__EXCEPT_END__): Provide label for end of
g++ exception pointers.
* rs6000/eabi.asm (__eabi): Relocate exception pointers unless
they are NULL.
* va-ppc.h (va_arg): Long longs are always passed in odd registers.
* rs6000.c (function_arg_boundary): On V.4, long longs are always
passed in odd registers.
* ({add,sub}di3): Remove restriction for POWER only,
since all of the instructions used are common to both
Sun Jan 14 20:34:03 1996 Jeffrey A. Law <>
* expr.c (expand_assignment): Fix alignment parm in emit_block_move.
Sun Jan 14 19:00:25 1996 Jim Wilson <>
* sched.c (schedule_block): Copy RTX_INTEGRATE_P bit when create
a new note.
* integrate.c (save_for_inline_copying, case NOTE): Copy
Sun Jan 14 17:57:52 1996 Richard Kenner (
* stupid.c (stupid_find_reg): Don't try to allocate reg if live
over more than 5,000 insns.
Sat Jan 13 23:09:07 1996 Jeffrey A. Law <>
* pa.h (STACK_BOUNDARY): Bring back down to 64bits.
* (pre_ldwm): Fix bug exposed by recent changes.
(pre_stwm, post_ldwm, post_stwm): Likewise.
(HImode and QImode variants): Likewise.
* pa.c (hppa_expand_prologue): Corresponding changes.
(hppa_expand_epilogue): Likewise.
* pa.c (hppa_legitimize_address): Generate more indexing
address modes.
Fri Jan 12 19:03:21 1996 Doug Evans <>
* sparc/sol2.h (COMMON_ASM_OP): Delete, use sysv4.h's.
* sched.c (schedule_block): Maintain a valid chain so
emit_note_before works.
Fri Jan 12 13:20:01 1996 Michael Meissner <>
* rs6000/eabi{,-ci,-cn}.asm: Add support for V.4 .sbss/.sdata, and
eabi .sbss2/.sdata2 sections, loading up r13 and r2 respectively
if the sections were used, and we don't need to relocate the
Thu Jan 11 19:41:07 1996 Per Bothner <>
QUAL_UNION_TYPE and SET_TYPE are also passed by invisible reference.
* sparc.h (INIT_CUMULATIVE_ARGS for SPARCV9): Return types of
QUAL_UNION_TYPE and SET_TYPE also make invisible 1st argument.
Thu Jan 11 18:33:50 1996 Doug Evans <>
* h8300.h (TARGET_ALIGN_STRUCT_300): New macro.
(TARGET_SWITCHES): Add -malign-struct-300.
Thu Jan 11 12:07:44 1996 J.T. Conklin <>
* h8300.h (CPP_PREDEFINES): Delete -D_DOUBLE_IS_32BITS.
Thu Jan 11 11:09:33 1996 David Edelsohn <>
* (mulsf3 !POWERPC): Use dmul attribute.
(divsf3 !POWERPC): Use ddiv attribute.
Thu Jan 11 11:09:33 1996 Michael Meissner <>
* rs6000/eabi-ctors.c (__do_global_ctors): If global variable
__atexit is non-NULL, call it with __do_global_dtors address to
register the function to run destructors.
(__do_global_{c,d}tors): Guard against NULL pointers.
* rs6000/eabi.asm (__eabi): If the __eabi function was already
called, do nothing.
Thu Jan 11 11:29:09 1996 Doug Evans <>
* fixincludes: Wrap rpc/types.h in extern "C", for osf2.0.
Wed Jan 10 13:16:03 1996 Doug Evans <>
* varasm.c (variable_section): New function.
(assemble_variable): Call it.
Wed Jan 10 11:27:28 1996 Michael Meissner <>
* rs6000/eabi-c{i,n}.asm (__DTOR_{LIST,END}__): Fix typo.
* rs6000/eabi{,sim}.h ({START,END}FILE_SPEC): Add %s to object
* rs6000/t-{eabi,eabigas,ppc,ppcgas} (MULTILIB_MATCHES): Drop
support for obsolete -mcpu=mpc403.
Add -mcpu=821 and -mcpu=860 to soft-float defaults.
* rs6000/t-eabi{,gas} (LIBGCC): Add stmp-crt.
(INSTALL_LIBGCC): Add install-crt.
(EXTRA_PARTS): Delete.
(stmp-crt{,-sub}): New rules to build crti.o and crtn.o in a
multilib fashion.
(install-crt): Install the multilib crt values.
Tue Jan 9 17:30:16 1996 Doug Evans <>
* c-tree.h (merge_attributes): Moved from here.
* tree.h (merge_attributes): To here.
* c-typeck.c (merge_attributes): Moved from here.
* tree.c (merge_attributes): To here.
Mon Jan 8 18:27:38 1996 Arne H. Juul <>
* mips/netbsd.h (LINK_SPEC): Change nostdlib to nostartfiles.
Sun Jan 7 17:11:11 1996 David Edelsohn <>
* collect2.c (scan_libraries): Correct Import File ID interpretation.
Sun Jan 7 16:56:56 1996 Michael Meissner <>
* {svr4,mips/elf{,64}}.h (MAX_OFILE_ALIGNMENT): Define as 32768*8.
Sat Jan 6 15:52:36 1996 Doug Evans <>
* a29k/vx29k.h (CPP_SPEC): Define.
* configure: Recognize any --with/--without option.
* (MAKEINFOFLAGS): New variable.
(, Use it.
* sparc/t-sol2 (crt1.o,crti.o,crtn.o,gcrt1.o): Use $(GCC_FOR_TARGET).
* i386/t-sol2 (crt1.o,crti.o,crtn.o): Likewise.
Fri Jan 5 10:44:25 1996 Michael Meissner <>
* rs6000/aix{3newas,41}.h ({ASM,CPP}_SPEC): Update for new
* rs6000/eabi{aix,le}.h ({ASM,CPP}_SPEC): Ditto.
* rs6000/{lynx,netware,powerpc,sysv4}.h ({ASM,CPP}_SPEC): Ditto.
* rs6000.c (rs6000_override_options): Remove requirement that
-mcpu=common be big endian.
(rs6000_stack_info): If NAME__main is defined, mark this function
as doing a call, even if there are no arguments.
* (SI*SI->DI splitters): Add reload_completed
(mulsidi3): If big endian, do move directly, rather than moving by
* rs6000/eabi{,sim}.h (STARTFILE_SPEC): Add crti.o before any
other objects.
(ENDFILE_SPEC): Add crtn.o after any objects.
* rs6000/t-eabi{,gas}: Build crt{i,n}.o from eabi-crt{i,n}.asm.
* rs6000/eabi-crt{i,n}.asm: New files to provide begin/end labels
for all special sections used by eabi as opposed to relying on GLD
to set all of these symbols.
* rs6000/eabi.asm (__eabi): Change to use the new labels provided
above. Don't assume that the .got2, .ctors, .dtors, and .fixup
sections are contiguous.
Fri Jan 5 10:40:37 1996 David Edelsohn <>
* (mulh_call): Remove r4 clobber.
(quoss_call): Remove cr0 and cr1 clobbers.
* (function units): Add MPC505/821/860 support.
(SF multiply add combiner patterns): Use dmul attribute when limited
to DFmode POWER instructions.
* rs6000.c (processor_target_table): Add MPC505/821/860 support.
Remove MASK_POWER and add MASK_PPC_GFXOPT for PPC602. Always use
new mnemonics for common mode.
(rs6000_override_options): Don't set SOFT_FLOAT based upon
* rs6000.h (processor_type): Add PROCESSOR_MPCCORE.
(CPP_SPEC): Add new processor support.
Fri Jan 5 00:32:49 1996 Doug Evans <>
* sparc.h (MACHINE_STATE_RESTORE): Add missing .align.
Wed Jan 3 18:29:32 1996 Doug Evans <>
* arm/lib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.
(__udivsi3,__divsi3,__umodsi3,__modsi3,__div0): Use SYM to define
global labels.
Wed Jan 3 02:41:39 1996 Jeffrey A. Law <>
* pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Call text_section.
Tue Jan 2 16:12:13 1996 Jim Wilson <>
* sh.c (gen_shifty_op): Output a NOP for a shift by 0.
(find_barrier): New variables si_limit, hi_limit. Set them depending
on whether we are optimizing. Set found_hi if the destination is
(machine_dependent_reorg): If not optimizing, then change scan to a
note instead of calling delete_insn.
* sh.h (OVERRIDE_OPTIONS): Don't set optimize or flag_delayed_branch.
* dbxout.c (gstab.h): Include if cross compiling.
Mon Jan 1 21:13:43 1996 Arkady Tunik <>
* configure (i[3456]-*-solaris2*): Support stabs.
* i386/sol2dbg.h: New file.
Mon Jan 1 09:08:01 1996 Richard Kenner (
* c-typeck.c: Use DECL_C_BIT_FIELD, not DECL_BIT_FIELD in all tests.
* global.c (reg_allocno): No longer static.
* reload1.c (reg_allocno): Declare.
(order_regs_for_reload): New arg, GLOBAL.
Bias against regs allocated in local-alloc.
(reload): Pass new parm to order_regs_for_reload.
* local-alloc.c (reg_equiv_replacement): New variable.
(memref_referenced_p, case REG): Check for reg_equiv_replacement.
(update_equiv_regs): reg_equiv_replacement now file-scope.
* c-decl.c (finish_struct): Warn if field with enumeral type is
narrower than values of that type.
* combine.c (rtx_equal_for_field_assignment_p): New function.
(make_field_assignment): Use it.
Expand compound operations on both sides of an IOR.
Properly adjust constand in IOR when computing bit position.
Sun Dec 31 18:47:22 1995 Doug Evans <>
* m68k-none.h (MULTILIB_DEFAULTS): Define.
Sun Dec 31 15:47:20 1995 Jeffrey A. Law <>
* hard-reg-set.h (losing_caller_save_reg_set): Declare.
* regclass.c (losing_caller_save_reg_set): Define.
(init_reg_sets_1): Initialize losing_caller_save_reg_set.
* global.c (find_reg): Avoid caller-saving registers in
* local-alloc.c (find_free_reg): Avoid caller-saving registers
in losing_caller_save_reg_set.
(CLASS_LIKELY_SPILLED_P): Delete definition. Moved into regs.h.
* regs.h (CLASS_LIKELY_SPILLED_P): Define if not already defined.
* reorg.c (fill_simple_delay_slots): Try to fill from the
target of an unconditional branch if necessary.
* pa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs
before PA1.0 caller-saved FP regs.
* sched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.
* pa.h (ADJUST_PRIORITY): Define to keep lifetimes of registers
that will be allocated to %r1 shorter.
Sun Dec 31 14:20:49 1995 Richard Kenner (
* rtl.h (assign_temp): Add extra arg.
* function.c (assign_temp): Add extra arg, DONT_PROMOTE.
Don't return (const_int 0) for VOIDmode.
* stmt.c (expand_asm_operands): Call assign_temp with extra arg.
* expr.c (save_nocopied_parts, expand_expr): Likewise.
(expand_expr, case SAVE_EXPR): Set TEMP to (const_int 0)
if MODE is VOIDmode.
(expand_expr): Don't use assign_temp for pseudos when might
want to be TMODE.
* stmt.c (tail_recursion_args): Compare TYPE_MAIN_VARIANTs.
* calls.c (expand_call): Don't warn about not being able to
inline if -O0.
* expr.c (clear_pending_stack_adjust): Don't do optimization if -O0.
* function.c (instantiate_decls): Check DECL_SAVED_INSNS to see
if obstack change is needed.
* toplev.c (rest_of_compilation): Leave DECL_INLINE set even if
won't inline.
* tree.h: Add documentation on uses of common area flags.
(DECL_NO_STATIC_CHAIN): New macro; currently unused.
* c-aux-info.c (gen_decl): DECL_REGISTER isn't defined
* toplev.c (compile_file): Likewise.
* stmt.c (fixup_gotos): Use DECL_ERROR_ISSUED instead
* varasm.c ({bc_,}make_decl_rtl): Don't look at DECL_REGISTER
for functions.
Sat Dec 30 07:57:11 1995 Richard Kenner (
* sdbout.c (plain_type_1, case ARRAY_TYPE): Subtract lower bound
when writing dimension.
Fri Dec 29 18:23:58 1995 Paul Eggert <>
* cccp.c (eval_if_expression): End expression with '\n', not '\0'
so '\0' can be diagnosed properly.
* cexp.y (yylex, parse_c_expression, main): Likewise.
Thu Dec 28 18:24:54 1995 Per Bothner <>
* tree.h (TYPE_ARRAY_MAX_SIZE): New macro (used by Chill).
* function.c (assign_temp): New function. Can handle Chill-style
variable-sized array with static maximum size.
* rtl.h (assign_temp): New declaration.
* stmt.c (expand_asm_operands): Use new assign_temp function.
* expr.c (save_noncopied_parts, expand_expr): Likewise.
Thu Dec 28 15:28:47 1995 Per Bothner <>
* function.c (assign_parms): Fix thinko for struct value arg.
Fri Dec 29 12:41:47 1995 Michael Meissner <>
* (movdf): Reinstate 12/24 change accidently dropped in
undoing 12/27 changes.
Thu Dec 28 22:24:53 1995 Michael Meissner <>
* rs6000.h: (reg_class): Undo 12/27 changes, except for formatting.
(PREDICATE_CODES): Delete predicate functions.
(gpc_reg{0,3,4,34}_operand): Delete declaration.
(cc_reg{0,1}_operand): Likewise.
* rs6000.c (gpc_reg{0,3,4}_operand): Delete.
(cc_reg{0,1}_operand): Likewise.
* (common mode functions): Undo 12/27 changes,and add
appropriate clobbers for common mode calls. Keep define_splits for
powerpc SI*SI->DI.
Thu Dec 28 11:08:11 1995 Mike Stump <>
returns offset for the current function specifically.
Thu Dec 28 07:07:14 1995 Paul Eggert <>
* c-lex.c (yylex): Improve error message for bogus numbers.
Consolidate duplicated code.
* cexp.y (parse_number): Improve error message for bogus numbers.
(yylex): Consider `0xe-1' to be a (bogus) number if not traditional.
* cccp.c (do_include): In VMS, worry only about EACCES when open fails.
(new_include_prefix): Don't try to stat dir prefixes in VMS.
Wed Dec 27 14:02:54 1995 Per Bothner <>
* fix-header.c: Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h if
missing. Re-write how errno is added to be done similarly.
(std_include_table): Add a number of functions (mostly XPG4).
Tue Dec 26 23:18:34 1995 Per Bothner <>
* sys-types.h: Add dummy definition for ssize_t.
* sys-protos.h (bcmp, bcopy, gethostname, lockf, read, readlink,
write): Fix prototypes to match Posix and XPG4.
(socket, strcasecmp, strncasecmp): New prototypes (from XPG4).
Wed Dec 27 15:30:04 1995 Richard Kenner (
* libgcc2.c (_bb_init_prg): Cast arg to bzero to (char *).
* regs.h (reg_rtx_no, regno_pointer_{flag_length,align): New decls.
* emit-rtl.c (regno_pointer_align): New variable.
(gen_reg_rtx): Extend regno_pointer_align table.
Allocate tables in saveable obstack.
(mark_reg_pointer): New arg, ALIGN.
(gen_inline_header): New args for reg info.
(set_new_first_and_last_insn): Set cur_insn_uid.
({save,restore}_emit_status): Save and restore regno_pointer_align.
(restore_reg_data{,_1}): Deleted.
(init_emit): Allocate register tables in saveable obstack.
Set REGNO_POINTER_ALIGN for regs pointing into frame.
* function.c (assign_parms): Set REGNO_POINTER_ALIGN for
parms that are pointers.
* function.h (struct function): New field regno_pointer_align.
* expr.c (expand_expr, case VAR_DECL): Set REGNO_POINTER_ALIGN
when copying address into memory.
(expand_expr, case COMPONENT_REF, case ADDR_EXPR): Set alignment
of register when result or result's address.
(expand_expr, case CONVERT_EXPR): Don't handle -fforce-mem here.
* combine.c (set_nonzero_bits_and_sign_copies): Handle reg even
if only set once and in one basic block.
(nonzero_bits, case REG): Use REGNO_POINTER_ALIGN instead of
explicit alignment of registers pointing into frame.
* stmt.c (expand_decl): Set alignment of register for pointer
* optabs.c (emit_unop_insn): Don't do -fforce-mem for SIGN_EXTEND.
* cse.c (find_best_addr): Make sure folded address better before using.
(gen_inline_header): Add three new parms.
* rtl.def (INLINE_HEADER): Add three new fields.
* integrate.c: Include regs.h.
(initialize_for_inline): Pass additional args to gen_inline_header.
(save_for_inline_copying): Make new regno_reg_rtx, regno_pointer_flag,
and regno_pointer_align arrays.
(expand_inline_function): Set alignment of reg for parm if passed
by hidden pointer.
Set regno_pointer_{flag,align} into remap table.
(copy_rtx_and_substitute): Set alignment of pointers into
stack frame.
Copy pointer flag and alignment to regs that are copies of
pointer registers from the original regs.
(output_inline_function): Don't call restore_reg_data.
Restore reg_rtx_no, regno_{reg_rtx,pointer_flag,pointer_align}.
* integrate.h (struct inline_remap): New fields regno_pointer_flag
and regno_pointer_align.
* unroll.c (unroll_loop): Set regno_pointer_{flag,align} in
remap table.
* explow.c (memory_address, allocate_dynamic_stack_space):
Pass additional arg to mark_reg_pointer.
* (integrate.o): Includes regs.h.
* alpha.c ({non,}aligned_memory_operand): Test REGNO_POINTER_ALIGN.
(reg_or_unaligned_mem_operand): New function.
(get_unaligned_address): Add new arg, EXTRA_OFFSET.
* alpha.h ({CONSTANT,DATA}_ALIGNMENT): Align to at least BITS_PER_WORD.
(PREDICATE_CODES): Add reg_or_unaligned_mem_operand.
* (extend{qihi,qisi,hisi}2): Allow unaligned memory
as arg 1 and pass to extend_{q,h}idi2.
(unaligned_extend{q,h}idi): New patterns.
(extend{q,h}idi2): If unaligned memory, call above new patterns.
(ext{q,l,w}h recognizer): Update to proper RTL.
(ext define_split): Comment out for now; wrong and maybe useless.
(unaligned_{load,store}hi): Do similarly to QImode.
(movhi, reload_{in,out}hi): Call unaligned case differently.
Wed Dec 27 11:38:20 1995 Michael Meissner <>
* (mulsidi3{,_common}): Undo previous change using
register classes instead of fixed registers for SI*SI->DI common
mode multiplies.
* rs6000.c (gpc_reg34_operand): Delete unused function.
* rs6000.h (gpc_reg34_operand): Likewise.
* rs6000.c (gpc_reg{3,4}_operand): Reorganize code and don't allow
* rs6000.c (rs6000_override_options): Do not allow -mcpu=common on
little endian PowerPC's.
(gpc_reg{0,3,4,34}_operand): New functions to match a specific
(cc_reg{0,1}_operand): Likewise.
* rs6000.h (reg_class): Add register classes for register 3 by
itself, register 4 by itself, registers 3&4, and CR1.
(REG_NAMES): Add support for new register classes.
(PREDICATE_CODES): Add new predicate functions.
(gpc_reg{0,3,4,34}_operand): Add declaration.
(cc_reg{0,1}_operand): Likewise.
* (common mode multiplication/division): Move/rename common
mode calls so they are closer to define_expands that call them.
Set attribute type to be jmpreg, rather than integer, so optimizer
knows branch processing unit is used; make SI*SI->DI multiplier use
register classes instead of hardwired registers.
Add appropriate clobbers of CR0/CR1 as mandated by PowerOpen spec.
(PowerPC SI*SI->DI multipliers): Add appropriate define_splits.
* rs6000/t-{,x}newas (MULTILIB*): Don't build power2 or 601
specific libraries.
Tue Dec 26 21:52:18 1995 Richard Kenner (
* fold-const.c (fold_convert): When converting a NaN to
another type, change the type of the node before returning it.
Mon Dec 25 17:12:10 1995 Richard Kenner <>
* c-typeck.c (mark_addressable): Fix error in last change.
Sun Dec 24 22:19:49 1995 Jeffrey A. Law <>
* pa.c (output_function_epilogue): Use assemble_integer rather
than calling ASM_OUTPUT_INT directly.
* pa.h (ASM_OUTPUT_INT): Use labels for everything in the
exception table section.
* pa.c (print_operand): Don't call fprintf to output a register
name. Use fputs instead.
* pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Strip any name encoding
on the section name.
Sun Dec 24 17:46:03 1995 Markus Theissinger <>
* toplev.c (main): Add -ax option.
* gcc.c (struct compilers): Likewise.
* final.c (end_final): Extended header increased to 11 words.
(profile_after_prologue): FUNCTION_BLOCK_PROFILER uses
count_basic_blocks instead of profile_label_no.
* libgcc2.c (struct bb): Add flags field.
(HAVE_POPEN): Test new define.
(struct __bb, struct bb_{edge,func}): New structs.
(__bb_trace_func{,_ret},gopen,gclose): New functions.
* sparc.h, i386.h, m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
Extension for -ax option (profile_block_flag == 2).
* sparc.c (output_function_epilogue), i386.c (function_epilogue):
* m68k.c (output_function_epilogue): Likewise.
* xm-sparc.h: Define HAVE_POPEN.
Sun Dec 24 06:50:30 1995 Barrett Richardson (
* floatlib.c (__divdf3): Rewrite to do software divide of two
doubles instead of using __divsf3.
Sun Dec 24 06:38:15 1995 Richard Kenner (
* (movdf): Don't copy a word at a time; nearly always loses.
* c-tree.h (DECL_C_BIT_FIELD): New macro.
* c-decl.c (finish_struct): Set it when set DECL_BIT_FIELD.
* c-typeck.c (mark_addressable, case COMPONENT_REF):
Give error if taking address of a bit field.
* gcc.c (unused_prefix_warning): Include machine_suffix if
(warn_B, warn_std, warn_std_ptr): New variables.
(process_commands): Use them and NULL_PTR as WARN arg to add_prefix.
* gcc.c (process_command): Give error for -c with -o and
multiple compilations.
(handle_braces): Rename variable "pipe" to "pipe_p".
* expr.h (clrstr_optab): New declaration.
(clear_storage): New parm, ALIGN.
* genopinit.c (optabs): Add "clrstr%a%".
* optabs.c (init_optabs): Initialize clrstr_optab.
* expr.c (struct clear_by_pieces): New structure.
(clear_by_pieces{,_1}, {is,mostly}_zeros_p): New functions.
(clrstr_optab): New optab.
(clear_storage): Rework to try to use clear_by_pieces, then
new clrstr insn, then library call.
(store_constructor): Track if target is already cleared.
Clear target first if CONSTRUCTOR is mostly zeros.
Don't write zeros if target has been cleared.
Add new arg to clear_storage call.
(expand_expr, case CONSTRUCTOR): Don't put static constructor
in memory if mostly zero.
* (clrstrsi): New pattern and associate anonymous pattern.
Sat Dec 23 12:21:53 1995 Jeffrey A. Law <>
* pa.c (output_move_double): Correctly identify and handle
overlapping moves.
* (movdi patterns): Eliminate earlyclobbers in mem<->gr cases.
(movdf patterns): Likewise.
Fri Dec 22 17:29:42 1995 Richard Kenner (
* expr.c (store_constructor): Don't call change_address on REG.
(expand_expr, case CONSTRUCTOR): Likewise.
* mips.c (expand_block_move): Preserve MEM flags in call to
* pa.c (emit_move_sequence): Don't try to set REGNO_POINTER_FLAG
for a SUBREG.
* reload.c (find_valid_class): New function.
(push_reload): Use it in cases where a SUBREG and its contents
both need to be reloaded.
* toplev.c (rest_of_compilation): Never defer functions that
contain nested functions.
Fri Dec 22 15:55:00 1995 Michael Meissner <>
* (function units): Add 403 support which deleted
by accident on Nov 21st. Mark all compares from 602, 603, 604,
620, 403, like was done for rios{1,2} and 601 as needing the bpu,
so that compares are hoisted far enough branches for zero cycle
branch support.
Fri Dec 22 15:13:47 1995 Stan Cox <>
* i386.h (TARGET_UNROLL_STRLEN): New macro.
* i386.c (output_strlen_unroll): New function.
* (strlensi): New pattern.
Thu Dec 21 18:53:31 1995 Roland McGrath <>
* /gnu.h (GNU_CPP_PREDEFINES): Add missing space after -Amachine(CPU).
Thu Dec 21 12:23:42 1995 Michael Meissner <>
* configure ({powerpc,rs6000}*): Change --enable-cpu to --with-cpu.
* rs6000.c (rs6000_select): Likewise.
* rs6000/aix41.h (LINK_SPEC): Do not pass -bexport to the linker
if -g and -shared.
Wed Dec 20 11:23:39 1995 Michael Meissner <>
* configure ({powerpc,rs6000}-ibm-aix*): Merge these two into the
same case statement. Aix 4 now generates -mcpu=common by default.
({powerpc,rs6000}*): Add support for --enable-cpu=<value> to
select the default cpu to compile for.
* rs6000/aix41.h (TARGET_DEFAULT): Make -mcpu=common default behavior.
(MULTILIB_DEFAULTS): Set mcpu=common.
* rs6000.h (TARGET_CPU_DEFAULT): Define to be NULL if not defined.
(TARGET_OPTIONS): Add -mtune= switch.
(rs6000_select): New structure to hold -mcpu=, -mtune= switches
and the result of configuring --enable-cpu=.
* rs6000.c (rs6000_cpu_string): Delete global variable.
(rs6000_select): Define new global variable.
(rs6000_override_options): Take default_cpu argument, and provide
support for it and -mtune= in addition to -mcpu=.
* rs6000/{aix{3newas,41},lynx,netware,powerpc}.h (ASM_SPEC): Add
support for -mcpu=power2.
* rs6000/{rs6000,sysv4}.h (ASM_SPEC): Likewise.
* rs6000/{aix41,eabiaix,eabile,lynx,powerpc}.h (CPP_SPEC): Make
sure all -mcpu=xxx targets are supports.
* rs6000/{rs6000,sysv4,sysv4le}.h (CPP_SPEC): Likewise.
* rs6000/t-x{newas,rs6000}: New files to be used when making a
cross compiler, to prevent libgcc1-test from being made.
* rs6000/t-{x,}newas (MULTILIB_*): Build multlilib libraries for
power, power2, 601, powerpc, and common mode processors.
* rs6000/aix41ppc.h: Delete, no longer used.
Tue Dec 19 18:31:21 1995 Jim Wilson <>
* mips.c (mips_reg_names, mips_sw_reg_names, mips_regno_to_class):
Add entry for new RAP reg.
* mips.h (FIRST_PSEUDO_REGISTER): Increment.
DEBUG_REGISTER_NAMES): Add entry for new RAP reg.
* emit-rtl.c (return_address_pointer_rtx): New global variable.
(gen_rtx, init_emit_once): Add support for it.
Tue Dec 19 15:08:31 1995 Jason Merrill <>
* collect2.c: Remove auto_export functionality.
Tue Dec 19 10:57:23 1995 Kim Knuttila <>
* ppc-asm.h: Do not compile the register macros under winnt.
Mon Dec 18 19:31:23 1995 Adam Fedor <fedor@wilma.Colorado.EDU>
* objc/encoding.c (objc_alignof_type): Handle _C_PTR case.
Mon Dec 18 18:40:34 1995 Jim Wilson <>
* combine.c (simplify_rtx, case SUBREG): For SUBREG of a constant,
use <= instead of < when comparing mode sizes.
(force_to_mode, case NOT): Use full mask inside the NOT operation.
* expr.c (emit_block_move): When call emit_libary_call for bcopy,
pass arguments using correct types and modes.
(emit_push_insn, expand_assignment): Likewise.
(clear_storage, store_expr): Likewise for memset and bzero.
(store_constructor): Likewise for memset.
* optabs.c (emit_cmp_insn): Likewise for memcmp and bcmp.
* convex.c (expand_movstr_call): Likewise for memcpy.
* m88k.c (expand_block_move): Likewise for memcpy and bcopy.
* mips.c (block_move_call): Likewise for memcpy and bcopy.
* mips.h (INITIALIZE_TRAMPOLINE): Likewise for cacheflush.
* c-common.c (WCHAR_TYPE_SIZE): Add a default definition.
* sdbout.c (sdbout_symbol, case FUNCTION_DECL): Use DECL_INITIAL
instead of DECL_EXTERNAL to identify declarations.
* svr4.h (ASM_IDENTIFY_GCC): Don't output stab here.
(ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of above.
* stmt.c (expand_asm_operands): Handle numeric constraints in
with the default case.
Mon Dec 18 16:49:43 1995 John F. Carr <>
* expr.h (expand_mult_highpart_adjust): Declare.
Mon Dec 18 16:39:41 1995 Richard Kenner (
* expr.c (store_constructor): Fix error in last change: just
copy MEM, but be sure to share address.
(expand_expr, case CONSTRUCTOR): Likewise.
Mon Dec 18 16:22:46 1995 Michael Meissner <>
* rs6000.h (ASM_GENERATE_INTERNAL_LABEL): Put leading '*' in label
string so as to not confuse dbxout.c.
Mon Dec 18 09:44:56 1995 Mike Stump <>
* libgcc2.c (__empty): An empty function used by the C++ frontend for
defaulting cleanup actions.
* tree.c (save_tree_status, restore_tree_status): Save and restore
Mon Dec 18 07:49:34 1995 Richard Kenner (
* function.c (fixup_var_refs_1): Fix error in last change (when
mode of VAR is not the same as PROMOTED_MODE).
Sun Dec 17 12:14:37 1995 Jeffrey A. Law <>
* pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Don't surround section names
with '$'; that confuses collect2.
* sched.c (canon_rtx): Recursively look for equivalences;
look for expressions equivalent to MEMs.
(true_dependence): Canonicalize inputs before operating
on their values.
(anti_dependence, output_dependence): Likewise.
* jump.c (follow_jumps): Don't follow an unconditional jump
that is not a simple_jump.
* pa.c (override_options): Make 7100 scheduling the default.
* Add 2nd reload peephole somehow omitted from Nov27 changes.
* regclass.c (regclass): Use SECONDARY_RELOAD_CLASS if it's
defined to avoid useless work.
* combine.c (find_split_point): Try to split SET_DEST
just like we do for SET_SRC.
Sun Dec 17 11:37:25 1995 Torbjorn Granlund <>
* expmed.c (expand_mult_highpart): When doing widening multiply,
put constant in a register.
(expand_mult_highpart): When mode is word_mode use gen_highpart
instead of right shift by size.
* expr.c (expand_expr, case MULT_EXPR): Generalize code for widening
multiply to handle signed widening multiply when only unsigned optab
is defined, and vice versa.
Sun Dec 17 07:35:50 1995 Pat Rankin <>
* vax/vms.h (WCHAR_TYPE_SIZE): Define.
Sun Dec 17 07:08:34 1995 Ronald F. Guilmette <>.
* fp-test.c: New file.
Sun Dec 17 07:06:03 1995 Peter Flass <>
* (cmpqi): Fix generation of literal operand of CLM instruction
to avoid double literals (=X'=F'...).
Sun Dec 17 06:57:02 1995 Paul Eggert <>
* cccp.c: Try harder not to open or stat the same include file twice.
Simplify include file names so that they are more likely to match.
E.g. simplify "./a//b" to "a/b". Represent directories with simplified
prefixes, e.g. replace "./a//b" with "a/b/", and "." with "".
(absolute_filename): New function.
(do_include): Use it.
(read_name_map): Likewise; this makes things more consistent for DOS.
(main, do_include, open_include_file): -M output now contains
operands of -imacros and -include.
(skip_to_end_of_comment): When copying a // comment, don't try to
change it to a /* comment.
(rescan, skip_if_group, skip_to_end_of_comment, macarg1): Tune.
(rescan, skip_if_group, skip_to_end_of_comment, macarg1):
If warn_comments is nonzero, warn if backslash-newline appears
in a // comment. Simplify method for finding /* /* */ comment.
(skip_if_group): Optionally warn if /* /* */ appears between # and
a directive inside a skipped if group.
(macarg): Optionally warn if /* /* */ appears in a macro argument.
(strncat, VMS_strncat, vms_ino_t, ino_t): Remove.
(INCLUDE_LEN_FUDGE): Add 2 if VMS, for trailing ".h".
(INO_T_EQ, INO_T_HASH): New macros.
(struct file_buf): New member `inc'.
(expand_to_temp_buffer): Initialize it.
(struct file_name_list): New member `inc'.
(struct file_name_list): New member `st'.
c_system_include_path is now 1 if not 0.
fname is now an array, not a pointer.
(struct include_file): New members `next_ino', `deps_output', `st'.
Remove members `inode' and `dev'; they are now in `st'.
(include_hashtab): Rename from include_hash_table.
(include_ino_hashtab): New variable.
(main): Store file status in struct stat, not in long and int pieces.
Use base_name to strip prefixes from file names.
When printing directory prefixes, omit trailing / and print "" as ".".
Fatal error if the input file is a directory.
(main, path_include): Regularize operands of -include, -imacros,
-isystem, -iwithprefix, and -iwithprefixbefore.
Regularize default include directories.
Allocate dsp with alloca, since fname is now dynamically allocated.
Use -3 to represent a never-opened file descriptor.
Make copy of file name, and simplify the copy.
Use base_name to identify the end of fname's directory.
Do not prepend dir for "..." if it matches the search list's first dir.
open_include_file now subsumes redundant_include_p and lookup_import.
Use bypass_slot to remember when to skip directories when including
a file that has already been seen.
Instead of using 0 to represent the working directory, and ""
to represent a directory to be ignored, use "" for the former,
and assume the latter has been removed before we get here.
Assume the directory prefixes have already been simplified.
Report as errors all open failures other than ENOENT.
Fatal error if fstat fails.
Use new deps_output member to avoid printing dependencies twice.
(bypass_hashtab): New variable.
(do_include, open_control_file, record_control_macro): New convention:
control_macro is "" if the file was imported or had #pragma once.
(pragma_once_marker): Remove.
(redundant_include_p, include_hash, lookup_include, lookup_import,
add_import, file_size_and_mode): Remove; subsumed by open_include_file.
(skip_redundant_dir_prefix): Remove; subsumed by simplify_filename.
(is_system_include, read_name_map, remap_include_file):
Assume arg is a directory prefix.
(base_name, simplify_filename, remap_include_file,
lookup_ino_include, new_include_prefix): New functions.
(open_include_file): New arguments `importing' and `pinc'.
Move filename mapping into new remap_include_file function.
First try to find file by name in include_hashtab;
if that doesn't work, open and fstat it and try to find it
by inode and dev in include_ino_hashtab.
(finclude): Get file status from inc->st instead of invoking fstat.
Store inc into fp->inc so that record_control_macro doesn't
need to do a table lookup.
(finclude, record_control_macro): Accept struct include_file *
instead of char * to identify include file. All callers changed.
(check_precompiled): Get file status from new argument `st'.
(do_pragma): Output at most one warning about #pragma implementation.
Always return 0 instead of returning garbage sometimes.
(do_pragma, hack_vms_include_specification):
Use base_name for consistency, and remove redundant code.
From Per Bothner:
Unify the 3 separate mechanisms for avoiding processing
of redundant include files: #import, #pragma once, and
redundant_include_p to use a single more efficient data structure.
(struct file_name_list): Remove no-longer needed field control_macro.
(dont_repeat_files, all_include_files): Remove, no longer used.
(struct import_file): Renmed to struct include_file, moved earlier
in file, renamed field name to fname, and added control_macro field.
(pragma_once_marker): New constant.
(import_hash_table): Renamed to include_hash_table.
(import_hash): Renamed to include_hash.
(main, path_include): Don't clear removed control_macro field.
(lookup_include): New function - look up fname in include_hash_table.
(redundant_include_p): Re-write to use lookup_include.
(lookup_import, record_control_macro): Likewise.
(add_import): Defer fstat to caller. Combine two xmallocs into one.
(do_once): Use pragma_once_marker in include_hash_table.
(do_pragma): Re-implement to scan include_hash_table.
(do_include): Use new lookup_include and add_import.
Sun Dec 17 06:45:43 1995 John F. Carr <>
* configure (savesrcdir): Do not create paths with trailing "/.".
* combine.c (try_combine): When checking for two sets of the same
register in a split insn, also test for setting a ZERO_EXTRACT,
Sun Dec 17 06:37:00 1995 Richard Kenner (
* reload.c (push_secondary_reload): Don't strip paradoxical SUBREG
if reload_class is CLASS_CANNOT_CHANGE_SIZE.
Sat Dec 16 18:24:20 1995 Richard Kenner (
* expr.c (expand_assignment): Fix alignment parm in emit_block_move.
Sat Dec 16 18:16:08 1995 John Hassey (
* local-alloc.c (optimize_reg_copy_2): Don't attempt
optimization if destination register dies.
Sat Dec 16 08:31:16 1995 Paul Eggert <>
* fold-const.c (fold): Don't record overflow when negating
unsigned constants.
Sat Dec 16 07:45:11 1995 Gran Uddeborg (
* configure (i[3456]-*-isc, gas, stabs): Remove crt* from extra_files
Sat Dec 16 07:03:33 1995 Philippe De Muyter (
* stor-layout.c (layout_record): When PCC_BITFIELD_TYPE_MATTERS,
compute bitpos using field_size % type_align instead of field_size.
* fixincludes (stdio.h): Fix return type of fread and fwrite
on sysV68.
Sat Dec 16 06:57:14 1995 Thomas Lundqvist (
* function.c (fixup_var_refs_1): Fix two incorrect calls to single_set.
Fri Dec 15 22:30:27 1995 Torbjorn Granlund <>
* i386.h (REGISTER_MOVE_COST): Simplify.
Fri Dec 15 22:30:27 1995 Stan Cox <>
* i386.c (ix86_cpu*, ix86_isa*): New global variables.
(override_options): Add -mcpu and -misa support
* Use TARGET* macros.
* i386/dgux.{c,h}: New files.
* m88k/t-dgux: (GCC_FOR_TARGET, T_CFLAGS): New macros.
* m88k/t-dguxbcs: New file.
* m88k/x-{dgux,dguxbcs}: (GCC_FOR_TARGET, X_CFLAGS): Removed.
Fri Dec 15 18:41:50 1995 Philippe De Muyter (
* fixincludes (sys/wait.h): Add forward declaration of struct rusage
on AIX 3.2.5.
Fri Dec 15 18:39:36 1995 Marco S Hyman (
* xm-bsd386.h (DONT_DECLARE_SYS_SIGLIST): Defined.
Fri Dec 15 18:36:42 1995 Gran Uddeborg (
* i386/svr3dbx.h (DO_GLOBAL_DTORS_BODY): Delete; obsolete.
Fri Dec 15 18:21:34 1995 Richard Kenner <>
* i386/i386iscgas.h, i386/t-iscscodbx: Deleted; long dead.
Fri Dec 15 10:01:27 1995 Stan Cox <>
* configure (target_cpu_default) Set for 486/586/686
(m88k-dg-dgux) Use t-dguxbcs instead of x-dguxbcs
(i*86*) Change [345] to [3456]
(i[3456]86-dg-dgux) Added
* (out_object_file) Add MAYBE_TARGET_DEFAULT
Fri Dec 15 08:05:49 1995 Richard Kenner (
* function.c (init_temp_slots): New function.
(init_function_start): Code moved to new function and called here.
* toplev.c (rest_of_compilation): Call init_temp_slots.
* expmed.c (store_bit_field): Don't use insv for BLKmode value.
(store_split_bit_field): Set total_bits to BITS_PER_FOR for
BLKmode value.
Fri Dec 15 06:35:36 1995 David Edelsohn <>
* xcoffout.h (DBX_STATIC_BLOCK_END): Use macro arguments.
(xcoff_begin_function_line, xcoff_current_function_file): Remove
unused extern declarations.
* xcoffout.c (xcoff_begin_function_line): Make static.
(xcoff_inlining): Likewise.