1 Sun Mar 31 05:10:10 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3 * stor-layout.c (layout_decl): Don't make a bitfield an integral mode
4 if the mode of the field type is not MODE_INT.
6 * sched.c (schedule_block): CALL_INSNs don't affect fixed regs.
7 * flow.c (propagate_block): CALL_INSNs don't kill fixed regs.
9 Sat Mar 30 03:32:48 1996 Torbjorn Granlund <tege@noisy.tmg.se>
11 * expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Move some code
12 to avoid shifting by a too large count.
14 Fri Mar 29 15:45:51 1996 Doug Evans <dje@cygnus.com>
16 * configure (i[3456]86-*-sunos5*): Delete, config.sub converts
18 (sparc-*-sunos5*): Likewise.
19 (sparc64-*-{solaris2*,sunos5*}): Delete. Stick with sparc-*-solaris2*.
21 * sparc.h (FUNCTION_PROFILER): Save/restore %g2 around mcount call.
23 Fri Mar 29 14:20:31 1996 Stan Cox <coxs@dg-rtp.dg.com>
25 * i386.c (notice_update_cc): Clear cc_status if ref modified MEM.
27 Fri Mar 29 09:37:52 1996 Jeffrey A. Law <law@cygnus.com>
29 * calls.c (expand_call): Remove current_call_is_indirect nonsense.
30 Add additional argument to INIT_CUMULATIVE_ARGS.
31 (emit_library_call): Likewise.
32 (emit_library_call_value): Likewise.
33 * expr.c (expand_builtin): Likewise.
34 * function.c (assign_parms): Likewise.
35 * pa.h (hppa_args): New field "indirect".
36 (INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
37 (FUNCTION_ARG): Check "indirect" field, rather than
38 "current_call_is_indirect".
39 * a29k.h (INIT_CUMULATIVE_ARGS):New arg, INDIRECT.
40 * alpha.h (INIT_CUMULATIVE_ARGS): Likewise.
41 * arm.h (INIT_CUMULATIVE_ARGS): Likewise.
42 * clipper.h (INIT_CUMULATIVE_ARGS): Likewise.
43 * convex.h (INIT_CUMULATIVE_ARGS): Likewise.
44 * dsp16xx.h (INIT_CUMULATIVE_ARGS): Likewise.
45 * elxsi.h (INIT_CUMULATIVE_ARGS): Likewise.
46 * fx80.h (INIT_CUMULATIVE_ARGS): Likewise.
47 * gmicro.h (INIT_CUMULATIVE_ARGS): Likewise.
48 * h8300.h (INIT_CUMULATIVE_ARGS): Likewise.
49 * i370/mvs.h (INIT_CUMULATIVE_ARGS): Likewise.
50 * i386.h (INIT_CUMULATIVE_ARGS): Likewise.
51 * i860.h (INIT_CUMULATIVE_ARGS): Likewise.
52 * i960.h (INIT_CUMULATIVE_ARGS): Likewise.
53 * m68k.h (INIT_CUMULATIVE_ARGS): Likewise.
54 * m68k/mot3300.h (INIT_CUMULATIVE_ARGS): Likewise.
55 * m88k.h (INIT_CUMULATIVE_ARGS): Likewise.
56 * mips.h (INIT_CUMULATIVE_ARGS): Likewise.
57 * ns32k.h (INIT_CUMULATIVE_ARGS): Likewise.
58 * pdp11.h (INIT_CUMULATIVE_ARGS): Likewise.
59 * pyr.h (INIT_CUMULATIVE_ARGS): Likewise.
60 * romp.h (INIT_CUMULATIVE_ARGS): Likewise.
61 * rs6000.h (INIT_CUMULATIVE_ARGS): Likewise.
62 * sh.h (INIT_CUMULATIVE_ARGS): Likewise.
63 * sparc.h (INIT_CUMULATIVE_ARGS): Likewise.
64 * spur.h (INIT_CUMULATIVE_ARGS): Likewise.
65 * tahoe.h (INIT_CUMULATIVE_ARGS): Likewise.
66 * vax.h (INIT_CUMULATIVE_ARGS): Likewise.
67 * we32k.h (INIT_CUMULATIVE_ARGS): Likewise.
68 * mips.c (mips_expand_prologue): Add extra arg to
69 INIT_CUMULATIVE_ARGS call.
71 Thu Mar 28 18:45:49 1996 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
73 * alpha.c (summarize_insn): Fix three "off-by-one" bugs in loop bounds.
75 Thu Mar 28 16:50:10 1996 Doug Evans <dje@cygnus.com>
77 * ginclude/inl-sparc.h: Deleted.
79 Thu Mar 28 12:07:31 1996 Jeffrey A. Law <law@cygnus.com>
81 * va-h8300.h (va_arg): Don't assume sizeof (int) == 4.
83 * pa.c (hppa_legitimize_address): Don't lose for
84 (plus (plus (mult (A) (shadd_const)) (B)) (C)) if
85 B + C isn't a valid address for indexing.
86 (basereg_operand): Only accept base registers after
87 cse has completed. Don't accept the frame pointer if
88 it's likely to be eliminated.
89 * pa.md (unscaled indexing patterns): Add variants with
90 basereg and index register reversed.
91 (HImode and QImode loads): Add zero extended variants.
93 Wed Mar 27 07:45:27 1996 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
95 * expmed.c (negate_rtx): Fix typo in previous change.
97 Tue Mar 26 13:50:43 1996 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
99 * calls.c (expand_call): In convert_to_mode call, use word_mode
102 Tue Mar 26 13:44:34 1996 Doug Evans <dje@canuck.cygnus.com>
104 * configure: Delete unnecessary special handling of --with-cpu.
106 Tue Mar 26 10:41:57 1996 Jeffrey A. Law <law@cygnus.com>
108 * expr.c (emit_push_insn): When doing a partial push, emit
109 a CLOBBER so that flow doesn't think the entire register
112 Tue Mar 26 10:00:52 1996 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
114 * alpha.c (summarize_insn, default case): Properly use format_ptr.
116 Tue Mar 26 09:51:09 1996 Philippe De Muyter (phdm@info.ucl.ac.be)
118 * m68k.h (output_move_simode_const): New extern declaration.
119 * m68k.c (output_move_simode_const): New function.
120 (singlemove_string): Call it.
121 * m68k.md (fullword move): Likewise.
123 Tue Mar 26 05:43:06 1996 Torbjorn Granlund <tege@noisy.tmg.se>
125 * vax.md (insv matcher): Call CC_STATUS_INIT.
126 * vax.h (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.
128 Mon Mar 25 19:18:08 1996 Jason Merrill <jason@yorick.cygnus.com>
130 * function.c (expand_function_start): Don't set up context_display
131 unless current_function_needs_context.
133 Mon Mar 25 18:48:18 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
135 * fold-const.c (fold, case BIT_IOR_EXPR): Recognize rotates
138 Mon Mar 25 18:05:28 1996 Jim Wilson <wilson@cygnus.com>
140 * Makefile.in (libgcc1-test): Undo Feb 12 change.
142 Mon Mar 25 08:09:59 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
144 * objc/thread-single.c (objc_mutex_unlock): Properly declare thread_id.
146 Mon Mar 25 08:02:50 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
148 * configure (m68k-motorola-sysv*): Fixed indentation.
150 Sun Mar 24 08:16:42 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
152 * expmed.c (negate_rtx): Don't try to negate a constant ourself;
153 instead call simplify_unary_operation.
155 Sun Mar 24 07:29:06 1996 Richard Henderson <rth@tamu.edu>
157 * gcc.c (process_command): Instead of hardcoding non-empty
158 switches_need_spaces to turn on "o" and "L", make the string
159 contain the switches that need the spaces.
160 * m68k/ccur-GAS.h (SWITCHES_NEED_SPACES): Change definition
163 Sat Mar 23 18:34:44 1996 Harry Dolan <dolan@ssd.intel.com>
165 * i860/paragon.h (LIB_SPEC): Always output -lmach.
167 Sat Mar 23 18:25:39 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
169 * c-typeck.c (set_init_index): Check for use outside an array
172 * defaults.h (ASM_OUTPUT_ADDR_DIFF_ELT): Delete.
173 * pdp11.h (ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.
175 Sat Mar 23 15:55:35 1996 Doug Evans <dje@canuck.cygnus.com>
177 * combine.c (make_extraction): In BITS_BIG_ENDIAN correction of POS,
178 need to treat MEM and REG differently.
180 * sparc.h (SPARC_SIMM{10,11,13}_P): Define.
181 (SMALL_INT): Use SPARC_SIMM13_P.
182 (CONST_OK_FOR_LETTER_P): Support new letters L,M.
183 * sparc.c (arith11_operand): Use SPARC_SIMM11_P.
184 (arith10_operand): Use SPARC_SIMM10_P.
185 * sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
186 (*mov{qi,hi,si,di}_cc_reg_sp64): Likewise.
188 Sat Mar 23 07:47:19 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
190 * m68k/linux.h (TRAMPOLINE_TEMPLATE): Correct first instruction.
191 * m68k/m68kv4.h (TRAMPOLINE_TEMPLATE): Likewise.
193 Sat Mar 23 07:06:55 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
195 * bc-emit.c (bc_emit_instruction): Add missing va_end call.
197 * c-typeck.c (build_array_ref): Give error if subscripting a function.
199 Fri Mar 22 09:11:45 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
201 * local-alloc.c (optimize_reg_copy_1): Only update reg_live_length
202 if it is non-negative.
204 Thu Mar 21 14:42:26 1996 Doug Evans <dje@cygnus.com>
206 * sparc/splet.h (STARTFILE_SPEC,LINK_SPEC): Define.
208 Wed Mar 20 17:23:18 1996 Jim Wilson <wilson@cygnus.com>
210 * cse.c (note_mem_written): Delete obsolete code for handling
213 * mips.c (mips_expand_prologue): In initialization of fnargs, delete
214 special treatment of METHOD_TYPE.
216 Wed Mar 20 17:07:45 1996 Doug Evans <dje@cygnus.com>
218 * sparc/sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
219 Fix typo in ultrasparc entry.
220 * sparc.h (CPP_CPU_SPEC): Add v8plus entry.
221 (ASM_CPU_SPEC): Likewise.
223 * sparc.c (fcc_reg_operand): Ensure correct mode.
224 (icc_or_fcc_reg_operand): Likewise.
225 (gen_v9_scc): IF_THEN_ELSE must have a mode.
226 (print_operand): New operand code `x' for all condition codes.
227 New operand codes `c,d' for reversed conditional moves.
228 * sparc.md (movqicc,movhicc): New named patterns.
229 (movdicc): if_then_else must have a mode.
230 (movsicc,movsfcc,movdfcc,movtfcc): Likewise.
231 Change condition to TARGET_V9, not TARGET_ARCH64.
232 Fail if DImode compare and ! TARGET_ARCH64.
233 (conditional move matchers): Rewrite.
235 Wed Mar 20 16:12:29 1996 Stan Cox <coxs@wombat.gnu.ai.mit.edu>
237 * i386.h (HARD_REGNO_MODE_OK): Relax QImode constraint to
238 avoid a reload problem.
240 Wed Mar 20 13:12:22 1996 Jeffrey A. Law <law@cygnus.com>
242 * pa.c (hppa_legitimize_address): Don't lose for x[n-const]
243 when n-const will not be shifted. Don't pessimize code for
244 x[n-const] when const is small.
246 Wed Mar 20 11:42:32 1996 Markus Theissinger <Markus.Theissinger@gmd.de>
248 * m68k/sun3.h (LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.
249 (__bb_init_func): Deleted.
250 (BLOCK_PROFILER_CODE): Don't set macro to nothing.
252 * m68k/xm-sun3.h: New file.
253 * configure (m68k-sun-sunos*): Use it.
255 * xm-linux.h (HAVE_POPEN): New define.
257 Wed Mar 20 11:28:37 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
259 * m68k/linux.h (ASM_SPEC): Deleted.
260 (STRUCT_VALUE_REGNUM): Redefine as register a0.
261 (STATIC_CHAIN_REGNUM): Redefine as register a1.
262 (TRAMPOLINE_TEMPLATE): Redefine to use the right register.
264 Wed Mar 20 08:04:34 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
266 * libgcc2.c (__dummy): New function.
267 * Makefile.in (LIB2FUNCS): Add __dummy.
268 * expr.c (expand_builtin, case BUILT_IN_SETJMP): Call "setjmp"
270 Call dummy function pointed to by static chain pointer.
271 (expand_builtin, case BUILT_IN_LONJMP): Ignore second expression.
272 Set address of __dummy into static chain pointer.
273 Copy the label to return to into a pseudo earlier.
275 * stupid.c (last_setjmp_suid, regs_crosses_setjmp): New variables.
276 (stupid_life_analysis, stupid_mark_refs): Use them to track which
277 regs are live over a setjmp; don't allocate such regs.
279 Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
281 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
284 Tue Mar 19 13:54:06 1996 Jeffrey A. Law <law@wombat.gnu.ai.mit.edu>
286 * pa.c (compute_frame_size): Update comments to reflect reality.
287 (hppa_expand_prologue): Don't save registers which aren't
288 used, even if it creates holes. Partially undoes changes from
290 (hppa_expand_epilogue): Likewise.
292 Tue Mar 19 08:25:17 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
294 * stmt.c (struct case_node): New member balance.
295 (add_case_node): New function.
296 (pushcase, pushcase_range): Use it.
297 (case_tree2list): New function.
298 (expand_end_case): Use it.
300 Tue Mar 19 07:44:22 1996 Stephen L Moshier (moshier@world.std.com)
302 * regstack.c (move_for_stack_reg): Avoid stack overflow while
303 storing XFmode from fp reg to memory.
305 Tue Mar 19 07:38:03 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
307 * m68k.h (MASK_*): New macros.
308 (OVERRIDE_OPTIONS): Use them.
309 (TARGET_SWITCHES): Likewise.
310 Treat -m68332 like -m68000.
312 Mon Mar 18 20:04:13 1996 Richard Earnshaw (rearnsha@armltd.co.uk)
314 * expmed.c (emit_store_flag): If expanding (GE X 0) will need two
315 insns, don't use subtarget for the result of the first insn.
316 Move a likely constant to the start of a condition.
318 Mon Mar 18 19:48:14 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
320 * m68k.h (CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
321 * m68k.c (output_function_epilogue): Restore registers using sp+
322 instead of fp(n) in leaf functions.
323 (USE_MOVQ, use_movq): Function replaced by macro.
324 * m68k.md (pushexthisi_const, movsi_const0): New names.
325 (andsi3, iorsi3): Allow only 'M', not 'K' constants, if dest is 'd'.
327 Mon Mar 18 19:33:20 1996 Fila Kolodny <fila@ibi.com>
329 * i370/t-mvs: New file.
330 * configure (i370-*-mvs*): Use it.
331 * i370/mvs.h (FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
332 Have only one copy of timestamp and PPA2 per object module.
333 Only have unnamed CSECT to match IBM C.
335 Mon Mar 18 19:26:21 1996 Paul Russell (Rusty.Russell@adelaide.maptek.com.au)
337 * combine.c (simplify_if_then_else): Allow for case that
338 condition might no longer be a condition.
340 Mon Mar 18 19:14:42 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
342 * c-typeck.c (build_conditional_expr): If OP1 is null, set
343 both OP1 and ORIG_OP1 to IFEXP.
345 * c-iterate.c (iterator_loop_epilogue): Don't clear DECL_RTL
348 Mon Mar 18 08:02:25 1996 Stephen L Moshier <moshier@world.std.com>
350 * alpha.c (summarize_insn, case SUBREG, CONST_*): New cases.
352 Sun Mar 17 16:55:00 1996 Doug Evans <dje@cygnus.com>
354 * combine.c (find_split_point): Handle NULL return from
356 (make_field_assignment): Likewise.
358 Sat Mar 16 18:56:47 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
360 * tree.c (substitute_in_expr, case COMPONENT_REF): Ignore
361 if inner PLACEHOLDER_EXPR has not yet been initialized.
363 * i386.c (standard_80386_constant_p): -0.0 is not 0.0.
364 * i386.md (insv): Restore missing end of comment.
366 * combine.c (make_extraction): Correct typo in force_to_mode
367 call in previous change.
368 Return 0 if pos+len out of range of want desired mode.
370 Sat Mar 16 16:20:43 1996 David Mosberger-Tang <davidm@azstarnet.com>
372 * alpha.md (trap): New attribute.
373 Modify patterns for all floating-point trap generating instructions.
374 * alpha.h (CPP_SPEC): Added -mieee and -mieee-with-inexact.
375 (alpha_trap_precision, alpha_fp_rounding_mode, alpha_fp_trap_mode):
377 (target_flags, alpha_tp, alpha_fprm, alpha_fptm): New external vars.
378 (alpha_fprm_string, alpha_fptm_string, alpha_tp_string): Likewise.
379 (TARGET_IEEE{,_WITH_INEXACT,_CONFORMANT}): New macros.
380 (MASK_IEEE{,_WITH_INEXACT,_CONFORMANT}): Likewise.
381 (MASK_FP, MASK_FPREGS,
382 (TARGET_SWITCHES): Added "ieee-conformant", "ieee", and
383 "ieee-with-inexact"; use MASK symbols.
384 (TARGET_OPTIONS): New macro.
385 (OVERRIDE_OPTIONS, FINAL_PRESCAN_{INSN,LABEL}): New macros.
386 (PRINT_OPERAND_PUNCT_VALID_P): Allow operand codes for FP insns.
387 (CC1_SPEC): New macro.
388 * alpha.c (alpha_tp, alpha_fprm, alpha_fptm): New variables.
389 (alpha_tp_string, alpha_fprm_string, alpha_fptm_string
390 (trap_pending): Likewise.
391 (override_options, summarize_insn, final_prescan_insn): New functions.
392 (print_operand): Handle cases '&', '\'', ')', and '+'.
393 (output_prolog): Emit ".eflag 48" if TARGET_IEEE_CONFORMANT.
394 (output_epilog): Call final_prescan_insn before emitting epilog.
396 * final.c (final_scan_insn, case CODE_LABEL): Invoke
397 FINAL_PRESCAN_INSN if FINAL_SCAN_LABEL is defined.
399 * alpha/{linux.h,x-linux,xm-linux.h}: New files.
400 * configure (alpha-*-linux*): New case.
401 * alpha.c (output_prolog): Set alpha_function_needs_gp if profiling
402 and TARGET_PROFILING_NEEDS_GP defined.
404 Thu Mar 14 22:28:20 1996 David Edelsohn <edelsohn@mhpcc.edu>
406 * rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Fix last change.
407 * aix41.h (LINK_SPEC): add -bnoentry if shared and no explicit entry.
409 Thu Mar 14 12:47:33 1996 Jim Wilson <wilson@cygnus.com>
411 * mips.h (ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
412 HOST_BITS_PER_WIDE_INT == 64.
414 * mips.c (mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
417 Thu Mar 14 11:21:37 1996 Michael Meissner <meissner@tiktok.cygnus.com>
419 * rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): For 32-bit mode,
420 allow TImode variables with int offsets, so that structures
421 greater than 8 bytes and less than or equal to 16 bytes can be
422 instantiated correctly.
424 * rs6000.c (rs6000_valid_type_attribute_p): Add exception
425 attribute for Windows NT.
427 * win-nt.h (ASM_OUTPUT_FUNCTION_PREFIX): Delete, merge into
428 ASM_DECLARE_FUNCTION_NAME.
429 (ASM_DECLARE_FUNCTION_NAME): Add support for exception attribute
430 setting fields 3 & 4 of the structured exception handling table.
432 Thu Mar 14 01:53:19 1996 Jeffrey A. Law <law@cygnus.com>
434 * pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
435 to TREE_ADDRESSABLE. From Jim Wilson.
437 Wed Mar 13 13:40:32 1996 Jim Wilson <wilson@chestnut.cygnus.com>
439 * c-tree.h (warn_sign_compare): Add extern to declaration.
441 Wed Mar 13 13:37:00 1996 Doug Evans <dje@cygnus.com>
443 * configure: Use cross-make and build-make if building
444 cross compiler with cross compiler.
446 Wed Mar 13 12:00:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
448 * i386/cygwin32.h (ASM_OUTPUT_ALIGN): Correct defination.
450 * rs6000/{win-nt,cygwin32}.h (STARTFILE_SPEC): Add crti.o before
452 (ENDFILE_SPEC): Add crtn.o after all objects.
454 * configure (powerpcle-*-cygwin32): Use t-winnt, not t-cygin32
455 * rs6000/t-cygwin32: Delete, no longer used.
457 * rs6000/t-winnt ({,INSTALL_}LIBGCC): Build and install crti.o and
460 * rs6000/win-nt.h (EXTRA_SECTION_FUNCTIONS): Add ctors_section and
462 (INVOKE__main): Define, so that __main is called.
463 (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Define to put pointers to
464 the constructor/destructor in the appropriate section.
466 * nt-c{i,n}.asm: New files to be linked before/after all of the users'
469 Wed Mar 13 00:42:17 1996 Per Bothner <bothner@cygnus.com>
471 * dbxout.c (dbxout_type): Better "variant" handling to ignore
472 const/volatile but not typedef names. Improves Feb 12 change.
474 Tue Mar 12 17:25:14 1996 David Mosberger-Tang <davidm@azstarnet.com>
476 * glimits.h (__LONG_MAX__): On Alpha, use 64 bit value.
478 Tue Mar 12 15:07:49 1996 Torbjorn Granlund <tege@tmg.se>
480 * m68k.c (valid_dbcc_comparison_p): Don't test cc_prev_status here.
481 (flags_in_68881): New function.
482 * m68k.md (dbra peepholes): Use flags_in_68881.
484 Tue Mar 12 13:54:15 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
486 * sparc.md (nonlocal_goto): Emit barrier after jump.
487 (setjmp{,_64,_32}): New patterns.
489 Tue Mar 12 12:43:27 1996 Jim Wilson <wilson@cygnus.com>
491 * i960.h (ROUND_TYPE_SIZE): Return round_up result instead of
494 * expr.c (expand_expr, case COMPONENT_REF): For unaligned object in
495 an aligned union, delete check for EXPAND_SUM.
497 * expr.h (clear_storage): Add comment terminator.
499 Mon Mar 11 19:07:50 1996 Jeffrey A. Law <law@cygnus.com>
501 * recog.c (constrain_operands, case 'V'): Don't call
502 offsettable_memref_p before reload has completed.
504 Mon Mar 11 16:06:13 1996 Doug Evans <dje@cygnus.com>
506 * h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
507 (CC_DONE_CBIT): Delete.
508 (CC_OVERFLOW_0,CC_OVERFLOW_UNUSABLE,CC_NO_CARRY): Define.
509 * h8300.c (cond_string): Delete CC_DONE_CBIT handling.
510 (notice_update_cc): Delete CC_CBIT, CC_WHOOPS. Add CC_SET_ZN_C0.
511 (restore_compare_p): New function.
512 (shift_one): Use shll instead of shal so overflow bit is usable.
513 Set cc_valid bits to cc_status.flags values.
514 (emit_a_shift): Set cc_status.flags.
515 * h8300.md (attr cc): Delete whoops,cbit. Add set_zn_c0.
516 (all patterns) Update cc attr setting.
517 (tstqi,tsthi,tstsi): Delete CC_DONE_CBIT handling.
518 (addhi3,subhi3): Change define_expand to define_insn.
519 (branch_true,branch_false): Check if compare needs to be restored.
521 Mon Mar 11 13:55:23 1996 Michael Meissner <meissner@cygnus.com>
523 * rs6000.h (CONST_DOUBLE_OK_FOR_LETTER_P): Add 'H' for movdi
524 patterns in 32 bit that generate 3 instructions.
525 (num_insns_constant): Add declaration.
527 * rs6000.c (num_insns_constant{,_wide}) Functions to determine the
528 number of insns it takes to generate an integer constant.
529 (easy_fp_constant): Allow DImode in easy constants. Use
530 num_insns_constant_wide.
531 (input_operand): Allow any CONST_{INT,DOUBLE}'s for {SI,DI}mode.
533 * rs6000.md (movdi): Generate a normal movdi using a CONST_DOUBLE
534 for 32 bit mode rather than using SUBREG's. For 64 bit mode,
535 break large integer constants into smaller pieces. Add various
536 define_splits to handle loading the various DImode constants.
538 Mon Mar 11 06:54:19 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
540 * combine.c (make_extraction): Use proper mode for INNER in all cases.
541 (simplify_comparison, case ZERO_EXTRACT): For bits big endian and
542 no extzv, use BITS_PER_WORD.
543 * fx80.md, gmicro.md, i386.md, m68k.md, tahoe.md, vax.md:
544 Use proper modes and predicates for {sign,zero}_extract.
546 Sun Mar 10 06:23:52 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
548 * emit-rtl.c (free_insn): New variable.
549 (init_emit, restore_emit_status): Clear it.
550 (gen_sequence): Store insn in free_insn when sequence length is 1.
551 (make_insn_raw): Use free_insn if available and still in the
552 rtl generation phase.
554 Fri Mar 8 15:37:31 1996 Mike Stump <mrs@cygnus.com>
556 * expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
557 on the cleanup chain until after the subexpression has been expanded.
559 Fri Mar 8 16:14:51 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
561 * i386.c (ix86_binary_operator_ok): One memory operand is OK.
562 This is independent of commutativity.
564 Fri Mar 8 14:07:43 1996 Jim Wilson <wilson@cygnus.com>
566 * expr.c (store_constructor_field): Call store_field if bitpos is
567 nonzero and target is not a MEM.
569 * jump.c (jump_optimize): When handle a USE insn before an
570 unconditional jump, disable the optimization if the USE is the
571 only insn in the loop.
573 * sh.c (reg_unused_after): Return 0 if see a JUMP_INSN.
575 Fri Mar 8 12:08:36 1996 Doug Evans <dje@cygnus.com>
577 * sparc/lynx.h (CPP_SPEC): Use %(cpp_cpu).
579 * sparc/sparc.md (move_pic_label_si,move_label_di): Rewrite length
580 attr calcs to be more conservative.
582 Thu Mar 7 19:14:21 1996 Doug Evans <dje@cygnus.com>
584 * sparc/t-splet: New file.
585 * sparc/splet.h: New file.
586 * configure (sparclet-*-aout*): Use them.
588 * sparc.h (MASK_LIVE_G0,TARGET_LIVE_G0): Define.
589 (FIRST_PSEUDO_REGISTER): Add 1 for %icc (now 101).
590 (FIXED_REGISTERS,CALL_USED_REGISTERS): Update.
591 (FIXED_REGISTERS): %g0 is fixed by default.
592 (SPARC_{FIRST,LAST}_V9_FCC_REG): Define.
593 (SPARC_{ICC,FCC}_REG): Define.
594 (CONDITIONAL_REGISTER_USAGE): Don't fix %fcc0 if v8.
595 (REG_CLASS_CONTENTS): Reg 0 is an int reg, reg 100 is %icc.
596 (REGNO_REG_CLASS): Rewrite to use global `sparc_regno_reg_class'.
597 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Add %icc.
598 (REG_CLASS_FROM_LETTER): Handle 'c' for FPCC_REGS in non-v9 case.
599 (REGNO_OK_FOR_{BASE,INDEX}_P): Treat %g0 as a normal reg.
600 (REG_OK_FOR_{BASE,INDEX}_P,EXTRA_CONSTRAINT): Likewise.
601 (REGISTER_NAMES): Add %icc.
602 (ADDITIONAL_REGISTER_NAMES): Use SPARC_ICC_REG.
603 * sparc.c (leaf_reg_remap): Add %icc=100.
604 (reg_or_0_operand): Don't allow 0 if TARGET_LIVE_G0.
605 (fcc_reg_operand): Renamed from ccfp_reg_operand.
606 Use SPARC_FCC_REG. Don't treat reg 0 as an fcc reg. Don't match
607 modes if `mode' argument is VOIDmode.
608 (icc_or_fcc_reg_operand): New function.
609 (gen_compare_reg): Use SPARC_FCC_REG for v8 fp compares.
610 Use SPARC_ICC_REG for int compares.
611 (eligible_for_epilogue_delay): Don't allow anything if TARGET_LIVE_G0.
612 Delete unnecessary test for %g0.
613 (emit_move_sequence): Don't emit (set (mem) (const_int 0)) if
615 (output_scc_insn): Label moved to operand 3. Condition code reg
617 (sparc_mode_class): Enum C_MODE renamed to CC_MODE.
618 (hard_32bit_mode_classes): Set reg 0 to S_MODES. Add entry for %icc.
619 (hard_64bit_mode_classes): Set reg 0 to D_MODES. Add entry for %icc.
620 (sparc_regno_reg_class): New global.
621 (sparc_init_modes): Initialize it.
622 (output_cbranch): Delete fp_cond_reg argument.
623 (print_operand, MEM op): Don't print "%g0+" if TARGET_LIVE_G0.
624 (sparc_flat_eligible_for_epilogue_delay): Don't allow anything if
626 * sparc.md (live_g0): New attribute.
627 (*): Integer condition code register is now reg 100.
628 Use SPARC_ICC_REG instead of hardcoding reg 100 where possible.
629 Non-v9 floating point condition code register is now reg 96.
630 (*cmp{sf,df,tf}_{fpe,fp}_sp{32,64}): Combine v9/non-v9 cases.
631 (*{normal,inverted}_{,fp,fpe}_branch): Update call to output_cbranch.
632 (*mov{qi,hi,si}_insn): Don't use if TARGET_LIVE_G0.
633 (*mov{qi,hi,si}_insn_liveg0): New patterns.
634 (*mov{si,di,sf,df,tf}_ccfp{,e}_sp64): ccfp_reg_operand renamed to
636 (*negdi2_sp32,negsi2,one_cmplsi2,ffssi2): Ensure %%g0 is 0 if
638 (*one_cmpldi2_sp32): Move operand 1 to rs1 and use 0 as rs2.
639 (patterns that use %g0 in rs2): Use 0 immediate value instead.
640 (patterns that read %g0): Don't use if TARGET_LIVE_G0.
642 Thu Mar 7 15:39:16 1996 Jim Wilson <wilson@chestnut.cygnus.com>
644 * sh.h (PASS_IN_REG_P): Change < to <=.
645 * va-sh.h (va_start): Change __SH3E___ to __SH3E__.
646 (va_arg): Add little-endian SH3E support. Fix big-endian version
647 to work for arguments smaller than the word size.
649 Thu Mar 7 10:37:37 1996 Jeffrey A. Law <law@cygnus.com>
651 * lib2funcs.asm: Remove entry/exit routines. Move them into...
652 * ee.asm: New file. Entry/exit code.
653 * ee_fp.asm: New file. Entry/exit code with frame pointer.
654 * t-pa: Corresponding changes.
655 * t-pro: Corresponding changes.
657 * pa.c: Fix misc small typos/thinkos in recent changes.
659 Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
661 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
663 Wed Mar 6 15:12:55 1996 Jeffrey A. Law <law@cygnus.com>
665 * t-pro (dp-bit rule): Fix typo.
667 * lib2funcs.asm (__outline_prologue): Remove frame pointer
669 (__outline_prologue_fp): Out of line prologue with frame pointer.
670 (__outline_epilogue, outline_epilogue_fp): Similarly.
671 * pa.c (compute_frame_size): Allocate enough space to avoid holes
672 in the callee register saves. Remove some special handling of %r3.
673 (hppa_expand_prologue): Don't do an out of line prologue/epilogue
674 if it would take more insns than an inline prologue/epilogue.
675 Don't leave holes in the callee register save set.
676 (hppa_expand_prologue): Corresponding changes. Pass stack size
677 to out of line epilogue code.
678 * pa.h (FRAME_POINTER_REQUIRED): Revert last change.
679 * pa.md (outline_prologue_call): Handle outline prologues which
680 don't need frame pointers.
681 (outline_epilogue_call): Similarly.
682 * t-pro: Reenable multilib code. Build a set of libraries that
685 Wed Mar 6 14:28:14 1996 Jim Wilson <wilson@chestnut.cygnus.com>
687 * Makefile.in (USER_H): Add ginclude/va-sh.h.
688 * ginclude/stdarg.h, ginclude/varargs.h: Use va-sh.h.
689 * ginclude/va-sh.h: New file.
691 * sh.h (PASS_IN_REG_P): Fix typo in last change.
693 Wed Mar 6 11:42:06 1996 David Edelsohn <edelsohn@mhpcc.edu>
695 * rs6000.h (enum processor_type): Remove PROCESSOR_PPC602.
696 (RTX_COSTS): Remove PROCESSOR_PPC602. PPC603 MULT cost depends
697 on constant and domain.
698 * rs6000.c (processor_target_table): 602 uses PROCESSOR_PPC603.
699 (get_issue_rate): Remove CPU_PPC602.
700 * rs6000.md (function units): Remove PPC602. Add store and
701 fpstore type attribute values. Update patterns.
703 Tue Mar 5 18:43:43 1996 Richard Henderson <rth@tamu.edu>
705 * m68k/coff.h (ASM_OUTPUT_SECTION_NAME): New define.
707 * m68k/{aux-crt1.c,aux-crt[2n].asm}: New files.
708 * m68k/{aux-exit.c,aux-low.gld,aux-mcount.c}: More new files.
709 * m68k/{aux.h,auxgnu.h,auxstd.h}: Even more new files.
710 * m68k/{t-aux,xm-aux.h}: The rest of the new files.
711 * m68k/sgs.h (ASM_OUTPUT_CASE_END): Add missing semicolon.
712 (switch_table_difference_label_flag): Make extern.
713 * fixincludes (sys/param.h): Fix c89 __asm statements.
714 * configure (m68k-apple-aux*): New target.
716 Tue Mar 5 17:38:19 1996 Doug Evans <dje@cygnus.com>
718 * sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
719 (*movsi_insn): Use fpload/fpstore attributes for fp loads/stores.
720 %r1 -> %1 for fpstore alternative.
721 (*movsf_insn,*movsf_no_f_insn): %r1 -> %1.
723 Tue Mar 5 17:19:17 1996 Jason Merrill <jason@yorick.cygnus.com>
725 * expr.c (expand_expr, case *_DECL): If we make a non-local
726 reference from a function with DECL_NO_STATIC_CHAIN set, abort.
727 (expand_expr, case ADDR_EXPR): We don't need a trampoline for a
728 function with DECL_NO_STATIC_CHAIN set.
729 * function.c (lookup_static_chain): If we're checking on a function
730 that doesn't need a static chain, return 0.
731 (init_function_start): We don't need context if DECL_NO_STATIC_CHAIN
733 * tree.c (staticp): Check DECL_NO_STATIC_CHAIN on nested functions.
735 Tue Mar 5 15:04:29 1996 Jim Wilson <wilson@chestnut.cygnus.com>
737 * sh.md (push_e, pop_e): Add TARGET_SH3E to condition.
738 * sh.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
739 * sh.c (find_barrier): Set si_limit to 1018 instead of 1020, and
740 hi_limit to 510 instead of 512.
742 Tue Mar 5 13:39:44 1996 Doug Evans <dje@cygnus.com>
744 * loop.c (init_loop): Use pseudo reg in add_cost computation
745 so cost doesn't vary depending on whether reg 0 happens to be
748 Tue Mar 5 09:32:24 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
750 * reg-stack.c (record_label_references): Check for undefined label.
752 Tue Mar 5 09:22:20 1996 Scott Christley (scottc@net-community.com)
754 * objc/objc-api.h, objc/runtime.h: Include objc/thread.h.
755 * objc/class.c (__objc_init_class_tables): Surround sarray access
756 with mutex lock/unlock.
757 (__objc_add_class_to_hash, objc_lookup_class): Likewise.
758 (objc_get_class, objc_get_next_class): Likewise.
759 (__objc_resolve_class_links, class_pose_as): Likewise.
760 * objc/init.c (__objc_runtime_mutux, __objc_runtime_thread_alive):
762 (objc_init_statics, __objc_init_protocols): Surround sarray access
763 with mutex lock/unlock
764 (__objc_exec_class): Likewise.
765 Initialization for thread-safe global variables.
766 Declarations for thread-safe functions and global variables
767 * objc/sendmsg.c (get_imp, __objc_responds_to):
768 Surround sarray access with mutex lock/unlock.
769 (__objc_init_install_dtable): Likewise.
770 (__objc_update_dispatch_table_for_class): Likewise.
771 (__objc_print_dtable_stats): Likewise.
772 * objc/selector.c (sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
773 (sel_get_any_uid, sel_get_name, sel_register_name): Likewise.
774 (sel_register_typed_name): Likewise.
775 * objc/sarray.h (union sversion): New.
776 (struct sarray): Maintain multiple versions.
777 (sarray_remove_garbage): Add prototype.
778 * objc/sarray.c (sarray_{remove,free}_garbage): New functions.
779 (sarray_at_put, sarray_new, sarray_lazy_copy):
780 Modify/copy sarray structure/data in a thread-safe manner
781 (sarray_{realloc,free}): Reallocate/free sarray structure/data in a
784 * objc/THREADS, objc/thread.c, objc/thread.h: New files.
785 * objc/thread-{decosf1,irix,solaris,win32,single}.c: New files.
786 * objc/objc-list.h: Renamed from objc/list.h.
787 * objc/Makefile: Changes to compile new files and name renaming.
788 * objc/makefile.dos: Likewise.
790 Tue Mar 5 07:51:31 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
792 * bc-emit.c, bc-optab.c (free): Delete declaration of library function.
794 * c-decl.c (duplicate_decl): If making decl non-external, copy
795 context from old to new.
797 Tue Mar 5 02:27:35 1996 Jeffrey A. Law <law@cygnus.com
799 * lib2funcs.asm (__outline_prologue): New "function".
800 (__outline_epilogue): New "function".
801 * pa.h (TARGET_SPACE): Define.
802 (target_flags): Add -mspace and -mno-space. Enable/disable
803 space saving optimizations.
804 (FRAME_POINTER_REQUIRED): Frame pointers are always required
805 when generating out of line prologues and epilogues.
806 * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
807 (hppa_expand_prologue): If optimizing for space, emit an out of
809 (hppa_expand_epilogue): Similarly.
810 (override_options): Optimizing for space is not compatible with
811 either profiling or PIC code generation.
812 * pa.md (outline_prologue_call): New pattern.
813 (outline_epilogue_call): Likewise.
815 Tue Mar 5 02:17:32 1996 Doug Evans <dje@cygnus.com>
817 * sparc.md (*cmp{si,di}_insn): %r0 -> %0.
818 (DFmode move define_split): Ensure registers not extended v9 fp regs.
819 (*mov{sf,df,tf}_cc_reg_sp64): %r3 -> %3.
821 Mon Mar 4 18:46:37 1996 Manfred Hollstein <manfred@lts.sel.alcatel.de>
823 * Makefile.in (CRT0STUFF_T_CFLAGS): New macro.
824 (stamp-crt0, crt0.o, mcrt0.o): New goals.
825 (STAGESTUFF): stamp-crt0 added.
827 * collect2.c (main): Check new define DEFAULT_A_OUT_NAME.
829 * m68k.c (print_operand): Emit .l as scale factor #ifdef MOTOROLA.
830 * m68k/mot3300-crt0.S, m68k/mot3300Mcrt0.S: New files.
831 * m68k/mot3300g.h: Deleted.
832 * m68k/mot3300.h (FUNCTION_PROFILER): Emit label references
833 corresponding to those generated by ASM_OUTPUT_INTERNAL_LABEL.
834 (MOTOROLA, MOTOROLA_BSR, ...): Define #ifndef USE_GAS.
835 (ASM_SPEC): Define properly #ifdef USE_GAS.
836 (LIB_SPEC): -L/usr/lib/libp deleted.
837 (STARTFILE_SPEC): -L/usr/lib/libp added.
838 (DEFAULT_A_OUT_NAME): Define.
839 (LINK_SPEC): Pass -v if GNU ld is used.
840 (LOCAL_LABEL_PREFIX): Local labels start with .L using GAS, else L%.
841 (USER_LABEL_PREFIX): Undefine.
842 (FUNCTION_PROFILER): Call asm_fprintf instead of normal fprintf.
843 (ASM_APP_ON, ASM_FILE_START): GAS supports it.
844 (CTORS_.../DTORS_...): Define if GNU ld is used.
845 (ASM_FILE_START): Define properly for Motorola and GNU as syntax.
846 (TARGET_VERSION): Re-define only #ifndef USE_GAS.
847 (CALL_USED_REGISTERS): Deleted.
848 (GLOBAL_ASM_OP): Re-define only #ifndef USE_GAS.
849 (ASM_{LONG,SHORT,CHAR,BYTE,BYTE_OP}): New macros.
850 (ASM_OUTPUT_{DOUBLE,LONG_DOUBLE,FLOAT,INT,SHORT}): Use them.
851 (ASM_OUTPUT_{CHAR,BYTE,ASCII,FLOAT_OPERAND,DOUBLE_OPERAND}): Likewise.
852 (ALIGN_ASM_OP, SKIP_ASM_OP): New macros.
853 (ASM_OUTPUT_{ALIGN,SKIP}): Use them.
854 (ASM_OUTPUT_SOURCE_FILENAME): Define only if not using GNU as.
855 (ASM_{GENERATE,OUTPUT}_INTERAL_LABEL): Provide proper definitions for
856 Motorola and GNU as syntax.
857 (ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Changed for portability between
858 Motorola and GNU as syntax.
859 (ASM_OUTPUT_{CASE_LABEL,OPCODE}): Define only if not using GNU as.
860 (ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): New macros.
861 (ASM_OUTPUT_{COMMON,LOCAL}): Proper defns for Motorola and gas syntax.
862 (SDB_...): Define only for Motorola as.
863 (ALT_LIBM): New define to tell g++.c about an alternative name for
865 (MATH_LIBRARY, NEED_ATEXIT, HAVE_ATEXIT, EXIT_BODY): New macros.
866 * m68k/t-mot3300, m68k/t-mot3300-{gald,gas,gld}: New files.
867 * m68k/x-mot3300-gas: New file.
868 * m68k/xm-mot3300.h (USG): Set to 1.
869 * configure (m68k-motorola-sysv*): Keep track of new different
870 combinations (--with-gnu-...), and provide proper definitions for
871 tm_file, xmake_file, tmake_file, use_collect2, and extra_parts.
873 * gbl-ctors.h (HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
874 (atexit): Use `int atexit' prototype also if NEED_ATEXIT is defined.
875 (on_exit): According to man on_exit on the Sun it returns int not void.
876 * libgcc2.c (L_bb/atexit, onexit): Declarations replaced by
877 #include'ing "gbl-ctors.h".
878 (L_exit/atexit): New function.
879 (L_exit/exit): Call any registered functions.
881 Mon Mar 4 18:03:38 1996 Bryan Ford (baford@cs.utah.edu)
883 * configure (i[3456]86-moss-msdos*): New target.
884 * i386/moss.h: New file.
886 Mon Mar 4 17:38:50 1996 Jim Wilson <wilson@cygnus.com>
888 * sh.h (PASS_IN_REG_P): Don't reject BLKmode for SH3e.
889 For SH3e, do reject parameter that won't fit entirely in registers.
891 * sh.md (mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
892 smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
893 (mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.
895 * sh.c (machine_dependent_reorg): In TARGET_RELAX code, when scan
896 forward from LINK, fail if pass a CODE_LABEL before finding INSN.
897 Fail if SCAN not INSN is a JUMP_INSN.
899 Mon Mar 4 11:27:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
901 * rs6000.h (CALL_LONG): Change CALL_xx values from an enumeration
902 to bitmasks. Add CALL_LONG to support longcall attributes.
903 (rs6000_args): Call_cookie field is now an int.
904 (rs6000_longcall_ref): Add declaration.
906 * rs6000.c (init_cumulative_args): Add support for longcall
907 attributes to always call through a pointer.
908 (function_arg): Ditto.
909 (rs6000_valid_type_attribute_p): Ditto.
910 (rs6000_longcall_ref): New function for long calls.
912 * rs6000.md (call insns): Add support for longcall attributes.
914 Mon Mar 4 08:42:14 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
916 * real.c (significand_size): Don't test the modes, but their sizes.
918 * dwarfout.c (xstrdup): Moved from here.
919 * toplev.c (xstrdup): New function.
920 * tree.h (xstrdup): Declare.
921 * bc-emit.c (bc_xstrdup): Delete.
922 * expr.c (bc_strdup): Delete.
923 (bc_load_externaddr_id): Use xstrdup instead of bc_xstrdup.
924 * function.c (bc_expand_function_start): Likewise.
925 * 1750a.c (strdup): Delete.
926 (float_label): Use xstrdup instead of strdup.
927 * 1750a.h (xstrdup): Declare instead of instead of strdup.
928 (ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
929 (FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.
931 Mon Mar 4 08:23:23 1996 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
933 * xm-we32k.h (NO_WAIT_H): Deleted.
935 * collect2.c: Never include wait.h.
937 Sat Mar 2 22:43:07 1996 Torbjorn Granlund <tege@spiff.gnu.ai.mit.edu>
939 * configure (code for making links): Work around sh bug on FreeBSD.
941 Sat Mar 2 13:40:29 1996 Jeffrey A. Law <law@cygnus.com>
943 * h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of
944 TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.
945 (BIGGEST_ALIGNMENT): Likewise.
947 Sat Mar 2 08:04:50 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
949 * calls.c (expand_call): If passing by invisible ref, not const.
951 * sparc.c (SKIP_CALLERS_UNIMP_P): Make agree with test used in call.
953 * expr.c (do_jump, case COMPOUND_EXPR): Call preserve_temp_slots.
955 * fold-const.c (fold, case *_DIV_EXPR): Ignore SAVE_EXPR if has RTL.
957 Fri Mar 1 17:59:17 1996 Jeffrey A. Law <law@cygnus.com>
959 * optabs.c (emit_cmp_insn): Immediately copy the return
960 value from the library call into a pseudo register.
961 (emit_float_lib_cmp): Likewise.
963 Fri Mar 1 14:37:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
965 * rs6000/sysv4.h (BSS_SECTION_ASM_OP): Define.
966 (*_SECTION_ASM_OP): Change tab after .section into a space.
967 (ASM_OUTPUT_INT): Ditto.
968 (ASM_OUTPUT_ALIGNED_LOCAL): Rewrite to use bss_section.
969 (ASM_OUTPUT_ALIGNED_BSS): Define to use ASM_GLOBALIZE_LABEL and
970 ASM_OUTPUT_ALIGNED_LOCAL.
972 * rs6000/win-nt.h (BSS_SECTION_ASM_OP): Define.
973 (ASM_OUTPUT_ALIGNED_LOCAL): Define.
974 (ASM_OUTPUT_LOCAL): Don't define any more.
975 (ASM_OUTPUT_ALIGNED_BSS): Define to use ASM_GLOBALIZE_LABEL and
976 ASM_OUTPUT_ALIGNED_LOCAL.
978 Thu Feb 29 17:33:12 1996 Jim Wilson <wilson@chestnut.cygnus.com>
980 * c-typeck.c (push_init_level): When output padding to align structure
981 field, set constructor_unfilled_fields.
983 * dbxout.c (dbxout_type, case METHOD_TYPE): Add CHARS (1) call
984 after emitting second '#' character.
986 Thu Feb 29 13:59:27 1996 Doug Evans <dje@charmed.cygnus.com>
988 * h8300.h (ASM_OUTPUT_BSS): Define.
989 * m68k/coff.h (BSS_SECTION_ASM_OP): Define.
990 (ASM_OUTPUT_ALIGNED_BSS): Define.
991 * m68k/m68k-aout.h (BSS_SECTION_ASM_OP): Define.
992 (ASM_OUTPUT_BSS): Define.
994 Thu Feb 29 13:39:39 1996 Per Bothner <bothner@cygnus.com>
996 * varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR,
997 first extract and compare the set length.
999 * varasm.c (record_constant_1): For SET_TYPE CONSTRUCTOR,
1000 permanent_obstack.next_free is *end* of available space.
1002 Thu Feb 29 13:14:14 1996 Jeffrey A. Law <law@cygnus.com>
1004 * pa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and
1005 "-mno-long-load-store".
1006 (TARGET_LONG_LOAD_STORE): Define.
1007 * pa.md (symbolic high part): Handle TARGET_LONG_LOAD_STORE.
1009 Thu Feb 29 11:39:30 1996 Stan Cox <coxs@dg-rtp.dg.com>
1011 * i386.md (cmpxf*): XF compare cannot have mem operands.
1012 (casesi expand): Put (minus:SI..) into subsi3 format.
1013 * i386.c (i386_return_pops_args): Cleanup extra argument
1014 used as address of a returned structure.
1016 Wed Feb 28 22:24:28 1996 Doug Evans <dje@cygnus.com>
1018 * varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP
1020 (bss_section,asm_output_bss,asm_output_aligned_bss): New functions.
1021 (assemble_variable): Delete redundant test for too large an object.
1022 Rewrite test for uninitialized variables. Use new macros
1023 ASM_OUTPUT{,_ALIGNED}_BSS if defined to output global uninitialized
1024 but not common variables.
1025 * bytecode.h (BC_OUTPUT_BSS): Define.
1026 * lynx.h (EXTRA_SECTIONS): Delete in_bss.
1027 (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
1028 * svr3.h (EXTRA_SECTIONS): Likewise.
1029 (BSS_SECTION_FUNCTION): Delete.
1030 * convex.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
1031 * dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
1032 (EXTRA_SECTION_FUNCTIONS): Delete bss_section.
1033 * gmicro.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
1034 * i386/aix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete
1035 BSS_SECTION_FUNCTION.
1036 * i386/att.h (BSS_SECTION_FUNCTION): Delete.
1037 * i386/sco5.h (EXTRA_SECTIONS): Delete in_bss.
1038 (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
1039 (BSS_SECTION_FUNCTION): Delete.
1040 * i386/seq-sysv3.h (BSS_SECTION_FUNCTION): Delete.
1041 * i386/svr3gas.h (EXTRA_SECTIONS): Delete in_bss.
1042 (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
1043 (BSS_SECTION_FUNCTION): Delete.
1044 * i860/paragon.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Undef.
1045 * m68k/crds.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
1046 (BSS_SECTION_ASM_OP): Define.
1047 * m68k/m68k.h (BC_OUTPUT_BSS): Define.
1048 * mips/iris6.h (EXTRA_SECTIONS): Delete in_bss.
1049 * pa.h (EXTRA_SECTIONS): Delete in_bss.
1050 (EXTRA_SECTION_FUNCTIONS): Delete bss_section.
1051 * sparc/litecoff.h (EXTRA_SECTIONS): Delete in_bss.
1053 Wed Feb 28 14:12:25 1996 Jim Wilson <wilson@chestnut.cygnus.com>
1055 * sh.h (FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): Include FP
1056 registers only when TARGET_SH3E.
1057 (PASS_IN_REG_P): Exclude BLKmode only when ! TARGET_SH3E.
1059 Wed Feb 28 12:03:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1061 * rs6000.c (rs6000_trampoline_{template,size}): Change Windows NT
1062 trampoline template so it doesn't require making stack executable.
1063 Add support for 64 bit systems.
1064 (rs6000_initialize_trampoline): Ditto.
1066 Tue Feb 27 16:42:00 1996 David Edelsohn <edelsohn@mhpcc.edu>
1068 * rs6000.c (print_operand): New code 'H'.
1069 * rs6000.md (insv, extzv): Add DImode patterns. Use 'h'
1070 consistently for masking SImode shifts.
1071 (rotldi3, ashldi3, lshrdi3, ashrdi3): Use 'H'.
1072 (movsf split): Generate CONST_INT instead of SUBREG.
1074 Tue Feb 27 15:02:17 1996 Doug Evans <dje@cygnus.com>
1076 * sh.h (HANDLE_PRAGMA): Delete `return'.
1078 Tue Feb 27 08:18:12 1996 Richard Earnshaw (rearnsha@armltd.co.uk)
1080 * arm.c (aof_text_section): Remove pseudo read-only hack. Doesn't
1081 take a parameter any more.
1082 * arm/aof.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove
1083 readonly data sections.
1084 (READONLYDATA_SECTION, READONLY_DATA_SECTION): Delete.
1086 * arm.h (enum arm_cond_code): New enum.
1087 (ARM_INVERSE_CONDITION_CODE): Moved here from arm.c.
1088 (SELECT_CC_MODE): Call arm_select_cc_mode to do the work.
1089 (PREDICATE_CODES): Add dominant_cc_register; delete
1090 reversible_cc_register.
1091 * arm.c (arm_current_cc): Now an enum.
1092 (ARM_INVERSE_CONDITION_CODE): Moved to arm.h
1093 (revsersible_cc_register): Delete.
1094 (dominant_cc_register): New function.
1095 (select_dominance_cc_mode): New function.
1096 (arm_select_cc_mode): New function.
1097 (output_return_instruction): New parameter REVERSE, used to
1098 reverse the condition of a conditional return. All callers
1100 (arm_print_operand case 'D'): Only suppress condition printing
1101 if the operand is a NULL pointer.
1102 (get_arm_condition_code): Now a static function returning
1103 enum arm_cond_code. Handle dominance expressions. Return enum
1104 values rather than integers.
1105 * arm.md (*addsi3_compare0_scratch): New insn.
1106 (*movsi_compare0, *cmpsi_insn, *cmpsi_shiftsi): Make sure the
1107 compare has mode CC.
1108 (cmp{si,sf,df,xf} expands): Just provide sufficient information
1109 to allow the parameters to be matched properly.
1110 (*cmpsi_negsi): Delete (of dubious validity).
1111 (*cmpsi_shiftsi_swp): New pattern.
1112 (*condbranch_reversed): No longer needs to check REVERSIBLE_CC_MODE.
1113 (mov{si,sf,df}cc, *mov{si,sf,df}{,_hard,_soft}_insn): The mode of the
1114 IF_THEN_ELSE must be appropriate to the target (not void).
1115 (*and_scc): Match cc_register, not reversible_cc_register.
1116 (*ior_compare_compare): Delete.
1117 (split for ior_compare_compare + condjump): Delete.
1118 (*impossible_cond_compare): Delete.
1119 (*condition_compare_ior): Delete.
1120 (*cond_move): Mode for the IF_THEN_ELSE must be SImode.
1121 (*and_scc_scc): Delete.
1122 (split for and_scc_scc + condjump): Delete.
1123 (*impossible_cond_branch_and): Delete.
1124 (*cmp_ite0, *cmp_ite1): New patterns.
1125 (if_compare_not): Should be an anonymous pattern.
1126 (Peephole for move and compare): Compare mode must be mode CCmode.
1127 (Split pattern for comparing shifted reg then branch): Delete.
1128 (*loadqi_compare): Delete, replaced with a split pattern to do
1130 (*cond_move_not): Match cc_register, not reversible_cc_register.
1132 * arm.c ({load,store}_multiple_sequence): New functions.
1133 (emit_{ldm,stm}_seq): New functions.
1134 * arm.md (load/store multiple peepholes): Rewrite using the above
1136 (all patterns taking immediate_operand): If the code later assumes
1137 this is a CONST_INT, then match const_int_operand instead.
1139 Mon Feb 26 17:26:13 1996 Doug Evans <dje@cygnus.com>
1141 * sparc.md: Add sparclet scheduling parameters.
1142 (compare define_insn's): Move closer to compare define_expand's.
1143 (32 bit multiply patterns): Use for TARGET_SPARCLET.
1144 (*smacsi,*smacdi,*umacdi): Multiply/accumulate patterns for the
1147 Sat Feb 24 19:13:29 1996 David Edelsohn <edelsohn@mhpcc.edu>
1149 * rs6000.md (movsf split): Fix typo in last patch.
1151 Sat Feb 24 10:02:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1153 * toplev.c (fatal_insn): Flush stdout/stderr.
1155 Sat Feb 24 02:03:28 1996 Jeffrey A. Law <law@cygnus.com>
1157 * pa.md (abssi2): Rework to avoid matching constraints.
1159 Fri Feb 23 11:21:43 1996 Jeffrey A. Law <law@cygnus.com>
1161 * pa.c (override_options): Warn if both PIC code generation and
1162 profiling are requested.
1164 Fri Feb 23 08:47:38 1996 Richard Kenner (kenner at vlsi1)
1166 * expr.c (expand_builtin, case BUILT_IN_SETJMP): Set CONST_CALL_P
1167 on NOTE_INSN_SETJMP instead of emitting USE insns for call-saved regs.
1168 * reload1.c (reload): For special CONST_CALL_P NOTE_INSN_SETJMP,
1169 mark all call-saved regs as used.
1170 * sched.c (sched_analyze): Record NOTE_INSN_SETJMP if no
1171 CALL_INSN as prev; preserve CONST_CALL_P bit.
1172 (reemit_notes): Restore CONST_CALL_P.
1174 Thu Feb 22 17:45:12 1996 Doug Evans <dje@cygnus.com>
1176 * configure (sparclet-*-aout*): Set extra_headers.
1177 * ginclude/inl-sparc.h: New file.
1179 Wed Feb 21 20:39:53 1996 Doug Evans <dje@cygnus.com>
1181 * configure (sparc64-*-solaris2*): Merge with sparc-*-solaris2*.
1182 * sparc.h (enum processor_type): Declare.
1183 (sparc_cpu_attr): Define.
1184 (TARGET_OPTIONS): Add -mtune=.
1185 (sparc_select): Declare.
1186 (sparc_cpu_string): Delete.
1187 (FIRST_PSEUDO_REGISTER): Set to 100.
1188 ({FIXED,CALL_USED}_REGISTERS): Merge !v9/v9 cases.
1189 (CONDITIONAL_REGISTER_USAGE): Mark %g5 as fixed if !v9.
1190 Mark %g1 as fixed if v9. Fix v9-only regs if !v9.
1191 Mark fp{16..47} as call-saved if v9.
1192 (enum reg_class): Merge !v9/v9 cases.
1193 (REG_CLASS_NAMES,REG_CLASS_CONTENTS,REGNO_REG_CLASS): Likewise.
1194 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER,LEAF_REGISTERS): Likewise.
1195 (FP_REG_CLASS_P,SPARC_REGISTER_NAMES): Likewise.
1196 (REG_CLASS_FROM_LETTER): Test TARGET_V9 at runtime.
1197 * sparc.c (sparc_cpu_string): Delete.
1198 (sparc_select): New global.
1199 (sparc_override_options): Handle -mtune=xxx.
1200 * sparc.md (cpu attr): Add sparc{lite,let} implementations.
1201 * sparc/sp64-sol2.h: Deleted.
1203 * arm.md (consttable_end): Delete call to text_section.
1204 (align_4): Delete call to readonly_data_section.
1206 Wed Feb 21 14:29:06 1996 Ian Lance Taylor <ian@cygnus.com>
1208 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
1209 handle 0 as a pointer value parameter.
1211 Wed Feb 21 14:13:29 1996 Jason Merrill <jason@yorick.cygnus.com>
1213 * tree.c (decl_function_context): Do decl_function_context right for
1214 function-local classes.
1216 Wed Feb 21 12:42:52 1996 Jeffrey A. Law <law@cygnus.com>
1218 * c-typeck.c (initializer_constant_valid_p): Don't dereference
1219 a null pointer on partial structure initialization.
1221 Wed Feb 21 11:49:58 1996 David Edelsohn <edelsohn@mhpcc.edu>
1223 * rs6000.h (ASM_OUTPUT_EXTERNAL): Append section info
1224 even when verbatim symbol prefix '*' present.
1225 * rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Same.
1226 * rs6000/aix41.h (ASM_OUTPUT_EXTERNAL): Same.
1227 * rs6000/powerpc.h (ASM_OUTPUT_EXTERNAL): Same.
1228 * rs6000/win-nt.h (ASM_OUTPUT_EXTERNAL): Same.
1230 Wed Feb 21 03:55:32 1996 Paul Eggert <eggert@twinsun.com>
1232 * cccp.c (validate_else): Don't loop given `#endif /'.
1233 Handle multiple adjacent backslash-newlines correctly.
1234 Accept a new parameter LIMIT to specify end of input;
1235 this prevents confusion when the input contains '\0' characters.
1236 (collect_expansion): Fix off-by-1 error when searching for `*/'
1237 at end of a comment used for traditional token concatenation.
1238 (macarg1): Fix off-by-1 error when skipping past `*/'
1241 Tue Feb 20 16:12:31 1996 Doug Evans <dje@cygnus.com>
1243 * hard-reg-set.h (twice unrolled GO_IF_HARD_REG_EQUAL): Add missing \.
1245 Tue Feb 20 14:21:16 1996 Jeffrey A. Law <law@cygnus.com>
1247 * pa.h (DBX_CONTIN_LENGTH): Define to 4000 characters.
1249 * pa.c (hppa_expand_epilogue): Always emit a blockage insn
1250 before cutting back the stack.
1252 Mon Feb 19 19:42:15 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1254 * sparc.h (TARGET_SWITCHES): Add -m{,no-}impure-text.
1255 (MASK_IMPURE_TEXT, TARGET_IMPURE_TEXT): Define.
1256 (LINK_SPEC): Only add `-assert pure-text' if -mimpure-text wasn't used.
1258 Mon Feb 19 19:20:15 1996 Doug Evans <dje@canuck.cygnus.com>
1260 * configure (sparc-aout): sparc-aout.h renamed to aout.h.
1261 (sparclet-aout): Likewise.
1262 (sparclite-*-aout*): Renamed from sparclite-*-*.
1263 Don't set use_collect2.
1264 (target_cpu_default): Set to TARGET_CPU_<cpu> for sparc.
1266 * sparc.h (TARGET_CPU_sparc{,let,lite,64}): Define.
1267 ({CPP,ASM}_DEFAULT_SPEC): Set from TARGET_CPU_foo.
1268 (SPARC_ARCH64 CPP_PREDEFINES): Define __arch64__.
1269 (CPP_SPEC): Add %(cpp_cpu).
1270 (CPP_CPU_SPEC): Define.
1271 (CC1_SPEC): Convert -m<cpu> to -mcpu=<cpu>.
1272 (ASM_SPEC): Add %(asm_cpu).
1273 (ASM_CPU_SPEC): Define.
1274 (EXTRA_SPECS,SUBTARGET_EXTRA_SPECS): Define.
1275 (OVERRIDE_OPTIONS): Call SUBTARGET_OVERRIDE_OPTIONS after
1276 sparc_override_options.
1277 ({MASK,TARGET}_SUPERSPARC): Delete.
1278 ({MASK,TARGET}_SPARCLET): Define.
1279 (MASK_ISA): Renamed from MASK_CPUS.
1280 (TARGET_SWITCHES): Delete no-{v8,sparclite}.
1281 (sparc_cpu,sparc_cpu_string): Declare.
1282 ({SUB,}TARGET_OPTIONS): Define.
1283 (FIXED_REGISTERS): Add definitions for sparc64 in 32 bit mode.
1284 (CONDITIONAL_REGISTER_USAGE): Don't set fixed_regs[234] if sparc64.
1285 Don't set call_used_regs[48..80] for sparc64 in 32 bit mode.
1286 Don't clobber fixed_regs[234] if -ffixed- was passed.
1287 (ADJUST_COST): Change test for supersparc.
1288 * sparc.c (sparc_cpu_string,sparc_cpu): New globals.
1289 (sparc_override_options): Set ISA and CPU from sparc_cpu_string.
1290 Delete tests for v9 only switches if not v9.
1291 Error if -mcpu=v9 and v9 support not compiled in.
1292 * sparc/sol2.h (CPP_SPEC): Use %(cpp_cpu).
1293 (ASM_SPEC): Likewise.
1294 (ASM_{DEFAULT,CPU}_SPEC): Use Solaris syntax for sparc64.
1295 * sparc/sysv4.h (ASM_SPEC): Add %(asm_cpu).
1296 * sparc/t-sparcbare (MULTILIB_*): -mv8 renamed to -mcpu=v8.
1297 * sparc/t-sparclite (MULTILIB_*): Delete msoft-float and mno-flat,
1298 they're the defaults. Add -mcpu=f934 as synonym for -mfpu.
1299 * va-sparc.h (__arch64__): Renamed from __sparc_v9__.
1301 * sparc/lite.h: #include aoutos.h.
1302 (TARGET_DEFAULT): Use MASK_FOO values.
1303 * sparc/sp64-aout.h: #include aoutos.h.
1304 (TARGET_DEFAULT): Add MASK_APP_REGS.
1305 (JUMP_TABLES_IN_TEXT_SECTION,READONLY_DATA_SECTION): Delete.
1306 * sparc/sp64-elf.h (TARGET_DEFAULT): Add MASK_APP_REGS.
1307 (CPP_PREDEFINES): Define __arch64__.
1308 * sparc/sp64-sol2.h (TARGET_DEFAULT, SUBTARGET_SWITCHES): Delete.
1311 * sparc.h ({MASK,TARGET}_FRW): Delete.
1312 (FRAME_POINTER_REQUIRED,INITIAL_FRAME_POINTER_OFFSET,
1313 BASE_{INCOMING_ARG,OUTGOING_VALUE}_REG,INCOMING_REGNO,OUTGOING_REGNO,
1314 FUNCTION_{PROLOGUE,EPILOGUE},DELAY_SLOTS_FOR_EPILOGUE): TARGET_FRW
1315 renamed to TARGET_FLAT.
1317 * sparc.md (cpu attr): Add all cpu variants.
1318 (negtf2,negdf2,abstf2,absdf2): Use isa attr, not arch attr, in
1319 determining insn lengths.
1321 * sparc/aout.h: Renamed from sparc-aout.h.
1322 (CPP_PREDEFINES): Delete __GCC_NEW_VARARGS__.
1323 Add -Acpu(sparc) -Amachine(sparc).
1325 Mon Feb 19 17:49:08 1996 David Edelsohn <edelsohn@mhpcc.edu>
1327 * rs6000.md (movsf split): Use SUBREG, not operand_subword.
1328 (movdf split): operand_subword TARGET_32BIT and new split using
1329 SUBREG for TARGET_64BIT.
1330 * rs6000.c (easy_fp_constant): Rewrite to not use operand_subword.
1331 (input_operand): Remove final add_operand test made irrelevant by
1333 (output_toc): Handle DImode values.
1335 Mon Feb 19 13:38:00 1996 Lee Iverson <leei@Canada.AI.SRI.COM>
1337 * i386/sol2.h (SWITCH_TAKES_ARG): Restore -R.
1338 * sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
1340 Mon Feb 19 08:19:00 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1342 * hard-reg-set.h (HARD_REG macros): If more than
1343 HOST_BITS_PER_WIDE_INT hard registers and less than or equal to
1344 4*HOST_BITS_PER_WIDE_INT hard registers, unroll loops by hand.
1346 Mon Feb 19 07:35:07 1996 Torbjorn Granlund <tege@tmg.se>
1348 * rs6000.md (not:SI with assign and compare): Fix typo.
1349 (not:DI with assign and compare): Likewise.
1351 Mon Feb 19 07:17:25 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1353 * sparc.md (nonlocal_goto): No longer need USE of %o0.
1354 (goto_handler_and_restore): Show uses %o0.
1356 * combine.c (force_to_mode, case IOR): Fix typo in commuting
1359 * alpha.c (call_operand): If in REG, only reg 27 valid.
1361 Mon Feb 19 06:57:34 1996 Richard Earnshaw (rearnsha@armltd.co.uk)
1363 * emit-rtl.c (operand_subword): For 32-bit targets, return
1364 the appropriate subword of extended precision CONST_DOUBLEs.
1366 * arm.c (offsettable_memory_operand): New function.
1367 (alignable_memory_operand): New function.
1368 (gen_rotated_half_load): New function.
1369 (get_arm_condition_code): Extract the mode of the comparison and
1370 use it to generate the correct return value.
1371 * arm.h (EXTRA_CC_MODES, EXTRA_CC_NAMES): Add CC_Zmode.
1372 (SELECT_CC_MODE): return CC_Zmode if the operand is QImode. Allow LT
1373 and GE comparisons in CC_NOOVmode.
1374 (PREDICATE_CODES): add offsettable_memory_operand and
1375 alignable_memory_operand.
1376 * arm.md (*zeroextract[qs]i_compare0_scratch): Use const_int_operand
1377 for operands 1 and 2.
1378 (split patterns for aligned memory half-word operations): New patterns.
1379 (movhi): Handle memory accesses where the alignment is known in a more
1381 (*compareqi_eq0): Use CC_Zmode.
1383 Mon Feb 19 05:34:08 1996 Jason Merrill <jason@phydeaux.cygnus.com>
1385 * toplev.c (lang_options): Add -W{no-,}sign-compare.
1387 * c-tree.h: Declare warn_sign_compare.
1389 * c-typeck.c (build_binary_op): Check warn_sign_compare rather
1390 than extra_warnings to decide whether to warn about comparison of
1391 signed and unsigned.
1393 * c-decl.c (c_decode_option): Handle warn_sign_compare. -Wall
1394 implies -Wsign-compare.
1396 Sun Feb 18 21:13:44 1996 Pat Rankin (rankin@eql.caltech.edu)
1398 * c-lex.c (yylex, case '0'..'9','.'): For cases '0' and '1',
1399 check for single digit constant before resorting to general
1402 Sun Feb 18 19:29:44 1996 J.T. Conklin <jtc@netbsd.org>
1404 * m68k.h (TARGET_68060): New macro.
1405 (TARGET_SWITCHES): Add -m68060.
1406 * m68k.md (const_umulsi3_highpart): Disable for TARGET_M68060.
1407 (ftruncdf2, ftruncsf2, muldf3, mulsidi3): Likewise.
1408 (smulsi3_highpart, umulsi3_highpart, umulsidi3): Likewise.
1410 * {m68k,ns32k,sparc}/netbsd.h (DBX_NO_XREFS): Removed.
1412 Sun Feb 18 13:29:56 1996 Charles M. Hannum (mycroft@netbsd.org)
1414 * c-common.c (check_format_info): Warn about `L' if -pedantic.
1416 Fri Feb 16 20:13:23 1996 Paul Eggert <eggert@twinsun.com>
1418 * c-typeck.c (convert_for_assignment):
1419 Bring back conversion to union without a cast,
1420 undoing the Jan 16 change, but with the following differences:
1421 - The union must have the transparent_union attribute.
1422 - The conversion must be for a function argument.
1423 - Warn consistently about such conversions if pedantic.
1424 - Do not warn about an assignment incompatibility for one union member
1425 if another union member is compatible with no warning.
1427 Fri Feb 16 12:06:21 1996 Stan Cox <coxs@spiff.gnu.ai.mit.edu>
1429 * i386.c (ix86_*_binary_operator*): Allow CONST_INT as operand1
1431 * i386/dgux.h (OPTIMIZATION_OPTIONS): Call optimization_options.
1433 Fri Feb 16 08:39:47 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1435 * configure: Change stdout report when have multiple files in
1436 tm_file, host_xm_file, or build_xm_file.
1437 (a29k-*-bsd): Use both a29k.h and unix.h.
1438 (a29k-*-udi): Rename a29k-udi.h to udi.h;
1439 use a29k.h, dbxcoff.h, and it.
1440 (a29k-*-vxworks): Use a29k.h, dbxcoff.h, a29k/udi.h, and a29k/vx29k.h.
1441 (alpha-dec-osf[23456789]*): Use alpha.h, not osf2.h.
1442 (alpha-dec-osf1.2): Use alpha.h and alpha/osf12.h.
1443 (alpha-*-osf*): Add explicit assignment of tm_file.
1444 * a29k/udi.h: Renamed from a29k-udi.h.
1445 Don't include a29k.h or dbxcoff.h.
1446 * a29k/unix.h: Don't include a29k.h.
1447 * a29k/vx29k.h: Don't include a29k-udi.h.
1448 * alpha.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use unsigned int.
1449 * alpha/osf2.h: Deleted.
1450 * alpha/osf12.h: Don't include alpha.h.
1451 (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.
1452 * alpha/win-nt.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Use short unsigned int.
1454 Thu Feb 15 18:26:04 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1456 * rs6000/ntstack.asm (__allocate_stack): Round up length to 16
1459 * rs6000.md (allocate_stack): On Windows NT, call set_sp to
1460 indicate to CSE stack pointer changes with call to __allocate_stack.
1461 (set_sp): New pattern.
1463 Thu Feb 15 16:49:15 1996 Jim Wilson <wilson@cygnus.com>
1465 * integrate.c (save_for_inline_copying): Allocate reg_map with size
1466 based on regno_pointer_flag_length instead of max_reg+1.
1468 Thu Feb 15 07:48:34 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1470 * fixincludes (rpc/types.h): Remove spurious "ls" command.
1472 * reload1.c (eliminate_regs, case USE): If using a register that
1473 is source of elimination, show can't be eliminated.
1475 * expr.c (expand_builtin, case BUILT_IN_SETJMP): Shows clobbers FP
1476 and all caller-save registers.
1477 Set current_function_has_nonlocal_goto.
1479 Wed Feb 14 13:51:55 1996 David Edelsohn <edelsohn@mhpcc.edu>
1481 * rs6000.md (fix_truncdfsi2): Use SUBREG not operand_subword.
1482 (movdi): Test HOST_BITS_PER_WIDE_INT at build time.
1483 * collect2.c (scan_libraries): Append '/' to import path if missing.
1485 Wed Feb 14 09:01:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1487 * rs6000.md (movdi): Use HOST_WIDE_INT, not long long.
1489 Tue Feb 13 19:36:21 1996 Per Bothner <bothner@cygnus.com>
1491 * expr.c (store_constructor): Fix flow control thinko (merge error).
1492 * expr.c (store_constructor): Pass correct value to recursive call.
1494 Wed Jan 31 11:34:45 1996 Mike Stump <mrs@cygnus.com>
1496 * expr.c (expand_expr, case TARGET_EXPR): We must always store
1497 into the allocated slot for TAREGT_EXPRs.
1499 Tue Feb 13 18:27:05 1996 Philippe De Muyter <phdm@info.ucl.ac.be>
1501 * configure (powerpc-ibm-aix3): Look for 3.2.x, not 3.2x.
1503 * fixincludes (memory.h): Fix it also on sysV68.
1505 Tue Feb 13 17:59:03 1996 Lee Iverson <leei@Canada.AI.SRI.COM>
1507 * gcc.c (DEFAULT_SWITCH_TAKES_ARG): New macro, from SWITCH_TAKES_ARG.
1508 (SWITCH_TAKES_ARG): Use it.
1509 * i386/{osfrose,sol2}.h (SWITCH_TAKES_ARG): Likewise.
1510 * mips/{gnu,mips}.h (SWITCH_TAKES_ARG): Likewise.
1511 * sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
1512 * config/svr4.h (SWITCH_TAKES_ARG): Likewise.
1514 Tue Feb 13 17:43:46 1996 Jim Wilson <wilson@cygnus.com>
1516 * integrate.c (save_constants_in_decl_trees): New function.
1517 (save_for_inline_copying, save_for_inline_nocopy): Call it.
1519 Tue Feb 13 17:40:27 1996 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1521 * expr.c (convert_move): Fix typo in extendqfh2 case.
1523 * reload1.c (reload): Make some non-group code no longer
1524 conditional on SMALL_REGISTER_CLASSES.
1526 Tue Feb 13 17:30:45 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
1528 * pdp11.c: #include flags.h
1529 (output_function_prologue, function_epilogue): Remove declarations
1530 of call_used_regs and frame_pointer_needed.
1532 * c-common.c (overflow_warning): Fix typo in warning message.
1534 * c-decl.c (finish_decl): TREE_ASM_WRITTEN says if duplicate_decls
1535 modified declaration to match an outside file scope declaration.
1537 * stmt.c (expand_end_case): Don't use ADDR_DIFF_VEC for PIC if
1538 ASM_OUTPUT_ADDR_DIFF_ELT is not defined.
1539 * a29k.h, romp.h (ASM_OUTPUT_ADDR_DIFF_ELT): Remove.
1541 Tue Feb 13 13:36:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1543 * rs6000/cygwin32.h (CPP_PREDEFINES): Do not define PPC, just
1544 define __PPC__. Also define _ARCH_PPC to be compatible with the
1545 other rs6000/powerpc ports.
1546 * rs6000/win-nt.h (CPP_PREDEFINES): Ditto.
1548 * rs6000/cygwin32.h (LIBGCC_SPEC): Don't define, always link in.
1549 (SDB_DEBUGGING_INFO): Undef.
1550 (DBX_DEBUGGING_INFO): Define.
1551 (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG.
1553 * rs6000/t-{cygwin32,winnt} (MULTILIB*): Remove multilib support.
1555 * rs6000/x-cygwin32 (LANGUAGES): Delete, don't override.
1557 * rs6000/ntstack.asm: New file to provide __allocate_stack, which
1558 guarantees all pages in a dynamically allocated stack frame are
1559 touched in order, so that the stack is properly grown.
1561 * rs6000/cgywin32.asm: Delete unused file.
1563 * rs6000/t-{cygwin32,winnt} (LIB2FUNCS_EXTRA): Add ntstack.S
1566 * rs6000.md (allocate_stack): For NT, call __allocate_stack to
1567 bump the stack if the size is large or variable.
1569 * libgcc1-test.c (mainCRTStartup,__start): New startup functions
1570 to silence more linkers.
1572 Tue Feb 13 13:30:53 1996 Jim Wilson <wilson@cygnus.com>
1574 * expr.c (store_constructor_field): Only call change_address if
1577 Tue Feb 13 08:21:01 1996 Fila Kolodny <fila@ibi.com>
1579 * i370/mvs.h (CPP_SPEC): Add '-trigraphs' because IBM's h files
1582 Tue Feb 13 08:17:52 1996 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1584 * c-typeck.c (quality_type prototype): Typo, rename as
1586 (build_binary_op): Fix precedence errors.
1587 * combine.c (force_to_mode, num_sign_bit_copies, simplify_comparison):
1588 Fix precedence errors.
1589 * emit-rtl.c (gen_lowpart): Could return without a value.
1590 * jump.c (jump_optimize): Fix potential infinite loop.
1591 * reg-stack.c (record_reg_life_pat): Fix precedence error.
1592 * reload1.c (emit_reload_insns): Fix precedence errors.
1593 * stmt.c (bc_pushcase): Fix precedence error.
1595 Mon Feb 12 23:14:02 1996 Jason Merrill <jason@yorick.cygnus.com>
1597 * toplev.c (rest_of_compilation): Also set RTX_INTEGRATED_P when
1598 we aren't going to emit the inline just yet.
1600 Mon Feb 12 21:31:02 1996 Jim Wilson <wilson@cygnus.com>
1602 * rtl.h (INLINE_REGNO_POINTER_FLAG, INLINE_REGNO_POINTER_ALIGN):
1603 Add one to array index.
1605 Mon Feb 12 20:55:39 1996 H.J. Lu (hjl@gnu.ai.mit.edu)
1607 * configure (i[345]86-*-linux*): Set tmake_file t-linux.
1608 Add crtbeginS.o and crtendS.o to extra_parts.
1609 * i386/linux.h (CC1, LIB_SPEC): Deleted.
1610 * config/linux.h (STARTFILE_SPEC): Add crtbeginS.o if -shared.
1612 (LIB_SPEC): Remove %{mieee-fp:-lieee}; use -lc_p for -profile.
1613 * config/t-linux: New file.
1615 Mon Feb 12 20:42:11 1996 Randy Smith <randys@camaro.osf.org>
1617 * i386/x-osfrose (XCFLAGS{,_NODEBUG}): Remove $(SHLIB).
1618 (XCFLAGS): New variable.
1619 (libdir, mandir, bindir): Delete.
1620 * i386/t-osf: New file.
1621 * i860/paragon.h (STARTFILE_SPEC): Make gcc find crt0.o, not loader.
1622 (LIB_SPEC): Remove /usr/lib.
1623 * Makefile.in (TCFLAGS): New variable.
1624 (GCC_CFLAGS): Add $(TCFLAGS).
1625 (LIBGCC2_CFLAGS): Add -D for __GCC_FLOAT_NOT_NEEDED.
1626 (libgcc1-test): Remove -nostdlib.
1627 (float.h-cross): Don't give error #ifdef __GCC_FLOAT_NOT_NEEDED.
1628 * enquire.c: Define __GCC_FLOAT_NOT_NEEEDED.
1629 * configure (i[3456]86-*-osfrose): Add t-osf as tmake_file.
1631 Mon Feb 12 18:43:54 1996 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de)
1633 * 1750a.c (add_1_to_mem): Corrected.
1635 Mon Feb 12 18:23:35 1996 Doug Evans <dje@cygnus.com>
1637 * configure (sparclet-*-aout*): New configuration.
1639 Mon Feb 12 14:43:50 1996 Per Bothner <bothner@cygnus.com>
1641 Changes to distinguish typedef from original type in debug output.
1642 * tree.h (DECL_ORIGINAL_TYPE): New macro.
1643 * tree.c (copy_node): Zero out type.symtab union.
1644 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE for typedef origin.
1645 * dbxout,c (dbxout_type): Don't canonicalize typedef type to base.
1647 Mon Feb 12 12:01:16 1996 Richard Earnshaw (rearnsha@armltd.co.uk)
1649 * arm.h: (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
1650 __ARMWEL__ depending on the endian flags passed to the compiler.
1651 (ARM_FLAG_LITTLE_WORDS): Define.
1652 (TARGET_SWITCHES): Add option -mwords-little-endian.
1653 (TARGET_LITTLE_WORDS): Define.
1654 (WORDS_BIG_ENDIAN): Select based on the endian switches.
1655 (LIBGCC2_WORDS_BIG_ENDIAN): Define based on run-time endian
1657 * arm.c (output_move_double): Cope with both word-endian
1658 alternatives. Remove extraneous parameters from calls to
1659 output_mov_immediate.
1660 (arm_print_operand): New print code 'Q' for the least significant
1661 register of a DImode operand. Make code 'R' always print the
1662 most significant register, rather than the highest numbered.
1663 * arm.md (all DImode output patterns): Use print code
1664 'Q' to access the least significant word. Make sure the
1665 patterns are fully aware of the word endianness.
1667 * arm/semi.h (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
1668 __ARMWEL__ depending on the endian flags passed to the compiler.
1669 (LINK_SPEC): Pass -EB to the linker if compiling for big-endian
1671 (ASM_SPEC): Likewise for the assembler.
1672 * arm/semiaof.h (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
1673 __ARMWEL__ depending on the endian flags passed to the compiler.
1675 Mon Feb 12 10:15:29 1996 Ian Lance Taylor <ian@cygnus.com>
1677 * configure: Permit tm_file and xm_file to be a list of header
1678 file names, rather than just a single file. For many targets,
1679 handle --with-stabs by adding dbx.h to tm_file, rather than using
1680 a different tm_file.
1682 * alpha/gdb-osf2.h, alpha/gdb-osf12.h, alpha/gdb.h: Deleted.
1683 * i386/sysv4gdb.h, mips/iris{5gdb,4gl,4gdb,3gdb}.h: Likewise.
1684 * mips/dec-gosf1.h, mips/news{4,5}-gdb.h, mips/svr4-t-gdb.h: Likewise.
1685 * mips/ultrix-gdb.h, mips/bsd-{4,5}-gdb.h: Likewise.
1686 * mips/svr{4-5,4-4,3-5,3-4}-gdb.h, mips/mips-5-gdb.h: Likewise.
1687 * mips/ecoff{,l}-gdb.h, mips/mips-4-gdb.h: Likewise.
1689 Mon Feb 12 07:22:20 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1691 * integrate.c (save_for_inline_copying): Put virtual regs into
1692 new regno_reg_rtx copy.
1694 Sun Feb 11 18:53:12 1996 Torbjorn Granlund <tege@noisy.tmg.se>
1696 * i386.md: Delete spurious integer subtract patterns.
1697 Delete % from subtract operand constraints.
1699 Sun Feb 11 19:17:24 1996 Jeffrey A. Law <law@cygnus.com>
1701 * m68k.md (movqi): Call CC_STATUS_INIT when loading to/from
1702 an address register via a data register.
1704 Sun Feb 11 08:44:49 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1706 * c-common.c (check_format_info): Handle missing type in format
1707 when terminated by a new `%'.
1709 Sat Feb 10 15:14:22 1996 J.T. Conklin <jtc@rtl.cygnus.com>
1711 * cross-make (STMP_FIXPROTO): Moved from here to build-make.
1712 * build-make (STMP_FIXPROTO): Moved here from cross-make.
1714 Sat Feb 10 08:39:05 1996 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de)
1716 * 1750a.md (movstrqi): Corrected.
1717 (zero_extendqihi2): Taken out, let GCC synthesize.
1718 (movhi-1): Added insn to move HImode small constant to memory.
1719 (movhf-1): Added insn to move HFmode zero to memory.
1720 (movtqf-1): Added insn to move TQFmode zero to memory.
1721 (numerous insns): Taken out B (Base Reg with Index) mode.
1723 * 1750a.c (movcnt_regno_adjust): Corrected.
1724 (mov_memory_operand, zero_operand): Added.
1725 (b_mode_operand): Corrected.
1726 (simple_memory_operand, add_1_to_mem): Added.
1727 (print_operand_address): Corrected case of 'Q' output modifier.
1729 * 1750a.h (REG_ALLOC_ORDER): Changed back to natural order.
1730 (CONST_DOUBLE_OK_FOR_LETTER_P): Added letter 'G'.
1731 (EXIT_IGNORE_STACK): Set to 0.
1732 (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Use corresponding REGNO_OK.
1733 (MOVE_MAX, MOVE_RATIO): Defined.
1735 Sat Feb 10 08:28:12 1996 Martin Anantharaman <martin@goofy.imech.uni-duisburg.de>
1737 * configure (m68k-*-psos*): New configuration.
1739 * m68k/m68k-psos.h: New file.
1741 Sat Feb 10 08:07:52 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1743 * sched.c (flush_pending_lists): Add new arg, ONLY_WRITE.
1744 (sched_analyze_{1,2,insn}): Add new arg to flush_pending_lists.
1745 (sched_analyze): Always flush pending write list for call, even const.
1747 * integrate.c (save_for_inline_copying): Put reg_map in function's
1748 maybepermanent obstack instead of using alloca; set regno_reg_rtx
1749 to it; delete recently-added copying of this later.
1751 Sat Feb 10 00:49:58 1996 Doug Evans <dje@cygnus.com>
1753 * sched.c (add_dependence): Add test for next != CODE_LABEL.
1755 Fri Feb 9 16:10:04 1996 Stan Cox (coxs@dg-rtp.dg.com)
1757 * i386.md (fp, integer): Added function units for pentium.
1758 (cmp*,mov*,add*,sub*,mul*,div*,extend*,trunc*,and*,ior*,xor*,neg*,
1759 abs*,sqrt*,sin*,cos*,not*,ash*,lsh*,rot*,sub): Tightened constraints,
1760 added attribute support, and made changes for new `binary' and
1763 * i386.c (processor_costs): New variable.
1764 (optimization_options, ix86_expand_binary_operator,
1765 ix86_binary_operator_ok, ix86_expand_unary_operator,
1766 ix86_unary_operator_ok, is_mul, is_div, copy_all_rtx, rewrite_address,
1767 last_to_set_cc, doesnt_st_condition_code, sets_condition_code,
1768 str_immediate_operand, is_fp_insn, is_fp_dest, is_fp_store,
1769 agi_dependent, reg_mentioned_in_mem): New functions.
1771 * i386.h (OPTIMIZATION_OPTIONS, ALIGN_DFmode, IS_STACK_MODE,
1772 IX86_EXPAND_BINARY_OPERATOR): New macros.
1773 (RTX_COSTS, REGISTER_MOVE_COST, ADJUST_BLOCKAGE) Changed for pentium.
1775 Fri Feb 9 14:47:27 1996 Doug Evans <dje@cygnus.com>
1777 * sparc.c (sp64_medium_pic_operand): New function.
1778 (move_pic_label): Delete.
1779 (legitimize_pic_address): Simplify using some named patterns.
1780 (finalize_pic): Add preliminary sparc64 support.
1781 (emit_move_sequence): Reorganize.
1782 * sparc.md (pic_lo_sum_si,pic_sethi_si,get_pc_sp32,get_pc_sp64,
1783 move_pic_label_si,move_label_di,sethi_di_sp64): Make named patterns.
1784 (sethi_di_sp64_const,sethi_di_medium_pic): New anonymous patterns.
1785 (move_pic_label_si,move_label_di): Optimize for near labels.
1786 (tablejump): Use for TARGET_MEDANY.
1789 Fri Feb 9 13:48:45 1996 Jim Wilson <wilson@cygnus.com>
1791 * mips.md (probe+2, probe+4): New conditional move patterns.
1792 (movsicc): Don't truncate comparison if it is DImode.
1794 * sh.h (CPP_SPEC): Add defines for -m1, -m2, and -m3.
1796 Fri Feb 9 09:11:28 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1798 * toplev.c (rest_of_compilation): Set RTX_INTEGRATED_P in
1799 INLINE_HEADER iff function is inlineable.
1800 * calls.c (expand_call): Test RTX_INTEGRATED_P in DECL_SAVED_INSNS.
1802 Thu Feb 8 01:11:15 1996 Jeffrey A. Law <law@cygnus.com>
1804 * pa.md (floatunssisf2 expander): Don't use "general_operand".
1805 (floatunssidf2 expander): Likewise.
1807 Wed Feb 7 16:59:31 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1809 * rs6000/{sysv4,win-nt,netware,cygwin32}.h ({ASM,LINK}_SPEC):
1810 Don't use %{V} for either linker or assembler.
1812 Tue Feb 6 17:22:29 1996 Per Bothner <bothner@cygnus.com>
1814 * dbxout.c (dbxout_range_type): Emit non-range INTEGER_TYPE
1815 as a sub-range of itself (so gdb can tell the difference).
1817 Tue Feb 6 17:01:44 1996 David Edelsohn <edelsohn@mhpcc.edu>
1819 * rs6000.md (addsi3 and adddi3 split): Use cleaner computation
1820 and portable HOST_WIDE_INT.
1821 (iordi3 split): Use HOST_WIDE_INT.
1822 (movdi): Add TARGET_64BIT support and generate 64 bit constants.
1823 (movdi matcher, TARGET_POWERPC64): Add immediate constraint handled
1824 by new define_split.
1825 (allocate_stack): Use TARGET_32BIT.
1826 (tablejump): Add TARGET_64BIT support using ...
1827 (tablejumpsi): Rename original tablejump pattern.
1828 (tablejumpdi): New pattern.
1830 Tue Feb 6 15:29:22 1996 Per Bothner <bothner@cygnus.com>
1832 * stor-layout.c (layout_type): Use same code to layout CHAR_TYPE
1833 as for INTEGER_TYPE (instead of hard-wiring in QImode).
1835 Tue Feb 6 15:13:38 1996 Jeffrey A. Law <law@cygnus.com>
1837 * pa.md (various patterns): Avoid using "general operand" in
1838 define_insn patterns.
1840 Sun Feb 4 21:37:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1842 * rs6000/eabi{,sim}.h (LINK_START_SPEC): Bump the default start address
1843 for the simulator to 0x10000074 so that we don't waste a page in the
1846 Fri Feb 2 19:44:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1848 * rs6000/eabi-c{i,n}.asm (.sdata2, .sbss2): Put these in the
1849 read-only section, not read-write.
1851 * libgcc2.c (__unwind_function, rs6000/powerpc): Use _ARCH_PPC
1852 being defined to indicate to use PowerPC mnemonics.
1854 * config/rs6000/t-cygwin32 (MULTILIB*): Add software floating
1857 Thu Feb 1 09:10:02 1996 Steve Chamberlain <sac@slash.cygnus.com>
1859 * {i386,rs6000}/cygwin32.{asm,h}: New templates.
1860 * {i386,rs6000}/{t,x}-cygwin32: Ditto.
1861 * {i386,rs6000}/xm-cygwin32.h: Ditto.
1862 * configure (powerpcle-*-cygwin32, i[3456]86-*-cygwin32): New.
1864 Fri Feb 2 17:42:40 1996 Paul Eggert <eggert@twinsun.com>
1866 * c-decl.c (finish_struct):
1867 Fix typo in transparent union warning that led to core dump.
1869 * c-parse.in (stmt): Warn about `goto *expr;' if pedantic.
1870 (label): Warn about `case expr ... expr:' if pedantic.
1872 Fri Feb 2 11:05:27 1996 Doug Evans <dje@cygnus.com>
1874 * h8300.h (TARGET_ALIGN_300): Renamed from TARGET_ALIGN_STRUCT_300.
1875 (TARGET_SWITCHES): Rename -malign-struct-300 to -malign-300.
1876 (BIGGEST_ALIGNMENT): Use TARGET_ALIGN_300.
1878 Fri Feb 2 08:25:49 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1880 * flow.c (jmp_uses_reg_or_mem): Renamed from uses_reg_or_mem.
1881 Don't look into condition of an IF_THEN_ELSE; also make faster.
1882 (find_basic_blocks): Use new name.
1884 Fri Feb 2 06:49:56 1996 J"orn Rennecke (amylaar@meolyon.hanse.de)
1886 * reload.c (debug_reload): Fix typo for reload_noncombine.
1888 Thu Feb 1 21:49:02 1996 Jeffrey A. Law <law@cygnus.com>
1890 * pa-pro.h (TARGET_DEFAULT): Turn on TARGET_SOFT_FLOAT by
1891 default for all pro targets.
1892 * t-pro: Delete all multilib references.
1894 Thu Feb 1 17:50:02 1996 Doug Evans <dje@cygnus.com>
1896 * c-lex.c (check_newline): Return result of HANDLE_PRAGMA.
1897 * h8300.h (HANDLE_PRAGMA): Pass result back to caller.
1898 * i960/i960.h (HANDLE_PRAGMA): Likewise.
1899 * sh.h (HANDLE_PRAGMA): Likewise.
1900 * nextstep.h (HANDLE_PRAGMA): Likewise.
1902 Wed Jan 31 19:26:03 1996 Doug Evans <dje@cygnus.com>
1904 * m68k/m68k-none.h: Rewrite to use EXTRA_SPECS.
1905 * m68k/vxm68k.h (CPP_SPEC): Delete.
1906 (SUBTARGET_EXTRA_SPECS): Define.
1908 Wed Jan 31 15:10:59 1996 David Edelsohn <edelsohn@mhpcc.edu>
1910 * rs6000.c (output_epilog): Fix PPC64 typos and use TARGET_32BIT.
1911 (output_prolog): Same.
1912 (rs6000_trampoline_template, rs6000_trampoline_size): Use TARGET_32BIT.
1913 * rs6000.md (movdf TARGET_POWERPC64 matcher): Fix std typo.
1914 (movdi TARGET_POWERPC64 matcher): Same.
1916 Wed Jan 31 09:46:11 1996 Richard Earnshaw (rearnshaw@armltd.co.uk)
1918 * regs.h (regno_pointer_align, REGNO_POINTER_ALIGN): Delete from here.
1919 * rtl.h (regno_pointer_align, REGNO_POINTER_ALIGN): Put them here.
1921 Wed Jan 31 08:26:12 1996 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
1923 * m68k/linux.h (STRICT_ALIGNMENT): Define to zero.
1924 (LEGITIMATE_PIC_OPERAND_P): Match definition from m68kv4.h.
1926 * m68k.h (TRAMPOLINE_{TEMPLATE,SIZE}): Avoid need for helper function.
1927 (INITIALIZE_TRAMPOLINE): Likewise.
1928 (TRAMPOLINE_ALIGNMENT): Renamed from TRAMPOLINE_ALIGN.
1929 * m68k/next.h (INITIALIZE_TRAMPOLINE): Adjusted accordingly.
1931 * m68kv4.h (STATIC_CHAIN_REGNUM): Redefine to use register a1.
1932 (TRAMPOLINE_TEMPLATE): Likewise.
1934 * m68k/linux.h, m68kv4.h (LIBCALL_VALUE): Return XFmode value in fp0.
1935 * m68k.c (init_68881_table): Use SFmode for the first six
1936 constants and DFmode for the seventh.
1938 * m68k.md (movqi): Use moveq if possible.
1940 Wed Jan 31 08:18:15 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1942 * expr.c (expand_builtin, case BUILT_IN_NEXT_ARG): Strip off
1943 INDIRECT_REF when checking second arg.
1945 * calls.c (struct arg_data, expand_call): Test STRICT_ALIGN with #if.
1947 Wed Jan 31 07:47:56 1996 Tim Wright (timw@sequent.com)
1949 * configure (i[345]-sequent-sysv*): Change to sysv3*; add i686.
1950 (i[3456]86-sequent-ptx4*, i[3456]86-sequent-sysv4*): New cases.
1951 * fixinc.ptx (sys/mc_param.h): Remove embedded asm.
1952 * fixinc.svr4 (__STDC__): Add one more case.
1953 * i386/ptx4-i.h, ptx4.h: New files.
1955 Wed Jan 31 07:15:23 1996 Philippe De Muyter (phdm@info.ucl.ac.be)
1957 * m68k.h (MACHINE_STATE_{SAVE,RESTORE}): Allow MOTOROLA syntax.
1959 * m68k.md ({adddi,subdi}_sexthishl32): 'a' and 'd' versions merged
1960 and fixed; do not generate 'add/sub a,m'.
1962 * gcc.c (warn_std_ptr): Initialize with 0 instead of NULL_PTR.
1964 Tue Jan 30 13:29:05 1996 Ian Lance Taylor <ian@cygnus.com>
1966 * dbxout.c: Don't include <string.h>.
1967 Don't compare strchr result to NULL.
1969 * config/svr4.h (ASM_FINAL_SPEC): Use %|, not ${pipe:-}.
1971 Tue Jan 30 06:48:43 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
1973 * combine.c (nonzero_bits, case REG): Ignore REG_POINTER_ALIGNMENT.
1974 Restore old code for SP, but use it for all pointers to
1975 defined locations in the frame.
1977 Mon Jan 29 11:25:28 1996 Ian Lance Taylor <ian@cygnus.com>
1979 * dbxout.c (dbxout_type_methods): Don't use #ifndef inside call to
1982 Sun Jan 28 14:44:09 1996 Doug Evans <dje@cygnus.com>
1984 * config/dbxcoff.h (*): #undef first.
1986 Sat Jan 27 21:46:16 1996 David Edelsohn <edelsohn@mhpcc.edu>
1988 * rs6000.c (rs6000_sync_trampoline): Add cmpdi to 64bit case.
1989 (rs6000_initialize_trampoline): CSE of Pmode to pmode.
1990 * rs6000.md (movdf): Handle move between FPR and 64 bit GPR.
1991 (movdi matcher): Handle SPR move to itself and add "mr." combiner.
1993 Sat Jan 27 10:06:31 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1995 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Redefine, put small
1996 data items in .sbss if -msdata.
1997 (SWITCH_TAKES_ARG): Add 'B', 'b', and 'V'.
1999 Sat Jan 27 07:59:25 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2001 * tree.h (enum built_in_function): Add BUILT_IN_{SET,LONG}JMP.
2002 * expr.c: Include hard-reg-set.h.
2003 (arg_pointer_save_area): New declaration.
2004 (expand_builtin, case BUILT_IN_{SET,LONG}JMP): New cases.
2005 * Makefile.in (expr.o): Includes hard-reg-set.h.
2006 * c-decl.c (init_decl_processing): Add definitions for
2007 __builtin_setjmp and __builtin_longjmp.
2008 * cccp.c (initialize_builtins): Add def of __HAVE_BUILTIN_SETJMP__.
2010 * expr.c (expand_expr, case COMPONENT_REF): Pass EXPAND_INITIALIZER
2013 Fri Jan 26 17:24:07 1996 Doug Evans <dje@cygnus.com>
2015 * sparc.h (sparc_arch_type): Delete.
2016 ({,TARGET_}MASK_DEPRECATED_V8_INSNS): Define.
2017 (ARCH64_SWITCHES): Renamed from V9_SWITCHES.
2018 * sparc.c (sparc_arch_type): Delete.
2019 (sparc_init_modes): Likewise.
2020 (output_move_quad): Don't use ldq/stq unless TARGET_HARD_QUAD.
2021 * sparc/sp64-sol2.h (TARGET_DEFAULT): Add MASK_DEPRECATED_V8_INSNS.
2022 (SUBTARGET_SWITCHES): Add -m{no-,}deprecated-v8-insns.
2023 * sparc.md (arch attribute): Rewrite.
2024 (isa): New attribute.
2025 (32 bit multiply/divide patterns): Use if TARGET_DEPRECATED_V8_INSNS.
2026 (32 bit divide patterns): V9 doesn't require delay after y reg write.
2028 Fri Jan 26 12:08:43 1996 David Edelsohn <edelsohn@mhpcc.edu>
2030 * rs6000.h (TARGET_32BIT): Define.
2031 (BITS_PER_WORD, UNITS_PER_WORD): Invert so 32bit expected case.
2032 (LONG_TYPE_SIZE, POINTER_BOUNDARY, PARM_BOUNDARY): Likewise.
2033 (RS6000_REG_SAVE, RS6000_SAVE_AREA, RS6000_VARARGS_SIZE): Likewise.
2034 (RETURN_ADDRESS_OFFSET, CASE_VECTOR_MODE, MOVE_MAX): Likewise.
2035 (Pmode, FUNCTION_MODE): Likewise.
2036 (LEGITIMATE_OFFSET_ADDRESS_P): Handle TARGET_64BIT.
2037 (GO_IF_LEGITIMATE_ADDRESS, LEGITIMIZE_ADDRESS): Likewise.
2038 (GO_IF_MODE_DEPENDENT_ADDRESS): Same.
2040 Fri Jan 26 10:37:52 1996 Stan Coxs <coxs@dg-rtp.dg.com>
2042 * m88k.md (umulsidi3): Added for the 88110
2044 Fri Jan 26 09:35:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2046 * rs6000/sysv4.h (STRIP_NAME_ENCODING): Deal with names that have
2047 both @ and * prefix characters.
2048 (ASM_OUTPUT_LABELREF): Ditto.
2050 Thu Jan 25 10:03:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2052 * rs6000.h (LEGITIMIZE_ADDRESS): Rewrite to use HOST_WIDE_INT, not
2054 (optimize,flag_expensive_optimizations): Provide declaration for
2057 * rs6000.md (movsi): Correct code in splitting an address into
2058 load from the TOC, and add low/high integer parts. If expensive
2059 optimizations, and reload hasn't started, use separate pseudo regs
2062 * rs6000.c (small_data_operand): Don't use the function
2063 eliminate_constant_term, unwind code directly.
2064 (input_operand): SYMBOL_REF/CONST of small data operand is valid.
2065 (print_{,address_}operand): Add @sda21(0) in appropriate cases for
2067 %L, etc. so that if the item is in small memory, the appropriate
2069 (rs6000_select{,_rtx}_section): Don't put floating point constants
2070 or small strings in .sdata2 since we can't tell from the pointer
2071 whether it is in the small data area or not.
2073 * rs6000.h (EXTRA_CONSTRAINT): Add 'U' for small data references.
2074 (LEGITIMATE_SMALL_DATA_P): Test explicitly for SYMBOL_REF or CONST
2075 before calling small_data_operand.
2077 * rs6000.md (movsi): Handle the addresses of small data items.
2079 * rs6000/sysv4.h (g_switch_{value,set}): Add declarations.
2080 (SDATA_DEFAULT_SIZE): Default to 8.
2081 (SUBTARGET_OVERRIDE_OPTIONS): If -G was not set, set it to
2083 (CC1_SPEC): Pass -G nn to the compilers.
2084 (SWITCH_TAKES_ARG): Add -G nn support.
2085 (LINK_SPEC): Pass -G nn to the linker.
2087 Thu Jan 25 09:16:34 1996 Doug Evans <dje@cygnus.com>
2089 * configure (sparc64-*-solaris2*): New target.
2090 * sparc.h (SPARC_{V9,ARCH64}): Default value is 0.
2091 (*): Replace SPARCV9 with SPARC_{V9,ARCH64}.
2092 (MASK_CPUS): Define.
2093 ({MASK,TARGET}_ENV32): Delete.
2094 ({MASK,TARGET}_ARCH64,TARGET_ARCH32): Define.
2095 (TARGET_SWITCHES): Reset cpu flags first for each variant.
2096 (CONDITIONAL_REGISTER_USAGE): If 32 bit v9 system, unfix g1-g4,
2097 fix g5, and make %f48-%f80 call used.
2098 * sparc/sp64-aout.h (SPARC_{V9,ARCH64}): Define.
2099 (TARGET_VERSION): Define.
2100 (TARGET_DEFAULT): Add MASK_ARCH64, delete MASK_ENV32.
2101 (JUMP_TABLES_IN_TEXT_SECTION): Define.
2102 (READONLY_DATA_SECTION): Make text_section.
2103 * sparc/sp64-elf.h (SPARC_{V9,ARCH64}): Define.
2104 (TARGET_DEFAULT): Add MASK_ARCH64.
2105 (ENDFILE_SPEC): No longer need to check for -nostartfiles.
2106 (ASM_IDENTIFY_GCC): Define as empty.
2107 * sparc/sp64-sol2.h: New file.
2108 * sparc.c (*): Replace TARGET_V9 with TARGET_ARCH64.
2109 (hard_32bit_mode_classes): Add v9 regs.
2110 (gen_v9_scc): Handle 32 bit v9 case. Call v9_regcmp_p.
2111 * sparc.md (*): Replace TARGET_V9 with TARGET_ARCH64 in places
2112 requiring 64 bit environment.
2113 (multf3_extend): Require TARGET_HARD_QUAD.
2115 Thu Jan 25 00:33:25 1996 Ian Lance Taylor <ian@cygnus.com>
2117 * dbxcoff.h (DBX_USE_BINCL): Define.
2118 (DBX_CONTIN_LENGTH): Define if not defined.
2120 Wed Jan 24 18:00:12 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
2122 * alpha.c (alpha_write_verstamp): Only emit MS_STAMP and LS_STAMP,
2123 not the extra numbers.
2125 Wed Jan 24 15:18:15 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2127 * rs6000.c (init_cumulative_args): Rewrite to use DEFAULT_ABI
2128 runtime tests, instead of V.4 #ifdefs.
2129 (function_arg{,_advance,_partial_nregs,_pass_by_reference}): Ditto.
2130 (setup_incoming_varargs): Ditto.
2131 (init_cumulative_args): Set call_cookie field to CALL_NORMAL or
2133 (function_arg): Add support for DLL imports.
2134 (rs6000_valid_{decl,type}_attribute_p): New functions for NT
2135 attributes cdecl, stdcall, dllimport, and dllexport.
2136 (rs6000_comp_type_attributes): New attribute support.
2137 (rs6000_set_default_type_attributes): Ditto.
2138 (rs6000_dll_import_ref): Ditto.
2140 * rs6000.h (FP_ARG_{AIX,SYSV}_MAX_REG): Move here from sysv4.h.
2141 * sysv4.h (FP_ARG_{AIX,SYSV}_MAX_REG): Move to rs6000.h.
2143 * rs6000.h (rs6000_call_cookie): New enum to describe the integer
2144 that is the 2nd argument to call insns and 3rd argument to
2145 call_value insns. Add support for NT DLL imports.
2146 (rs6000_args): Add call_cookie field.
2147 (VALID_MACHINE_{DECL,TYPE}_ATTRIBUTE): Define to call C functions.
2148 ({COMP_TYPE,SET_DEFAULT_TYPE}_ATTRIBUTES): Ditto.
2149 (rs6000_valid_{decl,type}_attribute_p): Add declarations.
2150 (rs6000_comp_type_attributes): Ditto.
2151 (rs6000_set_default_type_attributes): Ditto.
2152 (rs6000_dll_import_ref): Ditto.
2154 * win-nt.h (ASM_DECLARE_FUNCTION_NAME): Add support for dllexport
2157 * rs6000.md (call insns): Add support for NT dllimport functions,
2158 and fix up NT indirect calls. Also correctly set the flag
2159 rs6000_save_toc_p on NT indirect calls.
2161 * aix41.h (LINK_SPEC): Use new extra specs to avoid separate
2162 versions for native and cross compilation.
2163 * rs6000.h (LINK_SPEC): Ditto.
2164 * sysv4.h (LINK_SPEC): Ditto.
2166 * rs6000.h (EXTRA_SPECS): Add link_syscalls, link_libg, link_path,
2167 link_specs, and also allow target to define more with the macro
2168 SUBTARGET_EXTRA_SPECS.
2169 (LINK_{LIBG,SYSCALLS}_SPEC): Define as fixed pathnames if native
2170 compilation, and currently nothing if cross compiling.
2171 (LINK_START_SPEC): If not defined, define as empty.
2172 * eabi{,sim}.h (LINK_START_SPEC): Add default -Ttext for
2175 * eabi{aix,le}.h (MULTILIB_DEFAULTS): Add -mno-sdata default.
2176 * sysv4{,le}.h (MULTILIB_DEFAULTS): Ditto.
2178 * rs6000.c (small_data_operand): New function to return true if
2179 the operand lives in small data under eabi.
2180 (rs6000_select{,_rtx}_section): New functions to determine whether
2181 to put global and static items in the V.4/eabi small data areas if
2184 * rs6000.h (LEGITIMATE_SMALL_DATA_P): Call small_data_operand it
2186 (GO_IF_LEGITIMATE_ADDRESS): If LEGITIMATE_SMALL_DATA_P, the item
2188 (ASM_OUTPUT_LABELREF): Use fputs, not fprintf.
2189 (small_data_operand): Declare function.
2191 * sysv4.h (TARGET_SWITCHES): New switch -msdata to use V.4 and
2192 eabi defined small data sections.
2193 (SUBTARGET_OVERRIDE_OPTIONS): Don't allow -msdata and
2194 -mrelocatable or -mcall-aix options.
2195 (EXTRA_SECTION{S,_FUNCTIONS}): Add .sdata, .sdata2, and .sbss
2197 (SELECT{,_RTX}_SECTION): Call (rs6000_select{,_rtx}_section).
2198 (ASM_SPEC): The -msdata switch passes -memb to the assembler.
2199 (ENCODE_SECTION_INFO): Prepend a '@' to the name, if the item
2200 lives in a small data region.
2201 (STRIP_NAME_ENCODING): Strip '@' in addition to '*'.
2202 (ASM_OUTPUT_LABELREF): Strip a leading '@'.
2204 * t-{ppc,eabi}gas (MULTILIB*): Add support for libraries built
2205 with/without -msdata. Drop support for -mcall-aixdesc libraries.
2207 Wed Jan 24 15:18:15 1996 Kim Knuttila <krk@cygnus.com>
2209 * rs6000/win-nt.h (LIB_SPEC): Change options to GNU ld style.
2210 (From Jason Molenda)
2212 Wed Jan 24 14:32:48 1996 Jim Wilson <wilson@cygnus.com>
2214 * reload1.c (used_spill_regs): New variable.
2216 * reorg.c (find_dead_or_set_registers): New function.
2217 (mark_target_live_regs): Delete loop looking forward from target
2218 and instead call find_dead_or_set_registers.
2219 (fix_reg_dead_note): New function.
2220 (fill_slots_from_thread): Call it.
2222 * loop.c (scan_loop): Correct comment.
2223 (strength_reduce): Correct comments. Don't set maybe_multiple when
2224 pass branch to scan_start. Don't set not_every_iteration after
2225 passing a CODE_LABEL, or after passing a branch out of the loop.
2226 When outputting DEST_ADDR giv increments, put them next to the memory
2227 address on machines with auto-increment addresses.
2228 (record_biv): Set new field always_executed.
2229 (record_giv): Set new fields always_executed and auto_inc_opt.
2230 (maybe_eliminate_biv_1): Reject biv with auto_inc_opt optimization
2232 * loop.h (struct induction): New fields always_executed and
2235 * c-typeck.c (pointer_int_sum): Use TYPE_PRECISION (sizetype) not
2236 POINTER_SIZE to agree with expr.c.
2238 Tue Jan 23 15:17:30 1996 Doug Evans <dje@cygnus.com>
2240 * sparc/sol2.h (ASM_OUTPUT_ALIGNED_LOCAL): Delete, use svr4.h's.
2242 Tue Jan 23 03:28:01 1996 Paul Eggert <eggert@twinsun.com>
2244 * cexp.y: Use preprocessor arithmetic instead of C arithmetic
2245 to avoid warnings on some compilers.
2246 (HOST_WIDE_INT_MASK): Remove.
2247 (MAX_CHAR_TYPE_MASK, MAX_WCHAR_TYPE_MASK): New macros.
2250 Mon Jan 22 18:39:21 1996 Per Bothner <bothner@cygnus.com>
2252 * cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary
2253 minus, even if skip_evaluation is true.
2255 Mon Jan 22 16:53:48 1996 David Edelsohn <edelsohn@mhpcc.edu>
2257 * rs6000.h (BIGGEST_ALIGNMENT): Increase to 64 always.
2258 (BIGGEST_FIELD_ALIGNMENT): Define.
2259 (GO_IF_LEGITIMATE_ADDRESS): Merge PRE_INC and PRE_DEC cases.
2260 (LEGITIMIZE_ADDRESS): Use Pmode not SImode.
2261 (CASE_VECTOR_MODE): Depend on TARGET_64BIT.
2262 (ASM_OUTPUT_COMMON): Delete.
2263 (ASM_OUTPUT_ALIGNED_COMMON): Define.
2264 * rs6000/sysv4.h (BIGGEST_FIELD_ALIGNMENT): Undefine.
2265 * rs6000.md (adddi3, subdi3, negsi2): New PowerPC64 patterns.
2266 (ashldi3, lshrdi3, ashrdi3, anddi3, iordi3, xordi3): Same.
2267 (moddi3, cmpdi, tablejump matchers): Same.
2268 (divdi3): Update PowerPC64 patterns.
2269 * rs6000.c (rs6000_initialize_trampoline, case ABI_AIX): Use Pmode
2272 Sun Jan 21 23:33:24 1996 Ian Lance Taylor <ian@cygnus.com>
2274 * dbxout.c: Include <string.h>
2276 Fri Jan 19 17:17:00 1996 Per Bothner <bothner@kalessin.cygnus.com>
2278 * tree.h (CONSTRUCTOR_TARGET_CLEARED_P): Removed.
2279 * expr.c (is_zeros_p, mostly_zeros_p): Handle SET_TYPE CONSTRUCTORs.
2280 (store_constructor_field): New helper function.
2281 (store_constructor): Take 'cleared' parameter.
2282 (expand_expr): Fix store_constructor_call to pass 'cleared' of 0.
2284 * expr.c (store_constructor, SET_TYPE): Fix off-by-one-error.
2285 Also, devide start byte by BITS_PER_UNIT before passing to memset.
2286 (store_constructor): `continue' in wrong place.
2288 * expr.c (store_constructor): If storing into a range of array
2289 elements, and the range is small, or the target it not memory,
2290 unroll the loop (and use store_field, which handles REGs).
2291 (store_constructor): Handle RANGE_EXPR in array index.
2293 Fri Jan 19 16:52:25 1996 Doug Evans <dje@charmed.cygnus.com>
2295 * svr4.h (SWITCH_TAKES_ARG): Add 'x'.
2296 * sparc/sol2.h (SWITCH_TAKES_ARG): Likewise.
2298 Fri Jan 19 15:18:38 1996 Ian Lance Taylor <ian@cygnus.com>
2300 * dbxout.c (flag_minimal_debug): Initialize to 0 if both
2301 NO_DOLLAR_IN_LABEL and NO_DOT_IN_LABEL are defined.
2302 (dbxout_type_methods): If the mangled method name uses the special
2303 C++ marker character, pass show_arg_types as 1 when calling
2306 Fri Jan 19 11:48:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2308 * rs6000/eabi-ci.asm (_SDA_BASE_): Move the default definition
2309 from the .got section to the .sdata section. Do not add 32768.
2310 (_SDA2_BASE_): Provide a default definition.
2312 * rs6000/eabi-cn.asm (.got.blrl): Don't define this section any
2313 more, linker now directly creates the blrl instruction at
2314 _GLOBAL_OFFSET_TABLE_-4.
2316 Fri Jan 19 05:12:31 1996 Richard Earnshaw <rearnsha@armltd.co.uk>
2318 * arm/lib1funcs.asm (__divsi3, __modsi3, __udivsi3, __umodsi3):
2319 Replace with smaller, faster versions.
2321 Thu Jan 18 17:41:46 1996 Jim Wilson <wilson@cygnus.com>
2323 * sh.c (ctype.h): Delete.
2324 (regno_reg_class, reg_class_from_letter): Add SH3e support.
2325 (prepare_scc_operands, broken_move, push, pop, push_regs): Likewise.
2326 (calc_live_regs, sh_expand_prologue, sh_expand_epilogue): Likewsie.
2327 (initial_elimination_offset, arith_reg_operand): Likewise.
2328 (sh_builtin_saveregs, fp_zero_operand, fp_one_operand): New functions.
2329 (sh_function_arg, sh_function_arg_partial_nregs): Delete.
2330 * sh.h (CPP_SPEC, CONDITIONAL_REGISTER_USAGE): Add SH3E support.
2331 (TARGET_SWITCHES, OVERRIDE_OPTIONS, FIRST_PSEUDO_REGISTER): Likewise.
2332 (FIXED_REGISTERS, CALL_USED_REGISTERS, HARD_REGNO_MODE_OK): Likweise.
2333 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.
2334 (REG_ALLOC_ORDER, CONST_DOUBLE_OK_FOR_LETTER_P, NPARM_REGS): Likewise.
2335 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Likewise.
2336 (FUNCTION_ARG_REGNO_P, CUMULATIVE_ARGS, ROUND_REG): Likewise.
2337 (INIT_CUMULATIVE_ARGS, FUNCTION_ARG_ADVANCE, FUNCTION_ARG): Likewise.
2338 (FUNCTION_ARG_PARTIAL_NREGS, LEGITIMATE_CONSTANT_P): Likewise.
2339 (MODE_DISP_OK_4, REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
2340 (DBX_REGISTER_NUMBER, enum processor_type): Likewise.
2341 (SH3E_BIT, TARGET_SH3E, FPUL_REG, FIRST_FP_REG, LAST_FP_REG): New.
2342 (FIRST_FP_PARM_REG, FIRST_FP_RET_REG, BASE_RETURN_VALUE_REG): New.
2343 (BASE_ARG_REG, enum sh_arg_class, struct sh_args): New.
2344 (GET_SH_ARG_CLASS, PASS_IN_REG_P, sh_builtin_saveregs): New.
2345 (EXPAND_BUILTIN_SAVEREGS, DOUBLE_TYPE_SIZE): New.
2346 (TARGET_SWITCHES): Delete broken -m3l option.
2347 * sh.md (cpu, movsi_i, movsf_i, blt, bge, sle, sge): Add SH3E support.
2348 (push_e, pop_e, movsi_ie, movsf_ie, addsf3, subsf3): New patterns.
2349 (mulsf3, macsf3, divsf3, floatsisf2, fix_truncsfsi2): New patterns.
2350 (cmpgtsf_t, cmpqesf_t, cmpsf, negsf2, sqrtsf2, abssf2): New patterns.
2351 (abssf2+9, abssf2+10): Add SH3e support to peepholes
2352 (abssf2+11, abssf2+12): New peepholes for SH3e.
2353 * t-sh (MULTILIB_OPTIONS): Add SH3E support.
2354 (MULTILIB_DIRNAMES): Define to empty.
2356 Thu Jan 18 11:29:11 1996 Ian Lance Taylor <ian@cygnus.com>
2358 * cplus-dem.c (cplus_demangle_opname): Change type of opname
2359 parameter to const char *.
2360 (cplus_mangle_opname): Change return type and type of opname
2361 parameter to const char *. Don't cast return value.
2362 * demangle.h (cplus_demangle_opname): Update declaration.
2363 (cplus_mangle_opname): Likewise.
2365 Thu Jan 18 10:07:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2367 * gcc.c (extra_specs): If EXTRA_SPECS is defined, define
2368 extra_specs array to hold the extra specs the machine description
2370 (set_spec): If EXTRA_SPECS is defined, handle the extra
2372 (process_command, main, validate_all_switches): Likewise.
2374 * rs6000/{rs6000.h,powerpc.h,aix41.h} ({CPP,ASM}_SPEC): Use common
2375 specs with EXTRA_SPECS, only modifying things in the target that
2376 needs to be modified, rather than having tons of mostly duplicate
2378 * rs6000/{sysv4{,le}.h,}netware.h,lynx.h,} ({CPP,ASM}_SPEC): Ditto.
2379 * rs6000/eabi{le,aix}.h,aix3newas.h}} ({CPP,ASM}_SPEC): Ditto.
2381 Wed Jan 17 19:38:24 1996 Paul Eggert <eggert@twinsun.com>
2383 * cexp.y (HOST_WIDE_INT_MASK): Renamed from LONG_MASK;
2385 (HOST_WIDE_INT, HOST_BITS_PER_WIDE_INT): Put back.
2386 (parse_c_expression, expression_value, parse_escape, left_shift,
2387 right_shift, struct constant, exp, parse_number, yylex):
2388 Replace `long' with `HOST_WIDE_INT'.
2389 * cccp.c (PTR_INT_TYPE): Remove obsolete define to `long'.
2390 (parse_escape, parse_c_expression, eval_if_expression, get_lintcmd,
2391 do_line, do_if, do_elif): Replace `long' with `HOST_WIDE_INT'.
2392 (trigraph_pcp): Don't assume a pointer difference fits in an int.
2394 Wed Jan 17 18:56:31 1996 Jim Wilson <wilson@cygnus.com>
2396 * expmed.c (extract_bit_field): For multi-word bitfield, clobber
2397 target before storing to it.
2399 Wed Jan 17 14:19:34 1996 J.T. Conklin <jtc@slave.cygnus.com>
2401 * sparc/{t-sol2,t-sunos40,t-sunos41}: Define away LIBGCC1_TEST
2402 so that cross compilers targeted at these systems will build.
2404 Wed Jan 17 09:51:58 1996 Doug Evans <dje@cygnus.com>
2406 * sparc.h (v9 INIT_CUMULATIVE_ARGS): Fix typos.
2408 * gcc.c (process_command): New local lang_n_files, and use
2409 it in test of -c with -o. Move test of -save-temps.
2410 Test for trailing NUL in -c.
2412 * i386/t-go32: New file.
2413 * i386/xm-go32.h: New file.
2414 * configure (i[345]86-*-go32*): Define xm_file and tmake_file.
2416 Wed Jan 17 07:47:43 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2418 * cccp.c (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Put back.
2419 (pcfinclude): Use HOST_WIDE_INT for casting pointer to integer.
2421 Wed Jan 17 05:25:06 1996 Jeffrey A. Law <law@cygnus.com>
2423 * va-pa.h (__gnuc_va_list): Use a "void *".
2425 Tue Jan 16 18:45:23 1996 Per Bothner <bothner@cygnus.com>
2427 * cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried
2428 cpp_skip_hspace will actually work.
2430 * cppexp.c (SKIP_OPERAND): New macro.
2431 (cpp_parse_expr): Suppress evaluation and diagnostics in
2432 unevaluated subexpressions.
2433 Corresponds to Eggert's Fri Jun 9 17:58:29 1995 change.
2435 Tue Jan 16 11:59:07 1996 Mike Stump <mrs@cygnus.com>
2437 * expr.c (expand_expr, case COND_EXPR): Make sure cleanups live on
2438 the function_obstack as they are used by the exception handling code.
2439 (defer_cleanups_to): Ditto.
2440 (TRUTH_ANDIF_EXPR): Ditto.
2441 (TRUTH_ORIF_EXPR): Ditto.
2443 Tue Jan 16 13:57:13 1996 Jim Wilson <wilson@cygnus.com>
2445 * cccp.c (new_include_prefix): Ignore ENOTDIR error from stat.
2447 Tue Jan 16 12:18:56 1996 Doug Evans <dje@cygnus.com>
2449 * i386/t-sol2 (crt[1in].o): Add missing -c.
2450 * sparc/t-sol2 (crt[1in].o,gcrt1.o): Likewise.
2451 Source files are assembler.
2453 * gcc.c (do_spec_1, case 'W'): Rename local `index' to `cur_index' to
2454 avoid warning on solaris.
2456 Tue Jan 16 11:42:09 1996 Ian Lance Taylor <ian@cygnus.com>
2458 * dbxcoff.h: New file for stabs in COFF support.
2459 * a29k/a29k-udi.h: Use dbxcoff.h.
2460 * h8300.h, i960/i960-coff.h, m68k/coff.h, m88k/m88k-coff.h: Likewise.
2461 * sh.h, sparc/litecoff.h: Likewise.
2463 Tue Jan 16 08:21:45 1996 Hans-Peter Nilsson <Hans-Peter.Nilsson@axis.se>
2465 * optabs.c (expand_fix): Don't copy TARGET to TO if same.
2467 * expr.c (emit_move_insn_1): Don't emit clobber when moving
2468 by parts and source equals destination.
2470 Tue Jan 16 08:08:29 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2472 * expmed.c (extract_bit_field): Don't abort if not MEM_IN_STRUCT_P.
2474 * local-alloc.c (memref_referenced_p, case REG): Fix last change.
2476 * fold-const.c (const_binop): Strip NOPS from both args.
2478 * regclass.c (regclass): Remove useless cast.
2480 Tue Jan 16 07:06:03 1996 Paul Eggert <eggert@twinsun.com>
2482 * cexp.y: General code cleanup in the style of 1995-04-01 change.
2483 Add prototypes for static functions.
2484 Add parentheses suggested by `gcc -Wparentheses'.
2485 Use `long' uniformly, instead of long, int, HOST_WIDE_INT mess.
2486 (struct constant): Use `signedp' flag (with sign bit) instead of
2487 `unsignedp' flag; it's a little more convenient.
2489 (HAVE_STDLIB_H, STDC_HEADERS, LONG_MASK, __attribute__, PROTO,
2490 VA_START, PRINTF_ALIST, PRINTF_DCL, PRINTF_PROTO, PRINTF_PROTO_1,
2491 vfprintf, SIGNED, UNSIGNED): New symbols.
2492 <stdlib.h>: Include if HAVE_STDLIB_H.
2493 <string.h>: New include.
2494 (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Remove.
2495 (yylex, yyerror, expression_value, parse_number,
2496 initialize_random_junk): Now static.
2498 (overflow_sum_sign): Renamed from possible_sum_sign, with an
2500 (parse_number): Inline strcmp when checking for "0x".
2501 (yylex): Keep track of mask needed when decoding wide characters.
2502 (parse_escape): New arg RESULT_MASK; use it instead of
2503 assuming char width.
2504 (yylex, parse_escape, parse_c_expression): Store all host
2505 integers as long, not int or HOST_WIDE_INT.
2506 (left_shift): No need to do signed left shifts separately.
2508 These changes are for the test program (if TEST_EXP_READER):
2509 (pedantic, traditional): Allocate storage.
2510 (main): Set pedantic, traditional, yydebug depending on args.
2511 (is_hor_space, warning, lookup): Change types and implementation
2512 to match rest of program.
2513 (pedwarn, check_assertion, xmalloc): New functions.
2515 * cccp.c (HOST_BITS_PER_WIDE_INT, HOST_WIDE_INT): Remove.
2516 (parse_escape, parse_c_expression, eval_if_expression):
2517 Change return type to `long'; all callers changed.
2518 (pcfinclude): Use `int', not HOST_WIDE_INT; any integral type will do.
2520 * cccp.c (skip_quoted_string): If pedantic and not pedantic_errors,
2521 skipped multiline strings elicit a warning, not an error.
2522 (rescan): Minor code reorg to keep it parallel with skip_quoted_string.
2524 * fold-const.c (left_shift_overflows): Remove; unused.
2526 * c-typeck.c (convert_for_assignment): Don't automatically convert
2527 from a union member to the union.
2529 Tue Jan 16 06:26:00 1996 Stefan Vogel (stefan@ssw.de)
2531 * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Define section attributes
2532 only when a section is defined the first time.
2534 Tue Jan 16 06:03:27 1996 Thomas Graichen <graichen@omega.physik.fu-berlin.de>
2536 * i386/freebsd.h (ASM_WEAKEN_LABEL): Deleted; not supported.
2538 Mon Jan 15 20:59:49 1996 J. Kean Johnston <hug@netcom.com>
2540 * Makefile.in (LIBGCC2_CLFAGS): Add -DIN_LIBGCC2.
2541 (libgcc1.a): Add -DIN_LIBGCC1.
2542 (stamp-crtS): Remove -fpic, use CRTSTUFF_CFLAGS_S.
2543 * config/t-libc-ok: Add CRTSTUFF_CFLAGS_S.
2545 * configure (i[3456]86-*-sco3.2v5*): New case.
2546 * i386/sco5.h, i386/t-sco5, i386/x-sco5, i386/xm-sco5.h: New files.
2547 * ginclude/stdarg.h, ginclude/varags.h: Add test for SCO Open Server 5.
2549 Mon Jan 15 20:44:13 1996 J.T. Conklin <jtc@netbsd.org>
2551 * m68k/netbsd.h (ASM_SPEC): New macro.
2553 Mon Jan 15 17:01:16 1996 Doug Evans <dje@cygnus.com>
2555 * c-lex.c (check_newline): Pass character after `#pragma' to
2556 HANDLE_PRAGMA. Don't call get_directive_line if at end of line.
2557 * c-common.c (get_directive_line): Watch for EOF.
2558 * h8300.h (HANDLE_PRAGMA): New argument `c'.
2559 Must issue `return' now.
2560 * i960.h (HANDLE_PRAGMA): Likewise.
2561 * sh.h (HANDLE_PRAGMA): Likewise.
2562 * nextstep.h (HANDLE_PRAGMA): Likewise.
2563 * h8300.c (handle_pragma): New argument `ch'.
2564 Simplify pragma processing. Delete support for `#pragma section'.
2565 * i960.c (process_pragma): New argument `c'. Change result to
2566 terminating character.
2567 * nextstep.c (handle_pragma): Likewise.
2568 * sh.c (handle_pragma): Likewise. Also simplified.
2570 * sched.c (reemit_notes): Add prototype.
2571 (sched_analyze_2): Reorganize comments. Call prev_nonnote_insn.
2572 (sched_analyze): Add abort call.
2573 (schedule_block): Call prev_nonnote_insn.
2574 Move call of reemit_notes to after SCHED_GROUP_P scheduling.
2575 Set `head' to `last'.
2577 Mon Jan 15 16:12:25 1996 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
2579 * configure (*-*-gnu*): Use tmake_file=t-gnu.
2580 * config/t-gnu (CRTSTUFF_T_CFLAGS): New file.
2581 * configure (*-*-gnu*): Remove crtbeginS.o and crtendS.o frmo
2582 $extra_parts. Use xmake_file=x-linux.
2584 Mon Jan 15 15:30:49 1996 Gran Uddeborg <gvran@uddeborg.pp.se>
2586 * i386/svr3{,z}.ifile: Allocate address areas for the "stab"
2587 and "stabstr" sections.
2589 Mon Jan 15 14:39:14 1996 Paul Eggert <eggert@twinsun.com>
2591 * c-decl.c (finish_incomplete_decl): Warn if completing an
2592 array that wasn't declared extern. Simplify test for whether
2593 completion is needed.
2595 * cccp.c (do_xifdef): Warn about `#ifdef 0' if not traditional;
2596 formerly the warning was issued if not pedantic.
2598 Mon Jan 15 13:24:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2600 * rs6000.md ({add,sub}di3): Make it work on little endian PowerPC
2603 * rs6000/eabi-c{i,n}.asm (.sbss2 section): Don't make .sbss2 a
2604 .bss section just yet, because it confused the linker.
2606 Mon Jan 15 08:50:31 1996 Philippe De Muyter (phdm@info.ucl.ac.be)
2608 * m68k.md (pushdi): Allow "i" for operand 1.
2609 (extendqidi2): Improve 68000 code generation.
2610 (adddi_lshrdi_63): New pattern.
2612 Mon Jan 15 08:38:40 1996 H.J. Lu {hjl@gnu.ai.mit.edu)
2614 * configure (i[3456]86-*-linux*): Add extra_parts.
2615 * i386/linux.h (LIB_SPEC): Remove %{mieee-fp:-lieee}.
2616 Use -lc_p for -profile.
2617 (CC1_SPEC): New macro.
2618 * linux.h (STARTFILE_SPEC): Use crtbegin.o for both shared llibrary
2619 and normal executable; use gcrt1.o for -profile.
2620 (ENDFILE_SPEC): Use crtend.o for shared llibrary and normal executable.
2621 * x-linux (INSTALL_ASSERT_H): Unset it.
2622 * configure (i[3456]86-*-linux*oldld*): Set xmake_file to x-linux-aout.
2623 (i[3456]86-*-linux*aout*): Likewise.
2624 * x-linux-aout: New file, copied from config/x-linux.
2626 Mon Jan 15 07:41:05 1996 Dmitry K. Butskoy (buc@stu.spb.su)
2628 * varasm.c (in_data_section): New function.
2630 Mon Jan 15 07:37:13 1996 Andreas Schwab (schwab@issan.informatik.uni-dortmund.de)
2632 * c-typeck.c (build_c_cast): Don't warn about alignment when we
2633 have an opaque type.
2635 Mon Jan 15 07:22:59 1996 Michel Delval (mfd@ccv.fr)
2637 * reload.c (find_equiv_reg): Apply single_set, not PATTERN, to WHERE.
2639 Mon Jan 15 07:02:21 1996 John F. Carr <jfc@mit.edu>
2641 * reorg.c (mark_referenced_resources, case TRAP_IF): Set volatil.
2643 Mon Jan 15 06:20:38 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2645 * gcc.c (process_commands): Remove inadvertant fallthrough.
2647 * function.c ({,round_}trampoline_address): TRAMPOLINE_ALIGNMENT is
2650 * objc/archive.c (objc_{write,read}_type, case _C_STRUCT_B): Fix typo.
2652 * expr.c (expand_expr, case COMPONENT_REF): Don't make recursive
2653 call on object with EXPAND_SUM.
2655 * stmt.c (save_expr_regs): Delete declaration; unused.
2657 Sun Jan 14 21:44:26 1996 Michael Meissner <meissner@wogglebug.tiac.net>
2659 * rs6000/eabi-ci.asm (__EXCEPT_START__): Provide label for start
2660 of g++ exception pointers.
2662 * rs6000/eabi-cn.asm (__EXCEPT_END__): Provide label for end of
2663 g++ exception pointers.
2665 * rs6000/eabi.asm (__eabi): Relocate exception pointers unless
2668 * va-ppc.h (va_arg): Long longs are always passed in odd registers.
2670 * rs6000.c (function_arg_boundary): On V.4, long longs are always
2671 passed in odd registers.
2673 * rs6000.md ({add,sub}di3): Remove restriction for POWER only,
2674 since all of the instructions used are common to both
2677 Sun Jan 14 20:34:03 1996 Jeffrey A. Law <law@cygnus.com>
2679 * expr.c (expand_assignment): Fix alignment parm in emit_block_move.
2681 Sun Jan 14 19:00:25 1996 Jim Wilson <wilson@cygnus.com>
2683 * sched.c (schedule_block): Copy RTX_INTEGRATE_P bit when create
2686 * integrate.c (save_for_inline_copying, case NOTE): Copy
2687 RTX_INTEGRATED_P bit.
2689 Sun Jan 14 17:57:52 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2691 * stupid.c (stupid_find_reg): Don't try to allocate reg if live
2692 over more than 5,000 insns.
2694 Sat Jan 13 23:09:07 1996 Jeffrey A. Law <law@cygnus.com>
2696 * pa.h (STACK_BOUNDARY): Bring back down to 64bits.
2698 * pa.md (pre_ldwm): Fix bug exposed by recent changes.
2700 (pre_stwm, post_ldwm, post_stwm): Likewise.
2701 (HImode and QImode variants): Likewise.
2702 * pa.c (hppa_expand_prologue): Corresponding changes.
2703 (hppa_expand_epilogue): Likewise.
2705 * pa.c (hppa_legitimize_address): Generate more indexing
2708 Fri Jan 12 19:03:21 1996 Doug Evans <dje@cygnus.com>
2710 * sparc/sol2.h (COMMON_ASM_OP): Delete, use sysv4.h's.
2712 * sched.c (schedule_block): Maintain a valid chain so
2713 emit_note_before works.
2715 Fri Jan 12 13:20:01 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2717 * rs6000/eabi{,-ci,-cn}.asm: Add support for V.4 .sbss/.sdata, and
2718 eabi .sbss2/.sdata2 sections, loading up r13 and r2 respectively
2719 if the sections were used, and we don't need to relocate the
2722 Thu Jan 11 19:41:07 1996 Per Bothner <bothner@cygnus.edu>
2724 * sparc.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use AGGREGATE_TYPE_P so
2725 QUAL_UNION_TYPE and SET_TYPE are also passed by invisible reference.
2726 * sparc.h (INIT_CUMULATIVE_ARGS for SPARCV9): Return types of
2727 QUAL_UNION_TYPE and SET_TYPE also make invisible 1st argument.
2729 Thu Jan 11 18:33:50 1996 Doug Evans <dje@cygnus.com>
2731 * h8300.h (TARGET_ALIGN_STRUCT_300): New macro.
2732 (TARGET_SWITCHES): Add -malign-struct-300.
2733 (BIGGEST_FIELD_ALIGNMENT): Update.
2735 Thu Jan 11 12:07:44 1996 J.T. Conklin <jtc@cygnus.com>
2737 * h8300.h (CPP_PREDEFINES): Delete -D_DOUBLE_IS_32BITS.
2739 Thu Jan 11 11:09:33 1996 David Edelsohn <edelsohn@mhpcc.edu>
2741 * rs6000.md (mulsf3 !POWERPC): Use dmul attribute.
2742 (divsf3 !POWERPC): Use ddiv attribute.
2744 Thu Jan 11 11:09:33 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2746 * rs6000/eabi-ctors.c (__do_global_ctors): If global variable
2747 __atexit is non-NULL, call it with __do_global_dtors address to
2748 register the function to run destructors.
2749 (__do_global_{c,d}tors): Guard against NULL pointers.
2751 * rs6000/eabi.asm (__eabi): If the __eabi function was already
2754 Thu Jan 11 11:29:09 1996 Doug Evans <dje@cygnus.com>
2756 * fixincludes: Wrap rpc/types.h in extern "C", for osf2.0.
2758 Wed Jan 10 13:16:03 1996 Doug Evans <dje@cygnus.com>
2760 * varasm.c (variable_section): New function.
2761 (assemble_variable): Call it.
2763 Wed Jan 10 11:27:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2765 * rs6000/eabi-c{i,n}.asm (__DTOR_{LIST,END}__): Fix typo.
2766 * rs6000/eabi{,sim}.h ({START,END}FILE_SPEC): Add %s to object
2769 * rs6000/t-{eabi,eabigas,ppc,ppcgas} (MULTILIB_MATCHES): Drop
2770 support for obsolete -mcpu=mpc403.
2771 Add -mcpu=821 and -mcpu=860 to soft-float defaults.
2773 * rs6000/t-eabi{,gas} (LIBGCC): Add stmp-crt.
2774 (INSTALL_LIBGCC): Add install-crt.
2775 (EXTRA_PARTS): Delete.
2776 (stmp-crt{,-sub}): New rules to build crti.o and crtn.o in a
2778 (install-crt): Install the multilib crt values.
2780 Tue Jan 9 17:30:16 1996 Doug Evans <dje@cygnus.com>
2782 * c-tree.h (merge_attributes): Moved from here.
2783 * tree.h (merge_attributes): To here.
2784 * c-typeck.c (merge_attributes): Moved from here.
2785 * tree.c (merge_attributes): To here.
2787 Mon Jan 8 18:27:38 1996 Arne H. Juul <arnej@pvv.unit.no>
2789 * mips/netbsd.h (LINK_SPEC): Change nostdlib to nostartfiles.
2790 (LOCAL_LABEL_PREFIX): Delete.
2791 (ASM_OUTPUT_SECTION_NAME): Define.
2793 Sun Jan 7 17:11:11 1996 David Edelsohn <edelsohn@mhpcc.edu>
2795 * collect2.c (scan_libraries): Correct Import File ID interpretation.
2797 Sun Jan 7 16:56:56 1996 Michael Meissner <meissner@wombat.gnu.ai.mit.edu>
2799 * {svr4,mips/elf{,64}}.h (MAX_OFILE_ALIGNMENT): Define as 32768*8.
2801 Sat Jan 6 15:52:36 1996 Doug Evans <dje@cygnus.com>
2803 * a29k/vx29k.h (CPP_SPEC): Define.
2805 * configure: Recognize any --with/--without option.
2807 * Makefile.in (MAKEINFOFLAGS): New variable.
2808 (cpp.info,gcc.info): Use it.
2810 * sparc/t-sol2 (crt1.o,crti.o,crtn.o,gcrt1.o): Use $(GCC_FOR_TARGET).
2811 * i386/t-sol2 (crt1.o,crti.o,crtn.o): Likewise.
2813 Fri Jan 5 10:44:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2815 * rs6000/aix{3newas,41}.h ({ASM,CPP}_SPEC): Update for new
2817 * rs6000/eabi{aix,le}.h ({ASM,CPP}_SPEC): Ditto.
2818 * rs6000/{lynx,netware,powerpc,sysv4}.h ({ASM,CPP}_SPEC): Ditto.
2820 * rs6000.c (rs6000_override_options): Remove requirement that
2821 -mcpu=common be big endian.
2822 (rs6000_stack_info): If NAME__main is defined, mark this function
2823 as doing a call, even if there are no arguments.
2825 * rs6000.md (SI*SI->DI splitters): Add reload_completed
2827 (mulsidi3): If big endian, do move directly, rather than moving by
2830 * rs6000/eabi{,sim}.h (STARTFILE_SPEC): Add crti.o before any
2832 (ENDFILE_SPEC): Add crtn.o after any objects.
2833 * rs6000/t-eabi{,gas}: Build crt{i,n}.o from eabi-crt{i,n}.asm.
2834 * rs6000/eabi-crt{i,n}.asm: New files to provide begin/end labels
2835 for all special sections used by eabi as opposed to relying on GLD
2836 to set all of these symbols.
2837 * rs6000/eabi.asm (__eabi): Change to use the new labels provided
2838 above. Don't assume that the .got2, .ctors, .dtors, and .fixup
2839 sections are contiguous.
2841 Fri Jan 5 10:40:37 1996 David Edelsohn <edelsohn@mhpcc.edu>
2843 * rs6000.md (mulh_call): Remove r4 clobber.
2844 (quoss_call): Remove cr0 and cr1 clobbers.
2846 * rs6000.md (function units): Add MPC505/821/860 support.
2847 (SF multiply add combiner patterns): Use dmul attribute when limited
2848 to DFmode POWER instructions.
2849 * rs6000.c (processor_target_table): Add MPC505/821/860 support.
2850 Remove MASK_POWER and add MASK_PPC_GFXOPT for PPC602. Always use
2851 new mnemonics for common mode.
2852 (rs6000_override_options): Don't set SOFT_FLOAT based upon
2854 * rs6000.h (processor_type): Add PROCESSOR_MPCCORE.
2855 (RTX_COSTS): Add PROCESSOR_MPCCORE cases.
2856 (CPP_SPEC): Add new processor support.
2858 Fri Jan 5 00:32:49 1996 Doug Evans <dje@cygnus.com>
2860 * sparc.h (MACHINE_STATE_RESTORE): Add missing .align.
2862 Wed Jan 3 18:29:32 1996 Doug Evans <dje@cygnus.com>
2864 * arm/lib1funcs.asm (__USER_LABEL_PREFIX__): Define if not already.
2865 (CONCAT1,CONCAT2,SYM): Define.
2866 (__udivsi3,__divsi3,__umodsi3,__modsi3,__div0): Use SYM to define
2869 Wed Jan 3 02:41:39 1996 Jeffrey A. Law <law@cygnus.com>
2871 * pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Call text_section.
2873 Tue Jan 2 16:12:13 1996 Jim Wilson <wilson@cygnus.com>
2875 * sh.c (gen_shifty_op): Output a NOP for a shift by 0.
2876 (find_barrier): New variables si_limit, hi_limit. Set them depending
2877 on whether we are optimizing. Set found_hi if the destination is
2879 (machine_dependent_reorg): If not optimizing, then change scan to a
2880 note instead of calling delete_insn.
2881 * sh.h (OVERRIDE_OPTIONS): Don't set optimize or flag_delayed_branch.
2883 * dbxout.c (gstab.h): Include if cross compiling.
2885 Mon Jan 1 21:13:43 1996 Arkady Tunik <Arkady_Tunik@comverse.com>
2887 * configure (i[3456]-*-solaris2*): Support stabs.
2888 * i386/sol2dbg.h: New file.
2890 Mon Jan 1 09:08:01 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2892 * c-typeck.c: Use DECL_C_BIT_FIELD, not DECL_BIT_FIELD in all tests.
2894 * global.c (reg_allocno): No longer static.
2895 * reload1.c (reg_allocno): Declare.
2896 (order_regs_for_reload): New arg, GLOBAL.
2897 Bias against regs allocated in local-alloc.
2898 (reload): Pass new parm to order_regs_for_reload.
2900 * local-alloc.c (reg_equiv_replacement): New variable.
2901 (memref_referenced_p, case REG): Check for reg_equiv_replacement.
2902 (update_equiv_regs): reg_equiv_replacement now file-scope.
2904 * c-decl.c (finish_struct): Warn if field with enumeral type is
2905 narrower than values of that type.
2907 * combine.c (rtx_equal_for_field_assignment_p): New function.
2908 (make_field_assignment): Use it.
2909 Expand compound operations on both sides of an IOR.
2910 Properly adjust constand in IOR when computing bit position.
2912 Sun Dec 31 18:47:22 1995 Doug Evans <dje@cygnus.com>
2914 * m68k-none.h (MULTILIB_DEFAULTS): Define.
2916 Sun Dec 31 15:47:20 1995 Jeffrey A. Law <law@cygnus.com>
2918 * hard-reg-set.h (losing_caller_save_reg_set): Declare.
2919 * regclass.c (losing_caller_save_reg_set): Define.
2920 (init_reg_sets_1): Initialize losing_caller_save_reg_set.
2921 * global.c (find_reg): Avoid caller-saving registers in
2922 losing_caller_save_reg_set.
2923 * local-alloc.c (find_free_reg): Avoid caller-saving registers
2924 in losing_caller_save_reg_set.
2925 (CLASS_LIKELY_SPILLED_P): Delete definition. Moved into regs.h.
2926 * regs.h (CLASS_LIKELY_SPILLED_P): Define if not already defined.
2928 * reorg.c (fill_simple_delay_slots): Try to fill from the
2929 target of an unconditional branch if necessary.
2931 * pa.h (REG_ALLOC_ORDER): Allocate PA1.1 caller-saved FP regs
2932 before PA1.0 caller-saved FP regs.
2934 * sched.c (adjust_priority): Use ADJUST_PRIORITY if its defined.
2936 * pa.h (ADJUST_PRIORITY): Define to keep lifetimes of registers
2937 that will be allocated to %r1 shorter.
2939 Sun Dec 31 14:20:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2941 * rtl.h (assign_temp): Add extra arg.
2942 * function.c (assign_temp): Add extra arg, DONT_PROMOTE.
2943 Don't return (const_int 0) for VOIDmode.
2944 * stmt.c (expand_asm_operands): Call assign_temp with extra arg.
2945 * expr.c (save_nocopied_parts, expand_expr): Likewise.
2946 (expand_expr, case SAVE_EXPR): Set TEMP to (const_int 0)
2947 if MODE is VOIDmode.
2948 (expand_expr): Don't use assign_temp for pseudos when might
2951 * stmt.c (tail_recursion_args): Compare TYPE_MAIN_VARIANTs.
2953 * calls.c (expand_call): Don't warn about not being able to
2955 * expr.c (clear_pending_stack_adjust): Don't do optimization if -O0.
2956 * function.c (instantiate_decls): Check DECL_SAVED_INSNS to see
2957 if obstack change is needed.
2958 * toplev.c (rest_of_compilation): Leave DECL_INLINE set even if
2961 * tree.h: Add documentation on uses of common area flags.
2962 (DECL_ERROR_ISSUED): New macro.
2963 (DECL_NO_STATIC_CHAIN): New macro; currently unused.
2964 * c-aux-info.c (gen_decl): DECL_REGISTER isn't defined
2966 * toplev.c (compile_file): Likewise.
2967 * stmt.c (fixup_gotos): Use DECL_ERROR_ISSUED instead
2969 * varasm.c ({bc_,}make_decl_rtl): Don't look at DECL_REGISTER
2972 Sat Dec 30 07:57:11 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
2974 * sdbout.c (plain_type_1, case ARRAY_TYPE): Subtract lower bound
2975 when writing dimension.
2977 Fri Dec 29 18:23:58 1995 Paul Eggert <eggert@twinsun.com>
2979 * cccp.c (eval_if_expression): End expression with '\n', not '\0'
2980 so '\0' can be diagnosed properly.
2981 * cexp.y (yylex, parse_c_expression, main): Likewise.
2983 Thu Dec 28 18:24:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
2985 * tree.h (TYPE_ARRAY_MAX_SIZE): New macro (used by Chill).
2986 * function.c (assign_temp): New function. Can handle Chill-style
2987 variable-sized array with static maximum size.
2988 * rtl.h (assign_temp): New declaration.
2989 * stmt.c (expand_asm_operands): Use new assign_temp function.
2990 * expr.c (save_noncopied_parts, expand_expr): Likewise.
2992 Thu Dec 28 15:28:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
2994 * function.c (assign_parms): Fix thinko for struct value arg.
2996 Fri Dec 29 12:41:47 1995 Michael Meissner <meissner@tiktok.cygnus.com>
2998 * rs6000.md (movdf): Reinstate 12/24 change accidently dropped in
2999 undoing 12/27 changes.
3001 Thu Dec 28 22:24:53 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3003 * rs6000.h: (reg_class): Undo 12/27 changes, except for formatting.
3004 (REG_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
3005 (REG_CLASS_FROM_LETTER): Likewie.
3006 (PREDICATE_CODES): Delete predicate functions.
3007 (gpc_reg{0,3,4,34}_operand): Delete declaration.
3008 (cc_reg{0,1}_operand): Likewise.
3009 * rs6000.c (gpc_reg{0,3,4}_operand): Delete.
3010 (cc_reg{0,1}_operand): Likewise.
3012 * rs6000.md (common mode functions): Undo 12/27 changes,and add
3013 appropriate clobbers for common mode calls. Keep define_splits for
3016 Thu Dec 28 11:08:11 1995 Mike Stump <mrs@cygnus.com>
3018 * sparc.h (RETURN_ADDR_OFFSET): Rename from NORMAL_RETURN_ADDR_OFFSET;
3019 returns offset for the current function specifically.
3021 Thu Dec 28 07:07:14 1995 Paul Eggert <eggert@twinsun.com>
3023 * c-lex.c (yylex): Improve error message for bogus numbers.
3024 Consolidate duplicated code.
3026 * cexp.y (parse_number): Improve error message for bogus numbers.
3027 (yylex): Consider `0xe-1' to be a (bogus) number if not traditional.
3029 * cccp.c (do_include): In VMS, worry only about EACCES when open fails.
3030 (new_include_prefix): Don't try to stat dir prefixes in VMS.
3032 Wed Dec 27 14:02:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
3034 * fix-header.c: Add EXIT_FAILURE and EXIT_SUCCESS to stdlib.h if
3035 missing. Re-write how errno is added to be done similarly.
3036 (XOPEN_SYMBOL, XOPEN_EXTENDED_SYMBOL): New macros, to mark XPG4
3038 (std_include_table): Add a number of functions (mostly XPG4).
3040 Tue Dec 26 23:18:34 1995 Per Bothner <bothner@kalessin.cygnus.com>
3042 * sys-types.h: Add dummy definition for ssize_t.
3043 * sys-protos.h (bcmp, bcopy, gethostname, lockf, read, readlink,
3044 write): Fix prototypes to match Posix and XPG4.
3045 (socket, strcasecmp, strncasecmp): New prototypes (from XPG4).
3047 Wed Dec 27 15:30:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3049 * libgcc2.c (_bb_init_prg): Cast arg to bzero to (char *).
3051 * regs.h (reg_rtx_no, regno_pointer_{flag_length,align): New decls.
3052 (REGNO_POINTER_ALIGN): New macro.
3053 * emit-rtl.c (regno_pointer_align): New variable.
3054 (gen_reg_rtx): Extend regno_pointer_align table.
3055 Allocate tables in saveable obstack.
3056 (mark_reg_pointer): New arg, ALIGN.
3057 (gen_inline_header): New args for reg info.
3058 (set_new_first_and_last_insn): Set cur_insn_uid.
3059 ({save,restore}_emit_status): Save and restore regno_pointer_align.
3060 (restore_reg_data{,_1}): Deleted.
3061 (init_emit): Allocate register tables in saveable obstack.
3062 Set REGNO_POINTER_ALIGN for regs pointing into frame.
3063 * function.c (assign_parms): Set REGNO_POINTER_ALIGN for
3064 parms that are pointers.
3065 * function.h (struct function): New field regno_pointer_align.
3066 * expr.c (expand_expr, case VAR_DECL): Set REGNO_POINTER_ALIGN
3067 when copying address into memory.
3068 (expand_expr, case COMPONENT_REF, case ADDR_EXPR): Set alignment
3069 of register when result or result's address.
3070 (expand_expr, case CONVERT_EXPR): Don't handle -fforce-mem here.
3071 * combine.c (set_nonzero_bits_and_sign_copies): Handle reg even
3072 if only set once and in one basic block.
3073 (nonzero_bits, case REG): Use REGNO_POINTER_ALIGN instead of
3074 explicit alignment of registers pointing into frame.
3075 * stmt.c (expand_decl): Set alignment of register for pointer
3077 * optabs.c (emit_unop_insn): Don't do -fforce-mem for SIGN_EXTEND.
3078 * cse.c (find_best_addr): Make sure folded address better before using.
3079 * rtl.h (INLINE_REGNO_{RTX,POINTER_FLAG,POINTER_ALIGN}): New macros.
3080 (gen_inline_header): Add three new parms.
3081 * rtl.def (INLINE_HEADER): Add three new fields.
3082 * integrate.c: Include regs.h.
3083 (initialize_for_inline): Pass additional args to gen_inline_header.
3084 (save_for_inline_copying): Make new regno_reg_rtx, regno_pointer_flag,
3085 and regno_pointer_align arrays.
3086 (expand_inline_function): Set alignment of reg for parm if passed
3088 Set regno_pointer_{flag,align} into remap table.
3089 (copy_rtx_and_substitute): Set alignment of pointers into
3091 Copy pointer flag and alignment to regs that are copies of
3092 pointer registers from the original regs.
3093 (output_inline_function): Don't call restore_reg_data.
3094 Restore reg_rtx_no, regno_{reg_rtx,pointer_flag,pointer_align}.
3095 * integrate.h (struct inline_remap): New fields regno_pointer_flag
3096 and regno_pointer_align.
3097 * unroll.c (unroll_loop): Set regno_pointer_{flag,align} in
3099 * explow.c (memory_address, allocate_dynamic_stack_space):
3100 Pass additional arg to mark_reg_pointer.
3101 * Makefile.in (integrate.o): Includes regs.h.
3103 * alpha.c ({non,}aligned_memory_operand): Test REGNO_POINTER_ALIGN.
3104 (reg_or_unaligned_mem_operand): New function.
3105 (get_unaligned_address): Add new arg, EXTRA_OFFSET.
3106 * alpha.h ({CONSTANT,DATA}_ALIGNMENT): Align to at least BITS_PER_WORD.
3107 (PREDICATE_CODES): Add reg_or_unaligned_mem_operand.
3108 * alpha.md (extend{qihi,qisi,hisi}2): Allow unaligned memory
3109 as arg 1 and pass to extend_{q,h}idi2.
3110 (unaligned_extend{q,h}idi): New patterns.
3111 (extend{q,h}idi2): If unaligned memory, call above new patterns.
3112 (ext{q,l,w}h recognizer): Update to proper RTL.
3113 (ext define_split): Comment out for now; wrong and maybe useless.
3114 (unaligned_{load,store}hi): Do similarly to QImode.
3115 (movhi, reload_{in,out}hi): Call unaligned case differently.
3117 Wed Dec 27 11:38:20 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3119 * rs6000.md (mulsidi3{,_common}): Undo previous change using
3120 register classes instead of fixed registers for SI*SI->DI common
3123 * rs6000.c (gpc_reg34_operand): Delete unused function.
3124 * rs6000.h (gpc_reg34_operand): Likewise.
3126 * rs6000.c (gpc_reg{3,4}_operand): Reorganize code and don't allow
3129 * rs6000.c (rs6000_override_options): Do not allow -mcpu=common on
3130 little endian PowerPC's.
3131 (gpc_reg{0,3,4,34}_operand): New functions to match a specific
3133 (cc_reg{0,1}_operand): Likewise.
3135 * rs6000.h (reg_class): Add register classes for register 3 by
3136 itself, register 4 by itself, registers 3&4, and CR1.
3137 (REG_NAMES): Add support for new register classes.
3138 (REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
3139 (PREDICATE_CODES): Add new predicate functions.
3140 (gpc_reg{0,3,4,34}_operand): Add declaration.
3141 (cc_reg{0,1}_operand): Likewise.
3143 * rs6000.md (common mode multiplication/division): Move/rename common
3144 mode calls so they are closer to define_expands that call them.
3145 Set attribute type to be jmpreg, rather than integer, so optimizer
3146 knows branch processing unit is used; make SI*SI->DI multiplier use
3147 register classes instead of hardwired registers.
3148 Add appropriate clobbers of CR0/CR1 as mandated by PowerOpen spec.
3149 (PowerPC SI*SI->DI multipliers): Add appropriate define_splits.
3151 * rs6000/t-{,x}newas (MULTILIB*): Don't build power2 or 601
3154 Tue Dec 26 21:52:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3156 * fold-const.c (fold_convert): When converting a NaN to
3157 another type, change the type of the node before returning it.
3159 Mon Dec 25 17:12:10 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3161 * c-typeck.c (mark_addressable): Fix error in last change.
3163 Sun Dec 24 22:19:49 1995 Jeffrey A. Law <law@cygnus.com>
3165 * pa.c (output_function_epilogue): Use assemble_integer rather
3166 than calling ASM_OUTPUT_INT directly.
3167 * pa.h (ASM_OUTPUT_INT): Use labels for everything in the
3168 exception table section.
3170 * pa.c (print_operand): Don't call fprintf to output a register
3171 name. Use fputs instead.
3173 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Strip any name encoding
3174 on the section name.
3176 Sun Dec 24 17:46:03 1995 Markus Theissinger <Markus.Theissinger@gmd.de>
3178 * toplev.c (main): Add -ax option.
3179 * gcc.c (struct compilers): Likewise.
3180 * final.c (end_final): Extended header increased to 11 words.
3181 (profile_after_prologue): FUNCTION_BLOCK_PROFILER uses
3182 count_basic_blocks instead of profile_label_no.
3184 * libgcc2.c (struct bb): Add flags field.
3185 (HAVE_POPEN): Test new define.
3186 (struct __bb, struct bb_{edge,func}): New structs.
3187 (__bb_init_{prg,file},__bb_{init,exit}_trace_func,__bb_trace_ret,
3188 (__bb_trace_func{,_ret},gopen,gclose): New functions.
3190 * sparc.h, i386.h, m68k.h (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER):
3191 Extension for -ax option (profile_block_flag == 2).
3192 (MACHINE_STATE_SAVE,MACHINE_STATE_RESTORE): New macros.
3193 (FUNCTION_BLOCK_PROFILER_EXIT): New macro.
3194 * sparc.c (output_function_epilogue), i386.c (function_epilogue):
3195 Use FUNCTION_BLOCK_PROFILER_EXIT.
3196 * m68k.c (output_function_epilogue): Likewise.
3197 * xm-sparc.h: Define HAVE_POPEN.
3199 Sun Dec 24 06:50:30 1995 Barrett Richardson (barrett@iglou.com)
3201 * floatlib.c (__divdf3): Rewrite to do software divide of two
3202 doubles instead of using __divsf3.
3204 Sun Dec 24 06:38:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3206 * rs6000.md (movdf): Don't copy a word at a time; nearly always loses.
3208 * c-tree.h (DECL_C_BIT_FIELD): New macro.
3209 * c-decl.c (finish_struct): Set it when set DECL_BIT_FIELD.
3210 * c-typeck.c (mark_addressable, case COMPONENT_REF):
3211 Give error if taking address of a bit field.
3213 * gcc.c (unused_prefix_warning): Include machine_suffix if
3214 require_machine_suffix.
3215 (warn_B, warn_std, warn_std_ptr): New variables.
3216 (process_commands): Use them and NULL_PTR as WARN arg to add_prefix.
3218 * gcc.c (process_command): Give error for -c with -o and
3219 multiple compilations.
3220 (handle_braces): Rename variable "pipe" to "pipe_p".
3222 * expr.h (clrstr_optab): New declaration.
3223 (clear_storage): New parm, ALIGN.
3224 * tree.h (CONSTRUCTOR_TARGET_CLEARED_P): New macro.
3225 * genopinit.c (optabs): Add "clrstr%a%".
3226 * optabs.c (init_optabs): Initialize clrstr_optab.
3227 * expr.c (struct clear_by_pieces): New structure.
3228 (clear_by_pieces{,_1}, {is,mostly}_zeros_p): New functions.
3229 (clrstr_optab): New optab.
3230 (clear_storage): Rework to try to use clear_by_pieces, then
3231 new clrstr insn, then library call.
3232 (store_constructor): Track if target is already cleared.
3233 Clear target first if CONSTRUCTOR is mostly zeros.
3234 Don't write zeros if target has been cleared.
3235 Add new arg to clear_storage call.
3236 (expand_expr, case CONSTRUCTOR): Don't put static constructor
3237 in memory if mostly zero.
3238 * i386.md (clrstrsi): New pattern and associate anonymous pattern.
3240 Sat Dec 23 12:21:53 1995 Jeffrey A. Law <law@cygnus.com>
3242 * pa.c (output_move_double): Correctly identify and handle
3244 * pa.md (movdi patterns): Eliminate earlyclobbers in mem<->gr cases.
3245 (movdf patterns): Likewise.
3247 Fri Dec 22 17:29:42 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3249 * expr.c (store_constructor): Don't call change_address on REG.
3250 (expand_expr, case CONSTRUCTOR): Likewise.
3252 * mips.c (expand_block_move): Preserve MEM flags in call to
3255 * pa.c (emit_move_sequence): Don't try to set REGNO_POINTER_FLAG
3258 * reload.c (find_valid_class): New function.
3259 (push_reload): Use it in cases where a SUBREG and its contents
3260 both need to be reloaded.
3262 * toplev.c (rest_of_compilation): Never defer functions that
3263 contain nested functions.
3265 Fri Dec 22 15:55:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3267 * rs6000.md (function units): Add 403 support which deleted
3268 by accident on Nov 21st. Mark all compares from 602, 603, 604,
3269 620, 403, like was done for rios{1,2} and 601 as needing the bpu,
3270 so that compares are hoisted far enough branches for zero cycle
3273 Fri Dec 22 15:13:47 1995 Stan Cox <coxs@dg-rtp.dg.com>
3275 * i386.h (TARGET_UNROLL_STRLEN): New macro.
3276 * i386.c (output_strlen_unroll): New function.
3277 * i386.md (strlensi): New pattern.
3279 Thu Dec 21 18:53:31 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3281 * /gnu.h (GNU_CPP_PREDEFINES): Add missing space after -Amachine(CPU).
3283 Thu Dec 21 12:23:42 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3285 * configure ({powerpc,rs6000}*): Change --enable-cpu to --with-cpu.
3286 * rs6000.c (rs6000_select): Likewise.
3288 * rs6000/aix41.h (LINK_SPEC): Do not pass -bexport to the linker
3291 Wed Dec 20 11:23:39 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3293 * configure ({powerpc,rs6000}-ibm-aix*): Merge these two into the
3294 same case statement. Aix 4 now generates -mcpu=common by default.
3295 ({powerpc,rs6000}*): Add support for --enable-cpu=<value> to
3296 select the default cpu to compile for.
3298 * rs6000/aix41.h (TARGET_DEFAULT): Make -mcpu=common default behavior.
3299 (PROCESSOR_DEFAULT): Likewise.
3300 (MULTILIB_DEFAULTS): Set mcpu=common.
3302 * rs6000.h (TARGET_CPU_DEFAULT): Define to be NULL if not defined.
3303 (PROCESSOR_COMMON): Set this to PROCESSOR_601.
3304 (PROCESSOR_POWERPC): Set this to PROCESSOR_604.
3305 (TARGET_OPTIONS): Add -mtune= switch.
3306 (rs6000_select): New structure to hold -mcpu=, -mtune= switches
3307 and the result of configuring --enable-cpu=.
3308 (OVERRIDE_OPTIONS): Pass TARGET_CPU_DEFAULT to
3309 rs6000_override_options.
3311 * rs6000.c (rs6000_cpu_string): Delete global variable.
3312 (rs6000_select): Define new global variable.
3313 (rs6000_override_options): Take default_cpu argument, and provide
3314 support for it and -mtune= in addition to -mcpu=.
3316 * rs6000/{aix{3newas,41},lynx,netware,powerpc}.h (ASM_SPEC): Add
3317 support for -mcpu=power2.
3318 * rs6000/{rs6000,sysv4}.h (ASM_SPEC): Likewise.
3320 * rs6000/{aix41,eabiaix,eabile,lynx,powerpc}.h (CPP_SPEC): Make
3321 sure all -mcpu=xxx targets are supports.
3322 * rs6000/{rs6000,sysv4,sysv4le}.h (CPP_SPEC): Likewise.
3324 * rs6000/t-x{newas,rs6000}: New files to be used when making a
3325 cross compiler, to prevent libgcc1-test from being made.
3327 * rs6000/t-{x,}newas (MULTILIB_*): Build multlilib libraries for
3328 power, power2, 601, powerpc, and common mode processors.
3330 * rs6000/aix41ppc.h: Delete, no longer used.
3332 Tue Dec 19 18:31:21 1995 Jim Wilson <wilson@cygnus.com>
3334 * mips.c (mips_reg_names, mips_sw_reg_names, mips_regno_to_class):
3335 Add entry for new RAP reg.
3336 * mips.h (FIRST_PSEUDO_REGISTER): Increment.
3337 (FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES,
3338 DEBUG_REGISTER_NAMES): Add entry for new RAP reg.
3339 (RAP_REG_NUM, RETURN_ADDRESS_POINTER_REGNUM): New macros.
3340 (RETURN_ADDR_RTX): Define.
3341 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET):
3342 Add RETURN_ADDRESS_POINTER_REGNUM support.
3343 * emit-rtl.c (return_address_pointer_rtx): New global variable.
3344 (gen_rtx, init_emit_once): Add support for it.
3346 Tue Dec 19 15:08:31 1995 Jason Merrill <jason@yorick.cygnus.com>
3348 * collect2.c: Remove auto_export functionality.
3350 Tue Dec 19 10:57:23 1995 Kim Knuttila <krk@cygnus.com>
3352 * ppc-asm.h: Do not compile the register macros under winnt.
3354 Mon Dec 18 19:31:23 1995 Adam Fedor <fedor@wilma.Colorado.EDU>
3356 * objc/encoding.c (objc_alignof_type): Handle _C_PTR case.
3358 Mon Dec 18 18:40:34 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3360 * combine.c (simplify_rtx, case SUBREG): For SUBREG of a constant,
3361 use <= instead of < when comparing mode sizes.
3362 (force_to_mode, case NOT): Use full mask inside the NOT operation.
3364 * expr.c (emit_block_move): When call emit_libary_call for bcopy,
3365 pass arguments using correct types and modes.
3366 (emit_push_insn, expand_assignment): Likewise.
3367 (clear_storage, store_expr): Likewise for memset and bzero.
3368 (store_constructor): Likewise for memset.
3369 * optabs.c (emit_cmp_insn): Likewise for memcmp and bcmp.
3370 * convex.c (expand_movstr_call): Likewise for memcpy.
3371 * m88k.c (expand_block_move): Likewise for memcpy and bcopy.
3372 * mips.c (block_move_call): Likewise for memcpy and bcopy.
3373 * mips.h (INITIALIZE_TRAMPOLINE): Likewise for cacheflush.
3375 * c-common.c (WCHAR_TYPE_SIZE): Add a default definition.
3377 * sdbout.c (sdbout_symbol, case FUNCTION_DECL): Use DECL_INITIAL
3378 instead of DECL_EXTERNAL to identify declarations.
3380 * svr4.h (ASM_IDENTIFY_GCC): Don't output stab here.
3381 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Output stab here instead of above.
3383 * stmt.c (expand_asm_operands): Handle numeric constraints in
3384 with the default case.
3386 Mon Dec 18 16:49:43 1995 John F. Carr <jfc@mit.edu>
3388 * expr.h (expand_mult_highpart_adjust): Declare.
3390 Mon Dec 18 16:39:41 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3392 * expr.c (store_constructor): Fix error in last change: just
3393 copy MEM, but be sure to share address.
3394 (expand_expr, case CONSTRUCTOR): Likewise.
3396 Mon Dec 18 16:22:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3398 * rs6000.h (ASM_GENERATE_INTERNAL_LABEL): Put leading '*' in label
3399 string so as to not confuse dbxout.c.
3401 Mon Dec 18 09:44:56 1995 Mike Stump <mrs@cygnus.com>
3403 * libgcc2.c (__empty): An empty function used by the C++ frontend for
3404 defaulting cleanup actions.
3406 * tree.c (save_tree_status, restore_tree_status): Save and restore
3409 Mon Dec 18 07:49:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3411 * function.c (fixup_var_refs_1): Fix error in last change (when
3412 mode of VAR is not the same as PROMOTED_MODE).
3414 Sun Dec 17 12:14:37 1995 Jeffrey A. Law <law@cygnus.com>
3416 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Don't surround section names
3417 with '$'; that confuses collect2.
3418 (ASM_OUTPUT_SECTION_NAME): Likewise.
3420 * sched.c (canon_rtx): Recursively look for equivalences;
3421 look for expressions equivalent to MEMs.
3422 (true_dependence): Canonicalize inputs before operating
3424 (anti_dependence, output_dependence): Likewise.
3426 * jump.c (follow_jumps): Don't follow an unconditional jump
3427 that is not a simple_jump.
3429 * pa.c (override_options): Make 7100 scheduling the default.
3431 * pa.md: Add 2nd reload peephole somehow omitted from Nov27 changes.
3433 * regclass.c (regclass): Use SECONDARY_RELOAD_CLASS if it's
3434 defined to avoid useless work.
3436 * combine.c (find_split_point): Try to split SET_DEST
3437 just like we do for SET_SRC.
3439 Sun Dec 17 11:37:25 1995 Torbjorn Granlund <tege@noisy.tmg.se>
3441 * expmed.c (expand_mult_highpart): When doing widening multiply,
3442 put constant in a register.
3443 (expand_mult_highpart): When mode is word_mode use gen_highpart
3444 instead of right shift by size.
3446 * expr.c (expand_expr, case MULT_EXPR): Generalize code for widening
3447 multiply to handle signed widening multiply when only unsigned optab
3448 is defined, and vice versa.
3450 Sun Dec 17 07:35:50 1995 Pat Rankin <rankin@eql.caltech.edu>
3452 * vax/vms.h (WCHAR_TYPE_SIZE): Define.
3454 Sun Dec 17 07:08:34 1995 Ronald F. Guilmette <rfg@monkeys.com>.
3456 * fp-test.c: New file.
3458 Sun Dec 17 07:06:03 1995 Peter Flass <flass@lbdc.senate.state.ny.us>
3460 * i370.md (cmpqi): Fix generation of literal operand of CLM instruction
3461 to avoid double literals (=X'=F'...).
3463 Sun Dec 17 06:57:02 1995 Paul Eggert <eggert@twinsun.com>
3465 * cccp.c: Try harder not to open or stat the same include file twice.
3466 Simplify include file names so that they are more likely to match.
3467 E.g. simplify "./a//b" to "a/b". Represent directories with simplified
3468 prefixes, e.g. replace "./a//b" with "a/b/", and "." with "".
3469 (absolute_filename): New function.
3470 (do_include): Use it.
3471 (read_name_map): Likewise; this makes things more consistent for DOS.
3472 (main, do_include, open_include_file): -M output now contains
3473 operands of -imacros and -include.
3474 (skip_to_end_of_comment): When copying a // comment, don't try to
3475 change it to a /* comment.
3476 (rescan, skip_if_group, skip_to_end_of_comment, macarg1): Tune.
3477 (rescan, skip_if_group, skip_to_end_of_comment, macarg1):
3478 If warn_comments is nonzero, warn if backslash-newline appears
3479 in a // comment. Simplify method for finding /* /* */ comment.
3480 (skip_if_group): Optionally warn if /* /* */ appears between # and
3481 a directive inside a skipped if group.
3482 (macarg): Optionally warn if /* /* */ appears in a macro argument.
3483 (strncat, VMS_strncat, vms_ino_t, ino_t): Remove.
3484 (INCLUDE_LEN_FUDGE): Add 2 if VMS, for trailing ".h".
3485 (INO_T_EQ, INO_T_HASH): New macros.
3486 (struct file_buf): New member `inc'.
3487 (expand_to_temp_buffer): Initialize it.
3488 (struct file_name_list): New member `inc'.
3489 (struct file_name_list): New member `st'.
3490 c_system_include_path is now 1 if not 0.
3491 fname is now an array, not a pointer.
3492 (struct include_file): New members `next_ino', `deps_output', `st'.
3493 Remove members `inode' and `dev'; they are now in `st'.
3494 (INCLUDE_HASHSIZE): Rename from INCLUDE_HASH_SIZE.
3495 (include_hashtab): Rename from include_hash_table.
3496 (include_ino_hashtab): New variable.
3497 (main): Store file status in struct stat, not in long and int pieces.
3498 Use base_name to strip prefixes from file names.
3499 When printing directory prefixes, omit trailing / and print "" as ".".
3500 Fatal error if the input file is a directory.
3501 (main, path_include): Regularize operands of -include, -imacros,
3502 -isystem, -iwithprefix, and -iwithprefixbefore.
3503 Regularize default include directories.
3505 Allocate dsp with alloca, since fname is now dynamically allocated.
3506 Use -3 to represent a never-opened file descriptor.
3507 Make copy of file name, and simplify the copy.
3508 Use base_name to identify the end of fname's directory.
3509 Do not prepend dir for "..." if it matches the search list's first dir.
3510 open_include_file now subsumes redundant_include_p and lookup_import.
3511 Use bypass_slot to remember when to skip directories when including
3512 a file that has already been seen.
3513 Instead of using 0 to represent the working directory, and ""
3514 to represent a directory to be ignored, use "" for the former,
3515 and assume the latter has been removed before we get here.
3516 Assume the directory prefixes have already been simplified.
3517 Report as errors all open failures other than ENOENT.
3518 Fatal error if fstat fails.
3519 Use new deps_output member to avoid printing dependencies twice.
3520 (bypass_hashtab): New variable.
3521 (do_include, open_control_file, record_control_macro): New convention:
3522 control_macro is "" if the file was imported or had #pragma once.
3523 (pragma_once_marker): Remove.
3524 (redundant_include_p, include_hash, lookup_include, lookup_import,
3525 add_import, file_size_and_mode): Remove; subsumed by open_include_file.
3526 (skip_redundant_dir_prefix): Remove; subsumed by simplify_filename.
3527 (is_system_include, read_name_map, remap_include_file):
3528 Assume arg is a directory prefix.
3529 (base_name, simplify_filename, remap_include_file,
3530 lookup_ino_include, new_include_prefix): New functions.
3531 (open_include_file): New arguments `importing' and `pinc'.
3532 Move filename mapping into new remap_include_file function.
3533 First try to find file by name in include_hashtab;
3534 if that doesn't work, open and fstat it and try to find it
3535 by inode and dev in include_ino_hashtab.
3536 (finclude): Get file status from inc->st instead of invoking fstat.
3537 Store inc into fp->inc so that record_control_macro doesn't
3538 need to do a table lookup.
3539 (finclude, record_control_macro): Accept struct include_file *
3540 instead of char * to identify include file. All callers changed.
3541 (check_precompiled): Get file status from new argument `st'.
3542 (do_pragma): Output at most one warning about #pragma implementation.
3543 Always return 0 instead of returning garbage sometimes.
3544 (do_pragma, hack_vms_include_specification):
3545 Use base_name for consistency, and remove redundant code.
3548 Unify the 3 separate mechanisms for avoiding processing
3549 of redundant include files: #import, #pragma once, and
3550 redundant_include_p to use a single more efficient data structure.
3551 (struct file_name_list): Remove no-longer needed field control_macro.
3552 (dont_repeat_files, all_include_files): Remove, no longer used.
3553 (struct import_file): Renmed to struct include_file, moved earlier
3554 in file, renamed field name to fname, and added control_macro field.
3555 (pragma_once_marker): New constant.
3556 (import_hash_table): Renamed to include_hash_table.
3557 (import_hash): Renamed to include_hash.
3558 (IMPORT_HASH_SIZE): Renamed to INCLUDE_HASH_SIZE.
3559 (main, path_include): Don't clear removed control_macro field.
3560 (lookup_include): New function - look up fname in include_hash_table.
3561 (redundant_include_p): Re-write to use lookup_include.
3562 (lookup_import, record_control_macro): Likewise.
3563 (add_import): Defer fstat to caller. Combine two xmallocs into one.
3564 (do_once): Use pragma_once_marker in include_hash_table.
3565 (do_pragma): Re-implement to scan include_hash_table.
3566 (do_include): Use new lookup_include and add_import.
3568 Sun Dec 17 06:45:43 1995 John F. Carr <jfc@mit.edu>
3570 * configure (savesrcdir): Do not create paths with trailing "/.".
3572 * combine.c (try_combine): When checking for two sets of the same
3573 register in a split insn, also test for setting a ZERO_EXTRACT,
3574 STRICT_LOW_PART, or SUBREG.
3576 Sun Dec 17 06:37:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3578 * reload.c (push_secondary_reload): Don't strip paradoxical SUBREG
3579 if reload_class is CLASS_CANNOT_CHANGE_SIZE.
3581 Sat Dec 16 18:24:20 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3583 * expr.c (expand_assignment): Fix alignment parm in emit_block_move.
3585 Sat Dec 16 18:16:08 1995 John Hassey (hassey@rtp.dg.com)
3587 * local-alloc.c (optimize_reg_copy_2): Don't attempt
3588 optimization if destination register dies.
3590 Sat Dec 16 08:31:16 1995 Paul Eggert <eggert@twinsun.com>
3592 * fold-const.c (fold): Don't record overflow when negating
3595 Sat Dec 16 07:45:11 1995 Gran Uddeborg (uddeborg@carmen.se)
3597 * configure (i[3456]-*-isc, gas, stabs): Remove crt* from extra_files
3599 Sat Dec 16 07:03:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
3601 * stor-layout.c (layout_record): When PCC_BITFIELD_TYPE_MATTERS,
3602 compute bitpos using field_size % type_align instead of field_size.
3604 * fixincludes (stdio.h): Fix return type of fread and fwrite
3607 Sat Dec 16 06:57:14 1995 Thomas Lundqvist (d0thomas@dtek.chalmers.se)
3609 * function.c (fixup_var_refs_1): Fix two incorrect calls to single_set.
3611 Fri Dec 15 22:30:27 1995 Torbjorn Granlund <tege@noisy.tmg.se>
3613 * i386.h (REGISTER_MOVE_COST): Simplify.
3615 Fri Dec 15 22:30:27 1995 Stan Cox <coxs@dg-rtp.dg.com>
3617 * i386.h (TARGET_CPU_DEFAULT*, PROCESSOR_*,
3618 TARGET_{LEAVE,386_ALIGNMENT,PUSH_MEMORY,ZERO_EXTEND_WITH_AND,
3619 DOUBLE_WITH_ADD,BIT_TEST}): New macros.
3620 * i386.c (ix86_cpu*, ix86_isa*): New global variables.
3621 (override_options): Add -mcpu and -misa support
3622 * i386.md: Use TARGET* macros.
3623 * i386/dgux.{c,h}: New files.
3624 * m88k/t-dgux: (GCC_FOR_TARGET, T_CFLAGS): New macros.
3625 * m88k/t-dguxbcs: New file.
3626 * m88k/x-{dgux,dguxbcs}: (GCC_FOR_TARGET, X_CFLAGS): Removed.
3628 Fri Dec 15 18:41:50 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
3630 * fixincludes (sys/wait.h): Add forward declaration of struct rusage
3633 Fri Dec 15 18:39:36 1995 Marco S Hyman (marc@dumbcat.sf.ca.us)
3635 * xm-bsd386.h (DONT_DECLARE_SYS_SIGLIST): Defined.
3637 Fri Dec 15 18:36:42 1995 Gran Uddeborg (uddeborg@carmen.se)
3639 * i386/svr3dbx.h (DO_GLOBAL_DTORS_BODY): Delete; obsolete.
3641 Fri Dec 15 18:21:34 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3643 * i386/i386iscgas.h, i386/t-iscscodbx: Deleted; long dead.
3645 Fri Dec 15 10:01:27 1995 Stan Cox <coxs@dg-rtp.dg.com>
3647 * configure (target_cpu_default) Set for 486/586/686
3648 (m88k-dg-dgux) Use t-dguxbcs instead of x-dguxbcs
3649 (i*86*) Change [345] to [3456]
3650 (i[3456]86-dg-dgux) Added
3651 * Makefile.in (out_object_file) Add MAYBE_TARGET_DEFAULT
3653 Fri Dec 15 08:05:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3655 * function.c (init_temp_slots): New function.
3656 (init_function_start): Code moved to new function and called here.
3657 * toplev.c (rest_of_compilation): Call init_temp_slots.
3659 * expmed.c (store_bit_field): Don't use insv for BLKmode value.
3660 (store_split_bit_field): Set total_bits to BITS_PER_FOR for
3663 Fri Dec 15 06:35:36 1995 David Edelsohn <edelsohn@mhpcc.edu>
3665 * xcoffout.h (DBX_STATIC_BLOCK_END): Use macro arguments.
3666 (xcoff_begin_function_line, xcoff_current_function_file): Remove
3667 unused extern declarations.
3668 (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Use macro argument.
3669 * xcoffout.c (xcoff_begin_function_line): Make static.
3670 (xcoff_inlining): Likewise.
3671 (xcoff_current_function_file): Likewise.
3672 (xcoff_output_standard_types): Remove TARGET_64BIT dependencies from
3673 int and unsigned int.
3675 Mon Oct 16 12:25:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
3677 * fix-header.c: Support different kinds of functions (ANSI and
3678 Posix1). Enable ANSI proptotypes if __STRICT_ANSI__.
3679 (namelist_end): Removed.
3680 (std_include_table): Divide up functions into kinds.
3681 (add_symbols): New function.
3682 (read_scanfile, write_rbrac, main): Use new data structures.
3684 Thu Dec 14 19:17:12 1995 Torbjorn Granlund <tege@noisy.tmg.se>
3686 * rs6000.md (umulsidi3): New pattern.
3688 Thu Dec 14 18:08:59 1995 Torbjorn Granlund <tege@noisy.tmg.se>
3690 * expmed.c (expand_divmod, case TRUNC_DIV_EXPR): Only reject
3691 larger-than-HOST_BITS_PER_WIDE_INT modes for general constants,
3692 not for powers-of-2.
3694 * i960.md (andsi3): Match op2 with logic_operand, change constraints
3695 accordingly. Output andnot for negative op2.
3696 (iorsi3, xorsi3): Analogous changes.
3697 * i960.c (logic_operand): New function.
3698 (i960_print_operand): Handle code `C'.
3699 * i960.h (PREDICATE_CODES): Add logic_operand.
3700 (CONST_OK_FOR_LETTER_P): Handle `M'.
3701 * i960.md: Move all plain logical patterns together.
3702 * i960.h (SHIFT_COUNT_TRUNCATED): Define as 0 as appropriate.
3704 * clipper.md (untyped_call): New pattern.
3706 * m68k.md (ashrsi_31): New pattern.
3708 Thu Dec 14 17:22:14 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
3710 * arm.c (output_move_double): Extract DFmode constants using
3711 REAL_VALUE_TO_TARGET_DOUBLE.
3713 Thu Dec 14 15:05:13 1995 Doug Evans <dje@cygnus.com>
3715 * Makefile.in (distclean): Delete float.h.
3716 * configure: Set CROSS_FLOAT_H from float_format.
3717 * config/float-i64.h: New file.
3718 * config/float-i32.h: New file.
3719 * config/float-vax.h: New file.
3720 * arm/cross-float.h: Delete.
3721 * arm/t-semi (CROSS_FLOAT_H): Delete.
3723 Wed Dec 13 19:16:57 1995 Mike Stump <mrs@cygnus.com>
3725 * expr.c (expand_expr, case ADDR_EXPR): Ensure op0 isn't QUEUED.
3727 Wed Dec 13 19:12:21 1995 Paul Eggert <eggert@twinsun.com>
3729 * gcc.c (my_strerror): Return "cannot access" if errno is 0.
3730 (perror_with_name, pfatal_with_name, perror_exec): Don't assume that
3731 the returned value from my_strerror contains no '%'s.
3732 (sys_nerr): Declare only if HAVE_STRERROR is not defined.
3734 Wed Dec 13 19:05:47 1995 Alan Modra (alan@spri.levels.unisa.edu.au)
3736 * Makefile.in (c-parse.y, objc-parse.y): Add warning that file is
3737 automatically generated.
3739 Wed Dec 13 15:40:30 1995 Mike Stump <mrs@cygnus.com>
3741 * function.c (identify_blocks): Start with chain of BLOCKs to match
3742 rest of backend (dbxout.c), instead of just one BLOCK.
3743 (reorder_blocks, all_blocks): Likewise.
3745 * stmt.c (find_loop_tree_blocks): Pass the toplevel list of
3746 blocks, not just the first subblock.
3748 Wed Dec 13 16:11:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3750 * expmed.c (expand_divmod): Don't use TARGET if it's the wrong mode.
3752 Wed Dec 13 15:02:39 1995 Ian Lance Taylor <ian@cygnus.com>
3754 * dbxout.c (struct typeinfo): Define.
3755 (typevec): Change to be struct typeinfo *. Change other uses as
3757 (struct dbx_file): Define if DBX_USE_BINCL.
3758 (current_file): New static variable if DBX_USE_BINCL.
3759 (next_file_number): Likewise.
3760 (dbxout_init): If DBX_USE_BINCL, initialize new variables.
3761 (dbxout_start_new_source_file): New function.
3762 (dbxout_resume_previous_source_file): New function.
3763 (dbxout_type_index): New function.
3764 (dbxout_range_type): Use dbxout_type_index.
3765 (dbxout_type): Likewise. If DBX_USE_BINCL, initialize new typevec
3767 * c-lex.c (check_newline): If DBX_DEBUGGING_INFO and write_symbols
3768 == DBX_DEBUG, call dbxout_start_new_source_file and
3769 dbxout_resume_previous_source_file when appropriate.
3770 * sparc/sunos4.h (DBX_USE_BINCL): Define.
3771 * svr4.h (DBX_USE_BINCL): Define.
3773 Wed Dec 13 06:52:40 1995 Michael Meissner <meissner@cygnus.com>
3775 * rs6000/win-nt.h (ASM_OUTPUT_EXTERNAL): Do not emit .extern for
3778 Tue Dec 12 15:37:48 1995 David Edelsohn <edelsohn@mhpcc.edu>
3780 * rs6000.c: Replace many uses of fprintf with putc and fputs.
3781 (output_function_profiler): Use more efficient mnemonics, target
3782 dependent mnemonics, asm_fprintf, and reg_names array.
3784 * rs6000.h: Replace many uses of fprintf with putc and fputs.
3786 * rs6000.h (INT_TYPE_SIZE): Remove TARGET_64BIT dependency.
3787 (MAX_INT_TYPE_SIZE): Delete.
3789 Tue Dec 12 13:58:57 1995 Doug Evans <dje@cygnus.com>
3791 * t-h8300 (MULTILIB_{OPTIONS,DIRNAMES}): Add -mint32 support.
3793 Sun Dec 10 18:51:21 1995 Torbjorn Granlund <tege@noisy.tmg.se>
3795 * rs6000.md (matcher for neg:SI (geu:SI ..)): Get ppc syntax right.
3797 Sun Dec 10 08:47:16 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3799 * combine.c (simplify_if_then_else): Convert "a == b ? b : a" to "a".
3801 * expr.c (expand_expr, case CONSTRUCTOR): If TREE_READONLY,
3802 set RTX_UNCHANGING_P in TARGET.
3803 (expand_expr, case COMPONENT_REF): If result is BLKmode,
3804 use that to access object too.
3806 Sun Dec 10 01:06:57 1995 Jeffrey A. Law <law@cygnus.com>
3808 * pa.md (millicode delay slot description): Remove reference
3809 to defunct TARGET_MILLICODE_LONG_CALLS.
3811 Sat Dec 9 18:05:03 1995 Jim Wilson <wilson@cygnus.com>
3813 * expr.c (expand_expr, case INDIRECT_REF): Correct typo in May 8
3816 * sh.h (ADDRESS_COST): Define.
3817 * sh.md (subsi3): Rename to subsi3_internal. Add new define_expand
3818 to handle subtracting a register from a constant.
3820 Fri Dec 8 19:17:30 1995 Mike Meissner <meissner@beauty.cygnus.com>
3822 * rs6000.c (input_operand): Allow any integer constant, not
3823 just integers that fit in 1 instruction.
3825 Fri Dec 8 10:45:07 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
3827 * arm/lib1funcs.asm (RET, RETCOND): Define according to whether we
3828 are compiling for 32 or 26 bit mode.
3829 (all return instructions): Use RET or RETCOND as appropriate.
3831 Wed Dec 6 06:58:23 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
3833 * arm.c (arm_gen_constant): New function.
3834 (arm_split_constant): Split most of the functionality into
3835 arm_gen_constant. Try to decide which way of handling the constant
3836 is optimal for the target processor.
3838 * arm.c (arm_prgmode): New enum.
3839 (target_{cpu,fpe}_name, arm_fast_multiply, arm_arch4): New variables.
3840 (all_procs): New table describing processors and capabilities.
3841 (arm_override_options): New function.
3842 (arm_return_in_memory): New function.
3843 (arm_rtx_costs): Adjust the multiply costs to cope with processors
3844 with fast multiplication instructions.
3845 (output_move_double): Use the ldm/stm variants more efficiently.
3846 Delete cases that can no-longer occur.
3847 (output_return_instruction, output_func_epilogue): Use TARGET_APCS_32,
3848 not TARGET_6 for determining the type of return instruction to emit.
3849 (final_prescan_insn case CALL_INSN): Use TARGET_APCS_32, not TARGET_6
3850 to determine condition preservation.
3851 * arm.h (CPP_SPEC): Add defines for the cpu type, hard or soft floating
3852 point, and the APCS PC size.
3853 (TARGET_*): Restructure.
3854 (ARM_FLAG_*): Many new definitions for different target options, not
3855 all of which are supported yet.
3856 (TARGET_SWITCHES): Use the ARM_FLAG_* definitions instead of explicit
3858 (prog_mode_type): New enum.
3859 (floating_point_type): Split emulated floating point into FP_SOFT[23].
3860 (OVERRIDE_OPTIONS): Call arm_override_options.
3861 (ARM_CPU_NAME): Default to NULL if not defined by a subtarget.
3862 (BYTES_BIG_ENDIAN): Can now be set as a compilation option.
3863 (RETURN_IN_MEMORY, DEFAULT_PCC_STRUCT_RETURN): New definitions.
3864 (GO_IF_LEGITIMATE_OFFSET): Use different HImode offsets if compiling
3865 for an architecture 4 target. The offsets for floating point
3866 constants are the same as for integers if compiling TARGET_SOFT_FLOAT.
3867 (GO_IF_LEGITIMATE_ADDRESS): Don't allow PRE_INC and POST_DEC if
3868 the size is more than 4 bytes. Restrict the range offsets for DImode;
3869 likewise for DFmode when TARGET_SOFT_FLOAT.
3870 (LEGITIMIZE_ADDRESS): Use symbol_mentioned_p, not LEGITIMATE_CONSTANT_P
3871 to determine if a constant address might be better in a register.
3872 Handle DFmode addresses in the same way as DImode if TARGET_SOFT_FLOAT.
3873 (LOAD_EXTEND_OP): If arm_arch4, then HImode also zero-extends.
3874 * arm.md (attributes): Rearrange order, so that condition clobbering
3875 can be automatically determined for call insns.
3876 (attribute cpu): Add new cpu ARM7.
3877 (attribute type): Add new type MULT.
3878 (attribute prog_mode): New attribute.
3879 (attribute conds): Clobbering of call insns can now be determined
3880 using prog_mode attribute.
3881 (function units "write_buf", "write_blockage"): Model the write buffer
3882 as two function units, so that conflicts are avoided more often.
3883 (function unit "core"): New function unit, so that elapsed cycles can
3884 be more accurately determined.
3885 (all anonymous patterns): Add names.
3886 (mulsidi3, umulsidi3): New patterns available with fast multiply
3888 (all call insns): The conds attribute is now determined automatically.
3889 (zero_extendhisi): Expand for architecture 4 variants if appropriate.
3890 (*zero_extendhisi_insn): New pattern.
3891 (extendqi{hi,si}, extendhisi): Expand for architecture 4 variants if
3893 (*extendhisi_insn, *extendqihi, *extendqisi): New patterns.
3894 (storehi_single_op): New expand.
3895 (movhi): Handle architecture 4 expansion.
3896 (*movhi_insn_arch4): New pattern.
3897 (*movhi_*): Adjust applicability conditions to handle architecture 4.
3898 (reload_outdf): Handle pre/post inc/dec reloads.
3899 (tablejump): Delete.
3900 (matcher for optimized tablejump): delete.
3901 (casesi): New expand.
3902 (casesi_internal): New pattern.
3903 * semi.h (EXIT_BODY): Delete.
3904 (TARGET_DEFAULT): Set to ARM_FLAG_APCS_32.
3906 arm/cross-float.h: New file, used when building a cross-compiler.
3907 * t-semi: Don't define inhibit_libc when building libgcc2.a.
3908 (CROSS_FLOAT_H): Define.
3910 * arm.c ({symbol,label}_mentioned_p): New functions.
3911 (add_constant, dump_table, fixit, find_barrier, broken_move): New
3912 support functions for handling constant spilling.
3913 (arm_reorg): New constant spilling pass, for putting unhandlable
3914 constants into the rtl where we can load them efficiently.
3915 (output_load_symbol): Delete.
3916 * arm.h (SECONDARY_OUTPUT_RELOAD_CLASS): No need to handle floating
3917 point constants any more, since arm_reorg will deal with them.
3918 (LEGITIMATE_CONSTANT_P): Is now anything that doesn't contain a
3920 (GO_IF_LEGITIMATE_ADDRESS): Recognize address expressions generated
3921 by arm_reorg, but only after reload has completed.
3922 (MACHINE_DEPENDENT_REORG): Define.
3923 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): There should be nothing left in
3924 the pool, even if it might look like it.
3925 * arm.md (*movsi_insn): Much simpified now that constants are handled
3927 (movaddr): New expand.
3928 (movsf, movdf): No need to force constants into the pool any more.
3929 (*movdf_hard_insn): Much simplified.
3930 (consttable_4, consttable_8, consttable_end, align_4): New patterns
3931 for supporting embedded constants.
3933 * configure: New target arm-semi-aof.
3934 * arm.c (strings_fpa): Use a form which is common to both GAS and
3936 (output_return_instruction, output_func_epilogue): Call
3937 assemble_external_libcall, before trying to generate an abort call
3939 (arm_asm_output_label): Call ARM_OUTPUT_LABEL, rather than assuming
3940 that labels are followed by a colon.
3941 (aof_text_section, aof_add_import, aof_delete_import,
3942 aof_dump_imports): New functions to support ARMASM assembler
3944 * arm/aout.h: New file.
3945 * arm/aof.h: New file.
3946 * arm.h (most assembler-specific defines): Move to arm/aout.h.
3947 (CONSTANT_ADDRESS_P): Can't directly access constant strings when
3948 generating assembler for ARMASM.
3949 (ENCODE_SECTION_INFO): Don't define if generating ARMASM assembler.
3950 (ASM_OUTPUT_INTERNAL_LABEL): Generalize, so that it can be used
3951 with all targeted assemblers.
3952 (ASM_OUTPUT_LABEL): Call arm_asm_output_label.
3953 * riscix.h: Include arm/aout.h, not arm/arm.h.
3954 * riscix1-1.h: Likewise.
3956 * arm/semiaof.h: New file.
3957 * arm/t-semiaof: New file.
3959 Mon Dec 4 22:17:37 1995 Jason Merrill <jason@yorick.cygnus.com>
3961 * gcc.c (LIBGCC_SPEC): Do link with libgcc when -shared.
3962 * alpha.h (LIBGCC_SPEC): Remove.
3963 * linux.h (LIBGCC_SPEC): Remove.
3964 * svr4.h (LIBGCC_SPEC): Remove.
3965 * i386/t-crtpic (TARGET_LIBGCC2_CFLAGS): Use -fPIC.
3966 * t-pa (TARGET_LIBGCC2_CFLAGS): Use -fPIC.
3967 * sparc/t-sunos41 (TARGET_LIBGCC2_CFLAGS): Use -fPIC.
3968 * sparc/t-sol2 (TARGET_LIBGCC2_CFLAGS): Use -fPIC.
3969 * configure (i386-linux): Use i386/t-crtpic.
3971 * i386/xm-sco.h: #define NO_SYS_SIGLIST.
3973 Mon Dec 4 21:30:37 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
3975 * sh.c (shiftcosts): For SH3, max cost of arithmetic right shift is 3.
3976 (expand_ashiftrt): For SH3, if shift cost is more than 3, then
3977 call gen_ashrsi3_d to use shad instruction.
3979 Mon Dec 4 18:29:08 1995 Jason Merrill <jason@yorick.cygnus.com>
3981 * c-decl.c (finish_struct): Don't mess with the type of bitfields.
3983 Mon Dec 4 15:28:02 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
3985 * expr.c (store_constructor, record): If field is READONLY,
3986 set RTX_UNCHANGING_P in TO_RTX.
3988 Mon Dec 4 12:59:33 1995 Ian Lance Taylor <ian@cygnus.com>
3990 * sparc/t-sol2 (CRTSTUFF_T_CFLAGS): Use -fPIC unconditionally.
3992 Sun Dec 3 20:55:43 1995 Jeffrey A. Law <law@cygnus.com>
3994 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Handle arbitrary sections.
3995 (ASM_OUTPUT_SECTION_NAME): Define.
3997 Sat Dec 2 22:19:16 1995 Jeffrey A. Law (law@cygnus.com)
3999 * pa.h: Replace many uses of fprintf with fputs.
4001 * pa-pro.h: Likewise.
4003 * pa.h (SECONDARY_RELOAD_CLASS): Don't call secondary_reload_class
4004 to handle trivial cases.
4005 * pa.c (secondary_reload_class): Rework to be more efficient.
4007 Sat Dec 2 07:52:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4009 * rs6000.md (movsi): Don't split large constants in the
4010 movsi pattern, let the define_split split it later as needed.
4012 Fri Dec 1 16:00:42 1995 Brendan Kehoe <brendan@cygnus.com>
4014 * sparc.c (output_double_int): Handle CODE_LABEL's if v9.
4016 Fri Dec 1 09:13:23 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4018 * m68k.md (decrement_and_branch_until_zero): Split into a
4019 define_expand and an anonymous define_insn.
4020 * fx80.md (decrement_and_branch_until_zero): Ditto.
4021 * m88k.md (decrement_and_branch_until_zero): Ditto.
4023 Thu Nov 30 15:02:16 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
4025 * sh.c (noncall_uses_reg): New function.
4026 (machine_dependent_reorg): Add support for TARGET_RELAX.
4027 (final_prescan_insn): Likewise.
4028 * sh.h (ASM_SPEC, LINK_SPEC): Pass on -mrelax.
4029 (RELAX_BIT, TARGET_RELAX): New macros.
4030 (TARGET_SWITCHES): Add -mrelax.
4032 * sh.c (insn-attr.h): Include.
4033 (pragma_nosave_low_regs): New global variable.
4034 (calc_live_regs): If SH3 and pragma_nosave_low_regs, then don't
4035 save registers r0 through r7 for interrupt functions.
4036 (function_epilogue): Clear pragma_nosave_low_regs.
4037 (handle_pragma): Set pragma_nosave_low_regs if see pragma for it.
4039 * sh.h (FUNCTION_PROFILER): Use trap #33 instead of trap #5.
4040 Put additional .align before trapa instruction.
4042 Thu Nov 30 14:45:13 1995 Doug Evans <dje@canuck.cygnus.com>
4044 * sparc.md (seqdi_special_trunc, snedi_special_trunc,
4045 seqsi_special_extend, snesi_special_extend): Delete uses of SUBREG.
4046 Make compare modes match modes of operands.
4047 (snesi_zero_extend, snedi_zero_trunc_sp32, snedi_zero_trunc_sp64,
4048 seqsi_zero_extend, seqdi_zero_trunc_sp32, seqdi_zero_trunc_sp64):
4051 Thu Nov 30 12:27:22 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4053 * genmultilib: Take a 4th argument that says are the exceptions to
4054 the multilibs, so illegal combinations can be eliminated.
4056 * Makefile.in (multilib.h): Pass $(MULILIB_EXCEPTIONS) as the 4th
4057 argument to genmultilib.
4059 * configure (powerpc*): Remove little endian and eabiaix versions
4060 of the t-* files. Accept powerpc{,le}-*-sysv in addition to
4062 (powerpc{,le}-*-eabisim): Use standard t-eabigas instead of
4064 (powerpcle-*-{winnt3,pe}): Add support for Windows NT on PowerPC.
4065 * rs6000/t-{eabiaix,eabisim,eabilegas,ppclegas}: Delete.
4067 * rs6000/{t-winnt,win-nt.h}: New files for PowerPC Windows NT.
4069 * ginclude/ppc-asm.h: New file to provide common macros for the
4070 various PowerPC calling sequences.
4071 * rs6000/eabi.asm: Use ppc-asm.h.
4073 * rs6000/aix3newas.h (CPP_SPEC): Add support for -mcpu=603e, 602,
4075 * rs6000/{aix41,powerpc,rs6000,eabi{aix,le}}.h (CPP_SPEC): Ditto.
4076 * rs6000/sysv4{,le}.h (CPP_SPEC): Ditto.
4078 * rs6000/aix3newas.h (LINK_SPEC): If cross compiling, don't use
4080 * rs6000/{aix41,aixppc,rs6000}.h (LINK_SPEC): Ditto.
4082 * rs6000/eabi.h (INVOKE__main): Don't define any more.
4083 (ASM_OUTPUT_INT): Move to sysv4.h.
4084 ({STARTFILE,LIB}_SPEC): If -msim or -mmvme add the appropriate
4087 * rs6000/{eabiaix,eabile,sysv4{,le}}.h (CPP_SPEC): Add support for
4088 -mcall-{aixdesc,nt} directives.
4089 (MULTILIB_DEFAULTS): Define.
4091 * rs6000/eabi{,le}sim.h (TARGET_DEFAULT, CPP_SPEC): No longer
4092 define, simulator supports floating point.
4093 ({STARTFILE,LIB}_SPEC): If -mvme, use mvme libraries, not
4094 simulator libraries.
4096 * rs6000/{mach,netware}.h (TARGET_AIX): Define as 0.
4098 * rs6000/netware.h (RS6000_OUTPUT_BASENAME): Don't redefine
4100 (STRIP_NAME_ENCODING): Undef.
4102 * rs6000.c (rs6000_save_toc_p, rs6000_abi): New globals.
4103 (rs6000_override_options): Add 602, 603e, and 620 support.
4104 (count_register_operand): New function to return true if operand
4105 is the count register.
4106 (easy_fp_constant): All constants are easy if -msoft-float.
4107 (volatile_mem_operand): New function to return true if operand is
4109 ({fp_,}reg_or_mem_operand): Call volatile_mem_operand.
4110 (input_operand): Allow support for Windows NT loading SYMBOL_REFs
4111 and LABEL_REFs from the TOC.
4112 (function_arg_boundary): On Windows NT, any argument >= 8 bytes
4113 must be double word aligned.
4114 (function_arg{_advance,}): Call function_arg_boundary to determine
4115 if we need to align to an odd register for large arguments.
4116 Changes to accomidate new method of determining which ABI we're
4118 (expand_block_move_mem): Copy RTX_UNCHANGING_P, and if
4119 MEM_UNALIGNED_P is defined, copy that too.
4120 (expand_block_move): Copy dest/src to registers using
4122 (print_operand): Changes to accomidate Windows NT.
4123 (first_reg_to_save): Ditto.
4124 (rs6000_stack_info): Ditto.
4125 (debug_stack_info): Ditto.
4126 (output_{prolog,epilog,toc,function_profiler}): Ditto.
4127 (rs6000_stack_info): Save main's arguments around __eabi call.
4128 (svr4_traceback): Delete, current V.4 ABI no longer wants
4129 tracebacks in this format.
4130 (output_prolog): Call __eabi here, saving and restoring main's
4131 args if needed. Save the toc pointer if needed.
4132 (get_issue_rate): New function to return # of instructions a
4133 machine can issue at once.
4134 (rs6000_sync_trampoline): Emit instructions to synchronize the
4135 PowerPC caches after a trampoline.
4136 (rs6000_trampoline_{template,size}): New functions to provide
4137 common trampoline support for all ABI's.
4138 (rs6000_initialize_trampoline): Ditto.
4140 * rs6000.h (TARGET_{WINDOWS_NT,AIX,MACOS}): Define.
4141 (processor_type): Add 602.
4142 (PROCESSOR_COMMON): Assume current processor is a 604, not a 601.
4143 (SUBTARGET_OPTIONS): Define if not defined.
4144 (TARGET_OPTIONS): Include SUBTARGET_OPTIONS.
4145 (COUNT_REGISTER_REGNUM): Define as 66.
4146 (EXTRA_CONTRAINT): Add 'S' and 'T' for Windows NT.
4147 (rs6000_abi): Add ABI_AIX_NODESC, ABI_NT.
4148 (DEFAULT_ABI): Define if not defined.
4149 (rs6000_stack): Add fields for Windows NT support.
4150 (RS6000_SAVE_TOC): Add for Windows NT support.
4151 (FUNCTION_ARG_BOUNDARY): Call function_arg_boundary.
4152 (trampoline macros): Call trampoline functions in rs6000.c.
4153 (RETURN_ADDRESS_OFFSET): Add Windows NT support.
4154 (toc_section): Skip leading '*'.
4155 (PREDICATE_CODES): Add volatile_mem_operand,
4156 count_register_operand.
4157 (MACHINE_issue_rate): Define.
4158 (function decls): Add new function decls from rs6000.c.
4160 * rs6000.md (cpu attribute): Add 602.
4161 (function units): Update to match reality better.
4162 (calls through pointer): Rework to support Windows NT.
4163 (movsi): Add Windows NT support.
4164 (movstrsi): Remove match_operand predicates, since
4165 expand_block_move does the checking.
4166 (sync_isync): Delete.
4167 (icbi, dcbst, sync, isync): New insns to generate named instruction
4168 for making trampolines on eabi/V.4 properly flush the caches.
4169 (decrement_and_branch_on_count): Rename from
4170 decrement_and_branchsi. Add update of count in insn pattern.
4172 * rs6000/sysv4.h (TARGET_SWITCHES): Drop -mtraceback. Keep
4173 -mno-traceback but don't do anything with it. Add
4174 -mcalls-{nt,aixdesc}. Add -m{,no-}relocatable-lib. Add -msim,
4176 (TARGET_TOC): Update for use with -mcalls-{nt,aixdesc}.
4177 (SUBTARGET_OVERRIDE_OPTIONS): Update for new switches.
4178 (RS6000_OUTPUT_BASENAME): Delete.
4179 (toc_section): Add support for -mcall-{nt,aixdesc}.
4180 (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Ditto.
4181 (ASM_DECLARE_FUNCTION_NAME): Use STRIP_NAME_ENCODING instead of
4182 RS6000_OUTPUT_BASENAME. For -mcall-{nt,aixdesc} emit the proper
4183 function descriptor.
4184 (ASM_SPEC): Pass appropriate -mxxx switches to the assembler based
4185 on the -mcpu=xxx options.
4186 (ASM_OUTPUT_INT): Move here from eabi.h.
4187 (ENCODE_SECTION_INFO): If -mcall-{nt,aixdesc} add appropriate magic
4188 so function name has two or one leading periods.
4189 (ASM_OUTPUT_SOURCE_LINE): Delete, use version in svr4.h.
4190 (trampoline macros): Call trampoline functions in rs6000.c.
4192 * t-{eabi,ppc}{,gas} (EXTRA_HEADERS): Add ginclude/ppc-asm.h.
4193 (LIB2FUNCS_EXTRA): Depend on eabi.S, not eabi.s.
4194 (eabi.S): Rename from eabi.asm.
4196 * t-{eabi,ppc}gas (MULTILIB_*): Add -mcall-aixdesc libraries, but
4197 don't build either little endian or -mrelocatable versions of
4200 Tue Nov 28 00:10:27 1995 David Edelsohn <edelsohn@mhpcc.edu>
4202 * rs6000.md (divsi3): Reorder so common mode does not negate
4203 power-of-2 shift optimization.
4205 Wed Nov 29 22:06:11 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4207 * configure (sparc-*-solaris2*): Add gcrt1.o to extra_parts.
4208 * sparc/sol2.h (STARTFILE_SPEC): Link with gcrt1.o with -pg.
4209 * sparc/sol2-g1.asm: New file, startup code for profiled
4211 * sparc/t-sol2: Add make rule for gcrt1.o.
4212 * sparc/gmon-sol2.c (_mcleanup): Add support for PROFDIR
4213 environment variable.
4215 Wed Nov 29 21:41:13 1995 Ian Lance Taylor <ian@cygnus.com>
4217 * mips/abi64.h (CPP_SPEC): If -msingle-float and not
4218 -msoft-float, pass -D__mips_single_float. Likewise for -m4650 and
4220 * mips/dec-bsd.h (CPP_SPEC): Likewise.
4221 * mips/dec-osf1.h (CPP_SPEC): Likewise.
4222 * mips/elf64.h (CPP_SPEC): Likewise.
4223 * mips/iris3.h (CPP_SPEC): Likewise.
4224 * mips/iris5.h (CPP_SPEC): Likewise.
4225 * mips/mips.h (CPP_SPEC): Likewise.
4226 * mips/netbsd.h (CPP_SPEC): Likewise.
4227 * mips/osfrose.h (CPP_SPEC): Likewise.
4228 * mips/t-ecoff (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
4229 MULTILIB_MATCHES): Add -msingle-float support.
4231 Wed Nov 29 17:57:48 1995 Doug Evans <dje@cygnus.com>
4233 * toplev.c (main): Invoke OPTIMIZATION_OPTIONS after target_flags
4234 has been initialized so sets of target_flags aren't clobbered.
4236 * cccp.c (do_include): Recognize c:\foo as absolute path name in DOS.
4238 * svr4.h (MD_EXEC_PREFIX): Don't use if cross compiling.
4239 (MD_STARTFILE_PREFIX): Likewise.
4240 (LINK_SPEC): Don't use absolute path names if cross compiling.
4241 * svr3.h (LIB_SPEC): Likewise.
4243 * gcc.c (do_spec_1): Fix typos in version calculation.
4245 Wed Nov 29 14:06:13 1995 Jim Wilson <wilson@cygnus.com>
4247 * sh.md (ashrsi3_d): Use %0 not %1 in output pattern.
4249 * svr4.h (MAX_OFILE_ALIGNMENT): Define.
4251 * mips/iris5.h (WORD_SWITCH_TAKES_ARG): Define.
4252 (LINK_SPEC): Add rpath.
4253 * mips/iris6.h (LINK_SPEC): Likewise.
4255 * stupid.c (stupid_mark_regs): For hard registers, use regno+j
4256 instead of just regno in MARK_LIVE_AFTER and SET_HARD_REG_BIT calls.
4258 * c-common.c (combine_strings): Add support for WCHAR_TYPE as short.
4260 Wed Nov 29 13:59:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4262 * c-decl.c (duplicate_decls): Add new parameter different_binding_level.
4263 Lots of changes to use new new parameter.
4264 (pushdecl): Delete variable declared_global. New variable
4265 different_binding_level and code to set it. Move extern/static
4266 warning before duplicate_decls call. Don't let global typedefs
4267 conflict with nested extern declarations. Move oldglobal test
4268 inside code for setting IDENTIFIER_LIMBO_VALUE.
4269 (lookup_name_current_level_global): Delete.
4270 * c-tree.h (merge_attributes): New declaration.
4271 * c-typeck.c (merge_attributes): New function. Move code from
4272 common_type to here.
4273 (common_type): Call merge_attributes instead of having inline code.
4274 * integrate.c (integrate_decl_tree): Delete variable newd.
4275 Always set DECL_ABSTRACT_ORIGIN before calling pushdecl.
4277 Tue Nov 28 21:57:04 1995 Jim Wilson <wilson@cygnus.com>
4279 * mips.c (mips_function_value): Add check for i > 0 when deciding
4280 if structure should be return in FP registers.
4282 Tue Nov 28 12:47:52 1995 Jeffrey A. Law <law@cygnus.com>
4284 * pa.md (define split for (plus (reg) (large_constant)): Try
4285 another way to handle this with only 2 insns. From Tege.
4287 Mon Nov 27 02:05:18 1995 Jeffrey A. Law <law@cygnus.com>
4289 * lib1funcs.asm, pa-pro.h, t-pro.h, xm-papro.h: New PA
4291 * configure (hppa*-*-pro*): Use new target files.
4293 * toplev.c (rest_of_compilation): Always call jump_optimize
4296 * pa.h (ASM_OUTPUT_EXTERNAL): Don't let assemble_name clobber
4297 the value of TREE_SYMBOL_REFERENCED.
4299 * pa-ghpux9.h (LINK_SPEC): Pass "-z" to the linker to enable
4300 trap on null pointer dereference for programs built on hpux9.
4301 * pa-hpux9.h, pa1-ghpux9.h, pa1-hpux9.h: Likewise.
4303 * pa.c (output_function_prologue): No longer need to keep
4304 track of the total number code bytes when TARGET_GAS &&
4305 not TARGET_PORTABLE_RUNTIME.
4306 * pa.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use .NSUBSPA when
4307 not TARGET_PORTABLE_RUNTIME.
4308 (ASM_OUTPUT_FUNCTION_PREFIX): Define. Prefix functions with
4309 .NSUBSPA when TARGET_GAS and not TARGET_PORTABLE_RUNTIME.
4311 * pa.md (symbolic high patterns): Use 'H' to print the symbolic
4312 address so that the constant part gets rounded.
4313 * pa.c (print_operand): Handle 'H' operand for high part of a
4314 symbolic address with a rounded constant.
4315 (output_global_address): New argument "rounded_constant". All
4316 callers changed appropriately.
4318 * x-pa-hpux (FIXPROTO_DEFINES): Add -D_HPUX_SOURCE.
4320 * pa.h (CPP_SPEC): Only pass -D_HPUX_SOURCE and -D_HIUX_SOURCE if
4321 -ansi is not present.
4322 (CPP_PREDEFINES): Remove -D_HPUX_SOURCE and/or -D_HIUX_SOURCE.
4323 * pa-ghiux.h (CPP_PREDEFINES): Likewise.
4324 * pa-gux7.h (CPP_PREDEFINES): Likewise.
4325 * pa-hiux.h (CPP_PREDEFINES): Likewise.
4326 * pa-hpux.h (CPP_PREDEFINES): Likewise.
4327 * pa-hpux7.h (CPP_PREDEFINES): Likewise.
4328 * pa1-ghiux.h (CPP_PREDEFINES): Likewise.
4329 * pa1-hiux.h (CPP_PREDEFINES): Likewise.
4331 * pa-hpux.h (LINK_SPEC): If -mlinker-opt, then pass -O to the
4333 * pa-ghpux.h, pa-hpux9.h, pa-ghpux9.h: Likewise.
4334 * pa1-ghpux9.h, pa1-hpux9.h: Likewise.
4335 * pa.h (LINK_SPEC): Likewise.
4336 (TARGET_SWITCHES): Add -mlinker-opt.
4338 * pa.md (all peepholes): Disable if TARGET_SOFT_FLOAT.
4340 * pa.c (pa_reorg): If TARGET_GAS, then emit insns to mark
4341 the beginning and end of the branch table.
4342 * pa.md (begin_brtab): New insn. Just a marker so GCC knows
4343 where to put the .begin_brtab pseudo-op.
4344 (end_brtab): Similarly.
4346 * pa.h (EXTRA_SECTIONS): Add in_ctors and in_dtors if
4347 CTORS_SECTION_FUNCTION is defined. Else define dummy
4348 versions of CTORS_SECTION_FUNCTION and DTORS_SECTION_FUNCTION.
4349 (EXTRA_SECTION_FUNCTIONS): Add CTORS_SECTION_FUNCTION and
4350 DTORS_SECTION_FUNCTION.
4352 * pa.md: Add peepholes to improve spill code generated
4353 by reload when we run out of FP registers.
4355 * xm-pa.h: Remove spurious double-quote.
4357 * pa.md (call expanders): For indirect calls, load %r22 with the
4359 (indirect call patterns): No need to copy the call address into
4362 * pa.c (output_cbranch): Fix buglet in length handling of
4363 backwards branches with unfilled delay slots.
4364 (output_bb, output_bvb, output_dbra, output_movb): Likewise.
4366 * pa.md: Fix off-by-one error in length computations for all
4367 conditional branch patterns.
4369 * pa.h (output_bvb): Declare.
4370 * pa.c (output_bvb): New function to output branch on variable
4372 * pa.md (branch-on-variable-bit): New patterns.
4374 * pa.h (TARGET_MILLICODE_LONG_CALLS): Delete swtich and all
4376 (output_millicode_call): Declare new function
4377 * pa.md (millicode calls): Update length computation to handle
4378 variable length millicode calls.
4379 (call pattners): Likewise.
4380 (indirect call patterns): Update length compuations and output
4381 templates to handle variable length millicode calls.
4382 (plabel_dereference): Likewise.
4383 * pa.c (override_options): Give warnings when incompatable
4385 (output_mul_insn): Call output_millicode_call instead of
4386 output_call, eliminate last argument to output_millicode_call.
4387 (output_div_insn): Likewise.
4388 (output_mod_insn): Likewise.
4389 (output_call): Rewrite long call code to handle variable length
4390 millicode calls. Eliminate support for calling mul, div and mod
4392 (output_millicode_call): New function for calling mul, div and mod
4395 * pa.md (abssi2): New pattern.
4397 * pa.c (secondary_reload_class): Loads from reg+d addresses into
4398 FP registers don't need secondary reloads.
4399 * pa.h: Delete soem #if 0 code. Update some comments.
4400 (EXTRA_CONSTRAINT, case 'Q'): Only accept valid memory addresses.
4402 * pa.h (RTX_COSTS): Tege's rewrite.
4404 * pa.c (hppa_legitimize_address): Generate unscaled indexed
4405 addressing for (plus (symbol_ref) (reg)).
4406 (emit_move_sequence): Set REGNO_POINTER_FLAG appropriately
4407 to encourage unscaled indexing modes.
4408 (basereg_operand): New function for unscaled index address support.
4409 * pa.md (unscaled indexing patterns): New patterns for unscaled
4410 index address support.
4412 * pa.h (MOVE_RATIO): Define.
4413 * pa.md (movstrsi expander): Refine tests for when to use the
4414 library routine instead of an inlined loop copy. Provide an
4415 additional scratch register for use in the inlined loop copy.
4416 (movstrsi_internal): Name the pattern for ease of use. Add
4417 additional scratch register.
4418 * pa.c (output_block_move): Greatly simplify. Use 2X unrolled
4419 copy loops to improve performance.
4420 (compute_movstrsi_length): Corresponding changes.
4422 * pa.c (print_operand): Handle 'y' case for reversed FP
4423 comparisons. Delete some #if 0 code. Fix various comment typos.
4424 * pa.md (fcmp patterns): Try and reverse the comparison to avoid
4425 useless add,tr insns.
4427 Sun Nov 26 14:47:42 1995 Richard Kenner <kenner@mole.gnu.ai.mit.edu>
4429 * Version 2.7.2 released.
4431 * function.c (fixup_var_refs_1): Make pseudo for DEST
4432 in PROMOTED_MODE unless in a SUBREG.
4434 * cse.c (insert): Don't put a REG into qty_const.
4436 * msdos/top.sed: Change version to 2.7.2.
4437 * winnt/config-nt.sed: Likewise.
4439 Sun Nov 26 14:41:49 1995 Douglas Rupp (drupp@cs.washington.edu)
4441 * Makefile.in (stamp-objlist): Change .o to $objext.
4443 * alpha/win-nt.h (CPP_PREDEFINES): Set __unaligned and __stdcall
4445 (ASM_SPEC): Add a translation for -g to -Zi.
4446 * winnt/ld.c (main): Don't pass -g to link.
4447 * winnt/oldnames.c: Reformat and add some new functions for gnat1.
4448 * winnt/win-nt.h (LINK_SPEC): Pass -g to ld.exe.
4449 Increase default stack size.
4450 * configure ({alpha-dec,i386-ibm}-winnt3.5): Add oldnames.o
4452 * libgcc2.c (trampoline): Add getpagesize and mprotect for WINNT.
4454 Sun Nov 26 14:25:26 1995 Uwe Seimet (seimet@chemie.uni-kl.de)
4456 * atari.h (FUNCTION_VALUE): Deleted; incorrect.
4458 Sun Nov 26 14:23:03 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
4460 * fixincludes (curses.h): Allow space or tab after bool keyword,
4461 instead of tab or tab.
4463 Sun Nov 26 14:14:11 1995 Oliver Kellogg (oliver.kellogg@space.otn.dasa.de)
4465 * 1750a.md (pattern for HImode PSHM): Corrected.
4466 (trunchiqi2, zero_extendqihi2, extendhftqf2): Corrected.
4467 (pattern for movhi of CONST_INT to REG): Corrected.
4468 (divmodqi pattern for DISN): Corrected.
4469 (all shift patterns): Corrected.
4471 * 1750a.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Corrected.
4472 (ASM_OUTPUT_[datatype]): Corrected datalbl[].size computation
4473 for output of arrays.
4475 Sun Nov 26 14:08:57 1995 Dave Love <d.love@dl.ac.uk>
4477 * mips/iris5.h (NO_IMPLICIT_EXTERN_C): Define this again so
4478 that unistd.h doesn't get badly `fixed' for C++. libg++ will now
4479 build with this definition.
4481 Sun Nov 26 14:02:43 1995 Robert E. Brown (brown@grettir.bibliotech.com)
4483 * configure: Better workaround for Nextstep bug.
4485 Sun Nov 26 13:55:07 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
4487 * rs6000.md (load_multiple matcher): Fix typo in opcode.
4489 Sun Nov 26 13:51:08 1995 Lee Iverson <leei@Canada.AI.SRI.COM>
4491 * final.c (final_start_function): Move call to sdbout_begin_function
4492 back to final_scan_insn on MIPS systems so parameter descriptions are
4495 Sun Nov 26 13:43:06 1995 DJ Delorie (dj@delorie.com)
4497 * msdos/top.sed: Don't insert "go32".
4499 Sun Nov 26 12:08:23 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4501 * combine.c (nonzero_bits, case REG): Put POINTERS_EXTEND_UNSIGNED
4502 code before stack pointer code. Return nonzero at end of stack
4505 * sparc.h (PRINT_OPERAND_ADDRESS): Handle CONST inside PLUS.
4507 * Makefile.in (cppalloc.o): Add a rule to build it.
4509 * alpha.c (alpha_emit_set_const): Don't output SImode sequences
4510 that rely on invisible overflow. Sign extend new when SImode.
4511 Don't recur if new == c. Don't allow shift outside mode. Make
4512 logical right shift be unsigned.
4514 Sun Nov 26 11:37:50 1995 Arne H. Juul (arnej@idt.unit.no)
4516 * Makefile.in (compare*): Add "|| true" to avoid spurious
4517 failure messages from some versions of make.
4519 Sun Nov 26 11:20:09 1995 Dmitry K. Butskoy (buc@stu.spb.su)
4521 * expr.c (truthvalue_conversion): Add declaration.
4523 Sun Nov 12 18:09:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4525 * Version 2.7.1 released.
4527 * function.c (put_reg_into_stack): New arg volatile_p.
4528 (put_var_into_stack): Call with new arg.
4530 Sat Nov 11 08:25:34 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4532 * reload.c (output.h): Include it.
4533 * Makefile.in (reload.o): Add dependence on output.h.
4535 Thu Nov 9 11:24:20 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4537 * mips.h (HARD_REGNO_NREGS): If FP_REG_P, always use UNITS_PER_FPREG
4538 to calculate number of words needed.
4540 Thu Nov 9 11:04:50 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de)
4542 * 1750a.md (cmphf): Addd Base Reg with Offset address mode (LB,STB,..)
4543 (movqi,movhi,movhf,addqi3,addhf3,subqi3,subhf3,mulqihi3): Likewise.
4544 (mulhf3,divhf3,andqi3,iorqi3): Likewise.
4545 (define_peephole): Remove the Base mode peepholes. Replace the
4546 special addqi define_insn for "LIM Ra,sym,Rb" by a define_peephole.
4547 (ashlqi3): Took out futile 0th alternative.
4548 (lshrqi3, lshrhi3, ashrqi3, ahsrhi3): Correct case of non-constant
4551 * 1750a.h (REG_ALLOC_ORDER): Define.
4552 (REGNO_OK_FOR_BASE_P): Include stack pointer in test against
4553 reg_renumber[REGNO].
4554 (ASM_OUTPUT_DESTRUCTOR): Remove bogus assembler comment.
4556 Thu Nov 9 11:01:33 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4558 * expr.c (expand_expr, case ARRAY_REF): Properly convert types
4559 of index, size, and multiplication.
4561 Wed Nov 8 09:00:22 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
4563 * arm.md (mov*cc_{,soft_}insn): Use match_operator to test the
4564 comparison and check that the condition code register is used.
4566 Wed Nov 8 08:49:35 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4568 * rs6000/sysv4.h (ASM_OUTPUT_{CONSTRUCTOR,DESTRUCTOR}): Undef before
4571 Tue Nov 7 10:58:12 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
4573 * m68k.md (subxf3): Properly name pattern.
4575 Tue Nov 7 10:53:09 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4577 * libgcc2.c (__{C,D}TOR_LIST): For AIX, initialize these arrays to
4578 0,0, just like NeXT to avoid a warning message from the AIX 4.1
4581 Tue Nov 7 09:58:34 1995 John F. Carr <jfc@mit.edu>
4583 * cppexp.c (cpp_lex): Correctly parse character constants.
4585 Tue Nov 7 09:52:15 1995 Jason Merrill <jason@yorick.cygnus.com>
4587 * rs6000.h (ASM_OUTPUT_{DES,CONS}TRUCTOR): Define.
4589 Mon Nov 6 10:27:15 1995 Doug Evans <dje@cygnus.com>
4591 * combine.c (force_to_mode): Fix typo.
4593 Sun Nov 5 18:37:02 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
4595 * m68k.md (cmpxf): Don't call force_const_mem, it looses for PIC;
4596 get predicates right instead. Get rid of separate DEFINE_EXPAND.
4597 (addxf3, subxf3, mulxf3, divxf3): Likewise.
4598 (All XFmode patterns): Delete `F' and `G' constraints.
4599 (absxf2, negxf2): Delete spurious condition on TARGET_FPA.
4601 Sun Nov 5 11:05:44 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
4603 * fixincludes (malloc.h): Fix return type of {m,re}alloc.
4605 Sun Nov 5 11:02:26 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4607 * cse.c (invalidate): For a pseudo register, do a loop to
4608 invalidate all table entries, irrespective of mode.
4610 Sun Nov 5 10:57:43 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4612 * combine.c (force_to_mode): Put in last change properly.
4614 Sun Nov 5 10:53:49 1995 Jeffrey A Law (law@cygnus.com)
4616 * pa.h (CONDITIONAL_REGISTER_USAGE): Make sure FP regs
4617 get disabled regardless of PA1.0 vs PA1.1 code generation
4618 when TARGET_SOFT_FLOAT or TARGET_DISABLE_FPREGS is on.
4620 Sun Nov 5 10:49:43 1995 Doug Evans <dje@lisa.cygnus.com>
4622 * i960.c (emit_move_sequence): Add a scratch register to
4624 (i960_output_move_{double,quad}): New functions.
4625 (i960_print_operand): Handle new operand types E, F.
4626 * i960.md (movdi matchers): Rewrite.
4627 (store_unaligned_di_reg): New pattern.
4628 (movti matchers): Rewrite.
4629 (store_unaligned_ti_reg): New pattern.
4631 Sun Nov 5 10:45:24 1995 Ian Lance Taylor (ian@cygnus.com)
4633 * mips.h (MULTILIB_DEFAULTS): Define.
4634 * mips/elf64.h, mips/iris6.h (MULTILIB_DEFAULTS): Define.
4636 Sun Nov 5 10:41:48 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4638 * reload.c (push_reload): Delete abort for RELOAD_OTHER case added
4640 * reload1.c (emit_reload_insns): For RELOAD_OTHER output reloads,
4641 output the reload insns in descending order of reloads.
4643 * sh.md (mulsidi3-1, mulsidi3, umulsidi3-1, umulsidi3): Enable.
4644 (smulsi3_highpart-1, smulsi3_highpart): New patterns.
4645 (umulsi3_highpart-1, umulsi3_highpart): Likewise.
4646 (movdi-1): Add r/x constraint.
4647 * t-sh (MULTILIB_OPTIONS): Add m2.
4648 (MULTILIB_DIRNAMES): Add m2.
4649 (MULTILIB_MATCHES): Define.
4651 * sparc.h (RTX_COSTS, case MULT): Check for TARGET_SPARCLITE.
4653 * abi64.h, elf64.h (CPP_SPEC): Add -EB and -EL support.
4655 Sat Nov 4 10:36:26 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4657 * sh.md (casesi_worker): Change constraint from = to +.
4659 * svr4.h (ASM_IDENTIFY_GCC_AFTER_SOURCE): Delete.
4660 (ASM_IDENTIFY_GCC): Output stab here.
4662 Sat Nov 4 10:32:37 1995 John Carr <jfc@mit.edu>
4664 * cpplib.c (finclude): Set current input pointer when input
4665 is not a regular file.
4667 * cppmain.c: Define progname, required by cpplib.
4669 Sun Oct 29 07:48:36 1995 Michael Meissner <meissner@cygnus.com>
4671 * xcoffout.h (DBX_FINISH_SYMBOL): Deal with names created via
4672 the __asm__ construct that start with a leading '*'.
4673 * xcoffout.c (xcoff_declare_function): Likewise.
4675 Sun Oct 29 07:45:41 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4677 * stupid.c (stupid_mark_refs): Handle SUBREG of pseudo-reg in a
4678 SET_DEST same as we handle a pseudo-reg in a SET_DEST.
4680 Sun Oct 29 07:43:15 1995 Pat Rankin <rankin@eql.caltech.edu>
4682 * libgcc2.c (L_eh: __unwind_function): Implement for VAX.
4683 * vax.h (RETURN_ADDRESS_OFFSET, RETURN_ADDR_RTX): Define.
4685 Sun Oct 29 12:39:08 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>a
4687 * i386/sol2.h (CPP_PREDEFINES): Add -D__SVR4.
4689 Sun Oct 29 07:14:36 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4691 * reload.c (find_equiv_reg): Check for nonsaving setjmp.
4693 Fri Oct 27 15:15:56 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4695 * Makefile.in (out_object_file): Depend on TREE_H.
4697 Fri Oct 27 06:42:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4699 * alpha.c (call_operand): Only allow reg 27 on NT too.
4700 * alpha.md (call_value_nt, call_nt): Force non-SYMBOL_REF
4701 into reg 27, just like for OSF.
4703 * rs6000.c (struct asm_option): Changed from struct option.
4704 (expand_block_move_mem): Remove erroneously-added line.
4706 * expr.c (clear_storage): SIZE is now rtx, not int.
4707 (store_constructor): Call clear_storage with rtx.
4708 (get_inner_reference): Convert index to precision of
4709 sizetype, not POINTER_SIZE.
4710 (expand_expr, case ARRAY_REF): Likewise.
4711 * expr.h (clear_storage): Second arg is rtx, not int.
4713 Fri Oct 27 05:45:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4715 * combine.c (force_to_mode, case ASHIFTRT): Properly handle
4716 mask wider than HOST_WIDE_INT.
4718 * c-decl.c (pushdecl): Don't test TREE_PUBLIC when deciding whether
4719 to register a duplicate decl in the current block.
4721 Thu Oct 26 21:55:39 1995 Jason Merrill <jason@sethra.cygnus.com>
4723 * calls.c (expand_call): Don't trust the callee to copy a
4724 TREE_ADDRESSABLE type.
4725 * function.c (assign_parms): Likewise.
4727 Thu Oct 26 19:25:05 1995 Mike Stump <mrs@cygnus.com>
4729 * libgcc2.c (__unwind_function): Provide a default definition for
4730 implementations that don't yet have a function unwinder.
4732 Thu Oct 26 18:08:19 1995 Paul Eggert <eggert@twinsun.com>
4734 * cccp.c (handle_directive): Don't treat newline as white
4735 space when coalescing white space around a backslash-newline.
4737 Thu Oct 26 17:57:34 1995 Ian Lance Taylor <ian@cygnus.com>
4739 * mips-tdump.c (enum st): Define st_Struct, st_Union, and st_Enum.
4740 (st_to_string): Handle them.
4741 (type_to_string): Add fdp argument; pass it to emit_aggregate.
4742 (print_symbol): Add fdp argument; pass it to type_to_string.
4743 Handle st_Struct, st_Union, and st_Enum.
4744 (emit_aggregate): Add fdp argument. Handle opaque types. Map
4745 through RFD entries.
4746 (print_file_desc): Pass FDR to print_symbol.
4747 (main): Pass null FDR to type_to_string.
4749 Thu Oct 26 08:07:10 1995 Michael Meissner <meissner@cygnus.com>
4751 * configure (powerpc-ibm-aix[456789]*): Use rs6000/t-newas,
4752 not rs6000/t-rs6000.
4753 (rs6000-ibm-aix3.2.[456789]*): Likewise.
4754 (rs6000-ibm-aix[456789]*): Likewise.
4756 * rs6000/t-newas: Copy from t-rs6000.
4757 * t-rs6000: Don't build -mcpu=common multilib variants of libgcc.a.
4759 * rs6000.md (load_multiple insn): If address register is among regs,
4760 don't load it with a lwsi instruction, which is undefined on PowerPC.
4762 Thu Oct 26 08:01:32 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4764 * dwarfout.c (output_compile_unit_die): Handle language_string
4767 * reload.c (find_reloads_address): When check for out of range constant
4768 plus register, accept any hard register instead of just fp, ap, sp.
4770 * combine.c (distribute_notes): For Oct 19 change, add additional
4771 check to verify that place has a valid INSN_CUID.
4773 * sparc/t-vxsparc (LIBGCC1_TEST): Define.
4775 * sh.md (negdi2): Use TARGET_LITTLE_ENDIAN.
4777 * combine.c (force_to_mode, case ASHIFTRT): Verify mode bitsize is
4778 within HOST_BITS_PER_WIDE_INT before shifting by it.
4780 * final.c (final_scan_insn): When recur for instruction in delay slot,
4781 add loop around recursive call in case the instruction gets split.
4783 Thu Oct 26 07:28:45 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4785 * genrecog.c (write_tree_1): Avoid emitting '-2147483648'.
4787 * jump.c (duplicate_loop_exit_test): Return 0 if found
4788 a NOTE_INSN_LOOP_CONT.
4790 Tue Oct 24 15:30:14 1995 Jeffrey A Law <law@cygnus.com>
4792 * calls.c (expand_call): Make sure valreg is at least
4795 Sun Oct 22 19:35:41 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4797 * sh.h (INIT_SECTION_ASM_OP): Delete.
4798 (HAVE_ATEXIT): Define.
4800 Sun Oct 22 07:46:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4802 * libgcc2.c (__fixuns[xds]fsi): #undef MIN and MAX before #include
4805 * pa.c (pa_adjust_cost): Use pa_cpu, not pa_cpu_attr.
4807 Sun Oct 22 07:38:58 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4809 * alpha.h (CONST_OK_FOR_LETTER_P): Use 'U' for unsigned constants.
4810 * alpha.c (alpha_emit_set_const): Likewise.
4811 * mips.c (gen_int_relational): Likewise.
4813 Sun Oct 22 07:14:35 1995 Douglas Rupp (drupp@cs.washington.edu)
4815 * i386.c (i386_return_pops_args): Don't need a FUNDECL to
4816 check for type attributes in FUNTYPE.
4818 Sat Oct 21 18:17:42 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4820 * sh.md (define_delay): Don't accept any instruction for an annulled
4821 slot, only accept those for which in_delay_slot is yes.
4822 * sh.c (find_barrier): When hi_const returns true, increment count_si
4823 by two if found_si is true.
4824 Always use get_attr_length to compute length of instructions.
4825 If count_hi or count_si out of range at end, need two PREV_INSN calls
4827 When create new label, set LABEL_NUSES to 1.
4828 (reg_unused_after): Ifdef out code for handling labels.
4829 (prepare_scc_operands): New local variable mode. Set it from
4830 sh_compare_op0 or sh_compare_op1. Use it instead of SImode in
4833 * optabs.c (expand_float): Emit missing barrier after unconditional
4836 Sat Oct 21 14:16:46 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
4838 * alpha.md (cmpdf): Make conditional on TARGET_FP.
4840 Fri Oct 20 19:11:12 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
4842 * combine.c (distribute_notes): Delete instructions without
4843 side effect that set a subreg of an unused register.
4845 * m68k.h (PREFERRED_RELOAD_CLASS): Check for !G constants
4846 for DATA_OR_FP_REGS also.
4848 Fri Oct 20 18:57:10 1995 Ian Lance Taylor <ian@cygnus.com>
4850 * genmultilib: Output negations of unused alternatives, even if
4851 one of the alternatives is selected.
4853 Fri Oct 20 18:48:50 1995 Jeff Law (law@hurl.cygnus.com)
4855 * integrate.c (output_inline_function): Turn on flag_no_inline
4856 to avoid function integration once we begin writing deferred
4859 Fri Oct 20 18:46:33 1995 Michael Meissner <meissner@wogglebug.tiac.net>
4861 * rs6000.c (float_conv_temp): Delete global variable.
4862 (stack_temps): New static array to hold stack temps.
4863 (offsettable_mem_operand): Delete function.
4864 (offsettable_addr_operand, rs6000_stack_temp): New functions.
4865 (output_epilog): Zero stack_temps.
4867 * rs6000.h (offsettable_addr_operand): Declare instead of
4868 offsettable_mem_operand.
4869 (PREDICATE_CODES): Use offsettable_addr_operand.
4870 (float_conv_temp): Delete variable.
4872 * rs6000.md (move_to_float insns): Change move_to_float so
4873 that it doesn't have a clobber of the memory address, and instead
4874 passes the stack temp's memory address as one of the unspec args.
4875 (fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp.
4876 (multiply, shift insns): Fix all cases of multiply and shift insns so
4877 that the right mnemonics are used for -mcpu=common with both
4878 -m{old,new}-mnemonics.
4880 Fri Oct 20 17:58:19 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4882 * expr.c (safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE
4883 exists. Delete code to return 0 if exp_rtl is zero.
4885 * function.c (init_function_start): Don't call init_insn_lengths here.
4886 * toplev.c (rest_of_compilation): Call it here.
4888 Thu Oct 19 19:19:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4890 * c-common.c (check_format_info): Make test for null pointer
4893 Thu Oct 19 18:56:16 1995 Satoshi Adachi (adachi@wisdom.aa.ap.titech.ac.jp)
4895 * fixincludes (stdlib.h): Be more general in edit to change
4896 declaration of {c,m,re}alloc.
4898 Thu Oct 19 18:48:53 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
4900 * libgcc2.c (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define
4901 dummy variant of __udiv_w_sdiv.
4903 Thu Oct 19 18:45:21 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4905 * alpha.h (ASM_SPEC): If GNU as is the default, then pass -g to
4906 the assembler if -malpha-as. If GNU as is not the default, then pass
4907 -g to the assembler is not -mgas.
4909 * combine.c (distribute_notes): When search for new place to put
4910 REG_DEAD note, call distribute_links if this new place is between
4911 i2 and i3, and i2 uses the register.
4913 Thu Oct 19 18:41:36 1995 Michael Meissner <meissner@cygnus.com>
4915 * rs6000.md (float{,uns}sidf2): Rewrite to break the conversion
4916 process into several general insns.
4917 (move_to_float): New insns to move 2 integer regs into a float register
4918 through memory, taking endianess into account. Make sure that the
4919 floating temporary is a valid address. Use one temporary for all
4921 (fix_truncdfsi2): Take endianess into account.
4923 * rs6000.c ({low_32_bit,offsettable_mem}_operand): The function
4924 low_32_bit_operand is now unused, delete it. New function
4925 offsettable_mem_operand to determine if a memory address is
4927 * rs6000.h ({low_32_bit,offsettable_mem}_operand): Ditto.
4928 (PREDICATE_CODES): Ditto.
4930 * rs6000.{c,h} (float_conv_temp): New global.
4931 * rs6000.c (output_epilog): Zero out float_conv_temp.
4933 * Makefile.in (libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to
4934 end in .S as well as .c and .asm.
4936 Wed Oct 18 17:56:45 1995 Jose Alonso (sidinf@fpsp.fapesp.br)
4938 * c-typeck.c (parser_build_binary_op): Warn about x^y==z, etc.
4940 Mon Oct 9 12:38:06 1995 Michael Meissner <meissner@cygnus.com>
4942 * protoize.c (reverse_def_dec_list): Silence compiler warnings.
4944 Mon Oct 9 12:35:54 1995 Andrew Cagney <cagney@highland.com.au>
4946 * ginclude/va-ppc.h (va_arg): Deal with long longs that would be
4947 passed in the 7th register, and are passed in the stack instead.
4949 Fri Oct 6 13:47:10 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4951 * alpha.h (ASM_SPEC): Add -g.
4953 Fri Oct 6 13:42:50 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4955 * alpha.h (alpha_{arg,auto}_offset): Make extern.
4957 Fri Oct 6 13:24:43 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4959 * rs6000.h (RETURN_ADDRESS_OFFSET): Correct previous change.
4961 Fri Oct 6 13:14:43 1995 Doug Evans <dje@canuck.cygnus.com>
4963 * rtlanal.c (reg_set_last): Fix call to reg_set_between_p.
4965 Tue Oct 3 12:31:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
4967 * stor-layout.c (layout_type, case ARRAY_TYPE): Strip MAX_EXPR
4968 from upper bound when computing length if it just protects against
4971 * expr.c (emit_move_insn_1): When doing multi-word move, show
4972 output is clobbered.
4974 Tue Oct 3 12:26:07 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4976 * cse.c (set_nonvarying_address_components, case AND): Add *pend to
4977 end. Add constant to start instead of subtracting it.
4979 Tue Oct 3 12:23:28 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
4981 * combine.c (simplify_rtx): In code that attempts to simplify
4982 conditional expressions, if the result is an NE around another
4983 comparison, return the original expression.
4985 * longlong.h (mips umul_ppmm): Use `l' and `h' constraints;
4986 remove mflo and mfhi instructions.
4988 Tue Oct 3 12:21:29 1995 Michael Meissner <meissner@cygnus.com>
4990 * ginclude/va-ppc.h (va_start, stdarg case): Call
4991 __builtin_next_arg, and ignore the result, so that the compiler
4992 can report the proper error, if the second argument is not the
4995 Tue Oct 3 12:02:51 1995 Kohtala Marko <Marko.Kohtala@ntc.nokia.com>
4997 * function.c (assign_stack_temp): Adjust full_size field of
4998 temp_slot when splitting an unused slot.
5000 Tue Oct 3 11:51:59 1995 Mike Stump <mrs@cygnus.com>
5002 * expr.c (expand_builtin_return_addr): Break out functionality
5003 from expand_builtin.
5004 (expand_builtin): Call expand_builtin_return_addr.
5005 * rs6000.h (RETURN_ADDR_RTX): Remove call to copy_to_reg.
5006 Offset to return address is 4 when !TARGET_64BIT and v4_call_p,
5008 * sparc.h (RETURN_ADDR_RTX): Remove call to copy_to_reg.
5009 * alpha.h (RETURN_ADDR_RTX): New definition.
5011 Sun Oct 1 21:23:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5013 * tree.c (staticp, case INDIRECT_EXPR): Disable case.
5015 * expr.c (expand_expr, case COMPONENT_REF): If getting component
5016 of union of variable size, propagate TARGET.
5018 Fri Sep 29 07:48:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5020 * expr.c (store_expr): When storing promoted value, don't return
5021 MEM if address contains target.
5023 Thu Sep 28 14:30:03 1995 Paul Eggert <eggert@twinsun.com>
5025 * cccp.c (rescan): Expand `#if foo && #bar' without a bogus
5026 complaint about preprocessor directives within macro args.
5027 Expand `foo' in `foo#bar' without requiring a space before `#'.
5029 Thu Sep 28 14:24:26 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
5031 * m68k.md (anonymous DImode shift patterns setting cc0): Turned
5032 off due to reload problems.
5034 Thu Sep 28 14:05:22 1995 Niklas Hallqvist (niklas@appli.se)
5036 * Makefile.in (USER_H): Move up so can override.
5037 (INSTALL_ASSERT_H): New definition.
5038 (install-headers): Use it.
5039 (stmp-int-hdrs): Handle USER_H being empty.
5040 * config/x-netbsd (INSTALL_ASSERT_H): Define as empty.
5042 * i386/netbsd.h (WCHAR_{TYPE,UNSIGNED,TYPE_SIZE}): Now int.
5043 * m68k/netbsd.h, ns32k/netbsd.h, sparc/netbsd.h: Likewise.
5044 * vax/netbsd.h: Likewise.
5045 (SIZE_TYPE): Use unsigned int.
5047 * m68k.c (output_scc_di): Swap operands when needed.
5048 * m68k.h (LEGITIMATE_PIC_OPERAND): Allow SYMBOL_REF_FLAG symref.
5049 * m68k.md: Make both assembler syntaxes do the same for PIC calls.
5051 Tue Sep 26 16:51:44 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5053 * mips.c (override_options): Don't allow anything but integers to
5054 go in the HI/LO registers.
5056 Tue Sep 26 16:36:18 1995 John F. Carr <jfc@mit.edu>
5058 * c-common.c (check_format_info): Don't warn about format type
5059 mismatch if the argument is an ERROR_MARK.
5061 Mon Sep 25 17:50:50 1995 Craig Burley (burley@gnu.ai.mit.edu)
5063 * stor-layout.c (put_pending_sizes): New function.
5064 * tree.h (put_pending_sizes): Add declaration.
5065 * tree.c (save_expr): Return original for ERROR_MARK.
5067 Fri Sep 22 19:20:01 1995 Jeff Law (law@hurl.cygnus.com)
5069 * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Strip off
5070 all NOP exprs from the source and destination nodes, then
5071 set MEM_IN_STRUCT_P.
5073 Fri Sep 22 18:50:31 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5075 * rs6000/eabi.h (ASM_OUTPUT_INT): Test for whether the integer
5076 being output is also a constant so &sym - &sym2 is not fixed up.
5078 Fri Sep 22 18:49:07 1995 Peter Flass (FLASS@LBDRSCS.BITNET)
5080 * i370.md (cmpsi): Add missing constraints to operand 1.
5082 Fri Sep 22 18:27:33 1995 Torbjorn Granlund <tege@matematik.su.se>
5084 * i386.h (CONST_OK_FOR_LETTER_P): Make `N' match range 0..255
5085 for `outb' instruction.
5087 * pyr.h (PRINT_OPERAND): Handle code `R' for REG.
5088 * longlong.h (pyr umul_ppmm): Use it.
5090 Fri Sep 22 18:24:38 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5092 * c-parse.in (enumlist): Propagate error_mark_node.
5094 * c-aux-info.c (gen_type): Handle ERROR_MARK.
5096 * alpha.md (movdi): Avoid memory sharing problem when in reload.
5098 Wed Sep 20 14:27:09 1995 Peter Flass <flass@lbdrscs.bitnet>
5100 * mvs.h (FUNCTION_PROLOGUE): Maintain savearea forward chain
5103 Wed Sep 20 14:20:52 1995 Torbjorn Granlund <tege@matematik.su.se>
5105 * pyr.md (cmphi recognizer): Make condition match constraints.
5106 (cmpqi recognizer): Likewise.
5108 Wed Sep 20 12:42:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5110 * integrate.c (expand_inline_function): Do copy something setting
5111 the result register if it is setting it to itself and has a REG_NOTE.
5113 * integrate.c (set_decl_{origin_self,abstract_flags}): Treat
5114 a DECL_INITIAL of error_mark_node the same as one of NULL_TREE.
5116 Tue Sep 19 19:30:18 1995 Dave Pitts (dpitts@nyx.cs.du.edu)
5118 * i370.md (cmphi, movhi, movstricthi, extendhisi2): Correct generation
5119 of short integer (Halfword)
5120 ({add,sub,mul,and,ior,xor}hi3): Likewise.
5121 * i370/mvs.h (MACROPROLOGUE): New macro.
5122 (FUNCTION_{PRO,EPI}LOGUE): Added ability to use IBM supplied function
5124 (FUNCTION_PROLOGUE): Corrected function "in-line" prologue alignment
5126 (ASM_DECLARE_FUNCTION_NAME): Changed alignment to FullWord.
5127 (ASM_OUTPUT_{SHORT,ASCII}): Reworked.
5129 Tue Sep 19 19:22:15 1995 Douglas Rupp (drupp@cs.washington.edu)
5131 * winnt/win-nt.h: Renamed from winnt/win-nt.h.
5132 (LINK_SPEC): Add -noinhibit-exec.
5133 * {alpha,i386}/win-nt.h: Renamed from {alpha,i386}/winnt.h.
5134 Include winnt/win-nt.h, not winnt/winnt.h.
5135 * winnt/oldnames.c: New file.
5136 * winnt/headers.mak (fixinc-nt.obj): Fix typo.
5137 * winnt/config-nt.bat: Change winnt.h to win-nt.h.
5138 * i386/config-nt.sed: Likewise.
5139 * configure ({alpha,i386}-*-winnt3*): Likewise.
5141 Mon Sep 18 14:00:45 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de)
5143 * 1750a.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
5145 (REG_CLASS_FROM_LETTER): New letters 't' and 'z'.
5146 (EXTRA_CONSTRAINT): New letter 'Q'.
5148 Sun Sep 17 12:39:22 1995 Jeff Law (law@snake.cs.utah.edu)
5150 * pa.h (ASM_DECLARE_FUNCTION_NAME): If a parameter's type
5151 has TYPE_NEEDS_CONSTRUCTING on, then it's passed by invisible
5154 Sat Sep 16 17:42:33 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5156 * loop.c (find_and_verify_loops): Fix error in last change.
5158 Sat Sep 16 08:38:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5160 * alpha.h (GO_IF_LEGITIMATE_ADDRESS): Disallow SYMBOL_REF for
5163 * cse.c (recorded_label_ref): New variable.
5164 (insert): Set instead of cse_jumps_altered.
5165 (cse_main): Initialize it and return 1 if nonzero at end.
5167 Fri Sep 15 18:26:49 1995 Torbjorn Granlund (tege@matematik.su.se)
5169 * fold-const (div_and_round_double): Change `carry', `quo_est',
5170 and `scale' from plain int to `unsigned HOST_WIDE_INT'.
5172 Fri Sep 15 18:24:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5174 * cse.c (insert): Set cse_jumps_altered when inserting a LABEL_REF.
5176 Fri Sep 15 17:29:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de)
5178 * 1750a.c (b_mode_operand): New function.
5179 (print_operand): Added code 'Q'.
5181 Fri Sep 15 17:27:23 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5183 * loop.c (find_and_verify_loops): When moving exit blocks out of
5184 the loop, verify that the target of P is within the current loop.
5186 * reorg.c (fill_slots_from_thread): Update thread if it is split.
5188 Fri Sep 15 17:06:51 1995 Michael Meissner <meissner@cygnus.com>
5190 * rs6000.md (decrement_and_branchsi and related insns): Don't use
5191 a "2" to select a register preference for operand 1 if operand 2
5192 hasn't been seen yet.
5193 Add appropriate clobbers in decrement_and_branchsi.
5194 Add patterns where the pc/label_ref are interchanged.
5196 * Makefile.in (gnucompare, stmp-multilib-sub): Remove extra . in
5199 * rs6000.c (output_toc): Align DF constants if STRICT_ALIGNMENT.
5201 * config/fp-bit.c (FLO_union_type): Add words field if double
5202 precision to get at the separate words.
5203 (FLO_union_type, pack_d, unpack_d): Use FLOAT_BIT_ORDER_MISMATCH
5204 to determine when the bitfields need to be reversed, and
5205 FLOAT_WORD_ORDER_MISMATCH when the words need to be reversed.
5207 Fri Sep 15 16:41:43 1995 Jeff Law (law@snake.cs.utah.edu)
5209 * reorg.c (fill_simple_delay_slots): When filling insn's delay slot
5210 with JUMP_INSN, don't assume it immediately follows insn on
5211 unfilled slots obstack.
5213 * Makefile.in (caller-save.o): Depend on insn-codes.h.
5215 Thu Sep 14 17:41:49 1995 Jim Meyering (meyering@comco.com)
5217 * protoize.c (do_cleaning): Don't blank out backslash-escaped
5218 newlines in double quoted strings.
5220 Thu Sep 14 16:20:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5222 * emit-rtl.c (gen_lowpart): If gen_lowpart_common fails
5223 for a REG, load it into a pseudo and try again.
5225 Thu Sep 14 14:15:16 1995 Stan Cox (coxs@dg-rtp.dg.com)
5227 * m88k.h (VERSION_INFO1): Removed BCS reference.
5228 * m88k/dgux.h (ASM_SPEC, *_LEGEND):
5229 Added -mno-legend option. -mstandard no longer implies that legend
5230 legend information not be produced.
5231 (LINK_SPEC): Removed -z text
5233 Tue Sep 12 19:05:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5235 * cccp.c (is_system_include): Call skip_redundant_dir_prefix.
5237 Tue Sep 12 18:58:21 1995 John Carr <jfc@mit.edu>
5239 * sparc.md: Change `*return "string"' to "string" in patterns.
5241 Tue Sep 12 18:48:47 1995 Craig Burley (burley@gnu.ai.mit.edu)
5243 * function.c (put_var_into_stack): For CONCAT case, order of
5244 placement depends on FRAME_GROWS_DOWNWARD, not STACK_GROWS_DOWNWARD.
5246 Tue Sep 12 18:34:10 1995 Doug Evans <dje@canuck.cygnus.com>
5248 * va-sparc.h (v9 varargs va_start): Handle __builtin_va_alist
5249 being stack argument.
5251 * sparc.h (STATIC_CHAIN_REGNUM): Use %g5 for sparc64.
5252 (TRAMPOLINE_TEMPLATE): Rewrite for sparc64.
5253 (TRAMPOLINE_SIZE): Is 40 for sparc64.
5254 * sparc.c (sparc64_initialize_trampoline): Rewrite.
5256 Tue Sep 12 18:30:22 1995 Douglas Rupp (drupp@cs.washington.edu)
5258 * cp/Make-lang.in (cc1plus) : Removed unnecessary $(exeext).
5260 * configure: Added code to handle gcc_extra_objs.
5261 (alpha-winnt): Changed xmake_file to winnt/x-winnt.
5262 Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe.
5263 (i386-winnt): Changed xmake_file to winnt/x-winnt.
5264 Added extra_gcc_objs=spawnv.o; changed extra_programs to ld.exe.
5265 * configure.bat: Changed to used common winnt/config-nt.bat.
5266 * Makefile.in: Changed various .o's to .$(objext)'s
5267 (specs): Removed unnecessary $(exeext).
5268 (EXTRA_GCC_OBJS): New variable.
5269 (clean): Removed $(LIB2FUNCS_EXTRA)
5270 * objc/Makefile: Changed archive command for libobjc.a to use $?
5273 * alpha/x-winnt, i386/x-winnt: Deleted.
5274 * alpha/config-nt.bat, i386/config-nt.bat: Deleted.
5275 * alpha/config-nt.sed, i386/config-nt.sed: Moved architecture
5276 independent commands to config/winnt/config-nt.sed.
5277 * alpha/winnt.h: Added -D_M_ALPHA to CPP_PREDEFINES.
5278 Changed LIB_SPEC to be compatible with Gnu ld for NT.
5279 * i386/winnt.h: Added -D_cdecl=__attribute__((__cdecl__)).
5280 Change LIB_SPEC to be compatible with Gnu ld for NT.
5281 * winnt/config-nt.bat, winnt/config-nt.sed: New files.
5282 * winnt/dirent.{c,h}, winnt/fixinc-nt.c, winnt/headers.mak: New files.
5283 * winnt/ld.c: Changed precedence of libraries to look for
5284 libfoo.lib before libfoo.a
5285 Changed to work like Gnu ld for NT.
5286 * winnt/libgcc.mak, winnt/mklibgcc.c: New files.
5287 * winnt/spawnv.c: Changed spawn function entry points to __spawn*
5289 * winnt/x-winnt: New file.
5290 * fixinc-nt.sed: New file.
5291 * fixinc.winnt: Rewritten to use fixinc-nt.sed.
5293 * gcc.c: Remove fix_argv kludge.
5295 Tue Sep 12 13:24:17 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5297 * rs6000.md (power subdi3 pattern): Fix pattern to have 5
5298 alternatives, and correct 4th alternative to match reality.
5300 * rs6000.md (adddi3, subdi3, negdi2): Add constraints so output reg
5301 does not overlap one reg with one of the inputs.
5303 Tue Sep 12 13:09:48 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
5305 * m68k.c (output_scc_di): Fixed for non-SGS_CMP_ORDER syntax.
5307 * collect2.c (scan_libraries): Cast lsyms' alloca to LDSYM*.
5309 Tue Sep 12 13:04:12 1995 Niklas Hallqvist (niklas@appli.se)
5311 * stmt.c (expand_start_stmt_expr): Do stack adjust in right place.
5313 * stdarg.h (__gnuc_va_list): Make char * for NetBSD.
5315 Tue Sep 12 12:44:46 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5317 * ginclude/va-ppc.h (va_arg): Reorganize to avoid BIND_EXPRs of
5318 aggregate or array type.
5320 Tue Sep 12 12:42:27 1995 Ian Lance Taylor <ian@cygnus.com>
5322 * fixincludes: Fix HP/UX <sys/file.h> for g++ -pedantic-errors.
5324 * fixincludes (curses.h): typedef bool need not take up entire line.
5326 Mon Sep 11 19:05:42 1995 Stan Cox (coxs@dg-rtp.dg.com)
5328 * c-typeck.c (digest_init): Don't recursively call digest_init
5329 when in traditional mode if the type is invalid.
5331 Mon Sep 11 18:58:26 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de)
5333 * 1750a.md: Added DLB/DSTB peepholes for HFmode.
5334 Corrected mnemonics for HImode DSTB peephole.
5336 Mon Sep 11 18:48:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5338 * config/fp-bit.c (FLO_union_type): Remove bitfields to set sign,
5339 exponent, and mantissa, and add value_raw field, which is an
5340 integer of the appropriate type. If _DEBUG_BITFLOAT is defined,
5341 provide little and big endian bitfields. If the macro
5342 FLOAT_BIT_ORDER_MISMATCH is defined, use explicit bitfields.
5343 (pack_d, unpack_d): Switch to use value_raw and explicit shifts
5344 and masks so that we don't have to worry about whether the target
5345 is big or little endian unless FLOAT_BIT_ORDER_MISMATCH is
5346 defined. If single precision floating point, rename to pack_f and
5347 unpack_f, so there is no confusion in the debugger.
5349 * rs6000.h (rs6000_abi): New enumeration to describe which
5350 ABI we're conforming to.
5351 (rs6000_stack): Use abi enum, not AIX vs. V.4 boolean.
5352 (ASM_OUTPUT_OPTIONS): New macro to print output options in .s file.
5353 (ASM_FILE_START): Use it.
5354 (output_options,rs6000_float_const): Declare new functions.
5356 * rs6000.c (output_option{,s}): New functions to write -f, -m,
5357 and -W options to the asm file.
5358 (rs6000_float_const): New function to generate floating point
5359 constants portably used in signed,unsigned -> double conversions.
5360 (rs6000_stack_info,debug_stack_info): Use ABI enumeration instead
5361 of AIX vs. V.4 boolean.
5363 * rs6000.md (float{,uns}sidf2): Call rs6000_float_const to
5364 portably build the proper floating point constant for conversions.
5365 (movdi): Properly handle movdi of CONST_{INT,DOUBLE} on little
5368 * rs6000/sysv4.h (LIBGCC2_WORDS_BIG_ENDIAN): Define to be 0/1
5369 depending on the target endianess.
5370 (ASM_FILE_START): Define, to call output_options in addition to
5371 output_file_directive.
5372 (TRAMPOLINE_SIZE): Correct size to match code.
5374 * rs6000/eabi{,le}sim.h (CPP_SPEC): Define the correct endian
5375 macro for varargs/stdargs use.
5377 Mon Sep 11 18:41:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5379 * c-decl.c (redeclaration_error_message): For TYPE_DECLs, return 0
5380 if TYPE_MAIN_VARIANT of old type is same as new type.
5382 Mon Sep 11 17:39:35 1995 Rob Ryan (robr@cmu.edu)
5384 * xcoffout.c (xcoff_inlining): New variable, used in place of
5385 xcoff_current_include_file when determining whether to use
5386 absolute line numbers.
5387 (xcoffout_source_file): Switched to using xcoff_inlining to
5388 determine when to emit .bi/.ei directives.
5390 Mon Sep 11 16:55:06 1995 Torbjorn Granlund <tege@matematik.su.se>
5392 * m68k.md (cmpdi): Change patterns to allocate scratch register at
5393 RTL generation time.
5396 Sun Sep 3 09:03:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5398 * fold-const.c (size_binop): Don't pass 1 to NOTRUNC.
5400 Thu Aug 31 19:27:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5402 * libgcc2.c: Include longlong.h.
5403 [L_udivdi3 || L_divdi3 || L_umoddi3 || L_moddi3] (__udivmoddi4):
5404 Define this `static inline' when defining these, so they all
5405 remain leaf functions.
5407 Thu Aug 31 18:38:21 1995 Paul Eggert <eggert@twinsun.com>
5409 * c-parse.in (ends_in_label): New %union member.
5410 (stmts, stmt_or_label): Use new member to avoid lexical lookahead hack.
5411 (lineno_stmt_or_labels): New rule.
5412 (lineno_stmt_or_label, stmt_or_label): Yield nonzero if it ends
5415 Thu Aug 31 08:31:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5417 * cse.c (canon_hash, CONST_DOUBLE): Hash integer and real
5419 * varasm.c (struct rtx_const): Add new field DI to union.
5420 (decode_rtx_const, case CONST_DOUBLE): Use to hash CONST_DOUBLE
5421 representing an integer.
5423 * va-alpha.h (__gnuc_va_list): Make __offset an int.
5424 * alpha.c (alpha_builtin_saveregs): Properly compute address
5425 of __offset both both OSF and WINNT.
5427 * xm-alpha.h (sbrk): Don't define here.
5428 * gmon.c (sbrk): Define here for __alpha.
5429 * toplev.c (sbrk): Likewise.
5430 * mips-tfile.c (malloc, calloc, realloc): Don't define for anybody.
5432 * reload.c (push_reload): Add case for output reload of a SUBREG
5433 of a hard reg when output mode is invalid for that mode.
5434 In both that case and existing case for in, don't remove SUBREG.
5435 * reload1.c (emit_reload_insns): Emit RELOAD_OTHER output reloads last.
5437 Tue Aug 29 19:16:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5439 * c-common.c (decl_attribute, case A_PACKED): Check is_type first.
5440 (decl_attribute, case A_T_UNION): Likewise.
5441 Don't access TYPE_FIELDS if DECL is zero.
5442 * c-decl.c (finish_struct): If transparent_union attribute
5443 specified, validate it once we finish laying the union out.
5445 Mon Aug 28 05:58:03 1995 Paul Eggert <eggert@twinsun.com>
5447 * arm.c (arm_gen_movstrqi): Remove unused variable const_sxteen.
5449 * bi-lexer.c (buffer, inpoint): Remove unused variables.
5451 * i370/mvs.h, i370/mvs370.c (mvs_label_emitted): Renamed
5452 from mvs_label_emited.
5454 * msdos/configur.bat: Fix misspelling of `maintainer-clean'.
5456 Sat Aug 26 06:57:17 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5458 * reload.c (push_secondary_reload): If X is a paradoxical SUBREG,
5459 get mode and thing to reload from inside.
5460 * reload1.c (emit_reload_insns): Do nothing for SUBREG whose
5461 operand is unused subsequently.
5462 In secondary reload case, if paradoxical SUBREG for output, reload
5463 thing inside SUBREG, just like gen_reload.
5465 Fri Aug 25 19:26:53 1995 Paul Eggert <eggert@twinsun.com>
5467 * c-typeck.c (set_init_label): Don't die if an entire
5468 brace-pair level is superfluous in the containing level.
5470 Fri Aug 25 19:22:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5472 * configure (powerpc{,le}-eabisim): Add support for a new target
5473 that works under the PSIM simulator.
5474 * rs6000/eabisim.h, rs6000/eabilesim.h, rs6000/t-eabisim: New files.
5476 * rs6000/eabi.h (STRICT_ALIGNMENT): If little endian, always set
5477 strict alignment to 1.
5479 Fri Aug 25 19:22:23 1995 David Edelsohn <edelsohn@mhpcc.edu>
5481 * rs6000.md ({add,sub,mulsi}di3): Support both endian possibilities.
5484 Fri Aug 25 19:10:41 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de)
5486 * 1750a.md: Added peephole definitions for Load/Store Base insns
5487 and eliminating redundant load in an equivalent store/load sequence.
5489 Fri Aug 25 18:33:27 1995 Craig Burley (burley@gnu.ai.mit.edu)
5491 * toplev.c (report_error_function): Don't attempt to use input
5492 file stack to identify nesting of #include's if file name oflocation
5493 diagnosed is not same as input_filename.
5495 Fri Aug 25 07:31:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5497 * integrate.c (output_inline_function): Switch to function obstack.
5499 Mon Aug 21 13:29:54 1995 J"orn Rennecke (amylaar@meolyon.hanse.de)
5501 * i386.c (arithmetic_comparison_operator): New function.
5502 (print_operand): Take into account that overflow flag is not
5503 set the same as after a compare instruction.
5504 * i386.md (decrement_and_branch_until_zero): Use
5505 arithmetic_comparison_operator to decide if there is comparison
5506 suitable to be expressed by condition code from an arithmetic op.
5508 Mon Aug 21 13:26:13 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
5510 * m68k.md (adddi3, subdi3): "&" added to clobber's constraints.
5512 Mon Aug 21 12:11:14 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5514 * t-sparclite (MULTILIB_*, LIBGCC, INSTALL_LIBGCC): Define.
5516 * sh.md (movdi-1, movdf-1): Make conditional on reload_completed,
5517 delete conditions checking for pseudo registers and Q addresses.
5518 Add code to handle SUBREG.
5520 * local-alloc.c (wipe_dead_reg): Make a register mentioned in a
5521 REG_INC note die after the instruction.
5523 * m68k.md: For all dbra pattern, change constraint from 'g' to 'd*g'.
5525 * Makefile.in: (underscore.c): Rename rule to stamp-under, and
5526 touch stamp-under at the end. Add new rule for underscore.c that
5527 depends on stamp-under.
5529 * sh.c (reg_unused_after): For a SEQUENCE, make sure all insns are
5530 safe before returning 1.
5532 * sh.h (PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN): Define.
5534 * sh.c (output_stack_adjust): Add new argument reg. Use it instead
5535 of stack_pointer_rtx.
5536 (sh_expand_prologue, sh_expand_epilogue): Pass new argument to
5537 output_stack_adjust.
5539 Sat Aug 19 17:34:15 1995 Jim Wilson <wilson@phydeaux.cygnus.com>
5541 * sparc/gmon-sol2.c (_mcount): Define.
5542 * sparc/sol2.h (STARTFILE_SPEC, ENDFILE_SPEC): Delete superfluous
5544 (LINK_SPEC): Add libp directories to -Y when -pg.
5546 * unroll.c (calculate_giv_inc): Handle increment computed by ASHIFT.
5548 Sat Aug 19 17:28:56 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
5550 * m68k.md (subdi3): Should not be commutative.
5551 (one_cmpldi2): Fixed typo with register operand.
5553 Sat Aug 19 17:20:43 1995 Michael Meissner <meissner@cygnus.com>
5555 * rs6000.c (output_prolog): Fixup code to set stack pointer
5556 if stack size > 32k.
5557 * rs6000.md (sync_isync): Renamed from sync; added an isync insn
5558 after the sync to properly deal with PowerPC's with split I/D caches.
5559 * sysv4.h (INITIALIZE_TRAMPOLINE): Sync function now named sync_isync.
5561 Sat Aug 19 17:07:09 1995 Doug Evans <dje@canuck.cygnus.com>
5563 * h8300.h (STATIC_CHAIN_REGNUM): Use r3.
5564 (REGISTER_NAMES): Print r7 as sp.
5565 (ADDITIONAL_REGISTER_NAMES): Recognize r7.
5566 (ASM_OUTPUT_ALIGN): Alignment is power of 2.
5567 * h8300.md (fancy_btst,fancy_btst1): Branch target must be
5568 operand 0 for length attribute to work.
5570 Sat Aug 19 16:43:11 1995 Paul Franklin <paul@cs.washington.edu>
5572 * assert.h: Declare __eprintf with attribute noreturn.
5574 Sat Aug 19 16:40:12 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5576 * stddef.h: Don't define wchar_t if __cplusplus is defined.
5578 Tue Aug 15 18:01:01 1995 Paul Eggert <eggert@twinsun.com>
5580 * cccp.c (warning_with_line): Fix typo in declaration when
5581 !HAVE_VPRINTF and defined (__STDC__).
5583 Tue Aug 15 17:57:54 1995 Stephen L Moshier <moshier@world.std.com>
5585 * real.c (ediv, emul): Set sign bit of IEEE -0.0 result.
5587 Tue Aug 15 17:49:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5589 * expr.c (safe_from_p): Only safe if EXP is variable-size and X
5592 * stmt.c (fixup_gotos): When some fixups done, reset to point
5593 to next instead of zeroing TREE_VALUE, which may be shared.
5595 Mon Aug 14 09:15:45 1995 Doug Evans <dje@canuck.cygnus.com>
5597 * m68k/m68kemb.h (STARTFILE_SPEC): Define as empty.
5599 Mon Aug 14 09:08:57 1995 Pat Rankin <rankin@eql.caltech.edu>
5601 * vax.c (vms_check_external): Update `pending_head' properly
5602 when the first list element is removed.
5604 Mon Aug 14 09:01:32 1995 Jeffrey A. Law <law@adder.cygnus.com>
5606 * pa.md (call expanders): Emit a blockage insn after restoring
5607 %r19 when generating PIC.
5609 Sun Aug 13 21:58:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
5611 * toplev.c (main): Change text of unsupported -g option warning.
5613 Sun Aug 13 21:47:57 1995 Andrew McCallum <mccallum@graphite.cs.rochester.edu>
5615 * objc/selector.c (sel_get_any_typed_uid): New function.
5616 * objc/objc-api.h (sel_get_any_typed_uid): Declare new function.
5618 Sun Aug 13 21:43:17 1995 John Carr <jfc@mit.edu>
5620 * c-typeck.c (c_expand_asm_operands): Check for read-only output
5621 operand where the variable is read-only but the type is not.
5623 Sun Aug 13 21:16:12 1995 David Edelsohn <edelsohn@mhpcc.edu>
5625 * rs6000.c (direct_return): Epilogue required if CR saved.
5627 Sun Aug 13 19:09:25 1995 Jeff Law (law@snake.cs.utah.edu)
5629 * configure (hppa1.?-hp-hpux10): Recognize and treat just like hpux9.
5631 Sun Aug 13 19:07:23 1995 Doug Evans <dje@canuck.cygnus.com>
5633 * i960.md (movdi matchers): Fix src/dest order in unaligned
5636 Sun Aug 13 18:49:01 1995 DJ Delorie <dj@delorie.com>
5638 * i386/xm-dos.h (HAVE_STRERROR): New definition.
5640 * msdos/configur.bat: Add missing carriage return.
5642 Sun Aug 13 18:40:55 1995 Andrew Cagney <cagney@highland.com.au>
5644 * Makefile.in (USER_H): Add va-ppc.h.
5646 Sun Aug 13 18:36:17 1995 M. Warner Losh <imp@village.org>
5648 * stmt.c (expand_asm_operands): Type '0'..'4' operands may
5649 allow regs, so move them to the default case.
5651 Sun Aug 13 18:32:35 1995 Paul Eggert <eggert@twinsun.com>
5653 * cccp.c (warning_with_line): New function.
5654 (trigraph_pcp): Use it, to avoid reporting line number.
5655 (vwarning_with_line): Don't report line number if zero.
5657 Sun Aug 13 18:23:08 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5659 * toplev.c (vmessage): Support four arguments.
5661 Sun Aug 13 18:19:51 1995 Michael Meissner <meissner@cygnus.com>
5663 * ginclude/stdarg.h: Add ppc svr4 calling sequence support.
5664 * ginclude/varargs.h: Likewise.
5665 * ginclude/va-ppc.h: New file.
5667 Sun Aug 13 18:05:20 1995 Michael Gschwind <mike@donoussa.vlsivie.tuwien.ac.at>
5669 * configure (pdp-*-*): Add support for t-pdp11.
5670 * t-pdp11: New file.
5671 * Makefile.in (LIBGCC2_CFLAGS): Add TARGET_LIBGCC2_CFLAGS.
5673 Sun Aug 13 14:50:58 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5675 * final.c (final_start_function): Always call sdbout_begin_function
5676 and xcoffout_begin_function, even if no line number info.
5678 * mips/abi64.h (SETUP_INCOMING_VARARGS): In if statement, only
5679 subtract one for stdarg. Don't subtract PRETEND_SIZE from
5680 argument pointer when calculating stack address.
5681 * mips.h (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract
5682 current_function_pretend_args_size when converting from argument
5684 * va-mips.h (va_start): For stdarg, delete separate define for
5685 64 bit ABI. For varargs, don't subtract 64, and only add -8 when
5686 all argument registers are used.
5688 * gcc.c (main): When concat gcc_exec_prefix and
5689 standard_startfile_prefix, put machine_suffix in the middle.
5691 * iris6.h (INIT_SECTION_ASM_OP): Don't define.
5692 (LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef.
5693 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out.
5694 * configure (mips-sgi-irix6, mips-sgi-irix5cross64): Define
5695 use_collect2 to yes.
5697 * combine.c (move_deaths): When have a multi-reg hard register,
5698 if don't find a note, then recur for each individual hard register.
5700 * cse.c (set_nonvarying_address_components): Handle addresses
5701 which are the sum of two constant pseudo regs.
5702 (cse_rtx_addr_varies_p): Likewise.
5704 * Makefile.in (gfloat.h): Add a - before the rm command.
5706 * loop.c (find_and_verify_loops): Set dest_loop only if
5707 JUMP_LABEL (insn) is nonzero.
5709 Mon Jul 31 14:31:53 1995 Ian Lance Taylor <ian@cygnus.com>
5711 * fixincludes: Avoid clobbering VxWorks drv/netif/if_med.h file.
5713 Sat Jul 29 16:21:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5715 * collect2.c: (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and
5716 XCOFF_DEBUGGING_FORMAT.
5717 (SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS.
5719 Sat Jul 29 16:19:42 1995 Stuart D. Gathman <stuart@bmsi.com>
5721 * collect2.c (scan_libraries): Implement for AIX.
5723 Sat Jul 29 09:59:33 1995 Michael Gschwind <mike@lanai.vlsivie.tuwien.ac.at>
5725 * configure: (pdp11-*-bsd) New target.
5728 * pdp11.c (output_move_double): Handle CONST_INT parameters properly.
5729 * pdp11.h (RTX_COSTS): Fill in missing default values.
5730 * pdp11.md (truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2):
5731 Allow register parameters, required by gcc to generate correct code.
5732 * xm-pdp11.h: Include tm.h.
5734 Sat Jul 29 09:55:17 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5736 * configure (m68k-*-linux*aout*, m68k-*-linux*): New targets.
5737 * m68k/linux-aout.h, m68k/linux.h, m68k/t-linux, m68k/xm-linux.h: New.
5738 * m68k.md [USE_GAS]: Output `jbsr' instead of `jsr' for normal
5739 function calls and `bsr.l' instead of `bsr' for pic function calls.
5741 Sat Jul 29 09:44:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5743 * sh.h (CAN_DEBUG_WITHOUT_FP): Comment out.
5745 * reload.c (find_reloads_address_1, case PLUS): When handle SUBREG,
5746 add SUBREG_WORD offset to SUBREG_REG register number.
5747 (find_reloads_address_1, case SUBREG): If a pseudo register inside
5748 a SUBREG is larger than the class, then reload the entire SUBREG.
5749 * sh.h (SUBREG_OK_FOR_INDEX_P): New macro.
5750 (INDEX_REGISTER_RTX_P): Use it.
5752 Sat Jul 29 09:33:19 1995 Doug Evans <dje@canuck.cygnus.com>
5754 * mips/netbsd.h (CPP_SPEC): Fix typo.
5756 * configure (a29k-*-vxworks*): Define extra_parts for crt{begin,end}.o.
5757 * t-a29k, t-a29kbase, t-vx29k ({,CROSS_}LIBGCC1): Define as empty.
5759 Sat Jul 29 09:15:17 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5761 * pa/lib2funcs.asm (gcc_plt_call): Rewrite to avoid the need
5762 for being called by _sr4export. Inline expand $$dyncall to
5763 avoid the need for long-call and PIC support.
5765 Sat Jul 29 07:30:04 1995 Oliver Kellogg (Oliver.Kellogg@space.otn.dasa.de)
5767 * ms1750.inc (ucim.m, ucr.m, uc.m): New.
5768 * 1750a.md (cmpqi): Account for unsigned comparisons.
5769 (rotrqi3, rotrhi3): Reworked.
5770 * 1750a.c (notice_update_cc): INCM and DECM set condition codes.
5771 (unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns.
5772 * 1750a.h (FUNCTION_EPILOGUE): Local variables freed from SP, not FP.
5773 (ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR.
5774 (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name.
5776 Fri Jul 28 09:40:07 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5778 * pa.h (DO_GLOBAL_DTORS_BODY): Use an asm statement to keep optimizer
5779 from deleting an assignment it believes dead.
5781 Fri Jul 28 08:47:51 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5783 * unroll.c (unroll_loop): When preconditioning, output code to
5784 execute loop once if initial value is greater than or equal to final
5787 * configure (lang_specs_files, lang_options_files): Add $srcdir to
5788 file names when adding them to these variables.
5790 * c-typeck.c (pointer_int_sum): Don't distribute if intop is unsigned
5791 and not the same size as ptrop.
5793 * function.c (assign_stack_temp): When split a slot, set base_offset
5794 and full_size in the newly created slot.
5795 (combine_temp_slots): Update full_size when slots are combined.
5797 * sh.c (reg_unused_after): New function.
5798 * sh.md (define_peephole): Add peepholes to use r0+rN addressing mode
5799 for some address reloads.
5801 * final.c (final_start_function): If SDB_DEBUG, call
5802 sdbout_begin_function. If XCOFF_DEBUG, call xcoffout_begin_function
5803 instead of xcoffout_output_first_source_line.
5804 (final_scan_insn): Don't call sdbout_begin_function or
5805 xcoffout_begin_function.
5806 * xcoffout.c (xcoffout_output_first_source_line): Delete.
5807 (xcoffout_begin_function): Call dbxout_parms and
5808 ASM_OUTPUT_SOURCE_LINE.
5810 * va-mips.h: Change every occurrence of #if __mips>=3 to
5812 * mips/abi64.h (CPP_SPEC): Output -D__mips64 when -mips3, or -mips4,
5813 or -mgp64. Output -U__mips64 when -mgp32.
5814 * mips/dec-bsd.h, mips/elf64.h, mips/iris3.h: Likewise.
5815 * mips/iris5.h, mips/mips.h, mips/netbsd.h, mips/osfrose.h: Likewise.
5817 * i960.c (i960_function_epilogue): Don't clear g14 for functions with
5819 (i960_output_reg_insn): Likewise.
5820 (i960_output_call_insn): Clear g14 for functions wtih an argument
5823 Fri Jul 28 08:43:52 1995 Doug Evans <dje@canuck.cygnus.com>
5825 * i960.c (i960_arg_size_and_align): Correct alignment of XFmode
5826 values in library calls.
5827 * i960.md (movdi matchers): Support odd numbered regs.
5829 Fri Jul 28 08:37:25 1995 Michael Gschwind <mike@lanai.vlsivie.tuwien.ac.at>
5831 * pdp11.md (divhi3, modhi3, divmodhi4): Rewrite.
5833 Wed Jul 26 10:15:52 1995 Hallvard B Furuseth (h.b.furuseth@usit.uio.no)
5835 * collect2.c (end_file): Fix typo in error message text.
5837 Wed Jul 26 09:22:22 1995 Jeff Law (law@snake.cs.utah.edu)
5839 * xm-pa.h (USE_C_ALLOCA): Always define.
5840 * xm-pahpux.h (USE_C_ALLOCA): Likewise.
5842 * x-pa (CC): Remove useless definition.
5843 * xm-pa.h (HAVE_STRERROR): Define.
5844 (__BSD_NET2__): Define.
5846 Wed Jul 26 09:10:25 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5848 * expr.c (preexpand_calls): Don't look past a CLEANUP_POINT_EXPR.
5850 Wed Jul 26 08:43:42 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5852 * cse.c (cse_insn): When do special handling for (set REG0 REG1),
5853 must delete REG_EQUAL note from insn if it mentions REG0.
5855 * loop.c (find_and_verify_loops): When moving blocks of code, verify
5856 that the just destination is not in an inner nested loop.
5857 (mark_loop_jump): Don't mark label as loop exit if it jumps to
5858 an inner nested loop.
5860 Wed Jul 26 08:40:31 1995 Paul Eggert <eggert@twinsun.com>
5862 * cccp.c (do_include, read_name_map): Omit leading "./" and
5863 trailing "/" when it makes sense.
5864 (skip_redundant_dir_prefix): New function.
5866 Wed Jul 26 08:36:41 1995 Michael Meissner <meissner@cygnus.com>
5868 * stmt.c (emit_nop): Do not emit a nop if there is a single
5869 insn before a label or at the start of a function.
5871 Wed Jul 26 08:21:21 1995 Doug Evans <dje@cygnus.com>
5873 * Makefile.in (gfloat.h): Delete previous copy before updating.
5875 Wed Jul 26 08:18:29 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
5877 * Makefile.in (STAGESTUFF): Add stamp-crtS.
5878 (crtbeginS.o, crtendS.o, stamp-crtS): New rules; just like
5879 crtbegin.o et al, but compiled using -fPIC.
5880 * configure (*-*-gnu*): Add crtbeginS.o and crtendS.o to $extra_parts.
5882 Wed Jul 26 08:11:52 1995 Michael Gschwind <mike@java.vlsivie.tuwien.ac.at>
5884 * pdp11.md: Fixed typos ('bhos' -> 'bhis').
5886 Wed Jul 26 08:05:41 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5888 * hp320.h, m68k.h, m68kv4.h (LEGITIMATE_PIC_OPERAND_P): Reject
5889 CONST_DOUBLE with MEM with invalid pic address.
5890 * reload1.c (real.h): Include it.
5891 * Makefile.in (reload1.o): Depends on real.h.
5893 Wed Jul 26 07:58:22 1995 Ian Lance Taylor <ian@cygnus.com>
5895 * gcc.c (MULTILIB_DIRS): Provide default if not defined.
5896 (multilib_defaults): New static variable.
5897 (default_arg): New static function.
5898 (set_multilib_dir): Ignore default arguments.
5899 (print_multilib_info): Ignore entries which use default arguments.
5901 Tue Jul 25 10:06:09 1995 Michael Meissner <meissner@cygnus.com>
5903 * rs6000.md (allocate_stack): Don't copy the LR register to
5905 * rs6000.c (rs6000_stack_info): Correctly store the LR in
5906 the caller's frame, not the current frame, for V.4 calls.
5907 * rs6000/eabi.asm (_save*, _rest*): Provide all mandated V.4 save
5908 and restore functions, except for the save*_g functions which
5909 return the GOT address.
5911 Fri Jul 21 14:24:25 1995 Michael Meissner <meissner@cygnus.com>
5913 * rs6000/eabi.h (__eabi): Load up r13 to be the small data
5914 pointer, unless -mrelocatable.
5916 * rs6000/aix3newas.h (LINK_SPEC): Import machine independent
5917 functions if -mcpu=common.
5918 * rs6000/milli.exp: Import file referenced in aix3newas.h.
5920 * rs6000/eabi.asm (__eabi): Support for fixing up user initialized
5921 pointers when -mrelocatable is used.
5922 * rs6000/eabi.h (ASM_OUTPUT_INT): Record any pointers initialized
5923 by the user if -mrelocatable, to be fixed up by __eabi.
5924 (CONST_SECTION_ASM_OP): If -mrelocatable, put read-only stuff in .data,
5925 not .rodata, to allow user initialized pointers to be updated by __eabi.
5927 * rs6000.h (TARGET_SWITCHES): Add -mdebug-{stack,arg}.
5928 (TARGET_{ELF,NO_TOC,TOC}): Add defaults for non system V.
5929 (rs6000_stack): New structure to describe stack layout.
5930 (RS6000_{REG_SAVE,SAVE_AREA,VARARGS_*}): New macros used to
5931 support both AIX and V.4 calling sequences.
5932 (FP_ARG_*, GP_ARG_*): Ditto.
5933 (FP_SAVE_INLINE): Ditto.
5934 (STARTING_FRAME_OFFSET): Modify to support both AIX and V.4
5936 (FIRST_PARM_OFFSET): Ditto.
5937 (REG_PARM_STACK_SPACE): Ditto.
5938 (STACK_POINTER_OFFSET): Ditto.
5939 (FUNCTION_ARG_REGNO_P): Ditto.
5940 ({,INIT_}CUMULATIVE_ARGS): Ditto.
5941 (LEGITIMATE_LO_SUM_ADDRESS_P): Ditto.
5942 (FUNCTION_ARG{,_ADVANCE,PARTIAL_NREGS,PASS_BY_REFERENCE}): Ditto.
5943 (SETUP_INCOMING_VARARGS): Ditto.
5944 (EXPAND_BUILTIN_SAVEREGS): Ditto.
5945 (CAN_ELIMINATE): Ditto.
5946 (INITIAL_ELIMINATION_OFFSET): Ditto.
5947 (LEGITIMATE_CONSTANT_POOL_{BASE,ADDRESS}_P): Ditto.
5948 (GO_IF_{LEGITIMATE_ADDRESS,MODE_DEPENDENT_ADDRESS}): Ditto.
5949 (LEGITIMIZE_ADDRESS): Ditto.
5950 (CONST_COSTS): Ditto.
5951 (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Ditto.
5952 (ASM_OUTPUT_REG_{PUSH,POP}): Use reg_names to print registers.
5953 (function declarations): Add new rs6000.c function declarations,
5954 and delete decls of deleted functions.
5955 (SHIFT_COUNT_TRUNCATED): Parenthesize the expression.
5957 * rs6000.c (init_cumulative_args): New function to support AIX
5958 and V.4 calling sequences.
5959 (function_arg{,_advance,partial_nregs,pass_by_reference}): Ditto.
5960 (setup_incoming_varargs): Ditto.
5961 (expand_builtin_saveregs): Ditto.
5962 (rs6000_stack_info): Ditto.
5963 (debug_stack_info): Ditto.
5964 (direct_return): Changes to support AIX and V.4 calling sequences.
5965 (first_reg_to_save): Ditto.
5966 (svr4_traceback): Ditto.
5967 (output_{prolog,epilog}): Ditto.
5968 (print_operand): Use reg_names to print registers. Add support
5969 for V.4 HIGH/LO_SUM address modes.
5970 (must_save_cr): Function deleted, in rewrite of AIX/V.4 calling
5972 (rs6000_sa_size): Ditto.
5973 (rs6000_pushes_stack): Ditto.
5974 (output_toc): Add abort if no toc.
5976 * rs6000.md (call insns): Add a new argument to flag a V.4
5977 function needs to set bit 6 of the CR.
5978 (elf_{low,high}): New V.4 functions to create addresses via HIGH
5979 and LO_SUM patterns.
5980 (movsi): Use elf_{low,high} if appropriate.
5981 (mov{si,di}_update): Name these patterns for allocate_stack.
5982 (allocate_stack): Support for V.4 stack layout.
5983 (sync): New pattern for V.4 trampolines to issue the sync
5986 * rs6000/sysv4.h (TARGET_SWTICHES): Add -mcall-{aix,sysv}, and
5987 -mprototype. Remove separate flag bit for -mno-toc.
5988 (SUBTARGET_OVERRIDE_OPTIONS): Don't test for -mno-toc.
5989 (FP_ARG_*): Adjust for V.4 calling sequences.
5991 (FP_SAVE_INLINE): Ditto.
5992 (toc_section): Eliminate use of AIX style full TOC.
5993 (TRAMPOLINE_{TEMPLATE,SIZE}): Redefine for V.4 support.
5994 (INITIALIZE_TRAMPOLINE): Ditto.
5996 * rs6000/eabi.h (CPP_SPEC): Define _CALL_SYSV or _CALL_AIX,
5997 depending on whether -mcall-sysv or -mcall-aix was used.
5998 * rs6000/eabile.h (CPP_SPEC): Ditto.
5999 * rs6000/sysv4le.h (CPP_SPEC): Ditto.
6001 * rs6000/t-eabigas (MULTILIB_{OPTIONS,DIRNAMES}): Delete no-toc
6002 libraries, explicit big endian libraries.
6003 * rs6000/t-ppcgas (MULTILIB_{OPTIONS,DIRNAMES}): Ditto.
6005 * rs6000/t-eabiaix: New file for eabi, using -mcall-aix as the
6007 * rs6000/eabiaix.h: Ditto.
6009 * rs6000/t-eabilegas: New file for eabi on little endian systems.
6010 * rs6000/t-ppclegas: New file for V.4 on little endian systems.
6012 * rs6000/t-rs6000 (MULTILIB_{OPTIONS,DIRNAMES}): Build libgcc.a
6015 * configure (powerpc-*-eabiaix): New configuration for defaulting
6016 to old-style AIX calling sequence.
6017 (powerpcle*): Use new t-{eabi,ppc}legas files, to avoid building
6018 explicit little endian multilib libraries.
6020 Fri Jul 21 13:23:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6022 * toplev.c (main): Don't define sbrk #ifdef __alpha__.
6024 Tue Jul 18 19:23:44 1995 Paul Eggert <eggert@twinsun.com>
6026 * cccp.c (do_include): Prefix -H output lines with spaces, not dots.
6027 (output_dots): Remove.
6029 * cccp.c (main): cplusplus_comments now defaults to 1.
6030 But clear it if -traditional or the new option -lang-c89 is given.
6031 * gcc.c (default_compilers, cpp): Specify -lang-c89 if -ansi is given.
6032 This turns off C++ comment recognition.
6034 Tue Jul 18 19:16:38 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6036 * va-sparc.h (va_arg): Add support for 128 bit long double type.
6038 Tue Jul 18 19:11:18 1995 Jorn Rennecke (amylaar@meolyon.hanse.de)
6040 * c-common.c (decl_attributes, case A_ALIGNED): Handle is_type
6043 Tue Jul 18 19:03:02 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6045 * fold-const.c (fold, case CONVERT_EXPR): Don't merge conversions
6046 if outer is to handle a type with differing precision.
6048 Mon Jul 17 14:37:35 1995 Pat Rankin (rankin@eql.caltech.edu)
6050 * vax/vms.h (HAVE_ATEXIT): Define.
6051 (DO_GLOBAL_CTORS_BODY): Don't call atexit; let __do_global_ctors do it.
6052 * vax/xm-vms.h (HAVE_VPRINTF): Define.
6054 Mon Jul 17 06:41:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6056 * c-typeck.c ({unsigned,signed}_type): Handle intXX_type_node types.
6058 * xm-alpha.h (sbrk): Add declaration.
6060 * convert.c (convert_to_integer): If TYPE is an enumeral type or
6061 if its precision is not the same as the size of its mode,
6062 convert in two steps.
6064 * m68k.md (tstdi, cmpdi): Use match_scratch, not match_operand.
6066 Fri Jul 14 19:23:42 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6068 * c-decl.c (field_decl_cmp): Rewritten to make sure that a null
6069 name always sorts low against other names.
6070 * c-typeck.c (lookup_field): Change name comparison to match what
6071 field_decl_cmp does.
6073 Fri Jul 14 18:46:24 1995 Michael Meissner <meissner@cygnus.com>
6075 * rs6000.md (movsi): Convert a CONST_DOUBLE into a CONST_INT of
6078 Fri Jul 14 18:30:52 1995 Doug Evans <dje@cygnus.com>
6080 * toplev.c (main): Reword dwarf/c++/-g warning.
6082 Fri Jul 14 18:19:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6084 * expr.h (NO_DEFER_POP): Remove last change.
6085 * expr.c (stor_expr): Force stack adjust before NO_DEFER_POP.
6086 (expand_expr, case COND_EXPR): Likewise.
6087 * stmt.c (expand_start_stmt_expr): Likewise.
6089 Fri Jul 14 07:58:35 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6091 * function.c (struct temp_slot): New fields base_offset, full_size.
6092 (assign_stack_temp): For !FRAME_GROWS_DOWNWARD, set p->size to size.
6093 Set new fields base_offset and full_size.
6094 (combine_temp_slots): Use new fields base_offset and full_size instead
6097 * loop.c (loop_number_exit_count): New global variable.
6098 (loop_optimize): Allocate space for it.
6099 (find_and_verify_loops, mark_loop_jump): Set it.
6100 (strength_reduce, check_dbra_loop): Use loop_number_exit_count
6101 instead of loop_number_exit_labels.
6102 * loop.h (loop_number_exit_count): Declare it.
6103 * unroll.c (find_splittable_{regs,givs}, final_[bg]iv_value): Use
6104 loop_number_exit_count instead of loop_number_exit_labels.
6105 (reg_dead_after_loop): Check loop_number_exit_count, and fail
6106 if the count doesn't match loop_number_exit_labels.
6108 * cse.c (cse_insn): Ifdef out code that pre-truncates src_folded.
6110 * sparc.md (sethi_di_sp64): Return null string at end.
6112 * function.h (struct function): Add stdarg field.
6113 * function.c (current_function_stdarg): New global variable.
6114 (push_function_context_to): Save it.
6115 (pop_function_context_from): Restore it.
6116 (assign_parms): Set it.
6117 (init_function_start): Clear it.
6118 * output.h (current_function_stdarg): Declare it.
6119 * i960.md: Modify all patterns which handle stores to memory to also
6120 check current_function_varargs and current_function_stdarg.
6122 * reorg.c (fill_simple_delay_slots): When trying to take instruction
6123 from after the branch, don't continue past target label. Local
6124 variables passed_label and target_uses are no longer necessary.
6126 Thu Jul 13 19:30:04 1995 Jeff Law (law@snake.cs.utah.edu)
6128 * pa.c (output_bb): Fix error in long backwards branch with
6129 nullified delay slot.
6131 Thu Jul 13 19:26:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6133 * expmed.c (SHIFT_COUNT_TRUNCATED): Use #ifdef not #if.
6135 Mon Jul 10 20:16:44 1995 Paul Eggert <eggert@twinsun.com>
6137 * cccp.c (rescan): Don't address outside of array when
6138 preprocessing C++ comments.
6140 Mon Jul 10 20:05:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6142 * rs6000.c (expand_block_move): Remove #if 0 conditionals
6143 against using larger block moves.
6145 * t-rs6000 (EXTRA_PARTS): Copy milli.exp to release dir.
6146 (milli.exp): Copy to build dir from machine dependend dir.
6148 Mon Jul 10 20:03:29 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6150 * arm.md (matcher for (shiftable_op (cond-exp) (reg))): If
6151 shiftable_op is minus, then subtract from zero when cond fails.
6153 Mon Jul 10 19:58:26 1995 John F. Carr <jfc@mit.edu>
6155 * sparc.h (SELECT_SECTION): Use TREE_CODE_CLASS instead of directly
6156 referencing tree_code_type.
6158 Mon Jul 10 19:54:31 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6160 * protoize.c (reverse_def_dec_list): Delete const qualifiers from
6161 local variables, and delete casts which were casting away const.
6163 Mon Jul 10 19:14:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6165 * c-lang.c (finish_file): Add missing parm to start_function call.
6167 * jump.c (jump_optimize): Pass outer_code arg to rtx_cost.
6169 * varasm.c (assemble_name, bc_assemble_integer): Call
6170 bc_emit_labelref with proper args.
6172 * function.c (setjmp_args_warning): Remove bogus arg.
6174 Mon Jul 10 18:20:54 1995 Fergus Henderson (fjh@cs.mu.oz.au)
6176 * gcc.c (p{fatal,error}_with_name, perror_exec): Quote filename.
6178 Mon Jul 10 18:12:51 1995 Gran Uddeborg (uddeborg@carmen.se)
6180 * i386/iscdbx.h (STARTFILE_SPEC): Handle -Xp.
6182 Wed Jul 5 02:42:17 1995 Per Bothner (bothner@spiff.gnu.ai.mit.edu)
6184 * cpphash.h (enum node_type): Remove unneeded and non-standard
6185 forward declaration.
6187 Sat Jul 1 20:15:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6189 * mips/t-mips, mips/t-mips-gas (MULTILIB_*, LIBGCC, INSTALL_LIBGCC):
6192 * sparc/sol2.h (LINK_SPEC): Revert March 16 change. Do not add -R
6195 * collect2.c (libcompare): Verify that file name extensions are valid.
6196 Put files with invalid extensions last in the sort.
6198 * integrate.c (integrate_decl_tree): Set DECL_ABTRACT_ORIGIN before
6199 pushdecl call for local variables.
6201 Sat Jul 1 08:13:38 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6203 * cpplib.c (output_line_command): If not emitting #line directives
6204 delay returning until after adjust_position has been called.
6206 * arm.md (mov{si,sf,df}cc): Call gen_compare_reg to generate
6207 the condition code register.
6209 Sat Jul 1 06:55:09 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6211 * fold-const.c (decode_field_reference): New parm PAND_MASK.
6212 (unextend): New parm MASK.
6213 (fold_truthop): Pass new parms to decode_field_reference and unextend.
6215 * va-alpha.h (__va_tsize): Use __extension__ to avoid warning
6216 on use of `long long'.
6218 * expr.h (NO_DEFER_POP): Do any pending stack adjusts.
6220 * recog.c (register_operand): Disallow subreg of reg not allowed to
6223 Thu Jun 29 05:51:57 1995 Jeff Law (law@snake.cs.utah.edu)
6225 * pa.md (reload addsi3): New pattern to avoid reload lossage
6226 with register eliminations.
6228 * pa.c (output_cbranch): When checking for a jump to the given
6229 insn's delay slot, handle the case where JUMP_LABEL for the
6230 given insn does not point to the first label in a series of
6232 (output_bb, output_dbra, output_movb): Likewise.
6234 Wed Jun 28 18:04:56 1995 Jeff Law (law@snake.cs.utah.edu)
6236 * pa.h (PIC_OFFEST_TABLE_REGNUM_SAVED): Define to %r4.
6237 (CONDITIONAL_REGISTER_USAGE): Make it fixed when compiling
6239 (INIT_EXPANDERS): Delete.
6240 * pa.c (hppa_save_pic_table_rtx): Delete variable.
6241 (hppa_expand_prologue): For PIC generation, copy the PIC
6242 register into a fixed callee register at the end of the
6243 prologue of non-leaf functions.
6244 * pa.md (call expanders): Reload the PIC register from the
6245 fixed callee saved register. Don't try to save the PIC
6246 register before the call.
6248 Wed Jun 28 18:01:14 1995 Stan Cox (coxs@dg-rtp.dg.com)
6250 * m88k/dguxbcs.h (ASM_SPEC): Removed -h flag.
6251 * m88k/dgux.h (ASM_SPEC): Likewise.
6253 Wed Jun 28 17:01:58 1995 David Edelsohn <edelsohn@mhpcc.edu>
6255 * rs6000.c (processor_target_table): Remove CPU name synonyms.
6256 * rs6000.h (CPP_SPEC): Likewise.
6257 * rs6000/sysv4.h (CPP_SPEC): Likewise.
6258 (ASM_SPEC): Likewise.
6259 * rs6000/sysv4le.h (CPP_SPEC): Likewise.
6260 * rs6000/eabile.h (CPP_SPEC): Likewise.
6261 * rs6000/powerpc.h (CPP_SPEC): Likewise.
6262 (ASM_SPEC): Set assembler target according to compiler target.
6263 * rs6000/aix3newas.h (CPP_SPEC): Likewise.
6264 (ASM_SPEC): Likewise.
6265 * rs6000/aix41.h (CPP_SPEC): Likewise.
6266 (ASM_SPEC): Likewise.
6268 Wed Jun 28 16:25:53 1995 Gran Uddeborg (uddeborg@carmen.se)
6270 * i386/x-isc3 (INSTALL_HEADERS_DIR): Delete; done by configure.
6272 Wed Jun 28 16:10:47 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6274 * xm-rs6000.h (alloca): Extern decl added for non-GNU compiler.
6276 Wed Jun 28 11:31:30 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6278 * cpplib.c (progname): Remove definition from here.
6280 * final.c (final_scan_insn): Fix error in last change.
6282 * rtlanal.c (reg_set_p_1): Now static; add extra parm.
6284 * stmt.c: Delete redundant forward decls.
6285 (expand_anon_union_decl): Correctly call expand_decl.
6287 * toplev.c (strip_off_ending): Strip off any ending; don't
6288 pretend we know what valid endings are.
6290 * svr4.h (ASM_OUTPUT_SECTION_NAME): Don't crash if DECL is null.
6292 * rs6000.md ({load,store}_multiple): Don't use indirect_operand
6293 in define_insn; use explicit MEM of register_operand instead.
6295 Tue Jun 27 11:42:56 1995 Stephen L Moshier <moshier@world.std.com>
6297 * i386/i386.c (print_operand, case `J'): Use jns for GE and js for
6300 Tue Jun 27 07:58:55 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6302 * expr.c (expand_expr, TARGET_EXPR): Only use original_target
6305 Tue Jun 27 07:27:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6307 * fold-const.c (fold_truthop): Commute unextend and convert on
6308 l_const and r_const.
6310 * c-common.c (decl_attributes, case A_CONSTRUCTOR, A_DESTRUCTOR):
6313 * final.c (final_scan_insn): Don't call alter_cond unless
6314 condition is on cc0.
6316 * stmt.c (expand_asm_operands): Handle input operands that may not
6319 Mon Jun 26 19:23:05 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6321 * arm/lib1funcs.asm (L_dvmd_tls): Renamed from L_divmodsi_tools.
6322 * arm/t-semi (LIB1ASMFUNCS): Rename _dvmd_tls from _divmodsi_tools.
6324 Mon Jun 26 19:18:06 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6326 * unroll.c (find_splittable_regs): When completely unrolling loop,
6327 check for non-invariant initial biv values.
6329 Mon Jun 26 19:13:54 1995 Gran Uddeborg <uddeborg@carmen.se>
6331 * configure (i[345]86-*-isc*): Fix misspelled "rfile" to "ifile".
6333 Mon Jun 26 18:58:22 1995 Mike Stump <mrs@cygnus.com>
6335 * expr.c (expand_expr, case COND_EXPR): Protect the condition from
6336 being evaluated more than once.
6337 (do_jump, case TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR): Likewise.
6339 Mon Jun 26 18:52:36 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6341 * fixincludes (string.h): Fix return value for mem{ccpy,chr,cpy,set}
6342 and str{len,spn,cspn} on sysV68.
6344 Mon Jun 26 06:54:50 1995 Michael Meissner (meissner@cygnus.com)
6346 * i386/osfrose.h (LONG_DOUBLE_TYPE_SIZE): Go back to making long
6349 Thu Jun 22 19:14:41 1995 Pat Rankin (rankin@eql.caltech.edu)
6351 * make-cc1.com (if DO_LINK): Skip c-parse.* processing when
6353 (gas_message): Update to reflect current version, and give
6354 a different message if/when no version of gas is found.xo
6356 Thu Jun 22 18:52:37 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6358 * arm/lib1funcs.asm (___modsi3): Correctly set SIGN register for
6359 modulo involving negative numbers.
6361 Thu Jun 22 18:32:27 1995 Uwe Seimet (seimet@chemie.uni-kl.de)
6363 * xm-atari.h (HZ): Now 100 and don't define if already defined.
6365 Thu Jun 22 18:26:12 1995 Jeffrey A Law (law@snake.cs.utah.edu)
6367 * calls.c (expand_call): Correctly handle returning BLKmode
6368 structures in registers when the size of the structure is not
6369 a multiple of word_size.
6370 * stmt.c (expand_return): Likewise.
6372 * pa-gux7.h (LIB_SPEC): Undefine before redefining.
6373 * pa-hpux.h (LIB_SPEC): Likewise.
6374 * pa-hpux7.h (LIB_SPEC): Likewise.
6376 * genmultilib: Work around hpux8 /bin/sh case bug.
6378 * pa.h (LIB_SPEC): Define to avoid -lg.
6380 Thu Jun 22 18:19:09 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6382 * expr.c (expand_expr, TARGET_EXPR): Use original_target.
6384 * collect2.c (locatelib): Fix parsing of LD_LIBRARY_PATH.
6386 Thu Jun 22 18:15:54 1995 Paul Eggert <eggert@twinsun.com>
6388 * configure: Create an empty Makefile.sed first, to work
6389 around a Nextstep 3.3 bug.
6391 Thu Jun 22 18:03:44 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6393 * Makefile.in (STAGESTUFF): Add stamp-crt.
6394 (crtbegin.o, crtend.o): Now depend on stamp-crt.
6395 (stamp-crt): New rule, to actually build crt{begin,end}.o.
6397 * collect2.c (main): Unlink export_file before we return.
6399 Thu Jun 22 14:25:56 1995 Michael Meissner (meissner@cygnus.com)
6401 * rs6000.h (STRIP_NAME_ENCODING): Store NAME and strlen(NAME) into
6402 local variables; cast result of alloca to avoid compiler warnings.
6404 Tue Jun 20 18:25:29 1995 Douglas Rupp (drupp@cs.washington.edu)
6406 * alpha/config-nt.sed, i386/config-nt.sed: Edit to add
6407 a missing $(exeext) for CCCP.
6409 Tue Jun 20 18:18:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6411 * protoize.c (default_include): Use name and two ints to be
6412 compatible with definition of INCLUDE_DEFAULTS.
6414 Mon Jun 19 19:24:29 1995 Ted Lemon <mellon@toccata.fugue.com>
6416 * mips/netbsd.h (ASM_DECLARE_FUNCTION_NAME): Don't emit function label.
6418 Mon Jun 19 18:34:55 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6420 * fixincludes: Don't define wchar_t under C++.
6422 Mon Jun 19 17:12:41 1995 Paul Eggert <eggert@twinsun.com>
6424 * cccp.c (collect_expansion): Work around enum bug in vax
6426 * tree.c (simple_cst_equal): Likewise.
6428 Mon Jun 19 16:53:00 1995 Douglas Rupp (drupp@cs.washington.edu)
6430 * winnt/spawnv.c: New file.
6432 Mon Jun 19 16:30:29 1995 Glenn Brown <glenn@mars.myri.com>
6434 * caller-save.c (save_call_clobbered_regs): If AUTO_INC_DEC, mark
6435 register indicated by REG_INC notes as live so they will be saved.
6437 Mon Jun 19 16:21:12 1995 Jeffrey A Law (law@snake.cs.utah.edu)
6439 * pa.h (PRINT_OPERAND_ADDRESS, case LOW_SUM): Fix logic bug
6442 Mon Jun 19 14:11:49 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6444 * integrate.c (integrate_decl_tree): Only set DECL_ABSTRACT_ORIGIN
6445 if the decl returned by pushdecl is the one we started with.
6447 * mips.h (current_function_name): Delete declaration.
6448 (ASM_DECLARE_FUNCTION_NAME): Don't set current_function_name.
6449 * gnu.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
6450 * mips.c (current_function_decl): Delete declaration.
6451 (function_prologue): New variable fnname. Use it instead of
6452 current_function_name.
6453 (function_epilogue): Likewise.
6455 Mon Jun 19 13:13:15 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6457 * alpha.h (ASM_OUTPUT_ASCII): Always reset line count when
6460 * scan-decls.c (scan_decls): Fix typo when resetting PREV_ID_START.
6462 * i386/config-nt.sed, alpha/config-nt.sed: Change version to 2.7.1.
6464 Mon Jun 19 13:06:14 1995 DJ Delorie (dj@delorie.com)
6466 * msdos/top.sed: Support new build variables.
6467 * msdos/configur.bat: Make options.h and specs.h.
6468 Change realclean to maintainer-clean.
6470 Fri Jun 16 06:54:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6472 * Version 2.7.0 Released.
6474 * obstack.c: Always enable this code for now.
6476 * alpha.c (alpha_builtin_saveregs): Use ptr_mode and conversions
6477 when need so works for both OSF and NT.
6478 * va-alpha.h (__va_tsize): Round to long long not long.
6480 Thu Jun 15 17:54:52 1995 Bdale Garbee <bdale@gag.com>
6482 * configure (a29k-*-coff): Synonym for a29k-*-udi.
6484 Thu Jun 15 17:51:21 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6486 * function.c (assign_parms): Do all conversions in CONVERSION_INSNS.
6488 Thu Jun 15 17:36:49 1995 Michael Meissner <meissner@cygnus.com>
6490 * reg-stack.c (record_reg_life): Call record_reg_life_pat with 0
6491 for douse argument so that USE's created to mark variables within
6492 blocks don't get marked as set.
6494 Thu Jun 15 06:28:15 1995 Dennis Glatting (dennisg@CyberSAFE.COM)
6496 * configure: Change one sed command to work around m68k-next bug.
6498 Wed Jun 14 22:14:39 1995 Jason Merrill <jason@deneb.cygnus.com>
6500 * collect2.c (main): Don't turn off auto_export because of -g.
6501 (main): Ignore the argument to -o.
6503 * alpha.h (LINK_SPEC): Don't pass -init __main anymore.
6504 * alpha/osf12.h (LINK_SPEC): Ditto.
6505 * mips/iris5.h (LINK_SPEC): Ditto.
6507 * collect2.c (main): Place o_file after an initial .o (like crt0.o).
6508 If we have LD_INIT_SWITCH, use init and fini functions for
6509 executables, too. Specify the unique function names.
6510 (write_c_file_stat): Fix the case of destructors but no constructors.
6511 Don't include the generic-named functions for executables.
6512 (write_c_file): If we have LD_INIT_SWITCH, always use
6515 * collect2.c (main): Also add _GLOBAL__D? to export list.
6517 * ginclude/iso646.h: Do nothing if compiled as C++.
6519 Wed Jun 14 17:39:10 1995 Roland McGrath (roland@gnu.ai.mit.edu)
6521 * c-common.c (format_char_info, case 'm'): Set type to void.
6522 (check_format_info): If type is void, ignore operand.
6524 Wed Jun 14 17:04:10 1995 Paul F. Kunz (Paul_Kunz@SLAC.Stanford.EDU)
6526 * expr.c (expand_builtin_apply_args): Put back original
6527 register save and restore order.
6529 Wed Jun 14 16:56:22 1995 Michael Meissner <meissner@cygnus.com>
6531 * rs6000/eabi.h (INVOKE__main): Define, so __eabi is called after
6532 main's arguments are saved.
6534 * rs6000.c (output_prolog): Don't call __eabi here, let
6535 compiler call it after the arguments to main are saved.
6536 (output_{prolog,epilog}): Don't use functions under V.4 to save
6537 and restore floating point registers.
6539 Wed Jun 14 16:52:12 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6541 * m68k/mot3300.h (PCC_BITFIELD_TYPE_MATTERS): Defined.
6543 Wed Jun 14 16:48:53 1995 Jerry Frain (jerry@tivoli.com)
6545 * Makefile.in (stage[1-4]): Correctly link `as', `ld', and `collect2'.
6547 Wed Jun 14 05:52:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6549 * objc-act.c (hack_method_prototype): Set DECL_CONTEXT of parms.
6551 * expmed.c (emit_store_flag): Always set LAST.
6553 * c-decl.c (start_function): New parameter for attributes.
6554 * c-tree.h (start_function): Likewise.
6555 * c-lang.c (finish_file): Pass extra parm to start_function.
6556 * objc-act.c (build_module_descriptor, really_start_method): Likewise.
6557 * c-parse.in (fndef, nested_function, notype_nested_function):
6560 * function.c (assign_parms): Use convert_to_mode instead of
6561 gen_lowpart when converting incoming parm.
6563 Tue Jun 13 19:10:32 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6565 * rs6000.md (decrement_and_branch): Finish last fix; update matching
6568 Tue Jun 13 18:32:51 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
6570 * fold-const.c (fold): When converting a COND_EXPR to an ABS_EXPR,
6571 get the types right for ABS_EXPR to work.
6573 Mon Jun 12 17:09:55 1995 Michael Tiemann (tiemann@axon.cygnus.com)
6575 * reorg.c (fill_simple_delay_slots): Set MAYBE_NEVER according to
6576 code of TRIAL_DELAY, not TRIAL.
6578 Mon Jun 12 15:02:37 1995 Doug Evans <dje@cygnus.com>
6580 * configure: Restore code to make ld symlink if ! use_collect2.
6582 * gcc.c (link_command_spec): Undo patch of May 11.
6583 -nostdlib implies -nostartfiles again.
6584 * dsp16xx.h (CROSS_LINK_SPEC): Likewise.
6585 * i386/freebsd.h (LINK_SPEC): Undo patch of May 24.
6586 Don't pass "-e start" if nostdlib.
6587 * i386/sun.h (LINK_SPEC): Likewise.
6588 * m68k/sun2o4.h (LINK_SPEC): Likewise.
6589 * m68k/sun3.h (LINK_SPEC): Likewise.
6590 * m68k/vxm68k.h (LINK_SPEC): Likewise.
6591 * mips/netbsd.h (LINK_SPEC): Likewise.
6592 * config/netbsd.h (LINK_SPEC): Likewise.
6593 * rs6000/mach.h (LINK_SPEC): Likewise.
6594 * sparc.h (LINK_SPEC): Likewise.
6595 * sparc/vxsparc.h (LINK_SPEC): Likewise.
6597 * gcc.c (link_command_spec): New argument -nodefaultlibs.
6599 Sun Jun 11 20:47:53 1995 Stephen L Moshier (moshier@world.std.com)
6601 * Makefile.in (fix-header.o): Depends on xsys-protos.h.
6603 Sun Jun 11 15:07:58 1995 Tim Carver (timc@ibeam.intel.com)
6605 * reload1.c (emit_reload_insns): Don't call HARD_REGNO_NREGS
6606 on psuedo when clearing reg_last_reload_reg.
6608 Sun Jun 11 14:07:05 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6610 * m68k.md ({add,sub}di{_mem,3}): Patterns merged.
6612 Sun Jun 11 13:43:26 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
6614 * m68k.md (cmpdi matcher): Set cc_status before returning.
6616 * config/xm-freebsd.h (DONT_DECLARE_SYS_SIGLIST): Define.
6618 Sun Jun 11 13:38:49 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6620 * fixincludes (math.h): Keep declaration of abs on HPUX.
6622 Sun Jun 11 12:31:42 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6624 * stor-layout.c (variable_size): Do nothing if SIZE is constant.
6626 * stmt.c (expand_asm_operands): See if output operand permits
6627 register. If not, mark output addressable, call expand_operand
6628 on it, and give error if not MEM.
6630 * function.c (assign_parms): Handle promotions of both
6631 passed and nominal modes separately and insert needed conversions.
6632 (promoted_input_arg): Return 0 if nominal and passed modes differ.
6634 * stmt.c (all_cases_count, case INTEGER_TYPE): Fix typo in checking
6637 Sat Jun 10 08:55:25 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6639 * libgcc2.c (_floatdidf): Correctly set float sizes.
6641 * c-decl.c (c_decode_option, case "-Wall"): Don't set extra_warnings.
6643 * Makefile.in (cpplib.o, fix-header.o): Update dependencies.
6644 (cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies.
6646 Fri Jun 9 18:06:10 1995 Doug Evans <dje@canuck.cygnus.com>
6648 * cse.c (cse_basic_block): Fix test for whether block ends with a
6649 barrier. Return next insn, not 0, if block ends in a barrier.
6651 Fri Jun 9 17:58:29 1995 Paul Eggert <eggert@twinsun.com>
6653 * fold-const.c (lshift_double): Replace `&' with `%' to fix typo.
6654 ([lr]shift_double): Truncate shift count only if SHIFT_COUNT_TRUNCATED.
6655 Remove unnecessary `count >= prec' test.
6657 * cexp.y (left_shift): Ignore integer overflow.
6659 * cexp.y (skip_evaluation): New variable.
6660 (&&, ||, ?:): Increment it in unevaluated subexpressions.
6661 (/, %, integer_overflow): Suppress diagnostics if skip_evaluation != 0.
6662 (yyerror): Clear skip_evaluation.
6664 Fri Jun 9 17:49:05 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
6666 * m68k.md (tstdi): Rewrite.
6668 Fri Jun 9 17:28:55 1995 Per Bothner <bothner@cygnus.com>
6670 * scan-decls.c (scan_decls): Handle declarations with
6671 multiple comma-separated declarators.
6673 Thu Jun 8 19:16:12 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
6675 * arm.md (mov[sd]f expands): Don't allow fp constants in pseudos
6676 when TARGET_SOFT_FLOAT.
6678 Thu Jun 8 19:11:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6680 * expmed.c (store_split_bit_field): When adjust arg in
6681 BYTES_BIT_ENDIAN case, use number of bits in arg for MEM operands
6682 and BITS_PER_WORD for other operands.
6683 (extract_fixed_bit_field): Undo last change.
6685 * unroll.c (verify_addresses): New function.
6686 (find_splittable_givs): Use it instead of memory_address_p.
6688 Thu Jun 8 18:58:18 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
6690 * expmed.c (expand_divmod): Always check result of emit_store_flag.
6692 Thu Jun 8 12:02:34 1995 David D Zuhn (zoo@armadillo.com)
6694 * cpplib.c (cpp_push_buffer): Include filename in error message.
6696 Thu Jun 8 11:53:45 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6698 * function.c (assign_parms): Don't call promote_mode on arg
6699 unless PROMOTE_FUNCTION_ARGS defined.
6701 * rs6000.md (decrement_and_branch): Ensure label is operand 0.
6703 * rs6000.md (aux_truncdfsf2): New pattern.
6704 (movsf): Use it instead of invalid SUBREG and truncdfsf2.
6706 * varasm.c (assemble_name): Disable warn_id_clash around
6707 get_identifier call.
6709 Wed Jun 7 17:22:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6711 * configure (gdb_needs_out_file_path): New variable.
6712 (m68k-motorola-sysv): Set gdb_needs_out_file_path if not using gas.
6713 (.gdbinit): If gdb_needs_out_file_path is set, add a 'dir' command
6716 Wed Jun 7 17:17:19 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
6718 * fold-const.c (fold): When folding `<' type nodes, make true_value
6719 and false_value have correct types.
6721 Wed Jun 7 05:06:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6723 * collect2.c (COFF scan_prog_file): Use the AIX duplicate entry.
6725 Tue Jun 6 18:43:09 1995 Jeffrey A Law (law@snake.cs.utah.edu)
6727 * pa.h (FUNCTION_ARG_CALLEE_COPIES): Define.
6729 Tue Jun 6 18:21:18 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6731 * expr.c (expand_expr, case PLACEHOLDER_EXPR): Consider two types
6732 identical if their TYPE_MAIN_VARIANTs are the same.
6734 * c-decl.c (start_decl): Set DECL_COMMON before calling
6737 * a29k.c (print_operands): Cast args to bcopy to char *.
6739 * c-decl.c (duplicate_decls): Don't clear DECL_CONTEXT of
6740 new decl if it is a function.
6742 Tue Jun 6 17:57:44 1995 Eberhard Mattes (mattes@azu.informatik.uni-stuttgart.de)
6744 * gcc.c (do_spec_1, case 'g'): Handle %O as suffix if MKTEMP_EACH_FILE.
6746 Tue Jun 6 17:53:05 1995 Michael Meissner <meissner@cygnus.com>
6748 * rs6000.c (expand_block_move): Update source and destination pointers
6749 inside the loop moving the bytes, not outside.
6751 Tue Jun 6 14:58:37 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6753 * m68k.h (CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed.
6754 * m68k.c (finalize_pic): Emit USE insn at start and end of function.
6756 Tue Jun 6 13:46:57 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
6758 * sh.c (print_operand): Check for annulled branches.
6759 (output_movedouble): Handle SUBREG addresses.
6760 (output_branch): Handle annulled branches.
6761 (sh_expand_prologue): Correct number of saved registers for
6763 * sh.h: Add some comments.
6764 * sh.md: Add some comments. Cleanup formatting.
6765 (type attribute): Add pstore and call.
6766 (return define_delay): Reorganize to make clearer.
6767 (call/sfunc define_delay): Define.
6768 (cbranch define_delay): Define to have annul-true delay slot.
6769 (subsi3): Use arith_reg_operand for operand 2.
6770 (shift patterns): Use const_int_operand instead of immediate_operand
6772 (push): Add pstore constraint case.
6773 (movsi_i): Move t/z constraint pair to the front of the list.
6774 (calli, call_valuei): Add "call" attribute.
6776 Mon Jun 5 19:23:13 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6778 * sched.c (attach_deaths): In last change, use find_reg_note instead
6781 Mon Jun 5 19:17:31 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com)
6783 * mips/iris5.h (MACHINE_TYPE): Say "IRIX 5.x", not "5.0".
6784 (NO_DOLLAR_IN_LABEL): Undefine.
6785 * mips.h (sdb_begin_function_line): New declaration.
6786 (PUT_SDB_FUNCTION_END): New definition.
6788 Mon Jun 5 18:56:10 1995 Michael Meissner <meissner@cygnus.com>
6790 * rs6000.c (expand_block_move): Don't do block moves where we clobber
6791 fixed numbers of regs, instead move just 1-8 bytes at a time.
6793 * Makefile.in (STAGESTUFF): Copy files produced by -da and
6794 -save-temps to the stage subdirectories.
6796 Mon Jun 5 08:18:46 1995 Torbjorn Granlund <tege@bozo.matematik.su.se>
6798 * combine.c (reg_dead_at_p): When scanning backwards, stop at BARRIER.
6800 * m68k.c (print_operand): Handle 'R' for registers.
6801 * m68k.md (cmpdi): Rewrite to avoid bogus matching constraints.
6803 * optabs.c (expand_binop): In last change, don't defererence TARGET
6806 * pa.md (movsicc): Use MATCH_DUP for operand 4 and 5.
6808 Mon Jun 5 08:14:56 1995 Jeffrey A Law (law@cs.utah.edu)
6810 * pa.c (hppa_encode_label): Allocate stuff on permanent_obstack
6811 rather than via malloc.
6813 * c-common.c (decl_attributes): Fix typo in size passed to alloca.
6815 Mon Jun 5 08:10:55 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6817 * alpha.md: Use "some_operand" for patterns valid only during
6818 reload and meant to handle adding more PLUS operators during
6819 register elimination.
6821 Mon Jun 5 07:31:53 1995 Stephen L Moshier (moshier@world.std.com)
6823 * cse.c (simplify_unary_operation, case FLOAT, UNSIGNED_FLOAT):
6824 Truncate to requested mode.
6826 Sat Jun 3 22:08:51 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6828 * sched.c (attach_deaths): Don't add a REG_DEAD note if a REG_UNUSED
6829 note is already present.
6831 Sat Jun 3 18:36:57 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6833 * pa.h (hppa_builtin_saveregs): Add declaration.
6835 Sat Jun 3 18:11:26 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6837 * Makefile.in (scan-decls.o): Depends on cpplib.h.
6839 Fri Jun 2 19:23:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6841 * optabs.c (expand_binop): Don't use non-REG TARGET in 2-word case.
6843 Thu Jun 1 19:30:30 1995 Tor Egge (tegge@flipper.pvv.unit.no)
6845 * m88k.h (RETURN_POPS_ARGS): New argument.
6846 * m88k/dolphin.ld: Added start of comment.
6848 Thu Jun 1 19:12:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6850 * configure (a29k-*-bsd*): Fix typo in last change.
6852 Thu Jun 1 18:51:53 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6854 * expmed.c (extract_fixed_bit_field): For REG case, compute total_bits
6855 from mode instead of assuming BITS_PER_WORD.
6857 Thu Jun 1 18:34:31 1995 Michael Meissner <meissner@cygnus.com>
6859 * rs6000.h (FIXED_R13): Default to 0.
6860 ({FIXED,CALL_USED}_REGISTERS): Use FIXED_R13 for register 13.
6861 * sysv4.h (FIXED_R13): Define to be 1.
6863 Wed May 31 20:57:26 1995 Torbjorn Granlund <tege@matematik.su.se>
6865 * m68k.md ([su]mulsi3_highpart): Pass correct number of arguments to
6866 const_uint32_operand.
6867 * m68k.c (const_uint32_operand): Reject negative numbers.
6869 * expmed.c (expand_mult_highpart): Use wide_op1 for all multiplies.
6870 (expand_divmod): Undo Nov 12 change. Instead, add special case
6871 for division by MIN_INT in signed TRUNC_DIV_EXPR case.
6873 Wed May 31 20:44:21 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6875 * m68k.md (one_cmpldi2): New pattern.
6876 ({a,l}shrdi{3,_const}): Allow 63 as shift count.
6878 Wed May 31 14:56:31 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6880 * varasm.c (assemble_start_function, assemble_variable):
6881 Make sure first_global_object_name is in permanent obstack.
6883 * reload1.c (alter_reg): Clean up setting of RTX_UNCHANGING_P
6886 * reorg.c (struct resources): New field unch_memory.
6887 (CLEAR_RESOURCES, mark_target_live_regs, dbr_schedule): Clear it.
6888 (mark_{referenced,set}_resources, redundant_insn): Set it.
6889 (fill_simple_delay_slots): Likewise.
6890 (resource_conflicts_p): Test it.
6892 * unroll.c (copy_loop_body): Fix typo in call to sets_cc0_p.
6894 * integrate.c (output_inline_function): Don't call expand_function_end.
6896 * calls.c (prepare_call_address): Only call use_reg on
6897 static_chain_rtx if it is a REG.
6899 * configure (a29k-*-bsd*): Use t-a29k.
6901 * a29k/t-a29kbare (LIBGCC1_TEST): New null definition.
6902 * a29k/t-vx29k (LIBGCC1_TEST): Likewise.
6904 Wed May 31 14:17:42 1995 Jeffrey A Law (law@snake.cs.utah.edu)
6906 * configure (hppa*-*-bsd*): Do not run fixincludes.
6907 (hppa*-*-osf*): Likewise.
6908 (hppa*-*-lites*): Likewise.
6910 * pa.h (PRINT_OPERAND_ADDRESS): Use "RR'" rather than "R'" for
6912 * pa.md (symbolic HIGH patterns): Likewise.
6913 (symbolic LO_SUM pattern): Likewise.
6915 Wed May 31 14:11:53 1995 Michael Meissner <meissner@cygnus.com>
6917 * rs6000.md (all movstri recognizers): Eliminate updating the pointers.
6918 * rs6000.c (expand_block_move): Don't pass argument of # bytes to
6919 increment pointers by to movstrsi expanders.
6921 * rs6000.c (rs6000_override_options): Fix typo with -mstring handling.
6923 * rs6000.h (TARGET_SWITCHES): Set MASK_STRING_SET explicitly
6924 if -mno-string, so that it can override the processor default.
6926 Wed May 31 07:31:53 1995 Jason Merrill <jason@phydeaux.cygnus.com>
6928 * c-common.c (truthvalue_conversion, BIT_AND_EXPR): Make sure that
6929 the result has boolean_type_node.
6931 Tue May 30 19:03:21 1995 J.T. Conklin <jtc@cygnus.com>
6933 * stddef.h: Undefine _BSD_XXX_T_ if _GCC_XXX_T is defined on BSD
6934 Net/2 derived systems.
6936 Tue May 30 08:17:37 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
6938 * m68k.md (decrement_and_branch_until_zero): Operand 0 constraint
6939 changed from "+g" to "+d*am".
6940 (similar anonymous HImode pattern): Likewise.
6942 * m68k.md (tstdi): Use tst/subx #0 instead of neg/negx.
6943 Allow "a" and ">" for operand 0.
6945 Mon May 29 19:24:43 1995 Niklas Hallqvist (niklas@appli.se)
6947 * m68k.md (addsi_lshrsi_31): Use match_dup, not constraint "1",
6948 for matching inputs.
6950 Mon May 29 12:39:58 1995 Allen Briggs <briggs@rrinc.com>
6952 * i386/isc.h ({STARTFILE,LIB,CPP}_SPEC): Handle -Xp like -posix.
6953 * i386/x-isc3 (X_CFLAGS): Add -Xp.
6955 Mon May 29 12:28:41 1995 J.T. Conklin (jtc@cygnus.com)
6957 * configure (sparc-*-netbsd): Add missing asterisk at end.
6959 Mon May 29 08:55:48 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6961 * combine.c (recog_for_combine): New parm PADDED_SCRATCHES; set it.
6962 (try_combine): Accumulate number of scratches and update max_scratch.
6963 (simplify_set): Add extra parm to recog_for_combine.
6965 * romp.md (call): Put USE for r0 in CALL_INSN; call call_internal
6967 (call_internal): New name for anonymous call.
6968 (call_value, call_value_internal): Likewise.
6970 * winnt/xm-winnt.h: Protect most definitions with #ifndef.
6971 * alpha/xm-winnt.h: Include alpha/xm-alpha.h, then winnt/xm-winnt.h.
6973 * xm-alpha.h: Don't include alloca.h for winnt.
6975 Sun May 28 18:34:01 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
6977 * configure: Make sed commands more uniform.
6979 * Makefile.in: Properly use $(srcdir) for files that have it
6980 in their reference as a target of a rule.
6981 (libgcc1.a): Add missing RANLIB_TEST use.
6983 * stmt.c (expand_computed_goto): Call do_pending_stack_adjust.
6985 Sun May 28 18:08:41 1995 Torbjorn Granlund <tege@mole.gnu.ai.mit.edu>
6987 * m68k.md (divmodhi4, udivmodhi4): Use "dmsK" for operand 2.
6989 Fri May 26 17:01:22 1995 Paul Eggert <eggert@twinsun.com>
6991 * fixincludes: Fix bogus recursive <stdlib.h> in NEWS-OS 4.0C.
6993 Fri May 26 08:02:14 1995 Michael Meissner (meissner@cygnus.com)
6995 * c-typeck.c (initializer_constant_valid_p): For the CONSTRUCTOR
6996 case, if the type is a record, recurse, just like for unions.
6998 Thu May 25 07:56:14 1995 Paul Eggert <eggert@twinsun.com>
7000 * fixincludes: Add `sel', `tahoe', `r3000', `r4000' to the
7001 list of pre-ANSI symbols that need to be surrounded with __ __.
7002 Allow white space between `#' and `if' when looking for lines to patch.
7004 * objc/sarray.h (PRECOMPUTE_SELECTORS, struct soffset):
7005 Use #ifdef __sparc__, not sparc.
7007 * m68k.md (addsi_lshrsi_31, ashldi_const, ashrdi_const, lshrdi_const):
7008 Replace `mov' with `move'.
7010 Thu May 25 07:35:37 1995 Allen Briggs <briggs@rrinc.com>
7012 * libgcc2.c (L_eh, i386): Remove in-line comments in assembly
7013 code--the '#' character is not valid for the SYSV as.
7015 Thu May 25 07:28:54 1995 Pat Rankin (rankin@eql.caltech.edu)
7017 * Makefile.in (BC_ALL): Restore it from May 22 change; vms uses it.
7018 (STAGESTUFF): Use it.
7020 Thu May 25 07:11:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7022 * alpha.c (alpha_emit_set_const): Don't call expand_binop for
7023 other than add if SImode and can't create pseudos.
7025 Wed May 24 21:38:24 1995 Jim Wilson <wilson@cygnus.com>
7027 * sched.c (reemit_notes): New function.
7028 (schedule_block): Call reemit_notes twice. Reorganize code for
7029 handling SCHED_GROUP_P insns, so that reemit_notes works.
7031 * sh/sh.c (shiftcosts, genshifty_op): Add SH3 support.
7032 * sh/sh.md (ashlsi3, lshrsi3): Add SH3 support.
7033 (ashlsi3_d, ashrsi3_d, lshrsi3_d): New patterns for SH3.
7034 (ashrsi2_31): Remove r/!r constraint.
7036 Wed May 24 17:00:47 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7038 * tree.c (type_list_equal): Call simple_cst_equal before checking
7041 Wed May 24 16:49:49 1995 Douglas Rupp (drupp@cs.washington.edu)
7043 * Makefile.in (libgcc2.a): Handle case of separate srcdir.
7045 Wed May 24 16:22:01 1995 Paul Eggert <eggert@twinsun.com>
7047 * configure: Define $(MAKE) if `make' doesn't.
7049 Wed May 24 15:50:51 1995 Doug Evans <dje@cygnus.com>
7051 * dsp16xx.h (CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles.
7052 * i386/freebsd.h (LINK_SPEC): Don't pass "-e start" if nostartfiles
7053 rather than nostdlib.
7054 * i386/sun.h (LINK_SPEC): Likewise.
7055 * m68k/sun2o4.h (LINK_SPEC): Likewise.
7056 * m68k/sun3.h (LINK_SPEC): Likewise.
7057 * m68k/vxm68k.h (LINK_SPEC): Likewise.
7058 * mips/netbsd.h (LINK_SPEC): Likewise.
7059 * config/netbsd.h (LINK_SPEC): Likewise.
7060 * rs6000/mach.h (LINK_SPEC): Likewise.
7061 * sparc.h (LINK_SPEC): Likewise.
7062 * sparc/vxsparc.h (LINK_SPEC): Likewise.
7064 * m88k/m88k.h (FUNCTION_ARG_BOUNDARY): Use GET_MODE_BITSIZE.
7066 Wed May 24 15:44:04 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7068 * fold-const.c (fold): Make sure that a folded TRUTH_NOT_EXPR
7069 retains the same type.
7071 * c-common.c (truthvalue_conversion): Also accept TRUTH_NOT_EXPR.
7073 Wed May 24 15:41:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7075 * cplus-dem.c (strstr, strncmp, strlen): Remove declarations.
7077 * tree.c (type_list_equal, simple_cst_list_equal, index_type_equal):
7078 Check for simple_cst_equal return value of -1.
7080 Wed May 24 10:05:24 1995 Michael Meissner <meissner@cygnus.com>
7082 * libgcc1-test.c (start, _start): Provide declarations, so that
7083 the GNU linker doesn't give a warning message about defaulting the
7086 * rs6000/sysv4.h (STRIP_NAME_ENCODING): Redefine back to the
7087 original defination, rather than the defination used in rs6000.h.
7088 (ASM_OUTPUT_SOURCE_LINE): Use STRIP_NAME_ENCODING.
7089 * rs6000.h (STRIP_NAME_ENCODING): Skip leading '*'.
7091 * rs6000.h (MASK_STRING_SET, TARGET_STRING_SET): Add target
7092 flags bit for whether -mstring was actually used.
7093 (TARGET_SWITCHES): Add MASK_STRING to all power targets. Set
7094 MASK_STRING_SET for -mstring and -mno-string.
7095 (TARGET_DEFAULT): Add MASK_STRING.
7097 * rs6000.c (rs6000_override_options): Add MASK_STRING to
7098 all power targets. Make an explicit -mstring/-mno-string override
7099 the -mcpu=processor default.
7101 * rs6000/eabile.h (CPP_SPEC): Copy from sysvle.h to provide the
7102 appropriate little endian defaults.
7104 * rs6000/sysv4.h (ASM_OUTPUT_SOURCE_LINE): Use assemble_name to
7105 output the canonical name.
7107 Wed May 24 01:21:15 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7109 * rs6000.h (STRIP_NAME_ENCODING): Define.
7110 (RS6000_OUTPUT_BASENAME): Use it.
7112 Tue May 23 19:54:21 1995 Doug Evans <dje@cygnus.com>
7114 * gcc.c (link_command_spec): Move ENDFILE_SPEC from -nostdlib
7117 Tue May 23 17:01:50 1995 Jim Wilson <wilson@cygnus.com>
7119 * alpha.md (negsi2-2): Change output pattern to #.
7121 * mips.c (embedded_pic_offset): Output RTL to initialize
7122 embedded_pic_fnaddr_rtx.
7123 (mips_finalize_pic): Delete.
7124 * mips.h (mips_finalize_pic): Delete declaration.
7125 (FINALIZE_PIC): Delete.
7126 (INIT_EXPANDERS): Clear embedded_pic_fnaddr_rtx.
7127 * mips.md (get_fnaddr): Add = to output contraint.
7129 * sh.c (shift_amounts): Correct entry for shifts by 29.
7130 * sh.md (sett): New pattern.
7131 (movsi_i): Change source constraint for move to T reg to be 'z'.
7133 * mips/ecoff.h (STARTFILE_SPEC): Define to null string.
7134 * mips/elfl.h, mips/elfl64.h: Correct typo in comment.
7136 * mips/elflorion.h, mips/elforion.h (MIPS_CPU_DEFAULT): Delete.
7137 * mips.c (override_options): Delete #ifdef MIPS_CPU_DEFAULT code.
7138 Add #ifdef MIPS_CPU_DEFAULT_STRING code before the first
7139 mips_cpu_string test.
7141 Tue May 23 07:22:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7143 * romp.c (hash_rtx): Avoid warning on int-to-pointer conversion.
7144 (output_fpops): Cast args to bcopy to char *.
7146 * cpplib.c (initialize_builtins): Add missing parm to timestamp call.
7148 * Makefile.in (install-libobjc): Don't depend on libobjc.a.
7150 * c-parse.in: Objc shift/reduce conflicts now 48.
7151 (parm): Use setspecs/restore here.
7152 (parmlist_or_identifiers): Not here.
7154 Mon May 22 19:30:30 1995 Doug Evans <dje@cygnus.com>
7156 * h8300.md (movsf_h8300h): Add missing post-inc case to constraints.
7158 Mon May 22 14:38:36 1995 Michael Meissner <meissner@cygnus.com>
7160 * rs6000.c (rs6000_override_options): Do SUBTARGET_OVERRIDE_OPTIONS
7162 * rs6000.h (OVERRIDE_OPTIONS): Not here.
7164 * rs6000.c (expand_block_move): Handle moves without string
7165 instructions by generating a series of loads and stores.
7166 (output_prolog): Support -mno-toc on V.4 and eabi systems.
7168 * rs6000/sysv4.h (TARGET_SWITCHES): Add -mtoc and -mno-toc.
7169 (SUBTARGET_OVERRIDE_OPTIONS): Add some warnings for incompatible
7171 (TOC_SECTION_FUNCTION): Make -mno-toc like -mrelocatable in that
7172 we don't put the minimal toc pointer in the global toc section.
7173 (LINK_SPEC): Use -oformat to set link output format, not -m.
7175 * rs6000/t-eabigas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build
7176 libgcc.a variants with -mno-toc support.
7177 * rs6000/t-ppcgas (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Ditto.
7179 Mon May 22 07:10:52 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7181 * cplus-dem.c (mystrstr): Replacement for strstr.
7183 * configure: Split up long sed command.
7184 * Makefile.in (SYMLINK): Deleted; unused.
7185 (oldobjext): Deleted; no longer used.
7186 (FLAGS_TO_PASS): Include objext and exeext.
7187 (STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
7188 (test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
7189 (STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
7190 (libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
7191 (xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
7192 (collect2, mips-tfile, mips-tdump, gen*): Likewise.
7193 (bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
7194 (protoize, unprotoize, gen-protos, fix-header): Likewise.
7195 (crtbegin.o, crtend.o): Don't use -o; move output to proper
7196 filename (using objext) instead.
7197 (BI_ALL, BC_ALL, bytecode): Deleted; unused.
7198 (bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
7199 (getopt{,1}.o, SYSCALLS.c.X): Likewise.
7200 (install-driver): New target.
7201 (install-normal): Depend on it.
7202 (install-common): Don't depend on xgcc.
7203 (maketest): Deleted; no longer used.
7204 (stage[1-4]): Use name collect-ld, not real-ld.
7205 (risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
7206 * alpha/config-nt.bat, i386/config-nt.bat: Make {,h,t}config.h
7207 and tm.h by writing a single #include line.
7208 Update way specs.h and options.h are written.
7209 * alpha/config-nt.sed, i386/config-nt.sed: Set new variables
7212 Edit CCCP definition.
7213 * alpha/x-winnt, i386/x-winnt (oldobjext): Deleted.
7214 Add rules for .c.obj, .adb.obj, and .ads.obj.
7215 (LIB2FUNCS_EXTRA, spawnv.o): New rules.
7216 * i386/x-winnt (objext): Now .obj, not .o.
7218 * gcc.c (HAVE_OBJECT_SUFFIX): New macro.
7219 (process_command): Convert x.o to x.foo for OBJECT_SUFFIX of ".foo".
7220 (do_spec_1): Avoid shadow variable "i" and always use for loop var.
7222 * c-decl.c (finish_decl_top_level): Removed; no longer used.
7223 * objc-act.c: Numerous formatting changes.
7224 (NULLT): Deleted; all uses changed to NULL_TREE.
7225 (get_{static,object}_reference, objc_add_static_instance):
7226 Use push_obstacks instead of saving obstacks manually.
7227 (build_{selector,class}_reference_decl): Likewise.
7228 (build_objc_string_decl, build_protocol_reference): Likewise.
7229 (comp_{method,proto}_with_proto): Likewise.
7230 (create_builtin_decl, synth_module_prologue): Set DECL_ARTIFICIAL
7231 for internal objects.
7232 (build_{selector,class}_reference_decl, add_objc_decls): Likewise.
7233 (generate_objc_symtab_decl, build_module_descriptor): Likewise.
7234 (build_protocol_reference): Likewise.
7235 (build_objc_string_decl, synch_forward_declarations): Likewise.
7236 Delete call to end_temporary_allocation.
7237 (generate_static_references, generate_strings): Likewise.
7238 (build_selector_translation_table, generate_category): Likewise.
7239 (generate_{ivars,protocol}_list, build_protocol_reference): Likewise.
7240 (build_objc_string_object): If next_runtime, put everything in
7242 (objc_add_static_instance): Use build_decl instead of start_decl
7243 and finish_decl_top_level.
7244 (build_{class_reference,objc_string}_decl): Clear DECL_CONTEXT.
7245 (start_class): Exit with FATAL_EXIT_CODE, not 1.
7246 (add_objc_decls): Don't set DECL_IN_SYSTEM_HEADER.
7248 * tree.c (valid_machine_attribute): Handle attribute on
7249 pointer-to-function types.
7251 Sun May 21 17:16:37 1995 J. T. Conklin <jtc@cygnus.com>
7253 * mips/netbsd.h (HAVE_STRERROR): Remove.
7254 * mips/xm-netbsd.h: New file.
7255 * mips/t-mips-netbsd: Deleted.
7256 * configure (mips-dec-netbsd): Use xm-netbsd.h and t-libc-ok.
7258 Sun May 21 17:16:37 1995 Arne H. Juul (arnej@pvv.unit.no)
7260 * mips/netbsd.h: Use __start as entry point. Ifdef some
7261 paths on CROSS_COMPILE.
7263 Sun May 21 08:39:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7265 * c-parse.in (datadef, fndef, ivar_decl, mydecls):
7266 Restore declspec_stack since setspecs is used.
7267 (parmlist_or_identifiers): Use setspecs before parsing parms
7268 and restore after parsing parms.
7270 Sun May 21 01:04:52 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
7272 * pa.c (hppa_encode_label): New variable "permanent" to
7273 where/how memory is allocated for the new label. All
7276 Sat May 20 16:53:30 1995 Mike Meissner <meissner@cygnus.com>
7278 * rs6000.md (insv, extz): Fail if the structure is QI or HI reg to
7279 avoid paradoxical subreg's being created in RTL phase, which uses
7280 SImode to load from memory if structure is later moved to stack.
7282 Sat May 20 06:44:59 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
7284 * m68k.md (udivmodhi4): Output "divu" instead of "divs".
7286 Sat May 20 06:11:32 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7288 * reload.c (push_reload): Don't reload inside a SUBREG
7289 when SUBREG_WORD is nonzero.
7291 * c-decl.c (shadow_tag_warned): Don't warn about useless keyword
7292 if in system header file.
7294 * tree.c (simple_cst_equal): Don't look at language-specific
7295 nodes since we don't know what's in them.
7297 * cpperror.c: #include config.h before any other .h file.
7298 * collect2.c: Likewise.
7300 * i386/config-nt.bat: Add missing ^M on two lines.
7301 Add case for Fortran; fix typo in Ada case.
7302 * alpha/config-nt.bat: Add case for Fortran; fix typo in Ada case.
7304 * m68k/t-next (LIBGCC1, CROSS_LIBGCC1): Make not, not "libgcc1.null".
7305 (OTHER_FIXINCLUDES_DIRS, LIMITS_H_TEST): Delete from here.
7306 * m68k/x-next (OTHER_FIXINCLUDES_DIR, LIMITS_H_TEST): Move to here.
7308 Fri May 19 19:30:20 1995 Stan Cox (gcc@dg-rtp.dg.com)
7310 * crtstuff.c: Added reference to INIT_SECTION_PREAMBLE for systems that
7311 do something which must be undone prior to __do_global_ctors.
7313 Fri May 19 19:27:08 1995 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
7315 * i386/linux-aout.h (CPP_SPEC): Add defines for -fPIC.
7316 * i386/linux-oldld.h (CPP_SPEC): Likewise.
7318 Fri May 19 17:46:28 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
7320 * collect2.c (strstr): Deleted.
7321 * cplus-dem.c (strstr): Define ifndef POSIX.
7323 Fri May 19 11:16:51 1995 Per Bothner <bothner@kalessin.cygnus.com>
7325 * cpplib.c (collect_expansion): Don't escape '@' inside string.
7327 Fri May 19 06:59:21 1995 Pat Rankin (rankin@eql.caltech.edu)
7329 * vmsconfig.com (process_objc_lib, configure_makefile): New routines.
7330 (bc_all.list, ./vax.md, objc-objs.opt, objc-hdrs.list): New files
7331 created at config time.
7332 (bc_all.opt, ./md.): No longer created.
7333 * make-cc1.com: Handle revised filenames from vmsconfig.com;
7334 (DO_OBJCLIB): New variable, plus code to compile objc/*.{c,m}.
7336 Wed May 17 16:15:31 1995 Torbjorn Granlund <tege@cygnus.com>
7338 * i960.c (i960_output_ldconst): New code for XFmode.
7339 Also, move SFmode code to immediately after DFmode code.
7340 (S_MODES, D_MODES): Handle XFmode.
7341 (XF_MODES): Was TF_MODES, handle XFmode instead of TFmode.
7342 (hard_regno_mode_ok): Replace TFmode with XFmode.
7343 (i960_output_long_double): New function.
7345 * i960.h (DATA_ALIGNMENT): Define.
7346 (ROUND_TYPE_ALIGN): Align XFmode scalars at 128 bit boundaries.
7347 (ROUND_TYPE_SIZE): Round up the size of XFmode objects to 128 bits.
7348 (CONST_DOUBLE_OK_FOR_LETTER_P): Use CONST0_RTX and CONST1_RTX
7349 so that all FP modes are recognized.
7350 (ASM_OUTPUT_LONG_DOUBLE): Define.
7352 * i960.md: Change all TFmode patterns to have XFmode.
7353 (movxf recognizer, frame version): Use movt, ldt, and stt.
7354 (movxf recognizer, non-frame version): Delete.
7355 (extenddfxf2): Delete * before f constraint.
7356 (extendsfxf2): Likewise.
7358 Wed May 17 17:53:35 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
7360 * unroll.c (unroll_loop): Increment copy_start_luid if copy_start
7363 Wed May 17 17:44:57 1995 Lee Iverson <leei@Canada.AI.SRI.COM>
7365 * fold-const.c (invert_truthvalue, case CLEANUP_POINT_EXPR): New case.
7367 Tue May 16 18:51:16 1995 Michael Meissner <meissner@cygnus.com>
7369 * rs6000/rs6000.h (TARGET_SWITCHES): Add -mstring to enable string
7370 instructions, and -mno-string to disable them.
7371 (MOVE_MAX): Don't test TARGET_MULTIPLE anymore.
7372 (MAX_MOVE_MAX): Set to 8, not 16.
7373 (expand_block_move): Add declaration.
7375 * rs6000/rs6000.c (expand_block_move): New function to expand
7376 block moves when -mstring is used.
7378 * rs6000/rs6000.md (movti): Use TARGET_STRING, not TARGET_MULTIPLE.
7379 (load_multiple, store_multiple): Ditto.
7380 (string insns): Add 8, 6, 4, 2, and 1 register variants for using
7381 the native string instructions if -mstring.
7383 * rs6000/sysv4.h (CPP_SPEC): If little endian, define
7384 _LITTLE_ENDIAN and set littleendian assertion. If big endian,
7385 define _BIG_ENDIAN and set bigendian assertion.
7386 * rs6000/sysv4le.h (CPP_SPEC): Copy from sysv4.h, and change
7387 default to little endian.
7389 * rs6000/rs6000.c (override_options): Check for -mmultiple and
7390 -mstring on little endian systems here.
7391 * rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't do the check
7394 Tue May 16 18:36:41 1995 Douglas Rupp (drupp@cs.washington.edu)
7396 * alpha.c: Changed WINNT to _WIN32.
7397 * alpha/config-nt.bat, i386/config-nt.bat: Added commands to
7398 generate specs.h and options.h.
7399 * i386/config-nt.sed: Changed link32 to link.
7400 * winnt/ld.c (main): Removed call to free.
7401 * configure.bat: Added line to echo usage on invalid input.
7402 * gcc.c (fix_argv): Removed call to free.
7403 * gcc.c, getpwd.c, protoize.c, sdbout.c: Changed WINNT to _WIN32.
7404 * toplev.c: Likewise.
7406 Tue May 16 18:04:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7408 * toplev.c (pfatal_with_name, fatal_io_error, vfatal):
7409 Use FATAL_EXIT_CODE instead of magic number.
7410 * cccp.c, cpplib.c, cpplib.h: Use FATAL_EXIT_CODE instead
7411 of FAILURE_EXIT_CODE.
7412 * fix-header.c, gen-protos.c: Likewise.
7413 * cpperror.c, cppmain.c: Likewise.
7414 Include config.h #ifndef EMACS.
7415 * xm-alpha.h, xm-rs6000.h, xm-vms.h (FAILURE_EXIT_CODE): Remove.
7417 Tue May 16 17:46:57 1995 Adam Fedor <fedor@colorado.edu>
7419 * objc/archive.c (__objc_write_class): Write class version.
7420 (__objc_write_selector, objc_{write,read}_selector): Handle null
7423 * objc/sarray.h (struct sarray): Make capacity size_t.
7424 * objc/sarray.c (sarray_realloc): Make array index variables size_t.
7426 Tue May 16 06:59:08 1995 Paul Eggert <eggert@twinsun.com>
7428 * dsp16xx.c (print_operand_address): Fix misspellings in messages.
7429 * i370/mvs.h (FUNCTION_PROFILER): Likewise.
7430 * mips-tdump.c (type_to_string): Likewise.
7431 * print-tree.c (print_node): Likewise.
7433 * protoize.c (edit_fn_definition): Fix mispelled local `have_flotsam'.
7435 * objc/sendmsg.c (__objc_init_install_dtable): Fix misspelling
7436 in name of local label `already_initialized'.
7438 * winnt/winnt.h (STDC_VALUE): Was misspelled.
7440 * m68k/ccur-GAS.h (FUNCTION_BOUNDARY): Was misspelled.
7442 * 1750a.h (DEFAULT_PCC_STRUCT_RETURN): Was misspelled.
7444 Mon May 15 23:41:25 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
7446 * pa.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Make sure to encode section
7447 info for all libcalls.
7449 Mon May 15 20:58:00 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7451 * collect2.c (strstr): Define ifndef POSIX.
7453 * defaults.h (SUPPORTS_WEAK): Provide default.
7454 * aoutos.h, sparc/sunos4.h: Don't support weak symbols.
7455 * netbsd.h, svr4.h, i386/freebsd.h, i386/osfrose.h,
7456 m88k/m88k.h: Define ASM_WEAKEN_LABEL instead of WEAK_ASM_OP.
7457 * c-pragma.h: Check ASM_WEAKEN_LABEL instead of WEAK_ASM_OP.
7458 HANDLE_PRAGMA_WEAK is never defined in a tm.h file.
7459 * c-decl.c (duplicate_decls): Propagate DECL_WEAK.
7460 * tree.h (DECL_WEAK): New macro.
7461 (tree_decl): Add weak_flag.
7462 * varasm.c (assemble_start_function): Declare the symbol weak if
7464 (assemble_variable): Ditto.
7465 (assemble_alias): Ditto. Mark the decl as written.
7466 (declare_weak): Check for weak declaration after definition.
7468 (weak_finish): Use ASM_WEAKEN_LABEL.
7469 * libgcc2.c: The C++ free-store management functions are weak
7470 aliases on targets that always support them.
7472 Mon May 15 19:01:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7474 * configure (out_object_file): New variable; put value in Makefile.
7475 * Makefile.in (out_object_file): Use in place of aux-output.o.
7477 * fold-const.c (const_binop): Don't pass OVERFLOW to force_fit_type
7478 if type is unsigned.
7480 Mon May 15 18:48:26 1995 Paul Eggert <eggert@twinsun.com>
7482 * install.sh (transformbasename): Fix misspelling.
7484 * tahoe.h (CHECK_FLOAT_VALUE): Fix misspelling of OVERFLOW parameter.
7486 * i386.h (VALID_MACHINE_{DECL,TYPE_ATTRIBUTE): Fix typo.
7488 * fx80.h (CHECK_FLOAT_VALUE): Fix misspelled use of parameter.
7490 * a29k.c (spec_reg_operand): Fix misspelling of `default:'.
7492 Mon May 15 18:36:41 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
7494 * m68k.md (b{eq,ne,ge,lt}0_di): Fixed for non-MOTOROLA syntax.
7495 * m68k/xm-mot3300.h (alloca): Extern decl added for non-GNU compiler.
7497 Mon May 15 13:14:29 1995 Per Bothner <bothner@kalessin.cygnus.com>
7499 * cppexp.c (cpp_reader): Test for '#' (start of assertion) *after*
7500 skipping hspace, not before.
7502 Mon May 15 08:13:54 1995 Pat Rankin (rankin@eql.caltech.edu)
7504 * vmsconfig.com: Construct options.h and specs.h to #include
7505 all "*/lang-{options|specs}.h" files found.
7507 Sun May 14 21:32:49 1995 Doug Evans <dje@cygnus.com>
7509 * alpha/alpha.md (movsicc, case NE): Don't generate unrecognizable
7511 (movdicc, case NE): Likewise.
7513 Sun May 14 15:44:54 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
7515 * unroll.c (unroll_loop): Make local_regno have size
7516 max_reg_before_loop. Don't do local register optimization if
7517 copy_end has no INSN_LUID.
7519 Sun May 14 10:38:23 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7521 * objc-act.c (start_method_def): Mark _self as possibly unused.
7523 * configure: Create specs.h and options.h from */lang-specs.h
7524 and */lang-options.h.
7525 Set lang_specs_files and lang_options_file variables in Makefile.
7526 * Makefile.in (lang_{specs,options}_files): New variables.
7527 (gcc.o): Depends on $(lang_specs_files).
7528 (toplev.o): Depends on $(lang_options_file); merge two dep lists.
7529 (distclean): Remove spes.h and options.
7530 * gcc.c (default_compilers): Remove entries for Ada, C++, Chill,
7531 and Fortran; #include specs.h instead.
7532 * toplev.c (lang_options): Remove entries for Ada, C++, and Fortran;
7533 include options.h instead.
7535 Sat May 13 23:11:21 1995 DJ Delorie <dj@delorie.com>
7537 * configure (i[345]86-go32-msdos, i[345]86-*-go32): New targets.
7539 Sat May 13 10:58:38 1995 Jim Wilson <wilson@cygnus.com>
7541 * loop.c (record_giv): When computing replaceable, use
7542 back_branch_in_range_p instead of looking for branches to named
7544 * loop.h (back_branch_in_range_p): Declare.
7545 * unroll.c (back_branch_in_range_p): No longer static.
7547 Sat May 13 06:47:11 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7549 * combine.c (simplify_shift_count, case LSHIFTRT): Don't merge
7550 shifts of different modes if first is any right shift.
7552 Sat May 13 05:39:09 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
7554 * configure (arm-semi-aout): New configuration.
7555 * config.sub: Add support for semi-hosted ARM.
7556 * arm/t-semi, arm/semi.h: New files.
7558 Fri May 12 21:51:22 1995 Doug Evans <dje@cygnus.com>
7560 * flow.c (find_basic_blocks): Only perform n_basic_blocks sanity
7561 check on first pass, and on second pass ensure it has the correct
7564 Fri May 12 19:23:11 1995 Jim Wilson <wilson@cygnus.com>
7566 * c-typeck.c (build_binary_op): Warn when ~unsigned is compared
7567 against unsigned, and type promotions result in an unexpected
7570 Fri May 12 19:10:21 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
7572 * configure (*-*-gnu*): Always use ELF; set tm_file=${cpu_type}/gnu.h.
7573 * config/i386/gnu.h: Contents replaced with old i386/gnuelf.h.
7574 * config/i386/gnuelf.h: File removed.
7576 Fri May 12 17:29:57 1995 Ken Raeburn (raeburn@cygnus.com)
7578 * m68k/lb1sf68.asm (__IMMEDIATE_PREFIX__): Default to #.
7580 (all code): Use IMM macro instead of hardcoding # for immediate
7583 Fri May 12 16:52:10 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
7585 * m68k.c (output_scc_di): New function.
7586 (extend_operator) : Allow DImode target.
7587 * m68k.h (HARD_REGNO_MODE_OK): Don't allow d7/a0 as DImode reg pair.
7588 * m68k.md (tstdi, cmpdi, addsi_lshrsi_31, ashldi_extsi): New patterns.
7589 (extendqidi2, extendhidi2, extendsidi2): Allow "general_operand"
7590 instead of "register_operand" 0.
7591 (adddid_sexthishl32, subdid_sexthishl32, subdi_dishl32): Likewise.
7592 (adddi_dilshr32): Operand 0 constraint changed from "ro" to "do";
7593 Code generation fixed.
7594 (adddi_mem, subdi_mem): Fixed for "<" and ">" operand 0.
7595 (adddi3, subdi3): Operand 2 constraint changed from "ao" to "*ao"
7596 (ashldi_sexthi, ashrdi_const32): Allow only "register_operand"
7597 instead of "general_operand" 0.
7598 (ash[lr]di_const, ash[lr]di3): Allow also 8 and 16 as shift count.
7599 (subreg1ashrdi_const32): Pattern deleted.
7600 (subreghi1ashrdi_const32, subregsi1ashrdi_const32): New pattern.
7601 (lshrsi_31): New implementation.
7602 (scc0_di, scc_di, beq0_di, bne0_di, bge0_di, blt0_di): New patterns.
7604 Fri May 12 16:50:49 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
7606 * pa.md (bb patterns): Fix bugs in length computation exposed by
7607 recent branch shortening and genattrtab changes.
7609 Fri May 12 16:22:27 1995 Ken Raeburn <raeburn@cygnus.com>
7611 * cccp.c (enum node_type): Add T_IMMEDIATE_PREFIX_TYPE.
7612 (special_symbol): Handle it; emit value of IMMEDIATE_PREFIX.
7613 (IMMEDIATE_PREFIX): Default to empty string.
7614 (initialize_builtins): Install __IMMEDIATE_PREFIX__ builtin,
7615 parallel to __REGISTER_PREFIX__.
7617 Fri May 12 14:40:03 1995 Pat Rankin (rankin@eql.caltech.edu)
7619 * cccp.c: #if VMS, don't define `stat' macro to be VMS_stat.
7620 Compare enums explicitly to 0 to work around VAX C bug.
7621 (do_include): Cast alloca's value.
7623 * make-cc1.com (bc_loop): Process comma-separated list rather
7624 than space-separated one; restore .h suffix stripped by vmsconfig;
7625 (loop1): More robust handling of directory prefix on file names.
7626 * vmsconfig.com (TPU makefile.in): Reorganize and reformat code.
7627 Make generated .opt files have more consistent format (all comma
7628 separated, excess whitespace eliminated);
7629 (additional_compiler): New routine.
7630 (process_makefile): Use it to handle cc1plus via cp/Make-lang.in.
7632 Fri May 12 13:35:07 1995 Doug Evans <dje@cygnus.com>
7634 * arm.h: Replace ARM_REG_PREFIX with REGISTER_PREFIX.
7635 Replace ARM_COMMENT_CHAR with ASM_COMMENT_START.
7636 (REGISTER_PREFIX): Define.
7637 (USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Define.
7638 (SECONDARY_OUTPUT_RELOAD_CLASS): Handle DFmodes only if
7640 (PREDICATE_CODES): Add soft_df_operand.
7641 * arm.c: Replace ARM_REG_PREFIX with REGISTER_PREFIX.
7642 Replace ARM_COMMENT_CHAR with ASM_COMMENT_START.
7643 (arm_asm_output_label): Use USER_LABEL_PREFIX.
7644 (soft_df_operand): New function.
7645 * arm.md (movsicc): New pattern.
7646 (movsfcc, movdfcc, *movsicc_insn, *movsfcc_hard_insn): Likewise.
7647 (*movsfcc_soft_insn, *movdfcc_insn): Likewise.
7648 (*movdf_soft_insn): Rewrite.
7649 (movsi matcher): Fix typo in type attribute.
7651 Fri May 12 10:25:40 1995 Michael Meissner (meissner@cygnus.com)
7653 * i386.h (TARGET_RTD): Use MASK_RTD, not MASK_REGPARM.
7654 (TARGET_SWITCHES): Add -m{,no-}align-double switch.
7655 (TARGET_OPTIONS): Add -mregparm= switch to set number of registers
7656 to use for passing arguments. Add -malign-loops= switch to set
7657 the alignment for loops. Add -malign-jumps= switch to set the
7658 alignment for code that is jumped to. Add -malign-functions=
7659 switch to set the initial alignment of functions.
7660 (TARGET_REGPARM): Delete, in favor of -mregparm=
7661 (TARGET_SWITCHES): Delete -mregparm, add -mdebug-arg switches.
7662 (RETURN_POPS_ARGS): Call i386_return_pops_args to do the real work.
7663 (VALID_MACHINE_DECL_ATTRIBUTE): Define as function call.
7664 (VALID_MACHINE_TYPE_ATTRIBUTE): Define as function call.
7665 (COMP_TYPE_ATTRIBUTES): Define as function call.
7666 (REGPARM_MAX): Maximum number of regs to use for passing arguments.
7667 (CUMULATIVE_ARGS): Make this a structure, not an int.
7668 (INIT_CUMULATIVE_ARGS, FUNCTION_ARG{,_ADVANCE}): Call function.
7669 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
7670 (MAX_CODE_ALIGN): Maximum value to align loops/jumps to.
7671 (BIGGEST_ALIGNMENT): Return 64 if -malign-double, 32 otherwise.
7672 (ASM_OUTPUT_ALIGN_CODE): Use value of -malign-jumps= switch.
7673 (ASM_OUTPUT_LOOP_ALIGN): Use value of -malign-loops= switch.
7674 (toplevel): Declare all new functions and external variables added
7677 * i386.c (i386_regparm_string, i386_regparm): New variables
7678 for -mregparm= switch to set the number of registers to use for
7680 (i386_align_loops_string, i386_align_loops): New variables for
7681 -malign-loops= switch to set alignment to use for loops.
7682 (i386_align_jumps_string, i386_align_jumps): New variables for
7683 -malign-jumps= switch to set alignment to use for labels that are
7685 (override_options): Support new switches.
7686 (i386_valid_decl_attribute_p): New function to validate decl
7687 specific attributes. Presently returns 0.
7688 (i386_valid_type_attribute_p): New function to validate type
7689 specific attributes. Recognize "stdcall", which says function
7690 with fixed numbers of arguments is responsible for popping stack,
7691 "cdecl", which says to use the normal C calling sequence, even if
7692 -mrtd is used, and "regparm", which specifies the number of
7693 registers to use for passing arguments.
7694 (i386_comp_type_attributes): New function, to validate whether
7695 attributes are compatible.
7696 (i386_return_pops_args): New function, to return whether or not
7697 the function pops its argument list or not, taking into account
7698 -mrtd, and the stdcall/cdecl attributes.
7699 (init_cumulative_args): Rewrite as a function, taking variable
7700 argument functions, and regparm support into account.
7701 (function_arg{,_advance,_partial_nreg}): Likewise.
7702 (print_operand): Support %J, to print appropriate jump insn.
7704 * i386.md (decrement_and_branch_until_zero): Define pattern,
7705 so that loops that count down to zero, don't have an unneeded
7706 compare after the decrement. Add a general insn recognizer for
7707 add to a value and compare against zero.
7709 * i386/go32.h, i386/winnt.h (VALID_MACHINE_DECL_ATTRIBUTE):
7710 Delete, code folded into the mainline.
7711 (RETURN_POPS_ARGS): Likewise.
7713 * i386/winnt.h (ENCODE_SECTION_INFO): The stdcall attribute is now
7714 stored on the type field, rather than the decl.
7716 * i386/gas.h (ASM_OUTPUT_ALIGN_CODE, ASM_OUTPUT_LOOP_ALIGN): Use
7717 i386_align_{loops,jumps} variables to do alignment.
7718 * i386/osfrose.h, i386/svr3dbx.h: Likewise.
7720 Fri May 12 12:48:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7722 * stor-layout.c (layout_type, case ARRAY_TYPE): Compute length using
7723 MAX of length and zero if sizetype signed and neither bound constant.
7725 * i386/gnuelf.h, i386/linux-oldld.h, i386/lynx-ng.h, i386/v3gas.h:
7726 Use <...> in #include instead of "...".
7727 * m68k/lynx-ng.h, sparc/lynx-ng.h: Likewise.
7729 * c-parse.in (myparm): Handle attributes.
7730 * objc-act.c (unused_list): New variable.
7731 (build_tmp_function_decl): Call push_parm_decl with new format.
7732 (start_class): Initialize unused_list.
7733 (start_method_def): Call push_parm_decl with new format and
7734 mark _cmp as possibly unused.
7736 * combine.c (simplify_shift_const): Don't change SHIFT_MODE
7737 for LSHIFTRT either.
7739 * unroll.c (unroll_loop): Don't move reg if used in copy_end and
7740 that is a JUMP_INSN.
7742 Fri May 12 12:31:37 1995 Doug Evans <dje@cygnus.com>
7744 * arm/lib1funcs.asm: New file.
7746 Fri May 12 11:52:03 1995 Kung Hsu <kung@cygnus.com>
7748 * configure (a29k-*-vxworks*): New target.
7749 * config.sub (vxworks29k): New alias.
7750 * a29k/t-vx29k: New file.
7751 * a29k/vx29k.h: New file.
7753 Fri May 12 11:17:28 1995 Jim Wilson <wilson@mole.gnu.ai.mit.edu>
7755 * loop.c (check_dbra_loop): When reversing loop when
7756 no_use_except_counting is false, there must be only one biv.
7758 Fri May 12 07:10:00 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7760 * unroll.c (unroll_loop): Only use local_regno for pseudos.
7762 * genattrtab.c (write_test_expr, case MATCH_DUP): Use operands[N]
7763 instead of JUMP_LABEL (which may not be set).
7764 (walk_attr_value, case MATCH_DUP): Set must_extract.
7766 * c-parse.in: Adjust number of shift/reduce conflicts.
7767 (parm): Support attributes.
7768 * c-decl.c (push_parm_decl): Pass any attributes to decl_attributes.
7770 Fri May 12 00:36:26 1995 Per Bothner <bothner@kalessin.cygnus.com>
7772 * cpplib.c (skip_quoted_string): Removed - no longer needed.
7773 (skip_if_group): Use cpp_get_token instead of skip_quoted_string.
7775 * cpplib.h (struct cpp_reader): Remove start_line field.
7776 Add multiline_string_line field.
7778 * cpplib.c (cpp_error_with_line, cpp_warning_with_line,
7779 cpp_pedwarn_with_line): Take extra column number parameter.
7780 (macroexpand, cpp_get_token): Fix reporting of unterminated strings.
7781 (line_for_error): Removed - no longer needed.
7783 Fri May 12 02:21:34 1995 Jim Wilson <wilson@cygnus.com>
7785 * mips/svr4-t.h (MD_STARTFILE_PREFIX, MD_EXEC_PREFIX,
7786 STARTFILE_SPEC, LINK_SPEC): Define.
7787 * configure (mips-tandem-sysv4): Use t-mips not t-svr4.
7789 Thu May 11 19:18:54 1995 Per Bothner <bothner@kalessin.cygnus.com>
7791 * cpplib.c (line_for_error): Make it work; add extra parameter.
7792 (skip_quoted_string, cpp_get_token): Update calls to line_for_error.
7793 (macroexpand): Remember initial line so we can report it if the
7794 call is unterminated. Also, simplify error logic slightly.
7795 (do_include): Cast alloca return value, to avoid pcc warning.
7797 * cppexp.c (parse_number): Cleanup some Cygnus crud for MPW.
7799 Thu May 11 21:35:23 1995 Torbjorn Granlund <tege@cygnus.com>
7802 * i960.c (i960_output_ldconst): Let split_double handle DImode.
7803 (i960_print_operand): Use REAL_VALUE_TO_DECIMAL for decimal strings.
7804 (i960_output_double, i960_output_float): Likewise; also change arg
7805 VALUE from `double' to `REAL_VALUE_TYPE'.
7807 Thu May 11 21:09:25 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu)
7809 * cpperror.c (cpp_print_containing_files): Remove some
7812 Thu May 11 21:06:47 1995 Doug Evans <dje@canuck.cygnus.com>
7814 * gcc.c (link_command_spec): Make -nostdlib no longer imply
7817 Thu May 11 18:48:57 1995 Paul Eggert <eggert@twinsun.com>
7819 * c-common.c (convert_and_check): Don't diagnose overflow in constant
7820 expression merely because conversion overflowed.
7822 Thu May 11 18:43:59 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7824 * c-decl.c (grokdeclarator): Use PARM_FLAG to see if should
7826 * c-parse.in (nested_function, notype_nested_function):
7827 Allow old-style arg definitions (use xdecls).
7829 * c-decl.c (finish_struct): Properly update DECL_PACKED.
7831 Thu May 11 15:24:15 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7833 * fold-const.c (fold): Also fold CLEANUP_POINT_EXPRs into
7834 TRUTH_*_EXPRs and into the first operand.
7835 (operand_equal_for_comparison_p): Also make sure the second operand
7838 Thu May 11 14:22:03 1995 Ted Lemon <mellon@toccata.fugue.com>
7840 * config/mips/netbsd.h: New file.
7841 * config/mips/t-mips-netbsd: New file.
7842 * config/mips/x-netbsd: New file.
7844 * configure (mips-dec-netbsd*): Add entry.
7846 * mips.h (LOCAL_LABEL_PREFIX, USER_LABEL_PREFIX): Define.
7847 (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END, ASM_OUTPUT_LABEL_REF,
7848 ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL,
7849 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Use them.
7851 * mips.c (mips_output_lineno): Use LOCAL_LABEL_PREFIX.
7853 Thu May 11 14:22:03 1995 Stan Cox (gcc@dg-rtp.dg.com)
7855 * dwarfout.c (output_decl): Don't output DIE for struct or union type
7856 with no name or with ERROR_MARK for the fields.
7858 Thu May 11 06:36:34 1995 Michael Meissner (meissner@cygnus.com)
7860 * flow.c (mark_used_regs): If a SUBREG does not have a REG in the
7861 SUBREG_REG position, recursively call mark_used_regs, instead of
7864 Thu May 11 06:44:34 1995 Pat Rankin (rankin@eql.caltech.edu)
7866 * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Fix typo for complex.
7868 Wed May 10 12:34:46 1995 Michael Meissner <meissner@cygnus.com>
7870 * configure: Add support for the little endian variant of the
7871 PowerPC System V.4 and Eabi targets. If the GNU assembler was not
7872 specified, don't build libgcc.a variants on the PowerPC systems
7873 that use -mrelocatable, -mlittle, and -mbig.
7875 * genmultilib: For MULTILIB_MATCHES arguments, map question marks
7876 into equal signs after spliting the left and right side of
7877 equivalent options, to all support for options like: -mcpu=403.
7879 * rs6000/rs6000.md (rs6000_immed_double_const): New function that
7880 is like immed_double_const, except that it reverses the two words
7881 in the constant if the target is little endian.
7883 * rs6000/rs6000.md (floatsidf2): Use rs6000_immed_double_const,
7884 not immed_double_const.
7885 (floatunssidf2): Ditto.
7887 * rs6000/rs6000.h: Add declarations for all functions in rs6000.c.
7889 * rs6000/sysv4.h (TARGET_SWITCHES): Add -mlittle, -mlittle-endian,
7890 -mbig, and -mbig-endian for bi-endian support.
7891 (ASM_SPEC): Pass -mlittle/-mbig to the assembler if it was passed
7893 (LINK_SPEC): If explicit little or big endian support was
7894 requested, tell the GNU linker to use the appropriate target
7897 * rs6000/t-eabi (MULTILIB_*): Build libgcc.a variants for software
7898 floating point. Remove mrelocatable libgcc.a variant.
7900 * rs6000/t-eabigas: New file, cloned from t-eabi. Build
7901 mrelocatable libgcc.a variant in addition to the other variants.
7903 * rs6000/t-ppc: New file, for PowerPC System V.4 support without
7906 * rs6000/t-ppcgas: New file, for PowerPC System V.4 support with
7909 * rs6000/eabile.h: New file, little endian eabi config file.
7910 * rs6000/sysv4le.h: New file, little endian V.4 config file.
7912 Wed May 10 14:22:28 1995 Doug Evans <dje@cygnus.com>
7914 * libgcc1-test.c (main_without__main): Renamed from `main'.
7915 * Makefile.in (libgcc1-test): Tell the user to ignore warnings.
7917 * configure: Support --enable-foo, --disable-foo.
7919 Wed May 10 10:34:00 1995 Lee Iverson <leei@Canada.AI.SRI.COM>
7921 * unroll.c: Add declarations of static functions.
7922 (unroll_loop): Renumber regs local to loop for each unrolled iteration.
7924 Wed May 10 08:27:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
7926 * alpha.c (alpha_set_emit_const): Cleanups to work properly
7927 when run on 32-bit host.
7929 * configure: Instead of symlinking tm.h and {h,t,}config.h,
7930 make them files that #include the proper file; pass to Makefile.
7931 Pass out_file and md_file to Makefile instead of making symlinks.
7932 * Makefile.in (out_file, md_file, tm_file, {build,host}_xm_file):
7933 New symbols, to be overridden by configure.
7934 (insn-*): Use $(md_file), not md.
7935 (aux-output.o): Use $(out_file), not aux-output.c.
7936 ($(MD_FILE)): Rework to use new conventions.
7937 (gen*.o, bi-*.o): Depend on $(build_xm_file), not hconfig.h.
7938 (scan.o, fix-header.o, scan-decls.o): Likewise.
7939 (distclean): Adjust files removed for new convention.
7941 Tue May 9 19:26:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7943 * rs6000/rs6000.h (LIBGCC_SPEC): Do link with libgcc when -shared.
7945 * Makefile.in (STAGESTUFF): Add underscore.c.
7946 (underscore.c): Rename temporary files to begin with 'tmp-' so that
7947 they will be removed by 'make mostlyclean'.
7949 Tue May 9 19:19:55 1995 Mike Stump <mrs@cygnus.com>
7951 * toplev.c (lang_options): Add new flag -ffor-scope.
7953 Tue May 9 19:11:47 1995 Lee Iverson (leei@ai.sri.com)
7955 * objc/init.c (objc_init_statics): Fix missing part of last change.
7957 Tue May 9 18:25:34 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7959 * i386/gnu.h, i386/linux.h, i386/linux-aout.h, i386/lynx.h:
7960 Use <...> in #include instead of "..." to avoid recursion.
7961 * i386/netbsd.h, i386/xm-gnu.h, i386/xm-linux.h: Likewise.
7962 * i386/xm-lynx.h, i386/xm-freebsd.h, i386/xm-netbsd.h: Likewise.
7963 * m68k/lynx.h, m68k/netbsd.h, m68k/xm-lynx.h: Likewise.
7964 * m68k/xm-netbsd.h, mips/gnu.h, ns32k/netbsd.h: Likewise.
7965 * ns32k/xm-netbsd.h, rs6000/lynx.h, rs6000/xm-lynx.h: Likewise.
7966 * sparc/lynx.h, sparc/netbsd.h, sparc/xm-lynx.h: Likewise.
7967 * sparc/xm-netbsd.h, vax/netbsd.h, vax/xm-netbsd.h: Likewise.
7969 Tue May 9 15:52:05 1995 Michael Meissner <meissner@cygnus.com>
7971 * config.sub: Recognize powerpcle as the little endian variant of
7972 the PowerPC. Recgonize ppc as a PowerPC variant, and ppcle as a
7973 powerpcle variant. Convert pentium into i586, not i486. Add p5
7974 alias for i586. Map new x86 variants p6, k5, nexgen into i586
7977 Tue May 9 15:43:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7979 * rs6000/rs6000.h (LINK_SPEC, LIB_SPEC): Don't mess with libg
7981 * rs6000/aix41ppc.h (LINK_SPEC): Ditto.
7983 * rs6000/powerpc.h: Don't emit .extern directives.
7985 Tue May 9 14:08:09 1995 Jim Wilson <wilson@cygnus.com>
7987 * sh/lib1funcs.asm (__ashrsi3, __ashlsi3, __lshrsi3): Use .byte
7988 instead of .word offsets in switch table.
7990 Tue May 9 11:44:47 1995 Jeremy Bettis <jbettis@cse.unl.edu>
7992 * objc/sendmsg.c (__objc_send_initialize): Call superclass if object
7993 does not implement +initialize.
7995 Tue May 9 02:44:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
7997 * rs6000/xm-rs6000.h (COLLECT_EXPORT_LIST): Define if not
7999 * rs6000/xm-mach.h: #undef COLLECT_EXPORT_LIST.
8000 * rs6000/rs6000.h (COLLECT_SCAN_OBJECTS): Lose.
8002 * collect2.c (collect_exit): Unlink export_file.
8003 (prefix_from_string): Broken out from prefix_from_env.
8004 (prefix_from_env): Call it.
8005 (main): Under AIX, recognize -bE: and -bexport:, and don't
8006 automatically export everything if we see one. Otherwise, scan the
8007 objects individually and add all their symbols to an export file to be
8008 passed to the linker.
8009 (write_export_file): New function.
8010 (scan_prog_file): Ignore symbols starting with '.'
8012 * c-common.c (declare_hidden_char_array): Mark decl artificial.
8014 Mon May 8 18:13:57 1995 Adam Fedor <fedor@colorado.edu>
8016 * objc/init.c (_objc_load_callback): Add declaration.
8017 (__objc_exec_class): Call _objc_load_callback after every Class
8018 or Category is added.
8019 * objc/objc-api.h (_objc_load_callback): Add declaration.
8021 Mon May 8 17:56:28 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8023 * expr.c (expand_expr, case INDIRECT_REF): Set RTX_UNCHANGING_P
8024 if both TREE_READONLY and TREE_STATIC set.
8026 * c-typeck.c (convert_for_assignment): Don't give errors about
8027 adding const or volatile unless both sides point to functions.
8029 Mon May 8 11:48:23 1995 Michael Meissner <meissner@cygnus.com>
8031 * configure: If ../ld/Makefile, symlink ../ld/ld.new to collect-ld,
8032 not real-ld. Don't test for $use_collect2 any more.
8034 Sun May 7 17:52:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8036 * calls.c (expand_call): Improve -Winline warnings.
8038 Sun May 7 17:28:27 1995 DJ Delorie (dj@delorie.com)
8040 * configure.bat: Use "go32" instead of "msdos" for future expansion.
8042 * i386/go32.h: Add support for win32's stdcall functions.
8044 * configure.bat: Add ^M to end of each line.
8045 * i386/config-nt.bat, alpha/config-nt.bat: Likewise.
8047 Sun May 7 02:12:26 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8049 * tree.h (DECL_ARTIFICIAL): New macro.
8051 * function.c (expand_function_end): Don't warn about unused
8052 anonymous or artificial parms.
8054 Fri May 5 18:41:22 1995 Jim Meyering (meyering@comco.com)
8056 * configure: Fix typo in name of "maintainer-clean".
8058 Fri May 5 14:58:01 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
8060 * pa.c (emit_move_sequence): Force problematical constants
8061 into memory during the reload pass when generating PIC.
8063 Fri May 5 13:30:33 1995 Doug Evans <dje@cygnus.com>
8065 * objc/NXConstStr.m: NXConstantString.h renamed to NXConststr.h.
8067 Fri May 5 07:10:15 1995 Stephen L Moshier (moshier@world.std.com)
8069 * real.c (emdnorm, toe64, etoe64): Significand of Intel long double
8070 denormals is shifted down one bit.
8072 Fri May 5 07:04:12 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8074 * c-typeck.c (process_init_element): Don't clear_momentary if
8075 constructor_stack is not empty.
8077 * objc/Makefile (SHELL): Now /bin/sh.
8079 * c-typeck.c (build_binary_op): Also warn about ordered
8080 comparison of pointer with zero if -Wall.
8082 * expr.c (do_jump, case EQ_EXPR, NE_EXPR): Properly compare complex.
8084 Thu May 4 18:01:25 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
8086 * objc/Makefile: NXConstantString renamed to NXConstStr.
8087 * objc/NXConstStr.m: Renamed from objc/NXConstantString.m.
8088 * objc/NXConstStr.h: Renamed from objc/NXConstantString.h.
8090 Thu May 4 17:38:21 1995 J.T. Conklin <jtc@netbsd.org>
8092 * configure (vax-*-netbsd*): New configuration.
8093 * vax/netbsd.h, vax/xm-netbsd.h: New files.
8095 Thu May 4 16:39:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8097 * collect2.c (main): Add check for 'collect-ld', just like
8098 'real-ld', except that old versions won't be looking for it in the
8099 path. Don't look for 'real-ld' in the path anymore. Sigh.
8101 * collect2.c: #include demangle.h and obstack.h.
8102 (obstack_chunk_alloc): Define.
8103 (obstack_chunk_free): Define.
8104 (generic): Don't define. Don't use.
8105 (main): Initialize obstacks and demangling.
8107 * collect2.c (dump_file): Adjust space padding in output to
8108 maintain tabulation with Solaris ld. Don't demangle if the
8109 environment variable COLLECT_NO_DEMANGLE is set.
8111 * collect2.c (main): Redirect the output of the first link and
8112 demangle it. Don't collect static c/dtors unless USE_COLLECT2 is
8113 defined. Null-terminate the list of objects.
8114 (dump_file): New function.
8115 (file_exists): New function.
8116 (collect_exit): Renamed from my_exit. Dump and remove the temporary
8118 (collect_execute): Break out from fork_execute. Support redirection.
8119 (fork_execute): Call it.
8120 (fatal_perror, fatal, error): Make non-static.
8121 (xcalloc, xmalloc): Don't use generic.
8123 (collect_wait): Break out for do_wait. Just return the exit status.
8126 * collect2.c: Check SUNOS4_SHARED_LIBRARIES using #if, not #ifdef.
8128 * Makefile.in (collect2): Now uses cplus-dem.o and underscore.o.
8129 (collect2.o): Pass MAYBE_USE_COLLECT2 to compile.
8130 (underscore.c): Rules for creation.
8132 * cplus-dem.c, demangle.h: Copy from libiberty.
8134 Thu May 4 14:12:35 1995 Jim Wilson <wilson@cygnus.com>
8136 * sdbout.c (plain_type): Pass additional argument to plain_type_1.
8137 (plain_type_1): New parameter level. Increment it when making
8138 recursive calls. Force the type to void_type_mode before starting
8139 a 7th level of recursion.
8141 * sh.c (general_movsrc_operand, general_movdst_operand): Delete
8142 references to POST_DEC and PRE_INC.
8143 * sh.h: Clean up whitespace, comments, etc.
8144 (TARGET_SH, RTL_BIT, DT_BIT, C_BIT, R_BIT, TARGET_DUMP_RTL,
8145 TARGET_DUMP_R, TARGET_CDUMP): Delete.
8146 (TARGET_SWITCHES): Delete -mR, -mc, -mr options.
8147 (CONST_DOUBLE_OK_FOR_LETTER_P): Delete 'G' contraint.
8148 (FUNCTION_VALUE): Simplify.
8149 (REG_OK_FOR_PRE_POST_P, IS_INDEX): Delete.
8150 (BASE_REGISTER_RTX_P, INDEX_REGISTER_RTX_P): Rewrite to allow
8152 (GO_IF_LEGITIMATE_INDEX): Delete unused REGNO argument.
8153 (GO_IF_LEGITIMATE_ADDRESS): Use BASE_REGISTER_RTX_P instead of
8154 REG_OK_FOR_PRE_POST_P. Don't accept PRE_INC or POST_DEC addresses.
8155 (PREDICATE_CODES, PROMOTE_MODE): Define.
8157 Wed May 3 09:57:55 1995 Michael Meissner <meissner@cygnus.com>
8159 * rs6000/rs6000.md (non power abs insns): If not powerpc, use
8160 sf/subfc instructions, not subf.
8162 Wed May 3 08:49:06 1995 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8164 * protoize.c (gen_aux_info_file): Use strerror #ifdef HAVE_STRERROR.
8166 Wed May 3 01:06:01 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
8168 * pa.c (output_call): Fix typo/thinko in last change.
8169 (output_function_epilogue): Align the data section before
8170 emitting deferred plabels.
8173 * pa.c (before functions): Declare deferred_plabels and
8175 (output_call): When generating pic, don't use LP and RP. Use 32 bit
8177 (output_function_epilogue): Output plabels accumulated in output_call.
8179 Tue May 2 17:15:08 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
8181 * pa.c (hppa_expand_epilogue): Fix thinko in last change.
8183 Tue May 2 16:54:35 1995 Doug Evans <dje@cygnus.com>
8185 * jump.c (jump_optimize, can_reach_end determination): A barrier can
8186 follow the return insn.
8188 Tue May 2 12:39:55 1995 Mike Stump <mrs@cygnus.com>
8190 * fold-const.c (fold): Ensure that we don't alter the expression's
8191 type when folding CLEANUP_POINT_EXPRs.
8193 Tue May 2 13:36:08 1995 Michael Meissner <meissner@cygnus.com>
8195 * expmed.c (emit_store_flag): When creating store flag
8196 instructions from simpler parts, such as XOR, ABS, etc. do not
8197 reuse pseudo registers if expensive optimizations, instead create new
8198 pseudos for each insn result.
8200 Tue May 2 01:25:29 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
8202 * pa.c (hppa_expand_epilogue): Correctly handle restore of %rp
8203 for functions with a stack size of exactly 8kbytes and no frame
8206 Mon May 1 19:27:08 1995 Jim Wilson <wilson@cygnus.com>
8208 * sdbout.c (sdbout_one_type): Don't switch to text section if
8209 in function with section attribute.
8211 * combine.c (combine_instrutions): Set subst_prev_insn to zero.
8212 (try_combine, undo_all): Likewise.
8213 (get_last_value): Return zero if subst_prev_insn set.
8215 * sparc.h (INIT_TARGET_OPTABS): Move INIT_SUBTARGET_OPTABS to end.
8217 * Makefile.in (install-dir): chmod a+rx all newly created directories.
8219 * expr.c (expand_expr, case SAVE_EXPR): Handle the case where
8222 Fri Apr 28 15:39:38 1995 Per Bothner <bothner@kalessin.cygnus.com>
8224 * cpplib.h (cpp_buffer): Note new escape combination "@ ".
8225 * cpplib.c (macroexpand): Delete "@ " if stringifying.
8226 (cpp_skip_hspace): Also skip "@ " if input buffer has_escapes.
8227 (collect_expansion): Cleanup white-space handling.
8228 (create_definition): Remove all leading spaces, not just first one.
8229 (cpp_expand_to_buffer): Set has_escapes on resulting input buffer.
8230 (macroexpand): Set output_escapes during whole function (and
8231 specifically during calls of macarg).
8232 (macroexpand): Set "@ " before and after expansion result.
8233 (push_macro_expansion): Remove unneeded initial "@ ", not " ".
8234 (cpp_get_token): Remove unneeded "@ " (not " ") at end of expansion.
8235 (cpp_get_token): Handle "@ ".
8237 * cpplib.c (read_name_map): Add cpp_reader parameter. Access
8238 map_list from former (instead of having it be static).
8239 (open_include_file): Extra parameter (because of above changes).
8240 (do_include, lookup_import): Update calls of open_include_file.
8242 * cpplib.c (do_include): Fix memory leak.
8244 * cpplib.c (delete_assertion): Also delete tokenlist.
8245 (do_unassert): Don't delete tokenlist (handled by delete_assertion).
8246 (cpp_cleanup): New function. Frees resources used by a cpp_reader.
8247 * cpphash.c (cpp_hash_cleanup): New function.
8248 (delete_macro): Enable commented-out code.
8249 (file_cleanup): Free actual buffer.
8251 * cpplib.c (cpp_options): Add map_list.
8253 * cpplib.h (PARSE_GETC): Removed. Bogus and unused.
8254 * cppmain.c (main): Remove commented-out code that used PARSE_GETC.
8256 * cpplib.c: Don't #include <string.h>. Causes clashes
8257 on Nextstep (when index/rindex are macros).
8258 (cpp_grow_buffer, int_parse_file): Cast to U_CHAR*, rather than char*.
8260 Sun Apr 30 08:11:23 1995 Alan Modra (alan@spri.levels.unisa.edu.au)
8262 * stdarg.h, varargs.h (va_arg): Don't assume __va_rounded_size (char)
8265 Sun Apr 30 07:13:43 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8267 * vax.h (NOTICE_UPDATE_CC): Correctly handle aob insns.
8269 * expr.c (expand_expr, case CONSTRUCTOR): Don't set target to
8270 zero if more then one word.
8271 Pass size and alignment to move_by_pieces_ninsns in bytes, not bits.
8273 * cse.c (cse_insn): Properly set IN_MEMORY for SET_DEST.
8275 * tree.c (substitute_in_expr): Preserve TREE_READONLY.
8277 * c-common.c (enum attrs): Add A_UNUSED.
8278 (init_attributes): Initialize it.
8279 (decl_attributes, case A_UNUSED): New case.
8281 Sat Apr 29 15:42:03 1995 Paul Eggert <eggert@twinsun.com>
8283 * cccp.c (do_include): Re-fix minor memory leak by using
8284 alloca instead of xmalloc and free.
8286 * cccp.c (macarg): Except for reporting error, treat unterminated
8287 macro call as if it were terminated, since `macroexpand' relies
8288 on *argptr being filled in.
8290 Sat Apr 29 06:09:35 1995 Torbjorn Granlund <tege@cygnus.com>
8292 * pa.c (output_mul_insn): Simplify, it is never called with
8295 * pa.md (divsi3, udivsi3, modsi3, umodsi3): Simplify.
8296 (ashlsi3): Clean up indentation and commentary.
8298 Fri Apr 28 12:48:01 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8300 * integrate.c (expand_inline_function): Don't emit any notes until
8301 after we've expanded the actual parameters.
8303 Fri Apr 28 11:51:06 1995 Stan Cox (gcc@dg-rtp.dg.com)
8305 * m88k/dgux.h: (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend
8306 (SELECT_RTX_SECTION) Put relocatable pic constants in data section
8308 * m88k/dguxbcs.h: (LIB_SPEC) Likewise
8310 * m88k/m88k.c: (symbolic_operand) Put relocatable pic constants in data
8312 * m88k/m88k.h: (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer
8314 * m88k/m88k.md: (umulsidi3) Doesn't work for 88110 with mod/div changes
8316 * m88k/x-dgux: (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend
8318 Fri Apr 28 06:36:47 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8320 * c-typeck.c (pop_init_level, output_init_element): Pass
8321 require_constant_* to digest_init.
8323 * alpha.c (alpha_emit_set_const): Now returns rtx and take MODE arg.
8324 Rework to use a new pseudo for intermediate values if high opt level.
8325 Also use expand_{bin,un}op.
8326 * alpha.h (alpha_emit_set_const): Add declaration.
8327 * alpha.md (mov[sd]i and splits): Change call to alpha_emit_set_const.
8329 * reg-stack.c (stack_result): Fix bug in last change.
8331 Fri Apr 28 01:08:43 1995 Doug Evans <dje@cygnus.com>
8333 * objc-act.c: Update calls to start_decl, finish_struct,
8334 pass NULLs for attributes.
8336 Thu Apr 27 21:13:14 1995 Doug Evans <dje@cygnus.com>
8338 * sparc.md (tablejump): Only if ! TARGET_MEDANY.
8339 (casesi): New pattern for TARGET_MEDANY case.
8341 * c-common.c (decl_attributes): Always continue if attribute not found.
8342 * c-typeck.c (common_type): Call lookup_attribute instead of
8344 * tree.c (attribute_hash_list): New function.
8345 (build_type_attribute_variant): Call it.
8346 (valid_machine_attribute): Handle attributes with arguments.
8347 (is_attribute_p): New function.
8348 (lookup_attribute): New function.
8349 (attribute_in_list): Deleted.
8350 (attribute_list_contained): Check TREE_PURPOSE and TREE_VALUE.
8351 * tree.h (valid_machine_attribute): Add prototype.
8352 (is_attribute_p, lookup_attribute): Likewise.
8353 * i386/winnt.h (RETURN_POPS_ARGS): Call lookup_attribute.
8354 (ENCODE_SECTION_INFO): Likewise.
8355 (CPP_PREDEFINES): Use __stdcall__, __cdecl__.
8356 (VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p.
8357 `args' must be NULL.
8359 Thu Apr 27 21:10:41 1995 David Edelsohn <edelsohn@mhpcc.edu>
8361 * rs6000.md (insv): New anonymous patterns to combine insert with
8362 arbitrary ashift, ashiftrt, lshiftrt, or zero_extract. (Based on
8363 patch from John Brooks <jbrooks@ea.com>.)
8364 (ashlsi3): Remove extraneous operand processing.
8366 Thu Apr 27 18:47:24 1995 Jim Wilson <wilson@cygnus.com>
8368 * sh/ashlsi3.c, sh/ashrsi3.c, sh/lshrsi3.c: Delete.
8369 * sh/lib1funcs.asm (ashiftrt_r4_*): Rewrite for efficiency.
8370 (ashrsi3, lshrsi3, lshrsi3): Add.
8371 * t-sh (LIB1ASMFUNCS): Add new functions.
8372 (LIBGCC2_CFLAGS): Delete.
8373 (LIB2FUNCS_EXTRA): Remove deleted files.
8374 (ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files.
8376 * stmt.c (expand_return): When returning BLKmode structure, use
8377 operand_subword instead of doing arithmetic on the register number.
8378 Also, for structures smaller than word_mode, copy it into a word_mode
8379 temporary and then subreg it.
8381 * sparc.md: Delete two define_peepholes which print `bad peephole'.
8383 Thu Apr 27 16:17:01 1995 Torbjorn Granlund <tege@cygnus.com>
8385 * toplev.c (rest_of_compilation): Call shorten_branches even when
8387 * final.c (shorten_branches): For non-optimizing compiles, break
8390 Thu Apr 27 14:22:50 1995 Michael Meissner <meissner@cygnus.com>
8392 * i386/linux-oldld.h: New file, that is cloned from linux-aout.h,
8393 except that it does not pass -m i386linux to the linker. This is
8394 to support the original GNU/Linux ld that is on most distributions.
8396 * configure (i[345]86-*-linux*oldld*): Use i386/linux-oldld.h as
8399 Thu Apr 27 08:56:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8401 * tree.c (valid_machine_attribute): Update last change.
8403 Thu Apr 27 08:06:33 1995 Philippe De Muyter (phdm@info.ucl.ac.be)
8405 * fix-header.c, cpplib.c: Don't include <sys/stat.h> twice.
8406 * cpplib.c (cpp_grow_buffer, init_parse_file): Cast {xmalloc,xrealloc}
8407 for token_buffer to U_CHAR* instead of char*.
8409 * m68k/x-mot3300: New file.
8410 * configure (m68k-motorola-sysv*): Use x-mot3300 instead of x-alloca.
8412 Thu Apr 27 07:04:09 1995 Paul Eggert <eggert@twinsun.com>
8414 * cccp.c (do_include): Fix minor memory leak.
8416 * cccp.c (struct argdata): Remove unused `comments' member.
8417 (macarg): Don't set `comments' member.
8419 * cccp.c (collect_expansion): Assume leading white space
8421 Don't allocate unnecessary space for expansion.
8423 * cccp.c (deps_output): Don't generate overly long output lines.
8424 Do not invoke self recursively with spacer == 0; this simplifies
8427 Wed Apr 26 19:20:02 1995 Andrew McCallum <mccallum@leopard.cs.rochester.edu>
8429 * objc/Object.h: Changed Class * to Class in order to match NEXTSTEP
8430 and OpenStep runtime.
8431 * objc/Object.m, objc/Object.h, objc/archive.c, objc/class.c: Likewise.
8432 * objc/encoding.c, objc/init.c, objc/objc-api.h, objc/objc.h: Likewise.
8433 * objc/objects.c, objc/runtime.h, objc/selector.c: Likewise.
8434 * objc/sendmsg.c, objc/typedstream.h: Likewise.
8436 Wed Apr 26 19:18:52 1995 Pieter Schoenmakers <tiggr@es.ele.tue.nl>
8438 * objc/objc-api.h (objc_static_instances): New struct to record
8439 static instances of a certain class.
8440 (objc_module): New tag STATICS to point to the table of
8441 objc_statics_instances.
8443 * objc/init.c (OBJC_VERSION): Version 7.
8444 (objc_init_statics): New function.
8445 (__objc_exec_class): Invoke objc_init_statics if needed.
8447 * objc/NXConstantString.m, objc/NXConstantString.h: New files.
8448 * objc/Makefile (OBJC_O): Added bare-bones implementation of
8451 * objc-act.c (OBJC_VERSION): Version 7.
8452 (build_objc_string_object): Build a full declaration if not using
8454 (objc_add_static_instance): New function.
8455 (init_module_descriptor): Add reference to static instances table.
8456 (build_module_descriptor): Add field for static instances table.
8457 (get_objc_string_decl): New function.
8458 (generate_static_references): New function.
8459 (finish_objc): Call generate_static_references if needed.
8461 * c-tree.h (finish_decl_top_level): New declaration.
8462 * c-decl.c (finish_decl_top_level): New function.
8464 Wed Apr 26 18:04:32 1995 Dirk Steinberg (Dirk.Steinberg@gmd.de)
8466 * stddef.h: Treat _MACHINE_ANSI_H_ like _ANSI_H_.
8468 Wed Apr 26 14:09:59 1995 Jim Wilson <wilson@cygnus.com>
8470 * sparc.h (NEGTF2_LIBCALL): Define.
8471 (INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros.
8472 * optabs.c (init_optabs): Delete all uses of undocumented TImode and
8473 TFmode *_LIBCALL macros.
8475 * combine.c (simplify_rtx, case TRUNCATE): Add. Use force_to_mode.
8476 (force_to_mode, case AND): Allow some simplifications when GET_MODE (x)
8477 has more bits than HOST_BITS_PER_WIDE_INT.
8478 * mips/mips.md (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND
8481 Wed Apr 26 13:01:22 1995 Doug Evans <dje@cygnus.com>
8483 * sparc.md (memop define_splits): Rewrite to not use memop.
8484 Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits.
8485 * sparc.c (memop): Deleted.
8486 (splittable_symbolic_memory_operand): New function.
8487 (splittable_immediate_memory_operand): New function.
8489 Wed Apr 26 12:54:26 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
8491 * configure: Add hppa1.1-hp-lites support.
8493 Wed Apr 26 08:04:46 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8495 * sh.md (ashrsi2_31): Don't use dead_or_set_p after reload.
8496 * pyr.md: Remove bad peepholes that improperly use dead_or_set_p.
8498 * function.c (expand_function_end): Warn about unused parms
8499 if both -Wunused and -W.
8501 * tree.h (TYPE_PARSE_INFO): Delete unused field.
8502 (TYPE_PACKED): Add new macro.
8503 (struct tree_type): Delete unused field `parse_info'.
8504 Add new field `packed_flag'.
8505 * c-tree.h (finish_enum, finish_struct): Add ATTRIBUTES argument.
8506 * c-common.c (init_attributes): Don't require decl for A_PACKED.
8507 (decl_attributes, case A_PACKED): Set TYPE_PACKED for type.
8508 * c-parse.in: Update number of shift/reduce conflicts.
8509 (structsp): Pass attribute arg to finish_struct.
8510 Support attributes on enums and pass to finish_enum.
8511 * c-decl.c (finish_struct): Add ATTRIBUTES argument, call
8512 decl_attributes and set DECL_PACKED from TYPE_PACKED.
8513 (finish_enum): Add ATTRIBUTES argument, call decl_attributes,
8514 and make enum narrow if TYPE_PACKED.
8515 * print-tree.c (print_node): Print TYPE_PACKED.
8517 * c-decl.c (init_decl_processing): Don't give builtin__constant_p an
8519 * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): A pointer to a
8520 string constant is a constant.
8522 * c-typeck.c (output_init_element): Constructor is not simple if
8523 a bitfield is being assigned a non-integer.
8525 * c-typeck.c (push_init_level): Update constructor_depth when we
8526 push spelling level.
8528 Tue Apr 25 19:50:06 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
8530 * pa.c (emit_move_sequence): Handle function label arithmetic for
8531 PIC code generation too.
8533 Tue Apr 25 18:52:43 1995 Stephen R. van den Berg (berg@pool.informatik.rwth-aachen.de)
8535 * reg-stack.c (current_function_returns_real): Deleted (unused).
8536 (FP_mode_reg): Trimmed to a smaller size, less overhead.
8537 (FP_MODE_REG): New macro over which FP_mode_reg will be accessed.
8538 (mark_regs_pat, straighten_stack): New functions.
8539 (reg_to_stack): Amend initialisation of FP_mode_reg.
8540 Mark FP registers mentioned in USE insns before NOTE_INSN_FUNCTION_BEG.
8541 (get_true_reg): Eliminate FP subreg accesses in favor of the
8542 actual FP register in use.
8543 (record_reg_life_pat): Make it work on SUBREGs as well. Make use of
8544 the new mark_regs_pat function. Handle USE insns if called unnested.
8545 (record_reg_life): Don't check for QImode again, we know that it
8546 is there. Process CALL_INSNs like all other insns, they might `use'
8547 some FP argument registers if register passing.
8548 (stack_result_p): Changed in stack_result and returning an rtx.
8549 (stack_reg_life_analysis): Take a new stackentry state argument.
8550 Use stack_result and the rtx to mark using mark_regs_pat. This ensures
8551 that types that need multiple FP registers are handled correctly.
8552 Delete the no_live_regs shortcut to save space.
8553 Use stackentry state to determine filled registers.
8554 (replace_reg): Accept COMPLEX_FLOAT as well.
8555 (move_for_stack_reg): Optimize away some pointer dereferencing.
8556 (subst_stack_regs): Make sure the stack is in the right order
8557 and of the right size for register passing.
8558 (goto_block_pat): Make sure the stack is in the right order
8559 to return possible multi-register values from the function.
8560 (convert_regs): Fix comment about CALL_INSN, it's no longer valid.
8561 Make sure the stack is of the right size and in the right order
8562 to return possible multi-register values from the function.
8564 * function.c (assign_parms): If STACK_REGS is defined, generate USE
8565 insns before the function body, thus showing which registers are filled
8567 * expr.c (expand_builtin_apply_args): Likewise.
8568 Reverse order of saving registers, more compact code for i387.
8569 (expand_builtin_apply): Likewise.
8570 * emit-rtl.c (gen_highpart): Add comment about broken implementation.
8571 * i386.md (untyped_call): Make it return a complex double.
8573 * c-parse.in (attrib): Permit null-length argument list to attributes.
8575 * tree.c (valid_machine_attribute): Use new function attribute_in_list,
8576 makes sure type_attribute_variants are reused even when attributes have
8578 Assign any new type to TREE_TYPE (decl).
8579 (attribute_in_list): New function.
8580 (attribute_list_contained): Use it.
8581 * tree.h (attribute_in_list): New declaration.
8583 Tue Apr 25 18:25:53 1995 Jim Wilson <wilson@cygnus.com>
8585 * expr.c (struct move_by_pieces): Add to_struct and from_struct fields.
8586 (move_by_pieces): Set to_struct and from_struct fields.
8587 (move_by_pieces_1): Set MEM_IN_STRUCT_P of to1 and from1.
8588 (expand_builtin, case BUILT_IN_MEMCPY): New variable type.
8589 Set MEM_IN_STRUCT_P of src_mem and dest_mem.
8591 * Makefile.in (clean): Delete libgcc1-asm.a.
8593 * m68k/vxm68k.h (CPP_SPEC): Define.
8595 * c-decl.c (pushdecl): Don't test DECL_EXTERNAL when deciding whether
8596 to register a duplicate decl in the current block.
8598 * cross64.h (INIT_ENVIRONMENT): Define as string not putenv call.
8599 * gcc.c (main): Pass INIT_ENVIRONMENT to putenv.
8601 * stmt.c (expand_return): When returning BLKmode structure in
8602 registers, copy it to a psuedo-reg instead of to hard registers.
8604 Tue Apr 25 15:14:58 1995 Michael Meissner <meissner@cygnus.com>
8606 * rs6000.h (LEGITIMIZE_ADDRESS): Don't create a DF address using two
8607 regs if -msoft-float or -mcpu=403.
8609 Tue Apr 25 15:45:44 1995 Richard Henderson (richard@atheist.tamu.edu)
8611 * m68k.md (divhi3, udivhi3, modhi3, umodhi3): Deleted
8612 these insns plus some surrounding trash.
8613 (divmodhi4, udivmodhi4): Added these insns.
8615 Tue Apr 25 10:12:40 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8617 * alpha.c (alpha_builtin_saveregs): Refine last change to work
8618 for both stdarg and varargs.
8620 * tree.c (chain_member_purpose): Make similar to chain_member_value.
8622 * Makefile.in, configure: Change "realclean" to "maintainer-clean".
8624 * protoize.c: Removed __NetBSD__ from conditional.
8625 Declare strerror if HAVE_STRERROR is defined; otherwise
8626 declare sys_errlist and sys_nerr.
8627 (my_strerror): New function.
8628 (errno): Don't define if already defined as a macro.
8630 * alpha.c (current_file_function_operand): Return false if profiling.
8632 * expr.c (convert_move): Don't access a hard reg in an invalid
8633 mode when doing a truncation.
8635 * alpha.c (add_operand): Test for exactly the constants allowed by
8637 * alpha.h (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000.
8639 * c-parse.in (initdcl, notype_initdcl): Pass attributes to
8640 start_decl; delete call to decl_attributes.
8641 * c-tree.h (start_decl): Two new tree parameters.
8642 * c-decl.c (start_decl): New args for attributes; call decl_attributes.
8644 * c-decl.c (duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES
8647 * xm-1750a.h: New file.
8649 * alpha.c (alpha_builtin_saveregs): Add to incoming args addr
8650 if less than 6 named args, not less than or equal to.
8652 Mon Apr 24 15:25:19 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8654 * mips-tfile.c (fatal, error): Make first arg const to avoid warning.
8656 * stmt.c (expand_end_bindings): Write a BARRIER after call
8657 to abort in nonlocal handler.
8659 * stmt.c (expand_decl_init): Call preserve_temp_slots to keep
8660 around any temp whose address was taken.
8662 Fri Apr 21 16:26:15 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8664 * pa.md (call_internal_reg): Fix typos in length calculation.
8665 (call_value_internal_reg): Likewise.
8667 Fri Apr 21 13:17:15 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8669 * config/gnu.h (STANDARD_INCLUDE_DIR): New macro.
8670 * config/mips/gnu.h (STANDARD_INCLUDE_DIR): Macro moved there.
8672 Fri Apr 21 08:23:58 1995 Tom Quiggle (quiggle@lovelace.engr.sgi.com)
8674 * toplev.c (lang_options): Add -I for GNAT.
8675 * gcc.c (default_compilers): Pass -I to gnat1.
8677 Fri Apr 21 07:58:06 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8679 * tree.c (integer_all_onesp): Test to size of mode, not TYPE_PRECISION.
8681 * toplev.c (main): Turn on -fforce-mem for -O2.
8683 * fold-const.c ([lr]rotate_double): Replace; old versions were bogus.
8684 (fold, shift and rotate): Don't call tree_int_cst_sgn on non-integer.
8685 (fold, case LROTATE_EXPR): If constant count, convert to RROTATE_EXPR.
8686 (fold, case RROTATE_EXPR): Sometimes commute logical op with rotate.
8687 Delete pair of counteracting shifts.
8689 * combine.c (simplify_logical, case AND): If still an AND, get
8690 new values for op0 and op1.
8692 Thu Apr 20 17:52:10 1995 Jim Wilson <wilson@chestnut.cygnus.com>
8694 * sh.c: Completely rewritten.
8695 * sh.h (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT,
8696 TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete.
8697 (TARGET_SWITCHES): Delete -mclen3 and -mclen0 options.
8698 (TARGET_DEFAULT): Is zero.
8699 (OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi.
8700 (SPECIAL_REG): New macro.
8701 (HARD_REGNO_MODE_OK): Allow any mode in any general register.
8702 (GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case.
8703 (MOVE_RATIO): Define to 2 when TARGET_SMALLCODE.
8704 (max_si, max_hi, max_count_si, max_count_hi): Delete.
8705 * sh.md: Delete spurious constraints from all define_expands.
8706 (rotlsi3_1): Set T reg instead of clobbering it.
8707 (ashrsi3): Use expand_ashiftrt instead of gen_shifty_op.
8708 (movsi_i, movhi_i, movsf_i): Add conditions to reject patterns
8710 (movdi-2, movdf_k): Correct conditions to reject patterns needing
8712 ([inverse_]branch_{true,false}): Pass operands to output_branch.
8713 (jump): Delete unnecessary braces.
8714 (call, call_value): Don't use expand_acall. Force operand0 into
8717 Thu Apr 20 12:57:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8719 * function.c (assign_parms): Use TREE_ADDRESSABLE rather than
8720 TYPE_NEEDS_CONSTRUCTING to decide whether a parameter needs to be
8721 passed by invisible reference.
8723 * calls.c (expand_call): Ditto. Abort if we try to pre-evaluate a
8724 parameter of TREE_ADDRESSABLE type.
8726 Wed Apr 19 17:50:24 1995 Torbjorn Granlund <tege@cygnus.com>
8728 * pa.h (TARGET_SWITCHES): Fix typo.
8730 Tue Apr 18 18:06:03 1995 Per Bothner <bothner@kalessin.cygnus.com>
8732 * expr.c (store_constructor): Use BYTES_BIG_ENDIAN rather
8733 than BITS_BIG_ENDIAN to layout bits within bitstring.
8734 * tree.c (get_set_constructor_bytes): Likewise.
8736 Tue Apr 18 17:22:46 1995 Per Bothner (bothner@wombat.gnu.ai.mit.edu)
8738 * config/m68k/{x-hp320,x-hp320g} (FIXPROTO_DEFINES):
8739 Define _HPUX_SOURCE so putenv and other functions get seen.
8741 Tue Apr 18 03:57:35 1995 Michael Meissner (meissner@cygnus.com)
8743 * varasm.c (weak_decls): Make this a unique structure, instead of
8745 (handle_pragma_weak): Don't redeclare asm_out_file. Use new weak
8746 structure to copy name and value to. Protect name and value by
8747 copying them to the permanent obstack.
8748 (declare_weak): Call handle_pragma_weak, instead of duplicating
8750 (finish_weak): Rewrite to use new weak symbols list structure.
8752 * c-pragma.h: New file to define the c-pragma.c interfaces.
8753 * c-pragma.c: Include it.
8754 * varasm.c: Include it.
8755 * c-lex.c: Include it.
8756 * cp/lex.c: Include it.
8758 * varasm.c (handle_pragma_weak): No longer pass output file
8759 stream, since weak pragmas are delayed until the end of the
8761 * c-pragma.c (handle_pragma_token): Call handle_pragma_weak
8762 without file stream argument.
8764 * Makefile.in (varasm.o, c-lex.o, c-pragma.o): Add dependencies on
8767 * config/rs6000.md (movdf): If -msoft-float, do not generate
8768 memory to memory references, like is already done for the
8769 -mhard-float case. Remove an extra test for -mhard-float inside
8770 of -mhard-float code.
8772 Tue Apr 18 06:19:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8774 * fold-const.c (size_int): Arg is unsigned HOST_WIDE_INT.
8775 * tree.h (size_int): Likewise.
8777 Mon Apr 17 23:36:57 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8779 * rs6000/aix41.h: Restore March 11th changes, plus
8780 (ASM_OUTPUT_EXTERNAL): Do add [DS] or [RW], just don't emit
8782 * rs6000/aix3newas.h (ASM_OUTPUT_EXTERNAL): Ditto.
8784 Mon Apr 17 15:58:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
8786 * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS.
8787 * config/mips/x-iris6: Likewise.
8789 * cpplib.c: Rename make_definition to cpp_define.
8790 * cpplib.h (cpp_define): New declaration.
8792 * cpplib.c (special_symbol): For T_SPECLINE, calculate __LINE__
8793 in enclosing file buffer, not current buffer (if macro expanding).
8794 (cpp_get_token): Fix thinko (in code for chopping unneeded space).
8796 Mon Apr 17 11:36:07 1995 Jim Wilson <wilson@cygnus.com>
8798 * abi64.h (CPP_SPECS): Define and use _ABI64 instead of
8800 (SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target.
8801 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define.
8803 * combine.c (get_last_value): Ignore BARRIER when scanning backwards.
8804 (move_deaths): New variables before_dead and after_dead. Set them
8805 to instructions that have valid INSN_CUID values and use in test.
8807 * combine.c (subst_prev_insn): New variable.
8808 (try_combine): Set it.
8809 (get_last_value): Use it.
8811 * reload.c (find_reloads): Recompute reg_equiv_address from
8812 reg_equiv_memory_loc before using it.
8813 (find_reloads_toplev, make_memloc): Likewise.
8815 * expr.c (expand_builtin, case BUILT_IN_MEMCPY): Call force_operand
8816 on dest_rtx before returning it.
8818 * function.c (instantiate_decls): Use temporary allocation if
8819 DECL_DEFER_OUTPUT is set.
8821 Sat Apr 15 23:19:03 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8823 * aoutos.h (ASM_OUTPUT_DEF): Define instead of SET_ASM_OP.
8824 * sparc/sunos4.h (ASM_OUTPUT_DEF): Ditto.
8826 * varasm.c (weak_finish): Don't handle aliases.
8827 (declare_weak): Ditto.
8828 (assemble_alias): Handle aliases.
8830 * c-common.c (enum attrs): Add A_ALIAS.
8831 (init_attributes): Ditto.
8832 (decl_attributes): Ditto.
8834 Sat Apr 15 13:26:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8836 * calls.c (expand_call): Call preserve_temp_slots on temps
8837 made for BLKmode args returned in registers.
8839 * pa.c (override_options): Fix typo.
8841 Sat Apr 15 12:11:46 1995 Brendan Kehoe <brendan@cygnus.com>
8843 * alpha/alpha.c (output_epilog): Initialize fp_offset to 0, and
8844 make sure it's nonzero before we try to use it to restore the
8847 Fri Apr 14 19:45:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8849 * ginclude/va-{clipper,pa,pyr,sparc,spur}.h (va_arg): Reorganize
8850 to avoid BIND_EXPRs and COND_EXPRs of aggregate type.
8852 Fri Apr 14 19:31:14 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
8854 * config/svr4.h (ASM_OUTPUT_SECTION_NAME): Make the section
8855 read-only executable "ax" if DECL is a FUNCTION_DECL; read-only
8856 "a" (previously the case always) if DECL is TREE_READONLY;
8857 otherwise writable "aw".
8859 Fri Apr 14 18:49:11 1995 Linus Torvalds <Linus.Torvalds@cs.Helsinki.FI>
8861 * alpha.md (probe_stack): Probe with write, not read.
8862 (allocate_stack): Update and correct stack probe code.
8863 * alpha.c (output_prolog): Changed stack probe at function entry.
8865 Fri Apr 14 18:42:34 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8867 * jump.c (delete_insn): When deleting after label, delete
8870 Fri Apr 14 14:40:48 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8872 * toplev.c (compile_file): Call weak_finish.
8874 * c-common.c (enum attrs): Add A_WEAK.
8875 (init_attributes): Ditto.
8876 (decl_attributes): Support __attribute__ ((weak)) by
8877 calling declare_weak.
8879 * sparc/sunos4.h (HANDLE_PRAGMA_WEAK, WEAK_ASM_OP, SET_ASM_OP):
8880 Define to support weak symbols with -fgnu-linker.
8883 * varasm.c (handle_pragma_weak): Add declared weak symbols to
8884 weak_decls rather than emitting them immediately.
8885 (declare_weak): Add the indicated declaration to weak_decls.
8886 (weak_finish): Emit .weak directives for any weak symbols.
8888 * libgcc2.c: The C++ free-store management functions are weak.
8890 Fri Apr 14 13:00:29 1995 Michael Meissner (meissner@cygnus.com)
8892 * rs6000/rs6000.c (output_prolog): For eabi systems, emit main's
8893 call to __eabi before setting up the minimal TOC used with the
8894 -mrelocatable support.
8896 * rs6000/eabi.h (INVOKE__main): Don't define any more,
8897 output_prolog will emit the call.
8899 Fri Apr 14 09:09:03 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8901 * alpha.c (call_operand): Any reg is valid for NT.
8902 (output_prologue): Never need GP for Windows/NT.
8903 Set SYMBOL_REF_FLAG in current function decl.
8905 Thu Apr 13 20:19:30 1995 Jason Merrill <jason@phydeaux.cygnus.com>
8907 * alpha/xm-alpha.h (HAVE_VPRINTF): Define.
8908 (HAVE_PUTENV): Define.
8911 Thu Apr 13 19:57:44 1995 Doug Evans <dje@cygnus.com>
8913 * emit-rtl.c (gen_sequence): If the insn has a non-null
8914 CALL_INSN_FUNCTION_USAGE field, output it as a sequence so the
8915 latter isn't discarded.
8917 * c-parse.in: Update expected conflict count.
8919 Thu Apr 13 08:10:20 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
8921 * configure.bat: Arg 2 is which machine (i386 or alpha).
8922 * configure (alpha-*-winnt3*): New configuration.
8923 * alpha.c: Don't #include stamp.h for WINNT.
8924 (input_operand, case CONST): Allow ptr_mode and DImode.
8925 * alpha.h (WINDOWS_NT): Provide default definition.
8926 (ASM_OUTPUT_INT): Use output_addr_const.
8927 (ASM_OUTPUT_ADDR_DIFF_ELT): Use .long for NT.
8928 * alpha.md (calll, tablejump, movsi): New variants for NT.
8929 * alpha/winnt.h, alpha/xm-winnt.h, alpha/x-winnt: New files.
8930 * alpha/config-nt.bat, alpha/config-nt.sed: New files.
8931 * i386/config-nt.bat: Add Ada fragments to Makefile.
8932 * i386/config-nt.sed: Adjust for deletion of config.run in Makefile.in
8933 Change version to 2.6.3.
8934 Add some missing tabs.
8935 * winnt/winnt.h (TARGET_MEM_FUNCTIONS): Define.
8936 (LINK_SPEC): Delete "align:0x1000".
8937 * winnt/xm-winnt.h (OBJECT_SUFFIX): Define.
8938 * ginclude/stdarg.h, ginclude/varargs.h: Clean up code that
8939 defines *DEFINED* symbols.
8941 * configure (a29k-*-sym1*): Same as a29k-*-bsd*.
8942 * a29k.h (ASM_OUTPUT_SECTION_NAME): New macro.
8944 Wed Apr 12 14:36:03 1995 Jim Wilson <wilson@cygnus.com>
8946 * dbxout.c (dbxout_type_fields): Correct arguments to CHARS macro
8947 in flag_minimal_debug case.
8948 (dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally.
8949 * sdbout.c (sdbout_record_type_name): Correct indentation.
8950 (sdbout_symbol): Use DECL_ASSEMBLER_NAME unconditionally.
8951 (sdbout_one_type): Likewise.
8953 Tue Apr 11 13:24:13 1995 Per Bothner <bothner@kalessin.cygnus.com>
8955 * fix-header.c (main): Fix loop over required_functions_list.
8956 (fatal): Also print inc_filename.
8958 * cpplib.c (cpp_push_buffer): Added missing initializatuon of buf.
8959 (cpp_file_buffer): Compare against CPP_NULL_BUFFER, not NULL.
8960 (finclude): No longer call cpp_push_buffer - let callers do it.
8961 (do_include): Add call to cpp_push_buffer.
8962 (push_parse_file): Call cpp_push_buffer early, so initial
8963 defines can use file and line from a valid cpp_buffer.
8964 (nreverse_pending): New function.
8965 (push_parse_file): Use nreverse_pending.
8966 (push_parse_file): For -include files, just push them in reverse
8967 order - we don't need to scan them now.
8968 (cpp_error_from_errno, cpp_perror_with_name): Don't emit extra '\n'.
8970 Tue Apr 11 13:36:44 1995 Jim Wilson <wilson@cygnus.com>
8972 * configure (mips-dec-mach3): Add.
8974 * sh.c (shiftby_operand): Delete.
8975 * sh.h (TARGET_SWITCHES): -m3 and -m3l also set SH2_BIT.
8976 (OVERRIDE_OPTIONS): Don't add CPU_SH2 to CPU_SH3 when TARGET_SH3.
8977 * sh.md (ashlsi3): Use nonmemory_operand as a predicate instead of
8978 shiftby_operand. Don't use shiftby_operand in the output statement.
8979 (lshrsi3): Likewise.
8981 * c-decl.c (poplevel): Do output inline function if
8982 DECL_ABSTRACT_ORIGIN points to itself.
8984 * varasm.c (output_constant): Cast assemble_string argument to char *.
8986 Mon Apr 10 14:29:28 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8988 * recog.c (constrain_operands, case 'E'): Make this work like
8989 constraint character `F' when REAL_ARITHMETIC is defined.
8990 * regclass.c (record_reg_classes, case 'E'): Likewise.
8991 * reload.c (find_reloads, case 'E'): Likewise.
8993 Mon Apr 10 14:30:31 1995 Michael Meissner <meissner@cygnus.com>
8995 * rs6000/aix3newas.h, rs6000/aix41.h: Eliminate March 11th changes
8996 to undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}, since this causes the
8997 compiler not to bootstrap.
8999 Mon Apr 10 07:17:39 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9001 * cppalloc.c: #include config.h.
9002 * cppexp.c: Add declarations of xmalloc and xrealloc.
9003 (cpp_parse_expr): Cast args to bcopy to char *.
9004 * cpphash.c: Add declaration of xmalloc.
9005 * cpplib.c (init_parse_options, cpp_reader): Cast args to bcopy,
9006 bcmp, and bzero to char *.
9007 (add_import, push_parse_file, init_parse_file): Likewise.
9009 * c-common.c (enum attrs): New attribute, A_NOCOMMON.
9010 (init_attribute): Initialize it.
9011 (decl_attributes): Implement it.
9012 * varasm.c (make_decl_rtl): Allow section attribute if -fno-common
9013 or variable is not to be placed in common for some other reason.
9015 * combine.c (simplify_set): Don't move a SUBREG to dest if it
9016 is changing the size of a hard reg in CLASS_CANNOT_CHANGE_SIZE.
9018 * reload.c (find_equiv_reg): If goal is a pseudo that got memory,
9019 a store into memory makes it invalid.
9020 * reload1.c (reload_as_needed): Call forget_old_reloads_1 on
9021 pattern before reg elimination.
9023 Mon Apr 10 00:26:14 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
9025 * pa.c (pa_reorg): Bump label use count for each entry in an
9028 Sun Apr 9 09:22:51 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9030 * i386.md (adddi3, subdi3): Need scratch reg whenever operand 0 in
9031 mem and operands 1 not '0'.
9032 (subdi3): Don't treat two non-equal MEMs as non-aliasing.
9034 Sat Apr 8 22:53:38 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
9036 * pa.c (pa_reorg): Fix typo.
9038 Sat Apr 8 19:36:36 1995 Michael Meissner <meissner@cygnus.com>
9040 * rs6000/rs6000.h (SELECT_SECTION): TREE_CODE_CLASS must be called
9041 with a tree code, not a tree value.
9043 Sat Apr 8 12:41:01 1995 Mike Stump <mrs@cygnus.com>
9045 * cpphash.c: Don't use const on compilers that don't support it.
9047 Sat Apr 8 16:32:22 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9049 * expr.c (expand_increment): Handle case where INCREMENTED
9050 has a non-trivial conversion.
9052 Fri Apr 7 19:33:21 1995 Phil Nelson (phil@cs.wwu.edu)
9054 * ns32k.h (TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE):
9055 Fix assembler syntax errors.
9057 Fri Apr 7 19:27:23 1995 Pat Rankin (rankin@eql.caltech.edu)
9059 * cccp.c (VMS_fstat, VMS_stat): New functions.
9061 Fri Apr 7 19:25:21 1995 Paul Eggert <eggert@twinsun.com>
9063 * cccp.c (collect_expansion): If traditional, set stringify
9064 member to SHARP_TOKEN regardless of the value of
9065 stringify_sharp_token_type.
9067 Fri Apr 7 07:48:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9069 * cse.c (simplify_unary_operation): #ifdef POINTERS_EXTEND_UNSIGNED,
9070 handle sign- or zero-extending addresses.
9072 * optabs.c (init{,_integral,_floating,_complex}_libfuncs):
9073 Change SUFFIX to "char" to avoid confusion with prototype.
9075 * explow.c (convert_memory_address): No longer static.
9077 Do something special for SYMBOL_REF, LABEL_REF, and CONST.
9078 (memory_address): Add extra arg to call to convert_memory_address.
9079 * rtl.h (convert_memory_address): Add extra arg.
9080 * expr.c (expand_expr, case ADDR_EXPR): Always call
9081 convert_memory_address when converting; add extra arg.
9082 * stmt.c (expand_computed_goto): Convert from ptr_mode to Pmode.
9084 * gcc.c (OBJECT_SUFFIX): Default now ".o", not "o".
9085 (all specs): Remove "." before %O; use %O in a few missing cases.
9086 * i386/os2.h (OBJECT_SUFFIX): Delete from here.
9087 * i386/xm-os2.h (OBJECT_SUFFIX): Move to here; now has period.
9089 * Makefile.in (STAGESTUFF): Use $(exeext) for executables.
9091 Fri Apr 7 03:32:29 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
9093 * config.sub: Accept -lites* as op sys.
9095 Thu Apr 6 23:08:50 1995 Per Bothner <bothner@kalessin.cygnus.com>
9097 * cpplib.c (bcopy, bzero, bcmp): Remove #undefs.
9098 * cppalloc.c (xcalloc): Re-implement using calloc,
9099 rather than malloc+bzero.
9100 * cpplib.c (SELF_DIR_DUMMY): New macro.
9101 (do_include): Don't pass searchptr to finclude if it is dsp,
9102 since that is on the stack, and would cause a dangling pointer.
9103 If handling #include_next, recognize SELF_DIR_DUMMY.
9105 Fri Apr 7 00:54:24 1995 Jeffrey A. Law <law@snake.cs.utah.edu>
9107 * pa.h (MACHINE_DEPENDENT_REORG): Define.
9108 * pa.md (switch_jump): New pattern for jumps which implement
9110 * pa.c (pa_reorg): New function to explode jump tables.
9111 (pa_adjust_insn_length): Account for jumps in switch tables with
9112 unfilled delay slots.
9114 Thu Apr 6 14:31:10 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9116 * c-typeck.c (build_binary_op): Don't call common_type for
9117 uncommon pointer types.
9119 Wed Apr 5 13:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
9121 Re-write fixproto/fix-header/etc to use cpplib:
9122 * fix-header.c: Comment out support for adding missing extern "C"
9123 using #ifdef ADD_MISSING_EXTERN_C instead of #if 0.
9124 * fixproto: Removed case of required functions. Instead use ...
9125 * fix-header.c (std_include_table): ... new required-functions table.
9126 (cpp_file_line_for_message, cpp_print_containing_files, cpp_message):
9127 New stub functions, to intercept cpplib error message.
9128 * fixproto: Don't call $CPP, since fix-header now incorporates cpplib.
9129 * gen-protos.c (fatal, hashf): New functions.
9130 (main): Use hashf, instead of hash.
9131 * scan-decls.c (scan_decls, skip_to_closing_brace): Re-write to
9132 take a cpp_reader* as argument, not a FILE*.
9133 * scan.h (hash): Make parameter const.
9134 * scan.c (hash): Removed.
9135 * scan.c (memory_full, xmalloc, xrealloc): Removed.
9136 Use functions from cppalloc.c instead.
9137 * Makefile.in (gen-prtos, fix-header, stmp-fixproto): Update.
9139 Wed Apr 5 13:24:14 1995 Per Bothner <bothner@kalessin.cygnus.com>
9141 * cpplib.c (cpp_get_token): If traditional, return after comment,
9142 instead of reading more, so end-of-line can be peeked at.
9143 * cpperror.c (cpp_file_line_for_message, cpp_message): New
9144 functions, that do the actual printing of error messages.
9145 (cpp_print_file_and_line, cpp_error, cpp_warning, cpp_pedwarn,
9146 cpp_error_with_line, cpp_warning_with_line, cpp_pedwarn_with_line,
9147 cpp_pedwarn_with_file_and_line, cpp_error_from_errno, my_strerror,
9148 cpp_perror_with_name): Re-write to use cpp_file_line_for_message
9149 and cpp_message, and move to cpplib.c.
9151 Tue Apr 4 23:35:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9153 * config/gnu.h (GNU_CPP_PREDEFINES): Remove -D__HURD__.
9155 Tue Apr 4 17:15:54 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
9157 * pa.h (DO_GLOBAL_DTORS_BODY): Fix pointer -> integer assignment
9160 * reorg.c (fill_simple_delay_slots): Don't use a JUMP_INSN
9161 a the target of another JUMP_INSN to fill a delay slot.
9163 Mon Apr 3 19:03:48 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9165 * cse.c (simplify_unary_operation): Sign-extend constants when
9166 they have the most significant bit set for the target.
9168 * m68k.md (umulsi3_highpart): Test for CONST_INT and CONST_DOUBLE,
9170 (smulsi3_highpart): Likewise.
9171 * m68k.c (const_uint32_operand): New function.
9172 (const_sint32_operand): New function.
9173 * m68k.md (const_umulsi3_highpart): Use const_uint32_operand instead
9174 of immediate_operand for op3. Delete mode.
9175 (const_smulsi3_highpart): Analogous change.
9177 Mon Apr 3 19:03:48 1995 Jim Wilson <wilson@cygnus.com>
9179 * cse.c (simplify_binary_operation): Sign-extend constants when
9180 they have the most significant bit set for the target.
9182 * combine.c (force_to_mode, case PLUS): Sign extend masks that are
9183 negative in OP_MODE.
9184 (simplify_and_const_int): Sign-extend constants when they have the
9185 most significant bit set for the target.
9186 (merge_outer_ops): Likewise.
9187 (simplify_shift_const): Likewise.
9189 Mon Apr 3 18:23:48 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9191 * toplev.c (lang_options): Add -f{no-,}repo.
9193 Mon Apr 3 18:13:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9195 * combine.c (nonzero_bits, case REG): Check POINTERS_EXTEND_UNSIGNED.
9196 (num_sign_bit_copies, case REG): Likewise.
9197 * explow.c (convert_memory_address): New function.
9198 (memory_address): Call if it needed.
9199 (promote_mode, case POINTER_TYPE): Use Pmode and pointer extension.
9200 (allocate_dynamic_stack_space): Convert size from ptr_mode.
9201 * expr.c (clear_storage, expand_assignment, store_{expr,constructor}):
9202 Use ptr_mode instead of Pmode in some places.
9203 (expand_expr, expand_builtin): Likewise.
9204 (push_block, store_expr): Convert size to Pmode.
9205 (expand_expr, case ADDR_EXPR): Convert from Pmode to ptr_mode.
9207 Mon Apr 3 18:00:52 1995 Jim Wilson <wilson@cygnus.com>
9209 * explow.c (allocate_dynamic_stack_space): Correct typo in last
9212 * sh.c (gen_shifty_op, case ASHIFTRT): Return 0 if shift count is not
9215 Mon Apr 3 12:17:10 1995 Michael Meissner (meissner@cygnus.com)
9217 * expmed.c (extract_bit_field): When converting a SUBREG into a
9218 REG, if the system is big endian, adjust the bit offset
9221 Mon Apr 3 00:08:45 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9223 * config/i386/linux.h: Include "config/linux.h" instead of
9224 "linux.h", to avoid recursion.
9226 Sun Apr 2 23:50:27 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
9228 * config/i386/gnuelf.h: Include i386/linux.h instead of
9231 Sun Apr 2 17:35:10 1995 Jim Wilson <wilson@cygnus.com>
9233 * cse.c (simplify_relational_operation): Don't simplify A-B for
9234 compare of A and B when the compare is unsigned.
9236 Sun Apr 2 08:23:38 1995 Paul Eggert <eggert@twinsun.com>
9238 * fixincludes (stdio.h): BSDI 2.0 changed the spelling of _VA_LIST_
9241 Sun Apr 2 07:57:28 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9243 * i386/xm-bsd386.h: New file.
9244 * configure (i[345]86-*-bsd*): Add xm_file.
9246 * gcc.c (default_compilers): Pass -W and -w to gnat1.
9248 * winnt/winnt.h (STDC_VALUE): Add #undef.
9249 * i386/winnt.h (LIB_SPEC): Likewise.
9251 Sun Apr 2 07:55:25 1995 Douglas Rupp (drupp@cs.washington.edu)
9253 * i386/winnt.h (RETURN_POPS_ARGS, ENCODE_SECTION_INFO): Call
9254 chain_member_purpose, not chain_member_value.
9255 (ASM_FILE_START, LIB_SPEC): Move to here.
9256 * winnt/winnt.h (ASM_FILE_START, LIB_SPEC): Delete from here.
9257 * tree.c (chain_member_purpose): New function.
9259 Sat Apr 1 12:19:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9261 * c-typeck.c (build_binary_op): New variable build_type controls
9262 type given to expression when created. Set to integer_type_node for
9263 comparison ops instead of result_type so result_type still holds type
9264 in which comparison is done. When checking for comparison between
9265 signed and unsigned, use result_type rather than (possibly shortened)
9266 type of op0. Don't warn about equality comparison of signed operand
9267 to unsigned constant that fits in signed type.
9269 Sat Apr 1 09:47:02 1995 Douglas Rupp (drupp@cs.washington.edu)
9271 * i386/winnt.h (CPP_PREDEFINES): Add definitions for __stdcall
9273 * winnt/winnt.h (LIB_SPEC): Add OLDNAMES.LIB.
9274 * winnt/xm-winnt.h: Remove unneeded #define's for non-ANSI functions.
9275 * fixinc.winnt: Remove unneeded fixes relating to __stdcall.
9277 * objc/Makefile (SHELL): New definition.
9279 Sat Apr 1 08:25:26 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9281 * cse.c (cse_insn): When emitting a BARRIER, don't put it after
9284 * reload.c (push_reload): Initialize secondary_{in,out}_icode.
9286 * gcc.c (print_multilib_info): Don't use LAST_PATH if not set.
9288 Sat Apr 1 08:15:59 1995 Pat Rankin (rankin@eql.caltech.edu)
9290 * vax.md (extv, extzv): Don't use immediate value for operand 1.
9292 Sat Apr 1 07:48:29 1995 Yury Shevchuk (sizif@botik.yaroslavl.su)
9294 * stmt.c (expand_asm_operands): Properly ignore invalid reg in clobber.
9296 Sat Apr 1 07:02:24 1995 Paul Eggert <eggert@twinsun.com>
9298 * cccp.c: General code cleanup.
9299 Add prototypes for static functions.
9300 Remove unnecessary casts to (char *); add casts to (U_CHAR *).
9301 Add parentheses suggested by `gcc -Wparentheses'.
9302 Rename local variables as suggested by `gcc -Wshadow'.
9303 <fcntl.h>, <stdlib.h>, <string.h>, <unistd.h>: New includes.
9304 <sys/time.h>, <sys/resource.h>: Include only if defined(RLIMIT_STACK).
9305 <time.h>: Include, unless <sys/time.h> already does.
9306 (HAVE_FCNTL_H, HAVE_STDLIB_H, HAVE_SYS_TIME_H): New symbols.
9307 (HAVE_UNISTD_H, STDC_HEADERS, TIME_WITH_SYS_TIME): Likewise.
9308 (__attribute__, PROTO, VA_START, PRINTF_ALIST, PRINTF_DCL): New macros.
9309 (PRINTF_PROTO{,_1,_2,_3}, DO_PROTO): Likewise.
9310 (bcopy, bzero, bcmp): If #defined by configuration file, use that.
9311 If STDC_HEADERS is defined, use standard C functions.
9312 If BSTRING is defined, or USG and VMS are not defined, use
9313 the C library. Otherwise, use my_bcopy, my_bzero, my_bcmp.
9314 (localtime): Remove no-longer-necessary explicit declaration.
9315 (getenv, index, rindex): Don't declare explicitly if the
9316 appropriate system header should declare it.
9317 (fdopen): Remove no-longer-used declaration.
9318 (vprintf): Define a subsitute macro if !defined(HAVE_VPRINTF).
9319 (main): Replace `fdopen (dup (fileno (stdout)), "w"))'
9321 (get_lintcmd, rescan, create_definition): Use bcmp instead of strncmp
9322 when both operands are known to be free of null bytes.
9323 (check_macro_name, compare_defs, collect_expansion): Likewise.
9324 (do_assert, compare_token_lists, assertion_lookup, do_line): Likewise.
9325 (skip_if_group, lookup): Likewise.
9326 (rescan): Remove unused label `startagain'.
9327 Abort instead of printing nonsense if the stack is corrupted
9328 when there was an unterminated successful conditional.
9329 (pcfinclude): Include explicit double-cast through GENERICPTR
9330 to identify particularly egregious type puns.
9331 (create_definition, do_define, check_macro_name): Use %.*s
9332 printf format to avoid painful copying-and-casting.
9333 (do_once): Return void, not (unused) int.
9334 (do_ident, do_pragma, do_sccs): Accept extra arguments so that
9335 all directive-handler's types match.
9336 (do_sccs): Define only if SCCS_DIRECTIVE is defined.
9337 (skip_if_group, dump_single_macro): Add `default: break;' to
9338 keep -Wswitch happy.
9339 (error, warning, error_with_line, vwarning_with_line, pedwarn): Use
9340 stdarg/vararg/vfprintf instead of passing bogus char * args around.
9341 (pedwarn_with_line, pedwarn_with_file_and_line, fatal): Likewise.
9342 (verror, vwarning, verror_with_line, vwarning_with_line): New fcns.
9343 (dump_single_macro): Abort if ap points to garbage.
9344 (make_definition, make_undef, make_assertion): Parameter now char *.
9345 (xmalloc, xrealloc, xcalloc, savestring, index0): Make sizes size_t
9346 instead of unsigned; make pointer parameters GENERICPTR, not char *.
9347 (xcalloc): Use bzero to clear memory instead of using own loop.
9349 Fri Mar 31 08:33:07 1995 Ken Raeburn (raeburn@wombat.gnu.ai.mit.edu)
9351 * longlong.h (umul_ppmm mc68000): Use %# instead of #.
9353 Fri Mar 31 06:37:54 1995 Michael Meissner (meissner@cygnus.com)
9355 * stor-layout.c (layout_decl): Implment -fpack-struct.
9356 (layout_record): Ditto.
9358 * flags.h (flag_pack_struct): New flag variable.
9360 * toplev.c (flag_pack_struct): New flag variable.
9361 (f_options): Add -fpack-struct support.
9363 * Makefile.in (stor-layout.o): Add flags.h dependency.
9365 Fri Mar 31 08:40:16 1995 Douglas Rupp (drupp@cs.washington.edu)
9367 * configure (i[345]86-*-winnt3*): Add tmake_file.
9368 * i386/x-winnt (winnt.o): Deleted.
9369 * i386/t-winnt: New file.
9371 Fri Mar 31 07:26:37 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9373 * m68k/netbsd.h, m68k/hp3bsd44.h: Remove #include of machine/ansi.h.
9375 * configure (a29k-*-bsd): Set tmake_file to t-libc-ok.
9377 * stmt.c (expand_asm_operands): Properly handle output that can't
9378 be directly written into.
9380 * c-parse.in (structsp): Correct error in last change.
9381 * c-common.c (init_attributes): A_FORMAT is only for decls.
9383 Thu Mar 30 18:27:34 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9385 * libgcc2.c: Remove explicit 0-initializations of static variables.
9387 Thu Mar 30 18:22:39 1995 Fergus Henderson <fjh@cs.mu.oz.au>
9389 * c-typeck.c (internal_build_compound_expr): Warn if LHS of comma
9390 expression has no side effects, or computes value which is not used.
9391 * stmt.c (make warn_if_unused_value): No longer static.
9392 * tree.h (warn_if_unused_value): Add declaration.
9394 Thu Mar 30 18:15:11 1995 Jim Wilson <wilson@cygnus.com>
9396 * combine.c (get_last_value): Revert back to use prev_nonnote_insn
9397 instead of prev_real_insn. Modify test that ignores USE insns.
9399 * rs6000.h (SELECT_SECTION): Apply constant DECL_INITIAL test
9402 * explow.c (allocate_dynamic_stack_space): Test STACK_BOUNDARY against
9403 BIGGEST_ALIGNMENT at run time instead of at compile time.
9404 Give MUST_ALIGN macro a value, and test this value in if statements.
9406 Thu Mar 30 08:59:56 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9408 * c-parse.in: Now have 27 shift/reduce conflicts.
9409 (attribute_list): Just make chain of all attributes.
9410 (attrib): Consistently put name as PURPOSE, args, if any, as VALUE.
9411 (structsp): Allow attributes on any struct or union.
9412 * c-common.c (enum attrs): New enum class.
9413 (attrtab, attrtab_idx): New variables.
9414 (add_attribute, init_attributes): New functions.
9415 (decl_attributes): Major rewrite.
9416 * tree.c (valid_machine_attribute): Now receive name and args.
9418 Thu Mar 30 07:20:14 1995 Paul Eggert <eggert@twinsun.com>
9420 * protoize.c: Use the phrase `preprocessing directive' consistently.
9421 * cccp.c (handle_directive, do_line, skip_if_group): Likewise.
9422 (output_line_directive): Renamed from output_line_command.
9423 (no_line_directives): Renamed from no_line_commands.
9425 * cccp.c (rescan): Don't recognize preprocessing directives
9426 within macro args. Warn if one is found.
9428 Thu Mar 30 06:20:36 1995 H.J. Lu (hjl@nynexst.com)
9430 * configure (i[345]86-*-linux*): Set xmake_file=x-linux,
9431 tm_file=i386/linux.h, and don't set extra_parts.
9432 (i[345]86-*-linux*aout*): New configuration.
9433 (i[345]86-*-linuxelf): Deleted.
9434 * config/linux{,-aout}.h, config/x-linux, config/xm-linux.h: New files.
9435 * config/i386/linux-aout.h: New file.
9436 * config/i386/linux.h: Extensive modifications to use ELF format
9438 (LIB_SPEC): Don't use libc_p.a for -p. don't use libg.a
9440 (LINUX_DEFAULT_ELF): Defined.
9441 * config/i386/linuxelf.h,config/i386/x-linux: Files deleted.
9442 * config/i386/xm-linux.h: Just include xm-i386.h and xm-linux.h.
9444 Wed Mar 29 19:09:36 1995 Mike Stump <mrs@cygnus.com>
9446 * libgcc2.c (__throw_type_match): Update to use new calling convention.
9448 Wed Mar 29 14:53:23 1995 Jim Wilson <wilson@cygnus.com>
9450 * gcc.c (process_command): Delete code modifying gcc_exec_prefix.
9451 (main): Put it here after last use of gcc_exec_prefix. For cross
9452 compiler, set startfile_prefixes if gcc_exec_prefix is set and
9453 standard_startfile_prefix is a relative path.
9455 * combine.c (make_compound_operation, AND case): Undo July 7, 1994
9458 * mips/mips.md (call_internal1, call_value_internal1): Move %* from
9459 start of assembler output to immediately before the jal.
9461 * mips/mips.c (function_prologue): Put SDB_DEBUGGING_INFO ifdef around
9462 code for SDB_DEBUG support.
9463 (mips_select_rtx_section, mips_select_section): Change rdata_section
9464 to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION.
9465 * mips/mips.h (SMALL_DATA_SECTION): Define.
9467 * reorg.c (mark_referenced_resources): Make setjmp use all registers.
9469 * flow.c (mark_used_regs, case SUBREG): Only fall through to REG case
9470 if operand is a REG.
9472 * i960/i960.h (TARGET_SWITCHES): Make -mold-align set
9473 TARGET_FLAG_STRICT_ALIGN.
9474 (STRICT_ALIGNMENT): Test TARGET_STRICT_ALIGN.
9476 * sh/sh.c (andcosts): Modify costs to match the hardware, and add
9477 explanatory comments.
9479 * sparc/sol2.h (CPP_PREDEFINES): Add -D__SVR4.
9481 Wed Mar 29 14:30:30 1995 Michael Meissner <meissner@cygnus.com>
9483 * rs6000/rs6000.md (movsf): When moving to/from integer registers,
9484 don't move floating point to memory if it is being simulated with
9487 Wed Mar 29 06:47:36 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9489 * c-parse.in (initdcl): Only call decl_attributes once.
9490 * c-common.c (decl_attributes): Clean up test for __mode__.
9492 Tue Mar 28 08:34:37 1995 John Hassey (hassey@dg-rtp.dg.com)
9494 * i386.md (adddi3): Don't treat two non-equal MEMs as non-aliasing.
9496 Tue Mar 28 08:20:49 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9498 * a29k.h (CONSTANT_ADDRESS_P): Provide consistent definition.
9500 Tue Mar 28 07:26:41 1995 Paul Eggert <eggert@twinsun.com>
9502 * cccp.c (do_xifdef, do_endif): Remove unnecessary pointer comparisons.
9504 Mon Mar 27 20:45:15 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9506 * calls.c (expand_call, store_one_arg): Don't set KEEP in calls
9507 to assign_stack_temp.
9508 * function.c (preserve_temp_slots): Clear ADDR_TAKEN on item
9509 that we are preserving.
9511 Mon Mar 27 14:39:35 1995 Ian Lance Taylor <ian@cygnus.com>
9513 * mips/mips.h (FIRST_PSEUDO_REGISTER): Increment.
9514 (FIXED_REGISTERS, CALL_USED_REGISTERS): Add new register.
9515 (MD_REG_LAST): Increment.
9516 (ST_REG_FIRST, ST_REG_LAST): Increment.
9517 (HILO_REGNUM): Define.
9518 (enum reg_class): Add HILO_REG.
9519 (REG_CLASS_NAMES): Add "HILO_REG".
9520 (REG_CLASS_CONTENTS): Add HILO_REG initializer, and adjust ST_REGS
9521 and ALL_REGS initializers.
9522 (SECONDARY_RELOAD_CLASS): Remove.
9523 (SECONDARY_INPUT_RELOAD_CLASS): Define.
9524 (SECONDARY_OUTPUT_RELOAD_CLASS): Define.
9525 (REGISTER_MOVE_COST): Treat HILO_REG as MD_REGS.
9526 (REGISTER_NAMES): Add initialization line.
9527 (DEBUG_REGISTER_NAMES): Add "accum".
9528 * mips/mips.md: For each instruction which sets HI or LO, clobber
9529 HILO_REGNUM with (clobber (match_scratch:MODE N "=a")). Change
9530 each explicit reference to register 66 to register 67.
9531 (mulsidi3): Change to define_expand.
9532 (mulsidi3_internal): New name of old mulsidi3.
9533 (mulsidi3_64bit): New insn.
9534 (umulsidi3): Change to define_expand.
9535 (umulsidi3_internal): New name of old umulsidi3.
9536 (umulsidi3_64bit): New insn.
9537 (madddi_64bit, umaddi_64bit): New insns.
9538 (movdi_internal2): Add case for setting HILO_REG to zero.
9539 (reload_indi, reload_outdi): New define_expands.
9540 (movsi_internal1, movsi_internal2): Add cases for setting MD_REGS
9541 to zero, and for setting a general reg to HILO_REG.
9542 (reload_outsi): New define_expand.
9543 * mips/mips.c (mips_reg_names): Add "accum".
9544 (mips_sw_reg_names): Likewise.
9545 (mips_regno_to_class): Map HILO_REGNUM to HILO_REG.
9546 (mips_move_1word): Handle moving HILO_REGNUM to a general
9547 register. Make sure that the normal MD_REG cases aren't used for
9548 HILO_REGNUM. Handle moving zero to a MD_REG.
9549 (mips_move_2words): Make sure that the normal MD_REG cases aren't
9550 used for HILO_REGNUM. Handle moving zero to a MD_REG.
9551 (override_options): Set mips_char_to_class for 'a' and 'b'.
9552 (mips_secondary_reload_class): Add in_p argument. Handle
9555 Mon Mar 27 07:16:05 1995 Warner Losh <imp@village.org>
9557 * gcc.c: Removed __NetBSD__ from conditional.
9558 Declare strerror if HAVE_STRERROR is defined; otherwise
9559 declare sys_errlist and sys_nerr.
9560 (my_strerror): New function.
9562 Fri Mar 24 18:08:14 1995 Jason Merrill <jason@python.cygnus.com>
9564 * i386/linux.h (LIB_SPEC): Don't try to link with libraries we
9565 know only exist in archive form unless -static.
9567 Fri Mar 24 16:12:16 1995 Doug Evans <dje@cygnus.com>
9569 * Makefile.in (multilib.h): Depend on Makefile, not config.status.
9571 Fri Mar 24 15:01:17 1995 Michael Meissner <meissner@cygnus.com>
9573 * rs6000/rs6000.h (TARGET_MULTIPLE_SET): New target_flags bit that
9574 indicates -mmultiple or -mno-multiple was explicitly passed by the
9575 user, and not set as part of the cpu defaults.
9576 (TARGET_SWITCHES): Set TARGET_MULTIPLE_SET bit for both -mmultiple
9579 * rs6000/rs6000.c (rs6000_override_options): If -mmultiple or
9580 -mno-multiple was explicitly used, don't override the setting with
9581 the processor default.
9583 Wed Mar 22 21:42:13 1995 Doug Evans <dje@cygnus.com>
9585 * i960/i960.c (i960_function_arg_advance): Ensure all regs marked
9586 as used if stack is also used (for va_start).
9587 (i960_setup_incoming_varargs): Rewrite to be similar to Intel's
9588 version, but don't allocate reg block unless necessary.
9589 * ginclude/va-i960.h (varargs va_start): Save g14 explicitly.
9590 Account for arguments preceding va_alist.
9592 Wed Mar 22 13:24:55 1995 Torbjorn Granlund <tege@adder.cygnus.com>
9594 * pa.c (singlemove_string): Handle SFmode constants again. Simplify.
9595 (zdepi_cint_p): Make some variables HOST_WIDE_INT.
9596 (lhs_lshift_cint_operand): Likewise.
9597 (output_and): Likewise.
9598 (output_ior): Likewise.
9600 Wed Mar 22 12:40:09 1995 Jim Wilson <wilson@chestnut.cygnus.com>
9602 * sh.md (udivsi3): Don't clobber register 6.
9603 (udivsi3, divsi3, mulsi3_call): Use a pseudo-reg with regclass 'z'
9604 for output rather than hard register 0.
9605 (block_move_real): Don't clobber registers 4 and 5.
9607 * mips.c (mips_select_section): Apply constant DEC_INITIAL tests
9610 Wed Mar 22 03:53:17 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
9612 * config.sub (rm400, rm600): New machine names.
9613 (sinix5.*, sinix): New os aliases.
9614 (mips-siemens): Default os to sysv4.
9616 Mon Mar 20 21:56:47 1995 Per Bothner <bothner@kalessin.cygnus.com>
9618 Merged Paul Eggert's patch to cccp.c of Wed Mar 8 18:21:51 1995:
9619 * cpplib.c (do_include): Fix type typo: pcfbuflimit is char *, not int.
9621 Merged Doug Evans' patch to cccp.c of Mon Feb 27 17:06:47 1995:
9622 * cpplib.c (do_include): Check for redundant file before opening in
9623 relative path case. Don't call fstat unnecessarily.
9625 Merged J.T. Conklin's patch to cccp.c of Wed Feb 22 20:29:31 1995:
9626 * cpperror.c: Removed __NetBSD__ from conditional.
9628 Merged Kenner's patch to cccp.c & cexp.y of Tue Sep 20 17:49:47 1994:
9629 * cppexp.c (struct operation): Make value by HOST_WIDE_INT.
9630 (cpp_parse_expr): Change return type to HOST_WIDE_INT.
9631 * cpplib (eval_if_expr): Likewise.
9632 (do_if, do_elif): Update appropriately.
9633 * cpplib.h (cpp_parse_expr): Removed, to avoid defining HOST_WIDE_INT.
9635 Merged Paul Eggert's patch to cccp.c of Mon Aug 8 19:42:09 1994:
9636 * cpplib.c (create_definition): Warn about `#define a@', since a
9637 diagnostic is now required (see ISO TC1's addition to subclause 6.8).
9638 Also warn about `#define is-empty(x) (!x)'.
9640 Tue Mar 21 00:10:50 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
9642 * x-pa (CC): Add "-Dbsd4_4".
9644 Mon Mar 20 18:40:31 1995 Per Bothner <bothner@kalessin.cygnus.com>
9646 * toplev.c (print_error_function): New function hook.
9647 (default_print_error_function): New function. Default value
9648 of print_error_function. Code moved here from report_error_function.
9649 (report_error_function): Use print_error_function hook.
9651 Mon Mar 20 20:27:43 1995 Doug Evans <dje@cygnus.com>
9653 * cccp.c (do_xifdef): Handle c++ comments.
9654 (do_endif): Likewise.
9656 Mon Mar 20 15:31:45 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9658 * configure (i386 configurations): Prepend i386/ to t-crt*.
9660 Mon Mar 20 07:58:04 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9662 * stmt.c (fixup_gotos): Add missing call from last change.
9664 * objc/misc.c: Put Alpha-specific decls before #include of runtime.h.
9666 * alpha.h (EXTRA_SECTIONS): Write zeros first time in .rdata.
9668 Sat Mar 18 16:37:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9670 * flow.c (mark_used_regs, case SUBREG): Set reg_changes_size even
9672 (mark_used_regs): Set reg_changes_size for RHS, if necessary.
9673 * combine.c (gen_lowpart_for_combine): Set reg_changes_size, if needed.
9674 * reload.c (push_reload): Reload a SUBREG if paradoxical and
9675 class is CLASS_CANNOT_CHANGE_SIZE.
9676 * reload1.c (gen_reload): Handle paradoxical SUBREGs.
9677 * alpha.h (SECONDARY_{INPUT,OUTPUT}_RELOAD_CLASS): Need GENERAL_REGS
9678 for paradoxical SUBREG and FLOAT_REGS.
9679 (SECONDARY_NEEDED_MODE): Use actual mode for 4 bytes or wider.
9680 * alpha.md (movsi): Allow FP regs and add case for store of FP reg.
9681 Remove cvtlq from MEM to FP reg case.
9683 * rtl.h (emit_insns_after): Add declaration.
9684 * stmt.c (fixup_gotos): Do a cleanup for a block when it is exited
9685 even if label if not defined yet.
9687 * function.c (pop_function_context): Fix error in last change;
9688 reference old value of current_function_decl before we modify it.
9690 Fri Mar 17 21:57:44 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9692 * toplev.c (rest_of_compilation): Handle -Wreturn-type properly
9693 for inlines we aren't compiling yet.
9695 Fri Mar 17 21:26:48 1995 Mike Stump <mrs@cygnus.com>
9697 * libgcc2.c (__register_exceptions): Handle empty tables.
9699 Fri Mar 17 11:48:31 1995 Douglas Rupp (drupp@cs.washington.edu)
9701 * i386/winnt.c (winnt_function_prologue): Deleted.
9702 (gen_stdcall_suffix): New function.
9704 Thu Mar 16 17:36:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9706 * svr4.h (LINK_SPEC): If the user did not specify -h name, use the
9707 output file name, if any.
9708 * sparc/sol2.h (LINK_SPEC): Ditto. Also, if the user did not
9709 specify -R path, add an -R for each -L.
9711 Move SunOS 4-specific assembler switches into the appropriate place.
9712 * m68k/sun[23].h (ASM_SPEC): Add %{R} %{j} %{J} %{h} %{d2}
9713 %{keep-local-as-symbols:-L}.
9714 * i386/sun.h (ASM_SPEC): Add %{R} %{keep-local-as-symbols:-L}.
9715 * sparc/sparc.h (ASM_SPEC): Ditto.
9716 * gcc.c (default_compilers): Remove %{R} %{j} %{J} %{h} %{d2}
9717 %{keep-local-as-symbols:-L} from assembler rules.
9719 Thu Mar 16 16:58:09 1995 Michael Meissner <meissner@cygnus.com>
9721 * rs6000/eabi-ctors.c: New file, handle C++ static constructors
9722 and destructors without requiring anything else from a libc.
9724 * rs6000/t-eabi (LIB2FUNCS_EXTRA): Build eabi-ctors.c.
9726 * rs6000/eabi.asm: Do not load up register 2 if there is no .got
9727 section. Jump to the __do_global_ctors function at the end of
9728 processing to call C++ static constructors, and it will return to
9729 __eabi's caller. Use normal volatile registers, instead of saving
9730 and restoring registers 30 and 31.
9732 * rs6000/eabi.h (STARTFILE_SPEC): Define as null.
9734 (ENDFILE_SPEC): Ditto.
9735 (LIBGCC_SPEC): Always look for libgcc.a.
9737 Thu Mar 16 17:05:14 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9739 * stmt.c (warn_if_unused_value, case SAVE_EXPR): New case.
9740 (warn_if_unused_value, case NOP_EXPR): OK if CALL_EXPR inside.
9742 * c-common.c (decl_attributes): Allow alignment for TYPE_DECLs.
9744 * Makefile.in (xsys-protos.h): Fix typo in -U operand.
9746 Thu Mar 16 13:49:10 1995 Per Bothner <bothner@rtl.cygnus.com>
9748 * cpplib.c, cpplib.h: New files - a C PreProcessor library.
9749 * cpphash.c, cpphash.h, cppalloc.c, cpperror.c, cppexp.c:
9750 New files - utility features used by cpplib.
9751 * cppmain.c: New file - cpp replacement main program for cpplib.
9752 * Makefile.in: New rules to build cppmain.
9754 Thu Mar 16 16:11:05 1995 Douglas Rupp (drupp@cs.washington.edu)
9756 * i386/winnt.h (FUNCTION_PROLOGUE, HAVE_probe, gen_probe): Deleted.
9757 (ENCODE_SECTION_INFO, VALID_MACHINE_DECL_ATTRIBUTE): New macro.
9759 Thu Mar 16 15:58:24 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9761 * combine.c (apply_distributive_law, case SUBREG): Fix typo when
9762 checking for paradoxical SUBREG.
9764 Wed Mar 15 18:45:08 1995 Doug Evans <dje@cygnus.com>
9766 * libgcc1-test.c: Renamed from cross-test.c.
9767 * Makefile.in (LIBGCC1_TEST): Renamed from CROSS_TEST.
9768 (all.cross): Delete $(ENQUIRE) dependency.
9769 (libgcc1-test): Renamed from cross-test.
9770 Delete unnecessary gcc-cross and $(LIBGCC) dependencies.
9771 Link with -nostartfiles -nostdlib
9772 `$(GCC_FOR_TARGET) --print-libgcc-file-name`.
9773 (libgcc1-test.o): Renamed from cross-test.o.
9774 Change gcc-cross dependency to xgcc since the latter is used.
9776 Wed Mar 15 13:49:21 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9778 * tree.c (save_tree_status): Now takes a tree 'context' instead of
9779 a boolean 'toplevel' as an argument. If 'context' is not
9780 current_function_decl, create a new obstack for the new function.
9781 Also save inline_obstacks.
9782 (restore_tree_status): No longer takes a second argument. Also
9783 restore inline_obstacks.
9784 (temporary_allocation): Clear inline_obstacks.
9785 (permanent_allocation): Free up the obstacks in inline_obstacks.
9787 * function.h (struct function): New fields contains_functions and
9790 * function.c (push_function_context_to): Now takes a tree
9791 'context' instead of a boolean 'toplevel' as an argument.
9792 Also save current_function_contains_functions.
9793 (push_function_context): Pass current_function_decl to it.
9794 (pop_function_context_from): Takes 'context' instead of 'toplevel'.
9795 Set current_function_contains_functions properly.
9796 (pop_function_context): Pass current_function_decl to it.
9798 Wed Mar 15 14:53:09 1995 Michael Meissner <meissner@cygnus.com>
9800 * rs6000/rs6000.md (abssi2): Turn into a define_expand. If
9801 TARGET_POWER, do old code that uses the abs instruction. If not,
9802 do abs in three instructions, using a temporary register, which
9803 enables generating more reasonable code for sne. Add a recognizer
9804 for negative of the absolute value. Add define_splits for the
9806 (sne insn): Add a recognizer for sne on the PowerPc to use two
9807 instructions, compared to the four generated using the absolute
9810 Tue Mar 14 18:38:40 1995 J.T. Conklin <jtc@cygnus.com>
9812 * m68k.md ({add,sub,mul,div}[sdx]f3): Add new patterns for recognizing
9813 SImode, HImode, and QImode operands.
9815 Mon Mar 13 18:59:36 EST 1995 David Edelsohn <edelsohn@mhpcc.edu>
9817 * rs6000.h (CPP_SPEC): Add PPC403.
9818 (processor_type): Add PPC403.
9819 (RTX_COSTS): Add PPC403.
9820 * powerpc.h (CPP_SPEC): Add PPC403.
9821 * sysv4.h (CPP_SPEC): Add PPC403.
9822 * rs6000.c (processor_target_table): Add PPC403.
9823 * rs6000.md (define_attr cpu and function units): Add PPC403.
9825 Mon Mar 13 14:40:23 1995 Michael Meissner <meissner@cygnus.com>
9827 * rs6000/rs6000.md (call, call_value insns): Do not put a nop
9828 after a bl instruction on System V.4 and eABI.
9830 * rs6000/sysv.4 (SUBTARGET_SWITCHES): Add support for
9831 -mno-traceback to suppress the V.4 traceback word.
9832 (ASM_DECLARE_FUNCTION_NAME): Don't put out a traceback work if
9835 Mon Mar 13 13:36:37 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9837 * t-svr4, i386/t-{crtpic,sol2}, m88k/t-svr4, sparc/t-sol2:
9838 Use -fPIC, rather than -fpic, for building crtstuff.
9840 Sat Mar 11 17:27:08 1995 Jason Merrill <jason@phydeaux.cygnus.com>
9842 * configure: Use aix3newas.h for AIX 3.2.4 and 5.
9843 * rs6000/aix41.h: Undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}.
9844 * rs6000/aix3newas.h: New file. Define ASM_SPEC to -u, and
9845 undefine ASM_OUTPUT_EXTERNAL{,_LIBCALL}.
9847 Sat Mar 11 06:42:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9849 * dbxout.c (dbxout_symbol): Properly handle decl whose DECL_NAME
9850 points to a TYPE_DECL with a zero TYPE_NAME.
9852 Fri Mar 10 18:18:33 1995 Torbjorn Granlund <tege@cygnus.com>
9854 * pa.h (PROMOTE_MODE): Define.
9856 Fri Mar 10 14:37:58 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9858 * sdbout.c (sdbout_record_type_name): If TYPE_NAME is
9859 a TYPE_DECL, get name from DECL_NAME.
9861 Fri Mar 10 14:09:26 1995 Doug Evans <dje@cygnus.com>
9863 * arm/riscix.h (SUBTARGET_SWITCHES): Renamed from
9864 ARM_EXTRA_TARGET_SWITCHES.
9865 * arm/riscix1-1.h (SUBTARGET_SWITCHES): Likewise.
9866 * arm.h (SUBTARGET_SWITCHES): Likewise.
9867 (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define.
9868 (TARGET_SWITCHES): Add -msoft-float, -mhard-float.
9869 (BYTES_BIG_ENDIAN): Delete #ifndef/#endif.
9870 (CONDITIONAL_REGISTER_USAGE): If -msoft-float, disable fp regs.
9871 (FUNCTION_VALUE): R16 is return reg only if !-msoft-float.
9872 (LIBCALL_VALUE): Likewise.
9873 * arm.md (all fp patterns): Conditionalize on TARGET_HARD_FLOAT.
9874 (*movsf_soft_insn, *movdf_soft_insn): New patterns.
9876 Fri Mar 10 13:53:46 1995 Jim Wilson <wilson@cygnus.com>
9878 * reorg.c (steal_delay_list_from_target): Exit at the top if the
9879 branch in SEQ is not a single set.
9881 * sh.md (movdi define_split, movdf define_split): Correct indentation
9882 and formatting. Make the condition fail if an operand is a MEM
9883 with an auto-inc address.
9885 * varasm.c (copy_constant): Copy operand of ADDR_EXPR if it is a
9888 * mips/abi64.h (SETUP_INCOMING_VARARGS): Correct arguments to
9889 move_block_from_reg call.
9891 * expr.c (expand_assignment): When offset is zero, make new MEM
9892 before setting MEM_VOLATILE_P.
9894 * reload.c (find_reloads, case 'o'): Accept a fully reloaded
9895 auto-increment address.
9897 * combine.c (max_uid_cuid): New static variable.
9898 (INSN_CUID): Call abort if INSN is out of range.
9899 (combine_instructions): Set max_uid_cuid. Set uid_cuid directly
9900 instead of through INSN_CUID.
9901 (get_last_value): Use prev_real_insn instead of prev_nonnote_insn.
9902 Ignore USE insns generated by combine.
9904 Fri Mar 10 13:47:08 1995 Rod Barman <rodb@cs.ubc.ca>
9906 * m68k/fpgnulib.c (__fixdfsi): Catch values < 0.5 in magnitude.
9908 Fri Mar 10 12:02:33 1995 Ian Lance Taylor <ian@cygnus.com>
9910 * fixincludes: Fix `typedef struct term;' on hppa1.1-hp-hpux9.
9912 Fri Mar 10 05:50:11 1995 Oliver Kellogg (Oliver.Kellogg@RST13.DASA.DBMAIL.d400.de)
9914 * 1750a.c (sectname): Reverse Init and Normal.
9915 (print_operand_address, case PLUS): Add case for LABEL_REF.
9916 (print_operand_address, case LABEL_REF): Split from SYMBOL_REF.
9917 (print_operand_address, case CODE_LABEL): New case.
9918 (ASM_FILE_END): Delete.
9919 * 1750a.h (FUNCTION_EPILOGUE): Restore stack before freeing local vars.
9920 (DEFAULT_SIGNED_CHAR): Now 1.
9921 (DATA_SECTION_ASM_OP): Use pseudo-op for read-only data (later copied).
9922 (JUMP_TABLES_IN_TEXT_SECTION): Define.
9923 (ASM_OUTPUT_ASCII): Split into multiple lines if long.
9924 (ASM_OUTPUT_{CHAR,SHORT,INT,LONG_INT}): Split up.
9925 (ASM_OUTPUT_COMMON): Call check_section.
9927 Thu Mar 9 12:46:53 1995 Michael Meissner <meissner@cygnus.com>
9929 * rs6000.md (movsf): Do not call truncdfsf2 for non PowerPC
9930 when expanding a store to memory and -msoft-float was used.
9932 Thu Mar 9 08:51:35 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9934 * c-decl.c (start_function): Handle new parameter ATTRIBUTES.
9935 * c-tree.h (start_function): Add new parameter.
9936 * c-lang.c (finish_file): Pass new parm to start_function.
9937 * objc-act.c (build_module_descriptor, really_start_method): Likewise.
9938 * c-parse.in (fndef, nested_function): Pass prefix_attributes
9940 (setspecs): Save prefix_attributes in declspec_stack.
9941 (decl rules): Restore prefix_attributes along with current_declspecs.
9942 (setattrs): Concatenate prefix_attributes to previous value.
9943 * c-common.c (decl_attributes): Handle prefix and suffix attributes
9946 * print-tree.c (print_node): Fix typo in printing large INTEGER_CST.
9948 * varasm.c (assemble_variable): Consistently use DECL_SIZE for
9951 * c-typeck.c (convert_for_assignment): Fix typo in testing for
9952 pointer to function type.
9954 * varasm.c (record_constant_1): Handle NON_LVALUE_EXPR.
9955 Rewrite to use switch instead of if/then/elseif/else.
9957 Wed Mar 8 18:21:51 1995 Paul Eggert <eggert@twinsun.com>
9959 * cccp.c (do_include): Fix type typo: pcfbuflimit is char *, not int.
9961 Wed Mar 8 17:30:29 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
9963 * fold-const.c (force_fit_type): Always propagate OVERFLOW.
9965 * rtl.def (INLINE_HEADER): Add new "e" field.
9966 * rtl.h (FORCED_LABELS): New field; other fields adjusted.
9967 (gen_inline_header_rtx): New parm FORCED_LABELS.
9968 * emit-rtl.c (gen_inline_header): Add new parm FORCED_LABELS.
9969 * integrate.c (initialize_for_inline, output_inline_function):
9970 Handle FORCED_LABELS.
9972 Wed Mar 8 13:47:20 1995 Jason Merrill (jason@cygnus.com)
9974 * alpha.h (WORD_SWITCH_TAKES_ARG): Add -rpath.
9975 (LINK_SPEC): Pass through -taso and -rpath.
9976 * alpha/osf12.h (LINK_SPEC): Ditto.
9978 Wed Mar 8 09:59:56 1995 Michael Meissner <meissner@cygnus.com>
9980 * rs6000/eabi.asm: Rewrite so that the initialized pointers go
9981 into the .got2 section, which allows eabi.asm to be assembled with
9982 the -mrelocatable option. Move the data picked up from the bl
9983 instruction to before the traceback tag.
9985 * rs6000/sysv4.h (CPP_SPEC): Define _RELOCATABLE if -mrelocatable
9988 * libgcc2.c (__new_handler): Don't initialize the pointer variable
9989 with the address of __default_new_handler, which may not work in
9990 some shared library mechanisms.
9991 (__builtin_new): If __new_handler is NULL, call the function
9992 __default_new_handler.
9994 Tue Mar 7 17:34:59 1995 Ian Lance Taylor <ian@cygnus.com>
9996 * i960.h (PROCESS_PRAGMA): Define.
9997 (ROUND_TYPE_ALIGN): Pass maximum of COMPUTED and SPECIFIED to
9999 (ROUND_TYPE_SIZE): Delete.
10000 * i960.c (process_pragma): Uncomment, and rewrite for gcc 2.
10001 (i960_round_size): Delete.
10002 (i960_round_align): Don't adjust suggested alignment downward.
10003 Restrict alignment to value set by #pragma align.
10005 Tue Mar 7 12:14:46 1995 Doug Evans <dje@cygnus.com>
10007 * configure (sparc64-*-elf): Add crtbegin.o, crtend.o to extra_parts.
10008 * sparc/sp64-elf.h (TARGET_VERSION): Define.
10009 (CPP_PREDEFINES): Delete sun, sparc, unix. Delete OS assertions.
10010 (ASM_SPEC): Define.
10011 (LINK_SPEC): Delete solaris stuff, this is an embedded target.
10012 (STARTFILE_SPEC, ENDFILE_SPEC): Define.
10014 Mon Mar 6 17:54:01 1995 Doug Evans <dje@cygnus.com>
10016 * Makefile.in (install-common): Fix typo in installation of cpp.
10017 Likewise with gcc-cross.
10019 Mon Mar 6 02:29:05 1995 Jeffrey A. Law <law@mole.gnu.ai.mit.edu>
10021 * pa.md (movsicc): New expander.
10023 Fri Mar 3 13:34:20 1995 Michael Meissner (meissner@cygnus.com)
10025 * rs6000/sysv4.h (ASM_SPEC): If -mrelocatable was passed to
10026 compiler, pass it on to the assembler.
10028 Fri Mar 3 12:11:28 1995 Ian Lance Taylor <ian@cygnus.com>
10030 * fixincludes: Add fixes for VxWorks header files.
10031 * ginclude/stddef.h: If VxWorks typedef macros are defined, invoke
10032 them as appropriate.
10034 Fri Mar 3 05:48:54 1995 Paul Eggert <eggert@twinsun.com>
10036 * cccp.c (dump_single_macro): Fix typo: % wasn't properly
10037 doubled in printf formats.
10039 Thu Mar 2 19:44:02 1995 Jason Merrill <jason@phydeaux.cygnus.com>
10041 * expr.c (expand_expr, CLEANUP_POINT_EXPR): Force the operand out
10042 of memory before running cleanups.
10044 Thu Mar 2 19:15:24 1995 Paul Eggert <eggert@twinsun.com>
10046 * cccp.c (rescan): Prevent accidental token-pasting to
10047 get !=, *=, /=, ==, or ^=.
10049 Thu Mar 2 15:37:13 1995 Jason Merrill <jason@phydeaux.cygnus.com>
10051 * c-typeck.c (build_binary_op): Avoid spurious warning
10052 comparing enumerator to unsigned variable.
10054 Thu Mar 2 18:18:38 1995 J.T. Conklin <jtc@netbsd.org>
10056 * m68k.md (sqrtsf2,sqrtdf2): Use fp precision specifiers.
10058 Thu Mar 2 18:09:01 1995 Stephen L Moshier (moshier@world.std.com)
10060 * c-lex.c (yylex, case !NOT_FLOAT): Remove previous change.
10062 Thu Mar 2 15:26:50 1995 Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
10064 * Makefile.in (bootstrap*): Pass new STAGE_PREFIX to recursive makes.
10066 Wed Mar 1 14:52:16 1995 Ian Lance Taylor <ian@cygnus.com>
10068 * i960/i960-coff.h (ASM_FILE_START): Define.
10069 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define.
10070 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Define.
10071 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Define.
10072 (INT_ASM_OP): Define.
10073 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
10074 * i960/vx960-coff.h (CPP_PREDEFINES): Define.
10075 (CPP_SPEC): Define.
10076 (CC1_SPEC): Default to -mca.
10078 Wed Mar 1 11:10:54 1995 Michael Meissner (meissner@cygnus.com)
10080 * rs6000/rs6000.c (output_prologue): Do not emit the word that
10081 gives the PC relative location to the local GOT table for the
10082 -mrelocatable option here.
10083 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Emit it here.
10085 * t-eabi (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Build -msoft-float
10086 and -mrelocatable versions of the library.
10088 * rs6000/powerpc.h (CPP_PREDEFINES): Define the cpu and machine as
10089 powerpc, not rs6000.
10091 * libgcc2.c (_unwind_function): Clone for powerpc, using the
10094 * rs6000/rs6000.md (uminsi3, umaxsi3): Silence warnings that
10095 -2147483648 is too large to fit in a signed integer on 32-bit
10098 Wed Mar 1 06:48:31 1995 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10100 * fold-const.c (decode_field_reference): Don't check TREE_CODE
10101 of EXP; let get_inner_reference decide if have reference.
10102 Allow no bit reference if have AND_MASK.
10103 (all_ones_mask_p): Use tree_int_cst_equal, not operand_equal_p.
10104 (unextend): New function.
10105 (fold_truthop): For constant cases, use new function, rework
10106 conversion, and warn if comparison can never be true.
10108 * expr.c (store_expr): Do conversion in two steps for promoted lhs.
10110 See ChangeLog.9 for earlier changes.
10113 Copyright (C) 1995, 1996 Free Software Foundation, Inc.
10115 Copying and distribution of this file, with or without modification,
10116 are permitted in any medium without royalty provided the copyright
10117 notice and this notice are preserved.